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

[ext_resource type="Script" uid="uid://dharqsywd4uc0" path="res://scenes/kq4_049_ogres_cottage/kq4_049_ogres_cottage.gd" id="1_script"]
[ext_resource type="Texture2D" uid="uid://cja6l4a353jqg" path="res://scenes/kq4_049_ogres_cottage/049_caption_1_761402739_generated.png" id="2_texture"]
[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_ppo6b"]
vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0), PackedInt32Array(3, 2, 8)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-39, 206, 1223, 217, 2004, 461, 2022, 1331, 1052, 1430, 365, 1253, -152, 1191, -86, 587)])

[node name="background" type="Node2D" unique_id=657573819]
y_sort_enabled = true
script = ExtResource("1_script")

[node name="bg" type="Sprite2D" parent="." unique_id=874052749]
scale = Vector2(0.78, 0.78)
texture = ExtResource("2_texture")
centered = false

[node name="StartScalePoint" type="Node2D" parent="." unique_id=1640687858]
position = Vector2(1476, 742)
script = ExtResource("3_scale")
target_scale = 0.25

[node name="EndScalePoint" type="Node2D" parent="." unique_id=1996763530]
position = Vector2(1408, 1097)
scale = Vector2(0.44, 0.44)
script = ExtResource("3_scale")
target_scale = 0.35

[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=1418661203]
position = Vector2(-1, 0)
navigation_polygon = SubResource("NavigationPolygon_ppo6b")

[node name="default-starting-point" type="Node2D" parent="." unique_id=1018141532]
position = Vector2(194, 819)

[node name="kq4_004_ogres_cottage_exterior" parent="." unique_id=484638394 instance=ExtResource("4_transition")]
position = Vector2(910, -213)
polygon = PackedVector2Array(-703, 472, -696, 1033, -462, 953, -471, 562)
appear_at_node = "kq4_049_ogres_cottage"
target = "uid://1nxmm3b1kcdm1"
label = "Ogre's Cottage Exterior"

[node name="entrance" parent="kq4_004_ogres_cottage_exterior" index="0"]
position = Vector2(-422, 967)

[node name="exit" parent="kq4_004_ogres_cottage_exterior" index="1"]
position = Vector2(-781, 953)

[node name="kq4_048_ogres_bedroom" parent="." unique_id=1956756567 instance=ExtResource("4_transition")]
position = Vector2(1766, 74)
polygon = PackedVector2Array(-1219, 554, -1103, 644, -363, 231, -466, 16)
appear_at_node = "kq4_049_ogres_cottage"
target = "uid://t4eqmtnaduxt"
label = "Ogres' Bedroom"

[node name="entrance" parent="kq4_048_ogres_bedroom" index="0"]
position = Vector2(-1157, 661)

[node name="exit" parent="kq4_048_ogres_bedroom" index="1"]
position = Vector2(-498, 200)

[node name="kq4_050_ogress_kitchen" parent="." unique_id=1966756568 instance=ExtResource("4_transition")]
position = Vector2(910, 542)
polygon = PackedVector2Array(556, 243, 843, 288, 861, -188, 673, -152)
appear_at_node = "kq4_049_ogres_cottage"
target = "uid://is2m5yb1l52f"
label = "Kitchen"

[node name="entrance" parent="kq4_050_ogress_kitchen" index="0"]
position = Vector2(580, 196)

[node name="exit" parent="kq4_050_ogress_kitchen" index="1"]
position = Vector2(792, 205)

[node name="kq4_051_closet" parent="." unique_id=1976756569 instance=ExtResource("4_transition")]
position = Vector2(-108, 542)
polygon = PackedVector2Array(1387, -168, 1344, 200, 1632, 136, 1616, -183)
appear_at_node = "kq4_049_ogres_cottage"
target = "uid://2buzfd0sba7mg"
label = "Closet"

[node name="entrance" parent="kq4_051_closet" index="0"]
position = Vector2(1459, 255)

[node name="exit" parent="kq4_051_closet" index="1"]
position = Vector2(1459, 59)

[node name="kq4_049_ogres_cottage" parent="." unique_id=174473811 instance=ExtResource("4_transition")]
appear_at_node = &"kq4_049_ogres_cottage"
target = "uid://dhie3qsi5333g"

[connection signal="interacted" from="kq4_004_ogres_cottage_exterior" to="." method="_on_cottage_exterior_interacted"]
[connection signal="interacted" from="kq4_048_ogres_bedroom" to="." method="_on_bedroom_interacted"]
[connection signal="interacted" from="kq4_050_ogress_kitchen" to="." method="_on_kitchen_interacted"]
[connection signal="interacted" from="kq4_051_closet" to="." method="_on_closet_interacted"]

[editable path="kq4_004_ogres_cottage_exterior"]
[editable path="kq4_048_ogres_bedroom"]
[editable path="kq4_050_ogress_kitchen"]
[editable path="kq4_051_closet"]
