Reworked node display and worked on DSL interpretation
This commit is contained in:
@@ -1,12 +1,28 @@
|
||||
[gd_scene format=3 uid="uid://com0ou37wj2xo"]
|
||||
|
||||
[node name="HarvestNode" type="PanelContainer" unique_id=970168969]
|
||||
[ext_resource type="Script" uid="uid://b6kxwmuhmruul" path="res://Scripts/DSL/NodeDisplay.cs" id="1_ve3v1"]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=793343398]
|
||||
[node name="Harvest" type="PanelContainer" unique_id=1323721153 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_ve3v1")
|
||||
editorDisplay = NodePath("EditorDisplay")
|
||||
listDisplay = NodePath("ListDisplay")
|
||||
|
||||
[node name="EditorDisplay" type="PanelContainer" parent="." unique_id=970168969]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="EditorDisplay" unique_id=793343398]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Flavour" type="RichTextLabel" parent="HBoxContainer" unique_id=1393328640]
|
||||
[node name="Flavour" type="RichTextLabel" parent="EditorDisplay/HBoxContainer" unique_id=1393328640]
|
||||
layout_mode = 2
|
||||
text = "Harvest: "
|
||||
fit_content = true
|
||||
@@ -14,11 +30,15 @@ autowrap_mode = 0
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Item" type="OptionButton" parent="HBoxContainer" unique_id=912931137]
|
||||
[node name="Item" type="OptionButton" parent="EditorDisplay/HBoxContainer" unique_id=912931137]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Amount" type="SpinBox" parent="HBoxContainer" unique_id=1234084123]
|
||||
[node name="Amount" type="SpinBox" parent="EditorDisplay/HBoxContainer" unique_id=1234084123]
|
||||
layout_mode = 2
|
||||
rounded = true
|
||||
alignment = 1
|
||||
prefix = "x"
|
||||
|
||||
[node name="ListDisplay" type="Button" parent="." unique_id=884865258]
|
||||
layout_mode = 2
|
||||
text = "Harvest"
|
||||
|
||||
Reference in New Issue
Block a user