From c7f7a60a7f1175696b8239355dc7737532c1f1ce Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Wed, 4 Apr 2018 21:54:03 +0100 Subject: Initial commit --- game.gamefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 game.gamefile (limited to 'game.gamefile') 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: -- cgit v1.2.3