Make AI less likely to stop building wonder
[freeciv.git] / data / civ2 / effects.ruleset
blob10e2e0af6b83316e6aa4dd0405ede657de187f20
1 ; Modifying this file:
2 ; You should not modify this file except to make bugfixes or
3 ; for other "maintenance".  If you want to make custom changes,
4 ; you should create a new datadir subdirectory and copy this file
5 ; into that directory, and then modify that copy.  Then use the
6 ; command "rulesetdir <mysubdir>" in the server to have freeciv
7 ; use your new customized file.
9 ; Note that the freeciv AI may not cope well with anything more
10 ; than minor changes.
12 [datafile]
13 description="Civ2 effects data for Freeciv (incomplete)"
14 options="+Freeciv-2.6-ruleset"
16 ; /* <-- avoid gettext warnings
18 ; Effects
20 ; type                    = What the effect does. Values of multiple active effects
21 ;                           of the same type get summed for the total.
22 ;                           See README.effects for list of possible types
23 ; value                   = Value added for the effect type when this effect is active,
24 ;                           i.e., all requirements are fulfilled
25 ; multiplier              = Name of the policy that gives a multiplier for effect's value
26 ; reqs                    = Requirements for the effect to be active.
27 ;                           See README.effects for help on requirements
29 ; */ <-- avoid gettext warnings
31 ; Cheating AI effects are in separate file
32 *include "default/ai_effects.ruleset"
34 ; Barbarian effects
36 [effect_barbarian_diplomacy]
37 type    = "No_Diplomacy"
38 value   = 1
39 reqs    =
40     { "type",   "name", "range"
41       "NationGroup", "Barbarian", "Player"
42     }
44 [effect_barbarian_waste]
45 type    = "Output_Waste_Pct"
46 value   = 100
47 reqs    =
48     { "type", "name", "range"
49       "NationGroup", "Barbarian", "Player"
50       "OutputType", "Shield", "Local"
51     }
53 ; Barbarian disappearance
55 [effect_barb_disappear]
56 type    = "Retire_Pct"
57 value   = 10
58 reqs    =
59     { "type", "name", "range", "present"
60       "NationGroup", "Barbarian", "Player", TRUE
61       "Age", "5", "Local", TRUE
62       "CityTile", "Center", "Local", FALSE
63     }
65 ; Lone Leader might escape on coast (33% chance)
66 ; Complement of the two effects should be 0.9 * 0.66 = 0.594
67 ; (100 - 59) - 10 = 31
68 [effect_leader_escape]
69 type    = "Retire_Pct"
70 value   = 31
71 reqs    =
72     { "type", "name", "range"
73       "UnitType", "Barbarian Leader", "Local"
74       "Age", "5", "Local"
75       "TerrainClass", "Oceanic", "Adjacent"
76       "MaxUnitsOnTile", "1", "Local"
77     }
79 [effect_unhappysize]
80 type    = "City_Unhappy_Size"
81 value   = 4
83 [effect_gov_tile_bonus_0]
84 type    = "Output_Penalty_Tile"
85 value   = 2
86 reqs  =
87     { "type",       "name",      "range"
88       "Gov", "Anarchy", "Player"
89     }
91 [effect_gov_tile_bonus_1]
92 type    = "Output_Penalty_Tile"
93 value   = 2
94 reqs  =
95     { "type",       "name",      "range"
96       "Gov", "Despotism", "Player"
97     }
99 [effect_gov_tile_bonus_2]
100 type    = "Output_Inc_Tile_Celebrate"
101 value   = 1
102 reqs  =
103     { "type",       "name",      "range"
104       "OutputType", "Trade", "Local"
105       "Gov", "Monarchy", "Player"
106     }
108 [effect_gov_tile_bonus_3]
109 type    = "Output_Inc_Tile_Celebrate"
110 value   = 1
111 reqs  =
112     { "type",       "name",      "range"
113       "OutputType", "Trade", "Local"
114       "Gov", "Communism", "Player"
115     }
117 [effect_gov_tile_bonus_4]
118 type    = "Output_Inc_Tile"
119 value   = 1
120 reqs  =
121     { "type",       "name",      "range"
122       "Gov", "Republic", "Player"
123       "OutputType", "Trade", "Local"
124     }
126 [effect_gov_tile_bonus_5]
127 type    = "Output_Inc_Tile"
128 value   = 1
129 reqs  =
130     { "type",       "name",      "range"
131       "Gov", "Democracy", "Player"
132       "OutputType", "Trade", "Local"
133     }
135 [effect_gov_tile_bonus_6]
136 type    = "Output_Inc_Tile_Celebrate"
137 value   = 1
138 reqs  =
139     { "type",       "name",      "range"
140       "Gov", "Fundamentalism", "Player"
141       "OutputType", "Trade", "Local"
142     }
144 [effect_corruption_anarchy0]
145 type    = "Output_Waste"
146 value   = 37
147 reqs    =
148     { "type", "name", "range"
149       "Gov", "Anarchy", "Player"
150       "OutputType", "Trade", "Local"
151     }
153 [effect_corruption_anarchy1]
154 type    = "Output_Waste_By_Distance"
155 value   = 2
156 reqs    =
157     { "type", "name", "range"
158       "Gov", "Anarchy", "Player"
159       "OutputType", "Trade", "Local"
160     }
162 [effect_corruption_despotism0]
163 type    = "Output_Waste"
164 value   = 30
165 reqs    =
166     { "type", "name", "range"
167       "Gov", "Despotism", "Player"
168       "OutputType", "Trade", "Local"
169     }
171 [effect_corruption_despotism1]
172 type    = "Output_Waste_By_Distance"
173 value   = 4
174 reqs    =
175     { "type", "name", "range"
176       "Gov", "Despotism", "Player"
177       "OutputType", "Trade", "Local"
178     }
180 [effect_corruption_monarchy0]
181 type    = "Output_Waste"
182 value   = 25
183 reqs    =
184     { "type", "name", "range"
185       "Gov", "Monarchy", "Player"
186       "OutputType", "Trade", "Local"
187     }
189 [effect_corruption_monarchy1]
190 type    = "Output_Waste_By_Distance"
191 value   = 2
192 reqs    =
193     { "type", "name", "range"
194       "Gov", "Monarchy", "Player"
195       "OutputType", "Trade", "Local"
196     }
198 [effect_corruption_communism0]
199 type    = "Output_Waste"
200 value   = 20
201 reqs    =
202     { "type", "name", "range"
203       "Gov", "Communism", "Player"
204       "OutputType", "Trade", "Local"
205     }
207 [effect_corruption_republic0]
208 type    = "Output_Waste"
209 value   = 18
210 reqs    =
211     { "type", "name", "range"
212       "Gov", "Republic", "Player"
213       "OutputType", "Trade", "Local"
214     }
216 [effect_corruption_republic1]
217 type    = "Output_Waste_By_Distance"
218 value   = 2
219 reqs    =
220     { "type", "name", "range"
221       "Gov", "Republic", "Player"
222       "OutputType", "Trade", "Local"
223     }
225 [effect_corruption_fundamentalism0]
226 type    = "Output_Waste"
227 value   = 2
228 reqs    =
229     { "type", "name", "range"
230       "Gov", "Fundamentalism", "Player"
231       "OutputType", "Trade", "Local"
232     }
234 [effect_corruption_fundamentalism1]
235 type    = "Output_Waste_By_Distance"
236 value   = 2
237 reqs    =
238     { "type", "name", "range"
239       "Gov", "Fundamentalism", "Player"
240       "OutputType", "Trade", "Local"
241     }
243 [effect_waste_anarchy0]
244 type    = "Output_Waste"
245 value   = 37
246 reqs    =
247     { "type", "name", "range"
248       "Gov", "Anarchy", "Player"
249       "OutputType", "Shield", "Local"
250     }
252 [effect_waste_anarchy1]
253 type    = "Output_Waste_By_Distance"
254 value   = 1
255 reqs    =
256     { "type", "name", "range"
257       "Gov", "Anarchy", "Player"
258       "OutputType", "Shield", "Local"
259     }
261 [effect_waste_despotism0]
262 type    = "Output_Waste"
263 value   = 30
264 reqs    =
265     { "type", "name", "range"
266       "Gov", "Despotism", "Player"
267       "OutputType", "Shield", "Local"
268     }
270 [effect_waste_despotism1]
271 type    = "Output_Waste_By_Distance"
272 value   = 2
273 reqs    =
274     { "type", "name", "range"
275       "Gov", "Despotism", "Player"
276       "OutputType", "Shield", "Local"
277     }
279 [effect_waste_monarchy0]
280 type    = "Output_Waste"
281 value   = 25
282 reqs    =
283     { "type", "name", "range"
284       "Gov", "Monarchy", "Player"
285       "OutputType", "Shield", "Local"
286     }
288 [effect_waste_monarchy1]
289 type    = "Output_Waste_By_Distance"
290 value   = 1
291 reqs    =
292     { "type", "name", "range"
293       "Gov", "Monarchy", "Player"
294       "OutputType", "Shield", "Local"
295     }
297 [effect_waste_communism0]
298 type    = "Output_Waste"
299 value   = 3
300 reqs    =
301     { "type", "name", "range"
302       "Gov", "Communism", "Player"
303       "OutputType", "Shield", "Local"
304     }
306 [effect_waste_republic0]
307 type    = "Output_Waste"
308 value   = 6
309 reqs    =
310     { "type", "name", "range"
311       "Gov", "Republic", "Player"
312       "OutputType", "Shield", "Local"
313     }
315 [effect_waste_republic1]
316 type    = "Output_Waste_By_Distance"
317 value   = 1
318 reqs    =
319     { "type", "name", "range"
320       "Gov", "Republic", "Player"
321       "OutputType", "Shield", "Local"
322     }
324 [effect_waste_fundamentalism0]
325 type    = "Output_Waste"
326 value   = 2
327 reqs    =
328     { "type", "name", "range"
329       "Gov", "Fundamentalism", "Player"
330       "OutputType", "Shield", "Local"
331     }
333 [effect_waste_fundamentalism1]
334 type    = "Output_Waste_By_Distance"
335 value   = 1
336 reqs    =
337     { "type", "name", "range"
338       "Gov", "Fundamentalism", "Player"
339       "OutputType", "Shield", "Local"
340     }
342 ; Specialist output bonuses
344 [effect_elvis]
345 type    = "Specialist_Output"
346 value   = 2
347 reqs    =
348     { "type", "name", "range"
349       "Specialist", "elvis", "Local"
350       "OutputType", "luxury", "Local"
351     }
353 [effect_scientist]
354 type    = "Specialist_Output"
355 value   = 2
356 reqs    =
357     { "type", "name", "range"
358       "Specialist", "scientist", "Local"
359       "OutputType", "science", "Local"
360     }
362 [effect_taxman]
363 type    = "Specialist_Output"
364 value   = 2
365 reqs    =
366     { "type", "name", "range"
367       "Specialist", "taxman", "Local"
368       "OutputType", "gold", "Local"
369     }
372 ; Fortress HP regen
373 [effect_fortress_hp_regen]
374 type    = "HP_Regen"
375 value   = 25
376 reqs    =
377     { "type", "name", "range"
378       "Extra", "Fortress", "Tile"
379       "UnitClass", "Land", "Local"
380     }
382 ; Base vision range - radius of vision is sqrt(5) = 2.24
383 [effect_city_vision]
384 type    = "City_Vision_Radius_Sq"
385 value   = 5
387 [effect_trade_routes]
388 type    = "Max_Trade_Routes"
389 value   = 3
391 [effect_republic]
392 type    = "Make_Content_Mil"
393 value   = 1
394 reqs    =
395     { "type", "name", "range"
396       "Gov", "Republic", "Player"
397     }
399 [effect_base_unit_upkeep]
400 type    = "Upkeep_Factor"
401 value   = 1
403 [effect_communism_unit_upkeep]
404 type    = "Upkeep_Factor"
405 value   = 1
406 reqs    =
407     { "type", "name", "range"
408       "Gov", "Communism", "Player"
409       "OutputType", "Food", "Local"
410     }
412 [effect_fundamentalism_unit_upkeep]
413 type    = "Upkeep_Factor"
414 value   = 1
415 reqs    =
416     { "type", "name", "range"
417       "Gov", "Fundamentalism", "Player"
418       "OutputType", "Food", "Local"
419     }
421 [effect_fundamentalism_free_fanatics]
422 type  = "Fanatics"
423 value = 1
424 reqs  =
425     { "type", "name", "range"
426       "Gov", "Fundamentalism", "Player"
427     }
429 [effect_republic_unit_upkeep]
430 type    = "Upkeep_Factor"
431 value   = 1
432 reqs    =
433     { "type", "name", "range"
434       "Gov", "Republic", "Player"
435       "OutputType", "Food", "Local"
436     }
438 [effect_democracy_unit_upkeep]
439 type    = "Upkeep_Factor"
440 value   = 1
441 reqs    =
442     { "type", "name", "range"
443       "Gov", "Democracy", "Player"
444       "OutputType", "Food", "Local"
445     }
447 [effect_republic_unit_unhappiness]
448 type    = "Unhappy_Factor"
449 value   = 1
450 reqs    =
451     { "type", "name", "range"
452       "Gov", "Republic", "Player"
453     }
455 [effect_democracy_unit_unhappiness]
456 type    = "Unhappy_Factor"
457 value   = 2
458 reqs    =
459     { "type", "name", "range"
460       "Gov", "Democracy", "Player"
461     }
463 [effect_upkeep_free_units_anarchy]
464 type    = "Unit_Upkeep_Free_Per_City"
465 value   = 3
466 reqs    =
467     { "type", "name", "range"
468       "Gov", "Anarchy", "Player"
469       "OutputType", "Shield", "Local"
470     }
472 [effect_upkeep_free_units_despotism]
473 type    = "Unit_Upkeep_Free_Per_City"
474 value   = 3
475 reqs    =
476     { "type", "name", "range"
477       "Gov", "Despotism", "Player"
478       "OutputType", "Shield", "Local"
479     }
481 [effect_upkeep_free_units_monarchy]
482 type    = "Unit_Upkeep_Free_Per_City"
483 value   = 3
484 reqs    =
485     { "type", "name", "range"
486       "Gov", "Monarchy", "Player"
487       "OutputType", "Shield", "Local"
488     }
490 [effect_upkeep_free_units_communism]
491 type    = "Unit_Upkeep_Free_Per_City"
492 value   = 3
493 reqs    =
494     { "type", "name", "range"
495       "Gov", "Communism", "Player"
496       "OutputType", "Shield", "Local"
497     }
499 [effect_upkeep_free_units_fundamentalism]
500 type    = "Unit_Upkeep_Free_Per_City"
501 value   = 8
502 reqs    =
503     { "type", "name", "range"
504       "Gov", "Fundamentalism", "Player"
505       "OutputType", "Shield", "Local"
506     }
508 [effect_civil_war_0]
509 type    = "Civil_War_Chance"
510 value   = 90
511 reqs    =
512     { "type",       "name",      "range"
513       "Gov", "Anarchy",   "Player"
514     }
516 [effect_civil_war_1]
517 type    = "Civil_War_Chance"
518 value   = 80
519 reqs    =
520     { "type",       "name",      "range"
521       "Gov", "Despotism", "Player"
522     }
524 [effect_civil_war_2]
525 type    = "Civil_War_Chance"
526 value   = 70
527 reqs    =
528     { "type",       "name",      "range"
529       "Gov", "Monarchy",  "Player"
530     }
532 [effect_civil_war_3]
533 type    = "Civil_War_Chance"
534 value   = 50
535 reqs    =
536     { "type",       "name",      "range"
537       "Gov", "Communism", "Player"
538     }
540 [effect_civil_war_4]
541 type    = "Civil_War_Chance"
542 value   = 40
543 reqs    =
544     { "type",       "name",      "range"
545       "Gov", "Republic",  "Player"
546     }
548 [effect_civil_war_5]
549 type    = "Civil_War_Chance"
550 value   = 30
551 reqs    =
552     { "type",       "name",      "range"
553       "Gov", "Democracy", "Player"
554     }
556 [effect_empire_size_base_0]
557 type    = "Empire_Size_Base"
558 value   = 9
559 reqs    =
560     { "type",       "name",      "range"
561       "Gov", "Anarchy",   "Player"
562     }
564 [effect_empire_size_base_1]
565 type    = "Empire_Size_Base"
566 value   = 10
567 reqs    =
568     { "type",       "name",      "range"
569       "Gov", "Despotism", "Player"
570     }
572 [effect_empire_size_base_2]
573 type    = "Empire_Size_Base"
574 value   = 11
575 reqs    =
576     { "type",       "name",      "range"
577       "Gov", "Monarchy",  "Player"
578     }
580 [effect_empire_size_base_3]
581 type    = "Empire_Size_Base"
582 value   = 14
583 reqs    =
584     { "type",       "name",      "range"
585       "Gov", "Communism", "Player"
586     }
588 [effect_empire_size_base_4]
589 type    = "Empire_Size_Base"
590 value   = 14
591 reqs    =
592     { "type",       "name",      "range"
593       "Gov", "Republic",  "Player"
594     }
596 [effect_empire_size_base_5]
597 type    = "Empire_Size_Base"
598 value   = 17
599 reqs    =
600     { "type",       "name",      "range"
601       "Gov", "Democracy",  "Player"
602     }
604 [effect_empire_size_base_6]
605 type    = "Empire_Size_Base"
606 value   = 14
607 reqs    =
608     { "type",       "name",      "range"
609       "Gov", "Fundamentalism",  "Player"
610     }
612 [effect_empire_size_step_0]
613 type    = "Empire_Size_Step"
614 value   = 6
615 reqs    =
616     { "type",       "name",      "range"
617       "Gov", "Anarchy", "Player"
618     }
620 [effect_empire_size_step_1]
621 type    = "Empire_Size_Step"
622 value   = 6
623 reqs    =
624     { "type",       "name",      "range"
625       "Gov", "Despotism", "Player"
626     }
628 [effect_empire_size_step_2]
629 type    = "Empire_Size_Step"
630 value   = 9
631 reqs    =
632     { "type",       "name",      "range"
633       "Gov", "Monarchy", "Player"
634     }
636 [effect_empire_size_step_3]
637 type    = "Empire_Size_Step"
638 value   = 12
639 reqs    =
640     { "type",       "name",      "range"
641       "Gov", "Communism",  "Player"
642     }
644 [effect_empire_size_step_4]
645 type    = "Empire_Size_Step"
646 value   = 12
647 reqs    =
648     { "type",       "name",      "range"
649       "Gov", "Republic",  "Player"
650     }
652 [effect_empire_size_step_5]
653 type    = "Empire_Size_Step"
654 value   = 12
655 reqs    =
656     { "type",       "name",      "range"
657       "Gov", "Democracy", "Player"
658     }
660 [effect_empire_size_step_6]
661 type    = "Empire_Size_Step"
662 value   = 12
663 reqs    =
664     { "type",       "name",      "range"
665       "Gov", "Fundamentalism", "Player"
666     }
668 [effect_max_rates_0]
669 type    = "Max_Rates"
670 value   = 100
671 reqs    =
672     { "type",       "name",      "range"
673       "Gov", "Anarchy",   "Player"
674     }
676 [effect_max_rates_1]
677 type    = "Max_Rates"
678 value   = 60
679 reqs    =
680     { "type",       "name",      "range"
681       "Gov", "Despotism", "Player"
682     }
684 [effect_max_rates_2]
685 type    = "Max_Rates"
686 value   = 70
687 reqs    =
688     { "type",       "name",      "range"
689       "Gov", "Monarchy",  "Player"
690     }
692 [effect_max_rates_3]
693 type    = "Max_Rates"
694 value   = 80
695 reqs    =
696     { "type",       "name",      "range"
697       "Gov", "Communism", "Player"
698     }
700 [effect_max_rates_4]
701 type    = "Max_Rates"
702 value   = 80
703 reqs    =
704     { "type",       "name",      "range"
705       "Gov", "Republic",  "Player"
706     }
708 [effect_max_rates_5]
709 type    = "Max_Rates"
710 value   = 100
711 reqs    =
712     { "type",       "name",      "range"
713       "Gov", "Democracy", "Player"
714     }
716 [effect_max_rates_6]
717 type    = "Max_Rates"
718 value   = 80
719 reqs    =
720     { "type",       "name",      "range"
721       "Gov", "Fundamentalism", "Player"
722     }
724 [effect_martial_law_each_0]
725 type    = "Martial_Law_Each"
726 value   = 1
727 reqs    =
728     { "type",       "name",      "range"
729       "Gov", "Anarchy",   "Player"
730     }
732 [effect_martial_law_each_1]
733 type    = "Martial_Law_Each"
734 value   = 1
735 reqs    =
736     { "type",       "name",      "range"
737       "Gov", "Despotism", "Player"
738     }
740 [effect_martial_law_each_2]
741 type    = "Martial_Law_Each"
742 value   = 1
743 reqs    =
744     { "type",       "name",      "range"
745       "Gov", "Monarchy",  "Player"
746     }
748 [effect_martial_law_each_3]
749 type    = "Martial_Law_Each"
750 value   = 2
751 reqs    =
752     { "type",       "name",      "range"
753       "Gov", "Communism", "Player"
754     }
756 [effect_martial_law_max_0]
757 type    = "Martial_Law_Max"
758 value   = 100
759 reqs    =
760     { "type",       "name",      "range"
761       "Gov", "Anarchy",   "Player"
762     }
764 [effect_martial_law_max_1]
765 type    = "Martial_Law_Max"
766 value   = 100
767 reqs    =
768     { "type",       "name",      "range"
769       "Gov", "Despotism", "Player"
770     }
772 [effect_martial_law_max_2]
773 type    = "Martial_Law_Max"
774 value   = 3
775 reqs    =
776     { "type",       "name",      "range"
777       "Gov", "Monarchy",  "Player"
778     }
780 [effect_martial_law_max_3]
781 type    = "Martial_Law_Max"
782 value   = 3
783 reqs    =
784     { "type",       "name",      "range"
785       "Gov", "Communism", "Player"
786     }
788 [effect_rapture_grow_0]
789 type    = "Rapture_Grow"
790 value   = 1
791 reqs    =
792     { "type",       "name",      "range"
793       "Gov", "Republic",  "Player"
794     }
796 [effect_rapture_grow_1]
797 type    = "Rapture_Grow"
798 value   = 1
799 reqs    =
800     { "type",       "name",      "range"
801       "Gov", "Democracy", "Player"
802     }
804 [effect_communism_0]
805 type    = "Veteran_Build"
806 value   = 1
807 reqs    =
808     { "type",       "name",      "range"
809       "Gov", "Communism", "Player"
810       "UnitFlag", "Diplomat", "Local"
811     }
813 [effect_revolution_0]
814 type    = "Revolution_Unhappiness"
815 value   = 2
816 reqs    =
817     { "type",       "name",      "range"
818       "Gov", "Democracy", "Player"
819     }
821 [effect_senate_0]
822 type    = "Has_Senate"
823 value   = 1
824 reqs    =
825     { "type",       "name",      "range"
826       "Gov", "Republic",  "Player"
827     }
829 [effect_senate_1]
830 type    = "Has_Senate"
831 value   = 1
832 reqs    =
833     { "type",       "name",      "range"
834       "Gov", "Democracy", "Player"
835     }
837 [effect_partisans_communism]
838 type    = "Inspire_Partisans"
839 value   = 1
840 reqs    =
841     { "type", "name", "range", "present"
842       "Gov", "Communism", "Player", TRUE
843       "Tech", "Communism", "Player", TRUE
844       "Tech", "Gunpowder", "Player", TRUE
845       "Tech", "Guerilla Warfare", "World", TRUE
846       "NationGroup", "Barbarian", "Player", FALSE
847     }
849 [effect_partisans_democracy]
850 type    = "Inspire_Partisans"
851 value   = 1
852 reqs    =
853     { "type", "name", "range", "present"
854       "Gov", "Democracy", "Player", TRUE
855       "Tech", "Communism", "Player", TRUE
856       "Tech", "Gunpowder", "Player", TRUE
857       "Tech", "Guerilla Warfare", "World", TRUE
858       "NationGroup", "Barbarian", "Player", FALSE
859     }
861 [effect_fundamentalism]
862 type    = "Output_Bonus_2"
863 value   = -50
864 reqs    =
865     { "type", "name", "range"
866       "Gov", "Fundamentalism", "Player"
867       "OutputType", "science", "local"
868     }
870 ; Nuclear power gives +1 moves to sea units
871 [effect_nuclear_powered_boats]
872 type    = "Move_Bonus"
873 value   = 1
874 reqs    =
875     { "type", "name", "range"
876       "Tech", "Nuclear Power", "Player"
877       "UnitClass", "Sea", "Local"
878     }
880 [effect_airport]
881 type    = "Veteran_Build"
882 value   = 1
883 reqs    =
884     { "type", "name", "range", "present"
885       "Building", "Airport", "City", TRUE
886       "UnitClass", "Air", "Local", TRUE
887       "UnitFlag", "NonMil", "Local", FALSE
888       "UnitFlag", "NoVeteran", "Local", FALSE
889     }
891 [effect_airport_0a]
892 type    = "Veteran_Build"
893 value   = 1
894 reqs    =
895     { "type", "name", "range", "present"
896       "Building", "Airport", "City", TRUE
897       "UnitClass", "Helicopter", "Local", TRUE
898       "UnitFlag", "NonMil", "Local", FALSE
899       "UnitFlag", "NoVeteran", "Local", FALSE
900     }
902 [effect_airport_0b]
903 type    = "Veteran_Build"
904 value   = 1
905 reqs    =
906     { "type", "name", "range", "present"
907       "Building", "Airport", "City", TRUE
908       "UnitClass", "Missile", "Local", TRUE
909       "UnitFlag", "NonMil", "Local", FALSE
910       "UnitFlag", "NoVeteran", "Local", FALSE
911     }
913 [effect_airport_1]
914 type    = "HP_Regen"
915 value   = 100
916 reqs    =
917     { "type", "name", "range"
918       "Building", "Airport", "City"
919       "UnitClass", "Air", "Local"
920     }
922 [effect_airport_1a]
923 type    = "HP_Regen"
924 value   = 100
925 reqs    =
926     { "type", "name", "range"
927       "Building", "Airport", "City"
928       "UnitClass", "Helicopter", "Local"
929     }
931 [effect_airport_2]
932 type    = "Airlift"
933 value   = 1
934 reqs    =
935     { "type", "name", "range"
936       "Building", "Airport", "City"
937     }
939 ; Base max city size of 8
940 [effect_aqueduct_size]
941 type    = "Size_Adj"
942 value   = 8
944 [effect_aqueduct]
945 type    = "Size_Adj"
946 value   = 4
947 reqs    =
948     { "type", "name", "range"
949       "Building", "Aqueduct", "City"
950     }
952 [effect_bank]
953 type    = "Output_Bonus"
954 value   = 50
955 reqs    =
956     { "type", "name", "range"
957       "Building", "Marketplace", "City"
958       "Building", "Bank", "City"
959       "OutputType", "gold", "local"
960     }
962 [effect_bank_1]
963 type    = "Output_Bonus"
964 value   = 50
965 reqs    =
966     { "type", "name", "range"
967       "Building", "Marketplace", "City"
968       "Building", "Bank", "City"
969       "OutputType", "luxury", "local"
970     }
972 [effect_barracks]
973 type    = "Veteran_Build"
974 value   = 1
975 reqs    =
976     { "type", "name", "range", "present"
977       "Building", "Barracks", "City", TRUE
978       "UnitClass", "Land", "Local", TRUE
979       "UnitFlag", "NonMil", "Local", FALSE
980       "UnitFlag", "NoVeteran", "Local", FALSE
981       "Building", "Barracks II", "City", FALSE
982       "Building", "Barracks III", "City", FALSE
983     }
985 [effect_barracks_1]
986 type    = "HP_Regen"
987 value   = 100
988 reqs    =
989     { "type", "name", "range", "present"
990       "Building", "Barracks", "City", TRUE
991       "UnitClass", "Land", "Local", TRUE
992       "Building", "Barracks II", "City", FALSE
993       "Building", "Barracks III", "City", FALSE
994     }
996 [effect_barracks_ii]
997 type    = "Veteran_Build"
998 value   = 1
999 reqs    =
1000     { "type", "name", "range", "present"
1001       "Building", "Barracks II", "City", TRUE
1002       "UnitClass", "Land", "Local", TRUE
1003       "UnitFlag", "NonMil", "Local", FALSE
1004       "UnitFlag", "NoVeteran", "Local", FALSE
1005       "Building", "Barracks III", "City", FALSE
1006     }
1008 [effect_barracks_ii_1]
1009 type    = "HP_Regen"
1010 value   = 100
1011 reqs    =
1012     { "type", "name", "range", "present"
1013       "Building", "Barracks II", "City", TRUE
1014       "UnitClass", "Land", "Local", TRUE
1015       "Building", "Barracks III", "City", FALSE
1016     }
1018 [effect_barracks_iii]
1019 type    = "Veteran_Build"
1020 value   = 1
1021 reqs    =
1022     { "type", "name", "range", "present"
1023       "Building", "Barracks III", "City", TRUE
1024       "UnitClass", "Land", "Local", TRUE
1025       "UnitFlag", "NonMil", "Local", FALSE
1026       "UnitFlag", "NoVeteran", "Local", FALSE
1027     }
1029 [effect_barracks_iii_1]
1030 type    = "HP_Regen"
1031 value   = 100
1032 reqs    =
1033     { "type", "name", "range"
1034       "Building", "Barracks III", "City"
1035       "UnitClass", "Land", "Local"
1036     }
1038 [effect_cathedral]
1039 type    = "Make_Content"
1040 value   = 3
1041 reqs    =
1042     { "type", "name", "range", "present"
1043       "Building", "Cathedral", "City", TRUE
1044       "Building", "Michelangelo's Chapel", "Player", FALSE
1045     }
1047 [effect_cathedral_1]
1048 type    = "Make_Content"
1049 value   = 1
1050 reqs    =
1051     { "type", "name", "range", "present"
1052       "Tech", "Theology", "Player", TRUE
1053       "Building", "Cathedral", "City", TRUE
1054       "Building", "Michelangelo's Chapel", "Player", FALSE
1055     }
1057 [effect_cathedral_2]
1058 type    = "Make_Content"
1059 value   = -1
1060 reqs    =
1061     { "type", "name", "range", "present"
1062       "Tech", "Communism", "Player", TRUE
1063       "Building", "Cathedral", "City", TRUE
1064       "Building", "Michelangelo's Chapel", "Player", FALSE
1065     }
1067 [effect_city_walls]
1068 type    = "Defend_Bonus"
1069 value   = 200
1070 reqs    =
1071     { "type", "name", "range", "present"
1072       "Building", "City Walls", "City", TRUE
1073       "UnitClass", "Land", "Local", TRUE
1074       "Building", "Great Wall", "Player", FALSE
1075       "UnitType", "Howitzer", "Local", FALSE
1076     }
1078 [effect_city_walls_0]
1079 type    = "Defend_Bonus"
1080 value   = 200
1081 reqs    =
1082     { "type", "name", "range", "present"
1083       "Building", "City Walls", "City", TRUE
1084       "UnitClass", "Helicopter", "Local", TRUE
1085       "Building", "Great Wall", "Player", FALSE
1086     }
1088 [effect_city_walls_1]
1089 type    = "Unit_No_Lose_Pop"
1090 value   = 1
1091 reqs    =
1092     { "type", "name", "range"
1093       "Building", "City Walls", "City"
1094     }
1096 [effect_city_walls_visible]
1097 type    = "Visible_Walls"
1098 value   = 1
1099 reqs    =
1100     { "type", "name", "range"
1101       "Building", "City Walls", "City"
1102     }
1104 [effect_coastal_defense]
1105 type    = "Defend_Bonus"
1106 value   = 100
1107 reqs    =
1108     { "type", "name", "range"
1109       "Building", "Coastal Defense", "City"
1110       "UnitClass", "Sea", "Local"
1111     }
1113 [effect_colosseum]
1114 type    = "Make_Content"
1115 value   = 3
1116 reqs    =
1117     { "type", "name", "range"
1118       "Building", "Colosseum", "City"
1119     }
1121 [effect_colosseum_1]
1122 type    = "Make_Content"
1123 value   = 1
1124 reqs    =
1125     { "type", "name", "range"
1126       "Tech", "Electricity", "Player"
1127       "Building", "Colosseum", "City"
1128     }
1130 [effect_courthouse]
1131 type    = "Output_Waste_Pct"
1132 value   = 50
1133 reqs    =
1134     { "type", "name", "range", "present"
1135       "Building", "Courthouse", "City", TRUE
1136       "OutputType", "trade", "local", TRUE
1137       "Building", "Palace", "City", FALSE
1138     }
1140 [effect_courthouse_1]
1141 type    = "Output_Waste_Pct"
1142 value   = 50
1143 reqs    =
1144     { "type", "name", "range", "present"
1145       "Building", "Courthouse", "City", TRUE
1146       "OutputType", "shield", "local", TRUE
1147       "Building", "Palace", "City", FALSE
1148     }
1150 [effect_courthouse_2]
1151 type    = "Make_Content"
1152 value   = 1
1153 reqs    =
1154     { "type", "name", "range"
1155       "Gov", "Democracy", "Player"
1156       "Building", "Courthouse", "City"
1157     }
1159 [effect_courthouse_3]
1160 type    = "Incite_Cost_Pct"
1161 value   = 300
1162 reqs    =
1163     { "type", "name", "range", "present"
1164       "Building", "Courthouse", "City", TRUE
1165       "MaxUnitsOnTile", "0", "Local", FALSE
1166     }
1168 [effect_incite_cost_empty_courthouse]
1169 type = "Incite_Cost_Pct"
1170 value = 100
1171 reqs    =
1172     { "type", "name", "range", "present"
1173       "MaxUnitsOnTile", "0", "Local", TRUE
1174       "Building", "Courthouse", "City", TRUE
1175     }
1177 [effect_incite_cost_empty]
1178 type = "Incite_Cost_Pct"
1179 value = -50
1180 reqs    =
1181     { "type", "name", "range", "present"
1182       "MaxUnitsOnTile", "0", "Local", TRUE
1183       "Building", "Courthouse", "City", FALSE
1184     }
1186 [effect_factory]
1187 type    = "Output_Bonus"
1188 value   = 50
1189 reqs    =
1190     { "type", "name", "range"
1191       "Building", "Factory", "City"
1192       "OutputType", "shield", "local"
1193     }
1195 [effect_granary]
1196 type    = "Growth_Food"
1197 value   = 50
1198 reqs    =
1199     { "type", "name", "range", "present"
1200       "Building", "Granary", "City", TRUE
1201       "Building", "Pyramids", "Player", FALSE
1202     }
1204 [effect_harbour]
1205 type    = "Output_Add_Tile"
1206 value   = 1
1207 reqs    =
1208     { "type", "name", "range"
1209       "TerrainClass", "Oceanic", "Local"
1210       "Building", "Harbour", "City"
1211       "OutputType", "food", "local"
1212     }
1214 [effect_hydro_plant]
1215 type    = "Output_Bonus"
1216 value   = 25
1217 reqs    =
1218     { "type", "name", "range", "present"
1219       "Building", "Factory", "City", TRUE
1220       "Building", "Hydro Plant", "City", TRUE
1221       "OutputType", "shield", "local", TRUE
1222       "Building", "Hoover Dam", "Player", FALSE
1223       "Building", "Nuclear Plant", "City", FALSE
1224       "Building", "Solar Plant", "City", FALSE
1225     }
1227 [effect_hydro_plant_1]
1228 type    = "Output_Bonus"
1229 value   = 25
1230 reqs    =
1231     { "type", "name", "range", "present"
1232       "Building", "Mfg. Plant", "City", TRUE
1233       "Building", "Hydro Plant", "City", TRUE
1234       "OutputType", "shield", "local", TRUE
1235       "Building", "Hoover Dam", "Player", FALSE
1236       "Building", "Nuclear Plant", "City", FALSE
1237       "Building", "Solar Plant", "City", FALSE
1238     }
1240 [effect_hydro_plant_2]
1241 type    = "Pollu_Prod_Pct"
1242 value   = -50
1243 reqs    =
1244     { "type", "name", "range", "present"
1245       "Building", "Hydro Plant", "City", TRUE
1246       "Building", "Recycling Center", "City", FALSE
1247       "Building", "Hoover Dam", "Player", FALSE
1248       "Building", "Nuclear Plant", "City", FALSE
1249       "Building", "Solar Plant", "City", FALSE
1250     }
1252 [effect_library]
1253 type    = "Output_Bonus"
1254 value   = 50
1255 reqs    =
1256     { "type", "name", "range"
1257       "Building", "Library", "City"
1258       "OutputType", "science", "local"
1259     }
1261 [effect_marketplace]
1262 type    = "Output_Bonus"
1263 value   = 50
1264 reqs    =
1265     { "type", "name", "range"
1266       "Building", "Marketplace", "City"
1267       "OutputType", "gold", "local"
1268     }
1270 [effect_marketplace_1]
1271 type    = "Output_Bonus"
1272 value   = 50
1273 reqs    =
1274     { "type", "name", "range"
1275       "Building", "Marketplace", "City"
1276       "OutputType", "luxury", "local"
1277     }
1279 ; No population pollution until certain techs researched
1280 [effect_pollu_pop_base]
1281 type    = "Pollu_Pop_Pct_2"
1282 value   = -100
1284 [effect_pollu_pop_automobile]
1285 type    = "Pollu_Pop_Pct_2"
1286 value   = 25
1287 reqs    =
1288     { "type", "name", "range"
1289       "Tech", "Automobile", "Player"
1290     }
1292 [effect_pollu_pop_industrialization]
1293 type    = "Pollu_Pop_Pct_2"
1294 value   = 25
1295 reqs    =
1296     { "type", "name", "range"
1297       "Tech", "Industrialization", "Player"
1298     }
1300 [effect_pollu_pop_mass_production]
1301 type    = "Pollu_Pop_Pct_2"
1302 value   = 25
1303 reqs    =
1304     { "type", "name", "range"
1305       "Tech", "Mass Production", "Player"
1306     }
1308 [effect_pollu_pop_plastics]
1309 type    = "Pollu_Pop_Pct_2"
1310 value   = 25
1311 reqs    =
1312     { "type", "name", "range"
1313       "Tech", "Plastics", "Player"
1314     }
1316 [effect_mass_transit]
1317 type    = "Pollu_Pop_Pct"
1318 value   = -100
1319 reqs    =
1320     { "type", "name", "range"
1321       "Building", "Mass Transit", "City"
1322     }
1324 [effect_mfg_plant]
1325 type    = "Output_Bonus"
1326 value   = 50
1327 reqs    =
1328     { "type", "name", "range"
1329       "Building", "Mfg. Plant", "City"
1330       "OutputType", "shield", "local"
1331     }
1333 [effect_nuclear_plant]
1334 type    = "Output_Bonus"
1335 value   = 25
1336 reqs    =
1337     { "type", "name", "range", "present"
1338       "Building", "Factory", "City", TRUE
1339       "Building", "Nuclear Plant", "City", TRUE
1340       "OutputType", "shield", "local", TRUE
1341       "Building", "Hoover Dam", "Player", FALSE
1342       "Building", "Solar Plant", "City", FALSE
1343     }
1345 [effect_nuclear_plant_1]
1346 type    = "Output_Bonus"
1347 value   = 25
1348 reqs    =
1349     { "type", "name", "range", "present"
1350       "Building", "Mfg. Plant", "City", TRUE
1351       "Building", "Nuclear Plant", "City", TRUE
1352       "OutputType", "shield", "local", TRUE
1353       "Building", "Hoover Dam", "Player", FALSE
1354       "Building", "Solar Plant", "City", FALSE
1355     }
1357 [effect_nuclear_plant_2]
1358 type    = "Pollu_Prod_Pct"
1359 value   = -50
1360 reqs    =
1361     { "type", "name", "range", "present"
1362       "Building", "Nuclear Plant", "City", TRUE
1363       "Building", "Recycling Center", "City", FALSE
1364       "Building", "Hoover Dam", "Player", FALSE
1365       "Building", "Solar Plant", "City", FALSE
1366     }
1368 [effect_offshore_platform]
1369 type    = "Output_Add_Tile"
1370 value   = 1
1371 reqs    =
1372     { "type", "name", "range"
1373       "TerrainClass", "Oceanic", "Local"
1374       "Building", "Offshore Platform", "City"
1375       "OutputType", "shield", "local"
1376     }
1378 [effect_palace]
1379 type    = "Output_Waste_Pct"
1380 value   = 50
1381 reqs    =
1382     { "type", "name", "range"
1383       "Building", "Palace", "City"
1384       "OutputType", "trade", "local"
1385     }
1387 [effect_palace_1]
1388 type    = "Output_Waste_Pct"
1389 value   = 50
1390 reqs    =
1391     { "type", "name", "range"
1392       "Building", "Palace", "City"
1393       "OutputType", "shield", "local"
1394     }
1396 [effect_palace_2]
1397 type    = "Spy_Resistant"
1398 value   = 50
1399 reqs    =
1400     { "type", "name", "range"
1401       "Building", "Palace", "City"
1402     }
1404 [effect_palace_3]
1405 type    = "Capital_City"
1406 value   = 1
1407 reqs    =
1408     { "type", "name", "range"
1409       "Building", "Palace", "City"
1410     }
1412 [effect_palace_gov_center]
1413 type    = "Gov_Center"
1414 value   = 1
1415 reqs    =
1416     { "type", "name", "range"
1417       "Building", "Palace", "City"
1418     }
1420 [effect_police_station]
1421 type    = "Make_Content_Mil"
1422 value   = 1
1423 reqs    =
1424     { "type", "name", "range", "present"
1425       "Gov", "Republic", "Player", TRUE
1426       "Building", "Police Station", "City", TRUE
1427       "Building", "Women's Suffrage", "Player", FALSE
1428     }
1430 [effect_police_station_1]
1431 type    = "Make_Content_Mil"
1432 value   = 2
1433 reqs    =
1434     { "type", "name", "range", "present"
1435       "Gov", "Democracy", "Player", TRUE
1436       "Building", "Police Station", "City", TRUE
1437       "Building", "Women's Suffrage", "Player", FALSE
1438     }
1440 [effect_port_facility]
1441 type    = "Veteran_Build"
1442 value   = 1
1443 reqs    =
1444     { "type", "name", "range", "present"
1445       "Building", "Port Facility", "City", TRUE
1446       "UnitClass", "Sea", "Local", TRUE
1447       "UnitFlag", "NonMil", "Local", FALSE
1448       "UnitFlag", "NoVeteran", "Local", FALSE
1449     }
1451 [effect_port_facility_1]
1452 type    = "HP_Regen"
1453 value   = 100
1454 reqs    =
1455     { "type", "name", "range"
1456       "Building", "Port Facility", "City"
1457       "UnitClass", "Sea", "Local"
1458     }
1460 [effect_power_plant]
1461 type    = "Output_Bonus"
1462 value   = 25
1463 reqs    =
1464     { "type", "name", "range", "present"
1465       "Building", "Factory", "City", TRUE
1466       "Building", "Power Plant", "City", TRUE
1467       "OutputType", "shield", "local", TRUE
1468       "Building", "Hoover Dam", "Player", FALSE
1469       "Building", "Nuclear Plant", "City", FALSE
1470       "Building", "Hydro Plant", "City", FALSE
1471       "Building", "Solar Plant", "City", FALSE
1472     }
1474 [effect_power_plant_1]
1475 type    = "Output_Bonus"
1476 value   = 25
1477 reqs    =
1478     { "type", "name", "range", "present"
1479       "Building", "Mfg. Plant", "City", TRUE
1480       "Building", "Power Plant", "City", TRUE
1481       "OutputType", "shield", "local", TRUE
1482       "Building", "Hoover Dam", "Player", FALSE
1483       "Building", "Nuclear Plant", "City", FALSE
1484       "Building", "Hydro Plant", "City", FALSE
1485       "Building", "Solar Plant", "City", FALSE
1486     }
1488 [effect_recycling_center]
1489 type    = "Pollu_Prod_Pct"
1490 value   = -66
1491 reqs    =
1492     { "type", "name", "range", "present"
1493       "Building", "Recycling Center", "City", TRUE
1494       "Building", "Solar Plant", "City", FALSE
1495     }
1497 [effect_research_lab]
1498 type    = "Output_Bonus"
1499 value   = 50
1500 reqs    =
1501     { "type", "name", "range", "present"
1502       "Building", "Library", "City", TRUE
1503       "Building", "Research Lab", "City", TRUE
1504       "OutputType", "science", "local", TRUE
1505       "Building", "SETI Program", "Player", FALSE
1506     }
1508 [effect_sam_battery]
1509 type    = "Defend_Bonus"
1510 value   = 100
1511 reqs    =
1512     { "type", "name", "range"
1513       "Building", "SAM Battery", "City"
1514       "UnitClass", "Air", "Local"
1515     }
1517 [effect_sdi_defense]
1518 type    = "Nuke_Proof"
1519 value   = 100
1520 reqs    =
1521     { "type", "name", "range", "present"
1522       "Building", "SDI Defense", "City", TRUE
1523       "DiplRel", "Is foreign", "Local", TRUE
1524       "DiplRel", "Team", "Local", FALSE
1525     }
1527 [effect_sdi_defense_1]
1528 type    = "Defend_Bonus"
1529 value   = 100
1530 reqs    =
1531     { "type", "name", "range"
1532       "Building", "SDI Defense", "City"
1533       "UnitClass", "Missile", "Local"
1534     }
1536 [effect_sewer_system]
1537 type    = "Size_Unlimit"
1538 value   = 1
1539 reqs    =
1540     { "type", "name", "range"
1541       "Building", "Aqueduct", "City"
1542       "Building", "Sewer System", "City"
1543     }
1545 [effect_solar_plant]
1546 type    = "Output_Bonus"
1547 value   = 25
1548 reqs    =
1549     { "type", "name", "range"
1550       "Building", "Factory", "City"
1551       "Building", "Solar Plant", "City"
1552       "OutputType", "Shield", "Local"
1553     }
1555 [effect_solar_plant_1]
1556 type    = "Output_Bonus"
1557 value   = 25
1558 reqs    =
1559     { "type", "name", "range"
1560       "Building", "Mfg. Plant", "City"
1561       "Building", "Solar Plant", "City"
1562       "OutputType", "Shield", "Local"
1563     }
1565 [effect_solar_plant_2]
1566 type    = "Pollu_Prod_Pct"
1567 value   = -100
1568 reqs    =
1569     { "type", "name", "range"
1570       "Building", "Solar Plant", "City"
1571     }
1573 [effect_space_component]
1574 type    = "SS_Component"
1575 value   = 1
1576 reqs    =
1577     { "type", "name", "range"
1578       "Building", "Space Component", "City"
1579     }
1581 [effect_space_module]
1582 type    = "SS_Module"
1583 value   = 1
1584 reqs    =
1585     { "type", "name", "range"
1586       "Building", "Space Module", "City"
1587     }
1589 [effect_space_structural]
1590 type    = "SS_Structural"
1591 value   = 1
1592 reqs    =
1593     { "type", "name", "range"
1594       "Building", "Space Structural", "City"
1595     }
1597 [effect_stock_exchange]
1598 type    = "Output_Bonus"
1599 value   = 50
1600 reqs    =
1601     { "type", "name", "range"
1602       "Building", "Bank", "City"
1603       "Building", "Stock Exchange", "City"
1604       "OutputType", "gold", "local"
1605     }
1607 [effect_stock_exchange_1]
1608 type    = "Output_Bonus"
1609 value   = 50
1610 reqs    =
1611     { "type", "name", "range"
1612       "Building", "Bank", "City"
1613       "Building", "Stock Exchange", "City"
1614       "OutputType", "luxury", "local"
1615     }
1617 [effect_super_highways]
1618 type    = "Output_Per_Tile"
1619 value   = 50
1620 reqs    =
1621     { "type", "name", "range"
1622       "Extra", "Road", "Local"
1623       "Building", "Super Highways", "City"
1624       "OutputType", "trade", "local"
1625     }
1627 [effect_mine]
1628 type    = "Mining_Pct"
1629 value   = 100
1630 reqs    =
1631     { "type", "name", "range"
1632       "Extra", "Mine", "Local"
1633     }
1635 [effect_irrigation]
1636 type    = "Irrigation_Pct"
1637 value   = 100
1638 reqs    =
1639     { "type", "name", "range", "present"
1640       "Extra", "Irrigation", "Local", TRUE
1641       "CityTile", "Center", "Local", FALSE
1642     }
1644 [effect_irrigation_2]
1645 type    = "Irrigation_Pct"
1646 value   = 100
1647 reqs    =
1648     { "type", "name", "range", "present"
1649       "CityTile", "Center", "Local", TRUE
1650       "TerrainAlter", "CanIrrigate", "Local", TRUE
1651       "Extra", "Mine", "Local", FALSE
1652     }
1654 [effect_supermarket]
1655 type    = "Output_Per_Tile"
1656 value   = 50
1657 reqs    =
1658     { "type", "name", "range", "present"
1659       "Extra", "Farmland", "Local", TRUE
1660       "Building", "Supermarket", "City", TRUE
1661       "OutputType", "Food", "Local", TRUE
1662       "CityTile", "Center", "Local", FALSE
1663     }
1665 [effect_supermarket_2]
1666 type    = "Output_Per_Tile"
1667 value   = 50
1668 reqs    =
1669     { "type", "name", "range", "present"
1670       "CityTile", "Center", "Local", TRUE
1671       "TerrainAlter", "CanIrrigate", "Local", TRUE
1672       "Building", "Supermarket", "City", TRUE
1673       "OutputType", "Food", "Local", TRUE
1674       "Extra", "Mine", "Local", FALSE
1675     }
1677 [effect_temple]
1678 type    = "Make_Content"
1679 value   = 1
1680 reqs    =
1681     { "type", "name", "range"
1682       "Building", "Temple", "City"
1683     }
1685 [effect_temple_1]
1686 type    = "Make_Content"
1687 value   = 1
1688 reqs    =
1689     { "type", "name", "range"
1690       "Tech", "Mysticism", "Player"
1691       "Building", "Temple", "City"
1692     }
1694 [effect_university]
1695 type    = "Output_Bonus"
1696 value   = 50
1697 reqs    =
1698     { "type", "name", "range"
1699       "Building", "Library", "City"
1700       "Building", "University", "City"
1701       "OutputType", "science", "local"
1702     }
1704 [effect_apollo_program]
1705 type    = "Reveal_Map"
1706 value   = 1
1707 reqs    =
1708     { "type", "name", "range"
1709       "Building", "Apollo Program", "Player"
1710     }
1712 [effect_apollo_program_1]
1713 type    = "Enable_Space"
1714 value   = 1
1715 reqs    =
1716     { "type", "name", "range", "survives"
1717       "Building", "Apollo Program", "World", TRUE
1718     }
1720 [effect_asmiths_trading_co]
1721 type    = "Upkeep_Free"
1722 value   = 1
1723 reqs    =
1724     { "type", "name", "range"
1725       "Building", "A.Smith's Trading Co.", "Player"
1726     }
1728 [effect_colossus]
1729 type    = "Output_Inc_Tile"
1730 value   = 1
1731 reqs    =
1732     { "type", "name", "range"
1733       "Building", "Colossus", "City"
1734       "OutputType", "trade", "local"
1735     }
1737 [effect_copernicus_observatory]
1738 type    = "Output_Bonus"
1739 value   = 50
1740 reqs    =
1741     { "type", "name", "range"
1742       "Building", "Copernicus' Observatory", "City"
1743       "OutputType", "science", "local"
1744     }
1746 [effect_cure_for_cancer]
1747 type    = "Force_Content"
1748 value   = 1
1749 reqs    =
1750     { "type", "name", "range"
1751       "Building", "Cure For Cancer", "Player"
1752     }
1754 [effect_darwins_voyage]
1755 type    = "Give_Imm_Tech"
1756 value   = 2
1757 reqs    =
1758     { "type", "name", "range"
1759       "Building", "Darwin's Voyage", "Player"
1760     }
1762 [effect_eiffel_tower]
1763 type    = "Gain_AI_Love"
1764 value   = 40
1765 reqs    =
1766     { "type", "name", "range"
1767       "Building", "Eiffel Tower", "Player"
1768     }
1770 [effect_great_library]
1771 type    = "Tech_Parasite"
1772 value   = 2
1773 reqs    =
1774     { "type", "name", "range"
1775       "Building", "Great Library", "Player"
1776     }
1778 [effect_great_wall]
1779 type    = "Defend_Bonus"
1780 value   = 200
1781 reqs    =
1782     { "type", "name", "range", "present"
1783       "Building", "Great Wall", "Player", TRUE
1784       "UnitClass", "Land", "Local", TRUE
1785       "CityTile", "Center", "Local", TRUE
1786       "UnitType", "Howitzer", "Local", FALSE
1787     }
1789 [effect_great_wall_0]
1790 type    = "Defend_Bonus"
1791 value   = 200
1792 reqs    =
1793     { "type", "name", "range"
1794       "Building", "Great Wall", "Player"
1795       "UnitClass", "Helicopter", "Local"
1796       "CityTile", "Center", "Local"
1797     }
1799 [effect_great_wall_1]
1800 type    = "Unit_No_Lose_Pop"
1801 value   = 1
1802 reqs    =
1803     { "type", "name", "range"
1804       "Building", "Great Wall", "Player"
1805     }
1807 [effect_great_wall_visible]
1808 type    = "Visible_Walls"
1809 value   = 1
1810 reqs    =
1811     { "type", "name", "range"
1812       "Building", "Great Wall", "Player"
1813     }
1815 [effect_hanging_gardens]
1816 type    = "Make_Happy"
1817 value   = 1
1818 reqs    =
1819     { "type", "name", "range", "present"
1820       "Building", "Hanging Gardens", "Player", TRUE
1821       "Building", "Hanging Gardens", "City", FALSE
1822     }
1824 [effect_hanging_gardens_1]
1825 type    = "Make_Happy"
1826 value   = 3
1827 reqs    =
1828     { "type", "name", "range"
1829       "Building", "Hanging Gardens", "City"
1830     }
1832 [effect_hoover_dam]
1833 type    = "Output_Bonus"
1834 value   = 25
1835 reqs    =
1836     { "type", "name", "range", "present"
1837       "Building", "Factory", "City", TRUE
1838       "Building", "Hoover Dam", "Player", TRUE
1839       "OutputType", "Shield", "Local", TRUE
1840       "Building", "Solar Plant", "City", FALSE
1841     }
1843 [effect_hoover_dam_1]
1844 type    = "Output_Bonus"
1845 value   = 25
1846 reqs    =
1847     { "type", "name", "range", "present"
1848       "Building", "Mfg. Plant", "City", TRUE
1849       "Building", "Hoover Dam", "Player", TRUE
1850       "OutputType", "Shield", "Local", TRUE
1851       "Building", "Solar Plant", "City", FALSE
1852     }
1854 [effect_hoover_dam_2]
1855 type    = "Pollu_Prod_Pct"
1856 value   = -50
1857 reqs    =
1858     { "type", "name", "range", "present"
1859       "Building", "Hoover Dam", "Player", TRUE
1860       "Building", "Recycling Center", "City", FALSE
1861       "Building", "Solar Plant", "City", FALSE
1862     }
1864 [effect_isaac_newtons_college]
1865 type    = "Output_Bonus"
1866 value   = 100
1867 reqs    =
1868     { "type", "name", "range"
1869       "Building", "Isaac Newton's College", "City"
1870       "OutputType", "science", "local"
1871     }
1873 [effect_js_bachs_cathedral]
1874 type    = "Force_Content"
1875 value   = 2
1876 reqs    =
1877     { "type", "name", "range"
1878       "Building", "J.S. Bach's Cathedral", "Player"
1879     }
1881 [effect_king_richards_crusade]
1882 type    = "Output_Add_Tile"
1883 value   = 1
1884 reqs    =
1885     { "type", "name", "range"
1886       "Building", "King Richard's Crusade", "City"
1887       "OutputType", "shield", "local"
1888     }
1890 [effect_leonardos_workshop]
1891 type    = "Upgrade_Unit"
1892 value   = 1
1893 reqs    =
1894     { "type", "name", "range"
1895       "Building", "Leonardo's Workshop", "Player"
1896     }
1898 [effect_lighthouse]
1899 type    = "Move_Bonus"
1900 value   = 1
1901 reqs    =
1902     { "type", "name", "range"
1903       "Building", "Lighthouse", "Player"
1904       "UnitClass", "Sea", "Local"
1905     }
1907 [effect_lighthouse_2]
1908 type    = "Veteran_Build"
1909 value   = 1
1910 reqs    =
1911     { "type", "name", "range", "present"
1912       "Building", "Lighthouse", "Player", TRUE
1913       "UnitClass", "Sea", "Local", TRUE
1914       "UnitFlag", "NonMil", "Local", FALSE
1915       "UnitFlag", "NoVeteran", "Local", FALSE
1916       "Building", "Port Facility", "City", FALSE
1917     }
1919 [effect_magellans_expedition]
1920 type    = "Move_Bonus"
1921 value   = 2
1922 reqs    =
1923     { "type", "name", "range"
1924       "Building", "Magellan's Expedition", "Player"
1925       "UnitClass", "Sea", "Local"
1926     }
1928 [effect_manhattan_project]
1929 type    = "Enable_Nuke"
1930 value   = 1
1931 reqs    =
1932     { "type", "name", "range", "survives"
1933       "Building", "Manhattan Project", "World", TRUE
1934     }
1936 [effect_marco_polos_embassy]
1937 type    = "Have_Embassies"
1938 value   = 1
1939 reqs    =
1940     { "type", "name", "range"
1941       "Building", "Marco Polo's Embassy", "Player"
1942     }
1944 [effect_michelangelos_chapel]
1945 type    = "Make_Content"
1946 value   = 3
1947 reqs    =
1948     { "type", "name", "range"
1949       "Building", "Michelangelo's Chapel", "Player"
1950     }
1952 [effect_michelangelos_chapel_1]
1953 type    = "Make_Content"
1954 value   = 1
1955 reqs    =
1956     { "type", "name", "range"
1957       "Tech", "Theology", "Player"
1958       "Building", "Michelangelo's Chapel", "Player"
1959     }
1961 [effect_michelangelos_chapel_2]
1962 type    = "Make_Content"
1963 value   = -1
1964 reqs    =
1965     { "type", "name", "range"
1966       "Tech", "Communism", "Player"
1967       "Building", "Michelangelo's Chapel", "Player"
1968     }
1970 [effect_oracle]
1971 type    = "Make_Content"
1972 value   = 1
1973 reqs    =
1974     { "type", "name", "range"
1975       "Building", "Temple", "City"
1976       "Building", "Oracle", "Player"
1977     }
1979 [effect_oracle_mysticism]
1980 type    = "Make_Content"
1981 value   = 1
1982 reqs    =
1983     { "type", "name", "range"
1984       "Building", "Temple", "City"
1985       "Building", "Oracle", "Player"
1986       "Tech", "Mysticism", "Player"
1987     }
1989 [effect_pyramids]
1990 type    = "Growth_Food"
1991 value   = 50
1992 reqs    =
1993     { "type", "name", "range"
1994       "Building", "Pyramids", "Player"
1995     }
1997 [effect_seti_program]
1998 type    = "Output_Bonus"
1999 value   = 50
2000 reqs    =
2001     { "type", "name", "range"
2002       "Building", "Library", "City"
2003       "Building", "SETI Program", "Player"
2004       "OutputType", "science", "local"
2005     }
2007 [effect_shakespeares_theatre]
2008 type    = "No_Unhappy"
2009 value   = 1
2010 reqs    =
2011     { "type", "name", "range"
2012       "Building", "Shakespeare's Theatre", "City"
2013     }
2015 [effect_statue_of_liberty]
2016 type    = "Any_Government"
2017 value   = 1
2018 reqs    =
2019     { "type", "name", "range"
2020       "Building", "Statue of Liberty", "Player"
2021     }
2023 [effect_statue_of_liberty_1]
2024 type    = "No_Anarchy"
2025 value   = 1
2026 reqs    =
2027     { "type", "name", "range"
2028       "Building", "Statue of Liberty", "Player"
2029     }
2031 [effect_sun_tzus_war_academy]
2032 type    = "Veteran_Build"
2033 value   = 1
2034 reqs    =
2035     { "type", "name", "range", "present"
2036       "Building", "Sun Tzu's War Academy", "Player", TRUE
2037       "UnitClass", "Land", "Local", TRUE
2038       "UnitFlag", "NonMil", "Local", FALSE
2039       "UnitFlag", "NoVeteran", "Local", FALSE
2040       "Building", "Barracks", "City", FALSE
2041       "Building", "Barracks II", "City", FALSE
2042       "Building", "Barracks III", "City", FALSE
2043     }
2045 [effect_sun_tzus_war_academy_1]
2046 type    = "Veteran_Combat"
2047 value   = 100
2048 reqs    =
2049     { "type", "name", "range", "present"
2050       "Building", "Sun Tzu's War Academy", "Player", TRUE
2051       "UnitClass", "Land", "Local", TRUE
2052       "UnitFlag", "Diplomat", "Local", FALSE
2053     }
2055 [effect_united_nations]
2056 type    = "Unit_Recover"
2057 value   = 2
2058 reqs    =
2059     { "type", "name", "range"
2060       "Building", "United Nations", "Player"
2061     }
2063 [effect_womens_suffrage]
2064 type    = "Make_Content_Mil"
2065 value   = 1
2066 reqs    =
2067     { "type", "name", "range"
2068       "Gov", "Republic", "Player"
2069       "Building", "Women's Suffrage", "Player"
2070     }
2072 [effect_womens_suffrage_1]
2073 type    = "Make_Content_Mil"
2074 value   = 2
2075 reqs    =
2076     { "type", "name", "range"
2077       "Gov", "Democracy", "Player"
2078       "Building", "Women's Suffrage", "Player"
2079     }
2081 [effect_flight_trade_revenue_reduce]
2082 type    = "Trade_Revenue_Bonus"
2083 value   = -585
2084 reqs    =
2085     { "type", "name", "range"
2086       "Tech", "Flight", "Player"
2087     }
2088     
2089 [effect_railroad_trade_revenue_reduce]
2090 type    = "Trade_Revenue_Bonus"
2091 value   = -585
2092 reqs    =
2093     { "type", "name", "range"
2094       "Tech", "Railroad", "Player"
2095     }
2097 [effect_tithes_fundamentalism]
2098 type    = "Happiness_To_Gold" 
2099 value   = 1 
2100 reqs    = 
2101     { "type", "name", "range" 
2102       "Gov", "Fundamentalism", "Player" 
2103     }
2105 ; FIXME: Calendar effects are copied from default rulesets and are
2106 ; probably wrong for civ2 ruleset.
2107 [effect_calendar_base]
2108 type    = "Turn_Years"
2109 value   = 50
2111 ; 50 - 25 = 25
2112 [effect_calendar_1]
2113 type    = "Turn_Years"
2114 value   = -25
2115 reqs    =
2116     { "type", "name", "range"
2117       "MinYear", "-1000", "World"
2118     }
2120 ; 25 - 5 = 20
2121 [effect_calendar_2]
2122 type    = "Turn_Years"
2123 value   = -5
2124 reqs    =
2125     { "type", "name", "range"
2126       "MinYear", "0", "World"
2127     }
2129 ; 20 - 10 = 10
2130 [effect_calendar_3]
2131 type    = "Turn_Years"
2132 value   = -10
2133 reqs    =
2134     { "type", "name", "range"
2135       "MinYear", "1000", "World"
2136     }
2138 ; 10 - 5 = 5
2139 [effect_calendar_4]
2140 type    = "Turn_Years"
2141 value   = -5
2142 reqs    =
2143     { "type", "name", "range"
2144       "MinYear", "1500", "World"
2145     }
2147 ; 5 - 3 = 2
2148 [effect_calendar_5]
2149 type    = "Turn_Years"
2150 value   = -3
2151 reqs    =
2152     { "type", "name", "range"
2153       "MinYear", "1750", "World"
2154     }
2156 ; 2 - 1 = 1
2157 [effect_calendar_6]
2158 type    = "Turn_Years"
2159 value   = -1
2160 reqs    =
2161     { "type", "name", "range"
2162       "MinYear", "1900", "World"
2163     }
2165 [effect_tech_cost_base]
2166 type    = "Tech_Cost_Factor"
2167 value   = 1
2169 [effect_tech_cost_double]
2170 type    = "Tech_Cost_Factor"
2171 value   = 1
2172 reqs    =
2173     { "type", "name", "range"
2174       "MinYear", "1", "World"
2175     }
2177 ; Cities can always work tiles
2178 [effect_tile_workable]
2179 type    = "Tile_Workable"
2180 value   = 1
2182 ; each city has at least one slot to build units
2183 [effect_city_build_slots_basic]
2184 type    = "City_Build_Slots"
2185 value   = 1
2187 [effect_city_image_1]
2188 type    = "City_Image"
2189 value   = 1
2190 reqs    =
2191     { "type", "name", "range"
2192       "MinSize", "4", "City"
2193     }
2195 [effect_city_image_2]
2196 type    = "City_Image"
2197 value   = 1
2198 reqs    =
2199     { "type", "name", "range"
2200       "MinSize", "8", "City"
2201     }
2203 [effect_city_image_3]
2204 type    = "City_Image"
2205 value   = 1
2206 reqs    =
2207     { "type", "name", "range"
2208       "MinSize", "12", "City"
2209     }
2211 [effect_city_image_4]
2212 type    = "City_Image"
2213 value   = 1
2214 reqs    =
2215     { "type", "name", "range"
2216       "MinSize", "16", "City"
2217     }
2219 [effect_irrigate_src_ocean]
2220 type    = "Irrig_Possible"
2221 value   = 1
2222 reqs    =
2223     { "type", "name", "range"
2224       "TerrainClass", "Oceanic", "CAdjacent"
2225     }
2227 [effect_irrigate_src_river]
2228 type    = "Irrig_Possible"
2229 value   = 1
2230 reqs    =
2231     { "type", "name", "range"
2232       "Extra", "River", "CAdjacent"
2233     }
2235 [effect_irrigate_src_irrigation]
2236 type    = "Irrig_Possible"
2237 value   = 1
2238 reqs    =
2239     { "type", "name", "range"
2240       "Extra", "Irrigation", "CAdjacent"
2241     }
2243 [effect_mining]
2244 type    = "Mining_Possible"
2245 value   = 1
2247 [effect_irrig_tf]
2248 type    = "Irrig_TF_Possible"
2249 value   = 1
2251 [effect_mining_tf]
2252 type    = "Mining_TF_Possible"
2253 value   = 1
2255 [effect_transform]
2256 type    = "Transform_Possible"
2257 value   = 1
2258 reqs    =
2259     { "type", "name", "range"
2260       "UnitFlag", "Transform", "Local"
2261     }
2263 [effect_pollution]
2264 type    = "Output_Tile_Punish_Pct"
2265 value   = 50
2266 reqs    =
2267     { "type", "name", "range"
2268       "Extra", "Pollution", "Local"
2269     }
2271 [effect_unit_bribe_cost_settlers]
2272 type    = "Unit_Bribe_Cost_Pct"
2273 value   = -50
2274 reqs    =
2275     { "type", "name", "range"
2276       "UnitFlag", "Cities", "Local"
2277     }
2279 [effect_illegal_action_move_cost_base]
2280 type    = "Illegal_Action_Move_Cost"
2281 value   = 1