summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-17 08:52:11 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-17 08:52:11 -0400
commitb579ce5515ea4320895f87243dafcf2a2af26e20 (patch)
tree3733a4e5c72cdf41dc4e59e9ae3c83ce495ce141 /events.txt
parent1642efbfd117fd92e0c8de53720955c5217ca4b4 (diff)
downloadvijayanagara-b579ce5515ea4320895f87243dafcf2a2af26e20.tar.gz
Fix Event 8 troops options
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/events.txt b/events.txt
index b0a65ac..0ec50d0 100644
--- a/events.txt
+++ b/events.txt
@@ -173,8 +173,10 @@ SHADED 8
current DS
prompt `In each Province adjacent to Devagiri and/or Gulbarga, Govern for free ignoring location requirements and place a Troop.`
asm game.vm.ignore_loc_req = true
- space_opt all (is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && can_govern_in_space(s)
- free_govern_in_space
+ space_opt all (is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && (can_govern_in_space(s) || can_place_piece(s, game.current, TROOPS))
+ if (can_govern_in_space(game.vm.s))
+ free_govern_in_space_skip
+ endif
place_opt 1 DS TROOPS
endspace