aboutsummaryrefslogtreecommitdiff
path: root/data/rooms/10.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-10 01:48:28 -0400
committerhistoria <[not public]>2026-06-10 01:48:28 -0400
commita226d72e51eecb768b13600303f73483118d9104 (patch)
tree458d15ef049732c15dacc591a830d3beddbedfde /data/rooms/10.yaml
parent6a0f3d7a252de4b1741cfe5e1c561412c602becc (diff)
downloadthehouseoficarus-a226d72e51eecb768b13600303f73483118d9104.tar.gz
feat: implemented janky object interaction model
Diffstat (limited to 'data/rooms/10.yaml')
-rw-r--r--data/rooms/10.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/rooms/10.yaml b/data/rooms/10.yaml
new file mode 100644
index 0000000..99e84eb
--- /dev/null
+++ b/data/rooms/10.yaml
@@ -0,0 +1,20 @@
+id: 10
+name: "Guard Post"
+description: "A checkpoint at the edge of the mine. A guard stands watch beside a heavy iron gate leading north."
+exits:
+ west: 2
+ north:
+ room: 11
+ condition:
+ flag: gate_open
+ value: true
+ blocked_message: "A heavy iron gate blocks the way north. Maybe the guard can help."
+objects:
+ - id: iron_gate
+mobs:
+ - "guard"
+on_enter:
+ - message: "The Guard barks: \"State your business!\""
+ condition:
+ flag: talked_to_guard
+ not: true