Add new resource for testing

This commit is contained in:
2026-03-22 15:14:30 +01:00
parent 726f2bb5a3
commit 2743fd314a
11 changed files with 91 additions and 28 deletions

View File

@@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://es14nqk6vrrk" path="res://generator_container.gd" id="1_8wouw"]
[node name="GeneratorContainer" type="MarginContainer" unique_id=1253142977]
[node name="GeneratorContainer" type="PanelContainer" unique_id=1451609580]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
@@ -14,11 +14,14 @@ offset_right = 132.0
offset_bottom = 87.5
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 20
script = ExtResource("1_8wouw")
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=1868446780]
[node name="PanelContainer" type="MarginContainer" parent="." unique_id=370221865]
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer" unique_id=1139263929]
layout_mode = 2
@@ -78,7 +81,5 @@ text = "Buffs"
layout_mode = 2
theme_override_constants/separation = 4
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainerGenerators/BuyOneButton" to="." method="_on_buy_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainerGenerators/BuyMaxButton" to="." method="_on_buy_max_pressed"]