item again

This commit is contained in:
2025-05-18 22:51:20 -05:00
parent 930463fc2c
commit dd783174e8
5 changed files with 49 additions and 36 deletions

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