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

@ -16,8 +16,9 @@ func _process(delta: float) -> void:
func _on_loot_button_pressed() -> void:
if Clock.has_time(10):
Clock.use_time(10)
bin_inventory.add_item(pick_random_item())
if bin_inventory.add_item(pick_random_item()):
Clock.use_time(10)
#bin_inventory.add_item(pick_random_item())
#loot_button.hide()
#bin_inventory.show()