summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/rules.js b/rules.js
index 17d1635..f4775d5 100644
--- a/rules.js
+++ b/rules.js
@@ -1723,7 +1723,7 @@ states.end_turn_4_5_4 = {
// Check if the Communist receives VP from The Tyrant is Gone
if (game.the_tyrant_is_gone && game.the_tyrant_is_gone > 0) {
game.vp -= 2
- log(`Communist receives 2 VP from C97`)
+ log(`Communist receives 2 VP from C` + C_THE_TYRANT_IS_GONE)
}
game.persistent_events.push(MAGIC_NEW_YEARS_EVE_PARTY)
if (game.active !== DEM) {
@@ -1737,7 +1737,7 @@ states.end_turn_4_5_4 = {
// Check if the Communist receives VP from The Tyrant is Gone
if (game.the_tyrant_is_gone && game.the_tyrant_is_gone > 0) {
game.vp -= 2
- log(`Communist receives 2 VP from C97`)
+ log(`Communist receives 2 VP from C`+ C_THE_TYRANT_IS_GONE)
}
game.state = 'final_scoring_held'
} else {
@@ -3755,7 +3755,7 @@ function end_round() {
if (game.active !== COM) {
next_player()
}
- log_h3('C5')
+ log_h3('C' + C_GENERAL_STRIKE)
return
} else {
game.state = 'choose_card'
@@ -3795,7 +3795,7 @@ function new_turn() {
}
if (game.prudence) {
delete game.prudence
- log_summary(`C${8}`)
+ log_summary("C" + C_PRUDENCE)
}
if (game.summary.length > 0) {
log('No longer in effect:')
@@ -3854,7 +3854,7 @@ function new_turn() {
log_h2("Action Round " + game.round)
log_side()
if (game.persistent_events.includes(C_GENERAL_STRIKE)) {
- log_h3('C5')
+ log_h3('C' + C_GENERAL_STRIKE)
game.state = 'general_strike'
} else {
game.state = 'choose_card'
@@ -6865,7 +6865,7 @@ states.vm_goodbye_lenin = {
if (game.valid_cards.length === 0) {
logi('No red events')
}
- log('C46 played for operations')
+ log("C" + C_GOODBYE_LENIN + " played for operations")
game.view_opp_hand = false
game.state = 'vm_goodbye_lenin_ops'
},
@@ -7633,7 +7633,7 @@ states.vm_shock_therapy = {
}
vm_next()
} else {
- log('C93 is unsuccessful. Required 3 or more')
+ log('C' + C_SHOCK_THERAPY + ' is unsuccessful. Required 3 or more')
permanently_remove(C_SHOCK_THERAPY)
vm_return()
}
@@ -7889,12 +7889,12 @@ states.vm_the_wall_must_go = {
log(`Democrat: ${game.the_wall_must_go['dem_wins']}, Communist: ${game.the_wall_must_go['com_wins']}`)
}
if (game.the_wall_must_go['dem_wins'] === 2) {
- log('The Democrat wins C86')
+ log('The Democrat wins C' + C_THE_WALL_MUST_GO)
finish_the_wall()
return
}
if (game.the_wall_must_go['com_wins'] === 2) {
- log('The Communist wins C86')
+ log('The Communist wins C' + C_THE_WALL_MUST_GO)
finish_the_wall()
return
}