[gd_scene load_steps=21 format=3 uid="uid://cqrh2cc7m2i7f"]

[ext_resource type="Environment" uid="uid://d0cfgtx2yxw13" path="res://environments/prototype_environment.tres" id="1_i6jab"]
[ext_resource type="Material" uid="uid://bx3f5vx71ynh5" path="res://materials/Graymat.tres" id="4_y6i55"]
[ext_resource type="Material" uid="uid://dynpcduei1wfn" path="res://materials/Bluemat.tres" id="4_yx0ab"]
[ext_resource type="Material" uid="uid://mlha6r17v2en" path="res://materials/DarkBluemat.tres" id="5_bno23"]
[ext_resource type="Material" uid="uid://duvlktlyurohd" path="res://materials/Yellowmat.tres" id="5_foctg"]
[ext_resource type="Material" uid="uid://jdfticwelku4" path="res://materials/Greenmat.tres" id="6_8bje3"]
[ext_resource type="Script" uid="uid://dncldab5y4yod" path="res://scripts/item_spawner.gd" id="6_61ure"]
[ext_resource type="PackedScene" uid="uid://cxdgk74ln5xpn" path="res://scenes/weapons/droppable_bomb.tscn" id="6_bno23"]
[ext_resource type="Material" uid="uid://cyej4ph6hcnou" path="res://materials/Orangemat.tres" id="6_foctg"]
[ext_resource type="Script" uid="uid://bqjv6l7hh0lix" path="res://scripts/multiplayer/spawn_system/dyn_objects_spawner.gd" id="6_oujx2"]
[ext_resource type="Material" uid="uid://cdeggf10dmama" path="res://materials/Purplemat.tres" id="7_8bje3"]
[ext_resource type="Script" uid="uid://dk1gjbuydemmb" path="res://scripts/multiplayer/plant_site/plant_site.gd" id="8_oujx2"]
[ext_resource type="Script" uid="uid://b4cpux52fmx5o" path="res://scripts/multiplayer/plant_site/plant_deadzone.gd" id="9_1wlgq"]
[ext_resource type="Material" uid="uid://c6xa4phihtya2" path="res://materials/Redmat.tres" id="9_ysk2e"]
[ext_resource type="Script" path="res://scripts/multiplayer/spawn_system/team_spawner.gd" id="10_02ic3"]
[ext_resource type="Script" uid="uid://3i00rp8urth7" path="res://scripts/object_container.gd" id="11_02ic3"]

[sub_resource type="BoxShape3D" id="BoxShape3D_ysk2e"]
size = Vector3(15.324341, 0.96273804, 21.381592)

[sub_resource type="BoxShape3D" id="BoxShape3D_8bje3"]
size = Vector3(0.8275013, 0.96273804, 1.0796204)

[sub_resource type="BoxShape3D" id="BoxShape3D_1wlgq"]
size = Vector3(58.51023, 8.172485, 33.813843)

[sub_resource type="BoxShape3D" id="BoxShape3D_5uqia"]
size = Vector3(9.06966, 8.172485, 17.716736)

[node name="PrototypeScene" type="Node3D"]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true
shadow_opacity = 0.72

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("1_i6jab")

[node name="CSGBox3D29" type="CSGBox3D" parent="."]
transform = Transform3D(0.92477864, 0, 0.38050553, 0, 1, 0, -0.38050553, 0, 0.92477864, 2.3401544, 1.2806039, -9.494778)
use_collision = true
size = Vector3(1.5958366, 1.7258911, 1.7827377)
material = ExtResource("5_foctg")

[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
use_collision = true
collision_mask = 9

[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.774414, -16.123535, 1.8908081)
material_override = ExtResource("5_bno23")
use_collision = true
size = Vector3(126.25586, 33.24707, 100.838135)
material = ExtResource("4_y6i55")

[node name="CSGBox3D18" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.487278, 3.9812875, -24.729654)
size = Vector3(4.0271816, 7.1272583, 33.69597)
material = ExtResource("5_bno23")

[node name="CSGBox3D19" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D18"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.0283356, 4.066929)
operation = 2
size = Vector3(4.0271816, 5.070587, 6.0345716)
material = ExtResource("5_bno23")

[node name="CSGBox3D20" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D18"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.0283356, -14.085073)
operation = 2
size = Vector3(4.0271816, 5.070587, 3.538221)
material = ExtResource("5_bno23")

[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.558285, 4.018885, 10.9794445)
size = Vector3(3.9233856, 7.2024536, 37.7959)
material = ExtResource("5_bno23")

[node name="CSGBox3D6" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D5"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.4021583, 3.7736359)
operation = 2
size = Vector3(3.9233856, 4.9065094, 8.765167)
material = ExtResource("5_bno23")

[node name="CSGBox3D6" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.816613, 1.4951501, 14.911085)
size = Vector3(7.2811394, 2.1549835, 16.348633)
material = ExtResource("5_bno23")

[node name="CSGBox3D9" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D6"]
transform = Transform3D(0.91243464, -0.40922245, 0, 0.40922245, 0.91243464, 0, 0, 0, 1, -2.315074, 0.8311236, 0)
operation = 2
size = Vector3(7.1386776, 2.1549835, 16.348633)
material = ExtResource("5_bno23")

[node name="CSGBox3D25" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.4624505, 2.707026, -12.430679)
size = Vector3(1.047142, 4.5787354, 9.918747)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D26" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.9261539, 0, 0.37714583, 0, 1, 0, -0.37714583, 0, 0.9261539, 18.061287, 5.907801, 25.213737)
size = Vector3(3.9233856, 10.980286, 10.570801)
material = ExtResource("5_bno23")

[node name="CSGBox3D27" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.9261539, 0, 0.37714583, 0, 1, 0, -0.37714583, 0, 0.9261539, 26.334145, 5.907801, 23.006517)
size = Vector3(3.9233856, 10.980286, 33.98561)
material = ExtResource("5_bno23")

[node name="CSGBox3D28" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D27"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9558008, -2.7094269, -1.7904329)
operation = 2
size = Vector3(7.4409294, 5.561432, 8.996315)
material = ExtResource("5_bno23")

[node name="CSGBox3D10" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.8908911, 11.176111, -1.6231918)
size = Vector3(101.37683, 21.516907, 87.89482)
material = ExtResource("6_8bje3")

[node name="CSGBox3D11" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D10"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.527359, -3.7662811, 0.11615372)
operation = 2
size = Vector3(92.75583, 29.049469, 78.20011)
material = ExtResource("6_8bje3")

[node name="CSGBox3D12" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D10"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.466297, 8.756718, 19.084272)
operation = 2
size = Vector3(53.52636, 29.049469, 61.62032)
material = ExtResource("6_8bje3")

[node name="CSGBox3D16" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.345552, 11.806246, -24.122513)
size = Vector3(41.466846, 22.777176, 35.36573)
material = ExtResource("5_bno23")

[node name="CSGBox3D18" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D16"]
transform = Transform3D(0.07983352, 0, 0.9968083, 0, 1, 0, -0.9968083, 0, 0.07983352, 7.1200104, -9.519702, 10.70941)
operation = 2
size = Vector3(20.900824, 3.737772, 6.9975586)
material = ExtResource("5_bno23")

[node name="CSGBox3D19" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D16"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.488387, -9.519702, 1.6905918)
operation = 2
size = Vector3(18.856493, 3.737772, 4.796875)
material = ExtResource("5_bno23")

[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.018553, 9.821699, -20.33673)
size = Vector3(7.688137, 18.808083, 7.111515)
material = ExtResource("6_foctg")

[node name="CSGBox3D21" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.99998313, 0, -0.005811914, 0, 1, 0, 0.005811914, 0, 0.99998313, 7.7764754, 2.6420484, -35.90064)
size = Vector3(21.894361, 4.44878, 2.406681)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D30" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.99998313, 0, -0.005811914, 0, 1, 0, 0.005811914, 0, 0.99998313, -1.0181996, 6.118735, -35.927147)
size = Vector3(1.8304019, 2.8889408, 1.5464945)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D31" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.99998313, 0, -0.005811914, 0, 1, 0, 0.005811914, 0, 0.99998313, 2.7812057, 6.118735, -35.927147)
size = Vector3(1.8304019, 2.8889408, 1.5464945)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D32" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.99998313, 0, -0.005811914, 0, 1, 0, 0.005811914, 0, 0.99998313, 8.024893, 6.118735, -35.927147)
size = Vector3(1.8304019, 2.8889408, 1.5464945)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D33" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.99998313, 0, -0.005811914, 0, 1, 0, 0.005811914, 0, 0.99998313, 12.4400835, 6.118735, -35.927147)
size = Vector3(1.8304019, 2.8889408, 1.5464945)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D34" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(0.99998313, 0, -0.005811914, 0, 1, 0, 0.005811914, 0, 0.99998313, 17.691769, 6.118735, -35.927147)
size = Vector3(1.8304019, 2.8889408, 1.5464945)
material = ExtResource("4_yx0ab")

[node name="CSGBox3D24" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 0.93200153, -0.3624543, 0, 0.3624543, 0.93200153, 5.8547053, 8.527166, -37.974197)
size = Vector3(27.032001, 1.3384781, 6.2376566)
material = ExtResource("7_8bje3")

[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.225314, 11.40127, 6.9663224)
size = Vector3(22.55111, 21.967224, 29.769653)
material = ExtResource("5_bno23")

[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D2"]
transform = Transform3D(0.83269906, 0, -0.55372584, 0, 1, 0, 0.55372584, 0, 0.83269906, -8.022983, -9.618128, -0.23815984)
operation = 2
size = Vector3(10.669815, 4.566284, 3.4625244)
material = ExtResource("7_8bje3")

[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D2"]
transform = Transform3D(0.7501458, 0, -0.6612725, 0, 1, 0, 0.6612725, 0, 0.7501458, -11.704424, 0.31690216, 13.1721115)
operation = 2
size = Vector3(40.650864, 24.43634, 14.330154)
material = ExtResource("5_bno23")

[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D2"]
transform = Transform3D(0.7731101, 0, 0.6342719, 0, 1, 0, -0.6342719, 0, 0.7731101, 9.996494, 0.31690216, 9.775394)
operation = 2
size = Vector3(40.650864, 24.43634, 14.330154)
material = ExtResource("5_bno23")

[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D2"]
transform = Transform3D(0.9337244, 0, 0.35799336, 0, 1, 0, -0.35799336, 0, 0.9337244, 2.7047615, -9.61813, -0.02129364)
operation = 2
size = Vector3(20.339264, 4.566284, 3.4625244)
material = ExtResource("7_8bje3")

[node name="PlayersContainer" type="Node3D" parent="." node_paths=PackedStringArray("exlusion_list")]
script = ExtResource("11_02ic3")
exlusion_list = [NodePath("DefenceSpawn"), NodePath("AttackSpawn"), NodePath("SpectatorSpawn"), NodePath("MultiplayerSpawner")]

[node name="DefenceSpawn" type="Marker3D" parent="PlayersContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 37.170197, 0.5180037, -11.271502)
script = ExtResource("10_02ic3")
spawn_radius = 10.0

[node name="AttackSpawn" type="Marker3D" parent="PlayersContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31.553003, 0.5180037, 20.371899)
script = ExtResource("10_02ic3")
team = 1
spawn_radius = 5.0

[node name="SpectatorSpawn" type="Marker3D" parent="PlayersContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.1422176, 39.792877, -1.3889732)
script = ExtResource("10_02ic3")
team = 2
spawn_radius = 10.0

[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="PlayersContainer"]
_spawnable_scenes = PackedStringArray("uid://dpsr6ug3pkb40", "uid://ckjabjcvgki6n")
spawn_path = NodePath("..")

[node name="DynamicObjectsContainer" type="Node3D" parent="." node_paths=PackedStringArray("exlusion_list")]
script = ExtResource("11_02ic3")
exlusion_list = [NodePath("MultiplayerSpawner"), NodePath("Bomb")]

[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="DynamicObjectsContainer"]
_spawnable_scenes = PackedStringArray("uid://cxdgk74ln5xpn", "uid://dgfqppi21c2u0")
spawn_path = NodePath("..")
script = ExtResource("6_oujx2")

[node name="Bomb" type="Node3D" parent="DynamicObjectsContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.858309, 1.4657042, 12.873563)
script = ExtResource("6_61ure")
item = ExtResource("6_bno23")

[node name="CSGBox3D30" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.8463913, 0.33205223, -18.39247)
size = Vector3(0.49205017, 0.6567383, 21.270905)
material = ExtResource("9_ysk2e")

[node name="CSGBox3D31" type="CSGBox3D" parent="."]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 8.300152, 0.33205223, -28.774506)
size = Vector3(0.49205017, 0.6567383, 15.680862)
material = ExtResource("9_ysk2e")

[node name="CSGBox3D32" type="CSGBox3D" parent="."]
transform = Transform3D(-1.0000001, 0, 0, 0, 1, 0, 0, 0, -1.0000001, 15.965797, 0.33205223, -18.300764)
size = Vector3(0.49205017, 0.6567383, 21.278908)
material = ExtResource("9_ysk2e")

[node name="PlantA" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.8366356, 1.4274807, -21.45604)
collision_layer = 0
collision_mask = 16
script = ExtResource("8_oujx2")

[node name="CollisionShape3D" type="CollisionShape3D" parent="PlantA"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.484192, -0.018630981, 3.1519775)
shape = SubResource("BoxShape3D_ysk2e")
debug_color = Color(0.96, 0, 0.5279997, 0.9411765)

[node name="CollisionShape3D2" type="CollisionShape3D" parent="PlantA"]
transform = Transform3D(0.92546135, 0, 0.37884247, 0, 1, 0, -0.37884247, 0, 0.92546135, 0.7677882, 0.9896631, 11.913087)
shape = SubResource("BoxShape3D_8bje3")
debug_color = Color(0.96, 0, 0.5279997, 0.9411765)

[node name="PlantADeadzone" type="Area3D" parent="." node_paths=PackedStringArray("bound_plant")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.00709, -26.598661)
collision_layer = 0
collision_mask = 2
script = ExtResource("9_1wlgq")
bound_plant = NodePath("../PlantA")

[node name="CollisionShape3D" type="CollisionShape3D" parent="PlantADeadzone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.282812, -7.2330484, 1.2828445)
shape = SubResource("BoxShape3D_1wlgq")

[node name="CollisionShape3D2" type="CollisionShape3D" parent="PlantADeadzone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.8295212, -7.2330484, 27.224403)
shape = SubResource("BoxShape3D_5uqia")

[node name="DefaultCamera" type="Camera3D" parent="."]
transform = Transform3D(0.6629243, -0.44385082, 0.60293275, 0.022305315, 0.81667197, 0.57667094, -0.7483541, -0.36884052, 0.5512919, 17.194904, 16.47376, -9.509804)
