From cb598dd992dc13d1e9902a7b1f60b1a5fc410763 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 3 Aug 2022 19:22:13 +0200 Subject: Show reason for asking for bribe in log as well as prompt. --- rules.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 3678126..67bd626 100644 --- a/rules.js +++ b/rules.js @@ -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) }, -- cgit v1.2.3