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

[ext_resource type="Script" path="res://scenes/kq4_005_forest_grove/kq4_005_forest_grove.gd" id="1_abc"]
[ext_resource type="Texture2D" path="res://scenes/kq4_005_forest_grove/pic_005_visual.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://3d1fw5h9328t8" path="res://scenes/kq4_005_forest_grove/cottage_polygon.tres" id="5_abc"]
[ext_resource type="Resource" uid="uid://2jf9850spw0b" path="res://scenes/kq4_005_forest_grove/window_polygon.tres" id="6_abc"]
[ext_resource type="Resource" uid="uid://n2tgvacqmctu" path="res://scenes/kq4_005_forest_grove/boulders_polygon.tres" id="7_abc"]
[ext_resource type="Resource" uid="uid://p7afm3d325b3" path="res://scenes/kq4_005_forest_grove/bushes_polygon.tres" id="8_abc"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="9_abc"]

[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(6, 6)
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_029_dense_forest" 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_005_forest_grove"
target = "uid://1sfzaldfq5kn1"
label = "Dense Forest"

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

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

[node name="kq4_006_cave_entrance" 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_005_forest_grove"
target = "uid://23orpd43hrwbt"
label = "Cave Entrance"

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

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

[node name="kq4_011_enchanted_grove" 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_005_forest_grove"
target = "uid://ujxktwdn8l8r"
label = "Enchanted Grove"

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

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

[node name="kq4_004_ogres_cottage" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_005_forest_grove"
target = "uid://1nxmm3b1kcdm1"
label = "Ogre's Cottage"

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

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

[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Cottage"
points_resource = ExtResource("5_abc")

[node name="window" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Window"
points_resource = ExtResource("6_abc")

[node name="boulders" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Boulders"
points_resource = ExtResource("7_abc")

[node name="bushes" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Bushes"
points_resource = ExtResource("8_abc")

[connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"]
[connection signal="interacted" from="kq4_006_cave_entrance" to="." method="_on_cave_entrance_interacted"]
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
[connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"]
[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]
[connection signal="looked" from="window" to="." method="_on_window_looked"]
[connection signal="looked" from="boulders" to="." method="_on_boulders_looked"]
[connection signal="looked" from="bushes" to="." method="_on_bushes_looked"]

[editable path="kq4_029_dense_forest"]
[editable path="kq4_006_cave_entrance"]
[editable path="kq4_011_enchanted_grove"]
[editable path="kq4_004_ogres_cottage"]
