131 lines
5.4 KiB
Plaintext
131 lines
5.4 KiB
Plaintext
[gd_scene format=3 uid="uid://ccbwrgaojccam"]
|
|
|
|
[ext_resource type="Script" uid="uid://cyebbcwew3oq5" path="res://scenes/kitchen/scripts/kitchen.gd" id="1_hwcho"]
|
|
[ext_resource type="Script" uid="uid://77kbxobqvmqp" path="res://scenes/kitchen/scripts/west_exit_trigger.gd" id="1_yi3jr"]
|
|
[ext_resource type="Script" uid="uid://cvx3b5jt4dluc" path="res://scenes/kitchen/scripts/sink.gd" id="4_8xxd6"]
|
|
[ext_resource type="LabelSettings" uid="uid://dkpp84p885g8h" path="res://shared/resources/standard_label_settings.tres" id="4_hwcho"]
|
|
[ext_resource type="Script" uid="uid://b7u48u6urn7pt" path="res://scenes/kitchen/scripts/east_exit_trigger.gd" id="5_hwcho"]
|
|
[ext_resource type="PackedScene" uid="uid://cuc5q5cao3vjx" path="res://player/player.tscn" id="5_lmija"]
|
|
[ext_resource type="Texture2D" uid="uid://dyjimwqh6nf3b" path="res://scenes/kitchen/images/kitchen.png" id="5_yi3jr"]
|
|
[ext_resource type="AudioStream" uid="uid://cmb2foaqsx4av" path="res://scenes/kitchen/audio/effects/Sink.wav" id="6_a4owj"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_5t4nn"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4nnu7"]
|
|
size = Vector2(2002, 28.5)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5t4nn"]
|
|
size = Vector2(40.5, 310.5)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d67dk"]
|
|
size = Vector2(17.5, 309)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y2vya"]
|
|
size = Vector2(98, 285.5)
|
|
|
|
[node name="Node2D" type="Node2D" unique_id=396398678]
|
|
y_sort_enabled = true
|
|
script = ExtResource("1_hwcho")
|
|
|
|
[node name="Movement Collision" type="StaticBody2D" parent="." unique_id=352975622]
|
|
position = Vector2(130, 164)
|
|
physics_material_override = SubResource("PhysicsMaterial_5t4nn")
|
|
|
|
[node name="Everything else" type="CollisionPolygon2D" parent="Movement Collision" unique_id=1786835918]
|
|
position = Vector2(-2, 3)
|
|
polygon = PackedVector2Array(-139, 616, 37, 670, 291, 593, 488, 508, 1351, 615, 1353, 928, 1822, 926, 1806, 51, 456, 21, -169, 30)
|
|
|
|
[node name="Island" type="CollisionPolygon2D" parent="Movement Collision" unique_id=506849821]
|
|
polygon = PackedVector2Array(359, 784, 717, 864, 782, 807, 912, 824, 1027, 720, 491, 674, 358, 720)
|
|
|
|
[node name="Bottom" type="CollisionShape2D" parent="Movement Collision" unique_id=1295111135]
|
|
position = Vector2(841, 992)
|
|
shape = SubResource("RectangleShape2D_4nnu7")
|
|
|
|
[node name="Table" type="CollisionPolygon2D" parent="Movement Collision" unique_id=1468659186]
|
|
polygon = PackedVector2Array(-139, 834, 231, 922, 231, 984, -142, 988)
|
|
|
|
[node name="West Exit Trigger" type="Area2D" parent="." unique_id=1623086752]
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
script = ExtResource("1_yi3jr")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="West Exit Trigger" unique_id=926854248]
|
|
position = Vector2(-1, 940)
|
|
shape = SubResource("RectangleShape2D_5t4nn")
|
|
|
|
[node name="East Exit Trigger" type="Area2D" parent="." unique_id=1533846235]
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
script = ExtResource("5_hwcho")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="East Exit Trigger" unique_id=1119900302]
|
|
position = Vector2(1904, 1050)
|
|
shape = SubResource("RectangleShape2D_d67dk")
|
|
|
|
[node name="Sink" type="Area2D" parent="." unique_id=404554411]
|
|
position = Vector2(1461, 569)
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
script = ExtResource("4_8xxd6")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sink" unique_id=115520028]
|
|
position = Vector2(31, 165)
|
|
shape = SubResource("RectangleShape2D_y2vya")
|
|
|
|
[node name="Label" type="Label" parent="Sink" unique_id=419035073]
|
|
visible = false
|
|
offset_left = 36.0
|
|
offset_top = -25.0
|
|
offset_right = 76.0
|
|
offset_bottom = -2.0
|
|
text = "Drink"
|
|
label_settings = ExtResource("4_hwcho")
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Sink" unique_id=1873898426]
|
|
stream = ExtResource("6_a4owj")
|
|
|
|
[node name="Kitchen" type="Sprite2D" parent="." unique_id=1426636203]
|
|
texture = ExtResource("5_yi3jr")
|
|
centered = false
|
|
region_enabled = true
|
|
region_rect = Rect2(0, 0, 1920, 1080)
|
|
|
|
[node name="Island" type="Sprite2D" parent="." unique_id=1469135755]
|
|
y_sort_enabled = true
|
|
position = Vector2(418, 987)
|
|
texture = ExtResource("5_yi3jr")
|
|
centered = false
|
|
offset = Vector2(0, -412)
|
|
region_enabled = true
|
|
region_rect = Rect2(7, 1094, 728, 412)
|
|
|
|
[node name="Chair" type="Sprite2D" parent="." unique_id=869791031]
|
|
y_sort_enabled = true
|
|
position = Vector2(1, 1079)
|
|
texture = ExtResource("5_yi3jr")
|
|
centered = false
|
|
offset = Vector2(0, -322)
|
|
region_enabled = true
|
|
region_rect = Rect2(860, 1109, 408, 322)
|
|
|
|
[node name="Player" parent="." unique_id=1952104269 instance=ExtResource("5_lmija")]
|
|
unique_name_in_owner = true
|
|
y_sort_enabled = true
|
|
position = Vector2(107.00003, 941.00006)
|
|
scale = Vector2(3, 3)
|
|
|
|
[node name="West Entrance" type="Marker2D" parent="." unique_id=1551250499]
|
|
position = Vector2(107, 943)
|
|
|
|
[node name="East Entrance" type="Marker2D" parent="." unique_id=2066137134]
|
|
position = Vector2(1693, 1122)
|
|
|
|
[node name="South Entrance" type="Marker2D" parent="." unique_id=1120897992]
|
|
position = Vector2(1109, 1032)
|
|
|
|
[connection signal="body_entered" from="West Exit Trigger" to="West Exit Trigger" method="_on_body_entered"]
|
|
[connection signal="body_entered" from="East Exit Trigger" to="East Exit Trigger" method="_on_body_entered"]
|
|
[connection signal="body_entered" from="Sink" to="Sink" method="_on_body_entered"]
|
|
[connection signal="body_exited" from="Sink" to="Sink" method="_on_body_exited"]
|