✨ Complete resource manager
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c22aprj452aha"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://c22aprj452aha"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cudpc3w17mbsw" path="res://Scripts/System/GridManager.cs" id="1_knkkn"]
|
||||
[ext_resource type="Script" uid="uid://dfi2snip78eq6" path="res://Scripts/System/ResourceManager.cs" id="1_pl8e4"]
|
||||
[ext_resource type="Script" uid="uid://cfbj72nm0eovg" path="res://Scripts/System/BuildingRegistry.cs" id="1_sxhdm"]
|
||||
[ext_resource type="Script" uid="uid://cugfbvw70clgd" path="res://Scripts/System/NaturalResourceGenerator.cs" id="2_oss8w"]
|
||||
[ext_resource type="Script" uid="uid://bx1wj7gn6vrqe" path="res://Scripts/System/PlacementManager.cs" id="2_sxhdm"]
|
||||
@@ -8,6 +9,9 @@
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="ResourceSystem" type="Node" parent="."]
|
||||
script = ExtResource("1_pl8e4")
|
||||
|
||||
[node name="BuildingRegistry" type="Node" parent="."]
|
||||
script = ExtResource("1_sxhdm")
|
||||
|
||||
@@ -19,9 +23,10 @@ Registry = NodePath("../BuildingRegistry")
|
||||
[node name="GridSystem" type="Node2D" parent="."]
|
||||
script = ExtResource("1_knkkn")
|
||||
|
||||
[node name="PlacementSystem" type="Node2D" parent="." node_paths=PackedStringArray("Grid", "Registry")]
|
||||
[node name="PlacementSystem" type="Node2D" parent="." node_paths=PackedStringArray("Grid", "Inventory", "Registry")]
|
||||
script = ExtResource("2_sxhdm")
|
||||
Grid = NodePath("../GridSystem")
|
||||
Inventory = NodePath("../ResourceSystem")
|
||||
Registry = NodePath("../BuildingRegistry")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("3_oss8w")]
|
||||
|
Reference in New Issue
Block a user