hadean-godot/World.tscn

217 lines
8.6 KiB
Plaintext
Raw Normal View History

2025-10-13 09:57:17 -04:00
[gd_scene load_steps=21 format=3 uid="uid://co6md8v2b8hhu"]
2024-05-13 18:16:23 -04:00
2025-09-24 20:01:45 -04:00
[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"]
2025-10-13 09:57:17 -04:00
[ext_resource type="Script" uid="uid://b6p6apq8obptm" path="res://Scripts/ResearchController.gd" id="1_sjtuv"]
[ext_resource type="Script" uid="uid://d0vowgemo3buy" path="res://CameraController.gd" id="2_cvq6i"]
2025-09-24 20:01:45 -04:00
[ext_resource type="Script" uid="uid://xe60g0el2j5x" path="res://Scripts/GridInput.gd" id="3_62nr3"]
2025-10-10 03:01:08 -04:00
[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"]
2025-10-13 09:57:17 -04:00
[ext_resource type="Script" uid="uid://r4k5yal152we" path="res://Scripts/DeconstructionController.gd" id="6_6tx0c"]
2025-10-10 03:01:08 -04:00
[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"]
2024-05-13 18:16:23 -04:00
[node name="Root" type="Node2D"]
2025-10-13 09:57:17 -04:00
[node name="ResearchController" type="Node" parent="."]
script = ExtResource("1_sjtuv")
2024-05-13 18:16:23 -04:00
[node name="Camera2D" type="Camera2D" parent="."]
2025-10-13 09:57:17 -04:00
script = ExtResource("2_cvq6i")
2024-05-13 18:16:23 -04:00
[node name="Grid" type="Node2D" parent="."]
script = ExtResource("1_2s04l")
2025-10-10 03:01:08 -04:00
cells = 15
2025-09-24 20:01:45 -04:00
cell_size = 48
2025-10-10 03:01:08 -04:00
grid_color = Color(0.6627451, 0.7764706, 0.5647059, 1)
line_color = Color(1, 1, 1, 0)
debug_overlay_enabled = false
2025-09-24 20:01:45 -04:00
2025-10-10 03:01:08 -04:00
[node name="GridInput" type="Node2D" parent="." node_paths=PackedStringArray("selection_manager")]
script = ExtResource("3_62nr3")
selection_manager = NodePath("../SelectionManager")
2024-05-13 18:16:23 -04:00
2025-10-10 03:01:08 -04:00
[node name="CursorPool" type="Node2D" parent="GridInput"]
script = ExtResource("3_fvag4")
2024-05-13 18:16:23 -04:00
2025-10-13 09:57:17 -04:00
[node name="Deconstruction Controller" type="Node2D" parent="." node_paths=PackedStringArray("grid_input")]
script = ExtResource("6_6tx0c")
grid_input = NodePath("../GridInput")
2025-10-10 03:01:08 -04:00
[node name="SelectionManager" type="Node2D" parent="."]
script = ExtResource("1_anesy")
2024-05-13 18:16:23 -04:00
2025-10-10 03:01:08 -04:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
2024-05-13 18:16:23 -04:00
2025-10-10 03:01:08 -04:00
[node name="Left Panel" type="Panel" parent="CanvasLayer"]
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 300.0
theme = ExtResource("6_bah7m")
2024-05-13 18:16:23 -04:00
2025-10-10 03:01:08 -04:00
[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")]
2025-10-13 09:57:17 -04:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2025-10-10 03:01:08 -04:00
script = ExtResource("6_wygdx")
grid_input = NodePath("../../../../../GridInput")
grid = NodePath("../../../../../Grid")
[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
2025-10-13 09:57:17 -04:00
[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", "reload_building_data_button")]
2025-10-10 03:01:08 -04:00
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")
2025-10-13 09:57:17 -04:00
reload_building_data_button = NodePath("Reload Building Data")
2025-10-10 03:01:08 -04:00
[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
2025-10-13 09:57:17 -04:00
[node name="HSeparator" type="HSeparator" parent="CanvasLayer/Left Panel/TabContainer/Debug/Overlay Controller"]
layout_mode = 2
[node name="Reload Building Data" type="Button" parent="CanvasLayer/Left Panel/TabContainer/Debug/Overlay Controller"]
layout_mode = 2
text = "Reload Building Data"
2025-10-10 03:01:08 -04:00
[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
2025-10-13 09:57:17 -04:00
offset_left = -300.0
2025-10-10 03:01:08 -04:00
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")