More work on registering via FSM

This commit is contained in:
2025-07-25 18:38:47 -04:00
parent dc30d1b15c
commit c0a2c058ba
14 changed files with 57 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ func _process(delta: float) -> void:
wait_remaining -= delta
if wait_remaining <= 0:
wait_remaining = 0
employee.interact(self, interaction_args[0])
employee.interact(actor, interaction_args[0])
complete_state()
func execute(subject, ...args : Array) -> void:

View File

@@ -17,7 +17,7 @@ func advance_state() -> void:
pass
"Queue":
enter_state(states["Wait"])
args.append_array(["busy", "Register"])
args.append_array(["busy", "Interact With Employee"])
"Register":
enter_state(states["Register"])
"Leave":