| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'data/examples/blackjack/global.fate')
| -rw-r--r-- | data/examples/blackjack/global.fate | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/data/examples/blackjack/global.fate b/data/examples/blackjack/global.fate index 9c10c9f..16574e6 100644 --- a/data/examples/blackjack/global.fate +++ b/data/examples/blackjack/global.fate @@ -9,8 +9,8 @@  (set coins_word     (lambda ((int i))        (if_else (= (var i) 1) -         (text a single coin ) -         (text (var i) coins ) +         (text a single coin) +         (text (var i) coins)        )     )  ) @@ -18,8 +18,8 @@  (declare_text_effect action_description)  (define_sequence money_acquisition ((int amount)) -   (set player.money (+ (var player.money) (var amount))) -   (if (> (var amount) 0) +   (set player.money (+ player.money  amount)) +   (if (> amount 0)        (text_effect action_description           You acquired (eval coins_word (var amount))!        ) @@ -27,8 +27,8 @@  )  (define_sequence money_loss ((int amount)) -   (set player.money (- (var player.money) (var amount))) -   (if (> (var amount) 0) +   (set player.money (- player.money amount)) +   (if (> amount 0)        (text_effect action_description           You lost (eval coins_word (var amount)).        ) | 


