summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-12 12:25:55 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-12 12:25:55 +0200
commit6591f70043fe9ca16d34232d0ef35f8b89c179ec (patch)
treee67bc585eb29d0aa40c89fa8ae94ebadc0212c98
parent7d7d7a295b1fe2335019c694213f838e017cf2c6 (diff)
downloadvijayanagara-6591f70043fe9ca16d34232d0ef35f8b89c179ec.tar.gz
Log message punctuation.
-rw-r--r--events.txt6
-rw-r--r--rules.js10
2 files changed, 8 insertions, 8 deletions
diff --git a/events.txt b/events.txt
index c2d65a5..108573d 100644
--- a/events.txt
+++ b/events.txt
@@ -23,7 +23,7 @@ SHADED 1
to_rebel BK
to_rebel VE
log_br
- log `Opposing Units to Rebelling in ${SPACE_NAME[game.vm.s]}`
+ log `Opposing Units to Rebelling in ${SPACE_NAME[game.vm.s]}.`
endif
endspace
prompt "Free Attack in selected space."
@@ -821,7 +821,7 @@ SUCC 2
any_limited_command
if (game.prosperity[BK] === 0)
log_br
- log "Not enough prosperity."
+ log "Not enough Prosperity."
else
cav_resources (Math.min(game.prosperity[BK],3))
endif
@@ -830,7 +830,7 @@ SUCC 2
any_limited_command
if (game.prosperity[VE] === 0)
log_br
- log "Not enough prosperity."
+ log "Not enough Prosperity."
else
cav_resources (Math.min(game.prosperity[VE],3))
endif
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 ],