8170b700b2
Features: Sacrifice-Node, Maintain-Node, Options for screen type, lightcolor and soundvolume, tied in sound effects, game pause when menu is open, visibly open up gate when opening it.
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
[gd_scene format=3 uid="uid://fe7so4543q4x"]
|
|
|
|
[ext_resource type="Script" uid="uid://b6kxwmuhmruul" path="res://Scripts/UI/DSL/NodeDisplay.cs" id="1_maintain"]
|
|
[ext_resource type="Texture2D" uid="uid://wq8yc0u0ee33" path="res://Assets/Images/TrashSymbol.png" id="2_trash"]
|
|
|
|
[node name="Maintain" type="PanelContainer" unique_id=346305609 node_paths=PackedStringArray("editorDisplay", "listDisplay")]
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_bottom = 31.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
script = ExtResource("1_maintain")
|
|
editorDisplay = NodePath("EditorDisplay")
|
|
listDisplay = NodePath("ListDisplay")
|
|
|
|
[node name="EditorDisplay" type="PanelContainer" parent="." unique_id=237286109]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="EditorDisplay" unique_id=222639319]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Flavour" type="RichTextLabel" parent="EditorDisplay/HBoxContainer" unique_id=50532719]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Maintain"
|
|
fit_content = true
|
|
autowrap_mode = 0
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="TextureButton" type="TextureButton" parent="EditorDisplay/HBoxContainer" unique_id=1753994239]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 0.2
|
|
texture_normal = ExtResource("2_trash")
|
|
|
|
[node name="ListDisplay" type="Button" parent="." unique_id=991375625]
|
|
layout_mode = 2
|
|
tooltip_text = "Repairs the robot by 10% and consumes one matching gear."
|
|
text = "Maintain"
|
|
|
|
[connection signal="pressed" from="EditorDisplay/HBoxContainer/TextureButton" to="." method="DeleteNodePressed"]
|