[gd_scene load_steps=8 format=2]

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

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

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

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

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

[node name="BedRoom3" type="Node2D"]
script = ExtResource( 1 )

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

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

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

[node name="Entrance" parent="." instance=ExtResource( 3 )]
position = Vector2( 29, 21 )
type = "door"
next_scene = "res://Rooms/BedRoom2/BedRoom2.tscn"
destination = Vector2( 20, 23 )
player_facing = 0

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

[node name="Chest" parent="." instance=ExtResource( 3 )]
position = Vector2( 23, 20 )
next_scene = "res://Rooms/BedRoom3/Chest.tscn"

[node name="CollisionShape2D" parent="Chest" index="0"]
position = Vector2( -1, -6 )
shape = SubResource( 3 )

[node name="Gramophone" parent="." instance=ExtResource( 3 )]
position = Vector2( 11, 25 )
next_scene = "res://Rooms/BedRoom3/Gramophone.tscn"
player_facing = 1

[node name="CollisionShape2D" parent="Gramophone" index="0"]
position = Vector2( -7, -8 )
shape = SubResource( 4 )
[connection signal="used" from="Entrance" to="." method="_on_Entrance_used"]
[connection signal="item_used" from="Chest" to="." method="_on_Chest_item_used"]
[connection signal="item_used" from="Gramophone" to="." method="_on_Gramophone_item_used"]

[editable path="Floor"]

[editable path="Entrance"]

[editable path="Chest"]

[editable path="Gramophone"]
