Files
mod_crafting/scenes/craft_panel.tscn
T

102 lines
2.7 KiB
Plaintext

[gd_scene format=3]
[ext_resource type="Script" path="res://mods/crafting/src/CraftPanel.cs" id="1"]
[node name="CraftPanel" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="Backdrop" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -560.0
offset_top = -320.0
offset_right = 560.0
offset_bottom = 320.0
[node name="Margin" type="MarginContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
theme_override_constants/margin_left = 28
theme_override_constants/margin_right = 28
theme_override_constants/margin_top = 24
theme_override_constants/margin_bottom = 24
[node name="Root" type="VBoxContainer" parent="Panel/Margin"]
layout_mode = 2
theme_override_constants/separation = 20
[node name="Header" type="HBoxContainer" parent="Panel/Margin/Root"]
layout_mode = 2
[node name="Title" type="Label" parent="Panel/Margin/Root/Header"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 26
[node name="Close" type="Button" parent="Panel/Margin/Root/Header"]
layout_mode = 2
custom_minimum_size = Vector2(44, 44)
text = "✕"
[node name="Body" type="HBoxContainer" parent="Panel/Margin/Root"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 36
[node name="Scroll" type="ScrollContainer" parent="Panel/Margin/Root/Body"]
layout_mode = 2
size_flags_horizontal = 3
horizontal_scroll_mode = 0
[node name="Recipes" type="VBoxContainer" parent="Panel/Margin/Root/Body/Scroll"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 10
[node name="Details" type="VBoxContainer" parent="Panel/Margin/Root/Body"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 16
[node name="Icon" type="TextureRect" parent="Panel/Margin/Root/Body/Details"]
layout_mode = 2
custom_minimum_size = Vector2(100, 100)
expand_mode = 1
stretch_mode = 5
[node name="Description" type="Label" parent="Panel/Margin/Root/Body/Details"]
layout_mode = 2
autowrap_mode = 3
[node name="Ingredients" type="Label" parent="Panel/Margin/Root/Body/Details"]
layout_mode = 2
size_flags_vertical = 3
autowrap_mode = 3
[node name="Craft" type="Button" parent="Panel/Margin/Root/Body/Details"]
layout_mode = 2
custom_minimum_size = Vector2(0, 48)
text = "crafting/create"
[node name="Feedback" type="Label" parent="Panel/Margin/Root"]
layout_mode = 2
autowrap_mode = 3