summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-15 16:41:59 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-15 16:41:59 -0400
commit955ddb2180c1d176407a9005b2f70b71ef34183a (patch)
treed6aff0cff9d8656ee3d0502b58c8d17ca8e34431
parent6f638fea635028cf85722d7dadb327a26cdfa0e4 (diff)
downloadvijayanagara-955ddb2180c1d176407a9005b2f70b71ef34183a.tar.gz
fix event 17 pieces
-rw-r--r--events.txt5
-rw-r--r--rules.js7
2 files changed, 7 insertions, 5 deletions
diff --git a/events.txt b/events.txt
index 98765bc..7b8f99c 100644
--- a/events.txt
+++ b/events.txt
@@ -393,8 +393,9 @@ SHADED 16
EVENT 17
current BK
add_influence BK
- prompt "Remove up to 5 Delhi Sultanate Units from Provinces where you have a piece."
- piece_undo_opt 5 is_ds_unit(p) && has_piece_faction(piece_space(p), BK)
+ log_br
+ prompt "Remove up to 5 Delhi Sultanate pieces from Provinces where you have a piece."
+ piece_undo_opt 5 (is_ds_unit(p) || is_qasbah(p)) && has_piece_faction(piece_space(p), BK)
summary_remove
endpiece
pop_summary
diff --git a/rules.js b/rules.js
index b191aed..e8686e1 100644
--- a/rules.js
+++ b/rules.js
@@ -6178,7 +6178,7 @@ CODE[8 * 2 + 0] = [
// SHADED 8
CODE[8 * 2 + 1] = [
[ vm_current, DS ],
- [ vm_prompt, ()=>`In each Province adjacent clean_cmto Devagiri and/or Gulbarga, Govern for free ignoring location requirements and place a Troop.` ],
+ [ vm_prompt, ()=>`In each Province adjacent to Devagiri and/or Gulbarga, Govern for free ignoring location requirements and place a Troop.` ],
[ vm_asm, ()=>game.vm.ignore_loc_req = true ],
[ vm_space, true, 0, 999, (s)=>(is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && can_govern_in_space(s) ],
[ vm_free_govern_in_space ],
@@ -6451,8 +6451,9 @@ CODE[16 * 2 + 1] = [
CODE[17 * 2 + 0] = [
[ vm_current, BK ],
[ vm_add_influence, BK ],
- [ vm_prompt, "Remove up to 5 Delhi Sultanate Units from Provinces where you have a piece." ],
- [ vm_piece, true, 0, 5, (p,s)=>is_ds_unit(p) && has_piece_faction(piece_space(p), BK) ],
+ [ vm_log_br ],
+ [ vm_prompt, "Remove up to 5 Delhi Sultanate pieces from Provinces where you have a piece." ],
+ [ vm_piece, true, 0, 5, (p,s)=>(is_ds_unit(p) || is_qasbah(p)) && has_piece_faction(piece_space(p), BK) ],
[ vm_summary_remove ],
[ vm_endpiece ],
[ vm_pop_summary ],