summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-06 15:35:48 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-06 15:35:48 +0000
commitb03936419c38da419cc1c9edf261dc872b18d92c (patch)
tree955fb1fc9b3cde9804bad0e00b72b1bad6b73bb7
parent7c1572564ee2cdbb91e1e309ead3f843ab45e681 (diff)
download1989-dawn-of-freedom-b03936419c38da419cc1c9edf261dc872b18d92c.tar.gz
Remove log_summary functions
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 11d2211..58548fe 100644
--- a/rules.js
+++ b/rules.js
@@ -2266,12 +2266,12 @@ function add_infl(space, ops) {
check_com_control(space)
) {
game[ops]--
- log_summary(`(-1 Op due to C${C_GENSCHER})`)
+ log(`(-1 Op due to C${C_GENSCHER})`)
} else if (check_opp_control(space)) {
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 C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
+ log(`(Used +1 Op C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
}
} else {
game[ops]--
@@ -4045,7 +4045,7 @@ function new_turn() {
function end_one_turn_event(event) {
game.persistent_events = game.persistent_events.filter(n => n !== event)
game.strategy_removed.push(event)
- log_summary(`C${event}`)
+ log(`C${event}`)
}
function change_player() {
@@ -4232,7 +4232,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 C' + C_THE_TYRANT_IS_GONE + '.')
+ log('+2 VP C' + C_THE_TYRANT_IS_GONE + '.')
game.vp += 2
if (check_vp()) {
do_log_summary()