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

[ext_resource type="Script" uid="uid://bo6vtorh56ik4" path="res://scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.gd" id="1_rgthv"]
[ext_resource type="Texture2D" uid="uid://b1yeiwh8uqii2" path="res://scenes/kq4_004_ogres_cottage/caption_1_454377357_generated.png" id="2_u8g8b"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_kvdqi"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_67nph"]
[ext_resource type="Resource" uid="uid://mf65ti3o6oii" path="res://scenes/kq4_004_ogres_cottage/door_polygon.tres" id="5_door"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_furs3"]
vertices = PackedVector2Array(325.656, 570.578, 582.328, 580.656, 525.289, 597.977, 454.133, 654.148, 445.539, 889.25, 919.219, 873.633, 1158.89, 691.359, 1294.26, 705.508, 1204.28, 907.469, -58.2969, 1146.06, -76.6797, 562, -6.6875, 562, 126.258, 883.891, 1990, 1160.92, 1662.15, 956.969, 1990, 977.391)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(0, 2, 3), PackedInt32Array(4, 0, 3), PackedInt32Array(4, 3, 5), PackedInt32Array(6, 7, 8, 5), PackedInt32Array(9, 10, 11, 12), PackedInt32Array(13, 9, 12, 4), PackedInt32Array(13, 4, 5, 8), PackedInt32Array(13, 8, 14), PackedInt32Array(13, 14, 15)])
outlines = Array[PackedVector2Array]([PackedVector2Array(0, 552, 133, 874, 431, 879, 311, 560, 642, 573, 530, 607, 473, 652, 918, 862, 1156, 681, 1309, 697, 1219, 899, 1663, 947, 2000, 968, 2000, 1171, -68, 1156, -87, 552)])

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

[node name="bg" type="Sprite2D" parent="." unique_id=1017225974]
scale = Vector2(0.783, 0.78)
texture = ExtResource("2_u8g8b")
centered = false

[node name="StartScalePoint" type="Node2D" parent="." unique_id=1734418576]
position = Vector2(498, 504)
script = ExtResource("3_kvdqi")
target_scale = 0.3

[node name="EndScalePoint" type="Node2D" parent="." unique_id=299903225]
position = Vector2(1408, 1097)
scale = Vector2(0.44, 0.44)
script = ExtResource("3_kvdqi")
target_scale = 0.45

[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=192507891]
position = Vector2(-1, 0)
navigation_polygon = SubResource("NavigationPolygon_furs3")

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

[node name="kq4_028_mine_entrance" parent="." unique_id=2082216196 instance=ExtResource("4_67nph")]
position = Vector2(910, -213)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_004_ogres_cottage"
target = "uid://qkcwifq2lb9m"
label = "Mine Entrance"

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

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

[node name="kq4_003_fountain_pool" parent="." unique_id=1822776084 instance=ExtResource("4_67nph")]
position = Vector2(5, 888)
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(-85, -86, -65, 128, 264, 167, 260, -78)
appear_at_node = "kq4_004_ogres_cottage"
target = "uid://151dbn9bybiwx"
label = "Fountain Pool"

[node name="entrance" parent="kq4_003_fountain_pool" index="0"]
position = Vector2(184, 70)

[node name="exit" parent="kq4_003_fountain_pool" index="1"]
position = Vector2(-61, 74)

[node name="kq4_010_forest_path" parent="." unique_id=1656343376 instance=ExtResource("4_67nph")]
position = Vector2(910, 542)
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_004_ogres_cottage"
target = "uid://bsog5s257pres"
label = "Forest Path"

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

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

[node name="kq4_005_forest_grove" parent="." unique_id=1757385603 instance=ExtResource("4_67nph")]
position = Vector2(1766, 74)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_004_ogres_cottage"
target = "uid://1c470jsfmdhxx"
label = "Forest Grove"

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

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

[node name="door" type="Polygon2D" parent="." unique_id=1328834537 groups=["set-piece"]]
scale = Vector2(0.783, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(1147, 779, 1153, 854, 1152, 1053, 1151, 1054, 1055, 1046, 1043, 920, 1050, 781, 1051, 780)
script = ExtResource("6_setpiece")
label = "Door"
points_resource = ExtResource("5_door")

[node name="cottage" type="Polygon2D" parent="." unique_id=1102644229 groups=["set-piece"]]
scale = Vector2(0.783, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(2080.46, 621.7949, 2218.3909, 992.30774, 1869.7319, 1057.6924, 1232.4395, 530.7692, 363, 1034, 627, 652, 988, 276, 1777, 11, 2105, 145)
script = ExtResource("6_setpiece")
label = "Cottage"

[node name="window" type="Polygon2D" parent="." unique_id=962641570 groups=["set-piece"]]
scale = Vector2(0.783, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(1611.7498, 828.20514, 1487, 971, 1359, 968, 1332.0563, 858.97437, 1326.9478, 703.8462)
script = ExtResource("6_setpiece")
label = "Window"

[connection signal="interacted" from="kq4_028_mine_entrance" to="." method="_on_mine_entrance_interacted"]
[connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_pool_interacted"]
[connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"]
[connection signal="interacted" from="kq4_005_forest_grove" to="." method="_on_forest_grove_interacted"]
[connection signal="looked" from="door" to="." method="_on_door_looked"]
[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]
[connection signal="looked" from="window" to="." method="_on_window_looked"]

[editable path="kq4_028_mine_entrance"]
[editable path="kq4_003_fountain_pool"]
[editable path="kq4_010_forest_path"]
[editable path="kq4_005_forest_grove"]
