[gd_scene load_steps=7 format=2] [ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1] [ext_resource path="res://ui/windows/CraftingWindow.gd" type="Script" id=2] [ext_resource path="res://ui/crafting/RecipeSelector.tscn" type="PackedScene" id=3] [ext_resource path="res://ui/crafting/ItemEntry.tscn" type="PackedScene" id=4] [ext_resource path="res://ui/windows/CraftItemDescription.gd" type="Script" id=5] [sub_resource type="ButtonGroup" id=1] [node name="CraftingWindow" type="PanelContainer"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } item_entry_scene = ExtResource( 4 ) recipe_selector_scene = ExtResource( 3 ) item_container_path = NodePath("VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription") tools_container_path = NodePath("VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/ToolsContainer") materials_container_path = NodePath("VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/MaterialContainer") recipe_selector_container_path = NodePath("VBoxContainer/VBoxContainer/HBoxContainer/Recipes/VBoxContainer") [node name="VBoxContainer" type="VBoxContainer" parent="."] margin_left = 4.0 margin_top = 4.0 margin_right = 1020.0 margin_bottom = 596.0 [node name="Header" type="HBoxContainer" parent="VBoxContainer"] margin_right = 1016.0 margin_bottom = 30.0 [node name="Label" type="Label" parent="VBoxContainer/Header"] margin_top = 7.0 margin_right = 972.0 margin_bottom = 22.0 size_flags_horizontal = 3 text = "Crafting" [node name="Button" type="Button" parent="VBoxContainer/Header"] margin_left = 976.0 margin_right = 1016.0 margin_bottom = 30.0 rect_min_size = Vector2( 40, 30 ) text = "X" [node name="Categories" type="HBoxContainer" parent="VBoxContainer"] margin_top = 38.0 margin_right = 1016.0 margin_bottom = 64.0 [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/Categories"] margin_right = 1016.0 margin_bottom = 26.0 rect_min_size = Vector2( 0, 20 ) size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 1 [node name="Alchemy" type="Button" parent="VBoxContainer/Categories/HBoxContainer2"] margin_left = 198.0 margin_right = 298.0 margin_bottom = 26.269 rect_min_size = Vector2( 100, 0 ) toggle_mode = true pressed = true group = SubResource( 1 ) text = "Alchemy" [node name="Smithing" type="Button" parent="VBoxContainer/Categories/HBoxContainer2"] margin_left = 302.0 margin_right = 402.0 margin_bottom = 26.269 rect_min_size = Vector2( 100, 0 ) toggle_mode = true group = SubResource( 1 ) text = "Smithing" [node name="Enchanting" type="Button" parent="VBoxContainer/Categories/HBoxContainer2"] margin_left = 406.0 margin_right = 506.0 margin_bottom = 26.269 rect_min_size = Vector2( 100, 0 ) toggle_mode = true group = SubResource( 1 ) text = "Enchantig" [node name="Engineering" type="Button" parent="VBoxContainer/Categories/HBoxContainer2"] margin_left = 510.0 margin_right = 610.0 margin_bottom = 26.269 rect_min_size = Vector2( 100, 0 ) toggle_mode = true group = SubResource( 1 ) text = "Engineering" [node name="Tailoring" type="Button" parent="VBoxContainer/Categories/HBoxContainer2"] margin_left = 614.0 margin_right = 714.0 margin_bottom = 26.269 rect_min_size = Vector2( 100, 0 ) toggle_mode = true group = SubResource( 1 ) text = "Tailoring" [node name="Other" type="Button" parent="VBoxContainer/Categories/HBoxContainer2"] margin_left = 718.0 margin_right = 818.0 margin_bottom = 26.269 rect_min_size = Vector2( 100, 0 ) toggle_mode = true group = SubResource( 1 ) text = "Other" [node name="VBoxContainer" type="MarginContainer" parent="VBoxContainer"] margin_top = 72.0 margin_right = 1016.0 margin_bottom = 592.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/VBoxContainer"] margin_right = 1016.0 margin_bottom = 520.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="CraftEntry" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer"] margin_right = 607.0 margin_bottom = 520.0 size_flags_horizontal = 3 size_flags_vertical = 3 size_flags_stretch_ratio = 0.6 custom_constants/separation = 10 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry"] margin_right = 607.0 margin_bottom = 480.0 size_flags_horizontal = 3 size_flags_vertical = 3 scroll_horizontal_enabled = false [node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer"] margin_right = 607.0 margin_bottom = 122.0 size_flags_horizontal = 3 [node name="CraftItemDescription" type="HBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2"] margin_right = 607.0 margin_bottom = 60.0 alignment = 1 script = ExtResource( 5 ) icon_path = NodePath("VBoxContainer/PanelContainer/TextureRect") name_label_path = NodePath("PanelContainer2/VBoxContainer/Label") description_label_path = NodePath("PanelContainer2/VBoxContainer/RichTextLabel") [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription"] margin_left = 121.0 margin_right = 181.0 margin_bottom = 60.0 [node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription/VBoxContainer"] margin_right = 60.0 margin_bottom = 60.0 rect_min_size = Vector2( 60, 60 ) [node name="TextureRect" type="TextureRect" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription/VBoxContainer/PanelContainer"] margin_left = 4.0 margin_top = 4.0 margin_right = 56.0 margin_bottom = 56.0 expand = true [node name="PanelContainer2" type="PanelContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription"] margin_left = 185.0 margin_right = 485.0 margin_bottom = 60.0 rect_min_size = Vector2( 300, 0 ) [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription/PanelContainer2"] margin_left = 4.0 margin_top = 4.0 margin_right = 296.0 margin_bottom = 56.0 [node name="Label" type="Label" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription/PanelContainer2/VBoxContainer"] margin_right = 292.0 margin_bottom = 15.0 [node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2/CraftItemDescription/PanelContainer2/VBoxContainer"] margin_top = 23.0 margin_right = 292.0 margin_bottom = 52.0 size_flags_vertical = 3 text = " " scroll_active = false [node name="Label2" type="Label" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2"] margin_top = 68.0 margin_right = 607.0 margin_bottom = 83.0 text = "Tools" [node name="ToolsContainer" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2"] margin_top = 91.0 margin_right = 607.0 margin_bottom = 91.0 [node name="Label" type="Label" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2"] margin_top = 99.0 margin_right = 607.0 margin_bottom = 114.0 text = "Materials" [node name="MaterialContainer" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/ScrollContainer/VBoxContainer2"] margin_top = 122.0 margin_right = 607.0 margin_bottom = 122.0 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry"] margin_top = 490.0 margin_right = 607.0 margin_bottom = 520.0 alignment = 1 [node name="CraftButton" type="Button" parent="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/HBoxContainer"] margin_left = 253.0 margin_right = 353.0 margin_bottom = 30.0 rect_min_size = Vector2( 100, 30 ) text = "Craft" [node name="Recipes" type="ScrollContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer"] margin_left = 611.0 margin_right = 1016.0 margin_bottom = 520.0 size_flags_horizontal = 3 size_flags_vertical = 3 size_flags_stretch_ratio = 0.4 [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/VBoxContainer/HBoxContainer/Recipes"] margin_right = 405.0 margin_bottom = 40.0 size_flags_horizontal = 3 [node name="Button" parent="VBoxContainer/VBoxContainer/HBoxContainer/Recipes/VBoxContainer" instance=ExtResource( 3 )] margin_right = 405.0 [connection signal="pressed" from="VBoxContainer/Header/Button" to="." method="hide"] [connection signal="pressed" from="VBoxContainer/Categories/HBoxContainer2/Alchemy" to="." method="set_category" binds= [ 1 ]] [connection signal="pressed" from="VBoxContainer/Categories/HBoxContainer2/Smithing" to="." method="set_category" binds= [ 2 ]] [connection signal="pressed" from="VBoxContainer/Categories/HBoxContainer2/Enchanting" to="." method="set_category" binds= [ 4 ]] [connection signal="pressed" from="VBoxContainer/Categories/HBoxContainer2/Engineering" to="." method="set_category" binds= [ 5 ]] [connection signal="pressed" from="VBoxContainer/Categories/HBoxContainer2/Tailoring" to="." method="set_category" binds= [ 3 ]] [connection signal="pressed" from="VBoxContainer/Categories/HBoxContainer2/Other" to="." method="set_category" binds= [ 0 ]] [connection signal="pressed" from="VBoxContainer/VBoxContainer/HBoxContainer/CraftEntry/HBoxContainer/CraftButton" to="." method="request_craft"]