feat: add consequence with modifiers for properties
This commit is contained in:
+15
-7
@@ -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
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user