1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
# Events for Vijayanagara
EVENT 1
log "NOT IMPLEMENTED"
SHADED 1
log "NOT IMPLEMENTED"
EVENT 2
log "NOT IMPLEMENTED"
SHADED 2
log "NOT IMPLEMENTED"
EVENT 3
current REBEL_FACTIONS
prompt "Free Rally and gain 2 Resources in each Province adjacent to Warangal with your presence."
space_opt all (is_adjacent_to_city(C_WARANGAL, s) && has_piece_faction(s, game.current))
free_rally
resources (game.current) 2
endspace
SHADED 3
current DS
prompt "In each Province adjacent to Warangal with you presence, steal 2 Resources from each other Faction present."
space_opt all (is_adjacent_to_city(C_WARANGAL, s) && has_piece_faction(s, DS) && has_piece_enemy_faction(s, DS))
if has_piece_faction(game.vm.s, BK)
steal DS BK 2
endif
if has_piece_faction(game.vm.s, VE)
steal DS VE 2
endif
endspace
EVENT 4
log "NOT IMPLEMENTED"
SHADED 4
log "NOT IMPLEMENTED"
EVENT 5
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_rebel (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
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"
SHADED 6
log "NOT IMPLEMENTED"
EVENT 7
log "NOT IMPLEMENTED"
SHADED 7
log "NOT IMPLEMENTED"
EVENT 8
log "NOT IMPLEMENTED"
SHADED 8
log "NOT IMPLEMENTED"
EVENT 9
current VE
prompt "Compel in a Province adjacent to Warangal that you do not control and then Build there."
add_influence VE
space 1 (is_adjacent_to_city(C_WARANGAL, s) && !is_faction_control(s, game.current))
free_compel
mark_space
endspace
prompt `Build in the same Province.`
space_opt 1 (s === game.vm.m[0] && can_place_piece(s, game.current, DISC))
free_build
endspace
SHADED 9
current DS
resources (game.current) 3
prompt "Add up to 4 Troops and 1 Governor in one Province adjacent to Warangal."
space 1 is_adjacent_to_city(C_WARANGAL, s)
place_opt 4 DS TROOPS
place_opt 1 DS ELITE
endspace
EVENT 10
prompt "Move up to 4 Delhi Sultanate Units into adjacent Provinces."
piece_undo_opt 4 is_ds_unit(p)
prompt "Move Delhi Sultanate Unit into an adjacent space."
space_no_undo 1 is_adjacent(s, piece_space(game.vm.p))
move
endspace
endpiece
resources DS -5
SHADED 10
current DS
prompt "Move any Qasbah to Spaces containing Governors."
piece_opt all is_qasbah(p)
space 1 has_governor(s) && !has_qasbah(s)
move
endspace
endpiece
prompt "Add up to 2 Troops in each Space with a Qasbah."
space_opt all has_qasbah(s)
place_opt 2 DS TROOPS
endspace
EVENT 11
prompt "Place up to two Mongol Invaders in each of Mtn Passes and Punjab."
space_opt 2 (s === S_PUNJAB || s === S_MOUNTAIN_PASSES)
place_opt 2 MI TROOPS
endspace
SHADED 11
current DS
prompt "Remove 4 Mongol Invaders."
piece 4 is_mongol_invader(p)
remove
endpiece
EVENT 12
log "NOT IMPLEMENTED"
SHADED 12
log "NOT IMPLEMENTED"
EVENT 13
log "NOT IMPLEMENTED"
SHADED 13
log "NOT IMPLEMENTED"
EVENT 14
log "NOT IMPLEMENTED"
SHADED 14
log "NOT IMPLEMENTED"
EVENT 15
log "NOT IMPLEMENTED"
SHADED 15
log "NOT IMPLEMENTED"
EVENT 16
log "NOT IMPLEMENTED"
SHADED 16
log "NOT IMPLEMENTED"
EVENT 17
log "NOT IMPLEMENTED"
SHADED 17
log "NOT IMPLEMENTED"
EVENT 18
log "NOT IMPLEMENTED"
SHADED 18
log "NOT IMPLEMENTED"
EVENT 19
log "NOT IMPLEMENTED"
SHADED 19
log "NOT IMPLEMENTED"
EVENT 20
log "NOT IMPLEMENTED"
SHADED 20
log "NOT IMPLEMENTED"
EVENT 21
log "NOT IMPLEMENTED"
SHADED 21
log "NOT IMPLEMENTED"
EVENT 22
log "NOT IMPLEMENTED"
SHADED 22
log "NOT IMPLEMENTED"
EVENT 23
log "NOT IMPLEMENTED"
SHADED 23
log "NOT IMPLEMENTED"
EVENT 24
log "NOT IMPLEMENTED"
SHADED 24
log "NOT IMPLEMENTED"
EVENT 25
log "NOT IMPLEMENTED"
SHADED 25
log "NOT IMPLEMENTED"
EVENT 26
log "NOT IMPLEMENTED"
EVENT 27
log "NOT IMPLEMENTED"
SHADED 27
log "NOT IMPLEMENTED"
EVENT 28
log "NOT IMPLEMENTED"
SHADED 28
log "NOT IMPLEMENTED"
EVENT 29
log "NOT IMPLEMENTED"
SHADED 29
log "NOT IMPLEMENTED"
EVENT 30
log "NOT IMPLEMENTED"
SHADED 30
log "NOT IMPLEMENTED"
EVENT 31
log "NOT IMPLEMENTED"
SHADED 31
log "NOT IMPLEMENTED"
EVENT 32
log "NOT IMPLEMENTED"
SHADED 32
log "NOT IMPLEMENTED"
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)) && is_enemy_piece(p))
remove
endpiece
resources (game.current) 2
SHADED 33
current DS
prompt "Reduce Rebel Factions Resources by half."
resources_opt BK (-Math.floor(game.resources[BK]/2))
resources_opt VE (-Math.floor(game.resources[VE]/2))
EVENT 34
log "NOT IMPLEMENTED"
SHADED 34
log "NOT IMPLEMENTED"
EVENT 35
log "NOT IMPLEMENTED"
SHADED 35
log "NOT IMPLEMENTED"
EVENT 36
log "NOT IMPLEMENTED"
SHADED 36
log "NOT IMPLEMENTED"
|