74 lines
1.9 KiB
Plaintext
74 lines
1.9 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cyaesj3qjb5um"]
|
|
|
|
[ext_resource type="Script" uid="uid://bqh6f4f4sc4ba" path="res://Scripts/ui/panel_build_select.gd" id="1_dew6i"]
|
|
[ext_resource type="Script" uid="uid://3bsllk6udire" path="res://Scripts/button_select_build.gd" id="1_yp16r"]
|
|
|
|
[node name="MainGameUi" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -51.0
|
|
offset_top = 20.0
|
|
offset_right = 51.0
|
|
offset_bottom = 60.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="TempLabel" type="Label" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -26.0
|
|
offset_top = -11.5
|
|
offset_right = 26.0
|
|
offset_bottom = 11.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "-30.0 C"
|
|
|
|
[node name="Panel2" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -67.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
script = ExtResource("1_dew6i")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Panel2"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="ButtonCreateBed" type="Button" parent="Panel2/HBoxContainer"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Bed"
|
|
script = ExtResource("1_yp16r")
|
|
|
|
[node name="ButtonCreatePot" type="Button" parent="Panel2/HBoxContainer"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Pot"
|
|
script = ExtResource("1_yp16r")
|
|
id = 1
|
|
|
|
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreateBed" to="Panel2/HBoxContainer/ButtonCreateBed" method="_on_pressed"]
|
|
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreatePot" to="Panel2/HBoxContainer/ButtonCreatePot" method="_on_pressed"]
|