summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-11-01 11:35:38 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-11-01 11:35:38 +0100
commit1616f97c8badfcaf0af5f6b8a7c9ebfb5dc44e77 (patch)
tree94aaca069c97603079114e06d4fdc9c82086df69 /data
parentcab99a7f9be5a5a08cf66f1226a384a180098c69 (diff)
Adds external variables.
Diffstat (limited to 'data')
-rw-r--r--data/examples/blackjack/global.fate2
-rw-r--r--data/examples/blackjack/main.fate10
2 files changed, 8 insertions, 4 deletions
diff --git a/data/examples/blackjack/global.fate b/data/examples/blackjack/global.fate
index 16574e6..c49642d 100644
--- a/data/examples/blackjack/global.fate
+++ b/data/examples/blackjack/global.fate
@@ -34,3 +34,5 @@
)
)
)
+
+(declare_input_event escape)
diff --git a/data/examples/blackjack/main.fate b/data/examples/blackjack/main.fate
index 342a663..67b70b1 100644
--- a/data/examples/blackjack/main.fate
+++ b/data/examples/blackjack/main.fate
@@ -24,16 +24,18 @@ Just between you and me, someone left those laying around, they aren't mine.
Now, you're all set to go... unless you don't know how to play?
(player_choice
- (option
- ( As it happens, I do not. )
+ (option ( As it happens, I do not. )
(visit rules_of_blackjack)
(text_effect action_description
You leave the counter and approach one of the tables.
)
(visit play_a_game)
)
- (option
- ( I am familiar with BlackJack. )
+ (event (escape)
+ You suddenly disappear.
+ (end)
+ )
+ (option ( I am familiar with BlackJack. )
(text_effect action_description
You leave the counter and approach one of the tables.
)