summaryrefslogtreecommitdiff
path: root/tests/test.stage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.stage')
-rw-r--r--tests/test.stage35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/test.stage b/tests/test.stage
new file mode 100644
index 0000000..cc765a4
--- /dev/null
+++ b/tests/test.stage
@@ -0,0 +1,35 @@
1
2game.title = "Code Test";
3game.author = "Mike Buland";
4game.version = 1;
5game.revision = 0;
6game.start = <<start>>;
7
8global
9{
10 command: "exit"
11 {
12 exit();
13 }
14}
15
16function getVal()
17{
18 global.stuff = {'hi': 5 };
19}
20
21situation <<start>>
22{
23 setup
24 {
25 if true then
26 {
27 getVal();
28 }
29 }
30
31 enter
32 {
33 }
34}
35