feat: add physical animal care delivery
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user