diff options
Diffstat (limited to 'demo.stage')
-rw-r--r-- | demo.stage | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -32,7 +32,16 @@ game | |||
32 | 32 | ||
33 | situation <<main>> | 33 | situation <<main>> |
34 | { | 34 | { |
35 | player.inventory = []; | 35 | command: "there" hi |
36 | { | ||
37 | } | ||
38 | setup | ||
39 | { | ||
40 | player.inventory = []; | ||
41 | } | ||
42 | enter | ||
43 | { | ||
44 | } | ||
36 | } | 45 | } |
37 | 46 | ||
38 | function hello() | 47 | function hello() |
@@ -41,11 +50,17 @@ function hello() | |||
41 | 50 | ||
42 | situation <<start>> | 51 | situation <<start>> |
43 | { | 52 | { |
44 | display('''You are here, there is a wrench sitting on the table.'''); | 53 | enter |
45 | global.command("use", | 54 | { |
55 | display('''You are here, there is a wrench sitting on the table.'''); | ||
56 | test("use", bob ); | ||
57 | } | ||
46 | } | 58 | } |
47 | 59 | ||
48 | situation <<end>> | 60 | situation <<end>> |
49 | { | 61 | { |
50 | goto( <<start>> ); | 62 | enter |
63 | { | ||
64 | goto( <<start>> ); | ||
65 | } | ||
51 | } | 66 | } |