[gd_scene load_steps=7 format=4 uid="uid://c3x64n451f3mk"]

[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_u4oyu"]
[ext_resource type="Resource" uid="uid://n6nb5yco60gi" path="res://Resources/RogueliteMaps/BigLarge.tres" id="2_u4oyu"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_kigg1"]
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_tgkll"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
vertices = PackedVector2Array(474, 58, 474, 10, 486, 10, 486, 58, 794, 58, 794, 10, 806, 10, 806, 58, 934, 58, 934, 294, 806, 294, 794, 294, 806, 310, 794, 310, 486, 294, 474, 294, 486, 310, 474, 310, 166, 58, 166, 294, 166, 310, 154, 310, 154, 294, 154, 58, 26, 294, 26, 58, 166, 10, 154, 10)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7), PackedInt32Array(7, 8, 9, 10), PackedInt32Array(4, 7, 10, 11), PackedInt32Array(10, 12, 13, 11), PackedInt32Array(3, 4, 11, 14), PackedInt32Array(0, 3, 14, 15), PackedInt32Array(14, 16, 17, 15), PackedInt32Array(18, 0, 15, 19), PackedInt32Array(19, 20, 21, 22), PackedInt32Array(18, 19, 22, 23), PackedInt32Array(22, 24, 25, 23), PackedInt32Array(26, 18, 23, 27)])
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_u4oyu"]
size = Vector2(915, 245)

[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
process_mode = 1
script = ExtResource("1_u4oyu")
RoomResource = ExtResource("2_u4oyu")
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, 19204 characters]")
tile_set = ExtResource("5_kigg1")
navigation_enabled = false
script = ExtResource("6_tgkll")
_solidLayers = [NodePath("../Solid"), NodePath("../Props")]
metadata/_edit_lock_ = true

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

[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_set = ExtResource("5_kigg1")
navigation_enabled = false
metadata/_edit_lock_ = true

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

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

[node name="RogueliteEnemySpawner" type="Marker2D" parent="EnemySpawners"]
position = Vector2(57, 67)

[node name="RogueliteEnemySpawner2" type="Marker2D" parent="EnemySpawners"]
position = Vector2(88, 126)

[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
position = Vector2(266, 122)

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

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

[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerEnterDetector"]
position = Vector2(483.5, 174.5)
shape = SubResource("RectangleShape2D_u4oyu")

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