summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-18 13:11:19 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-18 13:11:19 -0400
commit89231ed0521637619335925b02cc8726388e1fd9 (patch)
tree5a3012bcd5c403daacb96b3caf5de9501f89e858
parent33c8519ee2236a03406c316bf7cf8fc17a49c860 (diff)
downloadvijayanagara-89231ed0521637619335925b02cc8726388e1fd9.tar.gz
Fix Shaded 1 Andhra
-rw-r--r--events.txt4
-rw-r--r--rules.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/events.txt b/events.txt
index f4e5e16..bc40dbf 100644
--- a/events.txt
+++ b/events.txt
@@ -15,7 +15,7 @@ SHADED 1
stay_eligible
current DS
prompt "Select a space to move Units into and Attack for free."
- space 1 s
+ space 1 s>=0
prompt `Move up to ${8-game.vm.pl.length} units into the selected space.`
mark_space
move_to (game.vm.s) (is_ds_unit(p) && is_piece_on_map(p) && !is_piece_in_event_space(p) && game.vm.pl.length < 8)
@@ -816,7 +816,7 @@ SUCC 0
log_succ BK "Military labor market thrives."
gain_cavalry (game.inf[BK] + count_pieces_on_map(BK, DISC))
force_current VE
- prompt "Gain resources equal to Influence and Temples."
+ prompt "Gain Resources equal to Influence and Temples."
log_succ VE "Temple towns emerge anew."
resources VE (game.inf[VE] + count_pieces_on_map(VE, DISC))
diff --git a/rules.js b/rules.js
index 8261cc9..0d7993c 100644
--- a/rules.js
+++ b/rules.js
@@ -6002,7 +6002,7 @@ CODE[1 * 2 + 1] = [
[ vm_stay_eligible ],
[ vm_current, DS ],
[ vm_prompt, "Select a space to move Units into and Attack for free." ],
- [ vm_space, true, 1, 1, (s)=>s ],
+ [ vm_space, true, 1, 1, (s)=>s>=0 ],
[ vm_prompt, ()=>`Move up to ${8-game.vm.pl.length} units into the selected space.` ],
[ vm_mark_space ],
[ vm_move_to, ()=>(game.vm.s), (p,s)=>(is_ds_unit(p) && is_piece_on_map(p) && !is_piece_in_event_space(p) && game.vm.pl.length < 8) ],