summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js44
1 files changed, 22 insertions, 22 deletions
diff --git a/rules.js b/rules.js
index 1452b5e..602907c 100644
--- a/rules.js
+++ b/rules.js
@@ -2258,7 +2258,7 @@ function add_infl(space, ops) {
game[ops] -= 2
// Check if Austria Hungary Border Reopened was used to place last SP in a controlled space in East Germany. If so, game.available_op will be negative
if (game[ops] < 0) {
- log_summary(`(Used +1 op from C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
+ log_summary(`(Used +1 op C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
}
} else {
game[ops]--
@@ -2283,7 +2283,7 @@ function add_infl(space, ops) {
game.austria_hungary_border_reopened_tracker
) {
game[ops] ++
- log('+1 op from C' + C_AUSTRIA_HUNGARY_BORDER_REOPENED + '.')
+ log('+1 op C' + C_AUSTRIA_HUNGARY_BORDER_REOPENED + '.')
game.austria_hungary_border_reopened_tracker = false
game.valid_spaces = game.valid_spaces.filter(n => spaces[n].country === 'East_Germany')
}
@@ -3156,12 +3156,12 @@ function get_aftermath_roll() {
// Special check for Yakovlev Counsels Gobachev. Applies only if Democrat wins, so only if Com is doing support loss and if Dem is doing VP roll
if (game.state === 'support_loss') {
if (game.active === COM && game.persistent_events.includes(C_YAKOVLEV_COUNSELS_GORBACHEV)) {
- logi(`+1 from C${C_YAKOVLEV_COUNSELS_GORBACHEV}`)
+ logi(`+1 C${C_YAKOVLEV_COUNSELS_GORBACHEV}`)
modified_roll ++
}
} else {
if (game.active === DEM && game.persistent_events.includes(C_YAKOVLEV_COUNSELS_GORBACHEV)) {
- logi(`+1 from C${C_YAKOVLEV_COUNSELS_GORBACHEV}`)
+ logi(`+1 C${C_YAKOVLEV_COUNSELS_GORBACHEV}`)
modified_roll ++
}
}
@@ -3172,13 +3172,13 @@ function get_aftermath_roll() {
}
if (game.raised_stakes !== 0) {
- logi(`+${game.raised_stakes} from Raising the Stakes`)
+ logi(`+${game.raised_stakes} Raising the Stakes`)
}
if (rally_win !== 0) {
- logi('+2 from winning on a P1')
+ logi('+2 winning on a P1')
}
if (petition_win !== 0) {
- logi('-2 from winning on a P31')
+ logi('-2 winning on a P31')
}
if (modified_roll !== roll) {
log(`Modified roll: ${modified_roll}`)
@@ -3581,7 +3581,7 @@ function get_card_ops(card) {
game.state === 'general_strike' ||
game.state === 'vm_deutsche_marks'
) {
- log(`+1 op from C${C_PERESTROIKA}.`)
+ log(`+1 op C${C_PERESTROIKA}.`)
}
ops ++
}
@@ -3590,7 +3590,7 @@ function get_card_ops(card) {
game.state === 'play_card' ||
game.state === 'vm_laszlo_tokes'
) {
- log(`+1 op from C${C_THE_SINATRA_DOCTRINE}.`)
+ log(`+1 op C${C_THE_SINATRA_DOCTRINE}.`)
}
ops ++
}
@@ -3603,7 +3603,7 @@ function get_card_ops(card) {
game.state === 'play_card' ||
game.state === 'general_strike'
) {
- log('+1 op from Tiananmen Square Track.')
+ log('+1 op Tiananmen Square Track.')
}
ops ++
}
@@ -3614,10 +3614,10 @@ function get_card_ops(card) {
game.state === 'vm_laszlo_tokes'
) {
if (ops > 2) {
- log(`${pluralize(game.prudence.DEM,'op')} from C${C_PRUDENCE}.`)
+ log(`${pluralize(game.prudence.DEM,'op')} C${C_PRUDENCE}.`)
} else {
if (ops > 1) {
- log(`-1 op from C${C_PRUDENCE}.`)
+ log(`-1 op C${C_PRUDENCE}.`)
}
}
}
@@ -3634,9 +3634,9 @@ function get_card_ops(card) {
game.state === 'general_strike'
) {
if (ops > 2) {
- log(`${pluralize(game.prudence.COM,'op')} from C${C_PRUDENCE}.`)
+ log(`${pluralize(game.prudence.COM,'op')} C${C_PRUDENCE}.`)
} else if (ops > 1) {
- log(`-1 op from C${C_PRUDENCE}.`)
+ log(`-1 op C${C_PRUDENCE}.`)
}
}
ops += game.prudence.COM
@@ -3650,18 +3650,18 @@ function get_card_ops(card) {
function get_tst_6_ops() {
let ops = 0
if (game.persistent_events.includes(C_PERESTROIKA) && game.active === COM) {
- logi(`+1 op from C${C_PERESTROIKA}.`)
+ logi(`+1 op C${C_PERESTROIKA}.`)
ops ++
}
if (game.persistent_events.includes(C_THE_SINATRA_DOCTRINE) && game.active === DEM) {
- logi(`+1 op from C${C_THE_SINATRA_DOCTRINE}.`)
+ logi(`+1 op C${C_THE_SINATRA_DOCTRINE}.`)
ops ++
}
if (game.active === DEM && game.prudence && game.prudence.DEM !== 0) {
if (ops > 0) {
- log(`${pluralize(game.prudence.DEM,'op')} from C${C_PRUDENCE}.`)
+ log(`${pluralize(game.prudence.DEM,'op')} C${C_PRUDENCE}.`)
} else {
- logi(`-1 op from C${C_PRUDENCE}.`)
+ logi(`-1 op C${C_PRUDENCE}.`)
}
ops += game.prudence.DEM
if (ops < -1) {
@@ -3671,9 +3671,9 @@ function get_tst_6_ops() {
if (game.active === COM && game.prudence && game.prudence.COM < 0) {
if (ops > 0) {
- logi(`${pluralize(game.prudence.COM,'op')} from C${C_PRUDENCE}.`)
+ logi(`${pluralize(game.prudence.COM,'op')} C${C_PRUDENCE}.`)
} else {
- logi(`-1 op from C${C_PRUDENCE}.`)
+ logi(`-1 op C${C_PRUDENCE}.`)
}
ops += game.prudence.COM
if (ops < -1) {
@@ -4210,7 +4210,7 @@ function check_ceausescu() {
function check_tyrant() {
if (game.the_tyrant_is_gone > 0 && check_dem_control(game.the_tyrant_is_gone)) {
- log_summary('+2 VP from C' + C_THE_TYRANT_IS_GONE + '.')
+ log_summary('+2 VP C' + C_THE_TYRANT_IS_GONE + '.')
game.vp += 2
if (check_vp()) {
do_log_summary()
@@ -4222,7 +4222,7 @@ function check_tyrant() {
function check_tyrant_sc() {
if (game.the_tyrant_is_gone > 0 && check_dem_control(game.the_tyrant_is_gone)) {
- logi('+2 VP from C' + C_THE_TYRANT_IS_GONE + '.')
+ logi('+2 VP C' + C_THE_TYRANT_IS_GONE + '.')
game.vp += 2
if (check_vp()) {
return