[gd_scene load_steps=5 format=3 uid="uid://crq284yed2if5"] [ext_resource type="Script" path="res://scripts/Base/base_menu.gd" id="1_3hgu4"] [ext_resource type="Texture2D" uid="uid://db4euprxhape0" path="res://sprites/9s.png" id="1_uf5rv"] [ext_resource type="Texture2D" uid="uid://hxrx87gda3uf" path="res://sprites/Bases/Menu/end_communications.png" id="2_ceeiv"] [ext_resource type="Script" path="res://scripts/Base/close_button.gd" id="4_68ool"] [node name="BaseMenu" 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_3hgu4") [node name="MenuBackground" type="NinePatchRect" parent="."] layout_mode = 0 offset_left = 40.0 offset_top = 40.0 offset_right = 1240.0 offset_bottom = 640.0 texture = ExtResource("1_uf5rv") 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="HeaderBackground" type="NinePatchRect" parent="MenuBackground"] layout_mode = 0 offset_left = 2.0 offset_top = 2.0 offset_right = 1198.0 offset_bottom = 76.0 texture = ExtResource("1_uf5rv") 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="PortraitBackground" type="NinePatchRect" parent="MenuBackground"] layout_mode = 0 offset_left = 2.0 offset_top = 77.0 offset_right = 324.0 offset_bottom = 598.0 texture = ExtResource("1_uf5rv") 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="DialogueBackground" type="NinePatchRect" parent="MenuBackground"] layout_mode = 0 offset_left = 325.0 offset_top = 77.0 offset_right = 1198.0 offset_bottom = 399.0 texture = ExtResource("1_uf5rv") 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="RichTextLabel" type="RichTextLabel" parent="MenuBackground/DialogueBackground"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.001 anchor_top = 0.003 anchor_right = 0.999 anchor_bottom = 0.997 offset_left = 0.127 offset_top = 0.034 offset_right = -0.127075 offset_bottom = -0.0340271 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 size_flags_vertical = 8 focus_mode = 2 bbcode_enabled = true scroll_following = true selection_enabled = true [node name="ActionsBackground" type="NinePatchRect" parent="MenuBackground"] layout_mode = 0 offset_left = 325.0 offset_top = 400.0 offset_right = 1198.0 offset_bottom = 598.0 texture = ExtResource("1_uf5rv") 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="CloseButtonBackground" type="NinePatchRect" parent="MenuBackground"] layout_mode = 0 offset_left = 1124.0 offset_top = 2.0 offset_right = 1198.0 offset_bottom = 76.0 texture = ExtResource("1_uf5rv") 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="CloseButton" type="Button" parent="MenuBackground/CloseButtonBackground"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 73.0 offset_bottom = 73.0 icon = ExtResource("2_ceeiv") script = ExtResource("4_68ool") [connection signal="button_up" from="MenuBackground/CloseButtonBackground/CloseButton" to="MenuBackground/CloseButtonBackground/CloseButton" method="_on_button_up"]