[gd_scene format=3 uid="uid://5gygr0s1n433"]

[ext_resource type="Script" uid="uid://b7elji15ea6kg" path="res://scenes/kq4_016_graveyard/kq4_016_graveyard.gd" id="1_abc"]
[ext_resource type="Texture2D" uid="uid://clkah304erwsa" path="res://scenes/kq4_016_graveyard/caption_1_2842997487_generated.png" id="2_8fbum"]
[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://jwqdk5e17ucs" path="res://scenes/kq4_016_graveyard/gravestones_polygon.tres" id="5_gravestones"]
[ext_resource type="Resource" uid="uid://3j9gqpqwomat0" path="res://scenes/kq4_016_graveyard/tree_polygon.tres" id="6_tree"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"]

[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_abc")

[node name="bg" type="Sprite2D" parent="." unique_id=874052749]
scale = Vector2(0.78, 0.78)
texture = ExtResource("2_8fbum")
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_015_frog_pond" parent="." unique_id=999999992 instance=ExtResource("4_abc")]
position = Vector2(-200, 100)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_016_graveyard"
target = "uid://2zga29mwl2ced"
label = "Frog Pond"

[node name="entrance" parent="kq4_015_frog_pond" index="0"]
position = Vector2(350, 500)

[node name="exit" parent="kq4_015_frog_pond" index="1"]
position = Vector2(100, 480)

[node name="kq4_010_forest_path" parent="." unique_id=1290603997 instance=ExtResource("4_abc")]
position = Vector2(910, -213)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_016_graveyard"
target = "uid://3ujj97iw54vo5"
label = "Forest Path"

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

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

[node name="kq4_022_gnomes_cottage" parent="." unique_id=1761087950 instance=ExtResource("4_abc")]
position = Vector2(910, 542)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_016_graveyard"
target = "uid://3oq4x3exoimdb"
label = "Gnomes Cottage"

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

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

[node name="kq4_017_spooky_house_exterior" parent="." unique_id=1117747815 instance=ExtResource("4_abc")]
position = Vector2(1766, 74)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_016_graveyard"
target = "uid://1kz9yo5f1tpc6"
label = "Spooky House Exterior"

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

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

[connection signal="interacted" from="kq4_015_frog_pond" to="." method="_on_frog_pond_interacted"]
[connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"]
[connection signal="interacted" from="kq4_022_gnomes_cottage" to="." method="_on_gnomes_cottage_interacted"]
[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"]

[node name="gravestones" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(2274, 760, 2254, 907, 1872, 1362, 1734, 1391, 542, 1139, 188, 965, 151, 710, 564, 606, 1723, 614)
script = ExtResource("7_setpiece")
label = "Gravestones"
points_resource = ExtResource("5_gravestones")

[node name="tree" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(2274, 377, 2095, 619, 1935, 756, 1185, 1239, 6, 434, 578, 0, 1845, 7)
script = ExtResource("7_setpiece")
label = "Tree"
points_resource = ExtResource("6_tree")

[connection signal="looked" from="gravestones" to="." method="_on_gravestones_looked"]
[connection signal="looked" from="tree" to="." method="_on_tree_looked"]

[editable path="kq4_015_frog_pond"]
[editable path="kq4_010_forest_path"]
[editable path="kq4_022_gnomes_cottage"]
[editable path="kq4_017_spooky_house_exterior"]
