Make AI less likely to stop building wonder
[freeciv.git] / data / civ1 / effects.ruleset
blobae9743e077b013d3cc9b28c824574472cfc97ff6
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="Civ1 effects data for Freeciv (approximate)"
14 options="+Freeciv-2.6-ruleset"
16 ; /* <-- avoid gettext warnings
18 ; Effects
20 ; type                    = What the effect does. Values of multiple active effects
21 ;                           of the same type get summed for the total.
22 ;                           See README.effects for list of possible types
23 ; value                   = Value added for the effect type when this effect is active,
24 ;                           i.e., all requirements are fulfilled
25 ; multiplier              = Name of the policy that gives a multiplier for effect's value
26 ; reqs                    = Requirements for the effect to be active.
27 ;                           See README.effects for help on requirements
29 ; */ <-- avoid gettext warnings
31 ; Cheating AI effects are in separate file
32 *include "default/ai_effects.ruleset"
34 [effect_unhappysize]
35 type    = "City_Unhappy_Size"
36 value   = 4
38 ; Specialist output bonuses
40 [effect_gov_tile_bonus_0]
41 type    = "Output_Penalty_Tile"
42 value   = 2
43 reqs  =
44     { "type",       "name",      "range"
45       "Gov", "Anarchy", "Player"
46     }
48 [effect_gov_tile_bonus_1]
49 type    = "Output_Penalty_Tile"
50 value   = 2
51 reqs  =
52     { "type",       "name",      "range"
53       "Gov", "Despotism", "Player"
54     }
56 [effect_gov_tile_bonus_2]
57 type    = "Output_Inc_Tile_Celebrate"
58 value   = 1
59 reqs  =
60     { "type",       "name",      "range"
61       "OutputType", "Trade", "Local"
62       "Gov", "Monarchy", "Player"
63     }
65 [effect_gov_tile_bonus_3]
66 type    = "Output_Inc_Tile_Celebrate"
67 value   = 1
68 reqs  =
69     { "type",       "name",      "range"
70       "OutputType", "Trade", "Local"
71       "Gov", "Communism", "Player"
72     }
74 [effect_gov_tile_bonus_4]
75 type    = "Output_Inc_Tile"
76 value   = 1
77 reqs  =
78     { "type",       "name",      "range"
79       "Gov", "Republic", "Player"
80       "OutputType", "Trade", "Local"
81     }
83 [effect_gov_tile_bonus_5]
84 type    = "Output_Inc_Tile"
85 value   = 1
86 reqs    =
87     { "type",       "name",      "range"
88       "Gov", "Democracy", "Player"
89       "OutputType", "Trade", "Local"
90     }
92 [effect_corruption_anarchy0]
93 type    = "Output_Waste"
94 value   = 25
95 reqs    =
96     { "type", "name", "range"
97       "Gov", "Anarchy", "Player"
98       "OutputType", "Trade", "Local"
99     }
101 [effect_corruption_anarchy1]
102 type    = "Output_Waste_By_Distance"
103 value   = 2
104 reqs    =
105     { "type", "name", "range"
106       "Gov", "Anarchy", "Player"
107       "OutputType", "Trade", "Local"
108     }
110 [effect_corruption_despotism0]
111 type    = "Output_Waste"
112 value   = 37
113 reqs    =
114     { "type", "name", "range"
115       "Gov", "Despotism", "Player"
116       "OutputType", "Trade", "Local"
117     }
119 [effect_corruption_despotism1]
120 type    = "Output_Waste_By_Distance"
121 value   = 4
122 reqs    =
123     { "type", "name", "range"
124       "Gov", "Despotism", "Player"
125       "OutputType", "Trade", "Local"
126     }
128 [effect_corruption_monarchy0]
129 type    = "Output_Waste"
130 value   = 15
131 reqs    =
132     { "type", "name", "range"
133       "Gov", "Monarchy", "Player"
134       "OutputType", "Trade", "Local"
135     }
137 [effect_corruption_monarchy1]
138 type    = "Output_Waste_By_Distance"
139 value   = 2
140 reqs    =
141     { "type", "name", "range"
142       "Gov", "Monarchy", "Player"
143       "OutputType", "Trade", "Local"
144     }
146 [effect_corruption_communism0]
147 type    = "Output_Waste"
148 value   = 20
149 reqs    =
150     { "type", "name", "range"
151       "Gov", "Communism", "Player"
152       "OutputType", "Trade", "Local"
153     }
155 [effect_corruption_republic0]
156 type    = "Output_Waste"
157 value   = 15
158 reqs    =
159     { "type", "name", "range"
160       "Gov", "Republic", "Player"
161       "OutputType", "Trade", "Local"
162     }
164 [effect_corruption_republic1]
165 type    = "Output_Waste_By_Distance"
166 value   = 2
167 reqs    =
168     { "type", "name", "range"
169       "Gov", "Republic", "Player"
170       "OutputType", "Trade", "Local"
171     }
173 [effect_elvis]
174 type    = "Specialist_Output"
175 value   = 2
176 reqs    =
177     { "type", "name", "range"
178       "Specialist", "elvis", "Local"
179       "OutputType", "luxury", "Local"
180     }
182 [effect_scientist]
183 type    = "Specialist_Output"
184 value   = 2
185 reqs    =
186     { "type", "name", "range"
187       "Specialist", "scientist", "Local"
188       "OutputType", "science", "Local"
189     }
191 [effect_taxman]
192 type    = "Specialist_Output"
193 value   = 2
194 reqs    =
195     { "type", "name", "range"
196       "Specialist", "taxman", "Local"
197       "OutputType", "gold", "Local"
198     }
200 ; Barbarian effects
202 [effect_barb1]
203 type    = "No_Diplomacy"
204 value   = 1
205 reqs    =
206     { "type",   "name", "range"
207       "NationGroup", "Barbarian", "Player"
208     }
210 ; Barbarian disappearance
212 [effect_barb_disappear]
213 type    = "Retire_Pct"
214 value   = 10
215 reqs    =
216     { "type", "name", "range", "present"
217       "NationGroup", "Barbarian", "Player", TRUE
218       "Age", "5", "Local", TRUE
219       "CityTile", "Center", "Local", FALSE
220     }
222 ; Lone Leader might escape on coast (33% chance)
223 ; Complement of the two effects should be 0.9 * 0.66 = 0.594
224 ; (100 - 59) - 10 = 31
225 [effect_leader_escape]
226 type    = "Retire_Pct"
227 value   = 31
228 reqs    =
229     { "type", "name", "range"
230       "UnitType", "Barbarian Leader", "Local"
231       "Age", "5", "Local"
232       "TerrainClass", "Oceanic", "Adjacent"
233       "MaxUnitsOnTile", "1", "Local"
234     }
236 ; Base vision range - radius of vision is sqrt(5) = 2.24
237 [effect_city_vision]
238 type    = "City_Vision_Radius_Sq"
239 value   = 5
241 [effect_trade_routes]
242 type    = "Max_Trade_Routes"
243 value   = 3
245 [effect_base_unit_upkeep]
246 type    = "Upkeep_Factor"
247 value   = 1
249 [effect_republic_unit_upkeep]
250 type    = "Upkeep_Factor"
251 value   = 1
252 reqs    =
253     { "type", "name", "range"
254       "Gov", "Republic", "Player"
255       "OutputType", "Food", "Local"
256     }
258 [effect_democracy_unit_upkeep]
259 type    = "Upkeep_Factor"
260 value   = 1
261 reqs    =
262     { "type", "name", "range"
263       "Gov", "Democracy", "Player"
264       "OutputType", "Food", "Local"
265     }
267 [effect_republic_unit_unhappiness]
268 type    = "Unhappy_Factor"
269 value   = 1
270 reqs    =
271     { "type", "name", "range"
272       "Gov", "Republic", "Player"
273     }
275 [effect_democracy_unit_unhappiness]
276 type    = "Unhappy_Factor"
277 value   = 2
278 reqs    =
279     { "type", "name", "range"
280       "Gov", "Democracy", "Player"
281     }
283 [effect_upkeep_free_units_anarchy]
284 type    = "Unit_Upkeep_Free_Per_City"
285 value   = 3
286 reqs    =
287     { "type", "name", "range"
288       "Gov", "Anarchy", "Player"
289       "OutputType", "Shield", "Local"
290     }
292 [effect_upkeep_free_units_despotism]
293 type    = "Unit_Upkeep_Free_Per_City"
294 value   = 3
295 reqs    =
296     { "type", "name", "range"
297       "Gov", "Despotism", "Player"
298       "OutputType", "Shield", "Local"
299     }
301 [effect_civil_war_0]
302 type    = "Civil_War_Chance"
303 value   = 90
304 reqs    =
305     { "type",       "name",      "range"
306       "Gov", "Anarchy",   "Player"
307     }
309 [effect_civil_war_1]
310 type    = "Civil_War_Chance"
311 value   = 80
312 reqs    =
313     { "type",       "name",      "range"
314       "Gov", "Despotism", "Player"
315     }
317 [effect_civil_war_2]
318 type    = "Civil_War_Chance"
319 value   = 70
320 reqs    =
321     { "type",       "name",      "range"
322       "Gov", "Monarchy",  "Player"
323     }
325 [effect_civil_war_3]
326 type    = "Civil_War_Chance"
327 value   = 50
328 reqs    =
329     { "type",       "name",      "range"
330       "Gov", "Communism", "Player"
331     }
333 [effect_civil_war_4]
334 type    = "Civil_War_Chance"
335 value   = 40
336 reqs    =
337     { "type",       "name",      "range"
338       "Gov", "Republic",  "Player"
339     }
341 [effect_civil_war_5]
342 type    = "Civil_War_Chance"
343 value   = 30
344 reqs    =
345     { "type",       "name",      "range"
346       "Gov", "Democracy", "Player"
347     }
349 [effect_empire_size_base_0]
350 type    = "Empire_Size_Base"
351 value   = 9
352 reqs    =
353     { "type",       "name",      "range"
354       "Gov", "Anarchy",   "Player"
355     }
357 [effect_empire_size_base_1]
358 type    = "Empire_Size_Base"
359 value   = 10
360 reqs    =
361     { "type",       "name",      "range"
362       "Gov", "Despotism", "Player"
363     }
365 [effect_empire_size_base_2]
366 type    = "Empire_Size_Base"
367 value   = 11
368 reqs    =
369     { "type",       "name",      "range"
370       "Gov", "Monarchy",  "Player"
371     }
373 [effect_empire_size_base_3]
374 type    = "Empire_Size_Base"
375 value   = 12
376 reqs    =
377     { "type",       "name",      "range"
378       "Gov", "Communism", "Player"
379     }
381 [effect_empire_size_base_4]
382 type    = "Empire_Size_Base"
383 value   = 13
384 reqs    =
385     { "type",       "name",      "range"
386       "Gov", "Republic",  "Player"
387     }
389 [effect_empire_size_base_5]
390 type    = "Empire_Size_Base"
391 value   = 14
392 reqs    =
393     { "type",       "name",      "range"
394       "Gov", "Democracy",  "Player"
395     }
397 ; FIXME: How this should work in Civ1?
398 ;        This just makes it playable.
399 [effect_empire_size_step]
400 type    = "Empire_Size_Step"
401 value   = 10
403 [effect_max_rates_0]
404 type    = "Max_Rates"
405 value   = 100
406 reqs    =
407     { "type",       "name",      "range"
408       "Gov", "Anarchy",   "Player"
409     }
411 [effect_max_rates_1]
412 type    = "Max_Rates"
413 value   = 60
414 reqs    =
415     { "type",       "name",      "range"
416       "Gov", "Despotism", "Player"
417     }
419 [effect_max_rates_2]
420 type    = "Max_Rates"
421 value   = 70
422 reqs    =
423     { "type",       "name",      "range"
424       "Gov", "Monarchy",  "Player"
425     }
427 [effect_max_rates_3]
428 type    = "Max_Rates"
429 value   = 80
430 reqs    =
431     { "type",       "name",      "range"
432       "Gov", "Communism", "Player"
433     }
435 [effect_max_rates_4]
436 type    = "Max_Rates"
437 value   = 80
438 reqs    =
439     { "type",       "name",      "range"
440       "Gov", "Republic",  "Player"
441     }
443 [effect_max_rates_5]
444 type    = "Max_Rates"
445 value   = 100
446 reqs    =
447     { "type",       "name",      "range"
448       "Gov", "Democracy", "Player"
449     }
451 [effect_martial_law_each_0]
452 type    = "Martial_Law_Each"
453 value   = 1
454 reqs    =
455     { "type",       "name",      "range"
456       "Gov", "Anarchy",   "Player"
457     }
459 [effect_martial_law_each_1]
460 type    = "Martial_Law_Each"
461 value   = 1
462 reqs    =
463     { "type",       "name",      "range"
464       "Gov", "Despotism", "Player"
465     }
467 [effect_martial_law_each_2]
468 type    = "Martial_Law_Each"
469 value   = 1
470 reqs    =
471     { "type",       "name",      "range"
472       "Gov", "Monarchy",  "Player"
473     }
475 [effect_martial_law_each_3]
476 type    = "Martial_Law_Each"
477 value   = 1
478 reqs    =
479     { "type",       "name",      "range"
480       "Gov", "Communism", "Player"
481     }
483 [effect_martial_law_max_0]
484 type    = "Martial_Law_Max"
485 value   = 100
486 reqs    =
487     { "type",       "name",      "range"
488       "Gov", "Anarchy",   "Player"
489     }
491 [effect_martial_law_max_1]
492 type    = "Martial_Law_Max"
493 value   = 100
494 reqs    =
495     { "type",       "name",      "range"
496       "Gov", "Despotism", "Player"
497     }
499 [effect_martial_law_max_2]
500 type    = "Martial_Law_Max"
501 value   = 3
502 reqs    =
504     { "type",       "name",      "range"
505       "Gov", "Monarchy",  "Player"
506     }
508 [effect_martial_law_max_3]
509 type    = "Martial_Law_Max"
510 value   = 100
511 reqs    =
512     { "type",       "name",      "range"
513       "Gov", "Communism", "Player"
514     }
516 [effect_rapture_grow_0]
517 type    = "Rapture_Grow"
518 value   = 1
519 reqs    =
520     { "type",       "name",      "range"
521       "Gov", "Republic",  "Player"
522     }
524 [effect_rapture_grow_1]
525 type    = "Rapture_Grow"
526 value   = 1
527 reqs    =
528     { "type",       "name",      "range"
529       "Gov", "Democracy", "Player"
530     }
532 [effect_revolution_0]
533 type    = "Revolution_Unhappiness"
534 value   = 2
535 reqs    =
536     { "type",       "name",      "range"
537       "Gov", "Democracy", "Player"
538     }
540 [effect_senate_0]
541 type    = "Has_Senate"
542 value   = 1
543 reqs    =
544     { "type",       "name",      "range"
545       "Gov", "Republic",  "Player"
546     }
548 [effect_senate_1]
549 type    = "Has_Senate"
550 value   = 1
551 reqs    =
552     { "type",       "name",      "range"
553       "Gov", "Democracy", "Player"
554     }
556 ; Base max city size of 10
557 [effect_aqueduct_size]
558 type    = "Size_Adj"
559 value   = 10
561 [effect_aqueduct]
562 type    = "Size_Unlimit"
563 value   = 1
564 reqs    =
565     { "type", "name", "range"
566       "Building", "Aqueduct", "City"
567     }
569 [effect_bank]
570 type    = "Output_Bonus"
571 value   = 50
572 reqs    =
573     { "type", "name", "range"
574       "Building", "Marketplace", "City"
575       "Building", "Bank", "City"
576       "OutputType", "Gold", "Local"
577     }
579 [effect_bank_1]
580 type    = "Output_Bonus"
581 value   = 50
582 reqs    =
583     { "type", "name", "range"
584       "Building", "Marketplace", "City"
585       "Building", "Bank", "City"
586       "OutputType", "Luxury", "Local"
587     }
589 [effect_barracks]
590 type    = "Veteran_Build"
591 value   = 1
592 reqs    =
593     { "type", "name", "range", "present"
594       "Building", "Barracks", "City", TRUE
595       "Building", "Barracks II", "City", FALSE
596       "Building", "Barracks III", "City", FALSE
597     }
599 [effect_barracks_ii]
600 type    = "Veteran_Build"
601 value   = 1
602 reqs    =
603     { "type", "name", "range", "present"
604       "Building", "Barracks II", "City", TRUE
605       "Building", "Barracks III", "City", FALSE
606     }
608 [effect_barracks_iii]
609 type    = "Veteran_Build"
610 value   = 1
611 reqs    =
612     { "type", "name", "range"
613       "Building", "Barracks III", "City"
614     }
616 [effect_cathedral]
617 type    = "Make_Content"
618 value   = 4
619 reqs    =
620     { "type", "name", "range"
621       "Building", "Cathedral", "City"
622     }
624 [effect_city_walls]
625 type    = "Defend_Bonus"
626 value   = 200
627 reqs    =
628     { "type", "name", "range", "present"
629       "Building", "City Walls", "City", TRUE
630       "UnitClass", "Land", "Local", TRUE
631       "Building", "Great Wall", "Player", FALSE
632       "UnitType", "Artillery", "Local", FALSE
633     }
635 [effect_city_walls_1]
636 type    = "Defend_Bonus"
637 value   = 200
638 reqs    =
639     { "type", "name", "range", "present"
640       "Building", "City Walls", "City", TRUE
641       "UnitClass", "Sea", "Local", TRUE
642       "Building", "Great Wall", "Player", FALSE
643     }
645 [effect_city_walls_2]
646 type    = "Unit_No_Lose_Pop"
647 value   = 1
648 reqs    =
649     { "type", "name", "range"
650       "Building", "City Walls", "City"
651     }
653 [effect_city_walls_visible]
654 type    = "Visible_Walls"
655 value   = 1
656 reqs    =
657     { "type", "name", "range"
658       "Building", "City Walls", "City"
659     }
661 [effect_colosseum]
662 type    = "Make_Content"
663 value   = 3
664 reqs    =
665     { "type", "name", "range"
666       "Building", "Colosseum", "City"
667     }
669 [effect_courthouse]
670 type    = "Output_Waste_Pct"
671 value   = 50
672 reqs    =
673     { "type", "name", "range", "present"
674       "Building", "Courthouse", "City", TRUE
675       "OutputType", "Trade", "Local", TRUE
676       "Building", "Palace", "City", FALSE
677     }
679 [effect_factory]
680 type    = "Output_Bonus"
681 value   = 50
682 reqs    =
683     { "type", "name", "range", "present"
684       "Building", "Factory", "City", TRUE
685       "OutputType", "Shield", "Local", TRUE
686       "Building", "Mfg. Plant", "City", FALSE
687     }
689 [effect_granary]
690 type    = "Growth_Food"
691 value   = 50
692 reqs    =
693     { "type", "name", "range"
694       "Building", "Granary", "City"
695     }
697 [effect_hydro_plant]
698 type    = "Output_Bonus"
699 value   = 50
700 reqs    =
701     { "type", "name", "range", "present"
702       "Building", "Hydro Plant", "City", TRUE
703       "OutputType", "shield", "local", TRUE
704       "Building", "Hoover Dam", "Player", FALSE
705       "Building", "Nuclear Plant", "City", FALSE
706     }
708 [effect_hydro_plant_1]
709 type    = "Pollu_Prod_Pct"
710 value   = -50
711 reqs    =
712     { "type", "name", "range", "present"
713       "Building", "Hydro Plant", "City", TRUE
714       "Building", "Recycling Center", "City", FALSE
715       "Building", "Hoover Dam", "Player", FALSE
716       "Building", "Nuclear Plant", "City", FALSE
717     }
719 [effect_library]
720 type    = "Output_Bonus"
721 value   = 50
722 reqs    =
723     { "type", "name", "range"
724       "Building", "Library", "City"
725       "OutputType", "science", "local"
726     }
728 [effect_marketplace]
729 type    = "Output_Bonus"
730 value   = 50
731 reqs    =
732     { "type", "name", "range"
733       "Building", "Marketplace", "City"
734       "OutputType", "gold", "local"
735     }
737 [effect_marketplace_1]
738 type    = "Output_Bonus"
739 value   = 50
740 reqs    =
741     { "type", "name", "range"
742       "Building", "Marketplace", "City"
743       "OutputType", "luxury", "local"
744     }
746 ; No population pollution until certain techs researched
747 [effect_pollu_pop_base]
748 type    = "Pollu_Pop_Pct_2"
749 value   = -100
751 [effect_pollu_pop_automobile]
752 type    = "Pollu_Pop_Pct_2"
753 value   = 25
754 reqs    =
755     { "type", "name", "range"
756       "Tech", "Automobile", "Player"
757     }
759 [effect_pollu_pop_industrialization]
760 type    = "Pollu_Pop_Pct_2"
761 value   = 25
762 reqs    =
763     { "type", "name", "range"
764       "Tech", "Industrialization", "Player"
765     }
767 [effect_pollu_pop_mass_production]
768 type    = "Pollu_Pop_Pct_2"
769 value   = 25
770 reqs    =
771     { "type", "name", "range"
772       "Tech", "Mass Production", "Player"
773     }
775 [effect_pollu_pop_plastics]
776 type    = "Pollu_Pop_Pct_2"
777 value   = 25
778 reqs    =
779     { "type", "name", "range"
780       "Tech", "Plastics", "Player"
781     }
783 [effect_mass_transit]
784 type    = "Pollu_Pop_Pct"
785 value   = -100
786 reqs    =
787     { "type", "name", "range"
788       "Building", "Mass Transit", "City"
789     }
791 [effect_mfg_plant]
792 type    = "Output_Bonus"
793 value   = 100
794 reqs    =
795     { "type", "name", "range"
796       "Building", "Mfg. Plant", "City"
797       "OutputType", "shield", "local"
798     }
800 [effect_nuclear_plant]
801 type    = "Output_Bonus"
802 value   = 50
803 reqs    =
804     { "type", "name", "range", "present"
805       "Building", "Nuclear Plant", "City", TRUE
806       "OutputType", "shield", "local", TRUE
807       "Building", "Hoover Dam", "Player", FALSE
808     }
810 [effect_nuclear_plant_1]
811 type    = "Pollu_Prod_Pct"
812 value   = -50
813 reqs    =
814     { "type", "name", "range", "present"
815       "Building", "Nuclear Plant", "City", TRUE
816       "Building", "Recycling Center", "City", FALSE
817       "Building", "Hoover Dam", "Player", FALSE
818     }
820 [effect_palace]
821 type    = "Output_Waste_Pct"
822 value   = 50
823 reqs    =
824     { "type", "name", "range"
825       "Building", "Palace", "City"
826       "OutputType", "trade", "local"
827     }
829 [effect_palace_1]
830 type    = "Output_Waste_Pct"
831 value   = 50
832 reqs    =
833     { "type", "name", "range"
834       "Building", "Palace", "City"
835       "OutputType", "shield", "local"
836     }
838 [effect_palace_2]
839 type    = "Spy_Resistant"
840 value   = 50
841 reqs    =
842     { "type", "name", "range"
843       "Building", "Palace", "City"
844     }
846 [effect_palace_3]
847 type    = "Capital_City"
848 value   = 1
849 reqs    =
850     { "type", "name", "range"
851       "Building", "Palace", "City"
852     }
854 [effect_palace_gov_center]
855 type    = "Gov_Center"
856 value   = 1
857 reqs    =
858     { "type", "name", "range"
859       "Building", "Palace", "City"
860     }
862 [effect_power_plant]
863 type    = "Output_Bonus"
864 value   = 50
865 reqs    =
866     { "type", "name", "range", "present"
867       "Building", "Power Plant", "City", TRUE
868       "OutputType", "shield", "local", TRUE
869       "Building", "Hoover Dam", "Player", FALSE
870       "Building", "Nuclear Plant", "City", FALSE
871       "Building", "Hydro Plant", "City", FALSE
872     }
874 [effect_recycling_center]
875 type    = "Pollu_Prod_Pct"
876 value   = -66
877 reqs    =
878     { "type", "name", "range"
879       "Building", "Recycling Center", "City"
880     }
882 [effect_sdi_defense]
883 type    = "Nuke_Proof"
884 value   = 100
885 reqs    =
886     { "type", "name", "range", "present"
887       "Building", "SDI Defense", "City", TRUE
888       "DiplRel", "Is foreign", "Local", TRUE
889       "DiplRel", "Team", "Local", FALSE
890     }
892 [effect_space_component]
893 type    = "SS_Component"
894 value   = 1
895 reqs    =
896     { "type", "name", "range"
897       "Building", "Space Component", "City"
898     }
900 [effect_space_module]
901 type    = "SS_Module"
902 value   = 1
903 reqs    =
904     { "type", "name", "range"
905       "Building", "Space Module", "City"
906     }
908 [effect_space_structural]
909 type    = "SS_Structural"
910 value   = 1
911 reqs    =
912     { "type", "name", "range"
913       "Building", "Space Structural", "City"
914     }
916 [effect_temple]
917 type    = "Make_Content"
918 value   = 1
919 reqs    =
920     { "type", "name", "range"
921       "Building", "Temple", "City"
922     }
924 [effect_temple_1]
925 type    = "Make_Content"
926 value   = 1
927 reqs    =
928     { "type", "name", "range"
929       "Tech", "Mysticism", "Player"
930       "Building", "Temple", "City"
931     }
933 [effect_university]
934 type    = "Output_Bonus"
935 value   = 50
936 reqs    =
937     { "type", "name", "range"
938       "Building", "Library", "City"
939       "Building", "University", "City"
940       "OutputType", "science", "local"
941     }
943 [effect_apollo_program]
944 type    = "Reveal_Cities"
945 value   = 1
946 reqs    =
947     { "type", "name", "range"
948       "Building", "Apollo Program", "Player"
949     }
951 [effect_apollo_program_1]
952 type    = "Enable_Space"
953 value   = 1
954 reqs    =
955     { "type", "name", "range", "survives"
956       "Building", "Apollo Program", "World", TRUE
957     }
959 [effect_colossus]
960 type    = "Output_Inc_Tile"
961 value   = 1
962 reqs    =
963     { "type", "name", "range"
964       "Building", "Colossus", "City"
965       "OutputType", "trade", "local"
966     }
968 [effect_copernicus_observatory]
969 type    = "Output_Bonus"
970 value   = 50
971 reqs    =
972     { "type", "name", "range"
973       "Building", "Library", "City"
974       "Building", "Copernicus' Observatory", "City"
975       "OutputType", "science", "local"
976     }
978 [effect_copernicus_observatory_1]
979 type    = "Output_Bonus"
980 value   = 50
981 reqs    =
982     { "type", "name", "range"
983       "Building", "University", "City"
984       "Building", "Copernicus' Observatory", "City"
985       "OutputType", "science", "local"
986     }
988 [effect_copernicus_observatory_2]
989 type    = "Output_Bonus"
990 value   = 100
991 reqs    =
992     { "type", "name", "range"
993       "Building", "Copernicus' Observatory", "City"
994       "OutputType", "science", "local"
995     }
997 [effect_cure_for_cancer]
998 type    = "Force_Content"
999 value   = 1
1000 reqs    =
1001     { "type", "name", "range"
1002       "Building", "Cure For Cancer", "Player"
1003     }
1005 [effect_darwins_voyage]
1006 type    = "Give_Imm_Tech"
1007 value   = 2
1008 reqs    =
1009     { "type", "name", "range"
1010       "Building", "Darwin's Voyage", "Player"
1011     }
1013 [effect_great_library]
1014 type    = "Tech_Parasite"
1015 value   = 2
1016 reqs    =
1017     { "type", "name", "range"
1018       "Building", "Great Library", "Player"
1019     }
1021 [effect_great_wall]
1022 type    = "Defend_Bonus"
1023 value   = 200
1024 reqs    =
1025     { "type", "name", "range", "present"
1026       "Building", "Great Wall", "Player", TRUE
1027       "UnitClass", "Land", "Local", TRUE
1028       "CityTile", "Center", "Local", TRUE
1029       "UnitType", "Artillery", "Local", FALSE
1030     }
1032 [effect_great_wall_1]
1033 type    = "Defend_Bonus"
1034 value   = 200
1035 reqs    =
1036     { "type", "name", "range"
1037       "Building", "Great Wall", "Player"
1038       "UnitClass", "Sea", "Local"
1039       "CityTile", "Center", "Local"
1040     }
1042 [effect_great_wall_visible]
1043 type    = "Visible_Walls"
1044 value   = 1
1045 reqs    =
1046     { "type", "name", "range"
1047       "Building", "Great Wall", "Player"
1048     }
1050 [effect_hanging_gardens]
1051 type    = "Make_Happy"
1052 value   = 1
1053 reqs    =
1054     { "type", "name", "range"
1055       "Building", "Hanging Gardens", "Player"
1056     }
1058 [effect_hoover_dam]
1059 type    = "Output_Bonus"
1060 value   = 50
1061 reqs    =
1062     { "type", "name", "range"
1063       "Building", "Hoover Dam", "Continent"
1064       "OutputType", "shield", "local"
1065     }
1067 [effect_hoover_dam_1]
1068 type    = "Pollu_Prod_Pct"
1069 value   = -50
1070 reqs    =
1071     { "type", "name", "range", "present"
1072       "Building", "Hoover Dam", "Continent", TRUE
1073       "Building", "Recycling Center", "City", FALSE
1074     }
1076 [effect_isaac_newtons_college]
1077 type    = "Output_Bonus"
1078 value   = 50
1079 reqs    =
1080     { "type", "name", "range"
1081       "Building", "Library", "City"
1082       "Building", "Isaac Newton's College", "City"
1083       "OutputType", "science", "local"
1084     }
1086 [effect_isaac_newtons_college_1]
1087 type    = "Output_Bonus"
1088 value   = 50
1089 reqs    =
1090     { "type", "name", "range"
1091       "Building", "University", "City"
1092       "Building", "Isaac Newton's College", "Player"
1093       "OutputType", "science", "local"
1094     }
1096 [effect_js_bachs_cathedral]
1097 type    = "Force_Content"
1098 value   = 2
1099 reqs    =
1100     { "type", "name", "range"
1101       "Building", "J.S. Bach's Cathedral", "Continent"
1102     }
1104 [effect_lighthouse]
1105 type    = "Move_Bonus"
1106 value   = 1
1107 reqs    =
1108     { "type", "name", "range"
1109       "Building", "Lighthouse", "Player"
1110       "UnitClass", "Sea", "Local"
1111     }
1113 [effect_magellans_expedition]
1114 type    = "Move_Bonus"
1115 value   = 1
1116 reqs    =
1117     { "type", "name", "range"
1118       "Building", "Magellan's Expedition", "Player"
1119       "UnitClass", "Sea", "Local"
1120     }
1122 [effect_manhattan_project]
1123 type    = "Enable_Nuke"
1124 value   = 1
1125 reqs    =
1126     { "type", "name", "range", "survives"
1127       "Building", "Manhattan Project", "World", TRUE
1128     }
1130 [effect_michelangelos_chapel]
1131 type    = "Make_Content"
1132 value   = 4
1133 reqs    =
1134     { "type", "name", "range"
1135       "Building", "Cathedral", "City"
1136       "Building", "Michelangelo's Chapel", "City"
1137     }
1139 [effect_oracle]
1140 type    = "Make_Content"
1141 value   = 1
1142 reqs    =
1143     { "type", "name", "range"
1144       "Building", "Temple", "City"
1145       "Building", "Oracle", "Player"
1146     }
1148 [effect_oracle_mysticism]
1149 type    = "Make_Content"
1150 value   = 1
1151 reqs    =
1152     { "type", "name", "range"
1153       "Building", "Temple", "City"
1154       "Building", "Oracle", "Player"
1155       "Tech", "Mysticism", "Player"
1156     }
1158 [effect_pyramids]
1159 type    = "Any_Government"
1160 value   = 1
1161 reqs    =
1162     { "type", "name", "range"
1163       "Building", "Pyramids", "Player"
1164     }
1166 [effect_pyramids_1]
1167 type    = "No_Anarchy"
1168 value   = 1
1169 reqs    =
1170     { "type", "name", "range"
1171       "Building", "Pyramids", "Player"
1172     }
1174 [effect_seti_program]
1175 type    = "Output_Bonus"
1176 value   = 50
1177 reqs    =
1178     { "type", "name", "range"
1179       "Building", "SETI Program", "Player"
1180       "OutputType", "science", "local"
1181     }
1183 [effect_shakespeares_theatre]
1184 type    = "No_Unhappy"
1185 value   = 1
1186 reqs    =
1187     { "type", "name", "range"
1188       "Building", "Shakespeare's Theatre", "City"
1189     }
1191 [effect_united_nations]
1192 type    = "Any_Government"
1193 value   = 1
1194 reqs    =
1195     { "type", "name", "range"
1196       "Building", "United Nations", "Player"
1197     }
1199 [effect_united_nations_1]
1200 type    = "No_Anarchy"
1201 value   = 1
1202 reqs    =
1203     { "type", "name", "range"
1204       "Building", "United Nations", "Player"
1205     }
1207 [effect_womens_suffrage]
1208 type    = "Make_Content_Mil_Per"
1209 value   = 1
1210 reqs    =
1211     { "type", "name", "range"
1212       "Building", "Women's Suffrage", "Player"
1213     }
1215 [effect_flight_trade_revenue_reduce]
1216 type    = "Trade_Revenue_Bonus"
1217 value   = -585
1218 reqs    =
1219     { "type", "name", "range"
1220       "Tech", "Flight", "Player"
1221     }
1222     
1223 [effect_railroad_trade_revenue_reduce]
1224 type    = "Trade_Revenue_Bonus"
1225 value   = -585
1226 reqs    =
1227     { "type", "name", "range"
1228       "Tech", "Railroad", "Player"
1229     }
1231 ; FIXME: Calendar effects are copied from default rulesets and are
1232 ; probably wrong for civ1 ruleset.
1233 [effect_calendar_base]
1234 type    = "Turn_Years"
1235 value   = 50
1237 ; 50 - 25 = 25
1238 [effect_calendar_1]
1239 type    = "Turn_Years"
1240 value   = -25
1241 reqs    =
1242     { "type", "name", "range"
1243       "MinYear", "-1000", "World"
1244     }
1246 ; 25 - 5 = 20
1247 [effect_calendar_2]
1248 type    = "Turn_Years"
1249 value   = -5
1250 reqs    =
1251     { "type", "name", "range"
1252       "MinYear", "0", "World"
1253     }
1255 ; 20 - 10 = 10
1256 [effect_calendar_3]
1257 type    = "Turn_Years"
1258 value   = -10
1259 reqs    =
1260     { "type", "name", "range"
1261       "MinYear", "1000", "World"
1262     }
1264 ; 10 - 5 = 5
1265 [effect_calendar_4]
1266 type    = "Turn_Years"
1267 value   = -5
1268 reqs    =
1269     { "type", "name", "range"
1270       "MinYear", "1500", "World"
1271     }
1273 ; 5 - 3 = 2
1274 [effect_calendar_5]
1275 type    = "Turn_Years"
1276 value   = -3
1277 reqs    =
1278     { "type", "name", "range"
1279       "MinYear", "1750", "World"
1280     }
1282 ; 2 - 1 = 1
1283 [effect_calendar_6]
1284 type    = "Turn_Years"
1285 value   = -1
1286 reqs    =
1287     { "type", "name", "range"
1288       "MinYear", "1900", "World"
1289     }
1291 [effect_tech_cost_base]
1292 type    = "Tech_Cost_Factor"
1293 value   = 1
1295 [effect_tech_cost_double]
1296 type    = "Tech_Cost_Factor"
1297 value   = 1
1298 reqs    =
1299     { "type", "name", "range"
1300       "MinYear", "1", "World"
1301     }
1303 ; Cities can always work tiles
1304 [effect_tile_workable]
1305 type    = "Tile_Workable"
1306 value   = 1
1308 ; each city has at least one slot to build units
1309 [effect_city_build_slots_basic]
1310 type    = "City_Build_Slots"
1311 value   = 1
1313 [effect_city_image_1]
1314 type    = "City_Image"
1315 value   = 1
1316 reqs    =
1317     { "type", "name", "range"
1318       "MinSize", "4", "City"
1319     }
1321 [effect_city_image_2]
1322 type    = "City_Image"
1323 value   = 1
1324 reqs    =
1325     { "type", "name", "range"
1326       "MinSize", "8", "City"
1327     }
1329 [effect_city_image_3]
1330 type    = "City_Image"
1331 value   = 1
1332 reqs    =
1333     { "type", "name", "range"
1334       "MinSize", "12", "City"
1335     }
1337 [effect_city_image_4]
1338 type    = "City_Image"
1339 value   = 1
1340 reqs    =
1341     { "type", "name", "range"
1342       "MinSize", "16", "City"
1343     }
1345 [effect_mine]
1346 type    = "Mining_Pct"
1347 value   = 100
1348 reqs    =
1349     { "type", "name", "range"
1350       "Extra", "Mine", "Local"
1351     }
1353 [effect_irrigation]
1354 type    = "Irrigation_Pct"
1355 value   = 100
1356 reqs    =
1357     { "type", "name", "range", "present"
1358       "Extra", "Irrigation", "Local", TRUE
1359       "CityTile", "Center", "Local", FALSE
1360     }
1362 [effect_irrigation_2]
1363 type    = "Irrigation_Pct"
1364 value   = 100
1365 reqs    =
1366     { "type", "name", "range", "present"
1367       "CityTile", "Center", "Local", TRUE
1368       "TerrainAlter", "CanIrrigate", "Local", TRUE
1369       "Extra", "Mine", "Local", FALSE
1370     }
1372 [effect_irrigate_src_ocean]
1373 type    = "Irrig_Possible"
1374 value   = 1
1375 reqs    =
1376     { "type", "name", "range"
1377       "TerrainClass", "Oceanic", "CAdjacent"
1378     }
1380 [effect_irrigate_src_river]
1381 type    = "Irrig_Possible"
1382 value   = 1
1383 reqs    =
1384     { "type", "name", "range"
1385       "Extra", "River", "CAdjacent"
1386     }
1388 [effect_irrigate_src_irrigation]
1389 type    = "Irrig_Possible"
1390 value   = 1
1391 reqs    =
1392     { "type", "name", "range"
1393       "Extra", "Irrigation", "CAdjacent"
1394     }
1396 [effect_mining]
1397 type    = "Mining_Possible"
1398 value   = 1
1400 [effect_irrig_tf]
1401 type    = "Irrig_TF_Possible"
1402 value   = 1
1404 [effect_mining_tf]
1405 type    = "Mining_TF_Possible"
1406 value   = 1
1408 [effect_pollution]
1409 type    = "Output_Tile_Punish_Pct"
1410 value   = 50
1411 reqs    =
1412     { "type", "name", "range"
1413       "Extra", "Pollution", "Local"
1414     }
1416 [effect_incite_cost_empty]
1417 type = "Incite_Cost_Pct"
1418 value = -50
1419 reqs    =
1420     { "type", "name", "range"
1421       "MaxUnitsOnTile", "0", "Local"
1422     }
1424 [effect_unit_bribe_cost_settlers]
1425 type    = "Unit_Bribe_Cost_Pct"
1426 value   = -50
1427 reqs    =
1428     { "type", "name", "range"
1429       "UnitFlag", "Cities", "Local"
1430     }
1432 [effect_illegal_action_move_cost_base]
1433 type    = "Illegal_Action_Move_Cost"
1434 value   = 1