-
Notifications
You must be signed in to change notification settings - Fork 0
/
SDG_Beliefs03_Military.sql
449 lines (374 loc) · 44.2 KB
/
SDG_Beliefs03_Military.sql
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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
-- MILITARY
-- ------------------------------------
-- ------------------------------------
-- Sword of Gideon
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_SWORD_OF_GIDEON', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_SWORD_OF_GIDEON', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_SWORD_OF_GIDEON', 'LOC_SDG_ABILITY_SWORD_OF_GIDEON_NAME', 'LOC_SDG_ABILITY_SWORD_OF_GIDEON_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_SWORD_OF_GIDEON', 'SDG_SWORD_OF_GIDEON_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_SWORD_OF_GIDEON_COMBAT', 'DB_DM_ADJUST_COMBAT_EXPERIENCE') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_SWORD_OF_GIDEON_COMBAT', 'Amount', 25) ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_SWORD_OF_GIDEON', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_SWORD_OF_GIDEON', 'LOC_SDG_SWORD_OF_GIDEON', 'LOC_SDG_SWORD_OF_GIDEON_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_SWORD_OF_GIDEON', 'SDG_SWORD_OF_GIDEON_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_SWORD_OF_GIDEON_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_SWORD_OF_GIDEON_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_SWORD_OF_GIDEON_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_SWORD_OF_GIDEON_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_SWORD_OF_GIDEON_COMBAT', 'AbilityType', 'SDG_ABILITY_SWORD_OF_GIDEON') ;
-- ------------------------------------
-- ------------------------------------
-- Joshua's Trumpet
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_JOSHUAS_TRUMPET', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES
('SDG_ABILITY_JOSHUAS_TRUMPET', 'CLASS_MELEE'),
('SDG_ABILITY_JOSHUAS_TRUMPET', 'CLASS_ANTI_CAVALRY') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_JOSHUAS_TRUMPET', 'LOC_SDG_ABILITY_JOSHUAS_TRUMPET_NAME', 'LOC_SDG_ABILITY_JOSHUAS_TRUMPET_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId)
SELECT DISTINCT 'SDG_ABILITY_JOSHUAS_TRUMPET', 'SDG_MOD_' || SUBSTR(PromotionClass, 17) || '_CAN_WALL_ATTACK' FROM Units WHERE PromotionClass = 'PROMOTION_CLASS_MELEE' OR PromotionClass = 'PROMOTION_CLASS_ANTI_CAVALRY' ;
INSERT INTO Modifiers (ModifierId, ModifierType)
SELECT DISTINCT 'SDG_MOD_' || SUBSTR(PromotionClass, 17) || '_CAN_WALL_ATTACK', 'DB_DM_CAN_WALL_ATTACK_PROMOTION_CLASS' FROM Units WHERE PromotionClass = 'PROMOTION_CLASS_MELEE' OR PromotionClass = 'PROMOTION_CLASS_ANTI_CAVALRY' ;
INSERT INTO ModifierArguments (ModifierId, Name, Value)
SELECT DISTINCT 'SDG_MOD_' || SUBSTR(PromotionClass, 17) || '_CAN_WALL_ATTACK', 'PromotionClass', PromotionClass FROM Units WHERE PromotionClass = 'PROMOTION_CLASS_MELEE' OR PromotionClass = 'PROMOTION_CLASS_ANTI_CAVALRY' ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId)
SELECT DISTINCT 'SDG_ABILITY_JOSHUAS_TRUMPET', 'SDG_MOD_' || SUBSTR(PromotionClass, 17) || '_CAN_BYPASS_WALLS' FROM Units WHERE PromotionClass = 'PROMOTION_CLASS_MELEE' OR PromotionClass = 'PROMOTION_CLASS_ANTI_CAVALRY' ;
INSERT INTO Modifiers (ModifierId, ModifierType)
SELECT DISTINCT 'SDG_MOD_' || SUBSTR(PromotionClass, 17) || '_CAN_BYPASS_WALLS', 'DB_DM_CAN_BYPASS_WALLS_PROMOTION_CLASS' FROM Units WHERE PromotionClass = 'PROMOTION_CLASS_MELEE' OR PromotionClass = 'PROMOTION_CLASS_ANTI_CAVALRY' ;
INSERT INTO ModifierArguments (ModifierId, Name, Value)
SELECT DISTINCT 'SDG_MOD_' || SUBSTR(PromotionClass, 17) || '_CAN_BYPASS_WALLS', 'PromotionClass', PromotionClass FROM Units WHERE PromotionClass = 'PROMOTION_CLASS_MELEE' OR PromotionClass = 'PROMOTION_CLASS_ANTI_CAVALRY' ;
/*
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_JOSHUAS_TRUMPET', 'SDG_MOD_CAN_WALL_ATTACK') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_MOD_CAN_WALL_ATTACK', 'DB_DM_CAN_WALL_ATTACK') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_MOD_CAN_WALL_ATTACK', 'Enable', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_JOSHUAS_TRUMPET', 'SDG_MOD_CAN_BYPASS_WALLS') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_MOD_CAN_BYPASS_WALLS', 'DB_DM_CAN_BYPASS_WALLS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_MOD_CAN_BYPASS_WALLS', 'Enable', 1) ;
*/
INSERT INTO Types (Type, Kind) VALUES ('SDG_JOSHUAS_TRUMPET', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_JOSHUAS_TRUMPET', 'LOC_SDG_JOSHUAS_TRUMPET', 'LOC_SDG_JOSHUAS_TRUMPET_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_JOSHUAS_TRUMPET', 'SDG_JOSHUAS_TRUMPET_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_JOSHUAS_TRUMPET_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_JOSHUAS_TRUMPET_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_JOSHUAS_TRUMPET_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_JOSHUAS_TRUMPET_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_JOSHUAS_TRUMPET_COMBAT', 'AbilityType', 'SDG_ABILITY_JOSHUAS_TRUMPET') ;
/* TODO: find a way to remove the ram/tower protection on upper level walls
UPDATE Modifiers SET SubjectRequirementSetId = '' WHERE ModifierId = 'CASTLE_PREVENT_MELEE_ATTACK_OUTER_DEFENSES' ;
UPDATE Modifiers SET SubjectRequirementSetId = '' WHERE ModifierId = 'STAR_FORT_PREVENT_MELEE_ATTACK_OUTER_DEFENSES' ;
UPDATE Modifiers SET SubjectRequirementSetId = '' WHERE ModifierId = 'STAR_FORT_PREVENT_BYPASS_OUTER_DEFENSE' ;
<ModifierType>MODIFIER_SINGLE_CITY_ADJUST_PREVENT_MELEE_ATTACK_OUTER_DEFENSES</ModifierType>
<ModifierType>MODIFIER_SINGLE_CITY_ADJUST_PREVENT_MELEE_ATTACK_OUTER_DEFENSES</ModifierType>
<ModifierType>MODIFIER_SINGLE_CITY_ADJUST_PREVENT_BYPASS_OUTER_DEFENSE</ModifierType>
*/
-- ------------------------------------
-- ------------------------------------
-- Ecrasez l'Infame
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_ECRASEZ_LINFAME', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_ECRASEZ_LINFAME', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_ECRASEZ_LINFAME', 'LOC_SDG_ABILITY_ECRASEZ_LINFAME_NAME', 'LOC_SDG_ABILITY_ECRASEZ_LINFAME_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES
('SDG_ABILITY_ECRASEZ_LINFAME', 'SDG_ECRASEZ_LINFAME_CITY_TO_MY_RELIGION_ON_CAPTURE'),
('SDG_ABILITY_ECRASEZ_LINFAME', 'SDG_ECRASEZ_LINFAME_VICTORY_SPREADS_RELIGION') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ECRASEZ_LINFAME_CITY_TO_MY_RELIGION_ON_CAPTURE', 'DB_DM_CITY_TO_MY_RELIGION_ON_CAPTURE') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ECRASEZ_LINFAME_CITY_TO_MY_RELIGION_ON_CAPTURE', 'Enable', 1) ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ECRASEZ_LINFAME_VICTORY_SPREADS_RELIGION', 'DB_DM_VICTORY_SPREADS_RELIGION') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ECRASEZ_LINFAME_VICTORY_SPREADS_RELIGION', 'LandVictorySpread', 1) ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_ECRASEZ_LINFAME', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_ECRASEZ_LINFAME', 'LOC_SDG_ECRASEZ_LINFAME', 'LOC_SDG_ECRASEZ_LINFAME_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_ECRASEZ_LINFAME', 'SDG_ECRASEZ_LINFAME_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_ECRASEZ_LINFAME_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ECRASEZ_LINFAME_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_ECRASEZ_LINFAME_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_ECRASEZ_LINFAME_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_ECRASEZ_LINFAME_COMBAT', 'AbilityType', 'SDG_ABILITY_ECRASEZ_LINFAME') ;
-- ------------------------------------
-- ------------------------------------
-- Veni Vidi Vici
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_VENI_VIDI_VICI', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_VENI_VIDI_VICI', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_VENI_VIDI_VICI', 'LOC_SDG_ABILITY_VENI_VIDI_VICI_NAME', 'LOC_SDG_ABILITY_VENI_VIDI_VICI_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_VENI_VIDI_VICI', 'SDG_VENI_VIDI_VICI_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_VENI_VIDI_VICI_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_OPPONENT_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_VENI_VIDI_VICI_COMBAT', 'Amount', 2) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_VENI_VIDI_VICI_COMBAT', 'Preview', 'LOC_SDG_VENI_VIDI_VICI_COMBAT_DESCRIPTION') ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_VENI_VIDI_VICI', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_VENI_VIDI_VICI', 'LOC_SDG_VENI_VIDI_VICI', 'LOC_SDG_VENI_VIDI_VICI_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_VENI_VIDI_VICI', 'SDG_VENI_VIDI_VICI_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_VENI_VIDI_VICI_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_VENI_VIDI_VICI_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_VENI_VIDI_VICI_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_VENI_VIDI_VICI_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_VENI_VIDI_VICI_COMBAT', 'AbilityType', 'SDG_ABILITY_VENI_VIDI_VICI') ;
-- ------------------------------------
-- ------------------------------------
-- Shatter the Teeth
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_SHATTER_THE_TEETH', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_SHATTER_THE_TEETH', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_SHATTER_THE_TEETH', 'LOC_SDG_ABILITY_SHATTER_THE_TEETH_NAME', 'LOC_SDG_ABILITY_SHATTER_THE_TEETH_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_SHATTER_THE_TEETH', 'SDG_SHATTER_THE_TEETH_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_SHATTER_THE_TEETH_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_ATTACKING_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_SHATTER_THE_TEETH_COMBAT', 'Amount', 3) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_SHATTER_THE_TEETH_COMBAT', 'Preview', 'LOC_SDG_SHATTER_THE_TEETH_COMBAT_DESCRIPTION') ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_SHATTER_THE_TEETH', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_SHATTER_THE_TEETH', 'LOC_SDG_SHATTER_THE_TEETH', 'LOC_SDG_SHATTER_THE_TEETH_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_SHATTER_THE_TEETH', 'SDG_SHATTER_THE_TEETH_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_SHATTER_THE_TEETH_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_SHATTER_THE_TEETH_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_SHATTER_THE_TEETH_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_SHATTER_THE_TEETH_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_SHATTER_THE_TEETH_COMBAT', 'AbilityType', 'SDG_ABILITY_SHATTER_THE_TEETH') ;
-- ------------------------------------
-- ------------------------------------
-- Armor of God
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_ARMOR_OF_GOD', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_ARMOR_OF_GOD', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_ARMOR_OF_GOD', 'LOC_SDG_ABILITY_ARMOR_OF_GOD_NAME', 'LOC_SDG_ABILITY_ARMOR_OF_GOD_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_ARMOR_OF_GOD', 'SDG_ARMOR_OF_GOD_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_ARMOR_OF_GOD_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_DEFENDING_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ARMOR_OF_GOD_COMBAT', 'Amount', 4) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_ARMOR_OF_GOD_COMBAT', 'Preview', 'LOC_SDG_ARMOR_OF_GOD_COMBAT_DESCRIPTION') ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_ARMOR_OF_GOD', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_ARMOR_OF_GOD', 'LOC_SDG_ARMOR_OF_GOD', 'LOC_SDG_ARMOR_OF_GOD_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_ARMOR_OF_GOD', 'SDG_ARMOR_OF_GOD_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_ARMOR_OF_GOD_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ARMOR_OF_GOD_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_ARMOR_OF_GOD_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_ARMOR_OF_GOD_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_ARMOR_OF_GOD_COMBAT', 'AbilityType', 'SDG_ABILITY_ARMOR_OF_GOD') ;
-- ------------------------------------
-- ------------------------------------
-- His Truth is Marching On
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_HIS_TRUTH', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_HIS_TRUTH', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_HIS_TRUTH', 'LOC_SDG_ABILITY_HIS_TRUTH_NAME', 'LOC_SDG_ABILITY_HIS_TRUTH_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_HIS_TRUTH', 'SDG_HIS_TRUTH_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_HIS_TRUTH_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_INSIDE_FOREIGN_TERRITORY_ENEMY_OTHER_RELIGION_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_HIS_TRUTH_COMBAT', 'Amount', 3) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_HIS_TRUTH_COMBAT', 'Preview', 'LOC_SDG_HIS_TRUTH_COMBAT_DESCRIPTION') ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_HIS_TRUTH', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_HIS_TRUTH', 'LOC_SDG_HIS_TRUTH', 'LOC_SDG_HIS_TRUTH_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_HIS_TRUTH', 'SDG_HIS_TRUTH_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_HIS_TRUTH_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_HIS_TRUTH_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_HIS_TRUTH_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_HIS_TRUTH_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_HIS_TRUTH_COMBAT', 'AbilityType', 'SDG_ABILITY_HIS_TRUTH') ;
-- ------------------------------------
-- ------------------------------------
-- Carthago Delenda Est
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_CARTHAGO_DELENDA_EST', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_CARTHAGO_DELENDA_EST', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_CARTHAGO_DELENDA_EST', 'LOC_SDG_ABILITY_CARTHAGO_DELENDA_EST_NAME', 'LOC_SDG_ABILITY_CARTHAGO_DELENDA_EST_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_CARTHAGO_DELENDA_EST', 'SDG_CARTHAGO_DELENDA_EST_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_CARTHAGO_DELENDA_EST_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_ATTACKING_INSIDE_FOREIGN_TERRITORY_ENEMY_OTHER_RELIGION_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_CARTHAGO_DELENDA_EST_COMBAT', 'Amount', 5) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_CARTHAGO_DELENDA_EST_COMBAT', 'Preview', 'LOC_SDG_CARTHAGO_DELENDA_EST_COMBAT_DESCRIPTION') ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_CARTHAGO_DELENDA_EST', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_CARTHAGO_DELENDA_EST', 'LOC_SDG_CARTHAGO_DELENDA_EST', 'LOC_SDG_CARTHAGO_DELENDA_EST_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_CARTHAGO_DELENDA_EST', 'SDG_CARTHAGO_DELENDA_EST_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_CARTHAGO_DELENDA_EST_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_CARTHAGO_DELENDA_EST_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_CARTHAGO_DELENDA_EST_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_CARTHAGO_DELENDA_EST_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_CARTHAGO_DELENDA_EST_COMBAT', 'AbilityType', 'SDG_ABILITY_CARTHAGO_DELENDA_EST') ;
-- ------------------------------------
-- ------------------------------------
-- Deus Vult
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_DEUS_VULT', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_DEUS_VULT', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_DEUS_VULT', 'LOC_SDG_ABILITY_DEUS_VULT_NAME', 'LOC_SDG_ABILITY_DEUS_VULT_DESCRIPTION', 1) ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_DEUS_VULT', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_DEUS_VULT', 'LOC_SDG_DEUS_VULT', 'LOC_SDG_DEUS_VULT_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_DEUS_VULT', 'SDG_DEUS_VULT_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_DEUS_VULT_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_DEUS_VULT_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_DEUS_VULT_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_DEUS_VULT_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_DEUS_VULT_COMBAT', 'AbilityType', 'SDG_ABILITY_DEUS_VULT') ;
INSERT INTO Requirements (RequirementId, RequirementType, ProgressWeight) VALUES ('SDG_REQ_UNIT_HAS_DEUS_VULT', 'REQUIREMENT_UNIT_HAS_ABILITY', 1) ;
INSERT INTO RequirementArguments (RequirementId, Name, Value) VALUES ('SDG_REQ_UNIT_HAS_DEUS_VULT', 'UnitAbilityType', 'SDG_ABILITY_DEUS_VULT') ;
INSERT INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES ('SDG_REQSET_UNIT_HAS_DEUS_VULT', 'REQUIREMENTSET_TEST_ALL') ;
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('SDG_REQSET_UNIT_HAS_DEUS_VULT', 'SDG_REQ_UNIT_HAS_DEUS_VULT'),
('SDG_REQSET_UNIT_HAS_DEUS_VULT', 'DB_REQ_INSIDE_FOREIGN_TERRITORY_WITH_BELIEF') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_DEUS_VULT', 'SDG_DEUS_VULT_UNIT_APPLIES_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_DEUS_VULT_UNIT_APPLIES_MODIFIER', 'MODIFIER_ALL_UNITS_ATTACH_MODIFIER', 'SDG_REQSET_UNIT_HAS_DEUS_VULT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_DEUS_VULT_UNIT_APPLIES_MODIFIER', 'ModifierId', 'SDG_DEUS_VULT_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_DEUS_VULT_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_OPPONENT_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_DEUS_VULT_COMBAT', 'Amount', 5) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_DEUS_VULT_COMBAT', 'Preview', 'LOC_SDG_DEUS_VULT_COMBAT_DESCRIPTION') ;
-- ------------------------------------
-- ------------------------------------
-- Crusade
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_CRUSADE', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_CRUSADE', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_CRUSADE', 'LOC_SDG_ABILITY_CRUSADE_NAME', 'LOC_SDG_ABILITY_CRUSADE_DESCRIPTION', 1) ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_CRUSADE', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_CRUSADE', 'LOC_SDG_CRUSADE', 'LOC_SDG_CRUSADE_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_CRUSADE', 'SDG_CRUSADE_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_CRUSADE_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_CRUSADE_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_CRUSADE_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_CRUSADE_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_CRUSADE_COMBAT', 'AbilityType', 'SDG_ABILITY_CRUSADE') ;
INSERT INTO Requirements (RequirementId, RequirementType, ProgressWeight) VALUES ('SDG_REQ_UNIT_HAS_CRUSADE', 'REQUIREMENT_UNIT_HAS_ABILITY', 1) ;
INSERT INTO RequirementArguments (RequirementId, Name, Value) VALUES ('SDG_REQ_UNIT_HAS_CRUSADE', 'UnitAbilityType', 'SDG_ABILITY_CRUSADE') ;
INSERT INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES ('SDG_REQSET_UNIT_HAS_CRUSADE', 'REQUIREMENTSET_TEST_ALL') ;
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('SDG_REQSET_UNIT_HAS_CRUSADE', 'SDG_REQ_UNIT_HAS_CRUSADE'),
('SDG_REQSET_UNIT_HAS_CRUSADE', 'DB_REQ_INSIDE_FOREIGN_TERRITORY_WITH_BELIEF') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_CRUSADE', 'SDG_CRUSADE_UNIT_APPLIES_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_CRUSADE_UNIT_APPLIES_MODIFIER', 'MODIFIER_ALL_UNITS_ATTACH_MODIFIER', 'SDG_REQSET_UNIT_HAS_CRUSADE') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_CRUSADE_UNIT_APPLIES_MODIFIER', 'ModifierId', 'SDG_CRUSADE_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_CRUSADE_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_ATTACKING_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_CRUSADE_COMBAT', 'Amount', 7) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_CRUSADE_COMBAT', 'Preview', 'LOC_SDG_CRUSADE_COMBAT_DESCRIPTION') ;
-- ------------------------------------
-- ------------------------------------
-- Tzevaot
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_TZEVAOT', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_TZEVAOT', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_TZEVAOT', 'LOC_SDG_ABILITY_TZEVAOT_NAME', 'LOC_SDG_ABILITY_TZEVAOT_DESCRIPTION', 1) ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_TZEVAOT', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_TZEVAOT', 'LOC_SDG_TZEVAOT', 'LOC_SDG_TZEVAOT_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_TZEVAOT', 'SDG_TZEVAOT_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_TZEVAOT_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_TZEVAOT_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_TZEVAOT_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_TZEVAOT_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_TZEVAOT_COMBAT', 'AbilityType', 'SDG_ABILITY_TZEVAOT') ;
INSERT INTO Requirements (RequirementId, RequirementType, ProgressWeight) VALUES ('SDG_REQ_UNIT_HAS_TZEVAOT', 'REQUIREMENT_UNIT_HAS_ABILITY', 1) ;
INSERT INTO RequirementArguments (RequirementId, Name, Value) VALUES ('SDG_REQ_UNIT_HAS_TZEVAOT', 'UnitAbilityType', 'SDG_ABILITY_TZEVAOT') ;
INSERT INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES ('SDG_REQSET_UNIT_HAS_TZEVAOT', 'REQUIREMENTSET_TEST_ALL') ;
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('SDG_REQSET_UNIT_HAS_TZEVAOT', 'SDG_REQ_UNIT_HAS_TZEVAOT'),
('SDG_REQSET_UNIT_HAS_TZEVAOT', 'DB_REQ_INSIDE_HOME_TERRITORY_WITH_BELIEF') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_TZEVAOT', 'SDG_TZEVAOT_UNIT_APPLIES_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_TZEVAOT_UNIT_APPLIES_MODIFIER', 'MODIFIER_ALL_UNITS_ATTACH_MODIFIER', 'SDG_REQSET_UNIT_HAS_TZEVAOT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_TZEVAOT_UNIT_APPLIES_MODIFIER', 'ModifierId', 'SDG_TZEVAOT_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_TZEVAOT_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_OPPONENT_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_TZEVAOT_COMBAT', 'Amount', 4) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_TZEVAOT_COMBAT', 'Preview', 'LOC_SDG_TZEVAOT_COMBAT_DESCRIPTION') ;
-- ------------------------------------
-- ------------------------------------
-- Wall of Righteousness
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_WALL_OF_RIGHTEOUSNESS', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_WALL_OF_RIGHTEOUSNESS', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_WALL_OF_RIGHTEOUSNESS', 'LOC_SDG_ABILITY_WALL_OF_RIGHTEOUSNESS_NAME', 'LOC_SDG_ABILITY_WALL_OF_RIGHTEOUSNESS_DESCRIPTION', 1) ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_WALL_OF_RIGHTEOUSNESS', 'LOC_SDG_WALL_OF_RIGHTEOUSNESS', 'LOC_SDG_WALL_OF_RIGHTEOUSNESS_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS', 'SDG_WALL_OF_RIGHTEOUSNESS_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_WALL_OF_RIGHTEOUSNESS_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_WALL_OF_RIGHTEOUSNESS_COMBAT', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_WALL_OF_RIGHTEOUSNESS_COMBAT', 'AbilityType', 'SDG_ABILITY_WALL_OF_RIGHTEOUSNESS') ;
INSERT INTO Requirements (RequirementId, RequirementType, ProgressWeight) VALUES ('SDG_REQ_UNIT_HAS_WALL_OF_RIGHTEOUSNESS', 'REQUIREMENT_UNIT_HAS_ABILITY', 1) ;
INSERT INTO RequirementArguments (RequirementId, Name, Value) VALUES ('SDG_REQ_UNIT_HAS_WALL_OF_RIGHTEOUSNESS', 'UnitAbilityType', 'SDG_ABILITY_WALL_OF_RIGHTEOUSNESS') ;
INSERT INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES ('SDG_REQSET_UNIT_HAS_WALL_OF_RIGHTEOUSNESS', 'REQUIREMENTSET_TEST_ALL') ;
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('SDG_REQSET_UNIT_HAS_WALL_OF_RIGHTEOUSNESS', 'SDG_REQ_UNIT_HAS_WALL_OF_RIGHTEOUSNESS'),
('SDG_REQSET_UNIT_HAS_WALL_OF_RIGHTEOUSNESS', 'DB_REQ_INSIDE_HOME_TERRITORY_WITH_BELIEF') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS', 'SDG_WALL_OF_RIGHTEOUSNESS_UNIT_APPLIES_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_UNIT_APPLIES_MODIFIER', 'MODIFIER_ALL_UNITS_ATTACH_MODIFIER', 'SDG_REQSET_UNIT_HAS_WALL_OF_RIGHTEOUSNESS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_UNIT_APPLIES_MODIFIER', 'ModifierId', 'SDG_WALL_OF_RIGHTEOUSNESS_COMBAT') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_COMBAT', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 'DB_REQSET_DEFENDING_IS_NOT_CITY_OR_ENCAMPMENT') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_COMBAT', 'Amount', 10) ;
INSERT INTO ModifierStrings (ModifierId, Context, Text) VALUES ('SDG_WALL_OF_RIGHTEOUSNESS_COMBAT', 'Preview', 'LOC_SDG_WALL_OF_RIGHTEOUSNESS_COMBAT_DESCRIPTION') ;
-- ------------------------------------
-- ------------------------------------
-- A Mighty Fortress
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_A_MIGHTY_FORTRESS', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_A_MIGHTY_FORTRESS', 'LOC_SDG_A_MIGHTY_FORTRESS', 'LOC_SDG_A_MIGHTY_FORTRESS_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES ('SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS', 'REQUIREMENTSET_TEST_ALL') ;
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS', 'DB_REQ_CITY_FOLLOWS_RELIGION'),
('SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS', 'DB_REQ_CITY_HAS_WALLS') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_A_MIGHTY_FORTRESS', 'SDG_MIGHTY_FORTRESS_ADJUST_ATTACKS_PER_TURN') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_MIGHTY_FORTRESS_ADJUST_ATTACKS_PER_TURN', 'DB_DM_CITIES_ADJUST_ATTACKS_PER_TURN', 'SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_MIGHTY_FORTRESS_ADJUST_ATTACKS_PER_TURN', 'Amount', 1) ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_A_MIGHTY_FORTRESS', 'SDG_MIGHTY_FORTRESS_ADJUST_ATTACK_RANGE') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_MIGHTY_FORTRESS_ADJUST_ATTACK_RANGE', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_MIGHTY_FORTRESS_ADJUST_ATTACK_RANGE', 'ModifierId', 'SDG_MIGHTY_FORTRESS_ADJUST_ATTACK_RANGE2') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_MIGHTY_FORTRESS_ADJUST_ATTACK_RANGE2', 'DB_DM_DISTRICTS_ADJUST_ATTACK_RANGE', 'DB_REQSET_IS_CITY_CENTER') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_MIGHTY_FORTRESS_ADJUST_ATTACK_RANGE2', 'Amount', 1) ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_A_MIGHTY_FORTRESS', 'SDG_MIGHTY_FORTRESS_PREVENT_RAM') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_MIGHTY_FORTRESS_PREVENT_RAM', 'DB_DM_CITIES_PREVENT_RAM', 'SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_A_MIGHTY_FORTRESS', 'SDG_MIGHTY_FORTRESS_PREVENT_TOWER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_MIGHTY_FORTRESS_PREVENT_TOWER', 'DB_DM_CITIES_PREVENT_TOWER', 'SDG_REQSET_FOLLOWS_RELIGION_AND_HAS_WALLS') ;
-- ------------------------------------
-- ------------------------------------
-- A Memory of Solferino (+10 healing/turn to land units everywhere)
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL', 'KIND_ABILITY') ;
INSERT INTO TypeTags (Type, Tag) VALUES ('SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL', 'DB_CLASS_LAND_COMBAT') ;
INSERT INTO UnitAbilities (UnitAbilityType, Name, Description, Inactive) VALUES ('SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL', 'LOC_SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL_NAME', 'LOC_SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL_DESCRIPTION', 1) ;
INSERT INTO UnitAbilityModifiers (UnitAbilityType, ModifierId) VALUES ('SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL', 'SDG_ABILITY_SOLFERINO_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ABILITY_SOLFERINO_MODIFIER', 'MODIFIER_PLAYER_UNIT_ADJUST_HEAL_PER_TURN') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES
('SDG_ABILITY_SOLFERINO_MODIFIER', 'Amount', 10),
('SDG_ABILITY_SOLFERINO_MODIFIER', 'Type', 'ALL') ;
INSERT INTO Types (Type, Kind) VALUES ('SDG_A_MEMORY_OF_SOLFERINO', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_MILITARY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_A_MEMORY_OF_SOLFERINO', 'LOC_SDG_A_MEMORY_OF_SOLFERINO', 'LOC_SDG_A_MEMORY_OF_SOLFERINO_DESCRIPTION', 'SDG_BELIEF_CLASS_MILITARY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_A_MEMORY_OF_SOLFERINO', 'SDG_A_MEMORY_OF_SOLFERINO_CITIES_ATTACH_MODIFIER') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_A_MEMORY_OF_SOLFERINO_CITIES_ATTACH_MODIFIER', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_A_MEMORY_OF_SOLFERINO_CITIES_ATTACH_MODIFIER', 'ModifierId', 'SDG_ACTIVATE_SOLFERINO_HEALING') ;
INSERT INTO Modifiers (ModifierId, ModifierType) VALUES ('SDG_ACTIVATE_SOLFERINO_HEALING', 'MODIFIER_SINGLE_CITY_GRANT_ABILITY_FOR_TRAINED_UNITS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_ACTIVATE_SOLFERINO_HEALING', 'AbilityType', 'SDG_ABILITY_A_MEMORY_OF_SOLFERINO_HEAL') ;