[gd_scene load_steps=5 format=3 uid="uid://bdwk0dqcx0xhp"] [ext_resource type="Script" path="res://scripts/menu/BaseMenu.gd" id="1_0wv8j"] [ext_resource type="Texture2D" uid="uid://db4euprxhape0" path="res://sprites/9s.png" id="1_vb0tn"] [ext_resource type="Script" path="res://scripts/menu/CloseMenuButton.gd" id="2_ld3o5"] [ext_resource type="Script" path="res://scripts/menu/OpenMenuButton.gd" id="3_63o1s"] [node name="BaseMenu" type="Control"] process_mode = 1 layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_0wv8j") [node name="MainMenu" type="NinePatchRect" parent="."] layout_mode = 0 offset_left = 320.0 offset_top = 40.0 offset_right = 960.0 offset_bottom = 680.0 texture = ExtResource("1_vb0tn") region_rect = Rect2(0, 0, 5, 5) patch_margin_left = 2 patch_margin_top = 2 patch_margin_right = 2 patch_margin_bottom = 2 [node name="Header" type="Label" parent="MainMenu"] layout_mode = 0 offset_right = 640.0 offset_bottom = 64.0 text = "{BaseType} Station" horizontal_alignment = 1 vertical_alignment = 1 [node name="TradingMenuGoto" type="Button" parent="MainMenu"] layout_mode = 0 offset_left = 1.0 offset_top = 64.0 offset_right = 639.0 offset_bottom = 192.0 text = "Buy / Sell goods" script = ExtResource("3_63o1s") [node name="QuestMenuGoto" type="Button" parent="MainMenu"] layout_mode = 0 offset_left = 1.0 offset_top = 192.0 offset_right = 639.0 offset_bottom = 320.0 text = "Take / Pass the quest" script = ExtResource("3_63o1s") [node name="EquipmentMenuGoto" type="Button" parent="MainMenu"] layout_mode = 0 offset_left = 1.0 offset_top = 320.0 offset_right = 639.0 offset_bottom = 448.0 text = "Change your equipment" script = ExtResource("3_63o1s") [node name="InfoMenuGoto" type="Button" parent="MainMenu"] layout_mode = 0 offset_left = 1.0 offset_top = 448.0 offset_right = 639.0 offset_bottom = 576.0 text = "About this station" script = ExtResource("3_63o1s") [node name="Footer" type="Label" parent="MainMenu"] layout_mode = 0 offset_top = 576.0 offset_right = 640.0 offset_bottom = 640.0 text = "Fly off base to exit this menu." horizontal_alignment = 1 vertical_alignment = 1 [node name="TradingMenu" type="NinePatchRect" parent="."] visible = false layout_mode = 0 offset_left = 320.0 offset_top = 40.0 offset_right = 960.0 offset_bottom = 680.0 texture = ExtResource("1_vb0tn") region_rect = Rect2(0, 0, 5, 5) patch_margin_left = 2 patch_margin_top = 2 patch_margin_right = 2 patch_margin_bottom = 2 [node name="Header" type="Label" parent="TradingMenu"] layout_mode = 0 offset_right = 640.0 offset_bottom = 64.0 text = "Trading Menu" horizontal_alignment = 1 vertical_alignment = 1 [node name="CloseButton" type="Button" parent="TradingMenu"] layout_mode = 0 offset_left = 600.0 offset_top = 1.0 offset_right = 639.0 offset_bottom = 40.0 text = "X" script = ExtResource("2_ld3o5") [node name="SellList" type="ItemList" parent="TradingMenu"] layout_mode = 0 offset_top = 64.0 offset_right = 320.0 offset_bottom = 512.0 [node name="BuyList" type="ItemList" parent="TradingMenu"] layout_mode = 0 offset_left = 320.0 offset_top = 64.0 offset_right = 640.0 offset_bottom = 512.0 [node name="SellInput" type="LineEdit" parent="TradingMenu"] layout_mode = 0 offset_left = 1.0 offset_top = 512.0 offset_right = 160.0 offset_bottom = 576.0 placeholder_text = "Amount to buy" alignment = 1 [node name="BuyInput" type="LineEdit" parent="TradingMenu"] layout_mode = 0 offset_left = 320.0 offset_top = 512.0 offset_right = 480.0 offset_bottom = 576.0 placeholder_text = "Amount to sell" alignment = 1 [node name="BuyButton" type="Button" parent="TradingMenu"] layout_mode = 0 offset_left = 160.0 offset_top = 512.0 offset_right = 320.0 offset_bottom = 576.0 text = "Buy selected item" [node name="SellButton" type="Button" parent="TradingMenu"] layout_mode = 0 offset_left = 480.0 offset_top = 512.0 offset_right = 639.0 offset_bottom = 576.0 text = "Sell selected item" [node name="QuestMenu" type="NinePatchRect" parent="."] visible = false layout_mode = 0 offset_left = 320.0 offset_top = 40.0 offset_right = 960.0 offset_bottom = 680.0 texture = ExtResource("1_vb0tn") region_rect = Rect2(0, 0, 5, 5) patch_margin_left = 2 patch_margin_top = 2 patch_margin_right = 2 patch_margin_bottom = 2 [node name="Header" type="Label" parent="QuestMenu"] layout_mode = 0 offset_right = 640.0 offset_bottom = 64.0 text = "Quest Menu" horizontal_alignment = 1 vertical_alignment = 1 [node name="CloseButton" type="Button" parent="QuestMenu"] layout_mode = 0 offset_left = 600.0 offset_top = 1.0 offset_right = 639.0 offset_bottom = 40.0 text = "X" script = ExtResource("2_ld3o5") [node name="EquipmentMenu" type="NinePatchRect" parent="."] visible = false layout_mode = 0 offset_left = 320.0 offset_top = 40.0 offset_right = 960.0 offset_bottom = 680.0 texture = ExtResource("1_vb0tn") region_rect = Rect2(0, 0, 5, 5) patch_margin_left = 2 patch_margin_top = 2 patch_margin_right = 2 patch_margin_bottom = 2 [node name="Header" type="Label" parent="EquipmentMenu"] layout_mode = 0 offset_right = 640.0 offset_bottom = 64.0 text = "Equipment Menu" horizontal_alignment = 1 vertical_alignment = 1 [node name="CloseButton" type="Button" parent="EquipmentMenu"] layout_mode = 0 offset_left = 600.0 offset_top = 1.0 offset_right = 639.0 offset_bottom = 40.0 text = "X" script = ExtResource("2_ld3o5") [node name="InfoMenu" type="NinePatchRect" parent="."] visible = false layout_mode = 0 offset_left = 320.0 offset_top = 40.0 offset_right = 960.0 offset_bottom = 680.0 texture = ExtResource("1_vb0tn") region_rect = Rect2(0, 0, 5, 5) patch_margin_left = 2 patch_margin_top = 2 patch_margin_right = 2 patch_margin_bottom = 2 [node name="Header" type="Label" parent="InfoMenu"] layout_mode = 0 offset_right = 640.0 offset_bottom = 64.0 text = "Information Menu" horizontal_alignment = 1 vertical_alignment = 1 [node name="CloseButton" type="Button" parent="InfoMenu"] layout_mode = 0 offset_left = 600.0 offset_top = 1.0 offset_right = 639.0 offset_bottom = 40.0 text = "X" script = ExtResource("2_ld3o5")