crafting system and improveemnts to mousetweaks

This commit is contained in:
Tabby 2026-01-11 18:35:29 +11:00
parent 64d6e72407
commit ccb15800a3
6 changed files with 45 additions and 5 deletions

View file

@ -46,3 +46,9 @@ func add_item(item : ItemData) -> bool:
return true # item placed successfully
return false # theres no space to add the item
func filled_slots() -> int:
var count : int = 0
for slot in slots:
if slot.item:
count += 1
return count