feat: add cold-season scarcity that halves yields and pauses regrowth

This commit is contained in:
Rijad Zuzo
2026-08-11 00:43:48 +02:00
parent 549a365ab2
commit e51cde57be
4 changed files with 157 additions and 2 deletions
+3
View File
@@ -86,6 +86,7 @@ func _on_village_changed(village: SimVillage) -> void:
if rates["wood_per_day"] > 0.01:
wood_rate = " (%.0f/d)" % rates["wood_per_day"]
var opportunity_text := _build_active_opportunity_display()
var season_text := "Cold" if simulation_manager.is_cold_season() else "Warm"
village_stats_label.text = (
"""
Village [%s]
@@ -95,6 +96,7 @@ func _on_village_changed(village: SimVillage) -> void:
Safety: %s
Knowledge: %s
Starving: %s
Season: %s
Food Mod: %.2f
Safety Mod: %.2f
@@ -110,6 +112,7 @@ func _on_village_changed(village: SimVillage) -> void:
round(village.safety),
round(village.knowledge),
simulation_manager.get_starving_count(),
season_text,
village.food_modifier,
village.safety_modifier,
village.knowledge_modifier,