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

[ext_resource type="Script" uid="uid://dqasvwdwv3bnh" path="res://scenes/archive/cave_top/cave_top.gd" id="1_0j7fc"]
[ext_resource type="Texture2D" uid="uid://csvf7xfa45667" path="res://scenes/archive/cave_top/cave_top.png" id="2_uy4by"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_orwmn"]
[ext_resource type="Texture2D" uid="uid://c2vwbdxi6hpa8" path="res://scenes/archive/healer_pasture/foreground.png" id="4_54k2t"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="5_lcni5"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_dvbx8"]
vertices = PackedVector2Array(1551, 1153, 888, 1148, 889, 1148, 1436, 1090, 1265, 1050, 623, 1106, -67, 1010, -182, 942, -7, 937, 382, 988, 847, 930, 1012, 938, 264, 376, 179, 302, 303, 286, 387, 375, 545, 407, 546, 407, 850, 917, 852, 770, 633, 768, 936, 674, 1160, 679, 1101, 569, 1311, 550, 1098, 555, 777, 452, 901, 520, 732, 440, 731, 439, 701, 415, 661, 417, 622, 418)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 0, 2, 4), PackedInt32Array(5, 6, 7, 8, 9), PackedInt32Array(10, 11, 4, 2, 5, 9), PackedInt32Array(12, 13, 14, 15), PackedInt32Array(16, 12, 15, 17), PackedInt32Array(11, 10, 18), PackedInt32Array(19, 11, 18, 20), PackedInt32Array(19, 20, 21, 22), PackedInt32Array(22, 21, 23, 24), PackedInt32Array(24, 23, 25), PackedInt32Array(26, 24, 25, 27), PackedInt32Array(26, 27, 28, 29), PackedInt32Array(30, 26, 29, 31), PackedInt32Array(15, 30, 31, 32, 17)])
outlines = Array[PackedVector2Array]([PackedVector2Array(307, 276, 155, 295, 259, 386, 544, 417, 621, 429, 660, 427, 728, 449, 899, 530, 1090, 564, 932, 665, 610, 765, 839, 921, 382, 978, -7, 927, -217, 933, -72, 1020, 621, 1116, 887, 1158, 1592, 1164, 1441, 1081, 1268, 1040, 1018, 930, 871, 775, 1166, 689, 1335, 544, 780, 442, 704, 406, 392, 366)])
parsed_collision_mask = 4294967294
source_geometry_group_name = &"navigation_polygon_source_group"

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

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

[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2(722, 226)
script = ExtResource("3_orwmn")
target_scale = 0.15

[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2(1410, 1097)
scale = Vector2(0.44, 0.44)
script = ExtResource("3_orwmn")
target_scale = 0.25

[node name="pathfind" type="NavigationRegion2D" parent="."]
navigation_polygon = SubResource("NavigationPolygon_dvbx8")
metadata/_edit_lock_ = true

[node name="default-starting-point" type="Node2D" parent="."]
position = Vector2(788, 916)

[node name="Foreground" type="Sprite2D" parent="."]
visible = false
position = Vector2(1596, 1099)
scale = Vector2(1.45, 1.45)
texture = ExtResource("4_54k2t")
offset = Vector2(-9.34324, -70.3448)

[node name="deep_cave" parent="." instance=ExtResource("5_lcni5")]
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(-76, 724, -143, 1020, 290, 1123, 356, 743)
appear_at_node = "cave_top"
target = "res://scenes/deep_cave/deep_cave.tscn"
label = "Deeper"

[node name="entrance" parent="deep_cave" index="0"]
position = Vector2(248, 991)

[node name="exit" parent="deep_cave" index="1"]
position = Vector2(-77, 973)

[node name="cave_entrance" parent="." instance=ExtResource("5_lcni5")]
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(146, 284, 358, 278, 290, 117, 98, 137)
appear_at_node = "cave_top"
target = "res://scenes/cave_entrance/cave_entrance.tscn"
label = "Outside"

[node name="entrance" parent="cave_entrance" index="0"]
position = Vector2(302, 358)

[node name="exit" parent="cave_entrance" index="1"]
position = Vector2(214, 257)

[connection signal="interacted" from="deep_cave" to="." method="_on_deep_cave_interacted"]
[connection signal="interacted" from="cave_entrance" to="." method="_on_cave_entrance_interacted"]

[editable path="deep_cave"]
[editable path="cave_entrance"]
