summaryrefslogtreecommitdiff
path: root/scenes/room/room.gd
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/room.gd
parent7f437327b25be23b1cdcd4aa3898d428421e533f (diff)
area transitions, basic inventory and use events
Diffstat (limited to 'scenes/room/room.gd')
-rw-r--r--scenes/room/room.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/scenes/room/room.gd b/scenes/room/room.gd
new file mode 100644
index 0000000..fe8cf70
--- /dev/null
+++ b/scenes/room/room.gd
@@ -0,0 +1,7 @@
+extends Node2D
+
+@export var entrances: Array[Marker2D] = []
+
+func _ready() -> void:
+ if $Weener.spawnpoint != -1:
+ $Weener.position = entrances[$Weener.spawnpoint].global_position