feat: add combat, wild wolves, factions, and tribe war motivation

This commit is contained in:
Rijad Zuzo
2026-08-11 20:29:47 +02:00
parent e359e5253a
commit 292cdd9153
16 changed files with 1475 additions and 3 deletions
+9 -1
View File
@@ -62,6 +62,14 @@ func _init(
func die_from_starvation() -> void:
_apply_death()
func die_from_combat() -> void:
_apply_death()
func _apply_death() -> void:
is_dead = true
current_task = SimulationIds.ACTION_DEAD
task_state = TASK_STATE_IDLE
@@ -71,7 +79,7 @@ func die_from_starvation() -> void:
has_travel_target = false
if debug_logs:
print("[SimNPC] ", npc_name, " died from starvation.")
print("[SimNPC] ", npc_name, " died.")
func get_inventory_amount(item_id: StringName) -> float: