summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-01-22 15:30:31 -0500
committerJoël Simoneau <simoneaujoel@gmail.com>2025-01-22 15:30:31 -0500
commitd175614dee7eeb82060e2cfd5d32efa8a6a9182b (patch)
tree00bfebffb64eb5793bee397a00b1f33444062a92 /events.txt
parent8b3cba4c8faaa5e603a1c9cba5d994258d9069a4 (diff)
downloadvijayanagara-d175614dee7eeb82060e2cfd5d32efa8a6a9182b.tar.gz
Event 5.
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt28
1 files changed, 25 insertions, 3 deletions
diff --git a/events.txt b/events.txt
index 1d18102..e0be988 100644
--- a/events.txt
+++ b/events.txt
@@ -39,10 +39,32 @@ SHADED 4
log "NOT IMPLEMENTED"
EVENT 5
- log "NOT IMPLEMENTED"
+ current REBEL_FACTIONS
+ prompt `Replace up to three Delhi Sultanate Units with Rebelling ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]}.`
+ piece_undo_opt 3 (is_adjacent_to_city(C_CHITTOR, piece_space(p)) && can_place_piece(piece_space(p), game.current, ELITE) && is_ds_unit(p))
+ set_piece_space
+ remove
+ auto_place (game.current) ELITE
+ set_space -1
+ endpiece
+ prompt `Place a ${PIECE_FACTION_TYPE_NAME[game.current][DISC]} in Rajput Kingdoms.`
+ space_opt 1 (s === S_RAJPUT_KINGDOMS && can_place_piece(s, game.current, DISC))
+ auto_place (game.current) DISC
+ endspace
SHADED 5
- log "NOT IMPLEMENTED"
+ current DS
+ prompt "Replace up to 3 opposing Units adjacent to Chittor."
+ piece_undo_opt 3 (is_adjacent_to_city(C_CHITTOR, piece_space(p)) && can_place_piece(piece_space(p), DS, TROOPS) && is_enemy_piece(p))
+ set_piece_space
+ remove
+ auto_place DS TROOPS
+ set_space -1
+ endpiece
+ prompt "Place a Qasbah in Rajput Kingdoms."
+ space_opt 1 (s === S_RAJPUT_KINGDOMS && can_place_piece(s, DS, DISC))
+ auto_place DS DISC
+ endspace
EVENT 6
log "NOT IMPLEMENTED"
@@ -232,7 +254,7 @@ SHADED 32
EVENT 33
current (has_majority_goa())
prompt "Remove up to 3 Opposing Units adjacent to Goa."
- piece_opt 3 (is_adjacent_to_city(C_GOA, piece_space(p)))
+ piece_opt 3 (is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_piece(p))
remove
endpiece
resources (game.current) 2