summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-20 18:07:56 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-20 18:07:56 +0100
commitdd256ed3c7aafde7d1c27e2c68972d6888cc41b2 (patch)
tree491702a7d885bc7623f354e839cd886ee93dc23f /rules.js
parent55e5f3588683cab8151f361f88761ba3c37d9aa7 (diff)
download1989-dawn-of-freedom-dd256ed3c7aafde7d1c27e2c68972d6888cc41b2.tar.gz
Updates to log
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js12
1 files 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')