update interaction

This commit is contained in:
Nikolai Fesenko
2025-08-17 17:25:45 +02:00
parent 5637c82eb7
commit c073bb555f
5 changed files with 33 additions and 6 deletions

View File

@@ -6,5 +6,14 @@ var can_pick: bool
var can_store: bool
var stored_objects: Array
func action(person):
var max_person_using
var persons_using: Array
func action(person, object):
print("action!")
func add_person_using(person):
persons_using.append(person)
func remove_person_using(person):
persons_using.erase(person)