feat: add actions based on village resources and profession

This commit is contained in:
Rijad Zuzo
2026-06-19 16:16:47 +02:00
parent f251423f62
commit fbe3487b56
3 changed files with 40 additions and 12 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func simulate_tick() -> void:
for npc in npcs:
var old_task := npc.current_task
npc.simulate_tick()
npc.simulate_tick(village)
if old_task != npc.current_task:
npc_task_changed.emit(npc, old_task, npc.current_task)