18 lines
289 B
GDScript
18 lines
289 B
GDScript
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")
|