From cfa0ff5e6a45ce2d17fe18a09268acb2c0eb6724 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 18 Dec 2011 00:45:12 -0700 Subject: The basic structure is complete. --- demo.stage | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'demo.stage') diff --git a/demo.stage b/demo.stage index 78e705c..58aee3e 100644 --- a/demo.stage +++ b/demo.stage @@ -32,7 +32,16 @@ game situation <
> { - player.inventory = []; + command: "there" hi + { + } + setup + { + player.inventory = []; + } + enter + { + } } function hello() @@ -41,11 +50,17 @@ function hello() situation <> { - display('''You are here, there is a wrench sitting on the table.'''); - global.command("use", + enter + { + display('''You are here, there is a wrench sitting on the table.'''); + test("use", bob ); + } } situation <> { - goto( <> ); + enter + { + goto( <> ); + } } -- cgit v1.2.3