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

@@ -2,3 +2,8 @@ extends Node3D
class_name Item
var item_name
var shelf_owner
var is_being_used: bool
func use():
print(str(self) + "is used")