Item get event

This commit is contained in:
2025-05-19 07:10:17 -05:00
parent dd783174e8
commit f625415939
9 changed files with 44 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
class_name ItemStack
var item:Item;
var item:Item.ItemType;
var quantity:int;
func _init(item:Item, quantity:int = 1):
func _init(item:Item.ItemType, quantity:int = 1):
self.item = item;
self.quantity = quantity;