[gd_scene load_steps=15 format=4 uid="uid://640f2h7vxpq1"]

[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_mvfa6"]
[ext_resource type="Resource" uid="uid://bk8s87cgwi3jp" path="res://Resources/RogueliteMaps/Transformers_Room.tres" id="2_mvfa6"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="3_bhaf8"]
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_g3oii"]
[ext_resource type="PackedScene" uid="uid://cxjumgf8bhr3l" path="res://Scenes/Elevator.tscn" id="5_523n1"]
[ext_resource type="PackedScene" uid="uid://dcbcyp1qogcl0" path="res://Scenes/Props/BigTankHorizontal.tscn" id="6_bhaf8"]
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="7_3lvph"]
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="7_jl7y3"]
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="8_jl7y3"]
[ext_resource type="Resource" uid="uid://cocl3qontm3be" path="res://Resources/Enemies/Base_Fairy.tres" id="9_2ex40"]

[sub_resource type="Curve2D" id="Curve2D_bhaf8"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 0, -31, 0, 0, 0, 0, 0, 0)
}
point_count = 2

[sub_resource type="Curve2D" id="Curve2D_g3oii"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 0, -31, 0, 0, 0, 0, 0, 0)
}
point_count = 2

[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
vertices = PackedVector2Array(134, 154, 246, 154, 246, 330, 198, 342, 170, 342, 106, 310, 106, 278, 264, 330, 264, 342, 198, 374, 294, 374, 294, 454, 166, 454, 166, 470, 154, 470, 154, 454, 26, 454, 26, 347, 38, 347, 38, 362, 76, 374, 76, 362, 170, 374, 100, 342, 100, 310, 90, 278, 90, 154, 122, 154, 134, 112, 122, 112, 96, 58, 96, 86, 64, 86, 26, 58, 26, 262, 58, 262, 64, 298, 58, 310, 70, 310, 70, 298, 294, 58, 294, 262, 272, 262, 272, 102, 234, 102, 234, 86, 160, 38, 154, 38, 154, 10, 166, 10, 166, 58, 160, 86)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5, 6), PackedInt32Array(2, 7, 8, 3), PackedInt32Array(9, 10, 11, 12), PackedInt32Array(12, 13, 14, 15), PackedInt32Array(16, 17, 18, 19), PackedInt32Array(15, 16, 19, 20), PackedInt32Array(19, 21, 20), PackedInt32Array(15, 20, 22, 12), PackedInt32Array(9, 12, 22, 3), PackedInt32Array(3, 22, 4), PackedInt32Array(4, 23, 24, 5), PackedInt32Array(6, 25, 26, 27), PackedInt32Array(0, 6, 27, 28), PackedInt32Array(28, 27, 29), PackedInt32Array(30, 31, 32, 33), PackedInt32Array(34, 33, 32, 35), PackedInt32Array(35, 32, 36, 37), PackedInt32Array(38, 37, 36, 39), PackedInt32Array(40, 41, 42, 43), PackedInt32Array(43, 44, 45, 40), PackedInt32Array(46, 47, 48, 49), PackedInt32Array(46, 49, 50, 51), PackedInt32Array(45, 51, 50, 40)])
outlines = Array[PackedVector2Array]([PackedVector2Array(17, 36, 14, 12, 47, 15, 49, 34)])
parsed_collision_mask = 353
source_geometry_mode = 1

[sub_resource type="RectangleShape2D" id="RectangleShape2D_g0xrw"]
size = Vector2(272, 406)

[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
process_mode = 1
script = ExtResource("1_mvfa6")
RoomResource = ExtResource("2_mvfa6")
RoomClearActivation = []

[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]

[node name="Floor" type="TileMapLayer" parent="Tilemaps" node_paths=PackedStringArray("_solidLayers") groups=["Solid"]]
tile_map_data = PackedByteArray("[encoded data, 9604 characters]")
tile_set = ExtResource("3_bhaf8")
navigation_enabled = false
script = ExtResource("4_g3oii")
_solidLayers = [NodePath("../Solid"), NodePath("../Props")]
metadata/_edit_lock_ = true

[node name="Solid" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_map_data = PackedByteArray("AAATAAAAAAABAAsAAAASAAAAAAABAAQAAAARAAAAAAABAAQAAAAQAAAAAAABAAQAAAAPAAAAAAABAAQAAAAOAAAAAAABAAQAAAANAAAAAAABAAQAAAAMAAAAAAABAAQAAAALAAAAAAACAAQAAAAIAAAAAAADAAQAAAAHAAAAAAABAAQAAAAGAAAAAAABAAQAAAAFAAAAAAABAAQAAAAEAAAAAAABAAQAAAADAAAAAAABAAQAAAACAAAAAAABAAQAAAABAAAAAAABAAQAAAAAAAAAAAAAAAsAAAATAAIAAAAEAAQAAAATAAEAAAAAAAQAAAAAAAIAAAAEAAQAAAAAAAEAAAAAAAQAAAAAAAkAAAAEAAQAAAAAAAgAAAAAAAQAAAAAAAcAAAAAAAQAAAAAAAYAAAAFAAQAAAATAAkAAAAEAAQAAAATAAgAAAAAAAQAAAATAAcAAAAAAAQAAAATAAYAAAAFAAQAAAATAAMAAAAPAAgAAAATAAQAAAAPAAkAAAALAAEAAAAPAAgAAAALAAIAAAAPAAkAAAAMAAEAAAAPAAgAAAAMAAIAAAAPAAkAAAANAAEAAAAPAAgAAAANAAIAAAAPAAkAAAAOAAEAAAAPAAgAAAAOAAIAAAAPAAkAAAAPAAEAAAAJAAIAAAAPAAIAAAAJAAMAAAAQAAEAAAAKAAIAAAAQAAIAAAAKAAMAAAARAAEAAAAPAAgAAAARAAIAAAAPAAkAAAASAAEAAAAPAAgAAAASAAIAAAAPAAkAAAABAAEAAAAPAAgAAAABAAIAAAAPAAkAAAACAAEAAAAPAAgAAAACAAIAAAAPAAkAAAADAAEAAAAJAAIAAAADAAIAAAAJAAMAAAAEAAEAAAAKAAIAAAAEAAIAAAAKAAMAAAAFAAEAAAAPAA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cAAAAQAAUAAAAGAAYAAAAQAAYAAAAGAAYAAAAQAAQAAAAFAA4AAAANAAQAAAAEAA4AAAAQAAcAAAAFAA8AAAACABQAAAAIAAYAAAACABUAAAAIAAYAAAADABYAAAAHAAUAAAAEABYAAAAHAAUAAAAFABQAAAAGAAYAAAAFABUAAAAGAAYAAAAFABYAAAAFAA8AAAACABYAAAAEAA8AAAA=")
tile_set = ExtResource("3_bhaf8")
navigation_enabled = false
metadata/_edit_lock_ = true

[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_map_data = PackedByteArray("AAAJAAYAAAAHAAsAAAAKAAYAAAAHAAsAAAALAAYAAAAHAAsAAAAMAAYAAAAHAAsAAAANAAYAAAAHAAsAAAAQAAcAAAAGAAwAAAAQAAgAAAAGAAwAAAAQAAkAAAAGAAwAAAAQAAoAAAAGAAwAAAAQAAsAAAAGAAwAAAAQAAwAAAAGAAwAAAAQAA0AAAAGAAwAAAAQAA4AAAAGAAwAAAAQAA8AAAAGAAwAAAAQABAAAAAGAAwAAAAQABEAAAAHAAsAAAARABEAAAAHAAsAAAASABEAAAAHAAsAAAABABEAAAAHAAsAAAACABEAAAAHAAsAAAAEAA0AAAAIAAwAAAAEAA4AAAAIAAwAAAAEAA8AAAAIAAwAAAAEABAAAAAIAAwAAAAEABEAAAAIAAwAAAAJAAMAAAAGAAwAAAAJAAQAAAAGAAwAAAAJAAUAAAAGAAwAAAAFABMAAAAFAAkAAAAFABQAAAAFAAkAAAAFABUAAAAFAAkAAAAFABYAAAADAAoAAAAGABYAAAAEAAoAAAAHABYAAAAEAAoAAAAIABYAAAAEAAoAAAAJABYAAAAIAAgAAAANABYAAAAGAAoAAAAOABYAAAAEAAoAAAAPABYAAAAEAAoAAAAQABYAAAAEAAoAAAARABYAAAAEAAoAAAASABYAAAAIAAgAAAAFABIAAAAGAAgAAAABAAMAAQAAAAAAAgAGAAMAAAAIAAAAAAAGAAQAAAAIAAEAAAAEAAkAAAAIAAAAAAAEA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AA0AAAAAAA0AAAAKAAwAAAAAAA4AAAAKAA0AAAAAAAMAAAAKAAwAAAAAAAQAAAAKAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAAGAAcAAAAKAAwAAAAGAAgAAAAKAA0AAAANAAcAAAAKAAwAAAANAAgAAAAKAA0AAAACABIAAAAKAAwAAAACABMAAAAKAA0AAAAJAAcAAAAJAAwAAAAJAAgAAAAJAA0AAAA=")
tile_set = ExtResource("3_bhaf8")
navigation_enabled = false
metadata/_edit_lock_ = true

[node name="Actors" type="Node2D" parent="Tilemaps"]
metadata/_edit_lock_ = true

[node name="Elevator" parent="Tilemaps/Actors" instance=ExtResource("5_523n1")]
position = Vector2(64, 336)
curve = SubResource("Curve2D_bhaf8")

[node name="Elevator2" parent="Tilemaps/Actors" instance=ExtResource("5_523n1")]
position = Vector2(240, 128)
curve = SubResource("Curve2D_g3oii")

[node name="BigTankHorizontal" parent="Tilemaps/Actors" instance=ExtResource("6_bhaf8")]
position = Vector2(128, 89)

[node name="BigTankHorizontal2" parent="Tilemaps/Actors" instance=ExtResource("6_bhaf8")]
position = Vector2(287, 322)

[node name="BigTankHorizontal3" parent="Tilemaps/Actors" instance=ExtResource("6_bhaf8")]
position = Vector2(31, 324)

[node name="ControlPad" parent="Tilemaps/Actors" node_paths=PackedStringArray("Target") instance=ExtResource("7_jl7y3")]
position = Vector2(44, 306)
Target = NodePath("../Elevator")

[node name="ControlPad2" parent="Tilemaps/Actors" node_paths=PackedStringArray("Target") instance=ExtResource("7_jl7y3")]
position = Vector2(43, 269)
Target = NodePath("../Elevator")

[node name="ControlPad3" parent="Tilemaps/Actors" node_paths=PackedStringArray("Target") instance=ExtResource("7_jl7y3")]
position = Vector2(216, 135)
Target = NodePath("../Elevator2")

[node name="ControlPad4" parent="Tilemaps/Actors" node_paths=PackedStringArray("Target") instance=ExtResource("7_jl7y3")]
position = Vector2(217, 93)
Target = NodePath("../Elevator2")

[node name="EnemySpawners" type="Node2D" parent="."]

[node name="RogueliteEnemySpawner6" type="Marker2D" parent="EnemySpawners"]
position = Vector2(51, 127)
script = ExtResource("7_3lvph")
Enemy = ExtResource("8_jl7y3")

[node name="RogueliteEnemySpawner7" type="Marker2D" parent="EnemySpawners"]
position = Vector2(274.952, 191.558)
script = ExtResource("7_3lvph")
Enemy = ExtResource("8_jl7y3")

[node name="RogueliteEnemySpawner8" type="Marker2D" parent="EnemySpawners"]
position = Vector2(135.227, 170.482)
script = ExtResource("7_3lvph")
Enemy = ExtResource("8_jl7y3")

[node name="RogueliteEnemySpawner9" type="Marker2D" parent="EnemySpawners"]
position = Vector2(173, 240)
script = ExtResource("7_3lvph")
Enemy = ExtResource("8_jl7y3")

[node name="RogueliteEnemySpawner10" type="Marker2D" parent="EnemySpawners"]
position = Vector2(51.3138, 393.339)
script = ExtResource("7_3lvph")
Enemy = ExtResource("8_jl7y3")

[node name="RogueliteEnemySpawner11" type="Marker2D" parent="EnemySpawners"]
position = Vector2(175.817, 383.582)
script = ExtResource("7_3lvph")
Enemy = ExtResource("9_2ex40")

[node name="RogueliteEnemySpawner12" type="Marker2D" parent="EnemySpawners"]
position = Vector2(51.7041, 222)
script = ExtResource("7_3lvph")
Enemy = ExtResource("9_2ex40")

[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
visible = false
navigation_polygon = SubResource("NavigationPolygon_rlq0q")
use_edge_connections = false

[node name="PlayerEnterDetector" type="Area2D" parent="."]
visible = false
collision_layer = 0
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerEnterDetector"]
position = Vector2(162, 255)
shape = SubResource("RectangleShape2D_g0xrw")

[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
