webperimental: killstack decides stack protects.
[freeciv.git] / data / civ2 / effects.ruleset
blob41a6dfbd3987d2d882c739cb2cb3b3d1786f2180
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-ruleset-Devel-2017.Jan.02"
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_diplomat_defense_fortress]
1178 type    = "Spy_Resistant"
1179 value   = 25
1180 reqs    =
1181     { "type",  "name",     "range"
1182       "Extra", "Fortress", "Local"
1183     }
1185 [effect_incite_cost_empty]
1186 type = "Incite_Cost_Pct"
1187 value = -50
1188 reqs    =
1189     { "type", "name", "range", "present"
1190       "MaxUnitsOnTile", "0", "Local", TRUE
1191       "Building", "Courthouse", "City", FALSE
1192     }
1194 [effect_factory]
1195 type    = "Output_Bonus"
1196 value   = 50
1197 reqs    =
1198     { "type", "name", "range"
1199       "Building", "Factory", "City"
1200       "OutputType", "shield", "local"
1201     }
1203 [effect_granary]
1204 type    = "Growth_Food"
1205 value   = 50
1206 reqs    =
1207     { "type", "name", "range", "present"
1208       "Building", "Granary", "City", TRUE
1209       "Building", "Pyramids", "Player", FALSE
1210     }
1212 [effect_harbour]
1213 type    = "Output_Add_Tile"
1214 value   = 1
1215 reqs    =
1216     { "type", "name", "range"
1217       "TerrainClass", "Oceanic", "Local"
1218       "Building", "Harbour", "City"
1219       "OutputType", "food", "local"
1220     }
1222 [effect_hydro_plant]
1223 type    = "Output_Bonus"
1224 value   = 25
1225 reqs    =
1226     { "type", "name", "range", "present"
1227       "Building", "Factory", "City", TRUE
1228       "Building", "Hydro Plant", "City", TRUE
1229       "OutputType", "shield", "local", TRUE
1230       "Building", "Hoover Dam", "Player", FALSE
1231       "Building", "Nuclear Plant", "City", FALSE
1232       "Building", "Solar Plant", "City", FALSE
1233     }
1235 [effect_hydro_plant_1]
1236 type    = "Output_Bonus"
1237 value   = 25
1238 reqs    =
1239     { "type", "name", "range", "present"
1240       "Building", "Mfg. Plant", "City", TRUE
1241       "Building", "Hydro Plant", "City", TRUE
1242       "OutputType", "shield", "local", TRUE
1243       "Building", "Hoover Dam", "Player", FALSE
1244       "Building", "Nuclear Plant", "City", FALSE
1245       "Building", "Solar Plant", "City", FALSE
1246     }
1248 [effect_hydro_plant_2]
1249 type    = "Pollu_Prod_Pct"
1250 value   = -50
1251 reqs    =
1252     { "type", "name", "range", "present"
1253       "Building", "Hydro Plant", "City", TRUE
1254       "Building", "Recycling Center", "City", FALSE
1255       "Building", "Hoover Dam", "Player", FALSE
1256       "Building", "Nuclear Plant", "City", FALSE
1257       "Building", "Solar Plant", "City", FALSE
1258     }
1260 [effect_library]
1261 type    = "Output_Bonus"
1262 value   = 50
1263 reqs    =
1264     { "type", "name", "range"
1265       "Building", "Library", "City"
1266       "OutputType", "science", "local"
1267     }
1269 [effect_marketplace]
1270 type    = "Output_Bonus"
1271 value   = 50
1272 reqs    =
1273     { "type", "name", "range"
1274       "Building", "Marketplace", "City"
1275       "OutputType", "gold", "local"
1276     }
1278 [effect_marketplace_1]
1279 type    = "Output_Bonus"
1280 value   = 50
1281 reqs    =
1282     { "type", "name", "range"
1283       "Building", "Marketplace", "City"
1284       "OutputType", "luxury", "local"
1285     }
1287 ; No population pollution until certain techs researched
1288 [effect_pollu_pop_base]
1289 type    = "Pollu_Pop_Pct_2"
1290 value   = -100
1292 [effect_pollu_pop_automobile]
1293 type    = "Pollu_Pop_Pct_2"
1294 value   = 25
1295 reqs    =
1296     { "type", "name", "range"
1297       "Tech", "Automobile", "Player"
1298     }
1300 [effect_pollu_pop_industrialization]
1301 type    = "Pollu_Pop_Pct_2"
1302 value   = 25
1303 reqs    =
1304     { "type", "name", "range"
1305       "Tech", "Industrialization", "Player"
1306     }
1308 [effect_pollu_pop_mass_production]
1309 type    = "Pollu_Pop_Pct_2"
1310 value   = 25
1311 reqs    =
1312     { "type", "name", "range"
1313       "Tech", "Mass Production", "Player"
1314     }
1316 [effect_pollu_pop_plastics]
1317 type    = "Pollu_Pop_Pct_2"
1318 value   = 25
1319 reqs    =
1320     { "type", "name", "range"
1321       "Tech", "Plastics", "Player"
1322     }
1324 [effect_mass_transit]
1325 type    = "Pollu_Pop_Pct"
1326 value   = -100
1327 reqs    =
1328     { "type", "name", "range"
1329       "Building", "Mass Transit", "City"
1330     }
1332 [effect_mfg_plant]
1333 type    = "Output_Bonus"
1334 value   = 50
1335 reqs    =
1336     { "type", "name", "range"
1337       "Building", "Mfg. Plant", "City"
1338       "OutputType", "shield", "local"
1339     }
1341 [effect_nuclear_plant]
1342 type    = "Output_Bonus"
1343 value   = 25
1344 reqs    =
1345     { "type", "name", "range", "present"
1346       "Building", "Factory", "City", TRUE
1347       "Building", "Nuclear Plant", "City", TRUE
1348       "OutputType", "shield", "local", TRUE
1349       "Building", "Hoover Dam", "Player", FALSE
1350       "Building", "Solar Plant", "City", FALSE
1351     }
1353 [effect_nuclear_plant_1]
1354 type    = "Output_Bonus"
1355 value   = 25
1356 reqs    =
1357     { "type", "name", "range", "present"
1358       "Building", "Mfg. Plant", "City", TRUE
1359       "Building", "Nuclear Plant", "City", TRUE
1360       "OutputType", "shield", "local", TRUE
1361       "Building", "Hoover Dam", "Player", FALSE
1362       "Building", "Solar Plant", "City", FALSE
1363     }
1365 [effect_nuclear_plant_2]
1366 type    = "Pollu_Prod_Pct"
1367 value   = -50
1368 reqs    =
1369     { "type", "name", "range", "present"
1370       "Building", "Nuclear Plant", "City", TRUE
1371       "Building", "Recycling Center", "City", FALSE
1372       "Building", "Hoover Dam", "Player", FALSE
1373       "Building", "Solar Plant", "City", FALSE
1374     }
1376 [effect_offshore_platform]
1377 type    = "Output_Add_Tile"
1378 value   = 1
1379 reqs    =
1380     { "type", "name", "range"
1381       "TerrainClass", "Oceanic", "Local"
1382       "Building", "Offshore Platform", "City"
1383       "OutputType", "shield", "local"
1384     }
1386 [effect_palace]
1387 type    = "Output_Waste_Pct"
1388 value   = 50
1389 reqs    =
1390     { "type", "name", "range"
1391       "Building", "Palace", "City"
1392       "OutputType", "trade", "local"
1393     }
1395 [effect_palace_1]
1396 type    = "Output_Waste_Pct"
1397 value   = 50
1398 reqs    =
1399     { "type", "name", "range"
1400       "Building", "Palace", "City"
1401       "OutputType", "shield", "local"
1402     }
1404 [effect_palace_2]
1405 type    = "Spy_Resistant"
1406 value   = 50
1407 reqs    =
1408     { "type", "name", "range"
1409       "Building", "Palace", "City"
1410     }
1412 [effect_palace_2_sabotage]
1413 type    = "Building_Saboteur_Resistant"
1414 value   = 50
1415 reqs    =
1416     { "type", "name", "range"
1417       "Building", "Palace", "City"
1418     }
1420 [effect_palace_3]
1421 type    = "Capital_City"
1422 value   = 1
1423 reqs    =
1424     { "type", "name", "range"
1425       "Building", "Palace", "City"
1426     }
1428 [effect_palace_gov_center]
1429 type    = "Gov_Center"
1430 value   = 1
1431 reqs    =
1432     { "type", "name", "range"
1433       "Building", "Palace", "City"
1434     }
1436 [effect_police_station]
1437 type    = "Make_Content_Mil"
1438 value   = 1
1439 reqs    =
1440     { "type", "name", "range", "present"
1441       "Gov", "Republic", "Player", TRUE
1442       "Building", "Police Station", "City", TRUE
1443       "Building", "Women's Suffrage", "Player", FALSE
1444     }
1446 [effect_police_station_1]
1447 type    = "Make_Content_Mil"
1448 value   = 2
1449 reqs    =
1450     { "type", "name", "range", "present"
1451       "Gov", "Democracy", "Player", TRUE
1452       "Building", "Police Station", "City", TRUE
1453       "Building", "Women's Suffrage", "Player", FALSE
1454     }
1456 [effect_port_facility]
1457 type    = "Veteran_Build"
1458 value   = 1
1459 reqs    =
1460     { "type", "name", "range", "present"
1461       "Building", "Port Facility", "City", TRUE
1462       "UnitClass", "Sea", "Local", TRUE
1463       "UnitFlag", "NonMil", "Local", FALSE
1464       "UnitFlag", "NoVeteran", "Local", FALSE
1465     }
1467 [effect_port_facility_1]
1468 type    = "HP_Regen"
1469 value   = 100
1470 reqs    =
1471     { "type", "name", "range"
1472       "Building", "Port Facility", "City"
1473       "UnitClass", "Sea", "Local"
1474     }
1476 [effect_power_plant]
1477 type    = "Output_Bonus"
1478 value   = 25
1479 reqs    =
1480     { "type", "name", "range", "present"
1481       "Building", "Factory", "City", TRUE
1482       "Building", "Power Plant", "City", TRUE
1483       "OutputType", "shield", "local", TRUE
1484       "Building", "Hoover Dam", "Player", FALSE
1485       "Building", "Nuclear Plant", "City", FALSE
1486       "Building", "Hydro Plant", "City", FALSE
1487       "Building", "Solar Plant", "City", FALSE
1488     }
1490 [effect_power_plant_1]
1491 type    = "Output_Bonus"
1492 value   = 25
1493 reqs    =
1494     { "type", "name", "range", "present"
1495       "Building", "Mfg. Plant", "City", TRUE
1496       "Building", "Power Plant", "City", TRUE
1497       "OutputType", "shield", "local", TRUE
1498       "Building", "Hoover Dam", "Player", FALSE
1499       "Building", "Nuclear Plant", "City", FALSE
1500       "Building", "Hydro Plant", "City", FALSE
1501       "Building", "Solar Plant", "City", FALSE
1502     }
1504 [effect_recycling_center]
1505 type    = "Pollu_Prod_Pct"
1506 value   = -66
1507 reqs    =
1508     { "type", "name", "range", "present"
1509       "Building", "Recycling Center", "City", TRUE
1510       "Building", "Solar Plant", "City", FALSE
1511     }
1513 [effect_research_lab]
1514 type    = "Output_Bonus"
1515 value   = 50
1516 reqs    =
1517     { "type", "name", "range", "present"
1518       "Building", "Library", "City", TRUE
1519       "Building", "Research Lab", "City", TRUE
1520       "OutputType", "science", "local", TRUE
1521       "Building", "SETI Program", "Player", FALSE
1522     }
1524 [effect_sam_battery]
1525 type    = "Defend_Bonus"
1526 value   = 100
1527 reqs    =
1528     { "type", "name", "range"
1529       "Building", "SAM Battery", "City"
1530       "UnitClass", "Air", "Local"
1531     }
1533 [effect_sdi_defense]
1534 type    = "Nuke_Proof"
1535 value   = 100
1536 reqs    =
1537     { "type", "name", "range", "present"
1538       "Building", "SDI Defense", "City", TRUE
1539       "DiplRel", "Foreign", "Local", TRUE
1540       "DiplRel", "Team", "Local", FALSE
1541     }
1543 [effect_sdi_defense_1]
1544 type    = "Defend_Bonus"
1545 value   = 100
1546 reqs    =
1547     { "type", "name", "range"
1548       "Building", "SDI Defense", "City"
1549       "UnitClass", "Missile", "Local"
1550     }
1552 [effect_sewer_system]
1553 type    = "Size_Unlimit"
1554 value   = 1
1555 reqs    =
1556     { "type", "name", "range"
1557       "Building", "Aqueduct", "City"
1558       "Building", "Sewer System", "City"
1559     }
1561 [effect_solar_plant]
1562 type    = "Output_Bonus"
1563 value   = 25
1564 reqs    =
1565     { "type", "name", "range"
1566       "Building", "Factory", "City"
1567       "Building", "Solar Plant", "City"
1568       "OutputType", "Shield", "Local"
1569     }
1571 [effect_solar_plant_1]
1572 type    = "Output_Bonus"
1573 value   = 25
1574 reqs    =
1575     { "type", "name", "range"
1576       "Building", "Mfg. Plant", "City"
1577       "Building", "Solar Plant", "City"
1578       "OutputType", "Shield", "Local"
1579     }
1581 [effect_solar_plant_2]
1582 type    = "Pollu_Prod_Pct"
1583 value   = -100
1584 reqs    =
1585     { "type", "name", "range"
1586       "Building", "Solar Plant", "City"
1587     }
1589 [effect_space_component]
1590 type    = "SS_Component"
1591 value   = 1
1592 reqs    =
1593     { "type", "name", "range"
1594       "Building", "Space Component", "City"
1595     }
1597 [effect_space_module]
1598 type    = "SS_Module"
1599 value   = 1
1600 reqs    =
1601     { "type", "name", "range"
1602       "Building", "Space Module", "City"
1603     }
1605 [effect_space_structural]
1606 type    = "SS_Structural"
1607 value   = 1
1608 reqs    =
1609     { "type", "name", "range"
1610       "Building", "Space Structural", "City"
1611     }
1613 [effect_stock_exchange]
1614 type    = "Output_Bonus"
1615 value   = 50
1616 reqs    =
1617     { "type", "name", "range"
1618       "Building", "Bank", "City"
1619       "Building", "Stock Exchange", "City"
1620       "OutputType", "gold", "local"
1621     }
1623 [effect_stock_exchange_1]
1624 type    = "Output_Bonus"
1625 value   = 50
1626 reqs    =
1627     { "type", "name", "range"
1628       "Building", "Bank", "City"
1629       "Building", "Stock Exchange", "City"
1630       "OutputType", "luxury", "local"
1631     }
1633 [effect_super_highways]
1634 type    = "Output_Per_Tile"
1635 value   = 50
1636 reqs    =
1637     { "type", "name", "range"
1638       "Extra", "Road", "Local"
1639       "Building", "Super Highways", "City"
1640       "OutputType", "trade", "local"
1641     }
1643 [effect_mine]
1644 type    = "Mining_Pct"
1645 value   = 100
1646 reqs    =
1647     { "type", "name", "range"
1648       "Extra", "Mine", "Local"
1649     }
1651 [effect_irrigation]
1652 type    = "Irrigation_Pct"
1653 value   = 100
1654 reqs    =
1655     { "type", "name", "range", "present"
1656       "Extra", "Irrigation", "Local", TRUE
1657       "CityTile", "Center", "Local", FALSE
1658     }
1660 [effect_irrigation_2]
1661 type    = "Irrigation_Pct"
1662 value   = 100
1663 reqs    =
1664     { "type", "name", "range", "present"
1665       "CityTile", "Center", "Local", TRUE
1666       "TerrainAlter", "CanIrrigate", "Local", TRUE
1667       "Extra", "Mine", "Local", FALSE
1668     }
1670 [effect_supermarket]
1671 type    = "Output_Per_Tile"
1672 value   = 50
1673 reqs    =
1674     { "type", "name", "range", "present"
1675       "Extra", "Farmland", "Local", TRUE
1676       "Building", "Supermarket", "City", TRUE
1677       "OutputType", "Food", "Local", TRUE
1678       "CityTile", "Center", "Local", FALSE
1679     }
1681 [effect_supermarket_2]
1682 type    = "Output_Per_Tile"
1683 value   = 50
1684 reqs    =
1685     { "type", "name", "range", "present"
1686       "CityTile", "Center", "Local", TRUE
1687       "TerrainAlter", "CanIrrigate", "Local", TRUE
1688       "Building", "Supermarket", "City", TRUE
1689       "OutputType", "Food", "Local", TRUE
1690       "Extra", "Mine", "Local", FALSE
1691     }
1693 [effect_temple]
1694 type    = "Make_Content"
1695 value   = 1
1696 reqs    =
1697     { "type", "name", "range"
1698       "Building", "Temple", "City"
1699     }
1701 [effect_temple_1]
1702 type    = "Make_Content"
1703 value   = 1
1704 reqs    =
1705     { "type", "name", "range"
1706       "Tech", "Mysticism", "Player"
1707       "Building", "Temple", "City"
1708     }
1710 [effect_university]
1711 type    = "Output_Bonus"
1712 value   = 50
1713 reqs    =
1714     { "type", "name", "range"
1715       "Building", "Library", "City"
1716       "Building", "University", "City"
1717       "OutputType", "science", "local"
1718     }
1720 [effect_apollo_program]
1721 type    = "Reveal_Map"
1722 value   = 1
1723 reqs    =
1724     { "type", "name", "range"
1725       "Building", "Apollo Program", "Player"
1726     }
1728 [effect_apollo_program_1]
1729 type    = "Enable_Space"
1730 value   = 1
1731 reqs    =
1732     { "type", "name", "range", "survives"
1733       "Building", "Apollo Program", "World", TRUE
1734     }
1736 [effect_asmiths_trading_co]
1737 type    = "Upkeep_Free"
1738 value   = 1
1739 reqs    =
1740     { "type", "name", "range"
1741       "Building", "A.Smith's Trading Co.", "Player"
1742     }
1744 [effect_colossus]
1745 type    = "Output_Inc_Tile"
1746 value   = 1
1747 reqs    =
1748     { "type", "name", "range"
1749       "Building", "Colossus", "City"
1750       "OutputType", "trade", "local"
1751     }
1753 [effect_copernicus_observatory]
1754 type    = "Output_Bonus"
1755 value   = 50
1756 reqs    =
1757     { "type", "name", "range"
1758       "Building", "Copernicus' Observatory", "City"
1759       "OutputType", "science", "local"
1760     }
1762 [effect_cure_for_cancer]
1763 type    = "Force_Content"
1764 value   = 1
1765 reqs    =
1766     { "type", "name", "range"
1767       "Building", "Cure For Cancer", "Player"
1768     }
1770 [effect_darwins_voyage]
1771 type    = "Give_Imm_Tech"
1772 value   = 2
1773 reqs    =
1774     { "type", "name", "range"
1775       "Building", "Darwin's Voyage", "Player"
1776     }
1778 [effect_eiffel_tower]
1779 type    = "Gain_AI_Love"
1780 value   = 40
1781 reqs    =
1782     { "type", "name", "range"
1783       "Building", "Eiffel Tower", "Player"
1784     }
1786 [effect_great_library]
1787 type    = "Tech_Parasite"
1788 value   = 2
1789 reqs    =
1790     { "type", "name", "range"
1791       "Building", "Great Library", "Player"
1792     }
1794 [effect_great_wall]
1795 type    = "Defend_Bonus"
1796 value   = 200
1797 reqs    =
1798     { "type", "name", "range", "present"
1799       "Building", "Great Wall", "Player", TRUE
1800       "UnitClass", "Land", "Local", TRUE
1801       "CityTile", "Center", "Local", TRUE
1802       "UnitType", "Howitzer", "Local", FALSE
1803     }
1805 [effect_great_wall_0]
1806 type    = "Defend_Bonus"
1807 value   = 200
1808 reqs    =
1809     { "type", "name", "range"
1810       "Building", "Great Wall", "Player"
1811       "UnitClass", "Helicopter", "Local"
1812       "CityTile", "Center", "Local"
1813     }
1815 [effect_great_wall_1]
1816 type    = "Unit_No_Lose_Pop"
1817 value   = 1
1818 reqs    =
1819     { "type", "name", "range"
1820       "Building", "Great Wall", "Player"
1821     }
1823 [effect_great_wall_visible]
1824 type    = "Visible_Walls"
1825 value   = 1
1826 reqs    =
1827     { "type", "name", "range"
1828       "Building", "Great Wall", "Player"
1829     }
1831 [effect_hanging_gardens]
1832 type    = "Make_Happy"
1833 value   = 1
1834 reqs    =
1835     { "type", "name", "range", "present"
1836       "Building", "Hanging Gardens", "Player", TRUE
1837       "Building", "Hanging Gardens", "City", FALSE
1838     }
1840 [effect_hanging_gardens_1]
1841 type    = "Make_Happy"
1842 value   = 3
1843 reqs    =
1844     { "type", "name", "range"
1845       "Building", "Hanging Gardens", "City"
1846     }
1848 [effect_hoover_dam]
1849 type    = "Output_Bonus"
1850 value   = 25
1851 reqs    =
1852     { "type", "name", "range", "present"
1853       "Building", "Factory", "City", TRUE
1854       "Building", "Hoover Dam", "Player", TRUE
1855       "OutputType", "Shield", "Local", TRUE
1856       "Building", "Solar Plant", "City", FALSE
1857     }
1859 [effect_hoover_dam_1]
1860 type    = "Output_Bonus"
1861 value   = 25
1862 reqs    =
1863     { "type", "name", "range", "present"
1864       "Building", "Mfg. Plant", "City", TRUE
1865       "Building", "Hoover Dam", "Player", TRUE
1866       "OutputType", "Shield", "Local", TRUE
1867       "Building", "Solar Plant", "City", FALSE
1868     }
1870 [effect_hoover_dam_2]
1871 type    = "Pollu_Prod_Pct"
1872 value   = -50
1873 reqs    =
1874     { "type", "name", "range", "present"
1875       "Building", "Hoover Dam", "Player", TRUE
1876       "Building", "Recycling Center", "City", FALSE
1877       "Building", "Solar Plant", "City", FALSE
1878     }
1880 [effect_isaac_newtons_college]
1881 type    = "Output_Bonus"
1882 value   = 100
1883 reqs    =
1884     { "type", "name", "range"
1885       "Building", "Isaac Newton's College", "City"
1886       "OutputType", "science", "local"
1887     }
1889 [effect_js_bachs_cathedral]
1890 type    = "Force_Content"
1891 value   = 2
1892 reqs    =
1893     { "type", "name", "range"
1894       "Building", "J.S. Bach's Cathedral", "Player"
1895     }
1897 [effect_king_richards_crusade]
1898 type    = "Output_Add_Tile"
1899 value   = 1
1900 reqs    =
1901     { "type", "name", "range"
1902       "Building", "King Richard's Crusade", "City"
1903       "OutputType", "shield", "local"
1904     }
1906 [effect_leonardos_workshop]
1907 type    = "Upgrade_Unit"
1908 value   = 1
1909 reqs    =
1910     { "type", "name", "range"
1911       "Building", "Leonardo's Workshop", "Player"
1912     }
1914 [effect_lighthouse]
1915 type    = "Move_Bonus"
1916 value   = 1
1917 reqs    =
1918     { "type", "name", "range"
1919       "Building", "Lighthouse", "Player"
1920       "UnitClass", "Sea", "Local"
1921     }
1923 [effect_lighthouse_2]
1924 type    = "Veteran_Build"
1925 value   = 1
1926 reqs    =
1927     { "type", "name", "range", "present"
1928       "Building", "Lighthouse", "Player", TRUE
1929       "UnitClass", "Sea", "Local", TRUE
1930       "UnitFlag", "NonMil", "Local", FALSE
1931       "UnitFlag", "NoVeteran", "Local", FALSE
1932       "Building", "Port Facility", "City", FALSE
1933     }
1935 [effect_magellans_expedition]
1936 type    = "Move_Bonus"
1937 value   = 2
1938 reqs    =
1939     { "type", "name", "range"
1940       "Building", "Magellan's Expedition", "Player"
1941       "UnitClass", "Sea", "Local"
1942     }
1944 [effect_manhattan_project]
1945 type    = "Enable_Nuke"
1946 value   = 1
1947 reqs    =
1948     { "type", "name", "range", "survives"
1949       "Building", "Manhattan Project", "World", TRUE
1950     }
1952 [effect_marco_polos_contact]
1953 type    = "Have_Contacts"
1954 value   = 1
1955 reqs    =
1956     { "type", "name", "range"
1957       "Building", "Marco Polo's Embassy", "Player"
1958     }
1960 [effect_marco_polos_embassy]
1961 type    = "Have_Embassies"
1962 value   = 1
1963 reqs    =
1964     { "type", "name", "range"
1965       "Building", "Marco Polo's Embassy", "Player"
1966     }
1968 [effect_michelangelos_chapel]
1969 type    = "Make_Content"
1970 value   = 3
1971 reqs    =
1972     { "type", "name", "range"
1973       "Building", "Michelangelo's Chapel", "Player"
1974     }
1976 [effect_michelangelos_chapel_1]
1977 type    = "Make_Content"
1978 value   = 1
1979 reqs    =
1980     { "type", "name", "range"
1981       "Tech", "Theology", "Player"
1982       "Building", "Michelangelo's Chapel", "Player"
1983     }
1985 [effect_michelangelos_chapel_2]
1986 type    = "Make_Content"
1987 value   = -1
1988 reqs    =
1989     { "type", "name", "range"
1990       "Tech", "Communism", "Player"
1991       "Building", "Michelangelo's Chapel", "Player"
1992     }
1994 [effect_oracle]
1995 type    = "Make_Content"
1996 value   = 1
1997 reqs    =
1998     { "type", "name", "range"
1999       "Building", "Temple", "City"
2000       "Building", "Oracle", "Player"
2001     }
2003 [effect_oracle_mysticism]
2004 type    = "Make_Content"
2005 value   = 1
2006 reqs    =
2007     { "type", "name", "range"
2008       "Building", "Temple", "City"
2009       "Building", "Oracle", "Player"
2010       "Tech", "Mysticism", "Player"
2011     }
2013 [effect_pyramids]
2014 type    = "Growth_Food"
2015 value   = 50
2016 reqs    =
2017     { "type", "name", "range"
2018       "Building", "Pyramids", "Player"
2019     }
2021 [effect_seti_program]
2022 type    = "Output_Bonus"
2023 value   = 50
2024 reqs    =
2025     { "type", "name", "range"
2026       "Building", "Library", "City"
2027       "Building", "SETI Program", "Player"
2028       "OutputType", "science", "local"
2029     }
2031 [effect_shakespeares_theatre]
2032 type    = "No_Unhappy"
2033 value   = 1
2034 reqs    =
2035     { "type", "name", "range"
2036       "Building", "Shakespeare's Theatre", "City"
2037     }
2039 [effect_statue_of_liberty]
2040 type    = "Any_Government"
2041 value   = 1
2042 reqs    =
2043     { "type", "name", "range"
2044       "Building", "Statue of Liberty", "Player"
2045     }
2047 [effect_statue_of_liberty_1]
2048 type    = "No_Anarchy"
2049 value   = 1
2050 reqs    =
2051     { "type", "name", "range"
2052       "Building", "Statue of Liberty", "Player"
2053     }
2055 [effect_sun_tzus_war_academy]
2056 type    = "Veteran_Build"
2057 value   = 1
2058 reqs    =
2059     { "type", "name", "range", "present"
2060       "Building", "Sun Tzu's War Academy", "Player", TRUE
2061       "UnitClass", "Land", "Local", TRUE
2062       "UnitFlag", "NonMil", "Local", FALSE
2063       "UnitFlag", "NoVeteran", "Local", FALSE
2064       "Building", "Barracks", "City", FALSE
2065       "Building", "Barracks II", "City", FALSE
2066       "Building", "Barracks III", "City", FALSE
2067     }
2069 [effect_sun_tzus_war_academy_1]
2070 type    = "Veteran_Combat"
2071 value   = 100
2072 reqs    =
2073     { "type", "name", "range", "present"
2074       "Building", "Sun Tzu's War Academy", "Player", TRUE
2075       "UnitClass", "Land", "Local", TRUE
2076       "UnitFlag", "Diplomat", "Local", FALSE
2077     }
2079 [effect_united_nations]
2080 type    = "Unit_Recover"
2081 value   = 2
2082 reqs    =
2083     { "type", "name", "range"
2084       "Building", "United Nations", "Player"
2085     }
2087 [effect_womens_suffrage]
2088 type    = "Make_Content_Mil"
2089 value   = 1
2090 reqs    =
2091     { "type", "name", "range"
2092       "Gov", "Republic", "Player"
2093       "Building", "Women's Suffrage", "Player"
2094     }
2096 [effect_womens_suffrage_1]
2097 type    = "Make_Content_Mil"
2098 value   = 2
2099 reqs    =
2100     { "type", "name", "range"
2101       "Gov", "Democracy", "Player"
2102       "Building", "Women's Suffrage", "Player"
2103     }
2105 [effect_flight_trade_revenue_reduce]
2106 type    = "Trade_Revenue_Bonus"
2107 value   = -585
2108 reqs    =
2109     { "type", "name", "range"
2110       "Tech", "Flight", "Player"
2111     }
2112     
2113 [effect_railroad_trade_revenue_reduce]
2114 type    = "Trade_Revenue_Bonus"
2115 value   = -585
2116 reqs    =
2117     { "type", "name", "range"
2118       "Tech", "Railroad", "Player"
2119     }
2121 [effect_enter_marketplace_bonus_reduction]
2122 type    = "Trade_Revenue_Bonus"
2123 value   = -1585
2124 reqs    =
2125     { "type", "name", "range"
2126       "Action", "Enter Marketplace", "Local"
2127     }
2129 ; Fudge factor to more closely approximate Civ2 behavior. (Civ2 is
2130 ; really very different -- this just fakes it a little better)
2131 [effect_bonus_fudge_factor]
2132 type    = "Trade_Revenue_Bonus"
2133 value   = 1585
2135 [effect_tithes_fundamentalism]
2136 type    = "Happiness_To_Gold" 
2137 value   = 1 
2138 reqs    = 
2139     { "type", "name", "range" 
2140       "Gov", "Fundamentalism", "Player" 
2141     }
2143 ; FIXME: Calendar effects are copied from default rulesets and are
2144 ; probably wrong for civ2 ruleset.
2145 [effect_calendar_base]
2146 type    = "Turn_Years"
2147 value   = 50
2149 ; 50 - 25 = 25
2150 [effect_calendar_1]
2151 type    = "Turn_Years"
2152 value   = -25
2153 reqs    =
2154     { "type", "name", "range"
2155       "MinYear", "-1000", "World"
2156     }
2158 ; 25 - 5 = 20
2159 [effect_calendar_2]
2160 type    = "Turn_Years"
2161 value   = -5
2162 reqs    =
2163     { "type", "name", "range"
2164       "MinYear", "0", "World"
2165     }
2167 ; 20 - 10 = 10
2168 [effect_calendar_3]
2169 type    = "Turn_Years"
2170 value   = -10
2171 reqs    =
2172     { "type", "name", "range"
2173       "MinYear", "1000", "World"
2174     }
2176 ; 10 - 5 = 5
2177 [effect_calendar_4]
2178 type    = "Turn_Years"
2179 value   = -5
2180 reqs    =
2181     { "type", "name", "range"
2182       "MinYear", "1500", "World"
2183     }
2185 ; 5 - 3 = 2
2186 [effect_calendar_5]
2187 type    = "Turn_Years"
2188 value   = -3
2189 reqs    =
2190     { "type", "name", "range"
2191       "MinYear", "1750", "World"
2192     }
2194 ; 2 - 1 = 1
2195 [effect_calendar_6]
2196 type    = "Turn_Years"
2197 value   = -1
2198 reqs    =
2199     { "type", "name", "range"
2200       "MinYear", "1900", "World"
2201     }
2203 [effect_tech_cost_base]
2204 type    = "Tech_Cost_Factor"
2205 value   = 1
2207 [effect_tech_cost_double]
2208 type    = "Tech_Cost_Factor"
2209 value   = 1
2210 reqs    =
2211     { "type", "name", "range"
2212       "MinYear", "1", "World"
2213     }
2215 ; Cities can always work tiles
2216 [effect_tile_workable]
2217 type    = "Tile_Workable"
2218 value   = 1
2220 ; each city has at least one slot to build units
2221 [effect_city_build_slots_basic]
2222 type    = "City_Build_Slots"
2223 value   = 1
2225 [effect_city_image_1]
2226 type    = "City_Image"
2227 value   = 1
2228 reqs    =
2229     { "type", "name", "range"
2230       "MinSize", "4", "City"
2231     }
2233 [effect_city_image_2]
2234 type    = "City_Image"
2235 value   = 1
2236 reqs    =
2237     { "type", "name", "range"
2238       "MinSize", "8", "City"
2239     }
2241 [effect_city_image_3]
2242 type    = "City_Image"
2243 value   = 1
2244 reqs    =
2245     { "type", "name", "range"
2246       "MinSize", "12", "City"
2247     }
2249 [effect_city_image_4]
2250 type    = "City_Image"
2251 value   = 1
2252 reqs    =
2253     { "type", "name", "range"
2254       "MinSize", "16", "City"
2255     }
2257 [effect_irrigate_src_ocean]
2258 type    = "Irrig_Possible"
2259 value   = 1
2260 reqs    =
2261     { "type", "name", "range"
2262       "TerrainClass", "Oceanic", "CAdjacent"
2263     }
2265 [effect_irrigate_src_river]
2266 type    = "Irrig_Possible"
2267 value   = 1
2268 reqs    =
2269     { "type", "name", "range"
2270       "Extra", "River", "CAdjacent"
2271     }
2273 [effect_irrigate_src_irrigation]
2274 type    = "Irrig_Possible"
2275 value   = 1
2276 reqs    =
2277     { "type", "name", "range"
2278       "Extra", "Irrigation", "CAdjacent"
2279     }
2281 [effect_mining]
2282 type    = "Mining_Possible"
2283 value   = 1
2285 [effect_irrig_tf]
2286 type    = "Irrig_TF_Possible"
2287 value   = 1
2289 [effect_mining_tf]
2290 type    = "Mining_TF_Possible"
2291 value   = 1
2293 [effect_transform]
2294 type    = "Transform_Possible"
2295 value   = 1
2296 reqs    =
2297     { "type", "name", "range"
2298       "UnitFlag", "Transform", "Local"
2299     }
2301 [effect_pollution]
2302 type    = "Output_Tile_Punish_Pct"
2303 value   = 50
2304 reqs    =
2305     { "type", "name", "range"
2306       "Extra", "Pollution", "Local"
2307     }
2309 [effect_unit_bribe_cost_settlers]
2310 type    = "Unit_Bribe_Cost_Pct"
2311 value   = -50
2312 reqs    =
2313     { "type", "name", "range"
2314       "UnitFlag", "Cities", "Local"
2315     }
2317 [effect_illegal_action_move_cost_base]
2318 type    = "Illegal_Action_Move_Cost"
2319 value   = 1
2320 reqs    =
2321     { "type", "name", "range", "present"
2322       "Action", "Found City", "Local", FALSE
2323       "Action", "Join City", "Local", FALSE
2324     }
2326 ; Allow everyone to declar war on the terrorist nation
2327 [effect_incident_plant_nuke_caught]
2328 type    = "Casus_Belli_Caught"
2329 value   = 1000
2330 reqs    =
2331     { "type", "name", "range", "present"
2332       "Action", "Suitcase Nuke Escape", "Local", TRUE
2333       "Gov", "Fundamentalism", "Player", FALSE
2334     }
2336 ; TODO: Find the exact probability
2337 [effect_suitcase_plant_nuke_unlikely]
2338 type   = "Action_Odds_Pct"
2339 value   = -75
2340 reqs   =
2341     { "type", "name", "range"
2342       "Action", "Suitcase Nuke Escape", "Local"
2343     }
2345 [effect_incident_caught_steal_tech]
2346 type    = "Casus_Belli_Caught"
2347 value   = 1
2348 reqs    =
2349     { "type", "name", "range", "present"
2350       "Action", "Steal Tech", "Local", TRUE
2351       "DiplRel", "War", "Local", FALSE
2352     }
2354 [effect_incident_success_steal_tech]
2355 type    = "Casus_Belli_Success"
2356 value   = 1
2357 reqs    =
2358     { "type", "name", "range", "present"
2359       "Action", "Steal Tech", "Local", TRUE
2360       "DiplRel", "War", "Local", FALSE
2361     }
2363 [effect_incident_caught_tgt_steal_tech]
2364 type    = "Casus_Belli_Caught"
2365 value   = 1
2366 reqs    =
2367     { "type", "name", "range", "present"
2368       "Action", "Targeted Steal Tech", "Local", TRUE
2369       "DiplRel", "War", "Local", FALSE
2370     }
2372 [effect_incident_success_tgt_steal_tech]
2373 type    = "Casus_Belli_Success"
2374 value   = 1
2375 reqs    =
2376     { "type", "name", "range", "present"
2377       "Action", "Targeted Steal Tech", "Local", TRUE
2378       "DiplRel", "War", "Local", FALSE
2379     }
2381 [effect_incident_success_bribe_unit]
2382 type    = "Casus_Belli_Success"
2383 value   = 1
2384 reqs    =
2385     { "type", "name", "range", "present"
2386       "Action", "Bribe Unit", "Local", TRUE
2387       "DiplRel", "War", "Local", FALSE
2388     }
2390 [effect_incident_success_sabotage_unit]
2391 type    = "Casus_Belli_Success"
2392 value   = 1
2393 reqs    =
2394     { "type", "name", "range", "present"
2395       "Action", "Sabotage Unit", "Local", TRUE
2396       "DiplRel", "War", "Local", FALSE
2397     }
2399 [effect_incident_success_incite]
2400 type    = "Casus_Belli_Success"
2401 value   = 1
2402 reqs    =
2403     { "type", "name", "range", "present"
2404       "Action", "Incite City", "Local", TRUE
2405       "DiplRel", "War", "Local", FALSE
2406     }
2408 [effect_incident_success_incite_esc]
2409 type    = "Casus_Belli_Success"
2410 value   = 1
2411 reqs    =
2412     { "type", "name", "range", "present"
2413       "Action", "Incite City Escape", "Local", TRUE
2414       "DiplRel", "War", "Local", FALSE
2415     }
2417 [effect_incident_success_poison]
2418 type    = "Casus_Belli_Success"
2419 value   = 1
2420 reqs    =
2421     { "type", "name", "range", "present"
2422       "Action", "Poison City", "Local", TRUE
2423       "DiplRel", "War", "Local", FALSE
2424     }
2426 [effect_incident_success_sabotage_city]
2427 type    = "Casus_Belli_Success"
2428 value   = 1
2429 reqs    =
2430     { "type", "name", "range", "present"
2431       "Action", "Sabotage City", "Local", TRUE
2432       "DiplRel", "War", "Local", FALSE
2433     }
2435 [effect_incident_success_tgt_sabotage_city]
2436 type    = "Casus_Belli_Success"
2437 value   = 1
2438 reqs    =
2439     { "type", "name", "range", "present"
2440       "Action", "Targeted Sabotage City", "Local", TRUE
2441       "DiplRel", "War", "Local", FALSE
2442     }
2444 [effect_tgt_sabotage_city_half_chance]
2445 type    = "Action_Odds_Pct"
2446 value   = -50
2447 reqs    =
2448     { "type", "name", "range", "present"
2449       "Action", "Targeted Sabotage City", "Local", TRUE
2450     }
2452 [effect_incident_success_explode_nuke]
2453 type    = "Casus_Belli_Success"
2454 value   = 1
2455 reqs    =
2456     { "type", "name", "range", "present"
2457       "Action", "Explode Nuclear", "Local", TRUE
2458     }