update
This commit is contained in:
17
Scripts/objects/pot_object.gd
Normal file
17
Scripts/objects/pot_object.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
extends Interactable
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
max_person_using = 1
|
||||
build_name = "pot"
|
||||
|
||||
func _ready() -> void:
|
||||
persons_position.append($PersonPos1)
|
||||
|
||||
|
||||
func start_action(person, object):
|
||||
person.action = self
|
||||
person.set_timer(5)
|
||||
|
||||
func stop_action(person, object):
|
||||
print("action stoped")
|
||||
Reference in New Issue
Block a user