diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-11 18:52:49 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-11 18:52:49 +0000 |
commit | ae59792ee944ed0b55a8c0a5d7f42b387a12babd (patch) | |
tree | b9f285ccf1ac075ee985ec2351e5548d03f3a245 | |
parent | 7d8c89a5c0773767f3fa7d82061b3615b69559e2 (diff) | |
download | 1989-dawn-of-freedom-ae59792ee944ed0b55a8c0a5d7f42b387a12babd.tar.gz |
Improve Support Falters logging
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -225,6 +225,7 @@ const switch_events = [6, 20, 71] const one_turn_events = [ 8, 13, 25, 50, 63, 74, 49, 58, 59, 100, 101 ] const PC_TACTIC_FAILS = 52 +const PC_SUPPORT_FALTERS = 49 const THE_CROWD_TURNS_AGAINST_CEAUSESCU_OCCURRED = 540 const THE_TYRANT_IS_GONE_OCCURRED = 970 @@ -3685,9 +3686,9 @@ function discard_card(hand) { let discarded_card = hand.splice(card, 1)[0] if (game.is_pwr_struggle) { if (numberless_cards.includes(discarded_card)) { - log_gap(`Discarded: P${discarded_card}`) + logi(`Discarded: P${discarded_card}`) } else { - log_gap(`Discarded: P${discarded_card} V${power_cards[discarded_card].value}`) + logi(`Discarded: P${discarded_card} V${power_cards[discarded_card].value}`) } game.power_struggle_discard.push(discarded_card) } else { @@ -5430,6 +5431,7 @@ function vm_support_surges() { function vm_support_falters() { game.vm_available_ops = 2 game.return === game.active + log(`C${PC_SUPPORT_FALTERS}:`) game.state = 'vm_support_falters' } |