sugary-panda (#1)
Reviewed-on: #1 Co-authored-by: Bryce <bryce@brycecovertoperations.com> Co-committed-by: Bryce <bryce@brycecovertoperations.com>
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
extends Node
|
||||
|
||||
enum Action { WALK = 0, LOOK = 1, TOUCH = 2, TALK = 3 }
|
||||
enum Action { WALK = 0, LOOK = 1, TOUCH = 2, TALK = 3, ITEM = 4 }
|
||||
|
||||
var current_action: int = Action.WALK:
|
||||
set(value):
|
||||
@@ -22,6 +22,7 @@ func get_action_name() -> String:
|
||||
Action.LOOK: return "look"
|
||||
Action.TOUCH: return "touch"
|
||||
Action.TALK: return "talk"
|
||||
Action.ITEM: return "item"
|
||||
return "walk"
|
||||
|
||||
func get_action_enum() -> int:
|
||||
|
||||
Reference in New Issue
Block a user