summaryrefslogtreecommitdiff
path: root/game.gamefile
diff options
context:
space:
mode:
authorNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-04-04 21:54:03 +0100
committerNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-04-04 21:54:03 +0100
commitc7f7a60a7f1175696b8239355dc7737532c1f1ce (patch)
treefe5759a74286560e0da63208fdb0424098fe810c /game.gamefile
Initial commitHEADmaster
Diffstat (limited to 'game.gamefile')
-rw-r--r--game.gamefile33
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: