[gd_scene format=3 uid="uid://1mhkt47y9jjhc"]

[ext_resource type="Script" uid="uid://cjqj7aaixs44q" path="res://scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.gd" id="1_abc"]
[ext_resource type="Texture2D" uid="uid://pic023visual" path="res://scenes/kq4_023_forest_path_with_cottage/023_caption_1_684441713_generated.png" id="2_abc"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_abc"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_abc"]
[ext_resource type="Resource" uid="uid://2v2i1a5usi2uw" path="res://scenes/kq4_023_forest_path_with_cottage/cottage_polygon_0.tres" id="5_cottage"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
vertices = PackedVector2Array(374.47656, 1145.0078, -140.75781, 1180.2031, -76.11719, 588.6797, -53.679688, 490.4922, 1222.4688, 227.3125, 1994.2422, 468.4297, 2012.7031, 1020.2031, 1268.1875, 1113.0234)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-62, 482, 1223, 217, 2004, 461, 2023, 1029, 1269, 1123, 375, 1155, -152, 1191, -86, 587)])

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

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

[node name="StartScalePoint" type="Node2D" parent="." unique_id=1640687858]
position = Vector2(1476, 742)
script = ExtResource("3_abc")
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_abc")
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_017_spooky_house_exterior" parent="." unique_id=484638394 instance=ExtResource("4_abc")]
position = Vector2(910, -213)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_023_forest_path_with_cottage"
target = "uid://1kz9yo5f1tpc6"
label = "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_024_waterfall_and_pool" parent="." unique_id=1916756563 instance=ExtResource("4_abc")]
position = Vector2(1766, 74)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_023_forest_path_with_cottage"
target = "uid://33baqytea2g56"
label = "Waterfall and Pool"

[node name="entrance" parent="kq4_024_waterfall_and_pool" index="0"]
position = Vector2(24, 565)

[node name="exit" parent="kq4_024_waterfall_and_pool" index="1"]
position = Vector2(293, 554)

[node name="kq4_029_dense_forest" parent="." unique_id=990092106 instance=ExtResource("4_abc")]
position = Vector2(910, 542)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_023_forest_path_with_cottage"
target = "uid://1sfzaldfq5kn1"
label = "Dense Forest"

[node name="entrance" parent="kq4_029_dense_forest" index="0"]
position = Vector2(118, 514)

[node name="exit" parent="kq4_029_dense_forest" index="1"]
position = Vector2(151, 615)

[node name="kq4_022_gnomes_cottage" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_023_forest_path_with_cottage"
target = "uid://3oq4x3exoimdb"
label = "Gnome's Cottage"

[node name="entrance" parent="kq4_022_gnomes_cottage" index="0"]
position = Vector2(506, 555)

[node name="exit" parent="kq4_022_gnomes_cottage" index="1"]
position = Vector2(-64, 534)

[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"]
[connection signal="interacted" from="kq4_024_waterfall_and_pool" to="." method="_on_waterfall_and_pool_interacted"]
[connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"]
[connection signal="interacted" from="kq4_022_gnomes_cottage" to="." method="_on_gnomes_cottage_interacted"]

[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(163, 0, 152, 66, 133, 75, 161, 87, 75, 88, 105, 82, 84, 59, 106, 3)
script = ExtResource("6_setpiece")
label = "Cottage"
points_resource = ExtResource("5_cottage")

[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]

[editable path="kq4_017_spooky_house_exterior"]
[editable path="kq4_024_waterfall_and_pool"]
[editable path="kq4_029_dense_forest"]
[editable path="kq4_022_gnomes_cottage"]