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

[ext_resource type="Script" uid="uid://dbscr0b7k3rtp" path="res://Scripts/Maps/Connectors/collision_loading_zone_connector.gd" id="1_18bbf"]
[ext_resource type="TileSet" uid="uid://df0lg5vkqwbbt" path="res://Resources/Tilesets/home_interior.tres" id="1_rf04x"]
[ext_resource type="Script" uid="uid://dkcsftcdqtmg" path="res://Scripts/Maps/Connectors/spawn_marker_connector.gd" id="2_16uj4"]
[ext_resource type="PackedScene" uid="uid://ca75b65eh7vv8" path="res://Scenes/Objects/Loading Zone/collision_loading_zone.tscn" id="2_fdso5"]
[ext_resource type="PackedScene" uid="uid://6athlweutl2g" path="res://Scenes/Characters/Player/player.tscn" id="2_lky26"]
[ext_resource type="PackedScene" uid="uid://bbules4o3xayc" path="res://Scenes/Objects/Loading Zone/loading_zone_transporter.tscn" id="3_7kg22"]
[ext_resource type="PackedScene" uid="uid://dl2jpjtbiju34" path="res://Scenes/Maps/Connectors/chest_interaction_connector.tscn" id="3_ec540"]
[ext_resource type="PackedScene" uid="uid://b7u4hlvuqiefn" path="res://Scenes/Objects/Chests/Item Chests/item_chest_02 (Metal).tscn" id="4_a58cd"]
[ext_resource type="PackedScene" uid="uid://b60nr4wfvijpf" path="res://Scenes/Objects/Dialogue/dialogue_trigger.tscn" id="5_msu6a"]
[ext_resource type="Texture2D" uid="uid://bm5ewxv51potl" path="res://Assets/Spritesheets/NPCs/Miner_Mike.png" id="6_x3y8m"]
[ext_resource type="Texture2D" uid="uid://bqvnkdyhfa1yq" path="res://Scenes/Maps/Forest Dungeon Entrance/Interiors/Home_01_Overlay_01.png" id="11_6xfm6"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7kg22"]
size = Vector2(32, 8)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ec540"]
size = Vector2(11, 18)

[sub_resource type="AtlasTexture" id="AtlasTexture_a58cd"]
atlas = ExtResource("6_x3y8m")
region = Rect2(0, 0, 64, 64)

[sub_resource type="AtlasTexture" id="AtlasTexture_msu6a"]
atlas = ExtResource("6_x3y8m")
region = Rect2(64, 0, 64, 64)

[sub_resource type="AtlasTexture" id="AtlasTexture_ec540"]
atlas = ExtResource("6_x3y8m")
region = Rect2(128, 0, 64, 64)

[sub_resource type="AtlasTexture" id="AtlasTexture_6xfm6"]
atlas = ExtResource("6_x3y8m")
region = Rect2(192, 0, 64, 64)

[sub_resource type="AtlasTexture" id="AtlasTexture_nhbhl"]
atlas = ExtResource("6_x3y8m")
region = Rect2(256, 0, 64, 64)

[sub_resource type="AtlasTexture" id="AtlasTexture_1662b"]
atlas = ExtResource("6_x3y8m")
region = Rect2(320, 0, 64, 64)

[sub_resource type="SpriteFrames" id="SpriteFrames_qunaf"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a58cd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_msu6a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ec540")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6xfm6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nhbhl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1662b")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_6xfm6"]
size = Vector2(11, 14)

[node name="Home 01" type="Node2D" unique_id=1401818514]
y_sort_enabled = true

[node name="Connectors" type="Node" parent="." unique_id=517749045]

[node name="Collision Loading Zone Connector" type="Node" parent="Connectors" unique_id=483597596]
script = ExtResource("1_18bbf")

[node name="Spawn Marker Connector" type="Node" parent="Connectors" unique_id=296643918 node_paths=PackedStringArray("player", "markers")]
script = ExtResource("2_16uj4")
player = NodePath("../../Player")
markers = NodePath("../../Spawn Markers")

[node name="Chest Interaction Connector" parent="Connectors" unique_id=625804018 node_paths=PackedStringArray("player") instance=ExtResource("3_ec540")]
player = NodePath("../../Player")

[node name="Tilemap" type="Node2D" parent="." unique_id=894627186]
y_s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AAAABAAMAAAAAAAEAAAABAAQAAAAAAAEAAAABAAUAAAAAAAEAAAABAAYAAAAAAAEAAAABAAcAAAAAAAEAAAABAAgAAAAAAAEAAAABAAkAAAAAAAEAAAABAAoAAAAAAAEAAAACAAsAAAABAAIAAAADAAsAAAAEAAEAAAAMAAsAAAABAAIAAAANAAsAAAABAAIAAAABAAEAAAAAAAAAAAAOAAEAAAACAAAAAAABAAsAAAAAAAIAAAAOAAsAAAACAAIAAAALAAsAAAABAAIAAAAKAAsAAAABAAIAAAAJAAsAAAABAAIAAAAIAAsAAAABAAIAAAAHAAsAAAABAAIAAAAGAAsAAAADAAEAAAAEAAsAAQAHAAAAAAAFAAsAAQAHAAAAAAA=")
tile_set = ExtResource("1_rf04x")

[node name="Decor" type="TileMapLayer" parent="Tilemap" unique_id=941487815]
y_sort_enabled = true
tile_map_data = PackedByteArray("AAADAAQABAAAAAAAAAAEAAUABQAAAAAAAAACAAgAAgAAAAIAAAACAAkAAgAAAAMAAAADAAgAAgACAAIAAAADAAkAAgACAAMAAAAEAAgACQADAAAAAAAMAAUACwAAAAgAAAAIAAMACgAGAAAAAAAJAAQAAwAAAAAAAAAKAAQACQABAAAAAAA=")
tile_set = ExtResource("1_rf04x")

[node name="Decor 2" type="TileMapLayer" parent="Tilemap" unique_id=1988290805]
y_sort_enabled = true
tile_map_data = PackedByteArray("AAADAAgABwAAAAQAAAA=")
tile_set = ExtResource("1_rf04x")

[node name="Objects" type="Node2D" parent="." unique_id=1163373560]
y_sort_enabled = true

[node name="Item Chest 02" parent="Objects" unique_id=152271802 node_paths=PackedStringArray("locked_message_dialogue_trigger") instance=ExtResource("4_a58cd")]
position = Vector2(206, 117)
is_locked = true
locked_message_dialogue_trigger = NodePath("Locked Dialogue Trigger")

[node name="Locked Dialogue Trigger" parent="Objects/Item Chest 02" unique_id=189867444 instance=ExtResource("5_msu6a")]
dialogue_name = "MSG_FOREST_DUNGEON_ENTRANCE_HOME_01_LOCKED_CHEST_01"

[node name="Loading Zones" type="Node2D" parent="." unique_id=1862302491]

[node name="Collision Loading Zone" parent="Loading Zones" unique_id=1043800735 node_paths=PackedStringArray("loading_zone_transporter") instance=ExtResource("2_fdso5")]
loading_zone_transporter = NodePath("Loading Zone Transporter")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Loading Zones/Collision Loading Zone" unique_id=2049955470]
position = Vector2(80, 188)
shape = SubResource("RectangleShape2D_7kg22")

[node name="Loading Zone Transporter" parent="Loading Zones/Collision Loading Zone" unique_id=1690817663 instance=ExtResource("3_7kg22")]
destination_marker_name = "Home 01 Entrance"

[node name="Spawn Markers" type="Node2D" parent="." unique_id=1756787676]

[node name="Entrance" type="Marker2D" parent="Spawn Markers" unique_id=421447336]
position = Vector2(80, 175)

[node name="NPCs" type="Node2D" parent="." unique_id=1965309351]

[node name="CharacterBody2D" type="CharacterBody2D" parent="NPCs" unique_id=1487693855]
position = Vector2(93, 85)

[node name="CollisionShape2D" type="CollisionShape2D" parent="NPCs/CharacterBody2D" unique_id=542589948]
position = Vector2(-0.5, -2)
shape = SubResource("RectangleShape2D_ec540")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="NPCs/CharacterBody2D" unique_id=1921427945]
sprite_frames = SubResource("SpriteFrames_qunaf")
autoplay = "default"

[node name="Dialogue Trigger" parent="NPCs/CharacterBody2D" unique_id=661667742 instance=ExtResource("5_msu6a")]
dialogue_name = "MSG_BLACKSMITH"

[node name="CollisionShape2D" type="CollisionShape2D" parent="NPCs/CharacterBody2D/Dialogue Trigger" unique_id=2044300734]
position = Vector2(-0.5, -4)
shape = SubResource("RectangleShape2D_6xfm6")
debug_color = Color(0.7930861, 0.42714188, 7.70092e-07, 0.41960785)

[node name="Camera2D" type="Camera2D" parent="." unique_id=2134984506]
position = Vector2(127, 110)
zoom = Vector2(3, 3)

[node name="Player" parent="." unique_id=1502234578 instance=ExtResource("2_lky26")]
position = Vector2(108, 139)

[node name="Overlay" type="Sprite2D" parent="." unique_id=455840170]
position = Vector2(124, 217)
scale = Vector2(0.25, 0.25)
texture = ExtResource("11_6xfm6")
offset = Vector2(16, -436)
