[gd_scene format=4 uid="uid://kmybl0c637as"]

[ext_resource type="Script" uid="uid://e22s84h1jwke" path="res://levels/entrepot/entrepot.gd" id="1_ptc2q"]
[ext_resource type="Texture2D" uid="uid://bbr6t3088svah" path="res://assets/tilesets/entrepot-tilesets.png" id="1_qvgxo"]
[ext_resource type="PackedScene" uid="uid://mh3msmluve7p" path="res://entities/player/player.tscn" id="2_n70cd"]
[ext_resource type="PackedScene" uid="uid://bb3olg2rlygdc" path="res://entities/npcs/vrac7/vrac7.tscn" id="3_jr8qv"]
[ext_resource type="PackedScene" uid="uid://jrjxu1xfx0ud" path="res://ui/dialogue_box.tscn" id="5_s155k"]
[ext_resource type="PackedScene" uid="uid://o7qrmpywwhu8" path="res://ui/hud.tscn" id="6_kejd5"]
[ext_resource type="PackedScene" uid="uid://cge56ob5tt4o6" path="res://entities/items/engrenage/engrenage.tscn" id="7_1p1pm"]
[ext_resource type="PackedScene" uid="uid://1x65ioo8tdro" path="res://entities/items/pushable box/pushable_box.tscn" id="7_dm063"]
[ext_resource type="PackedScene" uid="uid://c52luh50w8hi2" path="res://levels/unlock_zone.tscn" id="8_dm063"]
[ext_resource type="PackedScene" uid="uid://fftu7ne6spjy" path="res://levels/entrepot/etagere.tscn" id="9_sju6u"]
[ext_resource type="PackedScene" uid="uid://do61r73dbypfd" path="res://levels/journal.tscn" id="10_b870l"]
[ext_resource type="PackedScene" uid="uid://cnoxfjk01qhjj" path="res://levels/entrepot/etagere_side.tscn" id="11_2edww"]
[ext_resource type="PackedScene" uid="uid://ceijd4gd1rxos" path="res://levels/entrepot/door.tscn" id="11_squor"]
[ext_resource type="PackedScene" uid="uid://b1peufx15gr0v" path="res://levels/loading_zone.tscn" id="13_2edww"]

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_n70cd"]
texture = ExtResource("1_qvgxo")
texture_region_size = Vector2i(32, 32)
0:5/size_in_atlas = Vector2i(2, 1)
0:5/0 = 0
0:6/0 = 0
1:6/0 = 0
4:5/0 = 0
4:6/0 = 0
0:3/0 = 0
0:3/0/terrain_set = 0
0:3/0/terrain = 0
0:3/0/terrains_peering_bit/right_side = 0
0:3/0/terrains_peering_bit/bottom_right_corner = 0
0:3/0/terrains_peering_bit/bottom_side = 0
0:3/0/terrains_peering_bit/bottom_left_corner = 0
0:3/0/terrains_peering_bit/left_side = 0
0:3/0/terrains_peering_bit/top_left_corner = 0
0:3/0/terrains_peering_bit/top_side = 0
0:3/0/terrains_peering_bit/top_right_corner = 0
0:4/size_in_atlas = Vector2i(2, 1)
0:4/0 = 0
1:3/0 = 0
1:3/0/terrain_set = 0
1:3/0/terrain = 0
1:3/0/terrains_peering_bit/right_side = 0
1:3/0/terrains_peering_bit/bottom_right_corner = 0
1:3/0/terrains_peering_bit/bottom_side = 0
1:3/0/terrains_peering_bit/bottom_left_corner = 0
1:3/0/terrains_peering_bit/left_side = 0
1:3/0/terrains_peering_bit/top_left_corner = 0
1:3/0/terrains_peering_bit/top_side = 0
1:3/0/terrains_peering_bit/top_right_corner = 0
2:3/0 = 0
2:3/0/terrain_set = 0
2:3/0/terrain = 0
2:3/0/terrains_peering_bit/right_side = 0
2:3/0/terrains_peering_bit/bottom_right_corner = 0
2:3/0/terrains_peering_bit/bottom_side = 0
2:3/0/terrains_peering_bit/bottom_left_corner = 0
2:3/0/terrains_peering_bit/left_side = 0
2:3/0/terrains_peering_bit/top_left_corner = 0
2:3/0/terrains_peering_bit/top_side = 0
2:3/0/terrains_peering_bit/top_right_corner = 0
0:1/0 = 0
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -16, 16, -16, 16, 16, 8, 16)
0:2/0 = 0
0:2/0/terrain_set = 0
0:2/0/terrain = 0
0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
0:2/0/terrains_peering_bit/right_side = 0
0:2/0/terrains_peering_bit/bottom_right_corner = 0
0:2/0/terrains_peering_bit/bottom_side = 0
0:2/0/terrains_peering_bit/bottom_left_corner = 0
0:2/0/terrains_peering_bit/left_side = 0
0:2/0/terrains_peering_bit/top_left_corner = 0
0:2/0/terrains_peering_bit/top_side = 0
0:2/0/terrains_peering_bit/top_right_corner = 0
1:1/0 = 0
1:1/0/terrain_set = 0
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 8, 16, 8, 16, 16, -16, 16)
1:1/0/terrains_peering_bit/top_left_corner = 0
1:1/0/terrains_peering_bit/top_side = 0
1:1/0/terrains_peering_bit/top_right_corner = 0
1:2/0 = 0
1:2/0/terrain_set = 0
1:2/0/terrain = 0
1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
1:2/0/terrains_peering_bit/right_side = 0
1:2/0/terrains_peering_bit/bottom_right_corner = 0
1:2/0/terrains_peering_bit/bottom_side = 0
1:2/0/terrains_peering_bit/bottom_left_corner = 0
1:2/0/terrains_peering_bit/left_side = 0
1:2/0/terrains_peering_bit/top_left_corner = 0
1:2/0/terrains_peering_bit/top_side = 0
1:2/0/terrains_peering_bit/top_right_corner = 0
2:1/0 = 0
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -16, -16, -16, -16, 16, -8, 16)
2:2/0 = 0
2:2/0/terrain_set = 0
2:2/0/terrain = 0
2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
2:2/0/terrains_peering_bit/right_side = 0
2:2/0/terrains_peering_bit/bottom_right_corner = 0
2:2/0/terrains_peering_bit/bottom_side = 0
2:2/0/terrains_peering_bit/bottom_left_corner = 0
2:2/0/terrains_peering_bit/left_side = 0
2:2/0/terrains_peering_bit/top_left_corner = 0
2:2/0/terrains_peering_bit/top_side = 0
2:2/0/terrains_peering_bit/top_right_corner = 0
3:1/0 = 0
3:1/0/terrain_set = 0
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -16, 16, -16, 16, 16, 8, 16)
3:1/0/terrains_peering_bit/top_right_corner = 0
3:2/size_in_atlas = Vector2i(1, 2)
3:2/0 = 0
3:2/0/terrain_set = 0
3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 20, 16, 20, 16, 32, -16, 32)
4:1/0 = 0
4:1/0/terrain_set = 0
4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -16, -16, -16, -16, 16, -8, 16)
4:1/0/terrains_peering_bit/top_left_corner = 0
4:2/0 = 0
4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-12, -16, 12, -16, 12, 12, -12, 12)
2:0/0 = 0
2:0/0/terrain_set = 0
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
2:0/0/terrains_peering_bit/bottom_left_corner = 0
2:0/0/terrains_peering_bit/left_side = 0
2:0/0/terrains_peering_bit/top_left_corner = 0
2:0/0/terrains_peering_bit/top_side = 0
2:0/0/terrains_peering_bit/top_right_corner = 0
3:0/0 = 0
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -16, 16, -16, 16, 16, 8, 16)
4:0/0 = 0
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -16, -16, -16, -16, 16, -8, 16)
0:0/0 = 0
0:0/0/terrain_set = 0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
0:0/0/terrains_peering_bit/right_side = 0
0:0/0/terrains_peering_bit/bottom_right_corner = 0
0:0/0/terrains_peering_bit/top_left_corner = 0
0:0/0/terrains_peering_bit/top_side = 0
0:0/0/terrains_peering_bit/top_right_corner = 0
2:5/size_in_atlas = Vector2i(2, 1)
2:5/0 = 0
2:6/size_in_atlas = Vector2i(2, 1)
2:6/0 = 0

[sub_resource type="TileSet" id="TileSet_jr8qv"]
physics_layer_0/collision_layer = 1
physics_layer_0/collision_mask = 0
terrain_set_0/mode = 0
terrain_set_0/terrain_0/name = "Entrepot"
terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1)
sources/0 = SubResource("TileSetAtlasSource_n70cd")

[node name="Entrepot" type="Node2D" unique_id=981054710]
script = ExtResource("1_ptc2q")

[node name="Hud" parent="." unique_id=1774402684 instance=ExtResource("6_kejd5")]

[node name="DialogueBox" parent="." unique_id=1374394268 instance=ExtResource("5_s155k")]
position = Vector2(-118, 137)

[node name="Vrac7" parent="." unique_id=829712169 instance=ExtResource("3_jr8qv")]
z_index = 500
position = Vector2(113, 164)

[node name="Map" type="Node" parent="." unique_id=306161900]

[node name="Fix" type="TileMapLayer" parent="Map" unique_id=451440612]
z_index = 2
tile_map_data = PackedByteArray("AAAAACYAAAABAAEAAAAeACYAAAABAAEAAAAeACgAAAAAAAIAAAAAACgAAAAAAAIAAAA=")
tile_set = SubResource("TileSet_jr8qv")

[node name="Ground" type="TileMapLayer" parent="Map" unique_id=1677946938]
tile_map_data = PackedByteArray("[encoded data, 4708 characters]")
tile_set = SubResource("TileSet_jr8qv")

[node name="Walls" type="TileMapLayer" parent="Map" unique_id=142135081]
z_index = 2
tile_map_data = PackedByteArray("AAAAAAAAAAACAAAAAAACAAAAAAABAAEAAAAEAAAAAAABAAEAAAAGAAAAAAABAAEAAAAIAAAAAAABAAEAAAAKAAAAAAABAAEAAAAMAAAAAAABAAEAAAAOAAAAAAABAAEAAAAQAAAAAAABAAEAAAASAAAAAAABAAEAAAAUAAAAAAABAAEAAAAWAAAAAAABAAEAAAAYAAAAAAABAAEAAAAaAAAAAAABAAEAAAAcAAAAAAABAAEAAAAeAAAAAAAAAAAAAAAAAAIAAAAEAAAAAAAeAAIAAAADAAAAAAAeAAQAAAADAAAAAAAeAAYAAAADAAAAAAAeAAgAAAADAAAAAAAeAAoAAAADAAAAAAAeAAwAAAADAAAAAAAeAA4AAAADAAAAAAAeABAAAAADAAAAAAAeABIAAAADAAAAAAAeABQAAAADAAAAAAAeABYAAAADAAAAAAAeABgAAAADAAAAAAAeABoAAAADAAAAAAAeABwAAAADAAAAAAAeAB4AAAADAAAAAAAeACAAAAADAAAAAAAeACIAAAADAAAAAAAeACQAAAADAAAAAAAcACYAAAABAAEAAAAaACYAAAABAAEAAAAYACYAAAABAAEAAAAWACYAAAABAAEAAAAUACYAAAABAAEAAAAMACYAAAABAAEAAAAKACYAAAABAAEAAAAAAAQAAAAEAAAAAAAAAAYAAAAEAAAAAAAAAAgAAAAEAAAAAAAAAAoAAAAEAAAAAAAAAAwAAAAEAAAAAAAAAA4AAAAEAAAAAAAAABAAAAAEAAAAAAAAABIAAAAEAAAAAAAAABQAAAAEAAAAAAAAABYAAAAEAAAAAAAAABgAAAAEAAAAAAAAABoAAAAEAAAAAAAAABwAAAAEAAAAAAAAAB4AAAAEAAAAAAAAACAAAAAEAAAAAAAAACIAAAAEAAAAAAAAACQAAAAEAAAAAAAIACYAAAABAAEAAAAGACYAAAABAAEAAAAEACYAAAABAAEAAAACACYAAAABAAEAAAAAACYAAAACAAEAAAAeACcAAAADAAEAAAAeACYAAAADAAEAAAAOACYAAAABAAEAAAASACYAAAABAAEAAAAAACcAAAAEAAEAAAASACgAAAAAAAIAAAAUACgAAAAAAAIAAAAWACgAAAAAAAIAAAAYACgAAAAAAAIAAAAaACgAAAAAAAIAAAAcACgAAAAAAAIAAAAOACgAAAAAAAIAAAAMACgAAAAAAAIAAAAKACgAAAAAAAIAAAAIACgAAAAAAAIAAAAGACgAAAAAAAIAAAAEACgAAAAAAAIAAAACACgAAAAAAAIAAAA=")
tile_set = SubResource("TileSet_jr8qv")

[node name="Windows" type="TileMapLayer" parent="Map" unique_id=836194583]
z_index = 5
tile_map_data = PackedByteArray("AAADAAEAAAAAAAQAAAAbAAEAAAAAAAQAAAAHAAEAAAAAAAYAAAAXAAEAAAAAAAYAAAAXAAMAAAAEAAUAAAAXAAUAAAAEAAUAAAAXAAcAAAAEAAUAAAAHAAMAAAAEAAUAAAAHAAUAAAAEAAUAAAAHAAcAAAAEAAUAAAAHAAkAAAAEAAYAAAAXAAkAAAAEAAYAAAADAAMAAAACAAUAAAADAAUAAAACAAUAAAADAAcAAAACAAUAAAAbAAMAAAACAAUAAAAbAAUAAAACAAUAAAAbAAcAAAACAAUAAAAbAAkAAAACAAYAAAADAAkAAAACAAYAAAAPAAEAAAAAAAQAAAAPAAMAAAACAAUAAAAPAAUAAAACAAUAAAAPAAcAAAACAAUAAAAPAAkAAAACAAYAAAA=")
tile_set = SubResource("TileSet_jr8qv")

[node name="Objects" type="TileMapLayer" parent="Map" unique_id=2001863559]
tile_map_data = PackedByteArray("AAAYAAUAAAAEAAIAAAAaAAUAAAAEAAIAAAAcAAUAAAAEAAIAAAAeAAUAAAAEAAIAAAAaAAcAAAAEAAIAAAAcAAcAAAAEAAIAAAAeAAcAAAAEAAIAAAAYAAcAAAAEAAIAAAAaAAkAAAAEAAIAAAAcAAkAAAAEAAIAAAAeAAkAAAAEAAIAAAAEAAUAAAAEAAIAAAAGAAUAAAAEAAIAAAAAAAUAAAAEAAIAAAA=")
tile_set = SubResource("TileSet_jr8qv")

[node name="ObjectsLayer2" type="TileMapLayer" parent="Map" unique_id=1892511212]
z_index = 3
tile_map_data = PackedByteArray("AAAFAAQAAAAEAAIAAAAZAAQAAAAEAAIAAAAbAAQAAAAEAAIAAAAdAAQAAAAEAAIAAAAdAAYAAAAEAAIAAAAbAAYAAAAEAAIAAAAZAAYAAAAEAAIAAAAbAAgAAAAEAAIAAAAdAAgAAAAEAAIAAAA=")
tile_set = SubResource("TileSet_jr8qv")

[node name="Other" type="TileMapLayer" parent="Map" unique_id=985720640]
tile_map_data = PackedByteArray("AAAQABwAAAAEAAIAAAASABwAAAAEAAIAAAAUABwAAAAEAAIAAAAWABwAAAAEAAIAAAAYABwAAAAEAAIAAAAaABwAAAAEAAIAAAAcABwAAAAEAAIAAAAeABwAAAAEAAIAAAASAB4AAAAEAAIAAAAQAB4AAAAEAAIAAAAYAB4AAAAEAAIAAAA=")
tile_set = SubResource("TileSet_jr8qv")

[node name="Etageres" type="Node" parent="Map" unique_id=1557456418]

[node name="Etagere" parent="Map/Etageres" unique_id=2130339636 instance=ExtResource("9_sju6u")]
y_sort_enabled = true
position = Vector2(448, 278)

[node name="Etagere4" parent="Map/Etageres" unique_id=634752017 instance=ExtResource("9_sju6u")]
y_sort_enabled = true
position = Vector2(294, 371)

[node name="Etagere2" parent="Map/Etageres" unique_id=1943291775 instance=ExtResource("9_sju6u")]
z_index = 4
y_sort_enabled = true
position = Vector2(175, 118)

[node name="Etagere3" parent="Map/Etageres" unique_id=565472517 instance=ExtResource("9_sju6u")]
z_index = 4
y_sort_enabled = true
position = Vector2(318, 119)

[node name="EtagereSide" parent="Map/Etageres" unique_id=1220106226 instance=ExtResource("11_2edww")]
y_sort_enabled = true
position = Vector2(374, 354)

[node name="EtagereSide2" parent="Map/Etageres" unique_id=218887748 instance=ExtResource("11_2edww")]
z_index = 6
y_sort_enabled = true
position = Vector2(30, 211)

[node name="EtagereSide3" parent="Map/Etageres" unique_id=904564979 instance=ExtResource("11_2edww")]
z_index = 6
y_sort_enabled = true
position = Vector2(30, 300)

[node name="EtagereSide4" parent="Map/Etageres" unique_id=344487406 instance=ExtResource("11_2edww")]
z_index = 1
y_sort_enabled = true
position = Vector2(30, 611)

[node name="Etagere5" parent="Map/Etageres" unique_id=466280721 instance=ExtResource("9_sju6u")]
z_index = 6
y_sort_enabled = true
position = Vector2(52, 378)

[node name="Etagere6" parent="Map/Etageres" unique_id=373335979 instance=ExtResource("9_sju6u")]
z_index = 6
y_sort_enabled = true
position = Vector2(448, 539)

[node name="Etagere7" parent="Map/Etageres" unique_id=1276472907 instance=ExtResource("9_sju6u")]
z_index = 6
y_sort_enabled = true
position = Vector2(349, 537)

[node name="Etagere8" parent="Map/Etageres" unique_id=1382502295 instance=ExtResource("9_sju6u")]
z_index = 6
y_sort_enabled = true
position = Vector2(250, 537)

[node name="Etagere9" parent="Map/Etageres" unique_id=836648891 instance=ExtResource("9_sju6u")]
y_sort_enabled = true
position = Vector2(58, 558)

[node name="HiddenEngrenage" parent="Map" unique_id=1691516870 instance=ExtResource("7_1p1pm")]
visible = false
position = Vector2(455, 328)

[node name="PushableBox" parent="Map" unique_id=418482729 instance=ExtResource("7_dm063")]
position = Vector2(264, 422)

[node name="UnlockZone" parent="Map" unique_id=448954065 instance=ExtResource("8_dm063")]
position = Vector2(458, 376)
scale = Vector2(5, 6.5)
node_to_reveal = NodePath("../HiddenEngrenage")

[node name="Journal" parent="Map" unique_id=2014306468 instance=ExtResource("10_b870l")]
position = Vector2(456, 583)

[node name="Item" parent="Map" unique_id=993706837 instance=ExtResource("7_1p1pm")]
position = Vector2(40, 455)

[node name="Item2" parent="Map" unique_id=274037233 instance=ExtResource("7_1p1pm")]
position = Vector2(392, 167)

[node name="Player" parent="." unique_id=628518902 instance=ExtResource("2_n70cd")]
z_index = 1
y_sort_enabled = true
position = Vector2(248, 103)

[node name="Door" parent="." unique_id=1014453167 instance=ExtResource("11_squor")]
z_index = 10
position = Vector2(264, 632)

[node name="LoadingZone" parent="." unique_id=2123510357 instance=ExtResource("13_2edww")]
z_index = 100
position = Vector2(264, 649)
scale = Vector2(2, 1.5)
