diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-27 17:41:25 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-27 17:41:25 -0400 |
commit | 607b8a7e6e1f4542ad42bae73b16516d9e57051c (patch) | |
tree | 397f9ea46e61bf87f822c91e25a600fc2392b7ac | |
parent | b8dd702977a5b73631973e2e69a20f9d0fdf088f (diff) | |
download | vijayanagara-607b8a7e6e1f4542ad42bae73b16516d9e57051c.tar.gz |
Verbose and efficient MI
-rw-r--r-- | events.txt | 8 | ||||
-rw-r--r-- | rules.js | 12 |
2 files changed, 16 insertions, 4 deletions
@@ -831,11 +831,17 @@ SUCC 5 prompt "Invaders are attacking in the Mountain Passes!" space 1 (s === S_MOUNTAIN_PASSES && has_ds_unit(s) && has_mi_unit(s)) free_attack DS + endspace + prompt "Invaders are moving towards Punjab." + space 1 (s === S_PUNJAB) timurid_advance S_MOUNTAIN_PASSES S_PUNJAB endspace - prompt "Invaders are moving towards Delhi!" + prompt "Invaders are Attacking in Punjab!" space 1 (s === S_PUNJAB && has_ds_unit(s) && has_mi_unit(s)) free_attack DS + endspace + prompt "Invaders are moving towards Delhi." + space 1 (s === S_DELHI) timurid_advance S_PUNJAB S_DELHI endspace prompt "Invaders are laying a siege to Delhi!" @@ -4490,7 +4490,7 @@ function vm_log_br() { } function vm_log_h2() { - log_h2(faction_flags[vm_operand(1)] + " " + vm_operand(2)) + log_h2(faction_acronyms[vm_operand(1)] + " " + vm_operand(2)) vm_next() } @@ -5354,7 +5354,7 @@ function vm_timurid_crisis() { game.state = "vm_timurid_crisis" } states.vm_timurid_crisis = { prompt() { - event_prompt("Mongols Invaders gather in the Mountain Passes.") + event_prompt("Mongol Invaders gather in the Mountain Passes.") gen_action_space(S_MONGOL_INVADERS) }, space(s) { @@ -6745,11 +6745,17 @@ CODE[5 * 2 + 74] = [ [ vm_prompt, "Invaders are attacking in the Mountain Passes!" ], [ vm_space, true, 1, 1, (s)=>(s === S_MOUNTAIN_PASSES && has_ds_unit(s) && has_mi_unit(s)) ], [ vm_free_attack, DS ], + [ vm_endspace ], + [ vm_prompt, "Invaders are moving towards Punjab." ], + [ vm_space, true, 1, 1, (s)=>(s === S_PUNJAB) ], [ vm_timurid_advance, S_MOUNTAIN_PASSES, S_PUNJAB ], [ vm_endspace ], - [ vm_prompt, "Invaders are moving towards Delhi!" ], + [ vm_prompt, "Invaders are Attacking in Punjab!" ], [ vm_space, true, 1, 1, (s)=>(s === S_PUNJAB && has_ds_unit(s) && has_mi_unit(s)) ], [ vm_free_attack, DS ], + [ vm_endspace ], + [ vm_prompt, "Invaders are moving towards Delhi." ], + [ vm_space, true, 1, 1, (s)=>(s === S_DELHI) ], [ vm_timurid_advance, S_PUNJAB, S_DELHI ], [ vm_endspace ], [ vm_prompt, "Invaders are laying a siege to Delhi!" ], |