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

[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_nlk61"]
[ext_resource type="Resource" uid="uid://cqlh2k4fndgg1" path="res://Resources/RogueliteMaps/Acid_Horizontal_Walkway.tres" id="2_nlk61"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="3_eocdn"]
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_o7l1n"]
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="5_tj2sv"]
[ext_resource type="Resource" uid="uid://cocl3qontm3be" path="res://Resources/Enemies/Base_Fairy.tres" id="6_3s427"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
vertices = PackedVector2Array(166, 58, 294, 58, 294, 134, 166, 134, 166, 150, 154, 150, 154, 134, 154, 58, 26, 134, 26, 58, 166, 10, 154, 10)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6), PackedInt32Array(0, 3, 6, 7), PackedInt32Array(6, 8, 9, 7), PackedInt32Array(10, 0, 7, 11)])
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_rlq0q"]
size = Vector2(272, 85)

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

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

[node name="Liquids" type="TileMapLayer" parent="Tilemaps"]
tile_map_data = PackedByteArray("AAABAAMAAAAJAAcAAAABAAQAAAAEAAMAAAABAAUAAAAEAAMAAAABA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AAEAAMAAAAMAAYAAAAEAAMAAAAMAAcAAAAEAAMAAAAMAAgAAAAEAAMAAAANAAMAAAAJAAcAAAANAAQAAAAEAAMAAAANAAUAAAAEAAMAAAANAAYAAAAEAAMAAAANAAcAAAAEAAMAAAANAAgAAAAEAAMAAAAOAAMAAAAJAAcAAAAOAAQAAAAEAAMAAAAOAAUAAAAEAAMAAAAOAAYAAAAEAAMAAAAOAAcAAAAEAAMAAAAOAAgAAAAEAAMAAAAPAAMAAAAJAAcAAAAPAAQAAAAEAAMAAAAPAAUAAAAEAAMAAAAPAAYAAAAEAAMAAAAPAAcAAAAEAAMAAAAPAAgAAAAEAAMAAAAQAAMAAAAJAAcAAAAQAAQAAAAEAAMAAAAQAAUAAAAEAAMAAAAQAAYAAAAEAAMAAAAQAAcAAAAEAAMAAAAQAAgAAAAEAAMAAAARAAMAAAAJAAcAAAARAAQAAAAEAAMAAAARAAUAAAAEAAMAAAARAAYAAAAEAAMAAAARAAcAAAAEAAMAAAARAAgAAAAEAAMAAAASAAMAAAAJAAcAAAASAAQAAAAEAAMAAAASAAUAAAAEAAMAAAASAAYAAAAEAAMAAAASAAcAAAAEAAMAAAASAAgAAAAEAAMAAAA=")
tile_set = ExtResource("3_eocdn")

[node name="Floor" type="TileMapLayer" parent="Tilemaps" node_paths=PackedStringArray("_solidLayers") groups=["Solid"]]
tile_map_data = PackedByteArray("AAAAAAIAAAALAAYAAAAAAAMAAAALAAYAAAAAAAQAAAALAAYAAAAAAAUABgAAAAIAAAAAAAYAAAALAAYAAAAAAAcAAAALAAYAAAAAAAgAAAALAAYAAAAAAAkAAAALAAYAAAABAAIAAAALAAYAAAABAAUAAAALAA8AAAABAAYAAAALAA8AAAABAAkAAAALAAYAAAACAAIAAAALAAYAAAACAAUAAAAMAA8AAAACAAYAAAAMAA8AAAACAAkAAAALAAYAAAADAAIAAAALAAYAAAADAAUAAAAMAA8AAAADAAYAAAAMAA8AAAADAAkAAAALAAYAAAAEAAIAAAALAAYAAAAEA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AEAAAALAAYAAAABAAEAAAALAAYAAAACAAEAAAALAAYAAAADAAEAAAALAAYAAAAEAAEAAAALAAYAAAAFAAEAAAALAAYAAAAGAAEAAAALAAYAAAAHAAEAAAALAAYAAAAIAAEAAAALAAYAAAAJAAEAAAALAAYAAAAKAAEAAAALAAYAAAALAAEAAAALAAYAAAAMAAEAAAALAAYAAAANAAEAAAALAAYAAAAOAAEAAAALAAYAAAAPAAEAAAALAAYAAAAQAAEAAAALAAYAAAARAAEAAAALAAYAAAASAAEAAAALAAYAAAATAAAAAAALAAYAAAATAAEAAAALAAYAAAASAAQAAAANAA4AAAARAAQAAAAMAA4AAAAQAAQAAAAMAA4AAAAPAAQAAAAMAA4AAAAOAAQAAAAMAA4AAAANAAQAAAAMAA4AAAAMAAQAAAAMAA4AAAALAAQAAAAMAA4AAAAKAAQAAAAMAA4AAAAJAAQAAAAMAA4AAAAIAAQAAAAMAA4AAAAHAAQAAAAMAA4AAAAGAAQAAAAMAA4AAAAFAAQAAAAMAA4AAAAEAAQAAAAMAA4AAAADAAQAAAAMAA4AAAACAAQAAAAMAA4AAAABAAQAAAALAA4AAAASAAcAAAANABAAAAARAAcAAAAMABAAAAAQAAcAAAAMABAAAAAPAAcAAAAMABAAAAAOAAcAAAAMABAAAAANAAcAAAAMABAAAAAMAAcAAAAMABAAAAALAAcAAAAMABAAAAAKAAcAAAAMABAAAAAJAAcAAAAMABAAAAAIAAcAAAAMABAAAAAHAAcAAAAMABAAAAAGAAcAAAAMABAAAAAFAAcAAAAMABAAAAAEAAcAAAAMABAAAAADAAcAAAAMABAAAAACAAcAAAAMABAAAAABAAcAAAALABAAAAA=")
tile_set = ExtResource("3_eocdn")
navigation_enabled = false
script = ExtResource("4_o7l1n")
_solidLayers = [NodePath("../Solid"), NodePath("../Props")]
metadata/_edit_lock_ = true

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

[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_map_data = PackedByteArray("AAATAAMAAAAKAA4AAAATAAQAAAAKAA8AAAAAAAMAAAAKAA4AAAAAAAQAAAAKAA8AAAADAAIAAAAAAAIAAAAQAAIAAAAAAAIAAAAJAAIAAAAAAAIAAAAKAAIAAAAAAAIAAAASAAMAAAAHAAsAAAARAAMAAAAHAAsAAAAQAAMAAAAHAAsAAAAPAAMAAAAHAAsAAAAOAAMAAAAHAAsAAAANAAMAAAAHAAsAAAAMAAMAAAAHAAsAAAALAAMAAAAHAAsAAAAKAAMAAAAHAAsAAAAJAAMAAAAHAAsAAAAIAAMAAAAHAAsAAAAHAAMAAAAHAAsAAAAGAAMAAAAHAAsAAAAFAAMAAAAHAAsAAAAEAAMAAAAHAAsAAAADAAMAAAAHAAsAAAACAAMAAAAHAAsAAAABAAMAAAAHAAsAAAASAAcAAAAHAAsAAAARAAcAAAAHAAsAAAAQAAcAAAAHAAsAAAAPAAcAAAAHAAsAAAAOAAcAAAAHAAsAAAANAAcAAAAHAAsAAAAMAAcAAAAHAAsAAAALAAcAAAAHAAsAAAAKAAcAAAAHAAsAAAAJAAcAAAAHAAsAAAAIAAcAAAAHAAsAAAAHAAcAAAAHAAsAAAAGAAcAAAAHAAsAAAAFAAcAAAAHAAsAAAAEAAcAAAAHAAsAAAADAAcAAAAHAAsAAAACAAcAAAAHAAsAAAABAAcAAAAHAAsAAAAFAAQAAQAAAAAAAQAGAAQAAQAAAAAAAQARAAQAAQAAAAAAAQAQAAQAAQAAAAAAAQA=")
tile_set = ExtResource("3_eocdn")
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="RogueliteEnemySpawner5" type="Marker2D" parent="EnemySpawners"]
position = Vector2(171, 86)
script = ExtResource("5_tj2sv")
Enemy = ExtResource("6_3s427")

[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(162, 94.5)
shape = SubResource("RectangleShape2D_rlq0q")

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

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