-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestInput2
42 lines (32 loc) · 881 Bytes
/
testInput2
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
34
35
36
37
38
39
40
41
42
+room1:
Name: {[.lights off] A dim room [else] A bare room}
Description:
{
[.lights off]
The darkness stretches around you, and you cannot clearly make out your
surroundings. Everything is hazy and unclear, but you can barely make out the
outline of a light switch in the distance.
[else]
You are in a rather spartan room. To the north there is a doorway
}
Commands:
throw switch:
enable .lights
add path north -> room2
print .lightOnDesc
Variables:
.lights = off
.lightOnDesc = The room reveals itself
+room2:
Name: A palace bedroom
Description:
This is a palace bedroom. Nothing else to see here, except the door behind you
going back to the room. There's also a crowbar on the floor.
Items:
room2Crowbar:
names: a crowbar, the crowbar, crowbar
desc: a plain iron crowbar
can see
can take
Paths:
south -> room1