started on crafting and clock panels

This commit is contained in:
Tabby 2026-01-11 16:05:12 +11:00
parent aa81f860b5
commit f58fd81ec5
20 changed files with 506 additions and 68 deletions

View file

@ -0,0 +1,19 @@
extends Node
@export var inventory_panel : Inventory
@export var button : Button
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
button.text = "Show Inventory" if !inventory_panel.visible else "Hide Inventory"
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_button_pressed() -> void:
inventory_panel.visible = !inventory_panel.visible
button.text = "Show Inventory" if !inventory_panel.visible else "Hide Inventory"