[gd_scene load_steps=29 format=4 uid="uid://24wh7h2dbljf"]

[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_vhsym"]
[ext_resource type="Resource" uid="uid://dn3ai56rrxfnk" path="res://Resources/RogueliteMaps/Beginner1.tres" id="2_vhsym"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="3_u3c1h"]
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_pys6w"]
[ext_resource type="PackedScene" uid="uid://cl7s06sk106uo" path="res://Scenes/Props/VendingMachine.tscn" id="6_70a8f"]
[ext_resource type="PackedScene" uid="uid://4q82gggqax87" path="res://Scenes/Items/Cheat_Gun_Pickup.tscn" id="6_pys6w"]
[ext_resource type="PackedScene" uid="uid://djf0y08ix66fn" path="res://Scenes/Interactable/Chest.tscn" id="7_kublc"]
[ext_resource type="Resource" uid="uid://cltxhkrqp055v" path="res://Resources/Items/Money_Pickup.tres" id="9_5yebg"]
[ext_resource type="Resource" uid="uid://cajqlnyvlmybe" path="res://Resources/Items/IcicleRepeater_Improved.tres" id="10_6gtn1"]
[ext_resource type="Resource" uid="uid://dwwbyyy3fo4bt" path="res://Resources/Items/IcicleRepeater_Advanced.tres" id="11_0a3am"]
[ext_resource type="Script" uid="uid://g6oraxgd87ij" path="res://Scripts/Actors/TeleporterMarker.cs" id="12_f3e1d"]
[ext_resource type="Resource" uid="uid://dv0cdlx8d6evm" path="res://Resources/Items/IceShotgun_Sawed_T0.tres" id="12_t3lr8"]
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="13_c0yr1"]
[ext_resource type="Resource" uid="uid://btk4kojtepwv" path="res://Resources/Items/IceShotgun_Sawed_T1.tres" id="13_ii24s"]
[ext_resource type="Resource" uid="uid://c57od7cpn5kwf" path="res://Resources/Items/IceShotgun_Sawed_T2.tres" id="14_15ruc"]
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="14_c0yr1"]
[ext_resource type="Resource" uid="uid://dau0s8ob7qnpc" path="res://Resources/Items/IceShotgun.tres" id="15_5uxd1"]
[ext_resource type="Resource" uid="uid://bgcgeg187vg1h" path="res://Resources/Items/IcicleRepeater.tres" id="16_iyfx3"]
[ext_resource type="Resource" uid="uid://brsukcuyoq364" path="res://Resources/Items/NuclearGunPickup.tres" id="17_45mmk"]
[ext_resource type="Resource" uid="uid://ccmuffmnevrt4" path="res://Resources/Items/Yin_Yang_Gun_Pickup.tres" id="18_ipsj4"]
[ext_resource type="Resource" uid="uid://diqm2ju0xakkt" path="res://Resources/Items/Yin_Yang_Ammo.tres" id="19_ii24s"]
[ext_resource type="Resource" uid="uid://cfod8kephnio6" path="res://Resources/Items/Nuclear_Ammo_Pickup.tres" id="20_15ruc"]
[ext_resource type="Resource" uid="uid://ct1fa2huvy34n" path="res://Resources/Items/Ammo1.tres" id="21_5uxd1"]
[ext_resource type="Script" uid="uid://cqoqovfvk83wn" path="res://Scripts/Actors/ItemMarker.cs" id="25_5uxd1"]
[ext_resource type="Resource" uid="uid://ckfqrq8a0uj1t" path="res://Resources/Items/LaserWeapon.tres" id="26_iyfx3"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_u3c1h"]
size = Vector2(272, 85)

[sub_resource type="AtlasTexture" id="AtlasTexture_5rt6n"]
atlas = ExtResource("13_c0yr1")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_5yebg"]
atlas = ExtResource("13_c0yr1")
region = Rect2(0, 0, 16, 16)

[node name="Tilemaps" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
process_mode = 1
script = ExtResource("1_vhsym")
RoomResource = ExtResource("2_vhsym")
RoomClearActivation = []
metadata/test_scene = "res://Scenes/Maps/Roguelike.tscn"

[node name="Floor" type="TileMapLayer" parent="." node_paths=PackedStringArray("_solidLayers") groups=["Solid"]]
tile_map_data = PackedByteArray("AAAAAAIAAAAEAAAAAAAAAAMAAAAEAAAAAAAAAAQAAAAEAAAAAAAAAAUABwACAAQAAAAAAAYAAAAEAAAAAAAAAAcAAAAEAAAAAAAAAAgAAAAEAAAAAAAAAAkAAAAEAAAAAAABAAIAAAAEAAAAAAABAAMABgAGAAAAAAABAAQABwACAAQAAAABAAUABwACAAQAAAABAAYABwACAAQAAAABAAcABwACAAQAAAABAAgABgAGAAAAAAABAAkAAAAEAAAAAAACAAIAAAAEAAAAAAACAAMABgAGAAAAAAACAAQABwACAAQAAAACAAUABwACAAQAAAACAAYABwACAAQAAAACAAcABwACAAQAAAACAAgABgAGAAAAAAACAAkAAAAEAAAAAAADAAIAAAAEAAAAAAADAAMABgAGAAAAAAADAAQABwACAAQAAAADAAUABwACAAQAAAADAAYABwACAAQAAAADAAcABwACAAQAAAADAAgABwACAAQAAAADAAkAAAAEAAAAAAAEAAIAAAAEAAAAAAAEAAMABgAGAAAAAAAEAAQABwACAAQAAAAEAAUABwACAAQAAAAEAAYABwACAAQAAAAEAAcABwACAAQAAAAEAAgABwACAAQAAAAEAAkAAAAEAAAAAAAFAAIAAAAEAAAAAAAFAAMABgAGAAAAAAAFAAQABwACAAQAAAAFAAUABwACAAQAAAAFAAYABwACAAQAAAAFAAcABwACAAQAAAAFAAgABwACAAQAAAAFAAkAAAAEAAAAAAAGAAIAAAAEAAAAAAAGAAMABwACAAQAAAAGAAQABwACAAQAAAAGAAUABwACAAQAAAAGAAYABwACAAQAAAAGAAcABwACAAQAAAAGAAgABwACAAQAAAAGAAkAAAAEAAAAAAAHAAIAAAAEAAAAAAAHAAMABwACAAQAAAAHAAQABwADAAYAAAAHAAUABwADAAYAAAAHAAYABwADAAYAAAAHAAcABwADAAYAAAAHAAgABwACAAQAAAAHAAkAAAAEAAAAAAAIAAIAAAAEAAAAAAAIAAMABwACAAQAAAAIAAQABwADAAYAAAAIAAUACAAGAAAAAAAIAAYACAAGAAAAAAAIAAcABwADAAYAAAAIAAgABwACAAQAAAAIAAkAAAAEAAAAAAAJAAIABwACAAQAAAAJAAMABwACAAQAAAAJAAQABwADAAYAAAAJAAUACAAGAAAAAAAJAAYACAAGAAAAAAAJAAcABwADAAYAAAAJAAgABwACAAQAAAAJAAkABwACAAQAAAAKAAIABwACAAQAAAAKAAMABwACAAQAAAAKAAQABwADAAYAAAAKAAUACAAGAAAAAAAKAAYACAAGAAAAAAAKAAcABwADAAYAAAAKAAgABwACAAQAAAAKAAkABwACAAQAAAALAAIAAAAEAAAAAAALAAUACAAGAAAAAAALAAYACAAGAAAAAAALAAcABwADAAYAAAALAAgABwACAAQAAAALAAkAAAAEAAAAAAAMAAIAAAAEAAAAAAAMAAUABwADAAYAAAAMAAYABwADAAYAAAAMAAcABwADAAYAAAAMAAgABwACAAQAAAAMAAkAAAAEAAAAAAANAAIAAAAEAAAAAAANAAMABwACAAQAAAANAAQABwACAAQAAAANAAUABwACAAQAAAANAAYABwACAAQAAAANAAcABwACAAQAAAANAAgABwACAAQAAAANAAkAAAAEAAAAAAAOAAIAAAAEAAAAAAAOAAMABgAGAAAAAAAOAAQABwACAAQAAAAOAAUABwACAAQAAAAOAAYABwACAAQAAAAOAAcABwACAAQAAAAOAAgABwACAAQAAAAOAAkAAAAEAAAAAAAPAAIAAAAEAAAAAAAPAAMABgAGAAAAAAAPAAQABwACAAQAAAAPAAUABwACAAQAAAAPAAYABwACAAQAAAAPAAcABwACAAQAAAAPAAgABwACAAQAAAAPAAkAAAAEAAAAAAAQAAIAAAAEAAAAAAAQAAMABgAGAAAAAAAQAAQABwACAAQAAAAQAAUABwACAAQAAAAQAAYABwACAAQAAAAQAAcABwACAAQAAAAQAAgABwACAAQAAAAQAAkAAAAEAAAAAAARAAIAAAAEAAAAAAARAAMABgAGAAAAAAARAAQABwACAAQAAAARAAkAAAAEAAAAAAASAAIAAAAEAAAAAAASAAMABgAGAAAAAAASAAQABgAGAAAAAAASAAkAAAAEAAAAAAATAAIAAAAEAAAAAAATAAMAAAAEAAAAAAATAAQAAAAEAAAAAAATAAUABwACAAQAAAATAAYAAAAEAAAAAAATAAcAAAAEAAAAAAATAAgAAAAEAAAAAAATAAkAAAAEAAAAAAAAAAAAAAAEAAAAAAAAAAEAAAAEAAAAAAABAAAAAAAEAAAAAAABAAEAAAAEAAAAAAACAAAAAAAEAAAAAAACAAEAAAAEAAAAAAADAAAAAAAEAAAAAAADAAEAAAAEAAAAAAAEAAAAAAAEAAAAAAAEAAEAAAAEAAAAAAAFAAAAAAAEAAAAAAAFAAEAAAAEAAAAAAAGAAAAAAAEAAAAAAAGAAEAAAAEAAAAAAAHAAAAAAAEAAAAAAAHAAEAAAAEAAAAAAAIAAAAAAAEAAAAAAAIAAEAAAAEAAAAAAAJAAAABwACAAQAAAAJAAEABwACAAQAAAAKAAAABwACAAQAAAAKAAEABwACAAQAAAALAAAAAAAEAAAAAAALAAEAAAAEAAAAAAALAAMABwACAAQAAAALAAQABwADAAYAAAAMAAAAAAAEAAAAAAAMAAEAAAAEAAAAAAAMAAMABwACAAQAAAAMAAQABwADAAYAAAANAAAAAAAEAAAAAAANAAEAAAAEAAAAAAAOAAAAAAAEAAAAAAAOAAEAAAAEAAAAAAAPAAAAAAAEAAAAAAAPAAEAAAAEAAAAAAAQAAAAAAAEAAAAAAAQAAEAAAAEAAAAAAARAAAAAAAEAAAAAAARAAEAAAAEAAAAAAASAAAAAAAEAAAAAAASAAEAAAAEAAAAAAATAAAAAAAEAAAAAAATAAEAAAAEAAAAAAARAAUABwACAAQAAAARAAYABwACAAQAAAARAAcABwACAAQAAAARAAgABgAGAAAAAAASAAUABwACAAQAAAASAAYABwACAAQAAAASAAcABwACAAQAAAASAAgABgAGAAAAAAA=")
tile_set = ExtResource("3_u3c1h")
navigation_enabled = false
script = ExtResource("4_pys6w")
_solidLayers = [NodePath("../Solid"), NodePath("../Props")]
metadata/_edit_lock_ = true

[node name="Solid" type="TileMapLayer" parent="." groups=["Solid"]]
tile_map_data = Packed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AcAAAAFAAIACAAAAAAAAAAGAAEAAAAPAAgAAAAGAAIAAAAPAAkAAAAHAAEAAAAPAAgAAAAHAAIAAAAPAAkAAAAIAAEAAAAPAAgAAAAIAAIAAAAPAAkAAAAAAAMAAAAPAAgAAAAAAAQAAAAPAAkAAAASAAgAAAABAAUAAAARAAgAAAAAAAUAAAABAAgAAAABAAUAAAACAAgAAAACAAUAAAAOAAIACAAAAAAAAAAOAAMACAAAAAAAAAAPAAIAAAAJAAIAAAAPAAMAAAAJAAMAAAAQAAIAAAAKAAIAAAAQAAMAAAAKAAMAAAARAAIACAAAAAAAAAARAAMACAAAAAAAAAASAAMAAAAPAAgAAAASAAQAAAAPAAkAAAABAAMACAAAAAAAAAACAAMAAAAJAAMAAAADAAMAAAAKAAMAAAAEAAMACAAAAAAAAAAFAAMACAAAAAAAAAA=")
tile_set = ExtResource("3_u3c1h")
navigation_enabled = false
metadata/_edit_lock_ = true

[node name="Props" type="TileMapLayer" parent="." groups=["Solid"]]
tile_map_data = PackedByteArray("AAALAAEAAAAJAAwAAAALAAIAAAAJAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAASAAMAAAAJAAwAAAASAAQAAAAJAA0AAAAOAAIAAAAJAAwAAAAOAAMAAAAJAA0AAAAAAAMAAAAKAAwAAAAAAAQAAAAKAA0AAAAFAAIAAAAKAAwAAAAFAAMAAAAKAA0AAAA=")
tile_set = ExtResource("3_u3c1h")
navigation_enabled = false
metadata/_edit_lock_ = true

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

[node name="CheaetGun" parent="Actors" instance=ExtResource("6_pys6w")]
position = Vector2(139, -103)

[node name="VendingMachine" parent="Actors" instance=ExtResource("6_70a8f")]
position = Vector2(275, -100)

[node name="Chest" parent="Actors" instance=ExtResource("7_kublc")]
position = Vector2(220, -109)
LootTable = [ExtResource("9_5yebg"), ExtResource("9_5yebg"), ExtResource("9_5yebg"), ExtResource("9_5yebg"), ExtResource("9_5yebg"), ExtResource("9_5yebg"), ExtResource("10_6gtn1"), ExtResource("11_0a3am"), ExtResource("12_t3lr8"), ExtResource("13_ii24s"), ExtResource("14_15ruc"), ExtResource("15_5uxd1"), ExtResource("16_iyfx3"), ExtResource("17_45mmk"), ExtResource("18_ipsj4"), ExtResource("19_ii24s"), ExtResource("19_ii24s"), ExtResource("19_ii24s"), ExtResource("20_15ruc"), ExtResource("20_15ruc"), ExtResource("20_15ruc"), ExtResource("21_5uxd1"), ExtResource("21_5uxd1"), ExtResource("21_5uxd1"), ExtResource("26_iyfx3")]

[node name="Label" type="Label" parent="Actors"]
offset_left = 153.0
offset_top = 112.0
offset_right = 301.0
offset_bottom = 139.0
text = "Press Q to freeze enemy bullets
(uses 5 shield charges)"
label_settings = ExtResource("14_c0yr1")

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

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

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

[node name="Teleporter" type="Marker2D" parent="Features"]
position = Vector2(61.8844, 118.644)
script = ExtResource("12_f3e1d")
Type = 4
MarkerTexture = SubResource("AtlasTexture_5rt6n")
metadata/_edit_lock_ = true

[node name="Label" type="Label" parent="Features/Teleporter"]
offset_left = -20.0
offset_top = -22.0
offset_right = 32.0
offset_bottom = 1.0
text = "Boss Debug"
label_settings = ExtResource("14_c0yr1")
metadata/_edit_lock_ = true
metadata/_edit_group_ = true

[node name="StartTeleporter" type="Marker2D" parent="Features"]
position = Vector2(160, 96)
script = ExtResource("12_f3e1d")
Type = 2
MarkerTexture = SubResource("AtlasTexture_5rt6n")

[node name="Exit" type="Marker2D" parent="Features"]
position = Vector2(-19, -109)
script = ExtResource("12_f3e1d")
Type = 5
MarkerTexture = SubResource("AtlasTexture_5yebg")

[node name="Label2" type="Label" parent="Features/Exit"]
z_index = 1
offset_left = -15.0
offset_top = 12.0
offset_right = 37.0
offset_bottom = 35.0
text = "Exit test"
label_settings = ExtResource("14_c0yr1")

[node name="AmmoMarker4" type="Marker2D" parent="Features"]
position = Vector2(96, 129)
script = ExtResource("25_5uxd1")
Item = ExtResource("26_iyfx3")
AutoSpawn = true

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