summaryrefslogtreecommitdiff
path: root/demo.stage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--demo.stage23
1 files changed, 19 insertions, 4 deletions
diff --git a/demo.stage b/demo.stage
index 78e705c..58aee3e 100644
--- a/demo.stage
+++ b/demo.stage
@@ -32,7 +32,16 @@ game
32 32
33situation <<main>> 33situation <<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
38function hello() 47function hello()
@@ -41,11 +50,17 @@ function hello()
41 50
42situation <<start>> 51situation <<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
48situation <<end>> 60situation <<end>>
49{ 61{
50 goto( <<start>> ); 62 enter
63 {
64 goto( <<start>> );
65 }
51} 66}