[gd_scene load_steps=10 format=2]

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

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

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

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

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

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

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

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

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

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

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

[node name="Floor2" parent="." instance=ExtResource( 1 )]
type = "move"

[node name="CollisionShape2D" parent="Floor2" index="0"]
position = Vector2( 20, 27 )
shape = SubResource( 2 )

[node name="Box" parent="." instance=ExtResource( 1 )]
position = Vector2( 11, 22 )
player_animation = "GrabFloor"
player_facing = 0
sound = "item_grab"

[node name="CollisionShape2D" parent="Box" index="0"]
position = Vector2( 7, -3 )
shape = SubResource( 3 )

[node name="Stairs" parent="." instance=ExtResource( 1 )]
position = Vector2( 5, 21 )
type = "door"
next_scene = "res://Rooms/Staircase/Staircase.tscn"
destination = Vector2( 19, 24 )
player_facing = 0
sound = "creak"

[node name="CollisionShape2D" parent="Stairs" index="0"]
position = Vector2( 0, -8 )
shape = SubResource( 4 )

[node name="EntranceLeft" parent="." instance=ExtResource( 1 )]
position = Vector2( 3, 24 )
type = "door"
next_scene = "res://Rooms/LivingRoom3/LivingRoom3.tscn"
destination = Vector2( 28, 24 )
player_facing = 1

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

[node name="EntranceRight" parent="." instance=ExtResource( 1 )]
position = Vector2( 28, 27 )
type = "door"
next_scene = "res://Rooms/LivingRoom2/LivingRoom2.tscn"
destination = Vector2( 4, 27 )
player_facing = 0

[node name="CollisionShape2D" parent="EntranceRight" index="0"]
position = Vector2( 2, -4 )
shape = SubResource( 6 )
[connection signal="used" from="Box" to="." method="_on_Box_used"]

[editable path="Floor"]

[editable path="Floor2"]

[editable path="Box"]

[editable path="Stairs"]

[editable path="EntranceLeft"]

[editable path="EntranceRight"]
