200 lines
7.7 KiB
Plaintext
200 lines
7.7 KiB
Plaintext
[gd_scene load_steps=18 format=3 uid="uid://co6md8v2b8hhu"]
|
|
|
|
[ext_resource type="Script" uid="uid://8lkq20gwkrvx" path="res://Scripts/Grid.gd" id="1_2s04l"]
|
|
[ext_resource type="Script" uid="uid://cuqcfju7y8ply" path="res://Scripts/SelectionManager.gd" id="1_anesy"]
|
|
[ext_resource type="Script" uid="uid://xe60g0el2j5x" path="res://Scripts/GridInput.gd" id="3_62nr3"]
|
|
[ext_resource type="Script" uid="uid://du3m15i8ahlu5" path="res://Scripts/CursorPool.gd" id="3_fvag4"]
|
|
[ext_resource type="Script" uid="uid://j6fc2qc5t3qa" path="res://Scripts/FPSCounter.gd" id="5_eu7l1"]
|
|
[ext_resource type="Theme" uid="uid://dks3mt6h14i2s" path="res://Gradients/DefaultTheme.tres" id="6_bah7m"]
|
|
[ext_resource type="Script" uid="uid://d1lhn37ijatdp" path="res://Scripts/BuildMenu.gd" id="6_wygdx"]
|
|
[ext_resource type="Script" uid="uid://p8y4cfg2aonj" path="res://Scripts/BuildButton.gd" id="7_bah7m"]
|
|
[ext_resource type="Resource" uid="uid://bydddpqn0s43j" path="res://Tiles/Housing/Housing.tres" id="9_fvag4"]
|
|
[ext_resource type="Resource" uid="uid://c2ajd2c6fu04d" path="res://Tiles/Farm/Reservation.tres" id="10_b2ar6"]
|
|
[ext_resource type="Resource" uid="uid://b4jvgwx5i6785" path="res://Tiles/Road/Path.tres" id="10_kva58"]
|
|
[ext_resource type="Resource" uid="uid://bl6ps1ycelcxx" path="res://Tiles/Industry/Gathering Camp.tres" id="11_ee7l0"]
|
|
[ext_resource type="Script" uid="uid://cj8bj60oyrc4f" path="res://Scripts/DebugMenu.gd" id="11_kva58"]
|
|
[ext_resource type="Script" uid="uid://cg3qqaogq7h8q" path="res://Scripts/ResourcesPanel.gd" id="12_f5c0m"]
|
|
[ext_resource type="Script" uid="uid://ngiejslhl66p" path="res://SelectionUI.gd" id="13_1fphk"]
|
|
[ext_resource type="Script" uid="uid://rr8s2u7xswtc" path="res://Scripts/Calendar.gd" id="13_6w02q"]
|
|
[ext_resource type="Theme" uid="uid://s3apw670qymv" path="res://Gradients/ResourcesTheme.tres" id="15_gn8l5"]
|
|
|
|
[node name="Root" type="Node2D"]
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
[node name="Grid" type="Node2D" parent="."]
|
|
script = ExtResource("1_2s04l")
|
|
cells = 15
|
|
cell_size = 48
|
|
grid_color = Color(0.6627451, 0.7764706, 0.5647059, 1)
|
|
line_color = Color(1, 1, 1, 0)
|
|
debug_overlay_enabled = false
|
|
debug_overlay_display_values = null
|
|
|
|
[node name="GridInput" type="Node2D" parent="." node_paths=PackedStringArray("selection_manager")]
|
|
script = ExtResource("3_62nr3")
|
|
selection_manager = NodePath("../SelectionManager")
|
|
|
|
[node name="CursorPool" type="Node2D" parent="GridInput"]
|
|
script = ExtResource("3_fvag4")
|
|
|
|
[node name="SelectionManager" type="Node2D" parent="."]
|
|
script = ExtResource("1_anesy")
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Left Panel" type="Panel" parent="CanvasLayer"]
|
|
anchors_preset = 9
|
|
anchor_bottom = 1.0
|
|
offset_right = 300.0
|
|
theme = ExtResource("6_bah7m")
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="CanvasLayer/Left Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
current_tab = 1
|
|
|
|
[node name="Build" type="TabBar" parent="CanvasLayer/Left Panel/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="CanvasLayer/Left Panel/TabContainer/Build" node_paths=PackedStringArray("grid_input", "grid")]
|
|
layout_mode = 0
|
|
offset_right = 280.0
|
|
offset_bottom = 826.0
|
|
script = ExtResource("6_wygdx")
|
|
grid_input = NodePath("../../../../../GridInput")
|
|
grid = NodePath("../../../../../Grid")
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/Left Panel/TabContainer/Build/VBox"]
|
|
layout_mode = 2
|
|
text = "Zoning"
|
|
|
|
[node name="Build Road" type="Button" parent="CanvasLayer/Left Panel/TabContainer/Build/VBox"]
|
|
layout_mode = 2
|
|
text = "Road"
|
|
script = ExtResource("7_bah7m")
|
|
building = ExtResource("10_kva58")
|
|
|
|
[node name="Build House" type="Button" parent="CanvasLayer/Left Panel/TabContainer/Build/VBox"]
|
|
layout_mode = 2
|
|
text = "Housing"
|
|
script = ExtResource("7_bah7m")
|
|
building = ExtResource("9_fvag4")
|
|
|
|
[node name="Farmland" type="Button" parent="CanvasLayer/Left Panel/TabContainer/Build/VBox"]
|
|
layout_mode = 2
|
|
text = "Housing"
|
|
script = ExtResource("7_bah7m")
|
|
building = ExtResource("10_b2ar6")
|
|
|
|
[node name="Foraging Camp" type="Button" parent="CanvasLayer/Left Panel/TabContainer/Build/VBox"]
|
|
layout_mode = 2
|
|
text = "Housing"
|
|
script = ExtResource("7_bah7m")
|
|
building = ExtResource("11_ee7l0")
|
|
|
|
[node name="Debug" type="TabBar" parent="CanvasLayer/Left Panel/TabContainer"]
|
|
layout_mode = 2
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="Overlay Controller" type="VBoxContainer" parent="CanvasLayer/Left Panel/TabContainer/Debug" node_paths=PackedStringArray("grid", "overlay_enabled_button", "overlay_selection_button", "overlay_display_values")]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("11_kva58")
|
|
grid = NodePath("../../../../../Grid")
|
|
overlay_enabled_button = NodePath("Enable")
|
|
overlay_selection_button = NodePath("Select Field")
|
|
overlay_display_values = NodePath("Display Values")
|
|
|
|
[node name="Enable" type="CheckButton" parent="CanvasLayer/Left Panel/TabContainer/Debug/Overlay Controller"]
|
|
layout_mode = 2
|
|
text = "Field Overlay"
|
|
|
|
[node name="Display Values" type="CheckButton" parent="CanvasLayer/Left Panel/TabContainer/Debug/Overlay Controller"]
|
|
layout_mode = 2
|
|
text = "Display Values"
|
|
|
|
[node name="Select Field" type="OptionButton" parent="CanvasLayer/Left Panel/TabContainer/Debug/Overlay Controller"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Selection" type="TabBar" parent="CanvasLayer/Left Panel/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Left Panel/TabContainer/Selection" node_paths=PackedStringArray("selection_manager", "name_label", "selection_panel", "content_panel")]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("13_1fphk")
|
|
selection_manager = NodePath("../../../../../SelectionManager")
|
|
name_label = NodePath("Label")
|
|
selection_panel = NodePath("..")
|
|
content_panel = NodePath("VBoxContainer")
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/Left Panel/TabContainer/Selection/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Selected Item Name"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Left Panel/TabContainer/Selection/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Right Panel" type="Panel" parent="CanvasLayer"]
|
|
anchors_preset = 11
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -273.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
theme = ExtResource("6_bah7m")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/Right Panel"]
|
|
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="CanvasLayer/Right Panel/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Right Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Calendar" type="Label" parent="CanvasLayer/Right Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
text = "Calendar"
|
|
script = ExtResource("13_6w02q")
|
|
|
|
[node name="FPS" type="Label" parent="CanvasLayer/Right Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
text = "FPS: 9999"
|
|
script = ExtResource("5_eu7l1")
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="CanvasLayer/Right Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Resource Panels" type="VBoxContainer" parent="CanvasLayer/Right Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("15_gn8l5")
|
|
script = ExtResource("12_f5c0m")
|