person can take and interact with item

This commit is contained in:
Nikolai Fesenko
2025-08-19 13:58:34 +02:00
parent e4667a3a47
commit 31c9a69132
9 changed files with 97 additions and 36 deletions

View File

@@ -1,4 +1,12 @@
extends Item
func _init() -> void:
item_name = "food"
is_being_used = false
func use():
print("Object eaten")
self.queue_free()