From a226d72e51eecb768b13600303f73483118d9104 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 10 Jun 2026 01:48:28 -0400 Subject: feat: implemented janky object interaction model --- data/rooms/10.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/rooms/10.yaml (limited to 'data/rooms/10.yaml') 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 -- cgit v1.2.3