From dd256ed3c7aafde7d1c27e2c68972d6888cc41b2 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 20 Sep 2024 18:07:56 +0100 Subject: Updates to log --- rules.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rules.js b/rules.js index bb28cd3..5a170f1 100644 --- a/rules.js +++ b/rules.js @@ -1100,9 +1100,9 @@ states.raise_stakes_1 = { card(card) { push_undo() if (numberless_cards.includes(card)) { - log_gap(`Discarded: P${card}`) + log(`Discarded: P${card}`) } else { - log_gap(`Discarded: P${card} V${power_cards[card].value}`) + log(`Discarded: P${card} V${power_cards[card].value}`) } discard(card) @@ -1120,7 +1120,7 @@ states.raise_stakes_1 = { game.state = 'raise_stakes_2' }, done () { - log('Raised the stakes') + log_gap('Raised the stakes') game.raised_stakes_discard = 0 next_player() game.state = 'raise_stakes_2' @@ -1148,9 +1148,9 @@ states.raise_stakes_2 = { card(card) { push_undo() if (numberless_cards.includes(card)) { - log_gap(`Discarded: P${card}`) + log(`Discarded: P${card}`) } else { - log_gap(`Discarded: P${card} V${power_cards[card].value}`) + log(`Discarded: P${card} V${power_cards[card].value}`) } discard(card) @@ -1169,7 +1169,7 @@ states.raise_stakes_2 = { game.state = 'begin_power_struggle' }, done () { - log('Raised the stakes') + log_gap('Raised the stakes') game.raised_stakes_discard = 0 game.valid_cards = [] log_h2('Play Cards') -- cgit v1.2.3