diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-12-18 00:45:12 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-18 00:45:12 -0700 |
| commit | cfa0ff5e6a45ce2d17fe18a09268acb2c0eb6724 (patch) | |
| tree | 6f60b73f14a4b1270da784997dc882fabe8151ab /demo.stage | |
| parent | 2abb355a18934d72006e2958cf79fae1b18868ca (diff) | |
| download | stage-cfa0ff5e6a45ce2d17fe18a09268acb2c0eb6724.tar.gz stage-cfa0ff5e6a45ce2d17fe18a09268acb2c0eb6724.tar.bz2 stage-cfa0ff5e6a45ce2d17fe18a09268acb2c0eb6724.tar.xz stage-cfa0ff5e6a45ce2d17fe18a09268acb2c0eb6724.zip | |
The basic structure is complete.
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 | } |
