diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-08-03 19:22:13 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:31:29 +0100 |
commit | cb598dd992dc13d1e9902a7b1f60b1a5fc410763 (patch) | |
tree | 76e206f969c890d28b93d4f5ebebe247113e9eaa | |
parent | e1b10f53ffe0b444b977f2e2e53c01fa8dcd79c2 (diff) | |
download | pax-pamir-cb598dd992dc13d1e9902a7b1f60b1a5fc410763.tar.gz |
Show reason for asking for bribe in log as well as prompt.
-rw-r--r-- | rules.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -838,7 +838,10 @@ states.bribe = { }, beg() { let p = game.bribe - log(`Asked ${player_names[p]} to waive the bribe for #${game.card}.`) + if (typeof game.where === 'string') + log(`Asked ${player_names[p]} to waive the bribe to use #${game.card} to ${game.where}.`) + else + log(`Asked ${player_names[p]} to waive the bribe to play #${game.card}.`) game.state = 'waive' set_active(p) }, |