From 1616f97c8badfcaf0af5f6b8a7c9ebfb5dc44e77 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sun, 1 Nov 2020 11:35:38 +0100 Subject: Adds external variables. --- data/examples/blackjack/global.fate | 2 ++ data/examples/blackjack/main.fate | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'data') 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. ) -- cgit v1.2.3-70-g09d2