Who knows what
This commit is contained in:
parent
0fe23420ab
commit
9214d13054
422 changed files with 1412 additions and 4783 deletions
|
|
@ -10,7 +10,7 @@ func _ready():
|
|||
pressed.connect(_on_button_pressed)
|
||||
|
||||
func setup(unlock_data):
|
||||
Log.pr("Setting up button for unlock:", unlock_data.unlock_name)
|
||||
# Log.pr("Setting up button for unlock:", unlock_data.unlock_name)
|
||||
unlock_id = unlock_data.unlock_id # Store the ID
|
||||
if label:
|
||||
label.visible = false
|
||||
|
|
@ -23,7 +23,7 @@ func setup(unlock_data):
|
|||
Log.pr("Warning: Label node not found in button.")
|
||||
|
||||
func _on_button_pressed():
|
||||
Log.pr("Button pressed, unlocking item:", unlock_id)
|
||||
# Log.pr("Button pressed, unlocking item:", unlock_id)
|
||||
Unlocks.unlock_item(unlock_id)
|
||||
|
||||
func adjust_label_font_size():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue