[gd_scene load_steps=12 format=4 uid="uid://prgabjxh44lf"]

[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_4uv21"]
[ext_resource type="Resource" uid="uid://c4qpuy35j23i7" path="res://Resources/Maps/SimpleScene.tres" id="2_c2687"]
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="2_xfbh8"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="4_em3f4"]
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="5_75e1c"]
[ext_resource type="Script" uid="uid://upq0b4sx7nhw" path="res://Scripts/Misc/CameraTarget.cs" id="7_75lrj"]
[ext_resource type="PackedScene" uid="uid://bmif3jo03yuol" path="res://Scenes/camera_controller.tscn" id="10_c2687"]
[ext_resource type="PackedScene" uid="uid://b3tyacxxw88lx" path="res://Scenes/Utils/StreamPlayerWithName.tscn" id="12_3bxj4"]
[ext_resource type="Script" uid="uid://c5nxsq3tyxcx6" path="res://Scripts/InventoryManager.cs" id="12_hibtc"]
[ext_resource type="PackedScene" uid="uid://dkwi1hu1bixoe" path="res://Scenes/HUD/HUD.tscn" id="13_66bei"]
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="15_d7e3u"]

[node name="GameScene" type="Node2D"]
process_mode = 3
script = ExtResource("1_4uv21")
MapResource = ExtResource("2_c2687")
PlayerTemplate = ExtResource("2_xfbh8")
SpawnMarkers = Dictionary[int, NodePath]({
0: NodePath("PlayerStartPosition")
})

[node name="Tilemaps" type="Node2D" parent="."]
process_mode = 1

[node name="Floor" type="TileMapLayer" parent="Tilemaps" node_paths=PackedStringArray("_solidLayers") groups=["Solid"]]
tile_map_data = PackedByteArray("AAAEABAABgABAAMAAAAEABEABgABAAMAAAAEABIABgABAAMAAAAEABMABgABAAMAAAAEABQABgABAAMAAAAEABUABgABAAMAAAAEABYABgABAAMAAAAFABAABgABAAMAAAAFABEABgABAAMAAAAFABIABgABAAMAAAAFABMABgABAAMAAAAFABQABgABAAMAAAAFABUABgABAAMAAAAFABYABgABAAMAAAAGABAABgABAAMAAAAGABEABgABAAMAAAAGABIABgABAAMAAAAGABMABgABAAMAAAAGABQABgABAAMAAAAGABUABgABAAMAAAAGABYABgABAAMAAAAHABAABgABAAMAAAAHABEABgABAAMAAAAHABIABgABAAMAAAAHABMABgABAAMAAAAHABQABgABAAMAAAAHABUABgABAAMAAAAHABYABgABAAMAAAAIABAABgABAAMAAAAIABEABgABAAMAAAAIABIABgABAAMAAAAIABMABgABAAMAAAAIABQABgABAAMAAAAIABUABgABAAMAAAAIABYABgABAAMAAAAJABAABgABAAMAAAAJABEABgABAAMAAAAJABIABgABAAMAAAAJABMABgABAAMAAAAJABQABgABAAMAAAAJABUABgABAAMAAAAJABYABgABAAMAAAAKABAABgABAAMAAAAKABEABgABAAMAAAAKABIABgABAAMAAAAKABMABgABAAMAAAAKABQABgABAAMAAAAKABUABgABAAMAAAAKABYABgABAAMAAAADABAABgABAAMAAAADABEABgABAAMAAAADABIABgABAAMAAAADABMABgABAAMAAAADABQABgABAAMAAAADABUABgABAAMAAAADABYABgABAAMAAAADABcABgABAAMAAAADABgABgABAAMAAAAEABcABgABAAMAAAAEABgABgABAAMAAAAFABcABgABAAMAAAAFABgABgABAAMAAAAGABcABgABAAMAAAAGABgABgABAAMAAAAHABcABgABAAMAAAAHABgABgABAAMAAAAIABcABgABAAMAAAAIABgABgABAAMAAAAJABcABgABAAMAAAAJABgABgABAAMAAAAKABcABgABAAMAAAAKABgABgABAAMAAAALABAABgABAAMAAAALABEABgABAAMAAAALABIABgABAAMAAAALABMABgABAAMAAAALABQABgABAAMAAAALABUABgABAAMAAAALABYABgABAAMAAAALABcABgABAAMAAAALABgABgABAAMAAAA=")
tile_set = ExtResource("4_em3f4")
script = ExtResource("5_75e1c")
_solidLayers = [NodePath("../Solid"), NodePath("../Props")]
metadata/_edit_lock_ = true

[node name="Solid" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_map_data = PackedByteArray("AAACAA0AAAAAAAsAAAADAA0AAAABAAQAAAAEAA0AAAABAAQAAAAFAA0AAAABAAQAAAAGAA0AAAABAAQAAAAHAA0AAAABAAQAAAAIAA0AAAABAAQAAAAJAA0AAAABAAQAAAAKAA0AAAABAAQAAAALAA0AAAABAAQAAAAMAA0AAAABAAsAAAAMAA4AAAAAAAQAAAAMAA8AAAAAAAQAAAAMABAAAAAAAAQAAAAMABEAAAAAAAQAAAAMABMAAAAAAAQAAAAMABIAAAAAAAQAAAAMABQAAAAAAAQAAAAMABUAAAAAAAQAAAAMABYAAAAAAAQAAAAMABcAAAAAAAQAAAAMABgAAAAAAAQAAAAMABkAAAABAAwAAAALABkAAAABAAQAAAAKABkAAAABAAQAAAAJABkAAAABAAQAAAAIABkAAAABAAQAAAAHABkAAAABAAQAAAAGABkAAAABAAQAAAAFABkAAAABAAQAAAAEABkAAAABAAQAAAADABkAAAABAAQAAAACABkAAAAAAAwAAAACABgAAAAAAAQAAAACABYAAAAAAAQAAAACABcAAAAAAAQAAAACABUAAAAAAAQAAAACABQAAAAAAAQAAAACABIAAAAAAAQAAAACABMAAAAAAAQAAAACABEAAAAAAAQAAAACABAAAAAAAAQAAAACAA8AAAAAAAQAAAACAA4AAAAAAAQAAAADAA4AAAAPAAgAAAADAA8AAAAPAAkAAAAEAA4AAAAPAAgAAAAEAA8AAAAPAAkAAAAFAA4AAAAPAAgAAAAFAA8AAAAPAAkAAAAGAA4AAAAPAAgAAAAGAA8AAAAPAAkAAAAHAA4AAAAPAAgAAAAHAA8AAAAPAAkAAAAIAA4AAAAPAAgAAAAIAA8AAAAPAAkAAAAJAA4AAAAPAAgAAAAJAA8AAAAPAAkAAAAKAA4AAAAPAAgAAAAKAA8AAAAPAAkAAAALAA4AAAAPAAgAAAALAA8AAAAPAAkAAAA=")
tile_set = ExtResource("4_em3f4")
metadata/_edit_lock_ = true

[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
tile_set = ExtResource("4_em3f4")
metadata/_edit_lock_ = true

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

[node name="ReferenceRect" type="ReferenceRect" parent="."]
visible = false
offset_left = -38.0
offset_top = -39.0
offset_right = 124.0
offset_bottom = 44.0

[node name="InventoryManager" type="Node2D" parent="."]
script = ExtResource("12_hibtc")

[node name="HUD" parent="." instance=ExtResource("13_66bei")]

[node name="CameraController" parent="." instance=ExtResource("10_c2687")]

[node name="CameraTarget" type="Node2D" parent="."]
position = Vector2(115, 328)
script = ExtResource("7_75lrj")

[node name="PlayerStartPosition" type="Marker2D" parent="."]
position = Vector2(111, 305)

[node name="AlarmManager" type="Node2D" parent="."]
process_mode = 1
script = ExtResource("15_d7e3u")

[node name="AudioStreamPlayer2D" parent="." instance=ExtResource("12_3bxj4")]
process_mode = 3
autoplay = true
