Added debug inventory menu
This commit is contained in:
5
scripts/UI/Inventory/ItemLine.gd
Normal file
5
scripts/UI/Inventory/ItemLine.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
class_name ItemLine extends HBoxContainer
|
||||
|
||||
func setStack(stack:ItemStack) -> void:
|
||||
$ItemName.text = Item.getName(stack.type, 1)
|
||||
$ItemQuantity.text = str(stack.quantity)
|
Reference in New Issue
Block a user