Make AI less likely to stop building wonder
[freeciv.git] / data / experimental / effects.ruleset
bloba64c0ed3332a66ca2f20e3c60fd9c906be848f7d
1 ; This is the experimental ruleset. See README.experimental
2 ; for a detailed description.
4 ; Modifying this file:
5 ; You should not modify this file except to make bugfixes or
6 ; for other "maintenance".  If you want to make custom changes,
7 ; you should create a new datadir subdirectory and copy this file
8 ; into that directory, and then modify that copy.  Then use the
9 ; command "rulesetdir <mysubdir>" in the server to have freeciv
10 ; use your new customized file.
12 ; Note that the freeciv AI may not cope well with anything more
13 ; than minor changes.
15 [datafile]
16 description="Experimental effects data for Freeciv"
17 options="+Freeciv-2.6-ruleset"
19 ; /* <-- avoid gettext warnings
21 ; Effects
23 ; type                    = What the effect does. Values of multiple active effects
24 ;                           of the same type get summed for the total.
25 ;                           See README.effects for list of possible types
26 ; value                   = Value added for the effect type when this effect is active,
27 ;                           i.e., all requirements are fulfilled
28 ; multiplier              = Name of the policy that gives a multiplier for effect's value
29 ; reqs                    = Requirements for the effect to be active.
30 ;                           See README.effects for help on requirements
32 ; */ <-- avoid gettext warnings
34 ; Cheating AI effects are in separate file
35 *include "default/ai_effects.ruleset"
37 [effect_unhappysize]
38 type    = "City_Unhappy_Size"
39 value   = 4
41 ; Barbarian effects
43 [effect_barb1]
44 type    = "No_Diplomacy"
45 value   = 1
46 reqs    =
47     { "type",   "name", "range"
48       "NationGroup", "Barbarian", "Player"
49     }
51 ; Barbarian disappearance
53 [effect_barb_disappear]
54 type    = "Retire_Pct"
55 value   = 10
56 reqs    =
57     { "type", "name", "range", "present"
58       "NationGroup", "Barbarian", "Player", TRUE
59       "Age", "5", "Local", TRUE
60       "CityTile", "Center", "Local", FALSE
61     }
63 ; Lone Leader might escape on coast (33% chance)
64 ; Complement of the two effects should be 0.9 * 0.66 = 0.594
65 ; (100 - 59) - 10 = 31
66 [effect_leader_escape]
67 type    = "Retire_Pct"
68 value   = 31
69 reqs    =
70     { "type", "name", "range"
71       "UnitType", "Barbarian Leader", "Local"
72       "Age", "5", "Local"
73       "TerrainClass", "Oceanic", "Adjacent"
74       "MaxUnitsOnTile", "1", "Local"
75     }
77 ; Specialist output bonuses
79 [effect_elvis]
80 type    = "Specialist_Output"
81 value   = 2
82 reqs    =
83     { "type", "name", "range"
84       "Specialist", "elvis", "Local"
85       "OutputType", "luxury", "Local"
86     }
88 [effect_scientist]
89 type    = "Specialist_Output"
90 value   = 3
91 reqs    =
92     { "type", "name", "range"
93       "Specialist", "scientist", "Local"
94       "OutputType", "science", "Local"
95     }
97 [effect_taxman]
98 type    = "Specialist_Output"
99 value   = 3
100 reqs    =
101     { "type", "name", "range"
102       "Specialist", "taxman", "Local"
103       "OutputType", "gold", "Local"
104     }
107 ; Vision benefit from fortress watchtowers to Land units
108 [effect_fortress_vision]
109 type    = "Unit_Vision_Radius_Sq"
110 value   = 8
111 reqs    =
112     { "type", "name", "range"
113       "Extra", "Fortress", "tile"
114       "Tech", "Invention", "player"
115       "UnitClass", "Land", "Local"
116     }
118 ; Vision benefit from fortress watchtowers to Big Land units
119 [effect_fortress_vision_bl]
120 type    = "Unit_Vision_Radius_Sq"
121 value   = 8
122 reqs    =
123     { "type", "name", "range"
124       "Extra", "Fortress", "tile"
125       "Tech", "Invention", "player"
126       "UnitClass", "Big Land", "Local"
127     }
129 ; basic free tech upkeep
130 [effect_upkeep_tech_free]
131 type    = "Tech_Upkeep_Free"
132 value   = 3
134 ; Fortress HP regen
135 [effect_fortress_hp_regen_land]
136 type    = "HP_Regen"
137 value   = 25
138 reqs    =
139     { "type", "name", "range"
140       "Extra", "Fortress", "Tile"
141       "UnitClass", "Land", "Local"
142     }
144 [effect_fortress_hp_regen_big_land]
145 type    = "HP_Regen"
146 value   = 25
147 reqs    =
148     { "type", "name", "range"
149       "Extra", "Fortress", "Tile"
150       "UnitClass", "Big Land", "Local"
151     }
153 ; Nuclear power gives +1 moves to sea units
154 [effect_nuclear_powered_boats]
155 type    = "Move_Bonus"
156 value   = 1
157 reqs    =
158     { "type", "name", "range"
159       "Tech", "Nuclear Power", "Player"
160       "UnitClass", "Sea", "Local"
161     }
163 [effect_anarchy_upkeep]
164 type    = "Upkeep_Free"
165 value   = 99
166 reqs    =
167     { "type", "name", "range"
168       "Gov", "Anarchy", "Player"
169     }
171 [effect_anarchy_upkeep_tech_free]
172 type    = "Tech_Upkeep_Free"
173 value   = 9999
174 reqs    =
175     { "type", "name", "range"
176       "Gov", "Anarchy", "Player"
177     }
179 [effect_republic]
180 type    = "Make_Content_Mil"
181 value   = 1
182 reqs    =
183     { "type", "name", "range"
184       "Gov", "Republic", "Player"
185     }
187 [effect_migration_anarchy]
188 type    = "Migration_Pct"
189 value   = -10
190 reqs    =
191     { "type", "name", "range"
192       "Gov", "Anarchy", "Player"
193     }
195 [effect_migration_despotism]
196 type    = "Migration_Pct"
197 value   = -10
198 reqs    =
199     { "type", "name", "range"
200       "Gov", "Despotism", "Player"
201     }
203 [effect_migration_monarchy]
204 type    = "Migration_Pct"
205 value   = -10
206 reqs    =
207     { "type", "name", "range"
208       "Gov", "Monarchy", "Player"
209     }
211 [effect_migration_communism]
212 type    = "Migration_Pct"
213 value   = -10
214 reqs    =
215     { "type", "name", "range"
216       "Gov", "Communism", "Player"
217     }
219 [effect_migration_republic]
220 type    = "Migration_Pct"
221 value   = 10
222 reqs    =
223     { "type", "name", "range"
224       "Gov", "Republic", "Player"
225     }
227 [effect_migration_democracy]
228 type    = "Migration_Pct"
229 value   = 20
230 reqs    =
231     { "type", "name", "range"
232       "Gov", "Democracy", "Player"
233     }
235 [effect_base_enemy_unhappiness]
236 type    = "Enemy_Citizen_Unhappy_Pct"
237 value   = 100
239 [effect_enemy_unhappiness_communism]
240 type    = "Enemy_Citizen_Unhappy_Pct"
241 value   = -50
242 reqs    =
243     { "type", "name", "range"
244       "Gov", "Communism", "Player"
245     }
247 [effect_enemy_unhappiness_republic]
248 type    = "Enemy_Citizen_Unhappy_Pct"
249 value   = -50
250 reqs    =
251     { "type", "name", "range"
252       "Gov", "Republic", "Player"
253     }
255 [effect_enemy_unhappiness_democracy]
256 type    = "Enemy_Citizen_Unhappy_Pct"
257 value   = -67
258 reqs    =
259     { "type", "name", "range"
260       "Gov", "Democracy", "Player"
261     }
263 [effect_corruption_anarchy0]
264 type    = "Output_Waste"
265 value   = 25
266 reqs    =
267     { "type", "name", "range"
268       "Gov", "Anarchy", "Player"
269       "OutputType", "Trade", "Local"
270     }
272 [effect_corruption_anarchy1]
273 type    = "Output_Waste_By_Distance"
274 value   = 2
275 reqs    =
276     { "type", "name", "range"
277       "Gov", "Anarchy", "Player"
278       "OutputType", "Trade", "Local"
279     }
281 [effect_corruption_despotism0]
282 type    = "Output_Waste"
283 value   = 37
284 reqs    =
285     { "type", "name", "range"
286       "Gov", "Despotism", "Player"
287       "OutputType", "Trade", "Local"
288     }
290 [effect_corruption_despotism1]
291 type    = "Output_Waste_By_Distance"
292 value   = 4
293 reqs    =
294     { "type", "name", "range"
295       "Gov", "Despotism", "Player"
296       "OutputType", "Trade", "Local"
297     }
299 [effect_corruption_monarchy0]
300 type    = "Output_Waste"
301 value   = 15
302 reqs    =
303     { "type", "name", "range"
304       "Gov", "Monarchy", "Player"
305       "OutputType", "Trade", "Local"
306     }
308 [effect_corruption_monarchy1]
309 type    = "Output_Waste_By_Distance"
310 value   = 2
311 reqs    =
312     { "type", "name", "range"
313       "Gov", "Monarchy", "Player"
314       "OutputType", "Trade", "Local"
315     }
317 [effect_corruption_communism0]
318 type    = "Output_Waste"
319 value   = 20
320 reqs    =
321     { "type", "name", "range"
322       "Gov", "Communism", "Player"
323       "OutputType", "Trade", "Local"
324     }
326 [effect_corruption_republic0]
327 type    = "Output_Waste"
328 value   = 15
329 reqs    =
330     { "type", "name", "range"
331       "Gov", "Republic", "Player"
332       "OutputType", "Trade", "Local"
333     }
335 [effect_corruption_republic1]
336 type    = "Output_Waste_By_Distance"
337 value   = 2
338 reqs    =
339     { "type", "name", "range"
340       "Gov", "Republic", "Player"
341       "OutputType", "Trade", "Local"
342     }
344 [effect_base_unit_upkeep]
345 type    = "Upkeep_Factor"
346 value   = 1
348 [effect_republic_unit_upkeep]
349 type    = "Upkeep_Factor"
350 value   = 1
351 reqs   =
352     { "type", "name", "range"
353       "Gov", "Republic", "Player"
354       "OutputType", "Food", "Local"
355     }
357 [effect_democracy_unit_upkeep]
358 type    = "Upkeep_Factor"
359 value   = 1
360 reqs   =
361     { "type", "name", "range"
362       "Gov", "Democracy", "Player"
363       "OutputType", "Food", "Local"
364     }
366 [effect_republic_unit_unhappiness]
367 type    = "Unhappy_Factor"
368 value   = 1
369 reqs   =
370     { "type", "name", "range"
371       "Gov", "Republic", "Player"
372     }
374 [effect_democracy_unit_unhappiness]
375 type    = "Unhappy_Factor"
376 value   = 2
377 reqs   =
378     { "type", "name", "range"
379       "Gov", "Democracy", "Player"
380     }
382 [effect_personal_freedom_unit_unhappiness]
383 type    = "Unhappy_Factor"
384 value   = 1
385 multiplier = "Personal Freedom"
386 reqs   =
387     { "type", "name", "range"
388     }
390 [effect_personal_freedom_science_bonus]
391 type    = "Output_Bonus_2"
392 value   = 10
393 multiplier = "Personal Freedom"
394 reqs   =
395     { "type", "name", "range"
396       "OutputType", "Science", "Local"
397     }
399 [effect_upkeep_free_units_anarchy]
400 type    = "Unit_Upkeep_Free_Per_City"
401 value   = 3
402 reqs   =
403     { "type", "name", "range"
404       "Gov", "Anarchy", "Player"
405       "OutputType", "Shield", "Local"
406     }
408 [effect_upkeep_free_units_despotism]
409 type    = "Unit_Upkeep_Free_Per_City"
410 value   = 3
411 reqs   =
412     { "type", "name", "range"
413       "Gov", "Despotism", "Player"
414       "OutputType", "Shield", "Local"
415     }
417 [effect_upkeep_free_units_monarchy]
418 type    = "Unit_Upkeep_Free_Per_City"
419 value   = 3
420 reqs   =
421     { "type", "name", "range"
422       "Gov", "Monarchy", "Player"
423       "OutputType", "Shield", "Local"
424     }
426 [effect_upkeep_free_units_communism]
427 type    = "Unit_Upkeep_Free_Per_City"
428 value   = 3
429 reqs   =
430     { "type", "name", "range"
431       "Gov", "Communism", "Player"
432       "OutputType", "Shield", "Local"
433     }
435 [effect_civil_war_0]
436 type    = "Civil_War_Chance"
437 value   = 90
438 reqs    =
439     { "type",       "name",      "range"
440       "Gov", "Anarchy",   "Player"
441     }
443 [effect_civil_war_1]
444 type    = "Civil_War_Chance"
445 value   = 80
446 reqs    =
447     { "type",       "name",      "range"
448       "Gov", "Despotism", "Player"
449     }
451 [effect_civil_war_2]
452 type    = "Civil_War_Chance"
453 value   = 70
454 reqs    =
455     { "type",       "name",      "range"
456       "Gov", "Monarchy",  "Player"
457     }
459 [effect_civil_war_3]
460 type    = "Civil_War_Chance"
461 value   = 50
462 reqs    =
463     { "type",       "name",      "range"
464       "Gov", "Communism", "Player"
465     }
467 [effect_civil_war_4]
468 type    = "Civil_War_Chance"
469 value   = 40
470 reqs    =
471     { "type",       "name",      "range"
472       "Gov", "Republic",  "Player"
473     }
475 [effect_civil_war_5]
476 type    = "Civil_War_Chance"
477 value   = 30
478 reqs    =
479     { "type",       "name",      "range"
480       "Gov", "Democracy", "Player"
481     }
483 [effect_empire_size_base_0]
484 type    = "Empire_Size_Base"
485 value   = 9
486 reqs    =
487     { "type",       "name",      "range"
488       "Gov", "Anarchy",   "Player"
489     }
491 [effect_empire_size_base_1]
492 type    = "Empire_Size_Base"
493 value   = 10
494 reqs    =
495     { "type",       "name",      "range"
496       "Gov", "Despotism", "Player"
497     }
499 [effect_empire_size_base_2]
500 type    = "Empire_Size_Base"
501 value   = 11
502 reqs    =
503     { "type",       "name",      "range"
504       "Gov", "Monarchy",  "Player"
505     }
507 [effect_empire_size_base_3]
508 type    = "Empire_Size_Base"
509 value   = 12
510 reqs    =
511     { "type",       "name",      "range"
512       "Gov", "Communism", "Player"
513     }
515 [effect_empire_size_base_4]
516 type    = "Empire_Size_Base"
517 value   = 13
518 reqs    =
519     { "type",       "name",      "range"
520       "Gov", "Republic",  "Player"
521     }
523 [effect_empire_size_base_5]
524 type    = "Empire_Size_Base"
525 value   = 14
526 reqs    =
527     { "type",       "name",      "range"
528       "Gov", "Democracy",  "Player"
529     }
531 [effect_empire_size_step_0]
532 type    = "Empire_Size_Step"
533 value   = 6
534 reqs    =
535     { "type",       "name",      "range"
536       "Gov", "Anarchy", "Player"
537     }
539 [effect_empire_size_step_1]
540 type    = "Empire_Size_Step"
541 value   = 10
542 reqs    =
543     { "type",       "name",      "range"
544       "Gov", "Despotism", "Player"
545     }
547 [effect_empire_size_step_2]
548 type    = "Empire_Size_Step"
549 value   = 12
550 reqs    =
551     { "type",       "name",      "range"
552       "Gov", "Monarchy", "Player"
553     }
555 ; Empire_Size_Step disabled for Communism
557 [effect_empire_size_step_3]
558 type    = "Empire_Size_Step"
559 value   = 14
560 reqs    =
561     { "type",       "name",      "range"
562       "Gov", "Republic",  "Player"
563     }
565 [effect_empire_size_step_4]
566 type    = "Empire_Size_Step"
567 value   = 16
568 reqs    =
569     { "type",       "name",      "range"
570       "Gov", "Democracy", "Player"
571     }
573 [effect_max_rates_0]
574 type    = "Max_Rates"
575 value   = 100
576 reqs    =
577     { "type",       "name",      "range"
578       "Gov", "Anarchy",   "Player"
579     }
581 [effect_max_rates_1]
582 type    = "Max_Rates"
583 value   = 60
584 reqs    =
585     { "type",       "name",      "range"
586       "Gov", "Despotism", "Player"
587     }
589 [effect_max_rates_2]
590 type    = "Max_Rates"
591 value   = 70
592 reqs    =
593     { "type",       "name",      "range"
594       "Gov", "Monarchy",  "Player"
595     }
597 [effect_max_rates_3]
598 type    = "Max_Rates"
599 value   = 80
600 reqs    =
601     { "type",       "name",      "range"
602       "Gov", "Communism", "Player"
603     }
605 [effect_max_rates_4]
606 type    = "Max_Rates"
607 value   = 80
608 reqs    =
609     { "type",       "name",      "range"
610       "Gov", "Republic",  "Player"
611     }
613 [effect_max_rates_5]
614 type    = "Max_Rates"
615 value   = 100
616 reqs    =
617     { "type",       "name",      "range"
618       "Gov", "Democracy", "Player"
619     }
621 [effect_martial_law_each_0]
622 type    = "Martial_Law_Each"
623 value   = 1
624 reqs    =
625     { "type",       "name",      "range"
626       "Gov", "Anarchy",   "Player"
627     }
629 [effect_martial_law_each_1]
630 type    = "Martial_Law_Each"
631 value   = 1
632 reqs    =
633     { "type",       "name",      "range"
634       "Gov", "Despotism", "Player"
635     }
637 [effect_martial_law_each_2]
638 type    = "Martial_Law_Each"
639 value   = 1
640 reqs    =
641     { "type",       "name",      "range"
642       "Gov", "Monarchy",  "Player"
643     }
645 [effect_martial_law_each_3]
646 type    = "Martial_Law_Each"
647 value   = 2
648 reqs    =
649     { "type",       "name",      "range"
650       "Gov", "Communism", "Player"
651     }
653 [effect_martial_law_max_0]
654 type    = "Martial_Law_Max"
655 value   = 100
656 reqs    =
657     { "type",       "name",      "range"
658       "Gov", "Anarchy",   "Player"
659     }
661 [effect_martial_law_max_1]
662 type    = "Martial_Law_Max"
663 value   = 100
664 reqs    =
665     { "type",       "name",      "range"
666       "Gov", "Despotism", "Player"
667     }
669 [effect_martial_law_max_2]
670 type    = "Martial_Law_Max"
671 value   = 3
672 reqs    =
673     { "type",       "name",      "range"
674       "Gov", "Monarchy",  "Player"
675     }
677 [effect_martial_law_max_3]
678 type    = "Martial_Law_Max"
679 value   = 3
680 reqs    =
681     { "type",       "name",      "range"
682       "Gov", "Communism", "Player"
683     }
685 [effect_rapture_grow_0]
686 type    = "Rapture_Grow"
687 value   = 3
688 reqs    =
689     { "type",       "name",      "range"
690       "Gov", "Republic",  "Player"
691     }
693 [effect_rapture_grow_1]
694 type    = "Rapture_Grow"
695 value   = 3
696 reqs    =
697     { "type",       "name",      "range"
698       "Gov", "Democracy", "Player"
699     }
701 [effect_communism_0]
702 type    = "Veteran_Build"
703 value   = 1
704 reqs    =
705     { "type",       "name",      "range"
706       "Gov", "Communism", "Player"
707       "UnitFlag", "Diplomat", "Local"
708     }
710 [effect_gov_tile_bonus_0]
711 type    = "Output_Penalty_Tile"
712 value   = 2
713 reqs    =
714     { "type",       "name",      "range"
715       "Gov", "Anarchy", "Player"
716     }
718 [effect_gov_tile_bonus_1]
719 type    = "Output_Penalty_Tile"
720 value   = 2
721 reqs    =
722     { "type",       "name",      "range"
723       "Gov", "Despotism", "Player"
724     }
726 [effect_gov_tile_bonus_2]
727 type    = "Output_Inc_Tile_Celebrate"
728 value   = 1
729 reqs    =
730     { "type",       "name",      "range"
731       "OutputType", "Trade", "Local"
732       "Gov", "Monarchy", "Player"
733     }
735 [effect_gov_tile_bonus_3]
736 type    = "Output_Inc_Tile_Celebrate"
737 value   = 1
738 reqs    =
739     { "type",       "name",      "range"
740       "OutputType", "Trade", "Local"
741       "Gov", "Communism", "Player"
742     }
744 [effect_gov_tile_bonus_4]
745 type    = "Output_Inc_Tile"
746 value   = 1
747 reqs    =
748     { "type",       "name",      "range"
749       "Gov", "Republic", "Player"
750       "OutputType", "Trade", "Local"
751     }
753 [effect_gov_tile_bonus_5]
754 type    = "Output_Inc_Tile"
755 value   = 1
756 reqs    =
757     { "type",       "name",      "range"
758       "Gov", "Democracy", "Player"
759       "OutputType", "Trade", "Local"
760     }
762 [effect_revolution_0]
763 type    = "Revolution_Unhappiness"
764 value   = 2
765 reqs    =
766     { "type",       "name",      "range"
767       "Gov", "Democracy", "Player"
768     }
770 [effect_senate_0]
771 type    = "Has_Senate"
772 value   = 1
773 reqs    =
774     { "type",       "name",      "range"
775       "Gov", "Republic",  "Player"
776     }
778 [effect_senate_1]
779 type    = "Has_Senate"
780 value   = 1
781 reqs    =
782     { "type",       "name",      "range"
783       "Gov", "Democracy", "Player"
784     }
786 [effect_partisans_communism]
787 type    = "Inspire_Partisans"
788 value   = 1
789 reqs    =
790     { "type", "name", "range", "present"
791       "Gov", "Communism", "Player", TRUE
792       "Tech", "Communism", "Player", TRUE
793       "Tech", "Gunpowder", "Player", TRUE
794       "Tech", "Guerilla Warfare", "World", TRUE
795       "NationGroup", "Barbarian", "Player", FALSE
796     }
798 [effect_partisans_democracy]
799 type    = "Inspire_Partisans"
800 value   = 1
801 reqs    =
802     { "type", "name", "range", "present"
803       "Gov", "Democracy", "Player", TRUE
804       "Tech", "Communism", "Player", TRUE
805       "Tech", "Gunpowder", "Player", TRUE
806       "Tech", "Guerilla Warfare", "World", TRUE
807       "NationGroup", "Barbarian", "Player", FALSE
808     }
810 [effect_airport]
811 type    = "Veteran_Build"
812 value   = 1
813 reqs    =
814     { "type", "name", "range", "present"
815       "Building", "Airport", "City", TRUE
816       "UnitClass", "Air", "Local", TRUE
817       "UnitFlag", "NonMil", "Local", FALSE
818       "UnitFlag", "NoVeteran", "Local", FALSE
819     }
821 [effect_airport_0a]
822 type    = "Veteran_Build"
823 value   = 1
824 reqs    =
825     { "type", "name", "range", "present"
826       "Building", "Airport", "City", TRUE
827       "UnitClass", "Helicopter", "Local", TRUE
828       "UnitFlag", "NonMil", "Local", FALSE
829       "UnitFlag", "NoVeteran", "Local", FALSE
830     }
832 [effect_airport_0b]
833 type    = "Veteran_Build"
834 value   = 1
835 reqs    =
836     { "type", "name", "range", "present"
837       "Building", "Airport", "City", TRUE
838       "UnitClass", "Missile", "Local", TRUE
839       "UnitFlag", "NonMil", "Local", FALSE
840       "UnitFlag", "NoVeteran", "Local", FALSE
841     }
843 [effect_airport_1]
844 type    = "HP_Regen"
845 value   = 100
846 reqs    =
847     { "type", "name", "range"
848       "Building", "Airport", "City"
849       "UnitClass", "Air", "Local"
850     }
852 [effect_airport_1a]
853 type    = "HP_Regen"
854 value   = 100
855 reqs    =
856     { "type", "name", "range"
857       "Building", "Airport", "City"
858       "UnitClass", "Helicopter", "Local"
859     }
861 [effect_airport_2]
862 type    = "Airlift"
863 value   = 1
864 reqs    =
865     { "type", "name", "range"
866       "Building", "Airport", "City"
867     }
869 ; Base max city size of 8
870 [effect_aqueduct_size]
871 type    = "Size_Adj"
872 value   = 8
874 [effect_aqueduct]
875 type    = "Size_Adj"
876 value   = 4
877 reqs    =
878     { "type", "name", "range"
879       "Building", "Aqueduct", "City"
880     }
882 [effect_aqueduct_health_1]
883 type    = "Health_Pct"
884 value   = 30
885 reqs    =
886     { "type", "name", "range"
887       "Building", "Aqueduct", "City"
888     }
890 [effect_aqueduct_health_2]
891 type    = "Health_Pct"
892 value   = 20
893 reqs    =
894     { "type", "name", "range", "present"
895       "Building", "Aqueduct", "City", TRUE
896       "Tech", "Industrialization", "Player", FALSE
897     }
899 [effect_bank]
900 type    = "Output_Bonus"
901 value   = 50
902 reqs    =
903     { "type", "name", "range"
904       "Building", "Marketplace", "City"
905       "Building", "Bank", "City"
906       "OutputType", "Gold", "Local"
907     }
909 [effect_bank_1]
910 type    = "Output_Bonus"
911 value   = 50
912 reqs    =
913     { "type", "name", "range"
914       "Building", "Marketplace", "City"
915       "Building", "Bank", "City"
916       "OutputType", "Luxury", "Local"
917     }
919 [effect_barracks]
920 type    = "Veteran_Build"
921 value   = 1
922 reqs    =
923     { "type", "name", "range", "present"
924       "Building", "Barracks", "City", TRUE
925       "UnitClass", "Land", "Local", TRUE
926       "UnitFlag", "NonMil", "Local", FALSE
927       "UnitFlag", "NoVeteran", "Local", FALSE
928     }
930 [effect_barracks_bl]
931 type    = "Veteran_Build"
932 value   = 1
933 reqs    =
934     { "type", "name", "range", "present"
935       "Building", "Barracks", "City", TRUE
936       "UnitClass", "Big Land", "Local", TRUE
937       "UnitFlag", "NonMil", "Local", FALSE
938       "UnitFlag", "NoVeteran", "Local", FALSE
939     }
941 [effect_barracks_1]
942 type    = "HP_Regen"
943 value   = 100
944 reqs    =
945     { "type", "name", "range", "present"
946       "Building", "Barracks", "City", TRUE
947       "UnitClass", "Land", "Local", TRUE
948     }
950 [effect_barracks_bl_1]
951 type    = "HP_Regen"
952 value   = 100
953 reqs    =
954     { "type", "name", "range", "present"
955       "Building", "Barracks", "City", TRUE
956       "UnitClass", "Big Land", "Local", TRUE
957     }
959 [effect_barracks_ii]
960 type    = "Veteran_Build"
961 value   = 1
962 reqs    =
963     { "type", "name", "range", "present"
964       "Building", "Barracks II", "City", TRUE
965       "UnitClass", "Land", "Local", TRUE
966       "UnitFlag", "NonMil", "Local", FALSE
967       "UnitFlag", "NoVeteran", "Local", FALSE
968     }
970 [effect_barracks_ii_bl]
971 type    = "Veteran_Build"
972 value   = 1
973 reqs    =
974     { "type", "name", "range", "present"
975       "Building", "Barracks II", "City", TRUE
976       "UnitClass", "Big Land", "Local", TRUE
977       "UnitFlag", "NonMil", "Local", FALSE
978       "UnitFlag", "NoVeteran", "Local", FALSE
979     }
981 [effect_barracks_ii_1]
982 type    = "HP_Regen"
983 value   = 100
984 reqs    =
985     { "type", "name", "range", "present"
986       "Building", "Barracks II", "City", TRUE
987       "UnitClass", "Land", "Local", TRUE
988     }
990 [effect_barracks_ii_bl_1]
991 type    = "HP_Regen"
992 value   = 100
993 reqs    =
994     { "type", "name", "range", "present"
995       "Building", "Barracks II", "City", TRUE
996       "UnitClass", "Big Land", "Local", TRUE
997     }
999 [effect_barracks_iii]
1000 type    = "Veteran_Build"
1001 value   = 1
1002 reqs    =
1003     { "type", "name", "range", "present"
1004       "Building", "Barracks III", "City", TRUE
1005       "UnitClass", "Land", "Local", TRUE
1006       "UnitFlag", "NonMil", "Local", FALSE
1007       "UnitFlag", "NoVeteran", "Local", FALSE
1008     }
1010 [effect_barracks_iii_bl]
1011 type    = "Veteran_Build"
1012 value   = 1
1013 reqs    =
1014     { "type", "name", "range", "present"
1015       "Building", "Barracks III", "City", TRUE
1016       "UnitClass", "Big Land", "Local", TRUE
1017       "UnitFlag", "NonMil", "Local", FALSE
1018       "UnitFlag", "NoVeteran", "Local", FALSE
1019     }
1021 [effect_barracks_iii_1]
1022 type    = "HP_Regen"
1023 value   = 100
1024 reqs    =
1025     { "type", "name", "range"
1026       "Building", "Barracks III", "City"
1027       "UnitClass", "Land", "Local"
1028     }
1030 [effect_barracks_iii_bl_1]
1031 type    = "HP_Regen"
1032 value   = 100
1033 reqs    =
1034     { "type", "name", "range"
1035       "Building", "Barracks III", "City"
1036       "UnitClass", "Big Land", "Local"
1037     }
1039 [effect_cathedral]
1040 type    = "Make_Content"
1041 value   = 3
1042 reqs    =
1043     { "type", "name", "range", "present"
1044       "Building", "Cathedral", "City", TRUE
1045       "Building", "Michelangelo's Chapel", "Player", FALSE
1046     }
1048 [effect_cathedral_1]
1049 type    = "Make_Content"
1050 value   = 1
1051 reqs    =
1052     { "type", "name", "range", "present"
1053       "Tech", "Theology", "Player", TRUE
1054       "Building", "Cathedral", "City", TRUE
1055       "Building", "Michelangelo's Chapel", "Player", FALSE
1056     }
1058 [effect_cathedral_2]
1059 type    = "Make_Content"
1060 value   = -1
1061 reqs    =
1062     { "type", "name", "range", "present"
1063       "Tech", "Communism", "Player", TRUE
1064       "Building", "Cathedral", "City", TRUE
1065       "Building", "Michelangelo's Chapel", "Player", FALSE
1066     }
1068 [effect_city_walls_land_defense]
1069 type    = "Defend_Bonus"
1070 value   = 200
1071 reqs    =
1072     { "type", "name", "range", "present"
1073       "Building", "City Walls", "City", TRUE
1074       "UnitClass", "Land", "Local", TRUE
1075       "Building", "Great Wall", "Player", FALSE
1076     }
1078 [effect_city_walls_big_land_defense]
1079 type    = "Defend_Bonus"
1080 value   = 200
1081 reqs    =
1082     { "type", "name", "range", "present"
1083       "Building", "City Walls", "City", TRUE
1084       "UnitClass", "Big Land", "Local", TRUE
1085       "Building", "Great Wall", "Player", FALSE
1086       "UnitType", "Howitzer", "Local", FALSE
1087     }
1089 [effect_city_walls_heli_defense]
1090 type    = "Defend_Bonus"
1091 value   = 200
1092 reqs    =
1093     { "type", "name", "range", "present"
1094       "Building", "City Walls", "City", TRUE
1095       "UnitClass", "Helicopter", "Local", TRUE
1096       "Building", "Great Wall", "Player", FALSE
1097     }
1099 [effect_city_walls_1]
1100 type    = "Unit_No_Lose_Pop"
1101 value   = 1
1102 reqs    =
1103     { "type", "name", "range"
1104       "Building", "City Walls", "City"
1105     }
1107 [effect_city_walls_visible]
1108 type    = "Visible_Walls"
1109 value   = 1
1110 reqs    =
1111     { "type", "name", "range"
1112       "Building", "City Walls", "City"
1113     }
1115 [effect_coastal_defense]
1116 type    = "Defend_Bonus"
1117 value   = 100
1118 reqs    =
1119     { "type", "name", "range"
1120       "Building", "Coastal Defense", "City"
1121       "UnitClass", "Sea", "Local"
1122     }
1124 [effect_coastal_defense_trireme]
1125 type    = "Defend_Bonus"
1126 value   = 100
1127 reqs    =
1128     { "type", "name", "range"
1129       "Building", "Coastal Defense", "City"
1130       "UnitClass", "Trireme", "Local"
1131     }
1133 [effect_colosseum]
1134 type    = "Make_Content"
1135 value   = 3
1136 reqs    =
1137     { "type", "name", "range"
1138       "Building", "Colosseum", "City"
1139     }
1141 [effect_colosseum_1]
1142 type    = "Make_Content"
1143 value   = 1
1144 reqs    =
1145     { "type", "name", "range"
1146       "Tech", "Electricity", "Player"
1147       "Building", "Colosseum", "City"
1148     }
1150 [effect_colosseum_culture]
1151 type    = "History"
1152 value   = 1
1153 reqs    =
1154     { "type", "name", "range"
1155       "Building", "Colosseum", "City"
1156     }
1158 [effect_courthouse]
1159 type    = "Output_Waste_Pct"
1160 value   = 50
1161 reqs    =
1162     { "type", "name", "range", "present"
1163       "Building", "Courthouse", "City", TRUE
1164       "OutputType", "Trade", "Local", TRUE
1165       "Building", "Palace", "City", FALSE
1166     }
1168 ;[effect_courthouse_1]
1169 ;type    = "Waste_Pct"
1170 ;value  = 50
1171 ;reqs   =
1172 ;    { "type", "name", "range", "present"
1173 ;      "Building", "Courthouse", "City", TRUE
1174 ;      "Building", "Palace", "City", FALSE
1175 ;    }
1177 [effect_courthouse_2]
1178 type    = "Make_Content"
1179 value   = 1
1180 reqs    =
1181     { "type", "name", "range"
1182       "Gov", "Democracy", "Player"
1183       "Building", "Courthouse", "City"
1184     }
1186 [effect_courthouse_3]
1187 type    = "Incite_Cost_Pct"
1188 value   = 300
1189 reqs    =
1190     { "type", "name", "range", "present"
1191       "Building", "Courthouse", "City", TRUE
1192       "MaxUnitsOnTile", "0", "Local", FALSE
1193     }
1195 [effect_incite_cost_empty_courthouse]
1196 type = "Incite_Cost_Pct"
1197 value = 100
1198 reqs    =
1199     { "type", "name", "range", "present"
1200       "MaxUnitsOnTile", "0", "Local", TRUE
1201       "Building", "Courthouse", "City", TRUE
1202     }
1204 [effect_incite_cost_empty]
1205 type = "Incite_Cost_Pct"
1206 value = -50
1207 reqs    =
1208     { "type", "name", "range", "present"
1209       "MaxUnitsOnTile", "0", "Local", TRUE
1210       "Building", "Courthouse", "City", FALSE
1211     }
1213 [effect_factory]
1214 type    = "Output_Bonus"
1215 value   = 50
1216 reqs    =
1217     { "type", "name", "range"
1218       "Building", "Factory", "City"
1219       "OutputType", "Shield", "Local"
1220     }
1222 [effect_granary]
1223 type    = "Growth_Food"
1224 value   = 50
1225 reqs    =
1226     { "type", "name", "range"
1227       "Building", "Granary", "City"
1228     }
1230 [effect_harbour]
1231 type    = "Output_Add_Tile"
1232 value   = 1
1233 reqs    =
1234     { "type", "name", "range"
1235       "TerrainClass", "Oceanic", "Local"
1236       "Building", "Harbour", "City"
1237       "OutputType", "Food", "Local"
1238     }
1240 [effect_hospital_health]
1241 type   = "Health_Pct"
1242 value  = 25
1243 reqs   =
1244     {"type", "name", "range"
1245      "Building", "Hospital", "City"
1246     }
1248 [effect_hydro_plant]
1249 type    = "Output_Bonus"
1250 value   = 25
1251 reqs    =
1252     { "type", "name", "range", "present"
1253       "Building", "Factory", "City", TRUE
1254       "Building", "Hydro Plant", "City", TRUE
1255       "OutputType", "Shield", "Local", TRUE
1256       "Building", "Hoover Dam", "Player", FALSE
1257       "Building", "Nuclear Plant", "City", FALSE
1258       "Building", "Solar Plant", "City", FALSE
1259     }
1261 [effect_hydro_plant_1]
1262 type    = "Output_Bonus"
1263 value   = 25
1264 reqs    =
1265     { "type", "name", "range", "present"
1266       "Building", "Mfg. Plant", "City", TRUE
1267       "Building", "Hydro Plant", "City", TRUE
1268       "OutputType", "Shield", "Local", TRUE
1269       "Building", "Hoover Dam", "Player", FALSE
1270       "Building", "Nuclear Plant", "City", FALSE
1271       "Building", "Solar Plant", "City", FALSE
1272     }
1274 [effect_hydro_plant_2]
1275 type    = "Pollu_Prod_Pct"
1276 value   = -25
1277 reqs    =
1278     { "type", "name", "range", "present"
1279       "Building", "Factory", "City", TRUE
1280       "Building", "Hydro Plant", "City", TRUE
1281       "Building", "Recycling Center", "City", FALSE
1282       "Building", "Hoover Dam", "Player", FALSE
1283       "Building", "Nuclear Plant", "City", FALSE
1284       "Building", "Solar Plant", "City", FALSE
1285     }
1287 [effect_hydro_plant_3]
1288 type    = "Pollu_Prod_Pct"
1289 value   = -25
1290 reqs    =
1291     { "type", "name", "range", "present"
1292       "Building", "Mfg. Plant", "City", TRUE
1293       "Building", "Hydro Plant", "City", TRUE
1294       "Building", "Recycling Center", "City", FALSE
1295       "Building", "Hoover Dam", "Player", FALSE
1296       "Building", "Nuclear Plant", "City", FALSE
1297       "Building", "Solar Plant", "City", FALSE
1298     }
1300 [effect_genetic_lab_health]
1301 type   = "Health_Pct"
1302 value  = 20
1303 reqs   =
1304     {"type", "name", "range"
1305      "Building", "Genetic Lab", "City"
1306     }
1308 [effect_genetic_lab_food]
1309 type    = "Output_Bonus"
1310 value   = 25
1311 reqs    =
1312     { "type", "name", "range"
1313       "Building", "Genetic Lab", "City"
1314       "MinSize", "21", "City"
1315       "OutputType", "Food", "Local"
1316     }
1318 [effect_library]
1319 type    = "Output_Bonus"
1320 value   = 100
1321 reqs    =
1322     { "type", "name", "range"
1323       "Building", "Library", "City"
1324       "OutputType", "Science", "Local"
1325     }
1327 [effect_library_culture]
1328 type    = "History"
1329 value   = 2
1330 reqs    =
1331     { "type", "name", "range"
1332       "Building", "Library", "City"
1333     }
1335 [effect_marketplace]
1336 type    = "Output_Bonus"
1337 value   = 50
1338 reqs    =
1339     { "type", "name", "range"
1340       "Building", "Marketplace", "City"
1341       "OutputType", "Gold", "Local"
1342     }
1344 [effect_marketplace_1]
1345 type    = "Output_Bonus"
1346 value   = 50
1347 reqs    =
1348     { "type", "name", "range"
1349       "Building", "Marketplace", "City"
1350       "OutputType", "Luxury", "Local"
1351     }
1353 ; No population pollution until certain techs researched
1354 [effect_pollu_pop_base]
1355 type    = "Pollu_Pop_Pct_2"
1356 value   = -100
1358 [effect_pollu_pop_automobile]
1359 type    = "Pollu_Pop_Pct_2"
1360 value   = 25
1361 reqs    =
1362     { "type", "name", "range"
1363       "Tech", "Automobile", "Player"
1364     }
1366 [effect_pollu_pop_industrialization]
1367 type    = "Pollu_Pop_Pct_2"
1368 value   = 25
1369 reqs    =
1370     { "type", "name", "range"
1371       "Tech", "Industrialization", "Player"
1372     }
1374 [effect_pollu_pop_mass_production]
1375 type    = "Pollu_Pop_Pct_2"
1376 value   = 25
1377 reqs    =
1378     { "type", "name", "range"
1379       "Tech", "Mass Production", "Player"
1380     }
1382 [effect_pollu_pop_plastics]
1383 type    = "Pollu_Pop_Pct_2"
1384 value   = 25
1385 reqs    =
1386     { "type", "name", "range"
1387       "Tech", "Plastics", "Player"
1388     }
1390 [effect_mass_transit]
1391 type    = "Pollu_Pop_Pct"
1392 value   = -100
1393 reqs    =
1394     { "type", "name", "range"
1395       "Building", "Mass Transit", "City"
1396     }
1398 [effect_mfg_plant]
1399 type    = "Output_Bonus"
1400 value   = 50
1401 reqs    =
1402     { "type", "name", "range"
1403       "Building", "Mfg. Plant", "City"
1404       "OutputType", "Shield", "Local"
1405     }
1407 [effect_nuclear_plant]
1408 type    = "Output_Bonus"
1409 value   = 25
1410 reqs    =
1411     { "type", "name", "range", "present"
1412       "Building", "Factory", "City", TRUE
1413       "Building", "Nuclear Plant", "City", TRUE
1414       "OutputType", "Shield", "Local", TRUE
1415       "Building", "Hoover Dam", "Player", FALSE
1416       "Building", "Solar Plant", "City", FALSE
1417     }
1419 [effect_nuclear_plant_1]
1420 type    = "Output_Bonus"
1421 value   = 25
1422 reqs    =
1423     { "type", "name", "range", "present"
1424       "Building", "Mfg. Plant", "City", TRUE
1425       "Building", "Nuclear Plant", "City", TRUE
1426       "OutputType", "Shield", "Local", TRUE
1427       "Building", "Hoover Dam", "Player", FALSE
1428       "Building", "Solar Plant", "City", FALSE
1429     }
1431 [effect_nuclear_plant_2]
1432 type    = "Pollu_Prod_Pct"
1433 value   = -25
1434 reqs    =
1435     { "type", "name", "range", "present"
1436       "Building", "Factory", "City", TRUE
1437       "Building", "Nuclear Plant", "City", TRUE
1438       "Building", "Recycling Center", "City", FALSE
1439       "Building", "Hoover Dam", "Player", FALSE
1440       "Building", "Solar Plant", "City", FALSE
1441     }
1443 [effect_nuclear_plant_3]
1444 type    = "Pollu_Prod_Pct"
1445 value   = -25
1446 reqs    =
1447     { "type", "name", "range", "present"
1448       "Building", "Mfg. Plant", "City", TRUE
1449       "Building", "Nuclear Plant", "City", TRUE
1450       "Building", "Recycling Center", "City", FALSE
1451       "Building", "Hoover Dam", "Player", FALSE
1452       "Building", "Solar Plant", "City", FALSE
1453     }
1455 [effect_offshore_platform]
1456 type    = "Output_Add_Tile"
1457 value   = 1
1458 reqs    =
1459     { "type", "name", "range"
1460       "TerrainClass", "Oceanic", "Local"
1461       "Building", "Offshore Platform", "City"
1462       "OutputType", "Shield", "Local"
1463     }
1465 [effect_palace]
1466 type    = "Output_Waste_Pct"
1467 value   = 50
1468 reqs    =
1469     { "type", "name", "range"
1470       "Building", "Palace", "City"
1471       "OutputType", "Trade", "Local"
1472     }
1474 ;[effect_palace_1]
1475 ;type    = "Waste_Pct"
1476 ;value  = 50
1477 ;reqs   =
1478 ;    { "type", "name", "range"
1479 ;      "Building", "Palace", "City"
1480 ;    }
1482 [effect_palace_2]
1483 type    = "Spy_Resistant"
1484 value   = 50
1485 reqs    =
1486     { "type", "name", "range"
1487       "Building", "Palace", "City"
1488     }
1490 [effect_palace_3]
1491 type    = "Capital_City"
1492 value   = 1
1493 reqs    =
1494     { "type", "name", "range"
1495       "Building", "Palace", "City"
1496     }
1498 [effect_palace_gov_center]
1499 type    = "Gov_Center"
1500 value   = 1
1501 reqs    =
1502     { "type", "name", "range"
1503       "Building", "Palace", "City"
1504     }
1506 [effect_palace_5]
1507 type = "Output_Bonus"
1508 value  = 75
1509 reqs =
1510     { "type", "name", "range"
1511       "Gov", "Despotism", "Player"
1512       "Building", "Palace", "City"
1513       "OutputType", "Shield", "Local"
1514     }
1516 [effect_palace_6]
1517 type = "Output_Bonus"
1518 value  = 50
1519 reqs =
1520     { "type", "name", "range"
1521       "Gov", "Monarchy", "Player"
1522       "Building", "Palace", "City"
1523       "OutputType", "Shield", "Local"
1524     }
1526 [effect_palace_culture]
1527 type    = "History"
1528 value   = 2
1529 reqs    =
1530     { "type", "name", "range"
1531       "Building", "Palace", "City"
1532     }
1534 [effect_police_station]
1535 type    = "Make_Content_Mil"
1536 value   = 1
1537 reqs    =
1538     { "type", "name", "range", "present"
1539       "Gov", "Republic", "Player", TRUE
1540       "Building", "Police Station", "City", TRUE
1541       "Building", "Women's Suffrage", "Player", FALSE
1542     }
1544 [effect_police_station_1]
1545 type    = "Make_Content_Mil"
1546 value   = 2
1547 reqs    =
1548     { "type", "name", "range", "present"
1549       "Gov", "Democracy", "Player", TRUE
1550       "Building", "Police Station", "City", TRUE
1551       "Building", "Women's Suffrage", "Player", FALSE
1552     }
1554 [effect_port_facility]
1555 type    = "Veteran_Build"
1556 value   = 1
1557 reqs    =
1558     { "type", "name", "range", "present"
1559       "Building", "Port Facility", "City", TRUE
1560       "UnitClass", "Sea", "Local", TRUE
1561       "UnitFlag", "NonMil", "Local", FALSE
1562       "UnitFlag", "NoVeteran", "Local", FALSE
1563     }
1565 [effect_port_facility_1]
1566 type    = "HP_Regen"
1567 value   = 100
1568 reqs    =
1569     { "type", "name", "range"
1570       "Building", "Port Facility", "City"
1571       "UnitClass", "Sea", "Local"
1572     }
1574 [effect_port_facility_trireme]
1575 type    = "Veteran_Build"
1576 value   = 1
1577 reqs    =
1578     { "type", "name", "range", "present"
1579       "Building", "Port Facility", "City", TRUE
1580       "UnitClass", "Trireme", "Local", TRUE
1581       "UnitFlag", "NonMil", "Local", FALSE
1582       "UnitFlag", "NoVeteran", "Local", FALSE
1583     }
1585 [effect_port_facility_trireme_1]
1586 type    = "HP_Regen"
1587 value   = 100
1588 reqs    =
1589     { "type", "name", "range"
1590       "Building", "Port Facility", "City"
1591       "UnitClass", "Trireme", "Local"
1592     }
1594 [effect_power_plant]
1595 type    = "Output_Bonus"
1596 value   = 25
1597 reqs    =
1598     { "type", "name", "range", "present"
1599       "Building", "Factory", "City", TRUE
1600       "Building", "Power Plant", "City", TRUE
1601       "OutputType", "Shield", "Local", TRUE
1602       "Building", "Hoover Dam", "Player", FALSE
1603       "Building", "Nuclear Plant", "City", FALSE
1604       "Building", "Hydro Plant", "City", FALSE
1605       "Building", "Solar Plant", "City", FALSE
1606     }
1608 [effect_power_plant_1]
1609 type    = "Output_Bonus"
1610 value   = 25
1611 reqs    =
1612     { "type", "name", "range", "present"
1613       "Building", "Mfg. Plant", "City", TRUE
1614       "Building", "Power Plant", "City", TRUE
1615       "OutputType", "Shield", "Local", TRUE
1616       "Building", "Hoover Dam", "Player", FALSE
1617       "Building", "Nuclear Plant", "City", FALSE
1618       "Building", "Hydro Plant", "City", FALSE
1619       "Building", "Solar Plant", "City", FALSE
1620     }
1622 [effect_recycling_center]
1623 type    = "Pollu_Prod_Pct"
1624 value   = -66
1625 reqs    =
1626     { "type", "name", "range", "present"
1627       "Building", "Recycling Center", "City", TRUE
1628 ; A Solar Plant can give a stronger effect than a Recycling Center, in which
1629 ; case we want only the Solar Plant's effect (not the addition of the two).
1630       "Building", "Solar Plant", "City", FALSE
1631     }
1633 ; Nasty special cases: where a Solar Plant is present but its effect is less
1634 ; than that of a Recycling Center, top up so that the net effect is that of the
1635 ; Recycling Center.
1636 ; (This would be so much easier if effects could be combined by functions
1637 ; other than addition...)
1639 ; Factory and no Mfg. Plant: Solar Plant saves 50%, less than 66%; add 16%
1640 [effect_recycling_center_1]
1641 type    = "Pollu_Prod_Pct"
1642 value   = -16
1643 reqs    =
1644     { "type", "name", "range", "present"
1645       "Building", "Recycling Center", "City", TRUE
1646       "Building", "Solar Plant", "City", TRUE
1647       "Building", "Factory", "City", TRUE
1648       "Building", "Mfg. Plant", "City", FALSE
1649     }
1651 ; Mfg. Plant and no Factory: Solar Plant saves 50%, less than 66%; add 16%
1652 [effect_recycling_center_2]
1653 type    = "Pollu_Prod_Pct"
1654 value   = -16
1655 reqs    =
1656     { "type", "name", "range", "present"
1657       "Building", "Recycling Center", "City", TRUE
1658       "Building", "Solar Plant", "City", TRUE
1659       "Building", "Mfg. Plant", "City", TRUE
1660       "Building", "Factory", "City", FALSE
1661     }
1663 ; Neither Factory nor Mfg. Plant: Solar Plant saves 0%; add 66%
1664 [effect_recycling_center_3]
1665 type    = "Pollu_Prod_Pct"
1666 value   = -66
1667 reqs    =
1668     { "type", "name", "range", "present"
1669       "Building", "Recycling Center", "City", TRUE
1670       "Building", "Solar Plant", "City", TRUE
1671       "Building", "Factory", "City", FALSE
1672       "Building", "Mfg. Plant", "City", FALSE
1673     }
1675 [effect_research_lab]
1676 type    = "Output_Bonus"
1677 value   = 100
1678 reqs    =
1679     { "type", "name", "range"
1680       "Building", "Library", "City"
1681       "Building", "Research Lab", "City"
1682       "OutputType", "Science", "Local"
1683     }
1685 [effect_research_lab_1]
1686 type    = "Output_Bonus"
1687 value   = 100
1688 reqs    =
1689     { "type", "name", "range"
1690       "Building", "University", "City"
1691       "Building", "Research Lab", "City"
1692       "OutputType", "Science", "Local"
1693     }
1695 [effect_sam_battery]
1696 type    = "Defend_Bonus"
1697 value   = 100
1698 reqs    =
1699     { "type", "name", "range"
1700       "Building", "SAM Battery", "City"
1701       "UnitClass", "Air", "Local"
1702     }
1704 [effect_sdi_defense]
1705 type    = "Nuke_Proof"
1706 value   = 100
1707 reqs    =
1708     { "type", "name", "range", "present"
1709       "Building", "SDI Defense", "City", TRUE
1710       "DiplRel", "Is foreign", "Local", TRUE
1711       "DiplRel", "Team", "Local", FALSE
1712     }
1714 [effect_sdi_defense_1]
1715 type    = "Defend_Bonus"
1716 value   = 100
1717 reqs    =
1718     { "type", "name", "range"
1719       "Building", "SDI Defense", "City"
1720       "UnitClass", "Missile", "Local"
1721     }
1723 [effect_sewer_system]
1724 type    = "Size_Unlimit"
1725 value   = 1
1726 reqs    =
1727     { "type", "name", "range"
1728       "Building", "Aqueduct", "City"
1729       "Building", "Sewer System", "City"
1730     }
1732 [effect_sewer_system_health]
1733 type    = "Health_Pct"
1734 value   = 20
1735 reqs    =
1736     { "type", "name", "range"
1737       "Building", "Aqueduct", "City"
1738       "Building", "Sewer System", "City"
1739     }
1741 [effect_solar_plant]
1742 type    = "Output_Bonus"
1743 value   = 25
1744 reqs    =
1745     { "type", "name", "range"
1746       "Building", "Factory", "City"
1747       "Building", "Solar Plant", "City"
1748       "OutputType", "Shield", "Local"
1749     }
1751 [effect_solar_plant_1]
1752 type    = "Output_Bonus"
1753 value   = 25
1754 reqs    =
1755     { "type", "name", "range"
1756       "Building", "Mfg. Plant", "City"
1757       "Building", "Solar Plant", "City"
1758       "OutputType", "Shield", "Local"
1759     }
1761 [effect_solar_plant_2]
1762 type    = "Pollu_Prod_Pct"
1763 value   = -50
1764 reqs    =
1765     { "type", "name", "range"
1766       "Building", "Factory", "City"
1767       "Building", "Solar Plant", "City"
1768     }
1770 [effect_solar_plant_3]
1771 type    = "Pollu_Prod_Pct"
1772 value   = -50
1773 reqs    =
1774     { "type", "name", "range"
1775       "Building", "Mfg. Plant", "City"
1776       "Building", "Solar Plant", "City"
1777     }
1779 [effect_space_component]
1780 type    = "SS_Component"
1781 value   = 1
1782 reqs    =
1783     { "type", "name", "range"
1784       "Building", "Space Component", "City"
1785     }
1787 [effect_space_module]
1788 type    = "SS_Module"
1789 value   = 1
1790 reqs    =
1791     { "type", "name", "range"
1792       "Building", "Space Module", "City"
1793     }
1795 [effect_space_structural]
1796 type    = "SS_Structural"
1797 value   = 1
1798 reqs    =
1799     { "type", "name", "range"
1800       "Building", "Space Structural", "City"
1801     }
1803 [effect_plastics_slowdown]
1804 type    = "Slow_Down_Timeline"
1805 value   = 1
1806 reqs    =
1807     { "type", "name", "range", "survives"
1808       "Tech", "Plastics", "World", TRUE
1809     }
1811 [effect_superconductor_slowdown]
1812 type    = "Slow_Down_Timeline"
1813 value   = 1
1814 reqs    =
1815     { "type", "name", "range", "survives"
1816       "Tech", "Superconductors", "World", TRUE
1817     }
1819 [effect_spaceflight_slowdown]
1820 type    = "Slow_Down_Timeline"
1821 value   = 1
1822 reqs    =
1823     { "type", "name", "range", "survives"
1824       "Tech", "Space Flight", "World", TRUE
1825     }
1827 [effect_stock_exchange]
1828 type    = "Output_Bonus"
1829 value   = 50
1830 reqs    =
1831     { "type", "name", "range"
1832       "Building", "Bank", "City"
1833       "Building", "Stock Exchange", "City"
1834       "OutputType", "Gold", "Local"
1835     }
1837 [effect_stock_exchange_1]
1838 type    = "Output_Bonus"
1839 value   = 50
1840 reqs    =
1841     { "type", "name", "range"
1842       "Building", "Bank", "City"
1843       "Building", "Stock Exchange", "City"
1844       "OutputType", "Luxury", "Local"
1845     }
1847 [effect_super_highways]
1848 type    = "Output_Per_Tile"
1849 value   = 50
1850 reqs    =
1851     { "type", "name", "range"
1852       "Extra", "Road", "Local"
1853       "Building", "Super Highways", "City"
1854       "OutputType", "Trade", "Local"
1855     }
1857 [effect_mine]
1858 type    = "Mining_Pct"
1859 value   = 100
1860 reqs    =
1861     { "type", "name", "range"
1862       "Extra", "Mine", "Local"
1863     }
1865 [effect_oil_well]
1866 type    = "Mining_Pct"
1867 value   = 100
1868 reqs    =
1869     { "type", "name", "range"
1870       "Extra", "Oil Well", "Local"
1871     }
1873 [effect_irrigation]
1874 type    = "Irrigation_Pct"
1875 value   = 100
1876 reqs    =
1877     { "type", "name", "range", "present"
1878       "Extra", "Irrigation", "Local", TRUE
1879       "CityTile", "Center", "Local", FALSE
1880     }
1882 [effect_irrigation_2]
1883 type    = "Irrigation_Pct"
1884 value   = 100
1885 reqs    =
1886     { "type", "name", "range", "present"
1887       "CityTile", "Center", "Local", TRUE
1888       "TerrainAlter", "CanIrrigate", "Local", TRUE
1889       "Extra", "Mine", "Local", FALSE
1890       "Extra", "Oil Well", "Local", FALSE
1891     }
1893 [effect_supermarket]
1894 type    = "Output_Per_Tile"
1895 value   = 50
1896 reqs    =
1897     { "type", "name", "range", "present"
1898       "Extra", "Farmland", "Local", TRUE
1899       "Building", "Supermarket", "City", TRUE
1900       "OutputType", "Food", "Local", TRUE
1901       "CityTile", "Center", "Local", FALSE
1902     }
1904 [effect_supermarket_2]
1905 type    = "Output_Per_Tile"
1906 value   = 50
1907 reqs    =
1908     { "type", "name", "range", "present"
1909       "CityTile", "Center", "Local", TRUE
1910       "TerrainAlter", "CanIrrigate", "Local", TRUE
1911       "Building", "Supermarket", "City", TRUE
1912       "OutputType", "Food", "Local", TRUE
1913       "Extra", "Mine", "Local", FALSE
1914       "Extra", "Oil Well", "Local", FALSE
1915     }
1917 [effect_temple]
1918 type    = "Make_Content"
1919 value   = 1
1920 reqs    =
1921     { "type", "name", "range"
1922       "Building", "Temple", "City"
1923     }
1925 [effect_temple_1]
1926 type    = "Make_Content"
1927 value   = 1
1928 reqs    =
1929     { "type", "name", "range"
1930       "Tech", "Mysticism", "Player"
1931       "Building", "Temple", "City"
1932     }
1934 [effect_temple_2]
1935 type    = "Health_Pct"
1936 value   = 20
1937 reqs    =
1938     { "type", "name", "range"
1939       "Building", "Temple", "City"
1940     }
1942 [effect_university]
1943 type    = "Output_Bonus"
1944 value   = 150
1945 reqs    =
1946     { "type", "name", "range"
1947       "Building", "Library", "City"
1948       "Building", "University", "City"
1949       "OutputType", "Science", "Local"
1950     }
1952 [effect_university_culture]
1953 type    = "History"
1954 value   = 1
1955 reqs    =
1956     { "type", "name", "range"
1957       "Building", "University", "City"
1958     }
1960 [effect_apollo_program]
1961 type    = "Reveal_Map"
1962 value   = 1
1963 reqs    =
1964     { "type", "name", "range"
1965       "Building", "Apollo Program", "Player"
1966     }
1968 [effect_apollo_program_1]
1969 type    = "Enable_Space"
1970 value   = 1
1971 reqs    =
1972     { "type", "name", "range", "survives"
1973       "Building", "Apollo Program", "World", TRUE
1974     }
1976 [effect_asmiths_trading_co]
1977 type    = "Upkeep_Free"
1978 value   = 1
1979 reqs    =
1980     { "type", "name", "range"
1981       "Building", "A.Smith's Trading Co.", "Player"
1982     }
1984 [effect_colossus]
1985 type    = "Output_Inc_Tile"
1986 value   = 1
1987 reqs    =
1988     { "type", "name", "range"
1989       "Building", "Colossus", "City"
1990       "OutputType", "Trade", "Local"
1991     }
1993 [effect_copernicus_observatory]
1994 type    = "Output_Bonus"
1995 value   = 100
1996 reqs    =
1997     { "type", "name", "range"
1998       "Building", "Copernicus' Observatory", "City"
1999       "OutputType", "Science", "Local"
2000     }
2002 [effect_cure_for_cancer]
2003 type    = "Force_Content"
2004 value   = 1
2005 reqs    =
2006     { "type", "name", "range"
2007       "Building", "Cure For Cancer", "Player"
2008     }
2010 [effect_cure_for_cancer_health]
2011 type    = "Health_Pct"
2012 value   = 5
2013 reqs    =
2014     { "type", "name", "range"
2015       "Building", "Cure For Cancer", "Player"
2016     }
2018 [effect_darwins_voyage]
2019 type    = "Give_Imm_Tech"
2020 value   = 2
2021 reqs    =
2022     { "type", "name", "range"
2023       "Building", "Darwin's Voyage", "Player"
2024     }
2026 [effect_eiffel_tower]
2027 type    = "Gain_AI_Love"
2028 value   = 20
2029 reqs    =
2030     { "type", "name", "range"
2031       "Building", "Eiffel Tower", "Player"
2032     }
2034 [effect_great_library]
2035 type    = "Tech_Parasite"
2036 value   = 2
2037 reqs    =
2038     { "type", "name", "range"
2039       "Building", "Great Library", "Player"
2040     }
2042 [effect_great_wall_land_defense]
2043 type    = "Defend_Bonus"
2044 value   = 200
2045 reqs    =
2046     { "type", "name", "range"
2047       "Building", "Great Wall", "Player"
2048       "UnitClass", "Land", "Local"
2049       "CityTile", "Center", "Local"
2050     }
2052 [effect_great_wall_big_land_defense]
2053 type    = "Defend_Bonus"
2054 value   = 200
2055 reqs    =
2056     { "type", "name", "range", "present"
2057       "Building", "Great Wall", "Player", TRUE
2058       "UnitClass", "Big Land", "Local", TRUE
2059       "CityTile", "Center", "Local", TRUE
2060       "UnitType", "Howitzer", "Local", FALSE
2061     }
2063 [effect_great_wall_heli_defense]
2064 type    = "Defend_Bonus"
2065 value   = 200
2066 reqs    =
2067     { "type", "name", "range"
2068       "Building", "Great Wall", "Player"
2069       "UnitClass", "Helicopter", "Local"
2070       "CityTile", "Center", "Local"
2071     }
2073 [effect_great_wall_1]
2074 type    = "Unit_No_Lose_Pop"
2075 value   = 1
2076 reqs    =
2077     { "type", "name", "range"
2078       "Building", "Great Wall", "Player"
2079     }
2081 [effect_great_wall_visible]
2082 type    = "Visible_Walls"
2083 value   = 1
2084 reqs    =
2085     { "type", "name", "range"
2086       "Building", "Great Wall", "Player"
2087     }
2089 [effect_hanging_gardens]
2090 type    = "Make_Happy"
2091 value   = 1
2092 reqs    =
2093     { "type", "name", "range", "present"
2094       "Building", "Hanging Gardens", "Player", TRUE
2095       "Building", "Hanging Gardens", "City", FALSE
2096     }
2098 [effect_hanging_gardens_1]
2099 type    = "Make_Happy"
2100 value   = 3
2101 reqs    =
2102     { "type", "name", "range"
2103       "Building", "Hanging Gardens", "City"
2104     }
2106 [effect_hoover_dam]
2107 type    = "Output_Bonus"
2108 value   = 25
2109 reqs    =
2110     { "type", "name", "range", "present"
2111       "Building", "Factory", "City", TRUE
2112       "Building", "Hoover Dam", "Player", TRUE
2113       "OutputType", "Shield", "Local", TRUE
2114       "Building", "Solar Plant", "City", FALSE
2115     }
2117 [effect_hoover_dam_1]
2118 type    = "Output_Bonus"
2119 value   = 25
2120 reqs    =
2121     { "type", "name", "range", "present"
2122       "Building", "Mfg. Plant", "City", TRUE
2123       "Building", "Hoover Dam", "Player", TRUE
2124       "OutputType", "Shield", "Local", TRUE
2125       "Building", "Solar Plant", "City", FALSE
2126     }
2128 [effect_hoover_dam_2]
2129 type    = "Pollu_Prod_Pct"
2130 value   = -25
2131 reqs    =
2132     { "type", "name", "range", "present"
2133       "Building", "Factory", "City", TRUE
2134       "Building", "Hoover Dam", "Player", TRUE
2135       "Building", "Recycling Center", "City", FALSE
2136       "Building", "Solar Plant", "City", FALSE
2137     }
2139 [effect_hoover_dam_3]
2140 type    = "Pollu_Prod_Pct"
2141 value   = -25
2142 reqs    =
2143     { "type", "name", "range", "present"
2144       "Building", "Mfg. Plant", "City", TRUE
2145       "Building", "Hoover Dam", "Player", TRUE
2146       "Building", "Recycling Center", "City", FALSE
2147       "Building", "Solar Plant", "City", FALSE
2148     }
2150 [effect_isaac_newtons_college]
2151 type    = "Output_Bonus"
2152 value   = 100
2153 reqs    =
2154     { "type", "name", "range"
2155       "Building", "University", "City"
2156       "Building", "Isaac Newton's College", "Player"
2157       "OutputType", "Science", "Local"
2158     }
2160 [effect_js_bachs_cathedral]
2161 type    = "Force_Content"
2162 value   = 2
2163 reqs    =
2164     { "type", "name", "range"
2165       "Building", "J.S. Bach's Cathedral", "Player"
2166     }
2168 [effect_king_richards_crusade]
2169 type    = "Output_Add_Tile"
2170 value   = 1
2171 reqs    =
2172     { "type", "name", "range"
2173       "Building", "King Richard's Crusade", "City"
2174       "OutputType", "Shield", "Local"
2175     }
2177 [effect_leonardos_workshop]
2178 type    = "Upgrade_Unit"
2179 value   = 1
2180 reqs    =
2181     { "type", "name", "range"
2182       "Building", "Leonardo's Workshop", "Player"
2183     }
2185 [effect_lighthouse]
2186 type    = "Move_Bonus"
2187 value   = 1
2188 reqs    =
2189     { "type", "name", "range"
2190       "Building", "Lighthouse", "Player"
2191       "UnitClass", "Sea", "Local"
2192     }
2194 [effect_lighthouse_2]
2195 type    = "Veteran_Build"
2196 value   = 1
2197 reqs    =
2198     { "type", "name", "range", "present"
2199       "Building", "Lighthouse", "Player", TRUE
2200       "UnitClass", "Sea", "Local", TRUE
2201       "UnitFlag", "NonMil", "Local", FALSE
2202       "UnitFlag", "NoVeteran", "Local", FALSE
2203       "Building", "Port Facility", "City", FALSE
2204     }
2206 [effect_lighthouse_trireme_move]
2207 type    = "Move_Bonus"
2208 value   = 1
2209 reqs    =
2210     { "type", "name", "range"
2211       "Building", "Lighthouse", "Player"
2212       "UnitClass", "Trireme", "Local"
2213     }
2215 [effect_lighthouse_trireme_veteran]
2216 type    = "Veteran_Build"
2217 value   = 1
2218 reqs    =
2219     { "type", "name", "range", "present"
2220       "Building", "Lighthouse", "Player", TRUE
2221       "UnitClass", "Trireme", "Local", TRUE
2222       "UnitFlag", "NonMil", "Local", FALSE
2223       "UnitFlag", "NoVeteran", "Local", FALSE
2224       "Building", "Port Facility", "City", FALSE
2225     }
2227 [effect_magellans_expedition]
2228 type    = "Move_Bonus"
2229 value   = 2
2230 reqs    =
2231     { "type", "name", "range"
2232       "Building", "Magellan's Expedition", "Player"
2233       "UnitClass", "Sea", "Local"
2234     }
2236 [effect_magellan_trireme]
2237 type    = "Move_Bonus"
2238 value   = 2
2239 reqs    =
2240     { "type", "name", "range"
2241       "Building", "Magellan's Expedition", "Player"
2242       "UnitClass", "Trireme", "Local"
2243     }
2245 [effect_manhattan_project]
2246 type    = "Enable_Nuke"
2247 value   = 1
2248 reqs    =
2249     { "type", "name", "range", "survives"
2250       "Building", "Manhattan Project", "World", TRUE
2251     }
2253 [effect_marco_polos_embassy]
2254 type    = "Have_Embassies"
2255 value   = 1
2256 reqs    =
2257     { "type", "name", "range"
2258       "Building", "Marco Polo's Embassy", "Player"
2259     }
2261 [effect_michelangelos_chapel]
2262 type    = "Make_Content"
2263 value   = 3
2264 reqs    =
2265     { "type", "name", "range"
2266       "Building", "Michelangelo's Chapel", "Player"
2267     }
2269 [effect_michelangelos_chapel_1]
2270 type    = "Make_Content"
2271 value   = 1
2272 reqs    =
2273     { "type", "name", "range"
2274       "Tech", "Theology", "Player"
2275       "Building", "Michelangelo's Chapel", "Player"
2276     }
2278 [effect_michelangelos_chapel_2]
2279 type    = "Make_Content"
2280 value   = -1
2281 reqs    =
2282     { "type", "name", "range"
2283       "Tech", "Communism", "Player"
2284       "Building", "Michelangelo's Chapel", "Player"
2285     }
2287 [effect_oracle]
2288 type    = "Make_Content"
2289 value   = 2
2290 reqs    =
2291     { "type", "name", "range"
2292       "Building", "Temple", "City"
2293       "Building", "Oracle", "Player"
2294     }
2296 [effect_pyramids]
2297 type    = "Growth_Food"
2298 value   = 25
2299 reqs    =
2300     { "type", "name", "range"
2301       "Building", "Pyramids", "Player"
2302     }
2304 [effect_seti_program]
2305 type    = "Output_Bonus"
2306 value   = 100
2307 reqs    =
2308     { "type", "name", "range"
2309       "Building", "Research Lab", "City"
2310       "Building", "SETI Program", "Player"
2311       "OutputType", "Science", "Local"
2312     }
2314 [effect_shakespeares_theatre]
2315 type    = "No_Unhappy"
2316 value   = 1
2317 reqs    =
2318     { "type", "name", "range"
2319       "Building", "Shakespeare's Theatre", "City"
2320     }
2322 [effect_statue_of_liberty]
2323 type    = "Any_Government"
2324 value   = 1
2325 reqs    =
2326     { "type", "name", "range"
2327       "Building", "Statue of Liberty", "Player"
2328     }
2330 [effect_statue_of_liberty_1]
2331 type    = "No_Anarchy"
2332 value   = 1
2333 reqs    =
2334     { "type", "name", "range"
2335       "Building", "Statue of Liberty", "Player"
2336     }
2338 [effect_sun_tzus_land_veteran]
2339 type    = "Veteran_Build"
2340 value   = 1
2341 reqs    =
2342     { "type", "name", "range", "present"
2343       "Building", "Sun Tzu's War Academy", "Player", TRUE
2344       "UnitClass", "Land", "Local", TRUE
2345       "UnitFlag", "NonMil", "Local", FALSE
2346       "UnitFlag", "NoVeteran", "Local", FALSE
2347     }
2349 [effect_sun_tzus_big_land_veteran]
2350 type    = "Veteran_Build"
2351 value   = 1
2352 reqs    =
2353     { "type", "name", "range", "present"
2354       "Building", "Sun Tzu's War Academy", "Player", TRUE
2355       "UnitClass", "Big Land", "Local", TRUE
2356       "UnitFlag", "NonMil", "Local", FALSE
2357       "UnitFlag", "NoVeteran", "Local", FALSE
2358     }
2360 [effect_sun_tzus_land_combat_vet]
2361 type    = "Veteran_Combat"
2362 value   = 50
2363 reqs    =
2364     { "type", "name", "range", "present"
2365       "Building", "Sun Tzu's War Academy", "Player", TRUE
2366       "UnitClass", "Land", "Local", TRUE
2367       "UnitFlag", "Diplomat", "Local", FALSE
2368     }
2370 [effect_sun_tzus_big_land_combat_vet]
2371 type    = "Veteran_Combat"
2372 value   = 50
2373 reqs    =
2374     { "type", "name", "range", "present"
2375       "Building", "Sun Tzu's War Academy", "Player", TRUE
2376       "UnitClass", "Big Land", "Local", TRUE
2377       "UnitFlag", "Diplomat", "Local", FALSE
2378     }
2380 [effect_united_nations]
2381 type    = "Unit_Recover"
2382 value   = 2
2383 reqs    =
2384     { "type", "name", "range"
2385       "Building", "United Nations", "Player"
2386     }
2388 [effect_womens_suffrage]
2389 type    = "Make_Content_Mil"
2390 value   = 1
2391 reqs    =
2392     { "type", "name", "range"
2393       "Gov", "Republic", "Player"
2394       "Building", "Women's Suffrage", "Player"
2395     }
2397 [effect_womens_suffrage_1]
2398 type    = "Make_Content_Mil"
2399 value   = 2
2400 reqs    =
2401     { "type", "name", "range"
2402       "Gov", "Democracy", "Player"
2403       "Building", "Women's Suffrage", "Player"
2404     }
2406 [effect_flight_trade_revenue_reduce]
2407 type    = "Trade_Revenue_Bonus"
2408 value   = -585
2409 reqs    =
2410     { "type", "name", "range"
2411       "Tech", "Flight", "Player"
2412     }
2413     
2414 [effect_railroad_trade_revenue_reduce]
2415 type    = "Trade_Revenue_Bonus"
2416 value   = -585
2417 reqs    =
2418     { "type", "name", "range"
2419       "Tech", "Railroad", "Player"
2420     }
2422 [effect_upkeep_shield2gold]
2423 type    = "Shield2Gold_Factor"
2424 value   = 100
2425 reqs    =
2426     { "type", "name", "range"
2427       "Tech", "The Corporation", "Player"
2428     }
2430 [effect_calendar_base]
2431 type    = "Turn_Years"
2432 value   = 50
2434 ; 50 - 25 = 25
2435 [effect_calendar_1]
2436 type    = "Turn_Years"
2437 value   = -25
2438 reqs    =
2439     { "type", "name", "range"
2440       "MinYear", "-1000", "World"
2441     }
2443 ; 25 - 5 = 20
2444 [effect_calendar_2]
2445 type    = "Turn_Years"
2446 value   = -5
2447 reqs    =
2448     { "type", "name", "range"
2449       "MinYear", "0", "World"
2450     }
2452 ; 20 - 10 = 10
2453 [effect_calendar_3]
2454 type    = "Turn_Years"
2455 value   = -10
2456 reqs    =
2457     { "type", "name", "range"
2458       "MinYear", "1000", "World"
2459     }
2461 ; 10 - 5 = 5
2462 [effect_calendar_4]
2463 type    = "Turn_Years"
2464 value   = -5
2465 reqs    =
2466     { "type", "name", "range"
2467       "MinYear", "1500", "World"
2468     }
2470 ; 5 - 3 = 2
2471 [effect_calendar_5]
2472 type    = "Turn_Years"
2473 value   = -3
2474 reqs    =
2475     { "type", "name", "range"
2476       "MinYear", "1750", "World"
2477     }
2479 ; 2 - 1 = 1
2480 [effect_calendar_6]
2481 type    = "Turn_Years"
2482 value   = -1
2483 reqs    =
2484     { "type", "name", "range"
2485       "MinYear", "1900", "World"
2486     }
2488 [effect_tech_cost_base]
2489 type    = "Tech_Cost_Factor"
2490 value   = 1
2492 ; Cities can always work tiles
2493 [effect_tile_workable]
2494 type    = "Tile_Workable"
2495 value   = 1
2496 reqs    =
2497     { "type", "name", "range", "present"
2498       "Terrain", "Inaccessible", "Local", FALSE
2499     }
2501 ; each city has at least one slot to build units
2502 [effect_city_build_slots_basic]
2503 type    = "City_Build_Slots"
2504 value   = 1
2506 [effect_trade_routes]
2507 type    = "Max_Trade_Routes"
2508 value   = 2
2510 [effect_trade_routes_magnetism]
2511 type    = "Max_Trade_Routes"
2512 value   = 1
2513 reqs    =
2514     { "type", "name", "range"
2515       "Tech", "Magnetism", "Player"
2516     }
2518 [effect_trade_routes_corporation]
2519 type    = "Max_Trade_Routes"
2520 value   = 1
2521 reqs    =
2522     { "type", "name", "range"
2523       "Tech", "The Corporation", "Player"
2524     }
2526 ; Base vision range - radius of vision is sqrt(2) = 1.41
2527 [effect_city_vision_0]
2528 type    = "City_Vision_Radius_Sq"
2529 value   = 2
2531 ; City radius 2 - radius is sqrt(2+3) = 2.24
2532 [effect_city_radius_1]
2533 type    = "City_Radius_Sq"
2534 value   = 3
2535 reqs    =
2536     { "type", "name", "range"
2537       "MinSize", "3", "City"
2538     }
2540 [effect_city_image_1]
2541 type    = "City_Image"
2542 value   = 1
2543 reqs    =
2544     { "type", "name", "range"
2545       "MinSize", "3", "City"
2546     }
2548 ; City radius 2 - radius of vision is sqrt(2+3) = 2.24
2549 [effect_city_vision_1]
2550 type    = "City_Vision_Radius_Sq"
2551 value   = 3
2552 reqs    =
2553     { "type", "name", "range"
2554       "MinSize", "3", "City"
2555     }
2557 ; City radius 3 - radius is sqrt(2+3+5) = 3.16
2558 [effect_city_radius_2]
2559 type    = "City_Radius_Sq"
2560 value   = 5
2561 reqs    =
2562     { "type", "name", "range"
2563       "MinSize", "10", "City"
2564       "Tech", "Railroad", "Player"
2565     }
2567 [effect_city_image_2]
2568 type    = "City_Image"
2569 value   = 1
2570 reqs    =
2571     { "type", "name", "range"
2572       "MinSize", "10", "City"
2573       "Tech", "Railroad", "Player"
2574     }
2576 ; City radius 3 - radius of vision is sqrt(2+3+5) = 3.16
2577 [effect_city_vision_2]
2578 type    = "City_Vision_Radius_Sq"
2579 value   = 5
2580 reqs    =
2581     { "type", "name", "range"
2582       "MinSize", "10", "City"
2583       "Tech", "Railroad", "Player"
2584     }
2586 ; City radius 3 - (1)+1 build slots
2587 [effect_city_build_slots_3]
2588 type    = "City_Build_Slots"
2589 value   = 1
2590 reqs    =
2591     { "type", "name", "range"
2592       "MinSize", "10", "City"
2593       "Tech", "Railroad", "Player"
2594     }
2596 ; City radius 4 - radius is sqrt(2+3+5+7) = 4.12
2597 [effect_city_radius_3]
2598 type    = "City_Radius_Sq"
2599 value   = 8
2600 reqs    =
2601     { "type", "name", "range"
2602       "MinSize", "30", "City"
2603       "Tech", "Railroad", "Player"
2604       "Building", "Mass Transit", "City"
2605       "Building", "Super Highways", "City"
2606     }
2608 [effect_city_image_3]
2609 type    = "City_Image"
2610 value   = 1
2611 reqs    =
2612     { "type", "name", "range"
2613       "MinSize", "30", "City"
2614       "Tech", "Railroad", "Player"
2615       "Building", "Mass Transit", "City"
2616       "Building", "Super Highways", "City"
2617     }
2619 ; City radius 4 - radius of vision is sqrt(2+3+5+7) = 4.12
2620 [effect_city_vision_3]
2621 type    = "City_Vision_Radius_Sq"
2622 value   = 8
2623 reqs    =
2624     { "type", "name", "range"
2625       "MinSize", "30", "City"
2626       "Tech", "Railroad", "Player"
2627       "Building", "Mass Transit", "City"
2628       "Building", "Super Highways", "City"
2629     }
2631 ; City radius 4 - (1+1)+1 build slots
2632 [effect_city_build_slots_4]
2633 type    = "City_Build_Slots"
2634 value   = 1
2635 reqs    =
2636     { "type", "name", "range"
2637       "MinSize", "30", "City"
2638       "Tech", "Railroad", "Player"
2639       "Building", "Mass Transit", "City"
2640       "Building", "Super Highways", "City"
2641     }
2643 [effect_city_image_4]
2644 type    = "City_Image"
2645 value   = 1
2646 reqs    =
2647     { "type", "name", "range"
2648       "MinSize", "50", "City"
2649       "Tech", "Railroad", "Player"
2650       "Building", "Mass Transit", "City"
2651       "Building", "Super Highways", "City"
2652     }
2654 [effect_irrigate_src_ocean]
2655 type    = "Irrig_Possible"
2656 value   = 1
2657 reqs    =
2658     { "type", "name", "range"
2659       "TerrainClass", "Oceanic", "CAdjacent"
2660     }
2662 [effect_irrigate_src_river]
2663 type    = "Irrig_Possible"
2664 value   = 1
2665 reqs    =
2666     { "type", "name", "range"
2667       "Extra", "River", "CAdjacent"
2668     }
2670 [effect_irrigate_src_irrigation]
2671 type    = "Irrig_Possible"
2672 value   = 1
2673 reqs    =
2674     { "type", "name", "range"
2675       "Extra", "Irrigation", "CAdjacent"
2676     }
2678 [effect_mining]
2679 type    = "Mining_Possible"
2680 value   = 1
2681 reqs    =
2682     { "type", "name", "range", "present"
2683       "TerrainFlag", "Oil", "Local", FALSE
2684     }
2686 [effect_desert_oil]
2687 type    = "Mining_Possible"
2688 value   = 1
2689 reqs    =
2690     { "type", "name", "range"
2691       "Terrain", "Desert", "Local"
2692       "Tech", "Construction", "Player"
2693     }
2695 [effect_glacier_oil]
2696 type    = "Mining_Possible"
2697 value   = 1
2698 reqs    =
2699     { "type", "name", "range"
2700       "Terrain", "Glacier", "Local"
2701       "Tech", "Refining", "Player"
2702     }
2704 [effect_irrig_tf]
2705 type    = "Irrig_TF_Possible"
2706 value   = 1
2708 [effect_mining_tf]
2709 type    = "Mining_TF_Possible"
2710 value   = 1
2712 [effect_transform]
2713 type    = "Transform_Possible"
2714 value   = 1
2715 reqs    =
2716     { "type", "name", "range"
2717       "UnitFlag", "Transform", "Local"
2718     }
2720 [effect_pollution]
2721 type    = "Output_Tile_Punish_Pct"
2722 value   = 50
2723 reqs    =
2724     { "type", "name", "range", "present"
2725       "Extra", "Pollution", "Local", TRUE
2726       "Extra", "Fallout", "Local", FALSE
2727     }
2729 [effect_fallout]
2730 type    = "Output_Tile_Punish_Pct"
2731 value   = 50
2732 reqs    =
2733     { "type", "name", "range", "present"
2734       "Extra", "Fallout", "Local", TRUE
2735       "Extra", "Pollution", "Local", FALSE
2736     }
2738 [effect_pollution_fallout]
2739 type    = "Output_Tile_Punish_Pct"
2740 value   = 75
2741 reqs    =
2742     { "type", "name", "range"
2743       "Extra", "Fallout", "Local"
2744       "Extra", "Pollution", "Local"
2745     }
2747 [effect_unit_bribe_cost_settlers]
2748 type    = "Unit_Bribe_Cost_Pct"
2749 value   = -50
2750 reqs    =
2751     { "type", "name", "range"
2752       "UnitFlag", "Cities", "Local"
2753     }
2755 [effect_illegal_action_move_cost_base]
2756 type    = "Illegal_Action_Move_Cost"
2757 value   = 1