Reworked node display and worked on DSL interpretation
This commit is contained in:
@@ -1,24 +1,47 @@
|
||||
[gd_scene format=3 uid="uid://cpdfm3wluj3a6"]
|
||||
[gd_scene format=3 uid="uid://cinn18bl736rk"]
|
||||
|
||||
[node name="CraftNode" type="PanelContainer" unique_id=1839537826]
|
||||
[ext_resource type="Script" uid="uid://b6kxwmuhmruul" path="res://Scripts/DSL/NodeDisplay.cs" id="1_qemp1"]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=945032897]
|
||||
[node name="Craft" type="PanelContainer" unique_id=247502695 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
|
||||
script = ExtResource("1_qemp1")
|
||||
editorDisplay = NodePath("EditorDisplay")
|
||||
listDisplay = NodePath("ListDisplay")
|
||||
|
||||
[node name="EditorDisplay" type="PanelContainer" parent="." unique_id=1839537826]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="EditorDisplay" unique_id=945032897]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Flavour" type="RichTextLabel" parent="HBoxContainer" unique_id=1994560318]
|
||||
[node name="Flavour" type="RichTextLabel" parent="EditorDisplay/HBoxContainer" unique_id=1994560318]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Craft: "
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Item" type="OptionButton" parent="HBoxContainer" unique_id=117577134]
|
||||
[node name="Item" type="OptionButton" parent="EditorDisplay/HBoxContainer" unique_id=117577134]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Amount" type="SpinBox" parent="HBoxContainer" unique_id=1195061461]
|
||||
[node name="Amount" type="SpinBox" parent="EditorDisplay/HBoxContainer" unique_id=1195061461]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
rounded = true
|
||||
alignment = 1
|
||||
prefix = "x"
|
||||
|
||||
[node name="ListDisplay" type="Button" parent="." unique_id=200731038]
|
||||
layout_mode = 2
|
||||
text = "Craft"
|
||||
|
||||
Reference in New Issue
Block a user