[gd_scene load_steps=22 format=3 uid="uid://5tfe84u3gyty"]

[ext_resource type="Texture2D" uid="uid://bnmlngwnibfnj" path="res://extracted/ref_map2.jpg" id="1_cdv75"]
[ext_resource type="Texture2D" uid="uid://cypb81fuw4w44" path="res://textures/atlas/GroundExtensions_All_01_SPRT.png" id="3_54rqc"]
[ext_resource type="Texture2D" uid="uid://6hc7x8qe6r1c" path="res://maps/map2.tres" id="3_gbt28"]
[ext_resource type="Texture2D" uid="uid://cxharyv0ajr37" path="res://textures/atlas/DioramaEntrance_All_01_SPRT.png" id="4_lgnnp"]
[ext_resource type="PackedScene" uid="uid://do65rgg0p2plt" path="res://core/Door.tscn" id="4_yvr3q"]
[ext_resource type="Texture2D" uid="uid://dggavne4ueche" path="res://textures/sprites/Tree_Field_01_SPRT.png" id="5_lwnej"]
[ext_resource type="Texture2D" uid="uid://chuv25pm2vqen" path="res://textures/atlas/Rocks_All_01_SPRT.png" id="7_pykf8"]
[ext_resource type="Texture2D" uid="uid://b366mcexlko72" path="res://textures/atlas/LogsAndWood_All_01_SPRT.png" id="8_ugxkt"]
[ext_resource type="Script" path="res://core/stickernode.gd" id="9_ap7ts"]

[sub_resource type="AtlasTexture" id="AtlasTexture_rckkj"]
atlas = ExtResource("3_54rqc")
region = Rect2(0, 624, 540, 656)
filter_clip = true

[sub_resource type="AtlasTexture" id="AtlasTexture_7lxfk"]
atlas = ExtResource("4_lgnnp")
region = Rect2(360, 288, 108, 272)

[sub_resource type="AtlasTexture" id="AtlasTexture_a0jcl"]
atlas = ExtResource("4_lgnnp")
region = Rect2(0, 16, 228, 80)

[sub_resource type="AtlasTexture" id="AtlasTexture_ti2p7"]
atlas = ExtResource("7_pykf8")
region = Rect2(288, 256, 192, 160)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_4rns6"]
size = Vector2(133.06, 62.73)

[sub_resource type="AtlasTexture" id="AtlasTexture_4pwyl"]
atlas = ExtResource("8_ugxkt")
region = Rect2(1600, 944, 104, 176)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_enbs7"]
size = Vector2(65.54, 94.235)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_djose"]
size = Vector2(154.335, 84.705)

[sub_resource type="AtlasTexture" id="AtlasTexture_ddtk8"]
atlas = ExtResource("7_pykf8")
region = Rect2(1440, 1376, 256, 256)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_o3kxg"]
size = Vector2(201.89, 146.45)

[sub_resource type="AtlasTexture" id="AtlasTexture_ko6cw"]
atlas = ExtResource("7_pykf8")
region = Rect2(544, 1728, 416, 288)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ontns"]
size = Vector2(325.915, 124.47)

[node name="Map2" type="Node2D"]
z_as_relative = false
y_sort_enabled = true

[node name="Floor" type="Sprite2D" parent="."]
z_index = -10
scale = Vector2(5.44506, 5.44506)
texture = ExtResource("3_gbt28")
metadata/_edit_lock_ = true

[node name="StaticBody2D" type="StaticBody2D" parent="Floor"]

[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="Floor/StaticBody2D"]
position = Vector2(5.32593, -60.2381)
build_mode = 1
polygon = PackedVector2Array(-448, -432.5, -29.5759, -431.73, -29.5681, -475.661, 128.557, -481.354, 134.066, -431.429, 458, -430.833, 451.235, 453.255, -443.154, 454.357, -444.694, 85.548, -509.269, 86.1331, -512.758, -74.563, -445.734, -77.3378)

[node name="Dock" type="Sprite2D" parent="Floor"]
position = Vector2(-80.2562, 4.59132)
texture = SubResource("AtlasTexture_rckkj")

[node name="StaticBody2D" type="StaticBody2D" parent="Floor/Dock"]

[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="Floor/Dock/StaticBody2D"]
polygon = PackedVector2Array(-27.3642, 105.6, -27.9152, 135.719, 220.751, 132.965, 225.158, 140.494, 224.791, 257.481, 219.465, 271.071, -183.653, 270.52, -186.926, 119.417, -187.142, 109.457, -181.082, 109.824, -178.143, 264.46, 217.628, 264.46, 218.179, 139.943, -31.221, 141.78, -31.7719, 105.049)

[node name="Door1" type="Sprite2D" parent="Floor"]
position = Vector2(-472.171, -51.0555)
scale = Vector2(0.74059, 0.74059)
texture = SubResource("AtlasTexture_7lxfk")
flip_h = true

[node name="Door" parent="Floor" instance=ExtResource("4_yvr3q")]
position = Vector2(67.4006, -511.656)
scale = Vector2(0.869617, 0.869617)
texture = SubResource("AtlasTexture_a0jcl")
NextScene = "res://maps/map1.tscn"
Travel = 2
Spawn_Position = Vector2(0, 2317)

[node name="RefMap2" type="Sprite2D" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.741176)
z_index = -5
position = Vector2(-123, -696)
scale = Vector2(6.39228, 6.39228)
texture = ExtResource("1_cdv75")

[node name="Tree1" type="Sprite2D" parent="."]
position = Vector2(-2084.56, -1642.1)
scale = Vector2(3.80334, 3.95089)
texture = ExtResource("5_lwnej")
centered = false
offset = Vector2(-251.145, -512)
metadata/tags = ["sticker"]

[node name="Tree2" type="Sprite2D" parent="."]
position = Vector2(-1569.56, -1870.1)
scale = Vector2(3.2, 3.324)
texture = ExtResource("5_lwnej")
centered = false
offset = Vector2(-251.145, -512)
metadata/tags = ["sticker"]

[node name="Tree3" type="Sprite2D" parent="."]
position = Vector2(2156, -1876)
scale = Vector2(3, 3.117)
texture = ExtResource("5_lwnej")
centered = false
offset = Vector2(-251.145, -512)
metadata/tags = ["sticker"]

[node name="Rock1" type="Sprite2D" parent="."]
position = Vector2(2160, -900.32)
scale = Vector2(5, 5.195)
texture = SubResource("AtlasTexture_ti2p7")
centered = false
offset = Vector2(-78.385, -130.2)
metadata/tags = ["rock"]

[node name="StaticBody2D" type="StaticBody2D" parent="Rock1"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Rock1/StaticBody2D"]
position = Vector2(7.915, -31.39)
shape = SubResource("RectangleShape2D_4rns6")
debug_color = Color(0.996033, 0, 0.194446, 0.42)

[node name="Box1" type="Sprite2D" parent="."]
position = Vector2(1195, -898.32)
scale = Vector2(5, 4.51)
texture = SubResource("AtlasTexture_4pwyl")
centered = false
offset = Vector2(-52.525, -167.375)
metadata/tags = ["sticker"]

[node name="StaticBody2D" type="StaticBody2D" parent="Box1"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Box1/StaticBody2D"]
position = Vector2(0, -49.595)
shape = SubResource("RectangleShape2D_enbs7")
debug_color = Color(0.996033, 0, 0.194446, 0.42)

[node name="Sticker" type="Area2D" parent="Box1" node_paths=PackedStringArray("WorldSprite")]
collision_layer = 2
collision_mask = 15
script = ExtResource("9_ap7ts")
WorldSprite = NodePath("..")
metadata/tags = PackedStringArray("sticker")

[node name="StickerShape2D" type="CollisionShape2D" parent="Box1/Sticker"]
position = Vector2(0, -76.12)
rotation = 1.5708
shape = SubResource("RectangleShape2D_djose")

[node name="Box2" type="Sprite2D" parent="."]
position = Vector2(1437, -1275.32)
scale = Vector2(5, 4.51)
texture = SubResource("AtlasTexture_4pwyl")
centered = false
offset = Vector2(-54.04, -167.375)
metadata/tags = ["sticker"]

[node name="StaticBody2D" type="StaticBody2D" parent="Box2"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Box2/StaticBody2D"]
position = Vector2(0, -49.595)
shape = SubResource("RectangleShape2D_enbs7")
debug_color = Color(0.996033, 0, 0.194446, 0.42)

[node name="Sticker" type="Area2D" parent="Box2" node_paths=PackedStringArray("WorldSprite")]
collision_layer = 2
collision_mask = 15
script = ExtResource("9_ap7ts")
WorldSprite = NodePath("..")
metadata/tags = PackedStringArray("sticker")

[node name="StickerShape2D" type="CollisionShape2D" parent="Box2/Sticker"]
position = Vector2(0, -76.12)
rotation = 1.5708
shape = SubResource("RectangleShape2D_djose")

[node name="Rock2" type="Sprite2D" parent="."]
position = Vector2(1776, -705.32)
scale = Vector2(5, 5.195)
texture = SubResource("AtlasTexture_ddtk8")
centered = false
offset = Vector2(-126.11, -220.56)
metadata/tags = ["rock"]

[node name="StaticBody2D" type="StaticBody2D" parent="Rock2"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Rock2/StaticBody2D"]
position = Vector2(0, -66.02)
shape = SubResource("RectangleShape2D_o3kxg")
debug_color = Color(0.996033, 0, 0.194446, 0.42)

[node name="Rock3" type="Sprite2D" parent="."]
position = Vector2(-993, -2293)
scale = Vector2(4.97891, 4.95232)
texture = SubResource("AtlasTexture_ko6cw")
centered = false
offset = Vector2(-208.35, -260.555)
metadata/tags = ["rock"]

[node name="StaticBody2D" type="StaticBody2D" parent="Rock3"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Rock3/StaticBody2D"]
position = Vector2(0, -65.23)
shape = SubResource("RectangleShape2D_ontns")
debug_color = Color(0.996033, 0, 0.194446, 0.42)

[connection signal="property_list_changed" from="Tree1" to="Tree1" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Tree2" to="Tree2" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Tree3" to="Tree3" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Rock1" to="Rock1" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Box1" to="Box1" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Box2" to="Box2" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Rock2" to="Rock2" method="_on_property_list_changed"]
[connection signal="property_list_changed" from="Rock3" to="Rock3" method="_on_property_list_changed"]
