390 lines
15 KiB
Plaintext
390 lines
15 KiB
Plaintext
[gd_scene load_steps=18 format=3 uid="uid://bitqwiwmn3s0r"]
|
|
|
|
[ext_resource type="Script" path="res://addons/ez_tiles/ez_tiles_draw/area_draw.gd" id="1_ee3lv"]
|
|
[ext_resource type="Texture2D" uid="uid://dooqg3fapf15x" path="res://addons/ez_tiles/ez_tiles_draw/icons/Rectangle.svg" id="2_0c16j"]
|
|
[ext_resource type="Texture2D" uid="uid://xetkyyw6y8ff" path="res://addons/ez_tiles/ez_tiles_draw/icons/RectangleSoft.svg" id="2_lfgj6"]
|
|
[ext_resource type="Texture2D" uid="uid://behgjlyeldpdv" path="res://addons/ez_tiles/ez_tiles_draw/icons/SlopeTL.svg" id="3_j68q8"]
|
|
[ext_resource type="Texture2D" uid="uid://dbjof7q6tq4d6" path="res://addons/ez_tiles/ez_tiles_draw/icons/SlopeTR.svg" id="4_703fo"]
|
|
[ext_resource type="Texture2D" uid="uid://7crpolmxjj2r" path="res://addons/ez_tiles/ez_tiles_draw/icons/SlopeBR.svg" id="5_f5qx1"]
|
|
[ext_resource type="Texture2D" uid="uid://clpg11r4kdy8v" path="res://addons/ez_tiles/ez_tiles_draw/icons/SlopeBL.svg" id="6_r38ls"]
|
|
[ext_resource type="Texture2D" uid="uid://c7u17hgk6jvet" path="res://addons/ez_tiles/ez_tiles_draw/icons/TerrainConnect.svg" id="8_05x1s"]
|
|
[ext_resource type="Texture2D" uid="uid://cri2mdk3hr6s1" path="res://addons/ez_tiles/ez_tiles_draw/icons/HillT.svg" id="8_trf31"]
|
|
[ext_resource type="Texture2D" uid="uid://dntkx0h8qim1n" path="res://addons/ez_tiles/ez_tiles_draw/icons/HillB.svg" id="9_abenc"]
|
|
[ext_resource type="Texture2D" uid="uid://dpmrju1gvdr16" path="res://addons/ez_tiles/ez_tiles_draw/icons/HillL.svg" id="10_dsu38"]
|
|
[ext_resource type="Texture2D" uid="uid://dv855gccwqgu" path="res://addons/ez_tiles/ez_tiles_draw/icons/HillR.svg" id="11_nyydi"]
|
|
[ext_resource type="Texture2D" uid="uid://frudvs8p10ea" path="res://addons/ez_tiles/ez_tiles_draw/icons/Island.svg" id="12_qvlkp"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_51lt4"]
|
|
content_margin_left = 10.0
|
|
content_margin_top = 10.0
|
|
content_margin_right = 10.0
|
|
content_margin_bottom = 10.0
|
|
bg_color = Color(0.211765, 0.239216, 0.290196, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ehgjy"]
|
|
content_margin_left = 10.0
|
|
content_margin_top = 10.0
|
|
content_margin_right = 10.0
|
|
content_margin_bottom = 10.0
|
|
bg_color = Color(0.12549, 0.145098, 0.172549, 1)
|
|
|
|
[sub_resource type="ButtonGroup" id="ButtonGroup_82nql"]
|
|
|
|
[sub_resource type="ButtonGroup" id="ButtonGroup_3cdnu"]
|
|
|
|
[node name="AreaDraw" type="PanelContainer"]
|
|
clip_children = 2
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_51lt4")
|
|
script = ExtResource("1_ee3lv")
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="Panel2" type="Panel" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 0.3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ehgjy")
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer/Panel2"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/Panel2/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="RectanglesBasicButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_pressed = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Rectangle"
|
|
icon = ExtResource("2_0c16j")
|
|
alignment = 0
|
|
|
|
[node name="RectanglesButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Rectangle (Soft)"
|
|
icon = ExtResource("2_lfgj6")
|
|
alignment = 0
|
|
|
|
[node name="HardRectanglesButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Rectangle (Hard)"
|
|
icon = ExtResource("2_0c16j")
|
|
alignment = 0
|
|
|
|
[node name="SlopesTLButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Slope (Top Left)"
|
|
icon = ExtResource("3_j68q8")
|
|
alignment = 0
|
|
|
|
[node name="SlopesTRButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Slope (Top Right)"
|
|
icon = ExtResource("4_703fo")
|
|
alignment = 0
|
|
|
|
[node name="SlopesBRButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Slope (Bottom Right)"
|
|
icon = ExtResource("5_f5qx1")
|
|
alignment = 0
|
|
|
|
[node name="SlopesBLButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Slope (Bottom Left)"
|
|
icon = ExtResource("6_r38ls")
|
|
alignment = 0
|
|
|
|
[node name="HillTopButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Hill (Top)"
|
|
icon = ExtResource("8_trf31")
|
|
alignment = 0
|
|
|
|
[node name="HillBottomButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Hill (Bottom)"
|
|
icon = ExtResource("9_abenc")
|
|
alignment = 0
|
|
|
|
[node name="HillLeftButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Hill (Left)"
|
|
icon = ExtResource("10_dsu38")
|
|
alignment = 0
|
|
|
|
[node name="HillRightButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Hill (Right)"
|
|
icon = ExtResource("11_nyydi")
|
|
alignment = 0
|
|
|
|
[node name="IslandButton" type="Button" parent="HBoxContainer/Panel2/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_82nql")
|
|
text = "Island"
|
|
icon = ExtResource("12_qvlkp")
|
|
alignment = 0
|
|
|
|
[node name="Panel" type="Panel" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ehgjy")
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer/Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="PreviewGridContainer" type="GridContainer" parent="HBoxContainer/Panel/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 6
|
|
theme_override_constants/h_separation = 0
|
|
theme_override_constants/v_separation = 0
|
|
columns = 5
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect4" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect5" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect6" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect7" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect8" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect9" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect10" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect11" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect12" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect13" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect14" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect15" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect16" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect17" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect18" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect19" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect20" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect21" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect22" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect23" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect24" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="TextureRect25" type="TextureRect" parent="HBoxContainer/Panel/ScrollContainer/PreviewGridContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
|
|
[node name="HFlowContainer" type="HFlowContainer" parent="HBoxContainer/Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_bottom = 84.0
|
|
grow_horizontal = 2
|
|
theme_override_constants/h_separation = 5
|
|
|
|
[node name="ConnectTerrainsButton" type="Button" parent="HBoxContainer/Panel/HFlowContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_3cdnu")
|
|
icon = ExtResource("8_05x1s")
|
|
|
|
[node name="TileButton1" type="Button" parent="HBoxContainer/Panel/HFlowContainer"]
|
|
custom_minimum_size = Vector2(40, 40)
|
|
layout_mode = 2
|
|
theme_override_colors/icon_normal_color = Color(0.556863, 0.556863, 0.556863, 1)
|
|
theme_override_colors/icon_pressed_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/icon_hover_color = Color(1, 1, 1, 1)
|
|
toggle_mode = true
|
|
button_pressed = true
|
|
button_group = SubResource("ButtonGroup_3cdnu")
|
|
flat = true
|
|
icon_alignment = 1
|
|
expand_icon = true
|
|
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/RectanglesBasicButton" to="." method="_on_rectangles_basic_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/RectanglesButton" to="." method="_on_rectangles_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/HardRectanglesButton" to="." method="_on_hard_rectangles_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/SlopesTLButton" to="." method="_on_slopes_tl_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/SlopesTRButton" to="." method="_on_slopes_tr_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/SlopesBRButton" to="." method="_on_slopes_br_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/SlopesBLButton" to="." method="_on_slopes_bl_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/HillTopButton" to="." method="_on_hill_top_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/HillBottomButton" to="." method="_on_hill_bottom_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/HillLeftButton" to="." method="_on_hill_left_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/HillRightButton" to="." method="_on_hill_right_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel2/ScrollContainer/VBoxContainer/IslandButton" to="." method="_on_island_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel/HFlowContainer/ConnectTerrainsButton" to="." method="_on_connect_terrains_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/Panel/HFlowContainer/TileButton1" to="." method="_on_tile_button_1_pressed"]
|