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

[ext_resource type="Script" uid="uid://dggmtxqdq8216" path="res://scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.gd" id="1_abc"]
[ext_resource type="Texture2D" uid="uid://xoexo8qjh1n0" path="res://scenes/kq4_028_mine_entrance/caption_1_751152612_generated.png" id="2_qqkdp"]
[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://i6pvbq66x7my" path="res://scenes/kq4_028_mine_entrance/mine_polygon_0.tres" id="5_mine"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
vertices = PackedVector2Array(374.47656, 1145.0078, -140.75781, 1180.2031, -76.11719, 588.6797, -53.679688, 490.4922, 1222.4688, 227.3125, 1994.2422, 468.4297, 2012.7031, 1020.2031, 1268.1875, 1113.0234)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-62, 482, 1223, 217, 2004, 461, 2023, 1029, 1269, 1123, 375, 1155, -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_qqkdp")
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_022_gnomes_cottage" 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_028_mine_entrance"
target = "uid://3oq4x3exoimdb"
label = "Gnome's Cottage"

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

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

[node name="kq4_029_dense_forest" 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_028_mine_entrance"
target = "uid://1sfzaldfq5kn1"
label = "Dense Forest"

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

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

[node name="kq4_004_ogres_cottage" 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_028_mine_entrance"
target = "uid://1nxmm3b1kcdm1"
label = "Ogre's Cottage"

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

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

[node name="kq4_027_forest_path" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_028_mine_entrance"
target = "uid://1fpyosj18xls7"
label = "Forest Path"

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

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

[connection signal="interacted" from="kq4_022_gnomes_cottage" to="." method="_on_gnomes_cottage_interacted"]
[connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"]
[connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"]
[connection signal="interacted" from="kq4_027_forest_path" to="." method="_on_forest_path_interacted"]

[node name="mine" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(1941, 474, 2079, 560, 2090, 678, 2030, 882, 1943, 883, 1951, 859, 1747, 809, 1723, 555, 1798, 487)
script = ExtResource("6_setpiece")
label = "Mine Entrance"
points_resource = ExtResource("5_mine")

[connection signal="looked" from="mine" to="." method="_on_mine_looked"]

[editable path="kq4_022_gnomes_cottage"]
[editable path="kq4_029_dense_forest"]
[editable path="kq4_004_ogres_cottage"]
[editable path="kq4_027_forest_path"]
