[gd_scene load_steps=6 format=2]

[ext_resource path="res://Assets/World/SaveStation.png" type="Texture" id=1]
[ext_resource path="res://Scenes/Objects/SaveStation.gd" type="Script" id=2]
[ext_resource path="res://Assets/UI/WhiteSquare.png" type="Texture" id=3]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 8, 10 )

[sub_resource type="Animation" id=2]
resource_name = "Save"
length = 0.5
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("WhiteSpaceSprite:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = false
tracks/0/keys = {
"times": PoolRealArray( 0, 0.25, 0.5 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 1e-05, 1.25 ), Vector2( 1, 1.25 ), Vector2( 1e-05, 1.25 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("WhiteSpaceSprite:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, -25 ), Vector2( 0, -3 ) ]
}

[node name="SaveStation" type="StaticBody2D"]
script = ExtResource( 2 )

[node name="WhiteSpaceSprite" type="Sprite" parent="."]
position = Vector2( 0, -25 )
scale = Vector2( 1, 0.0625 )
texture = ExtResource( 3 )

[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -24 )
texture = ExtResource( 1 )

[node name="Collider" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -13, 0, -9, -4, 9, -4, 13, 0 )

[node name="SaveArea" type="Area2D" parent="."]
collision_layer = 0

[node name="Collider" type="CollisionShape2D" parent="SaveArea"]
position = Vector2( 0, -14 )
shape = SubResource( 1 )

[node name="Animation" type="AnimationPlayer" parent="."]
anims/Save = SubResource( 2 )

[connection signal="body_entered" from="SaveArea" to="." method="_on_SaveArea_body_entered"]
