From b3385b7824590525acd3852611bd1532eb512000 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 12 Apr 2025 19:38:32 +0200 Subject: More log message tweaking. --- rules.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 343cdf9..2011ef6 100644 --- a/rules.js +++ b/rules.js @@ -2861,7 +2861,7 @@ states.plunder_remove = { push_undo() game.cmd.count -= 1 let p = find_piece(s, DS, TROOPS) - log_summary_move_from(p) + log_summary_remove_from(p) remove_piece(p) }, next: end_plunder @@ -2881,7 +2881,7 @@ function end_plunder() { remove_piece(p) } log_br() - log(`${n} Invaders returned from ${SPACE_NAME[game.cmd.where]} with spoils.`) + log(`Returned ${n} CMI from S${game.cmd.where}.`) } change_current(game.cmd.sa_faction) goto_strategic_assistance() @@ -3487,7 +3487,7 @@ states.deccan_influence_track = { }, piece(p) { push_undo() - log_summary_move_from(p) + log_summary_remove_from(p) to_obedient(p) place_piece(p, game.inf_shift.s) game.inf_shift.n -= 1 @@ -3998,6 +3998,10 @@ function log_summary_move_from(p) { log_summary("Moved % " + piece_symbol(p) + " from S" + piece_space(p)) } +function log_summary_remove_from(p) { + log_summary("Removed % " + piece_symbol(p) + " from S" + piece_space(p)) +} + function log_summary_remove(p) { log_summary("Removed % " + piece_symbol(p)) } -- cgit v1.2.3