[gd_scene format=3 uid="uid://2yy1t1lic39gp"]

[ext_resource type="Script" uid="uid://239gc95e8fguu" path="res://scenes/kq4_020_meadow/kq4_020_meadow.gd" id="1_bn14v"]
[ext_resource type="Texture2D" uid="uid://mo525tcuoqes" path="res://scenes/kq4_020_meadow/ComfyUI_09941_.png" id="2_bn14v"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_6lc2m"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_nrc7r"]
[ext_resource type="Texture2D" uid="uid://2wfp64i5brcn" path="res://scenes/kq4_020_meadow/tree.png" id="5_ppo6b"]
[ext_resource type="Resource" uid="uid://3db4xmv5e6m2q" path="res://scenes/kq4_020_meadow/meadow_polygon_0.tres" id="6_meadow"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
vertices = PackedVector2Array(1263.16, 1113.2, 424.328, 1143.23, 1026.63, 865.109, 1359.65, 949.383, 1238.89, 383.039, 1994.29, 469.938, 2012.62, 1017.85, 1025.28, 850.992, -53.8672, 491.352, -74.0469, 579.641)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 3, 2, 7), PackedInt32Array(8, 4, 7, 9)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-62, 482, 1239, 373, 2004, 461, 2023, 1029, 1365, 960, 1269, 1123, 375, 1155, 1016, 859, -86, 587)])

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

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

[node name="StartScalePoint" type="Node2D" parent="." unique_id=1640687858]
position = Vector2(1476, 742)
script = ExtResource("3_6lc2m")
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_6lc2m")
target_scale = 0.35

[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=1418661203]
visible = false
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_014_green_meadow" parent="." unique_id=1117747813 instance=ExtResource("4_nrc7r")]
position = Vector2(910, -213)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_020_meadow"
target = "uid://tkeyuep0ivo6"
label = "Green Meadow"

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

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

[node name="kq4_021_bridge_over_stream" parent="." unique_id=1117747812 instance=ExtResource("4_nrc7r")]
position = Vector2(1766, 74)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_020_meadow"
target = "uid://3uxipzjekijqc"
label = "Bridge over Stream"

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

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

[node name="kq4_019_coastal_cliffs" parent="." unique_id=1117747814 instance=ExtResource("4_nrc7r")]
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_020_meadow"
target = "uid://3eh8ys3v25m45"
label = "Beach"

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

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

[node name="kq4_026_river_meadow" parent="." instance=ExtResource("4_nrc7r")]
position = Vector2(910, 542)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_020_meadow"
target = "uid://10p7miv0a14l7"
label = "River Meadow"

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

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

[node name="Tree" type="Sprite2D" parent="." unique_id=2128315710]
position = Vector2(335, 855)
scale = Vector2(1.159, 1.181)
texture = ExtResource("5_ppo6b")
centered = false
offset = Vector2(-289.042, -723.963)

[connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"]
[connection signal="interacted" from="kq4_021_bridge_over_stream" to="." method="_on_bridge_over_stream_interacted"]
[connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_oceanside_interacted"]
[connection signal="interacted" from="kq4_026_river_meadow" to="." method="_on_river_meadow_interacted"]

[node name="meadow" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.470459, 0.467949)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(3927, 328, 2766, 1026, 3740, 1025, 3550, 1674, 2584, 1967, 1192, 1529, 864, 266)
script = ExtResource("7_setpiece")
label = "Meadow"
points_resource = ExtResource("6_meadow")

[connection signal="looked" from="meadow" to="." method="_on_meadow_looked"]

[editable path="kq4_014_green_meadow"]
[editable path="kq4_021_bridge_over_stream"]
[editable path="kq4_019_coastal_cliffs"]
[editable path="kq4_026_river_meadow"]
