This commit is contained in:
rendo 2026-02-18 10:44:36 +05:00
commit 309bbcac5e
12 changed files with 57 additions and 9 deletions

9
scenes/lab_menu.tscn Normal file
View file

@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://c2ciwyjf7au6l"]
[node name="LabMenu" type="Control" unique_id=198999369]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

View file

@ -3,7 +3,7 @@ extends Node
const dnd_button = preload("res://scenes/drag_and_drop.tscn")
func _ready() -> void:
for tool in ReactionRegistry.current_lab.tools:
for tool in LabRuntime.current_lab.tools:
var button = dnd_button.instantiate()
button.draggable = tool
button.text = tool.text