diff options
Diffstat (limited to 'game.gamefile')
-rw-r--r-- | game.gamefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/game.gamefile b/game.gamefile new file mode 100644 index 0000000..33c9f22 --- /dev/null +++ b/game.gamefile @@ -0,0 +1,33 @@ +thing("apple") { + property "edible" + energy 2 +} + +thing("lamp") { + property "lightable" + energy 20 +} + +thing("butter") { + property "lightable", "edible" + energy 3 +} + +room("start") { + description "The starting room" + inventory "apple", "lamp" + north "another" + south "another" + east "start" + west "start" +} + +room("another") { + description "Just another room" + property "dark" + inventory "apple", "apple" + east "start" + west "start" +} + +# vim: set ft=ruby: |