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

[ext_resource type="Script" uid="uid://ch2n0h58cj0l1" path="res://scenes/archive/pit/pit.gd" id="1_rlm8t"]
[ext_resource type="Texture2D" uid="uid://diwganfwvfg8j" path="res://scenes/archive/pit/pit.png" id="2_ismrw"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="4_r2q0f"]
[ext_resource type="Texture2D" uid="uid://c2vwbdxi6hpa8" path="res://scenes/archive/healer_pasture/foreground.png" id="5_o3cq1"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="6_2u4ri"]

[sub_resource type="NavigationPolygon" id="NavigationPolygon_dvbx8"]
vertices = PackedVector2Array(739, 912, 970, 957, 969, 957, 1825, 1074, 2104, 1217, 1563, 1217, 774, 1198, 34, 948, -63, 719, 402, 747, 558, 762, 1537, 1565, 775, 1198, 1268, 1050, 1758, 893, 1959, 962, 2123, 919, 2125, 940)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5), PackedInt32Array(6, 7, 8, 9, 10, 0), PackedInt32Array(5, 11, 12, 2, 13), PackedInt32Array(6, 0, 2, 12), PackedInt32Array(3, 5, 13, 14, 15), PackedInt32Array(15, 14, 16, 17)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-79, 709, 27, 956, 771, 1207, 1546, 1581, 1572, 1227, 2146, 1227, 1843, 1072, 1963, 972, 2137, 949, 2132, 910, 1756, 883, 1268, 1040, 972, 947, 743, 903, 562, 753, 403, 737)])
parsed_collision_mask = 4294967294
source_geometry_group_name = &"navigation_polygon_source_group"

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

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

[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2(1476, 742)
script = ExtResource("4_r2q0f")
target_scale = 0.25

[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2(1408, 1097)
scale = Vector2(0.44, 0.44)
script = ExtResource("4_r2q0f")
target_scale = 0.35

[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("5_o3cq1")
offset = Vector2(-9.34324, -70.3448)

[node name="cave" parent="." instance=ExtResource("6_2u4ri")]
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(1866, 754, 1870, 1027, 2243, 1120, 2256, 738)
appear_at_node = "pit"
target = "res://scenes/cave_entrance/cave_entrance.tscn"
label = "Cave"

[node name="entrance" parent="cave" index="0"]
position = Vector2(1971, 963)

[node name="exit" parent="cave" index="1"]
position = Vector2(2217, 953)

[node name="healers" parent="." instance=ExtResource("6_2u4ri")]
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(-115, 709, -130, 1082, 384, 1016, 377, 684)
appear_at_node = "pit"
target = "res://scenes/healers/healers.tscn"
label = "Healers"

[node name="entrance" parent="healers" index="0"]
position = Vector2(224, 829)

[node name="exit" parent="healers" index="1"]
position = Vector2(-68, 930)

[node name="critter_area" parent="." instance=ExtResource("6_2u4ri")]
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(1112, 1155, 1046, 1235, 2002, 1299, 1986, 1101, 1240, 1071)
appear_at_node = "pit"
target = "res://scenes/critter_area/critter_area.tscn"
label = "South"

[node name="entrance" parent="critter_area" index="0"]
position = Vector2(1500, 1118)

[node name="exit" parent="critter_area" index="1"]
position = Vector2(1492, 1490)

[connection signal="interacted" from="cave" to="." method="_on_cave_interacted"]
[connection signal="interacted" from="healers" to="." method="_on_healers_interacted"]
[connection signal="interacted" from="critter_area" to="." method="_on_node_2d_interacted"]

[editable path="cave"]
[editable path="healers"]
[editable path="critter_area"]
