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

[ext_resource type="Script" uid="uid://1ndyfao92bvne" path="res://scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.gd" id="1_abc"]
[ext_resource type="Texture2D" uid="uid://bjt8wovxf8m1b" path="res://scenes/kq4_025_beach_at_river_delta/reg.png" id="2_uc3vv"]
[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="Texture2D" uid="uid://ddvidy6i6wnka" path="res://scenes/kq4_025_beach_at_river_delta/tree.png" id="5_abc"]
[ext_resource type="Resource" uid="uid://2on9dh8t360j7" path="res://scenes/kq4_025_beach_at_river_delta/delta_polygon_0.tres" id="6_delta"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_n0vbh"]
vertices = PackedVector2Array(1420.8, 882.891, 643.523, 782.813, 755.508, 679.367, 1170.98, 718.422, 1446.82, 264.32, 1830.07, 288.641, 1892.21, 394.188, 1460.68, 425.43, 1357.31, 386.203, 2174.01, 646.32, 2120.42, 949.383, 1827.87, 811.828, 1884.59, 654.039, 1592.76, 853.242, 1279.84, 600.93, 1418.68, 506.969, 1706.24, 821.109, 1346.11, 437.141, 1248.03, 530.352)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7, 8), PackedInt32Array(9, 10, 11, 12), PackedInt32Array(13, 0, 3, 14, 15, 16), PackedInt32Array(17, 8, 7, 15), PackedInt32Array(15, 12, 11, 16), PackedInt32Array(17, 15, 14, 18)])
outlines = Array[PackedVector2Array]([PackedVector2Array(1442, 254, 1836, 279, 1909, 403, 1467, 435, 1433, 501, 1886, 644, 2186, 636, 2128, 964, 1826, 822, 1708, 831, 1595, 863, 1421, 893, 621, 790, 752, 669, 1167, 708, 1268, 599, 1236, 528, 1337, 432, 1348, 382)])

[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(1.17, 1.17)
texture = ExtResource("2_uc3vv")
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_n0vbh")

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

[node name="Tree" type="Sprite2D" parent="." unique_id=1514036032]
z_as_relative = false
y_sort_enabled = true
position = Vector2(1821, 484)
scale = Vector2(1.17, 1.17)
texture = ExtResource("5_abc")
centered = false
offset = Vector2(-1556.81, -413.703)

[node name="kq4_019_coastal_cliffs" parent="." unique_id=893874410 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(1442, 94, 973, 238, 939, 386, 1753, 367, 1751, 180)
appear_at_node = "kq4_025_beach_at_river_delta"
target = "uid://3eh8ys3v25m45"
label = "Coastal Cliffs"

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

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

[node name="kq4_026_river_meadow" parent="." unique_id=1234567890 instance=ExtResource("4_abc")]
position = Vector2(1800, 400)
polygon = PackedVector2Array(1700, 300, 1900, 300, 1900, 500, 1700, 500)
appear_at_node = "kq4_025_beach_at_river_delta"
target = "uid://10p7miv0a14l7"
label = "River Meadow"

[node name="entrance" parent="kq4_026_river_meadow" index="0"]
position = Vector2(1750, 450)

[node name="exit" parent="kq4_026_river_meadow" index="1"]
position = Vector2(1850, 350)

[node name="kq4_031_open_ocean" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
position = Vector2(100, 400)
polygon = PackedVector2Array(100, 300, 200, 300, 200, 500, 100, 500)
appear_at_node = "kq4_025_beach_at_river_delta"
target = "uid://2f7c49hpkducc"
label = "Open Ocean"

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

[node name="exit" parent="kq4_031_open_ocean" index="1"]
position = Vector2(50, 350)

[node name="kq4_001_beach" parent="." unique_id=1117747815 instance=ExtResource("4_abc")]
position = Vector2(910, 542)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_025_beach_at_river_delta"
target = "uid://1rwfkejhz94hp"
label = "Beach"

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

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

[connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_coastal_cliffs_interacted"]
[connection signal="interacted" from="kq4_026_river_meadow" to="." method="_on_river_meadow_interacted"]
[connection signal="interacted" from="kq4_031_open_ocean" to="." method="_on_open_ocean_interacted"]
[connection signal="interacted" from="kq4_001_beach" to="." method="_on_beach_interacted"]

[node name="delta" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(1378, 0, 753, 398, 1446, 456, 295, 646, 2492, 931, 2495, 1391, 21, 870, 0, 0)
script = ExtResource("7_setpiece")
label = "River Delta"
points_resource = ExtResource("6_delta")

[connection signal="looked" from="delta" to="." method="_on_delta_looked"]

[editable path="kq4_019_coastal_cliffs"]
[editable path="kq4_026_river_meadow"]
[editable path="kq4_031_open_ocean"]
[editable path="kq4_001_beach"]
