[gd_scene load_steps=7 format=3 uid="uid://bdctqn5p6wxna"] [ext_resource type="Script" uid="uid://bnuobku66xd0n" path="res://Scripts/UI/ThemeSelect.gd" id="1_iabcx"] [ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_x58ld"] [ext_resource type="Texture2D" uid="uid://cw5c58yiaeh4j" path="res://Assets/Sprites/UI/ThemeIconsDay.png" id="2_1u8id"] [ext_resource type="Texture2D" uid="uid://ddkw5v7l2n4s5" path="res://Assets/Sprites/UI/CheckboxbutSmall.png" id="3_1u8id"] [sub_resource type="StyleBoxLine" id="StyleBoxLine_iabcx"] color = Color(1, 1, 1, 1) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_iabcx"] [node name="ThemeSelect" 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_iabcx") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.5) [node name="PanelContainer" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -97.0 offset_top = -86.0 offset_right = 97.0 offset_bottom = 86.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = ExtResource("1_x58ld") [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"] layout_mode = 2 [node name="Label" type="Label" parent="PanelContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 text = "SELECT THEME" [node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -4.0 grow_horizontal = 2 grow_vertical = 0 theme_override_styles/separator = SubResource("StyleBoxLine_iabcx") [node name="ThemeContainer" type="HFlowContainer" parent="PanelContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 [node name="Overworld" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(0, 0, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Overworld"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Overworld"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Underground" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(32, 0, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Underground"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Underground"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Desert" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(64, 0, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Desert"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Desert"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Snow" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(96, 0, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Snow"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Snow"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Jungle" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(128, 0, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Jungle"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Jungle"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Beach" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(0, 32, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Beach"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Beach"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Garden" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(32, 32, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Garden"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Garden"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Mountain" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(64, 32, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Mountain"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Mountain"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Skyland" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(96, 32, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Skyland"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Skyland"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Autumn" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(128, 32, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Autumn"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Autumn"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Pipeland" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(0, 64, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Pipeland"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Pipeland"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Space" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(32, 64, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Space"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Space"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Underwater" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(64, 64, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Underwater"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Underwater"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Volcano" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(96, 64, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Volcano"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Volcano"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="GhostHouse" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(128, 64, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/GhostHouse"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/GhostHouse"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Castle" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(0, 96, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Castle"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Castle"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="CastleWater" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(32, 96, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/CastleWater"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/CastleWater"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Airship" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(64, 96, 32, 32) [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Airship"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Airship"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2 [node name="Bonus" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = ExtResource("2_1u8id") region_rect = Rect2(96, 96, 32, 32) patch_margin_bottom = 8 [node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Bonus"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx") toggle_mode = true flat = true [node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Bonus"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -12.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 12.0 grow_horizontal = 0 mouse_filter = 2 texture = ExtResource("3_1u8id") stretch_mode = 2