[gd_scene load_steps=8 format=2]

[ext_resource path="res://Rooms/Basement/basement.png" type="Texture" id=1]
[ext_resource path="res://Interact/Object.tscn" type="PackedScene" id=2]
[ext_resource path="res://Rooms/Basement/Basement.gd" type="Script" id=3]

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

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 4, 7 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 2, 10 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 3, 7 )

[node name="Basement" type="Node2D"]
script = ExtResource( 3 )

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false

[node name="Floor" parent="." instance=ExtResource( 2 )]
type = "move"

[node name="CollisionShape2D" parent="Floor" index="0"]
position = Vector2( 18, 27 )
shape = SubResource( 1 )

[node name="Door" parent="." instance=ExtResource( 2 )]
position = Vector2( 23, 23 )
type = "door"
next_scene = "res://Rooms/Outdoors/Outdoors.tscn"
destination = Vector2( 14, 23 )
player_facing = 1

[node name="CollisionShape2D" parent="Door" index="0"]
position = Vector2( -2, -9 )
shape = SubResource( 2 )

[node name="Entrance" parent="." instance=ExtResource( 2 )]
position = Vector2( 28, 26 )
type = "door"
next_scene = "res://Rooms/Basement2/Basement2.tscn"
destination = Vector2( 4, 25 )
player_facing = 0

[node name="CollisionShape2D" parent="Entrance" index="0"]
position = Vector2( 2, -4 )
shape = SubResource( 3 )

[node name="Crystals" parent="." instance=ExtResource( 2 )]
position = Vector2( 11, 24 )
player_animation = "GrabFloor"
player_facing = 1
sound = "crystal_grab"

[node name="CollisionShape2D" parent="Crystals" index="0"]
position = Vector2( -7, -3 )
shape = SubResource( 4 )
[connection signal="used" from="Crystals" to="." method="_on_Crystals_used"]

[editable path="Floor"]

[editable path="Door"]

[editable path="Entrance"]

[editable path="Crystals"]
