This commit is contained in:
2026-03-04 11:07:13 -08:00
parent 4742ed003c
commit a4cc5e8f5f
985 changed files with 3858 additions and 1206 deletions

21
ActionState.gd Normal file
View File

@@ -0,0 +1,21 @@
extends Node
enum Action { WALK = 0, LOOK = 1, TOUCH = 2, TALK = 3 }
var current_action: int = Action.WALK:
set(value):
current_action = value
action_changed.emit(value)
signal action_changed(new_action: int)
func get_action_name() -> String:
match current_action:
Action.WALK: return "walk"
Action.LOOK: return "look"
Action.TOUCH: return "touch"
Action.TALK: return "talk"
return "walk"
func get_action_enum() -> int:
return current_action