summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-09 12:11:27 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-09 12:11:27 -0400
commitf8fa52913ef4620306be050714c259296bbb887d (patch)
tree9578ee5081e2a720133fa9b9eb26a4821e0904d1 /events.txt
parent01dfeaf0e26d6c46e8d727a6db4e9985059749b8 (diff)
downloadvijayanagara-f8fa52913ef4620306be050714c259296bbb887d.tar.gz
Event 13.
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt27
1 files changed, 25 insertions, 2 deletions
diff --git a/events.txt b/events.txt
index 7d1415b..3a27b50 100644
--- a/events.txt
+++ b/events.txt
@@ -248,10 +248,33 @@ SHADED 12
endspace
EVENT 13
- log "NOT IMPLEMENTED"
+ current VE
+ asm game.vm.count = (Math.min((4 - game.inf[VE]), 2) * 2)
+ add_influence VE
+ add_influence VE
+ asm game.vm.placed = 0
+ repeat (game.vm.count)
+ prompt `Place up to ${game.vm.count-game.vm.placed} Rajas adjacent to Vijayanagara.`
+ space_opt 1 is_adjacent_to_city(C_VIJAYANAGARA, s) && can_place_piece(s, VE, ELITE)
+ auto_place VE ELITE
+ asm (game.vm.placed += 1)
+ endspace
+ endrepeat
SHADED 13
- log "NOT IMPLEMENTED"
+ prompt "Select a Province with Rajas adjacent to a Province with a Bahmani piece."
+ space 1 (has_piece(s, VE, ELITE) && SPACES[s].adjacent.some(ss => has_piece_faction(ss, BK)))
+ mark_space
+ endspace
+ prompt "Select a destination Province for the Rajas."
+ space 1 (is_adjacent(s, game.vm.m) && has_piece_faction(s, BK))
+ prompt "Move any Rajas to the adjacent Province."
+ piece all (is_raja(p) && (piece_space(p) === game.vm.m[0]))
+ move
+ endpiece
+ prompt "Make a free Attack against the Vijayanagara Empire there."
+ free_attack VE
+ endspace
EVENT 14
current VE