Prevent overlapping buildings

This commit is contained in:
2025-04-30 11:21:34 +02:00
parent 7d79d3f60f
commit fee9cb99cf
8 changed files with 82 additions and 11 deletions

View File

@ -57,21 +57,21 @@ func set_character_data():
health = 100
shield = 100
damage = 2
value = 20
value = 2
"Ork":
self.name = "Ork-" + str(randi())
speed = 80
health = 150
shield = 200
damage = 5
value = 30
value = 3
"Cobold":
self.name = "Cobold-" + str(randi())
speed = 200
health = 50
shield = 0
damage = 1
value = 10
value = 1
adjust_speed_of_animation() #adjust animation speed based on the character speed
current_health = health