feat: add consequence with modifiers for properties

This commit is contained in:
Rijad Zuzo
2026-06-20 17:12:10 +02:00
parent 4fb1cfabc1
commit d185dcacf3
3 changed files with 51 additions and 8 deletions
+15 -7
View File
@@ -21,15 +21,23 @@ func _ready() -> void:
func _on_village_changed(village: SimVillage) -> void:
village_stats_label.text = """
Village
Village
Food: %s
Wood: %s
Safety: %s
Knowledge: %s
""" % [
Food: %s
Wood: %s
Safety: %s
Knowledge: %s
Food Mod: %.2f
Safety Mod: %.2f
Knowledge Mod: %.2f
""" % [
round(village.food),
round(village.wood),
round(village.safety),
round(village.knowledge)
round(village.knowledge),
village.food_modifier,
village.safety_modifier,
village.knowledge_modifier
]