summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-20 20:06:39 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-20 20:06:39 -0400
commitc97ecaf4342a1073fa87ebe74b40de9bcbaed434 (patch)
treec67390d021e7520d3c33079f2512e2d039dbac9f
parent10b8fa11e0bf95bd1dc44628b1c7d4638871cbef (diff)
downloadvijayanagara-c97ecaf4342a1073fa87ebe74b40de9bcbaed434.tar.gz
Malik all governors
-rw-r--r--events.txt4
-rw-r--r--rules.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/events.txt b/events.txt
index bc40dbf..0af6299 100644
--- a/events.txt
+++ b/events.txt
@@ -4,8 +4,8 @@ EVENT 1
stay_eligible
current REBEL_FACTIONS
prompt "Move all Governors to Provinces adjacent to Delhi."
- piece all (is_governor(p) && !set_has(SPACES[S_DELHI].adjacent, piece_space(p)))
- space 1 (set_has(SPACES[S_DELHI].adjacent, s))
+ piece all (is_governor(p))
+ space 1 (set_has(SPACES[S_DELHI].adjacent, s) && s != S_PUNJAB)
move
endspace
endpiece
diff --git a/rules.js b/rules.js
index 51abd46..ac96885 100644
--- a/rules.js
+++ b/rules.js
@@ -5998,8 +5998,8 @@ CODE[1 * 2 + 0] = [
[ vm_stay_eligible ],
[ vm_current, REBEL_FACTIONS ],
[ vm_prompt, "Move all Governors to Provinces adjacent to Delhi." ],
- [ vm_piece, false, 999, 999, (p,s)=>(is_governor(p) && !set_has(SPACES[S_DELHI].adjacent, piece_space(p))) ],
- [ vm_space, true, 1, 1, (s)=>(set_has(SPACES[S_DELHI].adjacent, s)) ],
+ [ vm_piece, false, 999, 999, (p,s)=>(is_governor(p)) ],
+ [ vm_space, true, 1, 1, (s)=>(set_has(SPACES[S_DELHI].adjacent, s) && s != S_PUNJAB) ],
[ vm_move ],
[ vm_endspace ],
[ vm_endpiece ],