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

[ext_resource type="Script" uid="uid://s050ktv31wgy" path="res://scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.gd" id="1_abc"]
[ext_resource type="Texture2D" uid="uid://djbrg233lxgyy" path="res://scenes/kq4_007_fishermans_shack/caption_3_840023845_generated.png" id="2_86g5m"]
[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://bbepaofrwlurc" path="res://scenes/kq4_007_fishermans_shack/fishermans_house_polygon.tres" id="5_house"]
[ext_resource type="Resource" uid="uid://4ari7a2nudri" path="res://scenes/kq4_007_fishermans_shack/door_polygon.tres" id="7_door"]
[ext_resource type="Resource" uid="uid://2qf4mwncdwxwe" path="res://scenes/kq4_007_fishermans_shack/window_polygon.tres" id="8_window"]
[ext_resource type="Resource" uid="uid://3bpn8dhixs0k8" path="res://scenes/kq4_007_fishermans_shack/pier_polygon.tres" id="9_pier"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_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_86g5m")
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_001_beach" 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_007_fishermans_shack"
target = "uid://1rwfkejhz94hp"
label = "Beach"

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

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

[node name="kq4_008_back_of_fishermans_shack" 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_007_fishermans_shack"
target = "uid://bncmzju9ibkv"
label = "Back of Fisherman's Shack"

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

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

[node name="kq4_013_beach" 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_007_fishermans_shack"
target = "uid://2bqawc9w4uu59"
label = "Beach"

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

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

[node name="kq4_042_fishermans_shack_inside" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_007_fishermans_shack"
target = "uid://2tduhvnjo0iko"
label = "Fisherman's Shack (Inside)"

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

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

[node name="fishermans_house" type="Polygon2D" parent="." unique_id=1687430893 groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(2269, 245, 2339, 677, 2243, 911, 1467.9487, 988.46155, 1102.5641, 748.71796, 1344.8718, 153.84616, 2052, 78)
script = ExtResource("6_setpiece")
label = "Fisherman's House"
points_resource = ExtResource("5_house")

[node name="door" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(2495, 84, 2481, 1342, 2468, 1391, 0, 1391, 0, 0, 1675, 0, 2479, 57)
script = ExtResource("6_setpiece")
label = "Door"
points_resource = ExtResource("7_door")

[node name="window" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(2495, 86, 2467, 1391, 36, 1391, 0, 1365, 0, 0, 1669, 0, 2463, 60)
script = ExtResource("6_setpiece")
label = "Window"
points_resource = ExtResource("8_window")

[node name="pier" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(1011, 1020, 921, 1117, 552, 1143, 164, 1146, 140, 1051, 161, 1012, 251, 955, 889, 951, 983, 979)
script = ExtResource("6_setpiece")
label = "Pier"
points_resource = ExtResource("9_pier")

[connection signal="interacted" from="kq4_001_beach" to="." method="_on_beach_interacted"]
[connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"]
[connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_2_interacted"]
[connection signal="interacted" from="kq4_042_fishermans_shack_inside" to="." method="_on_fishermans_shack_inside_interacted"]
[connection signal="looked" from="fishermans_house" to="." method="_on_fishermans_house_looked"]
[connection signal="interacted" from="door" to="." method="_on_door_interacted"]
[connection signal="looked" from="window" to="." method="_on_window_looked"]
[connection signal="looked" from="pier" to="." method="_on_pier_looked"]

[editable path="kq4_001_beach"]
[editable path="kq4_008_back_of_fishermans_shack"]
[editable path="kq4_013_beach"]
[editable path="kq4_042_fishermans_shack_inside"]
