blob: 33c9f22df10348d7ab1fef03b9c94c2cc8f3a2e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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:
|