From 6591f70043fe9ca16d34232d0ef35f8b89c179ec Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 12 Apr 2025 12:25:55 +0200 Subject: Log message punctuation. --- rules.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 066d2d3..a32088a 100644 --- a/rules.js +++ b/rules.js @@ -1387,8 +1387,8 @@ function next_attack_cavalry_step() { game.cmd.d_hit = game.dice.slice(4).filter(d => d > 0 && d <= game.cmd.n_units[1] && d < 6).length game.cmd.victor = get_attack_victor() log_br() - log(`${faction_flags[game.cmd.attacker]} scores ${game.cmd.a_hit} hits.`) - log(`${faction_flags[game.cmd.target]} scores ${game.cmd.d_hit} hits.`) + log(`${faction_flags[game.cmd.attacker]} scored ${game.cmd.a_hit} hits.`) + log(`${faction_flags[game.cmd.target]} scored ${game.cmd.d_hit} hits.`) log_br() goto_attack_casualties() } @@ -5964,7 +5964,7 @@ CODE[1 * 2 + 1] = [ [ vm_to_rebel, BK ], [ vm_to_rebel, VE ], [ vm_log_br ], - [ vm_log, ()=>`Opposing Units to Rebelling in ${SPACE_NAME[game.vm.s]}` ], + [ vm_log, ()=>`Opposing Units to Rebelling in ${SPACE_NAME[game.vm.s]}.` ], [ vm_endif ], [ vm_endspace ], [ vm_prompt, "Free Attack in selected space." ], @@ -6974,7 +6974,7 @@ CODE[2 * 2 + 74] = [ [ vm_any_limited_command ], [ vm_if, ()=>(game.prosperity[BK] === 0) ], [ vm_log_br ], - [ vm_log, "Not enough prosperity." ], + [ vm_log, "Not enough Prosperity." ], [ vm_else ], [ vm_cav_resources, ()=>(Math.min(game.prosperity[BK],3)) ], [ vm_endif ], @@ -6983,7 +6983,7 @@ CODE[2 * 2 + 74] = [ [ vm_any_limited_command ], [ vm_if, ()=>(game.prosperity[VE] === 0) ], [ vm_log_br ], - [ vm_log, "Not enough prosperity." ], + [ vm_log, "Not enough Prosperity." ], [ vm_else ], [ vm_cav_resources, ()=>(Math.min(game.prosperity[VE],3)) ], [ vm_endif ], -- cgit v1.2.3