-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGoldenAge_Buildings_Expansion_Commercial.sql
702 lines (631 loc) · 46.9 KB
/
GoldenAge_Buildings_Expansion_Commercial.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
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
--For DLC compatiblity
INSERT OR IGNORE INTO Types
(Type, Kind) VALUES
('GOLDEN_TRAIT_GILDED_VAULT', 'KIND_TRAIT'),
('GOLDEN_TRAIT_SUKIENNICE', 'KIND_TRAIT');
INSERT OR IGNORE INTO CivilizationTraits
(CivilizationType, TraitType) SELECT
'CIVILIZATION_BARBARIAN', 'GOLDEN_TRAIT_GILDED_VAULT' WHERE NOT EXISTS (SELECT Type FROM Types WHERE Type = 'BUILDING_GILDED_VAULT');
INSERT OR IGNORE INTO CivilizationTraits
(CivilizationType, TraitType) SELECT
'CIVILIZATION_BARBARIAN', 'GOLDEN_TRAIT_SUKIENNICE' WHERE NOT EXISTS (SELECT Type FROM Types WHERE Type = 'BUILDING_SUKIENNICE');
INSERT OR IGNORE INTO Types
(Type, Kind) VALUES
('BUILDING_GILDED_VAULT', 'KIND_BUILDING'),
('BUILDING_SUKIENNICE', 'KIND_BUILDING');
INSERT OR IGNORE INTO Traits
(TraitType) VALUES
('GOLDEN_TRAIT_GILDED_VAULT'),
('GOLDEN_TRAIT_SUKIENNICE');
INSERT OR IGNORE INTO Buildings
(BuildingType, Name, Description, PrereqTech, PrereqCivic, Cost, PrereqDistrict, PurChaseYield, Maintenance, CitizenSlots, RegionalRange, AdvisorType, TraitType) VALUES
('BUILDING_GILDED_VAULT', 'LOC_BUILDING_GILDED_VAULT_NAME', 'LOC_BUILDING_GILDED_VAULT_DESCRIPTION', 'TECH_BANKING', NULL, 480, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 4, 'ADVISOR_GENERIC', 'GOLDEN_TRAIT_GILDED_VAULT'),
('BUILDING_SUKIENNICE', 'LOC_BUILDING_SUKIENNICE_NAME', 'LOC_BUILDING_SUKIENNICE_DESCRIPTION', 'TECH_CURRENCY', NULL, 120, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 0, 'ADVISOR_GENERIC', 'GOLDEN_TRAIT_SUKIENNICE');
----------------
INSERT OR REPLACE INTO Types
(Type, Kind) VALUES
('BUILDING_MINT', 'KIND_BUILDING'),
('BUILDING_POST_STATION', 'KIND_BUILDING'),
('BUILDING_TAX_BUREAU', 'KIND_BUILDING'),
('BUILDING_COMMERCIAL', 'KIND_BUILDING'),
('BUILDING_URBAN_CONSTRUCTION', 'KIND_BUILDING'),
('BUILDING_MILITARY_CORP', 'KIND_BUILDING'),
('BUILDING_LUXURY_GOODS', 'KIND_BUILDING'),
('BUILDING_DIGITAL_CURRENCY', 'KIND_BUILDING'),
('BUILDING_FINANCIAL_TOWER', 'KIND_BUILDING'),
('BUILDING_MINING_GROUP', 'KIND_BUILDING');
INSERT OR REPLACE INTO Buildings
(BuildingType, Name, Description, PrereqTech, PrereqCivic, Cost, PrereqDistrict, PurChaseYield, Maintenance, CitizenSlots, RegionalRange, AdvisorType) VALUES
('BUILDING_MINT', 'LOC_BUILDING_MINT_NAME', 'LOC_BUILDING_MINT_DESCRIPTION', 'TECH_IRON_WORKING', NULL, 160, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 3, 'ADVISOR_GENERIC'),
('BUILDING_POST_STATION', 'LOC_BUILDING_POST_STATION_NAME', 'LOC_BUILDING_POST_STATION_DESCRIPTION', 'TECH_HORSEBACK_RIDING', NULL, 160, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 3, 'ADVISOR_GENERIC'),
('BUILDING_TAX_BUREAU', 'LOC_BUILDING_TAX_BUREAU_NAME', 'LOC_BUILDING_TAX_BUREAU_DESCRIPTION', 'TECH_PRINTING', NULL, 480, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 4, 'ADVISOR_GENERIC'),
('BUILDING_COMMERCIAL', 'LOC_BUILDING_BANK_NAME', 'LOC_BUILDING_BANK_DESCRIPTION', 'TECH_BANKING', NULL, 480, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 4, 'ADVISOR_GENERIC'),
('BUILDING_URBAN_CONSTRUCTION', 'LOC_BUILDING_URBAN_CONSTRUCTION_NAME', 'LOC_BUILDING_URBAN_CONSTRUCTION_DESCRIPTION', 'TECH_ECONOMICS', NULL, 800, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 5, 'ADVISOR_GENERIC'),
('BUILDING_MILITARY_CORP', 'LOC_BUILDING_MILITARY_CORP_NAME', 'LOC_BUILDING_MILITARY_CORP_DESCRIPTION', 'TECH_MILITARY_SCIENCE', NULL, 800, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 5, 'ADVISOR_GENERIC'),
('BUILDING_LUXURY_GOODS', 'LOC_BUILDING_LUXURY_GOODS_NAME', 'LOC_BUILDING_LUXURY_GOODS_DESCRIPTION', NULL, 'CIVIC_SOCIAL_MEDIA', 1600, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 6, 'ADVISOR_GENERIC'),
('BUILDING_DIGITAL_CURRENCY', 'LOC_BUILDING_DIGITAL_CURRENCY_NAME', 'LOC_BUILDING_DIGITAL_CURRENCY_DESCRIPTION', NULL, 'CIVIC_SOCIAL_MEDIA', 1600, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 6, 'ADVISOR_GENERIC'),
('BUILDING_FINANCIAL_TOWER', 'LOC_BUILDING_FINANCIAL_TOWER_NAME', 'LOC_BUILDING_FINANCIAL_TOWER_DESCRIPTION', NULL, 'CIVIC_GLOBALIZATION', 1600, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 6, 'ADVISOR_GENERIC'),
('BUILDING_MINING_GROUP', 'LOC_BUILDING_MINING_GROUP_NAME', 'LOC_BUILDING_MINING_GROUP_DESCRIPTION', NULL, 'CIVIC_GLOBALIZATION', 1600, 'DISTRICT_COMMERCIAL_HUB', 'YIELD_GOLD', 0, 1, 6, 'ADVISOR_GENERIC');
UPDATE Buildings SET RegionalRange=3
WHERE BuildingType='BUILDING_MARKET';
UPDATE Buildings SET RegionalRange=4,Name='LOC_BUILDING_COMMERCIAL_NAME',Description='LOC_BUILDING_COMMERCIAL_DESCRIPTION'--由于镀金宝库奇妙bug,对调银行和商业街
WHERE BuildingType='BUILDING_BANK';
UPDATE Buildings SET RegionalRange=4
WHERE BuildingType='BUILDING_GILDED_VAULT';
UPDATE Buildings SET RegionalRange=4
WHERE BuildingType='BUILDING_GRAND_BAZAAR';
UPDATE Buildings SET RegionalRange=5
WHERE BuildingType='BUILDING_STOCK_EXCHANGE';
UPDATE BuildingReplaces SET ReplacesBuildingType='BUILDING_COMMERCIAL'
WHERE CivUniqueBuildingType='BUILDING_GRAND_BAZAAR';
INSERT OR REPLACE INTO MutuallyExclusiveBuildings
(Building, MutuallyExclusiveBuilding) VALUES
('BUILDING_MARKET', 'BUILDING_MINT'),
('BUILDING_MARKET', 'BUILDING_POST_STATION'),
('BUILDING_MINT', 'BUILDING_POST_STATION'),
('BUILDING_MINT', 'BUILDING_MARKET'),
('BUILDING_POST_STATION', 'BUILDING_MARKET'),
('BUILDING_POST_STATION', 'BUILDING_MINT'),
('BUILDING_BANK', 'BUILDING_TAX_BUREAU'),
('BUILDING_BANK', 'BUILDING_COMMERCIAL'),
('BUILDING_COMMERCIAL', 'BUILDING_TAX_BUREAU'),
('BUILDING_COMMERCIAL', 'BUILDING_BANK'),
('BUILDING_TAX_BUREAU', 'BUILDING_BANK'),
('BUILDING_TAX_BUREAU', 'BUILDING_COMMERCIAL'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_MILITARY_CORP'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_STOCK_EXCHANGE'),
('BUILDING_MILITARY_CORP', 'BUILDING_URBAN_CONSTRUCTION'),
('BUILDING_MILITARY_CORP', 'BUILDING_STOCK_EXCHANGE'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_MILITARY_CORP'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_URBAN_CONSTRUCTION'),
('BUILDING_LUXURY_GOODS', 'BUILDING_DIGITAL_CURRENCY'),
('BUILDING_LUXURY_GOODS', 'BUILDING_FINANCIAL_TOWER'),
('BUILDING_LUXURY_GOODS', 'BUILDING_MINING_GROUP'),
('BUILDING_DIGITAL_CURRENCY', 'BUILDING_LUXURY_GOODS'),
('BUILDING_DIGITAL_CURRENCY', 'BUILDING_FINANCIAL_TOWER'),
('BUILDING_DIGITAL_CURRENCY', 'BUILDING_MINING_GROUP'),
('BUILDING_FINANCIAL_TOWER', 'BUILDING_DIGITAL_CURRENCY'),
('BUILDING_FINANCIAL_TOWER', 'BUILDING_LUXURY_GOODS'),
('BUILDING_FINANCIAL_TOWER', 'BUILDING_MINING_GROUP'),
('BUILDING_MINING_GROUP', 'BUILDING_LUXURY_GOODS'),
('BUILDING_MINING_GROUP', 'BUILDING_DIGITAL_CURRENCY'),
('BUILDING_MINING_GROUP', 'BUILDING_FINANCIAL_TOWER');
INSERT OR REPLACE INTO BuildingPrereqs
(Building, PrereqBuilding) VALUES
('BUILDING_BANK', 'BUILDING_MARKET'),
('BUILDING_BANK', 'BUILDING_MINT'),
('BUILDING_BANK', 'BUILDING_POST_STATION'),
('BUILDING_BANK', 'BUILDING_SUKIENNICE'),
('BUILDING_GRAND_BAZAAR', 'BUILDING_MARKET'),
('BUILDING_GRAND_BAZAAR', 'BUILDING_MINT'),
('BUILDING_GRAND_BAZAAR', 'BUILDING_POST_STATION'),
('BUILDING_GRAND_BAZAAR', 'BUILDING_SUKIENNICE'),
('BUILDING_COMMERCIAL', 'BUILDING_MARKET'),
('BUILDING_COMMERCIAL', 'BUILDING_MINT'),
('BUILDING_COMMERCIAL', 'BUILDING_POST_STATION'),
('BUILDING_COMMERCIAL', 'BUILDING_SUKIENNICE'),
('BUILDING_GILDED_VAULT', 'BUILDING_MARKET'),
('BUILDING_GILDED_VAULT', 'BUILDING_MINT'),
('BUILDING_GILDED_VAULT', 'BUILDING_POST_STATION'),
('BUILDING_GILDED_VAULT', 'BUILDING_SUKIENNICE'),
('BUILDING_TAX_BUREAU', 'BUILDING_MARKET'),
('BUILDING_TAX_BUREAU', 'BUILDING_MINT'),
('BUILDING_TAX_BUREAU', 'BUILDING_POST_STATION'),
('BUILDING_TAX_BUREAU', 'BUILDING_SUKIENNICE'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_BANK'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_GRAND_BAZAAR'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_COMMERCIAL'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_GILDED_VAULT'),
('BUILDING_URBAN_CONSTRUCTION', 'BUILDING_TAX_BUREAU'),
('BUILDING_MILITARY_CORP', 'BUILDING_BANK'),
('BUILDING_MILITARY_CORP', 'BUILDING_GRAND_BAZAAR'),
('BUILDING_MILITARY_CORP', 'BUILDING_COMMERCIAL'),
('BUILDING_MILITARY_CORP', 'BUILDING_GILDED_VAULT'),
('BUILDING_MILITARY_CORP', 'BUILDING_TAX_BUREAU'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_BANK'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_GRAND_BAZAAR'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_COMMERCIAL'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_GILDED_VAULT'),
('BUILDING_STOCK_EXCHANGE', 'BUILDING_TAX_BUREAU'),
('BUILDING_LUXURY_GOODS', 'BUILDING_URBAN_CONSTRUCTION'),
('BUILDING_LUXURY_GOODS', 'BUILDING_MILITARY_CORP'),
('BUILDING_LUXURY_GOODS', 'BUILDING_STOCK_EXCHANGE'),
('BUILDING_DIGITAL_CURRENCY', 'BUILDING_URBAN_CONSTRUCTION'),
('BUILDING_DIGITAL_CURRENCY', 'BUILDING_MILITARY_CORP'),
('BUILDING_DIGITAL_CURRENCY', 'BUILDING_STOCK_EXCHANGE'),
('BUILDING_FINANCIAL_TOWER', 'BUILDING_URBAN_CONSTRUCTION'),
('BUILDING_FINANCIAL_TOWER', 'BUILDING_MILITARY_CORP'),
('BUILDING_FINANCIAL_TOWER', 'BUILDING_STOCK_EXCHANGE'),
('BUILDING_MINING_GROUP', 'BUILDING_URBAN_CONSTRUCTION'),
('BUILDING_MINING_GROUP', 'BUILDING_MILITARY_CORP'),
('BUILDING_MINING_GROUP', 'BUILDING_STOCK_EXCHANGE');
INSERT OR REPLACE INTO Building_YieldChanges
(BuildingType, YieldType, YieldChange) VALUES
('BUILDING_MARKET', 'YIELD_GOLD', 2),
('BUILDING_MINT', 'YIELD_GOLD', 2),
('BUILDING_POST_STATION', 'YIELD_GOLD', 2),
('BUILDING_SUKIENNICE', 'YIELD_GOLD', 2),
('BUILDING_GRAND_BAZAAR', 'YIELD_GOLD', 4),
('BUILDING_BANK', 'YIELD_GOLD', 4),
('BUILDING_COMMERCIAL', 'YIELD_GOLD', 4),
('BUILDING_GILDED_VAULT', 'YIELD_GOLD', 4),
('BUILDING_TAX_BUREAU', 'YIELD_GOLD', 4),
('BUILDING_URBAN_CONSTRUCTION', 'YIELD_GOLD', 6),
('BUILDING_MILITARY_CORP', 'YIELD_GOLD', 6),
('BUILDING_STOCK_EXCHANGE', 'YIELD_GOLD', 6),
('BUILDING_LUXURY_GOODS', 'YIELD_GOLD', 8),
('BUILDING_DIGITAL_CURRENCY', 'YIELD_GOLD', 8),
('BUILDING_FINANCIAL_TOWER', 'YIELD_GOLD', 8),
('BUILDING_MINING_GROUP', 'YIELD_GOLD', 8);
INSERT OR REPLACE INTO District_CitizenGreatPersonPoints
(DistrictType, GreatPersonClassType, PointsPerTurn) VALUES
('DISTRICT_COMMERCIAL_HUB', 'GREAT_PERSON_CLASS_MERCHANT', 1);
INSERT OR REPLACE INTO Building_GreatPersonPoints
(BuildingType, GreatPersonClassType, PointsPerTurn) SELECT
BuildingType, 'GREAT_PERSON_CLASS_MERCHANT', 1 FROM Buildings WHERE PrereqDistrict = 'DISTRICT_COMMERCIAL_HUB';
INSERT OR REPLACE INTO Buildings_XP2
(BuildingType, RequiredPower) VALUES
('BUILDING_MARKET', 1),
('BUILDING_MINT', 1),
('BUILDING_POST_STATION', 1),
('BUILDING_SUKIENNICE', 1),
('BUILDING_GRAND_BAZAAR', 2),
('BUILDING_BANK', 2),
('BUILDING_COMMERCIAL', 2),
('BUILDING_GILDED_VAULT', 2),
('BUILDING_TAX_BUREAU', 2),
('BUILDING_NAVIGATION_SCHOOL', 2),
('BUILDING_URBAN_CONSTRUCTION', 3),
('BUILDING_MILITARY_CORP', 3),
('BUILDING_STOCK_EXCHANGE', 3),
('BUILDING_LUXURY_GOODS', 4),
('BUILDING_DIGITAL_CURRENCY', 4),
('BUILDING_FINANCIAL_TOWER', 4),
('BUILDING_MINING_GROUP', 4);
INSERT OR REPLACE INTO Building_YieldChangesBonusWithPower
(BuildingType, YieldType, YieldChange) VALUES
('BUILDING_MARKET', 'YIELD_GOLD', 2),
('BUILDING_MINT', 'YIELD_GOLD', 2),
('BUILDING_POST_STATION', 'YIELD_GOLD', 2),
('BUILDING_SUKIENNICE', 'YIELD_GOLD', 2),
('BUILDING_GRAND_BAZAAR', 'YIELD_GOLD', 4),
('BUILDING_BANK', 'YIELD_GOLD', 4),
('BUILDING_COMMERCIAL', 'YIELD_GOLD', 4),
('BUILDING_GILDED_VAULT', 'YIELD_GOLD', 4),
('BUILDING_TAX_BUREAU', 'YIELD_GOLD', 4),
('BUILDING_NAVIGATION_SCHOOL', 'YIELD_GOLD', 4),
('BUILDING_URBAN_CONSTRUCTION', 'YIELD_GOLD', 6),
('BUILDING_MILITARY_CORP', 'YIELD_GOLD', 6),
('BUILDING_STOCK_EXCHANGE', 'YIELD_GOLD', 6),
('BUILDING_LUXURY_GOODS', 'YIELD_GOLD', 8),
('BUILDING_DIGITAL_CURRENCY', 'YIELD_GOLD', 8),
('BUILDING_FINANCIAL_TOWER', 'YIELD_GOLD', 8),
('BUILDING_MINING_GROUP', 'YIELD_GOLD', 8);
INSERT OR REPLACE INTO Building_CitizenYieldChanges
(BuildingType, YieldType, YieldChange) VALUES
('BUILDING_MARKET', 'YIELD_GOLD', 1),
('BUILDING_MINT', 'YIELD_GOLD', 1),
('BUILDING_POST_STATION', 'YIELD_GOLD', 1),
('BUILDING_SUKIENNICE', 'YIELD_GOLD', 1),
('BUILDING_GRAND_BAZAAR', 'YIELD_GOLD', 1),
('BUILDING_BANK', 'YIELD_GOLD', 1),
('BUILDING_COMMERCIAL', 'YIELD_GOLD', 1),
('BUILDING_GILDED_VAULT', 'YIELD_GOLD', 1),
('BUILDING_TAX_BUREAU', 'YIELD_GOLD', 1),
('BUILDING_NAVIGATION_SCHOOL', 'YIELD_GOLD', 1),
('BUILDING_URBAN_CONSTRUCTION', 'YIELD_GOLD', 1),
('BUILDING_MILITARY_CORP', 'YIELD_GOLD', 1),
('BUILDING_STOCK_EXCHANGE', 'YIELD_GOLD', 1),
('BUILDING_LUXURY_GOODS', 'YIELD_GOLD', 1),
('BUILDING_DIGITAL_CURRENCY', 'YIELD_GOLD', 1),
('BUILDING_FINANCIAL_TOWER', 'YIELD_GOLD', 1),
('BUILDING_MINING_GROUP', 'YIELD_GOLD', 1);
-- Clear all the old modifiers --
-- Add universal buff AFTER THIS FILE !!! --
DELETE FROM BuildingModifiers WHERE BuildingType IN
( 'BUILDING_MARKET',
'BUILDING_SUKIENNICE',
'BUILDING_GRAND_BAZAAR',
'BUILDING_BANK',
'BUILDING_GILDED_VAULT',
'BUILDING_STOCK_EXCHANGE');
--Market
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MARKET', 'GOLDEN_MARKET_LUXURY_GOLD');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_MARKET_LUXURY_GOLD', 'MODIFIER_CITY_PLOT_YIELDS_ADJUST_PLOT_YIELD', 0, 0, 0, NULL, 'GOLDEN_PLOT_HAS_ANY_LUXURY_RESOURCE_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MARKET_LUXURY_GOLD', 'Amount', 2),
('GOLDEN_MARKET_LUXURY_GOLD', 'YieldType', 'YIELD_GOLD');
--Mint
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MINT', 'GOLDEN_MINT_GOLD');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_MINT_GOLD', 'MODIFIER_CITY_PLOT_YIELDS_ADJUST_PLOT_YIELD', 0, 0, 0, NULL, 'GOLDEN_PLOT_IS_WITHIN_TWO_TILES_TO_DISTRICT_COMMERCIAL_HUB_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MINT_GOLD', 'Amount', 1),
('GOLDEN_MINT_GOLD', 'YieldType', 'YIELD_GOLD');
--Post Station
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_POST_STATION', 'GOLDEN_POST_STATION_EXTRA_ROUTE'),
('BUILDING_POST_STATION', 'GOLDEN_POST_STATION_HORSES');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_POST_STATION_EXTRA_ROUTE', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_CAPACITY', 0, 0, 0, NULL, 'GOLDEN_CITY_IMPROVED_HORSE_OR_OIL_REQUIREMENTS'),
('GOLDEN_POST_STATION_HORSES', 'MODIFIER_PLAYER_ADJUST_FREE_RESOURCE_IMPORT', 0, 0, 0, NULL, 'GOLDEN_CITY_IMPROVED_HORSE_OR_OIL_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_POST_STATION_EXTRA_ROUTE', 'Amount', 1),
('GOLDEN_POST_STATION_HORSES', 'ResourceType', 'RESOURCE_HORSES'),
('GOLDEN_POST_STATION_HORSES', 'Amount', -1);
INSERT OR REPLACE INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES
('GOLDEN_CITY_IMPROVED_HORSE_OR_OIL_REQUIREMENTS', 'REQUIREMENTSET_TEST_ANY');
INSERT OR REPLACE INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('GOLDEN_CITY_IMPROVED_HORSE_OR_OIL_REQUIREMENTS', 'GOLDEN_REQUIRES_IMPROVED_HORSE');
--('GOLDEN_CITY_IMPROVED_HORSE_OR_OIL_REQUIREMENTS', 'GOLDEN_REQUIRES_IMPROVED_OIL');
INSERT OR REPLACE INTO Requirements (RequirementId, RequirementType) VALUES
('GOLDEN_REQUIRES_IMPROVED_HORSE', 'REQUIREMENT_CITY_HAS_RESOURCE_TYPE_IMPROVED');
--('GOLDEN_REQUIRES_IMPROVED_OIL', 'REQUIREMENT_CITY_HAS_RESOURCE_TYPE_IMPROVED'); --我的油牧啊
INSERT OR REPLACE INTO RequirementArguments (RequirementId, Name, Value) VALUES
('GOLDEN_REQUIRES_IMPROVED_HORSE', 'ResourceType', 'RESOURCE_HORSES');
--('GOLDEN_REQUIRES_IMPROVED_OIL', 'ResourceType', 'RESOURCE_OIL');
--Sukiennice
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_SUKIENNICE', 'GOLDEN_MARKET_LUXURY_GOLD'),
('BUILDING_SUKIENNICE', 'GOLDEN_SUKIENNICE_FOREIGN_LUXURY_GOLD');
INSERT OR REPLACE INTO Types (Type, Kind) VALUES
('MODIFIER_SINGLE_CITY_ADJUST_TRADE_ROUTE_YIELD_PER_DESTINATION_LUXURY_FOR_INTERNATIONAL', 'KIND_MODIFIER');
INSERT OR REPLACE INTO DynamicModifiers (ModifierType, CollectionType, EffectType) VALUES
('MODIFIER_SINGLE_CITY_ADJUST_TRADE_ROUTE_YIELD_PER_DESTINATION_LUXURY_FOR_INTERNATIONAL', 'COLLECTION_OWNER', 'EFFECT_ADJUST_CITY_TRADE_ROUTE_YIELD_PER_DESTINATION_LUXURY_RESOURCE_FOR_INTERNATIONAL');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_SUKIENNICE_FOREIGN_LUXURY_GOLD', 'MODIFIER_SINGLE_CITY_ADJUST_TRADE_ROUTE_YIELD_PER_DESTINATION_LUXURY_FOR_INTERNATIONAL', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_SUKIENNICE_FOREIGN_LUXURY_GOLD', 'Amount', 3),
('GOLDEN_SUKIENNICE_FOREIGN_LUXURY_GOLD', 'YieldType', 'YIELD_GOLD');
-- T1 trade routes
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_POST_STATION', 'GOLDEN_COMMERCIAL_HUB_T1_TRADE_ROUTE'),
('BUILDING_MINT', 'GOLDEN_COMMERCIAL_HUB_T1_TRADE_ROUTE'),
('BUILDING_MARKET', 'GOLDEN_COMMERCIAL_HUB_T1_TRADE_ROUTE'),
('BUILDING_SUKIENNICE', 'GOLDEN_COMMERCIAL_HUB_T1_TRADE_ROUTE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_COMMERCIAL_HUB_T1_TRADE_ROUTE', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_CAPACITY', 0, 0, 0, NULL, 'GOLDEN_NO_HARBOR_T1_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_COMMERCIAL_HUB_T1_TRADE_ROUTE', 'Amount', 1);
INSERT OR REPLACE INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES
('GOLDEN_NO_HARBOR_T1_REQUIREMENTS', 'REQUIREMENTSET_TEST_ALL');
INSERT OR REPLACE INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES
('GOLDEN_NO_HARBOR_T1_REQUIREMENTS', 'GOLDEN_REQUIRES_NO_LIGHTHOUSE');
INSERT OR REPLACE INTO Requirements (RequirementId, RequirementType, Inverse) VALUES
('GOLDEN_REQUIRES_NO_LIGHTHOUSE', 'REQUIREMENT_CITY_HAS_BUILDING', 1);
INSERT OR REPLACE INTO RequirementArguments (RequirementId, Name, Value) VALUES
('GOLDEN_REQUIRES_NO_LIGHTHOUSE', 'BuildingType', 'BUILDING_LIGHTHOUSE');
--Don't forget to modify this at Harbor expansion!!!
UPDATE Modifiers SET SubjectRequirementSetId = NULL WHERE ModifierId = 'LIGHTHOUSE_TRADE_ROUTE_CAPACITY';
-- Commercial and Gilded Vault
--CREATE TABLE 'GA_Adjacency' ('AdjacencyValue' INT NOT NULL);
INSERT OR REPLACE INTO GA_Adjacency (AdjacencyValue) VALUES
(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);
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) SELECT
'BUILDING_BANK', 'GOLDEN_COMMERCIAL_GOLD_ADJACENCY_' ||AdjacencyValue FROM GA_Adjacency;
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) SELECT
'BUILDING_GILDED_VAULT', 'GOLDEN_GILDED_VAULT_GOLD_ADJACENCY_' ||AdjacencyValue FROM GA_Adjacency;
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) SELECT
'BUILDING_GILDED_VAULT', 'GOLDEN_GILDED_VAULT_CULTURE_ADJACENCY_' ||AdjacencyValue FROM GA_Adjacency;
INSERT OR REPLACE INTO Modifiers
(ModifierId , ModifierType, SubjectRequirementSetId) SELECT
'GOLDEN_COMMERCIAL_GOLD_ADJACENCY_' ||AdjacencyValue, 'MODIFIER_BUILDING_YIELD_CHANGE', 'GOLDEN_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue|| '_REQUIREMENTS' FROM GA_Adjacency;
INSERT OR REPLACE INTO Modifiers
(ModifierId , ModifierType, SubjectRequirementSetId) SELECT
'GOLDEN_GILDED_VAULT_GOLD_ADJACENCY_' ||AdjacencyValue, 'MODIFIER_BUILDING_YIELD_CHANGE', 'GOLDEN_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue|| '_REQUIREMENTS' FROM GA_Adjacency;
INSERT OR REPLACE INTO Modifiers
(ModifierId , ModifierType, SubjectRequirementSetId) SELECT
'GOLDEN_GILDED_VAULT_CULTURE_ADJACENCY_' ||AdjacencyValue, 'MODIFIER_BUILDING_YIELD_CHANGE', 'GOLDEN_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue|| '_REQUIREMENTS' FROM GA_Adjacency;
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'Amount' , 1 FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_COMMERCIAL_GOLD_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'BuildingType' , 'BUILDING_BANK' FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_COMMERCIAL_GOLD_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'YieldType' , 'YIELD_GOLD' FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_COMMERCIAL_GOLD_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'Amount' , 1 FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_GILDED_VAULT_GOLD_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'BuildingType' , 'BUILDING_GILDED_VAULT' FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_GILDED_VAULT_GOLD_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'YieldType' , 'YIELD_GOLD' FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_GILDED_VAULT_GOLD_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'Amount' , 1 FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_GILDED_VAULT_CULTURE_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'BuildingType' , 'BUILDING_GILDED_VAULT' FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_GILDED_VAULT_CULTURE_ADJACENCY_%';
INSERT OR REPLACE INTO ModifierArguments
(ModifierId , Name , Value) SELECT
ModifierId , 'YieldType' , 'YIELD_CULTURE' FROM BuildingModifiers WHERE ModifierId LIKE 'GOLDEN_GILDED_VAULT_CULTURE_ADJACENCY_%';
INSERT OR IGNORE INTO RequirementSets
(RequirementSetId, RequirementSetType) SELECT
'GOLDEN_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue|| '_REQUIREMENTS', 'REQUIREMENTSET_TEST_ALL' FROM GA_Adjacency;
INSERT OR IGNORE INTO RequirementSetRequirements
(RequirementSetId, RequirementId) SELECT
'GOLDEN_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue|| '_REQUIREMENTS', 'GOLDEN_REQUIRES_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue FROM GA_Adjacency;
INSERT OR IGNORE INTO Requirements
(RequirementId, RequirementType) SELECT
'GOLDEN_REQUIRES_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue, 'REQUIREMENT_CITY_HAS_HIGH_ADJACENCY_DISTRICT' FROM GA_Adjacency;
INSERT OR IGNORE INTO RequirementArguments
(RequirementId, Name, Value) SELECT
'GOLDEN_REQUIRES_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue, 'Amount', AdjacencyValue FROM GA_Adjacency;
INSERT OR IGNORE INTO RequirementArguments
(RequirementId, Name, Value) SELECT
'GOLDEN_REQUIRES_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue, 'DistrictType', 'DISTRICT_COMMERCIAL_HUB' FROM GA_Adjacency;
INSERT OR IGNORE INTO RequirementArguments
(RequirementId, Name, Value) SELECT
'GOLDEN_REQUIRES_COMMERCIAL_HUB_GOLD_' ||AdjacencyValue, 'YieldType', 'YIELD_GOLD' FROM GA_Adjacency;
--Tax Bureau
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_TAX_BUREAU', 'GOLDEN_TAX_BUREAU_POPULATION_GOLD');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_TAX_BUREAU_POPULATION_GOLD', 'MODIFIER_SINGLE_CITY_ADJUST_CITY_YIELD_PER_POPULATION', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_TAX_BUREAU_POPULATION_GOLD', 'Amount', 1),
('GOLDEN_TAX_BUREAU_POPULATION_GOLD', 'YieldType', 'YIELD_GOLD');
--Grand Bazaar
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_GRAND_BAZAAR', 'GOLDEN_GRAND_BAZAAR_LUXURY'),
('BUILDING_GRAND_BAZAAR', 'GOLDEN_GRAND_BAZAAR_STRATEGIC');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_GRAND_BAZAAR_LUXURY', 'MODIFIER_SINGLE_CITY_ADJUST_EXTRA_AMENITY_FOR_LUXURY_DIVERSITY', 0, 0, 0, NULL, NULL),
('GOLDEN_GRAND_BAZAAR_STRATEGIC', 'MODIFIER_SINGLE_CITY_ADJUST_EXTRA_ACCUMULATION_FOR_STRATEGIC_DIVERSITY', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_GRAND_BAZAAR_LUXURY', 'Amount', 1),
('GOLDEN_GRAND_BAZAAR_STRATEGIC', 'Amount', 1);
--Bank
UPDATE Buildings SET CitizenSlots = 3 WHERE BuildingType = 'BUILDING_COMMERCIAL';
UPDATE Buildings SET CitizenSlots = 3 WHERE BuildingType = 'BUILDING_GRAND_BAZAAR';
UPDATE Building_CitizenYieldChanges SET YieldChange = 3 WHERE BuildingType = 'BUILDING_COMMERCIAL';
UPDATE Building_CitizenYieldChanges SET YieldChange = 3 WHERE BuildingType = 'BUILDING_GRAND_BAZAAR';
-- T2 trade routes
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_BANK', 'GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE'),
('BUILDING_TAX_BUREAU', 'GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE'),
('BUILDING_GRAND_BAZAAR', 'GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE'),
('BUILDING_GILDED_VAULT', 'GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE'),
('BUILDING_COMMERCIAL', 'GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_CAPACITY', 0, 0, 0, NULL, 'GOLDEN_CITY_HAS_TWENTYFOUR_POPULATION_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_COMMERCIAL_HUB_T2_TRADE_ROUTE', 'Amount', 1);
-- Urban Construction
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_URBAN_CONSTRUCTION', 'GOLDEN_URBAN_CONSTRUCTION_SALE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId, SubjectStackLimit) VALUES
('GOLDEN_URBAN_CONSTRUCTION_SALE', 'MODIFIER_PLAYER_CITIES_ADJUST_ALL_BUILDINGS_PURCHASE_COST', 0, 0, 0, NULL, NULL, 6);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_URBAN_CONSTRUCTION_SALE', 'Amount', 5);
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_URBAN_CONSTRUCTION', 'GOLDEN_URBAN_CONSTRUCTION_RETURN');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_URBAN_CONSTRUCTION_RETURN', 'MODIFIER_SINGLE_CITY_GRANT_YIELD_PER_BUILDING_COST', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_URBAN_CONSTRUCTION_RETURN', 'BuildingProductionPercent', 25),
('GOLDEN_URBAN_CONSTRUCTION_RETURN', 'IncludeWonder', 0),
('GOLDEN_URBAN_CONSTRUCTION_RETURN', 'YieldType', 'YIELD_GOLD');
-- Military Corporation
INSERT OR REPLACE INTO Types (Type, Kind) VALUES
('MODIFIER_PLAYER_CITIES_ADJUST_ALL_UNITS_PURCHASE_COST', 'KIND_MODIFIER');
INSERT OR REPLACE INTO DynamicModifiers (ModifierType, CollectionType, EffectType) VALUES
('MODIFIER_PLAYER_CITIES_ADJUST_ALL_UNITS_PURCHASE_COST', 'COLLECTION_PLAYER_CITIES', 'EFFECT_ADJUST_ALL_UNITS_PURCHASE_COST');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MILITARY_CORP', 'GOLDEN_MILITARY_CORP_SALE_LAND');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId, SubjectStackLimit) VALUES
('GOLDEN_MILITARY_CORP_SALE_LAND', 'MODIFIER_PLAYER_CITIES_ADJUST_ALL_UNITS_PURCHASE_COST', 0, 0, 0, NULL, NULL, 6);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MILITARY_CORP_SALE_LAND', 'Amount', 5),
('GOLDEN_MILITARY_CORP_SALE_LAND', 'IncludeCivilian', 1),
('GOLDEN_MILITARY_CORP_SALE_LAND', 'UnitDomain', 'DOMAIN_LAND');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MILITARY_CORP', 'GOLDEN_MILITARY_CORP_SALE_SEA');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId, SubjectStackLimit) VALUES
('GOLDEN_MILITARY_CORP_SALE_SEA', 'MODIFIER_PLAYER_CITIES_ADJUST_ALL_UNITS_PURCHASE_COST', 0, 0, 0, NULL, NULL, 6);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MILITARY_CORP_SALE_SEA', 'Amount', 5),
('GOLDEN_MILITARY_CORP_SALE_SEA', 'IncludeCivilian', 1),
('GOLDEN_MILITARY_CORP_SALE_SEA', 'UnitDomain', 'DOMAIN_SEA');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MILITARY_CORP', 'GOLDEN_MILITARY_CORP_SALE_AIR');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId, SubjectStackLimit) VALUES
('GOLDEN_MILITARY_CORP_SALE_AIR', 'MODIFIER_PLAYER_CITIES_ADJUST_ALL_UNITS_PURCHASE_COST', 0, 0, 0, NULL, NULL, 6);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MILITARY_CORP_SALE_AIR', 'Amount', 5),
('GOLDEN_MILITARY_CORP_SALE_AIR', 'IncludeCivilian', 1),
('GOLDEN_MILITARY_CORP_SALE_AIR', 'UnitDomain', 'DOMAIN_AIR');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MILITARY_CORP', 'GOLDEN_MILITARY_CORP_RETURN');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_MILITARY_CORP_RETURN', 'MODIFIER_SINGLE_CITY_GRANT_YIELD_PER_UNIT_COST', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MILITARY_CORP_RETURN', 'UnitProductionPercent', 25),
('GOLDEN_MILITARY_CORP_RETURN', 'YieldType', 'YIELD_GOLD');
-- Stock Exchange
INSERT OR REPLACE INTO Types (Type, Kind) VALUES
('MODIFIER_PLAYER_CITIES_ADJUST_ALL_DISTRICTS_PURCHASE_COST', 'KIND_MODIFIER');
INSERT OR REPLACE INTO DynamicModifiers (ModifierType, CollectionType, EffectType) VALUES
('MODIFIER_PLAYER_CITIES_ADJUST_ALL_DISTRICTS_PURCHASE_COST', 'COLLECTION_PLAYER_CITIES', 'EFFECT_ADJUST_ALL_DISTRICTS_PURCHASE_COST');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_STOCK_EXCHANGE', 'GOLDEN_STOCK_EXCHANGE_PURCHASE_DISTRICT');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType) VALUES
('GOLDEN_STOCK_EXCHANGE_PURCHASE_DISTRICT', 'MODIFIER_CITY_ADJUST_CAN_PURCHASE_DISTRICTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_STOCK_EXCHANGE_PURCHASE_DISTRICT', 'CanPurchase', 1);
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_STOCK_EXCHANGE', 'GOLDEN_STOCK_EXCHANGE_SALE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId, SubjectStackLimit) VALUES
('GOLDEN_STOCK_EXCHANGE_SALE', 'MODIFIER_PLAYER_CITIES_ADJUST_ALL_DISTRICTS_PURCHASE_COST', 0, 0, 0, NULL, NULL, 6);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_STOCK_EXCHANGE_SALE', 'Amount', 5);
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_STOCK_EXCHANGE', 'GOLDEN_STOCK_EXCHANGE_PLOT_SALE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId, SubjectStackLimit) VALUES
('GOLDEN_STOCK_EXCHANGE_PLOT_SALE', 'MODIFIER_PLAYER_CITIES_ADJUST_PLOT_PURCHASE_COST', 0, 0, 0, NULL, NULL, 6);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_STOCK_EXCHANGE_PLOT_SALE', 'Amount', 5);
-- T3 trade routes
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MILITARY_CORP', 'GOLDEN_COMMERCIAL_HUB_T3_TRADE_ROUTE'),
('BUILDING_URBAN_CONSTRUCTION', 'GOLDEN_COMMERCIAL_HUB_T3_TRADE_ROUTE'),
('BUILDING_STOCK_EXCHANGE', 'GOLDEN_COMMERCIAL_HUB_T3_TRADE_ROUTE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_COMMERCIAL_HUB_T3_TRADE_ROUTE', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_CAPACITY', 0, 0, 0, NULL, 'GOLDEN_CITY_HAS_THIRTYSIX_POPULATION_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_COMMERCIAL_HUB_T3_TRADE_ROUTE', 'Amount', 1);
-- High Tech Company科技概念企业
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_DIGITAL_CURRENCY', 'GOLDEN_DIGITAL_CURRENCY_TRADE_DOMESTIC');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_DIGITAL_CURRENCY_TRADE_DOMESTIC', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_YIELD_PER_SPECIALTY_DISTRICT_FOR_DOMESTIC', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_DIGITAL_CURRENCY_TRADE_DOMESTIC', 'Amount', 1),
('GOLDEN_DIGITAL_CURRENCY_TRADE_DOMESTIC', 'YieldType', 'YIELD_GOLD');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_DIGITAL_CURRENCY', 'GOLDEN_DIGITAL_CURRENCY_TRADE_INTERNATIONAL');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_DIGITAL_CURRENCY_TRADE_INTERNATIONAL', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_YIELD_PER_SPECIALTY_DISTRICT_FOR_INTERNATIONAL', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_DIGITAL_CURRENCY_TRADE_INTERNATIONAL', 'Amount', 1),
('GOLDEN_DIGITAL_CURRENCY_TRADE_INTERNATIONAL', 'YieldType', 'YIELD_GOLD');
-- International Finance Corporation国际金融公司
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_FINANCIAL_TOWER', 'GOLDEN_FINANCIAL_TOWER_FOREIGN_POST');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_FINANCIAL_TOWER_FOREIGN_POST', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_YIELD_PER_POST_IN_FOREIGN_CITY', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_FINANCIAL_TOWER_FOREIGN_POST', 'Amount', 1),
('GOLDEN_FINANCIAL_TOWER_FOREIGN_POST', 'YieldType', 'YIELD_GOLD');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_FINANCIAL_TOWER', 'GOLDEN_FINANCIAL_TOWER_OWN_POST');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_FINANCIAL_TOWER_OWN_POST', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_YIELD_PER_POST_IN_OWN_CITY', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_FINANCIAL_TOWER_OWN_POST', 'Amount', 1),
('GOLDEN_FINANCIAL_TOWER_OWN_POST', 'YieldType', 'YIELD_GOLD');
-- World Mining Group世界矿业集团
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MINING_GROUP', 'GOLDEN_MINING_GROUP_TRADE_DOMESTIC');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_MINING_GROUP_TRADE_DOMESTIC', 'MODIFIER_PLAYER_CITIES_ADJUST_TRADE_ROUTE_YIELD_PER_DESTINATION_STRATEGIC_FOR_DOMESTIC', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MINING_GROUP_TRADE_DOMESTIC', 'Amount', 2),
('GOLDEN_MINING_GROUP_TRADE_DOMESTIC', 'YieldType', 'YIELD_GOLD');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_MINING_GROUP', 'GOLDEN_MINING_GROUP_TRADE_INTERNATIONAL');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_MINING_GROUP_TRADE_INTERNATIONAL', 'MODIFIER_PLAYER_CITIES_ADJUST_TRADE_ROUTE_YIELD_PER_DESTINATION_STRATEGIC_FOR_INTERNATIONAL', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_MINING_GROUP_TRADE_INTERNATIONAL', 'Amount', 2),
('GOLDEN_MINING_GROUP_TRADE_INTERNATIONAL', 'YieldType', 'YIELD_GOLD');
-- Global department store chain全球百货连锁
INSERT OR REPLACE INTO Types (Type, Kind) VALUES
('MODIFIER_PLAYER_CITIES_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_DOMESTIC', 'KIND_MODIFIER');
INSERT OR REPLACE INTO DynamicModifiers (ModifierType, CollectionType, EffectType) VALUES
('MODIFIER_PLAYER_CITIES_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_DOMESTIC', 'COLLECTION_PLAYER_CITIES', 'EFFECT_ADJUST_CITY_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_DOMESTIC');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_LUXURY_GOODS', 'GOLDEN_LUXURY_GOODS_TRADE_DOMESTIC');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_LUXURY_GOODS_TRADE_DOMESTIC', 'MODIFIER_PLAYER_CITIES_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_DOMESTIC', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_LUXURY_GOODS_TRADE_DOMESTIC', 'Amount', 1),
('GOLDEN_LUXURY_GOODS_TRADE_DOMESTIC', 'YieldType', 'YIELD_GOLD');
INSERT OR REPLACE INTO Types (Type, Kind) VALUES
('MODIFIER_PLAYER_CITIES_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_INTERNATIONAL', 'KIND_MODIFIER');
INSERT OR REPLACE INTO DynamicModifiers (ModifierType, CollectionType, EffectType) VALUES
('MODIFIER_PLAYER_CITIES_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_INTERNATIONAL', 'COLLECTION_PLAYER_CITIES', 'EFFECT_ADJUST_CITY_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_INTERNATIONAL');
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_LUXURY_GOODS', 'GOLDEN_LUXURY_GOODS_TRADE_INTERNATIONAL');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_LUXURY_GOODS_TRADE_INTERNATIONAL', 'MODIFIER_PLAYER_CITIES_TRADE_ROUTE_YIELD_PER_LOCAL_BONUS_RESOURCE_FOR_INTERNATIONAL', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_LUXURY_GOODS_TRADE_INTERNATIONAL', 'Amount', 1),
('GOLDEN_LUXURY_GOODS_TRADE_INTERNATIONAL', 'YieldType', 'YIELD_GOLD');
-- T4 Trade routes
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_LUXURY_GOODS', 'GOLDEN_COMMERCIAL_HUB_T4_TRADE_ROUTE'),
('BUILDING_MINING_GROUP', 'GOLDEN_COMMERCIAL_HUB_T4_TRADE_ROUTE'),
('BUILDING_DIGITAL_CURRENCY', 'GOLDEN_COMMERCIAL_HUB_T4_TRADE_ROUTE'),
('BUILDING_FINANCIAL_TOWER', 'GOLDEN_COMMERCIAL_HUB_T4_TRADE_ROUTE');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_COMMERCIAL_HUB_T4_TRADE_ROUTE', 'MODIFIER_PLAYER_ADJUST_TRADE_ROUTE_CAPACITY', 0, 0, 0, NULL, 'GOLDEN_CITY_HAS_FOURTYEIGHT_POPULATION_REQUIREMENTS');
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_COMMERCIAL_HUB_T4_TRADE_ROUTE', 'Amount', 1);
-- INVOLUTION
INSERT OR REPLACE INTO BuildingModifiers (BuildingType, ModifierId) VALUES
('BUILDING_LUXURY_GOODS', 'GOLDEN_LUXURY_GOODS_INVOLUTION'),
('BUILDING_MINING_GROUP', 'GOLDEN_MINING_GROUP_INVOLUTION'),
('BUILDING_DIGITAL_CURRENCY', 'GOLDEN_DIGITAL_CURRENCY_INVOLUTION'),
('BUILDING_FINANCIAL_TOWER', 'GOLDEN_FINANCIAL_TOWER_INVOLUTION'),
('BUILDING_URBAN_CONSTRUCTION', 'GOLDEN_URBAN_CONSTRUCTION_INVOLUTION'),
('BUILDING_MILITARY_CORP', 'GOLDEN_MILITARY_CORP_INVOLUTION'),
('BUILDING_STOCK_EXCHANGE', 'GOLDEN_STOCK_EXCHANGE_INVOLUTION');
INSERT OR REPLACE INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, NewOnly, OwnerRequirementSetId, SubjectRequirementSetId) VALUES
('GOLDEN_LUXURY_GOODS_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL),
('GOLDEN_MINING_GROUP_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL),
('GOLDEN_DIGITAL_CURRENCY_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL),
('GOLDEN_FINANCIAL_TOWER_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL),
('GOLDEN_URBAN_CONSTRUCTION_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL),
('GOLDEN_MILITARY_CORP_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL),
('GOLDEN_STOCK_EXCHANGE_INVOLUTION', 'MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_YIELD_CHANGE', 0, 0, 0, NULL, NULL);
INSERT OR REPLACE INTO ModifierArguments (ModifierId, Name, Value) VALUES
('GOLDEN_LUXURY_GOODS_INVOLUTION', 'Amount', -3),
('GOLDEN_LUXURY_GOODS_INVOLUTION', 'BuildingType', 'BUILDING_LUXURY_GOODS'),
('GOLDEN_LUXURY_GOODS_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_LUXURY_GOODS_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION'),
('GOLDEN_MINING_GROUP_INVOLUTION', 'Amount', -3),
('GOLDEN_MINING_GROUP_INVOLUTION', 'BuildingType', 'BUILDING_MINING_GROUP'),
('GOLDEN_MINING_GROUP_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_MINING_GROUP_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION'),
('GOLDEN_DIGITAL_CURRENCY_INVOLUTION', 'Amount', -3),
('GOLDEN_DIGITAL_CURRENCY_INVOLUTION', 'BuildingType', 'BUILDING_DIGITAL_CURRENCY'),
('GOLDEN_DIGITAL_CURRENCY_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_DIGITAL_CURRENCY_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION'),
('GOLDEN_FINANCIAL_TOWER_INVOLUTION', 'Amount', -3),
('GOLDEN_FINANCIAL_TOWER_INVOLUTION', 'BuildingType', 'BUILDING_FINANCIAL_TOWER'),
('GOLDEN_FINANCIAL_TOWER_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_FINANCIAL_TOWER_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION'),
('GOLDEN_URBAN_CONSTRUCTION_INVOLUTION', 'Amount', -1),
('GOLDEN_URBAN_CONSTRUCTION_INVOLUTION', 'BuildingType', 'BUILDING_URBAN_CONSTRUCTION'),
('GOLDEN_URBAN_CONSTRUCTION_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_URBAN_CONSTRUCTION_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION'),
('GOLDEN_MILITARY_CORP_INVOLUTION', 'Amount', -1),
('GOLDEN_MILITARY_CORP_INVOLUTION', 'BuildingType', 'BUILDING_MILITARY_CORP'),
('GOLDEN_MILITARY_CORP_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_MILITARY_CORP_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION'),
('GOLDEN_STOCK_EXCHANGE_INVOLUTION', 'Amount', -1),
('GOLDEN_STOCK_EXCHANGE_INVOLUTION', 'BuildingType', 'BUILDING_STOCK_EXCHANGE'),
('GOLDEN_STOCK_EXCHANGE_INVOLUTION', 'CityStatesOnly', 0),
('GOLDEN_STOCK_EXCHANGE_INVOLUTION', 'YieldType', 'YIELD_PRODUCTION');
--条件
INSERT OR REPLACE INTO RequirementSetRequirements (RequirementSetId , RequirementId) VALUES
('GOLDEN_CITY_HAS_DISTRICT_COMMERCIAL_HUB_T1_BUILDING_REQUIREMENTS' , 'GOLDEN_REQUIRES_CITY_HAS_BUILDING_MINT'),
('GOLDEN_CITY_HAS_DISTRICT_COMMERCIAL_HUB_T1_BUILDING_REQUIREMENTS' , 'GOLDEN_REQUIRES_CITY_HAS_BUILDING_POST_STATION'),
('GOLDEN_CITY_HAS_DISTRICT_COMMERCIAL_HUB_T2_BUILDING_REQUIREMENTS' , 'GOLDEN_REQUIRES_CITY_HAS_BUILDING_COMMERCIAL'),
('GOLDEN_CITY_HAS_DISTRICT_COMMERCIAL_HUB_T2_BUILDING_REQUIREMENTS' , 'GOLDEN_REQUIRES_CITY_HAS_BUILDING_TAX_BUREAU'),
('GOLDEN_CITY_HAS_DISTRICT_COMMERCIAL_HUB_T3_BUILDING_REQUIREMENTS' , 'GOLDEN_REQUIRES_CITY_HAS_BUILDING_URBAN_CONSTRUCTION'),
('GOLDEN_CITY_HAS_DISTRICT_COMMERCIAL_HUB_T3_BUILDING_REQUIREMENTS' , 'GOLDEN_REQUIRES_CITY_HAS_BUILDING_MILITARY_CORP');
INSERT OR REPLACE INTO Requirements (RequirementId, RequirementType) VALUES
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_MINT', 'REQUIREMENT_CITY_HAS_BUILDING'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_POST_STATION', 'REQUIREMENT_CITY_HAS_BUILDING'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_COMMERCIAL', 'REQUIREMENT_CITY_HAS_BUILDING'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_TAX_BUREAU', 'REQUIREMENT_CITY_HAS_BUILDING'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_URBAN_CONSTRUCTION', 'REQUIREMENT_CITY_HAS_BUILDING'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_MILITARY_CORP', 'REQUIREMENT_CITY_HAS_BUILDING');
INSERT OR REPLACE INTO RequirementArguments (RequirementId,Name, Value) VALUES
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_MINT', 'BuildingType', 'BUILDING_MINT'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_POST_STATION', 'BuildingType', 'BUILDING_POST_STATION'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_COMMERCIAL', 'BuildingType', 'BUILDING_COMMERCIAL'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_TAX_BUREAU', 'BuildingType', 'BUILDING_TAX_BUREAU'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_URBAN_CONSTRUCTION', 'BuildingType', 'BUILDING_URBAN_CONSTRUCTION'),
('GOLDEN_REQUIRES_CITY_HAS_BUILDING_MILITARY_CORP', 'BuildingType', 'BUILDING_MILITARY_CORP');