[gd_scene format=3 uid="uid://bfgygdasrhic6"]

[ext_resource type="Script" uid="uid://dxptx7bq52a6v" path="res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.gd" id="1_script"]
[ext_resource type="Texture2D" uid="uid://lt55jket0pal" path="res://scenes/kq4_068_the_foyer/068_caption_1_2864524437_generated.png" id="2_25s6t"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_transition"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_main"]
vertices = PackedVector2Array(1567.9219, 1052.2266, 1685.5938, 1078.3672, 272.79688, 1055.1016, 1487.7109, 1000.0469, 1746.2188, 949.28125, 1566.2188, 1038.1719, 1225.7734, 469.92188, 1363.1563, 498.5078, 1145.5391, 520.2031, 1013.8281, 523.96875, 248.00781, 993.1094, 135.77344, 927.22656, 468.72656, 909.65625, 591.71094, 953.3203, 471.29688, 450.3672, 572.60156, 396.64844, 623.3828, 499.1797, 462.27344, 525.9531, 1181.0938, 398.04688, 1017.59375, 539.2422, 942.6875, 603.96094, 515.78125, 800.21094, 649.6328, 763.1719)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5), PackedInt32Array(6, 7, 8, 9), PackedInt32Array(10, 11, 12), PackedInt32Array(3, 5, 0, 2, 13), PackedInt32Array(14, 15, 16, 17), PackedInt32Array(9, 17, 16), PackedInt32Array(9, 16, 18, 6), PackedInt32Array(19, 9, 8), PackedInt32Array(19, 8, 20), PackedInt32Array(21, 19, 20, 22), PackedInt32Array(21, 22, 13, 12), PackedInt32Array(12, 13, 2, 10)])
outlines = Array[PackedVector2Array]([PackedVector2Array(240, 1000, 102, 919, 462, 900, 508, 793, 1006, 534, 451, 536, 462, 444, 577, 383, 629, 488, 1186, 387, 1232, 461, 1429, 502, 1148, 530, 947, 613, 658, 770, 605, 944, 1487, 990, 1818, 925, 1577, 1044, 1784, 1090, 266, 1065)])

[node name="background" type="Node2D" unique_id=557074478]
y_sort_enabled = true
script = ExtResource("1_script")
metadata/_custom_type_script = "uid://bq05g53bnqgou"

[node name="bg" type="Sprite2D" parent="." unique_id=801743455]
scale = Vector2(0.78, 0.78)
texture = ExtResource("2_25s6t")
centered = false
metadata/_edit_lock_ = true

[node name="StartScalePoint" type="Node2D" parent="." unique_id=1477543703]
position = Vector2(200, 900)
script = ExtResource("3_scale")
target_scale = 0.3

[node name="EndScalePoint" type="Node2D" parent="." unique_id=880372180]
position = Vector2(1800, 1100)
script = ExtResource("3_scale")
target_scale = 0.4

[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=775494517]
position = Vector2(2, -33)
navigation_polygon = SubResource("NavigationPolygon_main")

[node name="default-starting-point" type="Node2D" parent="." unique_id=1105888478]
position = Vector2(200, 900)

[node name="kq4_017_spooky_house_exterior" parent="." unique_id=1277671274 instance=ExtResource("4_transition")]
position = Vector2(814, 586)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://dek2gdmwnmgsl"
label = "017 Spooky House Exterior"

[node name="entrance" parent="kq4_017_spooky_house_exterior" index="0"]
position = Vector2(133, 643)

[node name="exit" parent="kq4_017_spooky_house_exterior" index="1"]
position = Vector2(174, 519)

[node name="kq4_067_the_parlor" parent="." unique_id=857831124 instance=ExtResource("4_transition")]
position = Vector2(289, 173)
polygon = PackedVector2Array(-108, 454, -17, 832, 190, 820, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://vg4ru6pcqsn0"
label = "067 The Parlor"

[node name="entrance" parent="kq4_067_the_parlor" index="0"]
position = Vector2(202, 771)

[node name="exit" parent="kq4_067_the_parlor" index="1"]
position = Vector2(7, 747)

[node name="kq4_060_bedroom" parent="." unique_id=1753644870 instance=ExtResource("4_transition")]
position = Vector2(910, 200)
polygon = PackedVector2Array(-396, -99, -479, 209, -147, 228, -161, -61)
appear_at_node = "kq4_068_the_foyer"
target = "uid://abd2plmdre4f"
label = "060 Bedroom"

[node name="entrance" parent="kq4_060_bedroom" index="0"]
position = Vector2(-244, 281)

[node name="exit" parent="kq4_060_bedroom" index="1"]
position = Vector2(-311, 176)

[node name="kq4_062_bedroom" parent="." unique_id=87527628 instance=ExtResource("4_transition")]
position = Vector2(973, -346)
polygon = PackedVector2Array(58, 451, 108, 830, 393, 832, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://368r91sorjxs0"
label = "062 Bedroom"
metadata/_edit_lock_ = true

[node name="entrance" parent="kq4_062_bedroom" index="0"]
position = Vector2(223, 825)

[node name="exit" parent="kq4_062_bedroom" index="1"]
position = Vector2(207, 737)

[node name="kq4_064_old_dining_room" parent="." unique_id=1636015828 instance=ExtResource("4_transition")]
position = Vector2(50, 600)
polygon = PackedVector2Array(1448, -51, 1404, 401, 1680, 390, 1668, 85)
appear_at_node = "kq4_068_the_foyer"
target = "uid://2y0sti59qypsl"
label = "064 Old Dining Room"

[node name="entrance" parent="kq4_064_old_dining_room" index="0"]
position = Vector2(1405, 379)

[node name="exit" parent="kq4_064_old_dining_room" index="1"]
position = Vector2(1593, 347)

[node name="house_door" parent="." unique_id=2084818831 instance=ExtResource("4_transition")]
appear_at_node = &"house_door"
target = "uid://dek2gdmwnmgsl"

[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_kq4_017_spooky_house_exterior_interacted"]
[connection signal="interacted" from="kq4_067_the_parlor" to="." method="_on_kq4_067_the_parlor_interacted"]
[connection signal="interacted" from="kq4_060_bedroom" to="." method="_on_kq4_060_bedroom_interacted"]
[connection signal="interacted" from="kq4_062_bedroom" to="." method="_on_kq4_062_bedroom_interacted"]
[connection signal="interacted" from="kq4_064_old_dining_room" to="." method="_on_kq4_064_old_dining_room_interacted"]

[editable path="kq4_017_spooky_house_exterior"]
[editable path="kq4_067_the_parlor"]
[editable path="kq4_060_bedroom"]
[editable path="kq4_062_bedroom"]
[editable path="kq4_064_old_dining_room"]
