Fixed item

This commit is contained in:
2026-01-15 09:35:57 -06:00
parent 5af98a69a2
commit c48de36f2e
8 changed files with 67 additions and 39 deletions

View File

@@ -3,7 +3,7 @@ class_name ItemResource
const Item = preload("res://item/Item.gd")
const ItemStack = preload("res://item/ItemStack.gd")
@export var item:Item.ItemId = Item.ItemId.NULL
@export var item:Item.Id = Item.Id.NULL
@export var quantity:int = 0
func toItemStack() -> ItemStack: