diff options
author | elioat <elioat@tilde.institute> | 2023-12-28 21:45:37 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2023-12-28 21:45:37 -0500 |
commit | b63f67c6596cb93da7db010b7fd390ff75f7e892 (patch) | |
tree | d1295b4fad260b7e1999ea262a06682a8399b492 /js/story-interpreter/world.dsl | |
parent | 42ec1a26d1e2c671d0f64aaf14a5025910d95c9c (diff) | |
download | tour-b63f67c6596cb93da7db010b7fd390ff75f7e892.tar.gz |
*
Diffstat (limited to 'js/story-interpreter/world.dsl')
-rw-r--r-- | js/story-interpreter/world.dsl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/js/story-interpreter/world.dsl b/js/story-interpreter/world.dsl new file mode 100644 index 0000000..3e75a7a --- /dev/null +++ b/js/story-interpreter/world.dsl @@ -0,0 +1,32 @@ +room "Kitchen" { + description "A small, cozy kitchen. There's a smell of cookies baking." + + item "Cookie Jar" { + description "A ceramic jar filled with delicious cookies." + action "take" { + effect "You take a cookie from the jar." + } + } + + animal "Cat" { + description "A small black cat is sitting on the counter." + action "talk" { + effect "The cat meows at you." + } + } + + connection "north" to "Living Room" +} + +room "Living Room" { + description "A large living room with a comfortable couch and a TV." + + item "Remote Control" { + description "A remote control for the TV." + action "use" { + effect "You turn on the TV. The news is on." + } + } + + connection "south" to "Kitchen" +} \ No newline at end of file |