item again

This commit is contained in:
YourWishes committed 2025-05-18 22:51:20 -05:00
1 parent 930463fc2c
commit dd783174e8
5 files changed
+49 -36

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
class_name ItemOnGround extends StaticBody3D
@export var itemType:Item.ItemType = Item.ItemType.POTION;
@export var quantity:int = 1;
@export var inventory:Inventory = null
func _ready() -> void:
$Entity/EntityInteractable.onInteract.connect(
self.onEntityInteract