summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-09-04 22:26:09 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-09-04 22:26:09 +0200
commit050e329f2a2e2367c2e4f1965190b0f6a5addf29 (patch)
treeb6bf78443e11abda7c41375ee89831bbe0032edb /data/examples/blackjack/global.fate
parent235dc12bf63220371f2ef4defb1f563830e6719a (diff)
The blackjack example works again.parser_rework
Diffstat (limited to 'data/examples/blackjack/global.fate')
-rw-r--r--data/examples/blackjack/global.fate10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/examples/blackjack/global.fate b/data/examples/blackjack/global.fate
index d08706b..acf054e 100644
--- a/data/examples/blackjack/global.fate
+++ b/data/examples/blackjack/global.fate
@@ -15,8 +15,12 @@
)
)
+(global int marker_0)
+
(declare_text_effect action_description)
+(global int marker_1)
+
(define_sequence money_acquisition ((int amount))
(set! player.money (+ player.money amount))
(if (> amount 0)
@@ -26,6 +30,8 @@
)
)
+(global int marker_2)
+
(define_sequence money_loss ((int amount))
(set! player.money (- player.money amount))
(if (> amount 0)
@@ -35,4 +41,8 @@
)
)
+(global int marker_3)
+
(declare_input_event escape)
+
+(global int marker_4)