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

[ext_resource type="Script" uid="uid://lkgcoggep50e" path="res://scenes/kq4_013_beach/kq4_013_beach.gd" id="1_abc"]
[ext_resource type="Texture2D" uid="uid://dbi8vjqvdpc3g" path="res://scenes/kq4_013_beach/caption_2_3376356057_generated.png" id="2_6hbuw"]
[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://qtlmw98rwpqa" path="res://scenes/kq4_013_beach/dock_polygon.tres" id="5_dock"]
[ext_resource type="Resource" uid="uid://316m70krnlnbx" path="res://scenes/kq4_013_beach/cottage_polygon.tres" id="6_cottage"]
[ext_resource type="Script" uid="uid://cxm4y5s6pwpm8" path="res://SetPiece_.gd" id="8_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_6hbuw")
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_007_fishermans_shack" 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_013_beach"
target = "uid://yj4t7thmkoct"
label = "Fisherman's Shack"

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

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

[node name="kq4_014_green_meadow" 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_013_beach"
target = "uid://tkeyuep0ivo6"
label = "Green Meadow"

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

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

[node name="kq4_019_coastal_cliffs" 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_013_beach"
target = "uid://3eh8ys3v25m45"
label = "Coastal Cliffs"

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

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

[node name="kq4_031_open_ocean" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_013_beach"
target = "uid://2f7c49hpkducc"
label = "Open Ocean"

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

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

[node name="dock" type="Polygon2D" parent="." unique_id=123456789]
scale = Vector2(0.78, 0.78)
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
script = ExtResource("8_setpiece")
label = "Dock"
polygon_resource = ExtResource("5_dock")

[node name="cottage" type="Polygon2D" parent="." unique_id=234567891]
scale = Vector2(0.78, 0.78)
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
script = ExtResource("8_setpiece")
label = "Cottage"
polygon_resource = ExtResource("6_cottage")

[connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"]
[connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"]
[connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_coastal_cliffs_interacted"]
[connection signal="interacted" from="kq4_031_open_ocean" to="." method="_on_open_ocean_interacted"]
[connection signal="looked" from="dock" to="." method="_on_dock_looked"]
[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]

[editable path="kq4_007_fishermans_shack"]
[editable path="kq4_014_green_meadow"]
[editable path="kq4_019_coastal_cliffs"]
[editable path="kq4_031_open_ocean"]
