fixing bugs meow

This commit is contained in:
Tabby 2026-01-17 13:42:34 +11:00
parent c969e0bee2
commit 4a9193e549
27 changed files with 370 additions and 40 deletions

View file

@ -11,7 +11,8 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
Locations.block_moving = bin_inventory.filled_slots() > 0
loot_button.disabled = not Clock.has_time(10)
func _on_loot_button_pressed() -> void:
@ -50,3 +51,7 @@ func pick_random_item() -> ItemData:
func _on_return_button_pressed() -> void:
get_tree().change_scene_to_file("res://scenes/workshop.tscn")
func _on_delete_pressed() -> void:
bin_inventory.empty_grid()