[gd_scene load_steps=9 format=4 uid="uid://q3pvpdqv57p3"]

[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_5fsd2"]
[ext_resource type="Resource" uid="uid://cur433g6oevmd" path="res://Resources/RogueliteMaps/RGLongAcidWalk.tres" id="2_5fsd2"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_d4ptm"]
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="5_owqsv"]
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="6_5fsd2"]
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_56c74"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
vertices = PackedVector2Array(166, 58, 198, 58, 198, 70, 182, 70, 182, 218, 278, 218, 278, 262, 262, 262, 198, 406, 198, 454, 166, 454, 166, 470, 154, 470, 154, 454, 122, 454, 122, 406, 218, 378, 90, 406, 90, 378, 218, 262, 58, 262, 58, 218, 138, 218, 138, 70, 122, 70, 122, 58, 154, 58, 154, 10, 166, 10, 262, 406)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7), PackedInt32Array(8, 9, 10), PackedInt32Array(10, 11, 12, 13), PackedInt32Array(13, 14, 15, 16, 8), PackedInt32Array(15, 17, 18, 16), PackedInt32Array(19, 20, 21, 22), PackedInt32Array(23, 24, 25, 26), PackedInt32Array(26, 27, 28, 0), PackedInt32Array(8, 10, 13), PackedInt32Array(29, 8, 16), PackedInt32Array(7, 29, 16, 19), PackedInt32Array(4, 7, 19, 22), PackedInt32Array(0, 3, 4, 22, 23, 26)])
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_5fsd2")
RoomResource = ExtResource("2_5fsd2")
RoomClearActivation = []

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

[node name="Liquids" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_map_data = PackedByteArray("[encoded data, 7492 characters]")
tile_set = ExtResource("5_d4ptm")
navigation_enabled = false
metadata/_edit_lock_ = true

[node name="Floor" type="TileMapLayer" parent="Tilemaps" node_paths=PackedStringArray("_solidLayers") groups=["Solid"]]
tile_map_data = PackedByteArray("[encoded data, 6484 characters]")
tile_set = ExtResource("5_d4ptm")
navigation_enabled = false
script = ExtResource("6_56c74")
_solidLayers = [NodePath("../Solid"), NodePath("../Props")]
metadata/_edit_lock_ = true

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

[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_map_data = PackedByteArray("AAAHAAQAAAAGAAcAAAAHAAMAAAAGAAYAAAAIAAQAAAAHAAcAAAAJAAQAAAAHAAcAAAAKAAQAAAAHAAcAAAALAAQAAAAHAAcAAAAMAAQAAAAIAAcAAAAMAAMAAAAIAAYAAAAIABoAAAAHAAUAAAAJABoAAAAHAAUAAAAKABoAAAAHAAUAAAALABoAAAAHAAUAAAAMABoAAAAIAAUAAAAHABoAAAAGAAUAAAAHABsAAAAGAAYAAAAHABwAAAAGAAYAAAAMABsAAAAIAAYAAAAMABwAAAAIAAYAAAACAAIAAAAAAAIAAAAFAAIAAAAAAAIAAAAOAAIAAAAAAAIAAAARAAIAAAAAAAIAAAALAAEAAAAJAAwAAAALAAIAAAAJAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAATAA0AAAAKAA4AAAATAA4AAAAKAA8AAAAAAA0AAAAKAA4AAAAAAA4AAAAKAA8AAAAAABcAAAAKAA4AAAAAABgAAAAKAA8AAAATABcAAAAKAA4AAAATABgAAAAKAA8AAAATAAMAAAAKAA4AAAATAAQAAAAKAA8AAAAAAAMAAAAKAA4AAAAAAAQAAAAKAA8AAAA=")
tile_set = ExtResource("5_d4ptm")
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="RogueliteEnemySpawner4" type="Marker2D" parent="EnemySpawners"]
position = Vector2(159, 178)
script = ExtResource("5_owqsv")
Enemy = ExtResource("6_5fsd2")

[node name="RogueliteEnemySpawner5" type="Marker2D" parent="EnemySpawners"]
position = Vector2(245, 246)
script = ExtResource("5_owqsv")
Enemy = ExtResource("6_5fsd2")

[node name="RogueliteEnemySpawner6" type="Marker2D" parent="EnemySpawners"]
position = Vector2(149, 396)
script = ExtResource("5_owqsv")
Enemy = ExtResource("6_5fsd2")

[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")

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

[node name="Marker2D" type="Marker2D" parent="Features"]
position = Vector2(54, 74)

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