summaryrefslogtreecommitdiff
path: root/scenes/room/kitchen.tscn
diff options
context:
space:
mode:
authorRadio <radiohotline@disroot.org>2026-06-01 22:28:46 +0300
committerRadio <radiohotline@disroot.org>2026-06-01 22:28:46 +0300
commit2c85d452ad02a5f89cd43bad7f9de31d0e4fa0c1 (patch)
tree758998f717dab8c0ed9d1b47419e7590c28e8fa2 /scenes/room/kitchen.tscn
parent7f437327b25be23b1cdcd4aa3898d428421e533f (diff)
area transitions, basic inventory and use events
Diffstat (limited to 'scenes/room/kitchen.tscn')
-rw-r--r--scenes/room/kitchen.tscn17
1 files changed, 10 insertions, 7 deletions
diff --git a/scenes/room/kitchen.tscn b/scenes/room/kitchen.tscn
index 5284629..74fabf4 100644
--- a/scenes/room/kitchen.tscn
+++ b/scenes/room/kitchen.tscn
@@ -2,15 +2,13 @@
[ext_resource type="PackedScene" uid="uid://b1s6v121kb2mi" path="res://scenes/room/room.tscn" id="1_4qnmt"]
[ext_resource type="Texture2D" uid="uid://domalafsxaubx" path="res://room/kitchen/kitchen.png" id="2_6oufn"]
+[ext_resource type="PackedScene" uid="uid://ldwt8qv482qa" path="res://scenes/item/door.tscn" id="3_u4rop"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_6oufn"]
vertices = PackedVector2Array(856.2578, 1032.0703, 817.2578, 913.3281, 916.02344, 900.28906, 1515.4922, 1038.9609, 1701.0469, 888.5078, 1123.5625, 563.03906, 1748.4766, 567.9219, 1755.3672, 703.6172, 1910, 916.5625, 1910, 748.5)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 3, 2, 5, 6, 7), PackedInt32Array(8, 4, 7, 9)])
outlines = Array[PackedVector2Array]([PackedVector2Array(1704, 899, 1519, 1049, 849, 1042, 804, 905, 910, 891, 1118, 553, 1758, 558, 1765, 696, 1920, 741, 1920, 928)])
-[sub_resource type="RectangleShape2D" id="RectangleShape2D_6oufn"]
-size = Vector2(170, 232)
-
[node name="Kitchen" unique_id=2088608692 instance=ExtResource("1_4qnmt")]
[node name="Room" parent="." index="0" unique_id=1997957082]
@@ -22,8 +20,13 @@ position = Vector2(1671, 837)
[node name="NavigationRegion2D" parent="." index="2" unique_id=1498960834]
navigation_polygon = SubResource("NavigationPolygon_6oufn")
-[node name="Bedroom" type="Area2D" parent="." index="3" unique_id=904050755]
+[node name="Spawnpoint" parent="." index="3" unique_id=1413507405]
+position = Vector2(1671, 822)
+
+[node name="Door" parent="." index="4" unique_id=359892745 instance=ExtResource("3_u4rop")]
+target_scene = "uid://cec247tmm7ait"
+
+[node name="CollisionPolygon2D" parent="Door" index="1" unique_id=348112285]
+polygon = PackedVector2Array(1803, 702, 1799, 927, 1920, 928, 1920, 705)
-[node name="CollisionShape2D" type="CollisionShape2D" parent="Bedroom" index="0" unique_id=1414369935]
-position = Vector2(1845, 819)
-shape = SubResource("RectangleShape2D_6oufn")
+[editable path="Door"]