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
13 description="Civ2 effects data for Freeciv (incomplete)"
14 options="+Freeciv-2.6-ruleset"
16 ; /* <-- avoid gettext warnings
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"
36 [effect_barbarian_diplomacy]
40 { "type", "name", "range"
41 "NationGroup", "Barbarian", "Player"
44 [effect_barbarian_waste]
45 type = "Output_Waste_Pct"
48 { "type", "name", "range"
49 "NationGroup", "Barbarian", "Player"
50 "OutputType", "Shield", "Local"
53 ; Barbarian disappearance
55 [effect_barb_disappear]
59 { "type", "name", "range", "present"
60 "NationGroup", "Barbarian", "Player", TRUE
61 "Age", "5", "Local", TRUE
62 "CityTile", "Center", "Local", FALSE
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]
72 { "type", "name", "range"
73 "UnitType", "Barbarian Leader", "Local"
75 "TerrainClass", "Oceanic", "Adjacent"
76 "MaxUnitsOnTile", "1", "Local"
80 type = "City_Unhappy_Size"
83 [effect_gov_tile_bonus_0]
84 type = "Output_Penalty_Tile"
87 { "type", "name", "range"
88 "Gov", "Anarchy", "Player"
91 [effect_gov_tile_bonus_1]
92 type = "Output_Penalty_Tile"
95 { "type", "name", "range"
96 "Gov", "Despotism", "Player"
99 [effect_gov_tile_bonus_2]
100 type = "Output_Inc_Tile_Celebrate"
103 { "type", "name", "range"
104 "OutputType", "Trade", "Local"
105 "Gov", "Monarchy", "Player"
108 [effect_gov_tile_bonus_3]
109 type = "Output_Inc_Tile_Celebrate"
112 { "type", "name", "range"
113 "OutputType", "Trade", "Local"
114 "Gov", "Communism", "Player"
117 [effect_gov_tile_bonus_4]
118 type = "Output_Inc_Tile"
121 { "type", "name", "range"
122 "Gov", "Republic", "Player"
123 "OutputType", "Trade", "Local"
126 [effect_gov_tile_bonus_5]
127 type = "Output_Inc_Tile"
130 { "type", "name", "range"
131 "Gov", "Democracy", "Player"
132 "OutputType", "Trade", "Local"
135 [effect_gov_tile_bonus_6]
136 type = "Output_Inc_Tile_Celebrate"
139 { "type", "name", "range"
140 "Gov", "Fundamentalism", "Player"
141 "OutputType", "Trade", "Local"
144 [effect_corruption_anarchy0]
145 type = "Output_Waste"
148 { "type", "name", "range"
149 "Gov", "Anarchy", "Player"
150 "OutputType", "Trade", "Local"
153 [effect_corruption_anarchy1]
154 type = "Output_Waste_By_Distance"
157 { "type", "name", "range"
158 "Gov", "Anarchy", "Player"
159 "OutputType", "Trade", "Local"
162 [effect_corruption_despotism0]
163 type = "Output_Waste"
166 { "type", "name", "range"
167 "Gov", "Despotism", "Player"
168 "OutputType", "Trade", "Local"
171 [effect_corruption_despotism1]
172 type = "Output_Waste_By_Distance"
175 { "type", "name", "range"
176 "Gov", "Despotism", "Player"
177 "OutputType", "Trade", "Local"
180 [effect_corruption_monarchy0]
181 type = "Output_Waste"
184 { "type", "name", "range"
185 "Gov", "Monarchy", "Player"
186 "OutputType", "Trade", "Local"
189 [effect_corruption_monarchy1]
190 type = "Output_Waste_By_Distance"
193 { "type", "name", "range"
194 "Gov", "Monarchy", "Player"
195 "OutputType", "Trade", "Local"
198 [effect_corruption_communism0]
199 type = "Output_Waste"
202 { "type", "name", "range"
203 "Gov", "Communism", "Player"
204 "OutputType", "Trade", "Local"
207 [effect_corruption_republic0]
208 type = "Output_Waste"
211 { "type", "name", "range"
212 "Gov", "Republic", "Player"
213 "OutputType", "Trade", "Local"
216 [effect_corruption_republic1]
217 type = "Output_Waste_By_Distance"
220 { "type", "name", "range"
221 "Gov", "Republic", "Player"
222 "OutputType", "Trade", "Local"
225 [effect_corruption_fundamentalism0]
226 type = "Output_Waste"
229 { "type", "name", "range"
230 "Gov", "Fundamentalism", "Player"
231 "OutputType", "Trade", "Local"
234 [effect_corruption_fundamentalism1]
235 type = "Output_Waste_By_Distance"
238 { "type", "name", "range"
239 "Gov", "Fundamentalism", "Player"
240 "OutputType", "Trade", "Local"
243 [effect_waste_anarchy0]
244 type = "Output_Waste"
247 { "type", "name", "range"
248 "Gov", "Anarchy", "Player"
249 "OutputType", "Shield", "Local"
252 [effect_waste_anarchy1]
253 type = "Output_Waste_By_Distance"
256 { "type", "name", "range"
257 "Gov", "Anarchy", "Player"
258 "OutputType", "Shield", "Local"
261 [effect_waste_despotism0]
262 type = "Output_Waste"
265 { "type", "name", "range"
266 "Gov", "Despotism", "Player"
267 "OutputType", "Shield", "Local"
270 [effect_waste_despotism1]
271 type = "Output_Waste_By_Distance"
274 { "type", "name", "range"
275 "Gov", "Despotism", "Player"
276 "OutputType", "Shield", "Local"
279 [effect_waste_monarchy0]
280 type = "Output_Waste"
283 { "type", "name", "range"
284 "Gov", "Monarchy", "Player"
285 "OutputType", "Shield", "Local"
288 [effect_waste_monarchy1]
289 type = "Output_Waste_By_Distance"
292 { "type", "name", "range"
293 "Gov", "Monarchy", "Player"
294 "OutputType", "Shield", "Local"
297 [effect_waste_communism0]
298 type = "Output_Waste"
301 { "type", "name", "range"
302 "Gov", "Communism", "Player"
303 "OutputType", "Shield", "Local"
306 [effect_waste_republic0]
307 type = "Output_Waste"
310 { "type", "name", "range"
311 "Gov", "Republic", "Player"
312 "OutputType", "Shield", "Local"
315 [effect_waste_republic1]
316 type = "Output_Waste_By_Distance"
319 { "type", "name", "range"
320 "Gov", "Republic", "Player"
321 "OutputType", "Shield", "Local"
324 [effect_waste_fundamentalism0]
325 type = "Output_Waste"
328 { "type", "name", "range"
329 "Gov", "Fundamentalism", "Player"
330 "OutputType", "Shield", "Local"
333 [effect_waste_fundamentalism1]
334 type = "Output_Waste_By_Distance"
337 { "type", "name", "range"
338 "Gov", "Fundamentalism", "Player"
339 "OutputType", "Shield", "Local"
342 ; Specialist output bonuses
345 type = "Specialist_Output"
348 { "type", "name", "range"
349 "Specialist", "elvis", "Local"
350 "OutputType", "luxury", "Local"
354 type = "Specialist_Output"
357 { "type", "name", "range"
358 "Specialist", "scientist", "Local"
359 "OutputType", "science", "Local"
363 type = "Specialist_Output"
366 { "type", "name", "range"
367 "Specialist", "taxman", "Local"
368 "OutputType", "gold", "Local"
373 [effect_fortress_hp_regen]
377 { "type", "name", "range"
378 "Extra", "Fortress", "Tile"
379 "UnitClass", "Land", "Local"
382 ; Base vision range - radius of vision is sqrt(5) = 2.24
384 type = "City_Vision_Radius_Sq"
387 [effect_trade_routes]
388 type = "Max_Trade_Routes"
392 type = "Make_Content_Mil"
395 { "type", "name", "range"
396 "Gov", "Republic", "Player"
399 [effect_base_unit_upkeep]
400 type = "Upkeep_Factor"
403 [effect_communism_unit_upkeep]
404 type = "Upkeep_Factor"
407 { "type", "name", "range"
408 "Gov", "Communism", "Player"
409 "OutputType", "Food", "Local"
412 [effect_fundamentalism_unit_upkeep]
413 type = "Upkeep_Factor"
416 { "type", "name", "range"
417 "Gov", "Fundamentalism", "Player"
418 "OutputType", "Food", "Local"
421 [effect_fundamentalism_free_fanatics]
425 { "type", "name", "range"
426 "Gov", "Fundamentalism", "Player"
429 [effect_republic_unit_upkeep]
430 type = "Upkeep_Factor"
433 { "type", "name", "range"
434 "Gov", "Republic", "Player"
435 "OutputType", "Food", "Local"
438 [effect_democracy_unit_upkeep]
439 type = "Upkeep_Factor"
442 { "type", "name", "range"
443 "Gov", "Democracy", "Player"
444 "OutputType", "Food", "Local"
447 [effect_republic_unit_unhappiness]
448 type = "Unhappy_Factor"
451 { "type", "name", "range"
452 "Gov", "Republic", "Player"
455 [effect_democracy_unit_unhappiness]
456 type = "Unhappy_Factor"
459 { "type", "name", "range"
460 "Gov", "Democracy", "Player"
463 [effect_upkeep_free_units_anarchy]
464 type = "Unit_Upkeep_Free_Per_City"
467 { "type", "name", "range"
468 "Gov", "Anarchy", "Player"
469 "OutputType", "Shield", "Local"
472 [effect_upkeep_free_units_despotism]
473 type = "Unit_Upkeep_Free_Per_City"
476 { "type", "name", "range"
477 "Gov", "Despotism", "Player"
478 "OutputType", "Shield", "Local"
481 [effect_upkeep_free_units_monarchy]
482 type = "Unit_Upkeep_Free_Per_City"
485 { "type", "name", "range"
486 "Gov", "Monarchy", "Player"
487 "OutputType", "Shield", "Local"
490 [effect_upkeep_free_units_communism]
491 type = "Unit_Upkeep_Free_Per_City"
494 { "type", "name", "range"
495 "Gov", "Communism", "Player"
496 "OutputType", "Shield", "Local"
499 [effect_upkeep_free_units_fundamentalism]
500 type = "Unit_Upkeep_Free_Per_City"
503 { "type", "name", "range"
504 "Gov", "Fundamentalism", "Player"
505 "OutputType", "Shield", "Local"
509 type = "Civil_War_Chance"
512 { "type", "name", "range"
513 "Gov", "Anarchy", "Player"
517 type = "Civil_War_Chance"
520 { "type", "name", "range"
521 "Gov", "Despotism", "Player"
525 type = "Civil_War_Chance"
528 { "type", "name", "range"
529 "Gov", "Monarchy", "Player"
533 type = "Civil_War_Chance"
536 { "type", "name", "range"
537 "Gov", "Communism", "Player"
541 type = "Civil_War_Chance"
544 { "type", "name", "range"
545 "Gov", "Republic", "Player"
549 type = "Civil_War_Chance"
552 { "type", "name", "range"
553 "Gov", "Democracy", "Player"
556 [effect_empire_size_base_0]
557 type = "Empire_Size_Base"
560 { "type", "name", "range"
561 "Gov", "Anarchy", "Player"
564 [effect_empire_size_base_1]
565 type = "Empire_Size_Base"
568 { "type", "name", "range"
569 "Gov", "Despotism", "Player"
572 [effect_empire_size_base_2]
573 type = "Empire_Size_Base"
576 { "type", "name", "range"
577 "Gov", "Monarchy", "Player"
580 [effect_empire_size_base_3]
581 type = "Empire_Size_Base"
584 { "type", "name", "range"
585 "Gov", "Communism", "Player"
588 [effect_empire_size_base_4]
589 type = "Empire_Size_Base"
592 { "type", "name", "range"
593 "Gov", "Republic", "Player"
596 [effect_empire_size_base_5]
597 type = "Empire_Size_Base"
600 { "type", "name", "range"
601 "Gov", "Democracy", "Player"
604 [effect_empire_size_base_6]
605 type = "Empire_Size_Base"
608 { "type", "name", "range"
609 "Gov", "Fundamentalism", "Player"
612 [effect_empire_size_step_0]
613 type = "Empire_Size_Step"
616 { "type", "name", "range"
617 "Gov", "Anarchy", "Player"
620 [effect_empire_size_step_1]
621 type = "Empire_Size_Step"
624 { "type", "name", "range"
625 "Gov", "Despotism", "Player"
628 [effect_empire_size_step_2]
629 type = "Empire_Size_Step"
632 { "type", "name", "range"
633 "Gov", "Monarchy", "Player"
636 [effect_empire_size_step_3]
637 type = "Empire_Size_Step"
640 { "type", "name", "range"
641 "Gov", "Communism", "Player"
644 [effect_empire_size_step_4]
645 type = "Empire_Size_Step"
648 { "type", "name", "range"
649 "Gov", "Republic", "Player"
652 [effect_empire_size_step_5]
653 type = "Empire_Size_Step"
656 { "type", "name", "range"
657 "Gov", "Democracy", "Player"
660 [effect_empire_size_step_6]
661 type = "Empire_Size_Step"
664 { "type", "name", "range"
665 "Gov", "Fundamentalism", "Player"
672 { "type", "name", "range"
673 "Gov", "Anarchy", "Player"
680 { "type", "name", "range"
681 "Gov", "Despotism", "Player"
688 { "type", "name", "range"
689 "Gov", "Monarchy", "Player"
696 { "type", "name", "range"
697 "Gov", "Communism", "Player"
704 { "type", "name", "range"
705 "Gov", "Republic", "Player"
712 { "type", "name", "range"
713 "Gov", "Democracy", "Player"
720 { "type", "name", "range"
721 "Gov", "Fundamentalism", "Player"
724 [effect_martial_law_each_0]
725 type = "Martial_Law_Each"
728 { "type", "name", "range"
729 "Gov", "Anarchy", "Player"
732 [effect_martial_law_each_1]
733 type = "Martial_Law_Each"
736 { "type", "name", "range"
737 "Gov", "Despotism", "Player"
740 [effect_martial_law_each_2]
741 type = "Martial_Law_Each"
744 { "type", "name", "range"
745 "Gov", "Monarchy", "Player"
748 [effect_martial_law_each_3]
749 type = "Martial_Law_Each"
752 { "type", "name", "range"
753 "Gov", "Communism", "Player"
756 [effect_martial_law_max_0]
757 type = "Martial_Law_Max"
760 { "type", "name", "range"
761 "Gov", "Anarchy", "Player"
764 [effect_martial_law_max_1]
765 type = "Martial_Law_Max"
768 { "type", "name", "range"
769 "Gov", "Despotism", "Player"
772 [effect_martial_law_max_2]
773 type = "Martial_Law_Max"
776 { "type", "name", "range"
777 "Gov", "Monarchy", "Player"
780 [effect_martial_law_max_3]
781 type = "Martial_Law_Max"
784 { "type", "name", "range"
785 "Gov", "Communism", "Player"
788 [effect_rapture_grow_0]
789 type = "Rapture_Grow"
792 { "type", "name", "range"
793 "Gov", "Republic", "Player"
796 [effect_rapture_grow_1]
797 type = "Rapture_Grow"
800 { "type", "name", "range"
801 "Gov", "Democracy", "Player"
805 type = "Veteran_Build"
808 { "type", "name", "range"
809 "Gov", "Communism", "Player"
810 "UnitFlag", "Diplomat", "Local"
813 [effect_revolution_0]
814 type = "Revolution_Unhappiness"
817 { "type", "name", "range"
818 "Gov", "Democracy", "Player"
825 { "type", "name", "range"
826 "Gov", "Republic", "Player"
833 { "type", "name", "range"
834 "Gov", "Democracy", "Player"
837 [effect_partisans_communism]
838 type = "Inspire_Partisans"
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
849 [effect_partisans_democracy]
850 type = "Inspire_Partisans"
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
861 [effect_fundamentalism]
862 type = "Output_Bonus_2"
865 { "type", "name", "range"
866 "Gov", "Fundamentalism", "Player"
867 "OutputType", "science", "local"
870 ; Nuclear power gives +1 moves to sea units
871 [effect_nuclear_powered_boats]
875 { "type", "name", "range"
876 "Tech", "Nuclear Power", "Player"
877 "UnitClass", "Sea", "Local"
881 type = "Veteran_Build"
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
892 type = "Veteran_Build"
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
903 type = "Veteran_Build"
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
917 { "type", "name", "range"
918 "Building", "Airport", "City"
919 "UnitClass", "Air", "Local"
926 { "type", "name", "range"
927 "Building", "Airport", "City"
928 "UnitClass", "Helicopter", "Local"
935 { "type", "name", "range"
936 "Building", "Airport", "City"
939 ; Base max city size of 8
940 [effect_aqueduct_size]
948 { "type", "name", "range"
949 "Building", "Aqueduct", "City"
953 type = "Output_Bonus"
956 { "type", "name", "range"
957 "Building", "Marketplace", "City"
958 "Building", "Bank", "City"
959 "OutputType", "gold", "local"
963 type = "Output_Bonus"
966 { "type", "name", "range"
967 "Building", "Marketplace", "City"
968 "Building", "Bank", "City"
969 "OutputType", "luxury", "local"
973 type = "Veteran_Build"
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
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
997 type = "Veteran_Build"
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
1008 [effect_barracks_ii_1]
1012 { "type", "name", "range", "present"
1013 "Building", "Barracks II", "City", TRUE
1014 "UnitClass", "Land", "Local", TRUE
1015 "Building", "Barracks III", "City", FALSE
1018 [effect_barracks_iii]
1019 type = "Veteran_Build"
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
1029 [effect_barracks_iii_1]
1033 { "type", "name", "range"
1034 "Building", "Barracks III", "City"
1035 "UnitClass", "Land", "Local"
1039 type = "Make_Content"
1042 { "type", "name", "range", "present"
1043 "Building", "Cathedral", "City", TRUE
1044 "Building", "Michelangelo's Chapel", "Player", FALSE
1047 [effect_cathedral_1]
1048 type = "Make_Content"
1051 { "type", "name", "range", "present"
1052 "Tech", "Theology", "Player", TRUE
1053 "Building", "Cathedral", "City", TRUE
1054 "Building", "Michelangelo's Chapel", "Player", FALSE
1057 [effect_cathedral_2]
1058 type = "Make_Content"
1061 { "type", "name", "range", "present"
1062 "Tech", "Communism", "Player", TRUE
1063 "Building", "Cathedral", "City", TRUE
1064 "Building", "Michelangelo's Chapel", "Player", FALSE
1068 type = "Defend_Bonus"
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
1078 [effect_city_walls_0]
1079 type = "Defend_Bonus"
1082 { "type", "name", "range", "present"
1083 "Building", "City Walls", "City", TRUE
1084 "UnitClass", "Helicopter", "Local", TRUE
1085 "Building", "Great Wall", "Player", FALSE
1088 [effect_city_walls_1]
1089 type = "Unit_No_Lose_Pop"
1092 { "type", "name", "range"
1093 "Building", "City Walls", "City"
1096 [effect_city_walls_visible]
1097 type = "Visible_Walls"
1100 { "type", "name", "range"
1101 "Building", "City Walls", "City"
1104 [effect_coastal_defense]
1105 type = "Defend_Bonus"
1108 { "type", "name", "range"
1109 "Building", "Coastal Defense", "City"
1110 "UnitClass", "Sea", "Local"
1114 type = "Make_Content"
1117 { "type", "name", "range"
1118 "Building", "Colosseum", "City"
1121 [effect_colosseum_1]
1122 type = "Make_Content"
1125 { "type", "name", "range"
1126 "Tech", "Electricity", "Player"
1127 "Building", "Colosseum", "City"
1131 type = "Output_Waste_Pct"
1134 { "type", "name", "range", "present"
1135 "Building", "Courthouse", "City", TRUE
1136 "OutputType", "trade", "local", TRUE
1137 "Building", "Palace", "City", FALSE
1140 [effect_courthouse_1]
1141 type = "Output_Waste_Pct"
1144 { "type", "name", "range", "present"
1145 "Building", "Courthouse", "City", TRUE
1146 "OutputType", "shield", "local", TRUE
1147 "Building", "Palace", "City", FALSE
1150 [effect_courthouse_2]
1151 type = "Make_Content"
1154 { "type", "name", "range"
1155 "Gov", "Democracy", "Player"
1156 "Building", "Courthouse", "City"
1159 [effect_courthouse_3]
1160 type = "Incite_Cost_Pct"
1163 { "type", "name", "range", "present"
1164 "Building", "Courthouse", "City", TRUE
1165 "MaxUnitsOnTile", "0", "Local", FALSE
1168 [effect_incite_cost_empty_courthouse]
1169 type = "Incite_Cost_Pct"
1172 { "type", "name", "range", "present"
1173 "MaxUnitsOnTile", "0", "Local", TRUE
1174 "Building", "Courthouse", "City", TRUE
1177 [effect_incite_cost_empty]
1178 type = "Incite_Cost_Pct"
1181 { "type", "name", "range", "present"
1182 "MaxUnitsOnTile", "0", "Local", TRUE
1183 "Building", "Courthouse", "City", FALSE
1187 type = "Output_Bonus"
1190 { "type", "name", "range"
1191 "Building", "Factory", "City"
1192 "OutputType", "shield", "local"
1196 type = "Growth_Food"
1199 { "type", "name", "range", "present"
1200 "Building", "Granary", "City", TRUE
1201 "Building", "Pyramids", "Player", FALSE
1205 type = "Output_Add_Tile"
1208 { "type", "name", "range"
1209 "TerrainClass", "Oceanic", "Local"
1210 "Building", "Harbour", "City"
1211 "OutputType", "food", "local"
1214 [effect_hydro_plant]
1215 type = "Output_Bonus"
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
1227 [effect_hydro_plant_1]
1228 type = "Output_Bonus"
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
1240 [effect_hydro_plant_2]
1241 type = "Pollu_Prod_Pct"
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
1253 type = "Output_Bonus"
1256 { "type", "name", "range"
1257 "Building", "Library", "City"
1258 "OutputType", "science", "local"
1261 [effect_marketplace]
1262 type = "Output_Bonus"
1265 { "type", "name", "range"
1266 "Building", "Marketplace", "City"
1267 "OutputType", "gold", "local"
1270 [effect_marketplace_1]
1271 type = "Output_Bonus"
1274 { "type", "name", "range"
1275 "Building", "Marketplace", "City"
1276 "OutputType", "luxury", "local"
1279 ; No population pollution until certain techs researched
1280 [effect_pollu_pop_base]
1281 type = "Pollu_Pop_Pct_2"
1284 [effect_pollu_pop_automobile]
1285 type = "Pollu_Pop_Pct_2"
1288 { "type", "name", "range"
1289 "Tech", "Automobile", "Player"
1292 [effect_pollu_pop_industrialization]
1293 type = "Pollu_Pop_Pct_2"
1296 { "type", "name", "range"
1297 "Tech", "Industrialization", "Player"
1300 [effect_pollu_pop_mass_production]
1301 type = "Pollu_Pop_Pct_2"
1304 { "type", "name", "range"
1305 "Tech", "Mass Production", "Player"
1308 [effect_pollu_pop_plastics]
1309 type = "Pollu_Pop_Pct_2"
1312 { "type", "name", "range"
1313 "Tech", "Plastics", "Player"
1316 [effect_mass_transit]
1317 type = "Pollu_Pop_Pct"
1320 { "type", "name", "range"
1321 "Building", "Mass Transit", "City"
1325 type = "Output_Bonus"
1328 { "type", "name", "range"
1329 "Building", "Mfg. Plant", "City"
1330 "OutputType", "shield", "local"
1333 [effect_nuclear_plant]
1334 type = "Output_Bonus"
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
1345 [effect_nuclear_plant_1]
1346 type = "Output_Bonus"
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
1357 [effect_nuclear_plant_2]
1358 type = "Pollu_Prod_Pct"
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
1368 [effect_offshore_platform]
1369 type = "Output_Add_Tile"
1372 { "type", "name", "range"
1373 "TerrainClass", "Oceanic", "Local"
1374 "Building", "Offshore Platform", "City"
1375 "OutputType", "shield", "local"
1379 type = "Output_Waste_Pct"
1382 { "type", "name", "range"
1383 "Building", "Palace", "City"
1384 "OutputType", "trade", "local"
1388 type = "Output_Waste_Pct"
1391 { "type", "name", "range"
1392 "Building", "Palace", "City"
1393 "OutputType", "shield", "local"
1397 type = "Spy_Resistant"
1400 { "type", "name", "range"
1401 "Building", "Palace", "City"
1405 type = "Capital_City"
1408 { "type", "name", "range"
1409 "Building", "Palace", "City"
1412 [effect_palace_gov_center]
1416 { "type", "name", "range"
1417 "Building", "Palace", "City"
1420 [effect_police_station]
1421 type = "Make_Content_Mil"
1424 { "type", "name", "range", "present"
1425 "Gov", "Republic", "Player", TRUE
1426 "Building", "Police Station", "City", TRUE
1427 "Building", "Women's Suffrage", "Player", FALSE
1430 [effect_police_station_1]
1431 type = "Make_Content_Mil"
1434 { "type", "name", "range", "present"
1435 "Gov", "Democracy", "Player", TRUE
1436 "Building", "Police Station", "City", TRUE
1437 "Building", "Women's Suffrage", "Player", FALSE
1440 [effect_port_facility]
1441 type = "Veteran_Build"
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
1451 [effect_port_facility_1]
1455 { "type", "name", "range"
1456 "Building", "Port Facility", "City"
1457 "UnitClass", "Sea", "Local"
1460 [effect_power_plant]
1461 type = "Output_Bonus"
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
1474 [effect_power_plant_1]
1475 type = "Output_Bonus"
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
1488 [effect_recycling_center]
1489 type = "Pollu_Prod_Pct"
1492 { "type", "name", "range", "present"
1493 "Building", "Recycling Center", "City", TRUE
1494 "Building", "Solar Plant", "City", FALSE
1497 [effect_research_lab]
1498 type = "Output_Bonus"
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
1508 [effect_sam_battery]
1509 type = "Defend_Bonus"
1512 { "type", "name", "range"
1513 "Building", "SAM Battery", "City"
1514 "UnitClass", "Air", "Local"
1517 [effect_sdi_defense]
1521 { "type", "name", "range", "present"
1522 "Building", "SDI Defense", "City", TRUE
1523 "DiplRel", "Is foreign", "Local", TRUE
1524 "DiplRel", "Team", "Local", FALSE
1527 [effect_sdi_defense_1]
1528 type = "Defend_Bonus"
1531 { "type", "name", "range"
1532 "Building", "SDI Defense", "City"
1533 "UnitClass", "Missile", "Local"
1536 [effect_sewer_system]
1537 type = "Size_Unlimit"
1540 { "type", "name", "range"
1541 "Building", "Aqueduct", "City"
1542 "Building", "Sewer System", "City"
1545 [effect_solar_plant]
1546 type = "Output_Bonus"
1549 { "type", "name", "range"
1550 "Building", "Factory", "City"
1551 "Building", "Solar Plant", "City"
1552 "OutputType", "Shield", "Local"
1555 [effect_solar_plant_1]
1556 type = "Output_Bonus"
1559 { "type", "name", "range"
1560 "Building", "Mfg. Plant", "City"
1561 "Building", "Solar Plant", "City"
1562 "OutputType", "Shield", "Local"
1565 [effect_solar_plant_2]
1566 type = "Pollu_Prod_Pct"
1569 { "type", "name", "range"
1570 "Building", "Solar Plant", "City"
1573 [effect_space_component]
1574 type = "SS_Component"
1577 { "type", "name", "range"
1578 "Building", "Space Component", "City"
1581 [effect_space_module]
1585 { "type", "name", "range"
1586 "Building", "Space Module", "City"
1589 [effect_space_structural]
1590 type = "SS_Structural"
1593 { "type", "name", "range"
1594 "Building", "Space Structural", "City"
1597 [effect_stock_exchange]
1598 type = "Output_Bonus"
1601 { "type", "name", "range"
1602 "Building", "Bank", "City"
1603 "Building", "Stock Exchange", "City"
1604 "OutputType", "gold", "local"
1607 [effect_stock_exchange_1]
1608 type = "Output_Bonus"
1611 { "type", "name", "range"
1612 "Building", "Bank", "City"
1613 "Building", "Stock Exchange", "City"
1614 "OutputType", "luxury", "local"
1617 [effect_super_highways]
1618 type = "Output_Per_Tile"
1621 { "type", "name", "range"
1622 "Extra", "Road", "Local"
1623 "Building", "Super Highways", "City"
1624 "OutputType", "trade", "local"
1631 { "type", "name", "range"
1632 "Extra", "Mine", "Local"
1636 type = "Irrigation_Pct"
1639 { "type", "name", "range", "present"
1640 "Extra", "Irrigation", "Local", TRUE
1641 "CityTile", "Center", "Local", FALSE
1644 [effect_irrigation_2]
1645 type = "Irrigation_Pct"
1648 { "type", "name", "range", "present"
1649 "CityTile", "Center", "Local", TRUE
1650 "TerrainAlter", "CanIrrigate", "Local", TRUE
1651 "Extra", "Mine", "Local", FALSE
1654 [effect_supermarket]
1655 type = "Output_Per_Tile"
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
1665 [effect_supermarket_2]
1666 type = "Output_Per_Tile"
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
1678 type = "Make_Content"
1681 { "type", "name", "range"
1682 "Building", "Temple", "City"
1686 type = "Make_Content"
1689 { "type", "name", "range"
1690 "Tech", "Mysticism", "Player"
1691 "Building", "Temple", "City"
1695 type = "Output_Bonus"
1698 { "type", "name", "range"
1699 "Building", "Library", "City"
1700 "Building", "University", "City"
1701 "OutputType", "science", "local"
1704 [effect_apollo_program]
1708 { "type", "name", "range"
1709 "Building", "Apollo Program", "Player"
1712 [effect_apollo_program_1]
1713 type = "Enable_Space"
1716 { "type", "name", "range", "survives"
1717 "Building", "Apollo Program", "World", TRUE
1720 [effect_asmiths_trading_co]
1721 type = "Upkeep_Free"
1724 { "type", "name", "range"
1725 "Building", "A.Smith's Trading Co.", "Player"
1729 type = "Output_Inc_Tile"
1732 { "type", "name", "range"
1733 "Building", "Colossus", "City"
1734 "OutputType", "trade", "local"
1737 [effect_copernicus_observatory]
1738 type = "Output_Bonus"
1741 { "type", "name", "range"
1742 "Building", "Copernicus' Observatory", "City"
1743 "OutputType", "science", "local"
1746 [effect_cure_for_cancer]
1747 type = "Force_Content"
1750 { "type", "name", "range"
1751 "Building", "Cure For Cancer", "Player"
1754 [effect_darwins_voyage]
1755 type = "Give_Imm_Tech"
1758 { "type", "name", "range"
1759 "Building", "Darwin's Voyage", "Player"
1762 [effect_eiffel_tower]
1763 type = "Gain_AI_Love"
1766 { "type", "name", "range"
1767 "Building", "Eiffel Tower", "Player"
1770 [effect_great_library]
1771 type = "Tech_Parasite"
1774 { "type", "name", "range"
1775 "Building", "Great Library", "Player"
1779 type = "Defend_Bonus"
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
1789 [effect_great_wall_0]
1790 type = "Defend_Bonus"
1793 { "type", "name", "range"
1794 "Building", "Great Wall", "Player"
1795 "UnitClass", "Helicopter", "Local"
1796 "CityTile", "Center", "Local"
1799 [effect_great_wall_1]
1800 type = "Unit_No_Lose_Pop"
1803 { "type", "name", "range"
1804 "Building", "Great Wall", "Player"
1807 [effect_great_wall_visible]
1808 type = "Visible_Walls"
1811 { "type", "name", "range"
1812 "Building", "Great Wall", "Player"
1815 [effect_hanging_gardens]
1819 { "type", "name", "range", "present"
1820 "Building", "Hanging Gardens", "Player", TRUE
1821 "Building", "Hanging Gardens", "City", FALSE
1824 [effect_hanging_gardens_1]
1828 { "type", "name", "range"
1829 "Building", "Hanging Gardens", "City"
1833 type = "Output_Bonus"
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
1843 [effect_hoover_dam_1]
1844 type = "Output_Bonus"
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
1854 [effect_hoover_dam_2]
1855 type = "Pollu_Prod_Pct"
1858 { "type", "name", "range", "present"
1859 "Building", "Hoover Dam", "Player", TRUE
1860 "Building", "Recycling Center", "City", FALSE
1861 "Building", "Solar Plant", "City", FALSE
1864 [effect_isaac_newtons_college]
1865 type = "Output_Bonus"
1868 { "type", "name", "range"
1869 "Building", "Isaac Newton's College", "City"
1870 "OutputType", "science", "local"
1873 [effect_js_bachs_cathedral]
1874 type = "Force_Content"
1877 { "type", "name", "range"
1878 "Building", "J.S. Bach's Cathedral", "Player"
1881 [effect_king_richards_crusade]
1882 type = "Output_Add_Tile"
1885 { "type", "name", "range"
1886 "Building", "King Richard's Crusade", "City"
1887 "OutputType", "shield", "local"
1890 [effect_leonardos_workshop]
1891 type = "Upgrade_Unit"
1894 { "type", "name", "range"
1895 "Building", "Leonardo's Workshop", "Player"
1902 { "type", "name", "range"
1903 "Building", "Lighthouse", "Player"
1904 "UnitClass", "Sea", "Local"
1907 [effect_lighthouse_2]
1908 type = "Veteran_Build"
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
1919 [effect_magellans_expedition]
1923 { "type", "name", "range"
1924 "Building", "Magellan's Expedition", "Player"
1925 "UnitClass", "Sea", "Local"
1928 [effect_manhattan_project]
1929 type = "Enable_Nuke"
1932 { "type", "name", "range", "survives"
1933 "Building", "Manhattan Project", "World", TRUE
1936 [effect_marco_polos_embassy]
1937 type = "Have_Embassies"
1940 { "type", "name", "range"
1941 "Building", "Marco Polo's Embassy", "Player"
1944 [effect_michelangelos_chapel]
1945 type = "Make_Content"
1948 { "type", "name", "range"
1949 "Building", "Michelangelo's Chapel", "Player"
1952 [effect_michelangelos_chapel_1]
1953 type = "Make_Content"
1956 { "type", "name", "range"
1957 "Tech", "Theology", "Player"
1958 "Building", "Michelangelo's Chapel", "Player"
1961 [effect_michelangelos_chapel_2]
1962 type = "Make_Content"
1965 { "type", "name", "range"
1966 "Tech", "Communism", "Player"
1967 "Building", "Michelangelo's Chapel", "Player"
1971 type = "Make_Content"
1974 { "type", "name", "range"
1975 "Building", "Temple", "City"
1976 "Building", "Oracle", "Player"
1979 [effect_oracle_mysticism]
1980 type = "Make_Content"
1983 { "type", "name", "range"
1984 "Building", "Temple", "City"
1985 "Building", "Oracle", "Player"
1986 "Tech", "Mysticism", "Player"
1990 type = "Growth_Food"
1993 { "type", "name", "range"
1994 "Building", "Pyramids", "Player"
1997 [effect_seti_program]
1998 type = "Output_Bonus"
2001 { "type", "name", "range"
2002 "Building", "Library", "City"
2003 "Building", "SETI Program", "Player"
2004 "OutputType", "science", "local"
2007 [effect_shakespeares_theatre]
2011 { "type", "name", "range"
2012 "Building", "Shakespeare's Theatre", "City"
2015 [effect_statue_of_liberty]
2016 type = "Any_Government"
2019 { "type", "name", "range"
2020 "Building", "Statue of Liberty", "Player"
2023 [effect_statue_of_liberty_1]
2027 { "type", "name", "range"
2028 "Building", "Statue of Liberty", "Player"
2031 [effect_sun_tzus_war_academy]
2032 type = "Veteran_Build"
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
2045 [effect_sun_tzus_war_academy_1]
2046 type = "Veteran_Combat"
2049 { "type", "name", "range", "present"
2050 "Building", "Sun Tzu's War Academy", "Player", TRUE
2051 "UnitClass", "Land", "Local", TRUE
2052 "UnitFlag", "Diplomat", "Local", FALSE
2055 [effect_united_nations]
2056 type = "Unit_Recover"
2059 { "type", "name", "range"
2060 "Building", "United Nations", "Player"
2063 [effect_womens_suffrage]
2064 type = "Make_Content_Mil"
2067 { "type", "name", "range"
2068 "Gov", "Republic", "Player"
2069 "Building", "Women's Suffrage", "Player"
2072 [effect_womens_suffrage_1]
2073 type = "Make_Content_Mil"
2076 { "type", "name", "range"
2077 "Gov", "Democracy", "Player"
2078 "Building", "Women's Suffrage", "Player"
2081 [effect_flight_trade_revenue_reduce]
2082 type = "Trade_Revenue_Bonus"
2085 { "type", "name", "range"
2086 "Tech", "Flight", "Player"
2089 [effect_railroad_trade_revenue_reduce]
2090 type = "Trade_Revenue_Bonus"
2093 { "type", "name", "range"
2094 "Tech", "Railroad", "Player"
2097 [effect_tithes_fundamentalism]
2098 type = "Happiness_To_Gold"
2101 { "type", "name", "range"
2102 "Gov", "Fundamentalism", "Player"
2105 ; FIXME: Calendar effects are copied from default rulesets and are
2106 ; probably wrong for civ2 ruleset.
2107 [effect_calendar_base]
2116 { "type", "name", "range"
2117 "MinYear", "-1000", "World"
2125 { "type", "name", "range"
2126 "MinYear", "0", "World"
2134 { "type", "name", "range"
2135 "MinYear", "1000", "World"
2143 { "type", "name", "range"
2144 "MinYear", "1500", "World"
2152 { "type", "name", "range"
2153 "MinYear", "1750", "World"
2161 { "type", "name", "range"
2162 "MinYear", "1900", "World"
2165 [effect_tech_cost_base]
2166 type = "Tech_Cost_Factor"
2169 [effect_tech_cost_double]
2170 type = "Tech_Cost_Factor"
2173 { "type", "name", "range"
2174 "MinYear", "1", "World"
2177 ; Cities can always work tiles
2178 [effect_tile_workable]
2179 type = "Tile_Workable"
2182 ; each city has at least one slot to build units
2183 [effect_city_build_slots_basic]
2184 type = "City_Build_Slots"
2187 [effect_city_image_1]
2191 { "type", "name", "range"
2192 "MinSize", "4", "City"
2195 [effect_city_image_2]
2199 { "type", "name", "range"
2200 "MinSize", "8", "City"
2203 [effect_city_image_3]
2207 { "type", "name", "range"
2208 "MinSize", "12", "City"
2211 [effect_city_image_4]
2215 { "type", "name", "range"
2216 "MinSize", "16", "City"
2219 [effect_irrigate_src_ocean]
2220 type = "Irrig_Possible"
2223 { "type", "name", "range"
2224 "TerrainClass", "Oceanic", "CAdjacent"
2227 [effect_irrigate_src_river]
2228 type = "Irrig_Possible"
2231 { "type", "name", "range"
2232 "Extra", "River", "CAdjacent"
2235 [effect_irrigate_src_irrigation]
2236 type = "Irrig_Possible"
2239 { "type", "name", "range"
2240 "Extra", "Irrigation", "CAdjacent"
2244 type = "Mining_Possible"
2248 type = "Irrig_TF_Possible"
2252 type = "Mining_TF_Possible"
2256 type = "Transform_Possible"
2259 { "type", "name", "range"
2260 "UnitFlag", "Transform", "Local"
2264 type = "Output_Tile_Punish_Pct"
2267 { "type", "name", "range"
2268 "Extra", "Pollution", "Local"
2271 [effect_unit_bribe_cost_settlers]
2272 type = "Unit_Bribe_Cost_Pct"
2275 { "type", "name", "range"
2276 "UnitFlag", "Cities", "Local"
2279 [effect_illegal_action_move_cost_base]
2280 type = "Illegal_Action_Move_Cost"