From d175614dee7eeb82060e2cfd5d32efa8a6a9182b Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Wed, 22 Jan 2025 15:30:31 -0500 Subject: Event 5. --- events.txt | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'events.txt') 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 -- cgit v1.2.3