feat: add physical animal care delivery

This commit is contained in:
Rijad Zuzo
2026-07-31 00:19:41 +02:00
parent 7d410d8193
commit ead75fca68
25 changed files with 1469 additions and 191 deletions
+3 -2
View File
@@ -101,10 +101,11 @@ func set_task(action_id: StringName, duration: float = -1.0) -> void:
has_travel_target = false
func start_working() -> void:
func start_working(preserve_progress: bool = false) -> void:
if task_state != TASK_STATE_TRAVELING:
return
task_state = TASK_STATE_WORKING
task_progress = 0.0
if not preserve_progress:
task_progress = 0.0
task_complete = false