feat: add combat, wild wolves, factions, and tribe war motivation
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user