item on ground and pickup

This commit is contained in:
cblech
2025-04-14 16:49:29 +02:00
parent 9190b2a16a
commit 1062193785
10 changed files with 147 additions and 3 deletions
@@ -60,4 +60,8 @@ public partial class InventoryManager : Node
{
return inventory.RemoveItem(inventorySlot);
}
public InventoryActionResult CollectItem(ItemInstance itemInstance)
{
return playerInventory.AddItem(itemInstance);
}
}