diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-01 16:37:29 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-01 16:37:29 -0400 |
commit | 515ada94a8ec8c91f5c633995ae589bbf5e4ac7c (patch) | |
tree | 03a2cd2c75aaac03bf7188dc1942c6a02f363fb1 | |
parent | a280b241a1c75c0203b1dfedb3b801af805613b3 (diff) | |
download | vijayanagara-515ada94a8ec8c91f5c633995ae589bbf5e4ac7c.tar.gz |
Past tense log
-rw-r--r-- | rules.js | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -1335,12 +1335,12 @@ function goto_attack_cavalry(curr) { ) if (d_hit !== -1) { - log(`${faction_flags[curr]} is using Cavalry.`) + log(`${faction_flags[curr]} used Cavalry.`) attack_use_cavalry(d_hit + (curr === game.cmd.attacker ? 0 : 4), MI) } else { let d_hit2 = dices.findIndex(d => d === 2) if (d_hit2 !== -1 && curr === game.cmd.attacker) { - log(`${faction_flags[curr]} is using Cavalry.`) + log(`${faction_flags[curr]} used Cavalry.`) attack_use_cavalry(d_hit2 + (curr === game.cmd.attacker ? 0 : 4), MI) } } @@ -1368,7 +1368,7 @@ states.attack_cavalry = { die(d) { push_undo() if (!game.cmd.cavalry) { - log(`${faction_flags[game.current]} is using Cavalry.`) + log(`${faction_flags[game.current]} used Cavalry.`) game.cmd.cavalry = true } attack_use_cavalry(d, game.current) @@ -3222,7 +3222,7 @@ function add_influence(faction) { return game.inf[faction]++ - log(faction_flags[faction] + " gains Influence.") + log(faction_flags[faction] + " gained Influence.") update_vp() if (faction === BK && game.inf[faction] === 2) @@ -3238,7 +3238,7 @@ function remove_influence(faction) { end_influence() } else { game.inf[faction]-- - log(faction_flags[faction] + " loses Influence.") + log(faction_flags[faction] + " lost Influence.") update_vp() if (faction === BK && game.inf[faction] === 3) @@ -4284,7 +4284,7 @@ function goto_gk_event(shaded) { if (shaded) { log_h2(faction_name[game.current] + " - Shaded Event") - log(faction_flags[game.current] + " is using the set-aside Event Card.") + log(faction_flags[game.current] + " used the set-aside Event Card.") log_br() log("C" + c) log(".i " + data.card_flavor_shaded[c] + ".") @@ -4292,7 +4292,7 @@ function goto_gk_event(shaded) { goto_vm(c * 2 + 1) } else { log_h2(faction_name[game.current] + " - Event") - log(faction_flags[game.current] + " is using the set-aside Event Card.") + log(faction_flags[game.current] + " used the set-aside Event Card.") log_br() log("C" + c) if (data.card_flavor[c]) @@ -4669,7 +4669,7 @@ function vm_set_space() { } function vm_stay_eligible() { - log(faction_flags[game.current] + " stays Eligible.") + log(faction_flags[game.current] + " stayed Eligible.") log_br() game.marked |= (16 << game.current) vm_next() @@ -4967,7 +4967,7 @@ function vm_spend_cavalry() { for (let i = 0; i < n; ++i) { game.cavalry[find_cavalry(game.current)] = AVAILABLE } - log(`${faction_flags[game.current]} spends ${n} Cavalry token.`) + log(`${faction_flags[game.current]} spent ${n} Cavalry token.`) vm_next() } @@ -5047,7 +5047,7 @@ states.vm_steal = { let n = Math.min(vm_operand(3), game.resources[f]) add_resources(game.current, n) add_resources(f, -n) - log(`${faction_flags[game.current]} steals ${n} Resources from ${faction_flags[f]}.`) + log(`${faction_flags[game.current]} stole ${n} Resources from ${faction_flags[f]}.`) vm_next() }, skip() { @@ -5124,7 +5124,7 @@ states.vm_steal_cavalry = { c = find_cavalry(f2) set_cavalry_faction(c, game.current) } - log(`${faction_name[game.current]} steals ${n} Cavalry token from ${faction_name[f2]}.`) + log(`${faction_name[game.current]} stole ${n} Cavalry token from ${faction_name[f2]}.`) vm_next() }, skip() { @@ -5571,7 +5571,7 @@ states.shaded_6_2 = { let n = Math.min(game.resources[f], 3) add_resources(f, -n) add_resources(DS, n) - log(`${faction_name[game.current]} steals ${n} Resources from ${faction_name[f]}.`) + log(`${faction_name[game.current]} stole ${n} Resources from ${faction_name[f]}.`) vm_next() } } @@ -5613,7 +5613,7 @@ states.event_25 = { function vm_event_26() { game.of_gods_and_kings[1] = game.current - log(faction_flags[game.current] + " draws C" + game.of_gods_and_kings[0]) + log(faction_flags[game.current] + " drew C" + game.of_gods_and_kings[0]) vm_next() } |