Author: cazfi
Date: Fri Apr 15 15:47:56 2016
New Revision: 32413

URL: http://svn.gna.org/viewcvs/freeciv?rev=32413&view=rev
Log:
Added culture providing effects and achievement types to civ2civ3 ruleset

Patch by David Fernandez <bardo>

See patch #5597

Modified:
    trunk/data/civ2civ3/effects.ruleset
    trunk/data/civ2civ3/game.ruleset

Modified: trunk/data/civ2civ3/effects.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/effects.ruleset?rev=32413&r1=32412&r2=32413&view=diff
==============================================================================
--- trunk/data/civ2civ3/effects.ruleset (original)
+++ trunk/data/civ2civ3/effects.ruleset Fri Apr 15 15:47:56 2016
@@ -1931,6 +1931,14 @@
       "Building", "Cathedral", "City"
     }
 
+[effect_cathedral_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Cathedral", "City"
+    }
+
 [effect_cathedral_1]
 type    = "Make_Content"
 value   = 1
@@ -2047,6 +2055,14 @@
       "Building", "Colosseum", "City"
     }
 
+[effect_colosseum_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Colosseum", "City"
+    }
+
 [effect_courthouse]
 type    = "Output_Waste_Pct"
 value   = 50
@@ -2260,6 +2276,14 @@
     { "type", "name", "range"
       "Building", "Library", "City"
       "OutputType", "Science", "Local"
+    }
+
+[effect_library_culture]
+type    = "History"
+value  = 1
+reqs   =
+    { "type", "name", "range"
+      "Building", "Library", "City"
     }
 
 [effect_marketplace]
@@ -2444,6 +2468,14 @@
       "Gov", "Monarchy", "Player"
       "Building", "Palace", "City"
       "OutputType", "Gold", "Local"
+    }
+
+[effect_palace_culture]
+type    = "History"
+value  = 1
+reqs   =
+    { "type", "name", "range"
+      "Building", "Palace", "City"
     }
 
 [effect_police_station]
@@ -2561,6 +2593,14 @@
     { "type", "name", "range"
       "Building", "Research Lab", "City"
       "OutputType", "Science", "Local"
+    }
+
+[effect_research_lab_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Research Lab", "City"
     }
 
 [effect_sam_battery]
@@ -2916,6 +2956,14 @@
       "Gov", "Communism", "Player", FALSE
     }
 
+[effect_temple_culture]
+type    = "History"
+value  = 1
+reqs   =
+    { "type", "name", "range"
+      "Building", "Temple", "City"
+    }
+
 [effect_university]
 type    = "Output_Bonus"
 value   = 50
@@ -2925,6 +2973,14 @@
       "OutputType", "Science", "Local"
     }
 
+[effect_university_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "University", "City"
+    }
+
 [effect_apollo_program]
 type    = "Reveal_Map"
 value   = 1
@@ -2939,6 +2995,14 @@
 reqs    =
     { "type", "name", "range", "survives"
       "Building", "Apollo Program", "World", TRUE
+    }
+
+[effect_apollo_program_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "Apollo Program", "City"
     }
 
 [effect_asmiths_trading_co]
@@ -2962,6 +3026,14 @@
       "OutputType", "Gold", "Local"
     }
 
+[effect_asmiths_trading_co_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "A.Smith's Trading Co.", "City"
+    }
+
 [effect_colossus]
 type    = "Output_Inc_Tile"
 value   = 1
@@ -2971,6 +3043,14 @@
       "OutputType", "Trade", "Local"
     }
 
+[effect_colossus_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Colossus", "City"
+    }
+
 [effect_copernicus_observatory]
 type    = "Output_Add_Tile"
 value   = 1
@@ -2978,6 +3058,14 @@
     { "type", "name", "range"
       "Building", "Copernicus' Observatory", "City"
       "OutputType", "Science", "Local"
+    }
+
+[effect_copernicus_observatory_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Copernicus' Observatory", "City"
     }
 
 [effect_cure_for_cancer]
@@ -2996,6 +3084,14 @@
 reqs    =
     { "type", "name", "range"
       "Building", "Cure For Cancer", "Player"
+    }
+
+[effect_cure_for_cancer_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "Cure For Cancer", "City"
     }
 
 [effect_darwins_voyage]
@@ -3019,6 +3115,14 @@
       "OutputType", "Science", "Local"
     }
 
+[effect_darwins_voyage_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "Darwin's Voyage", "City"
+    }
+
 [effect_eiffel_tower]
 type    = "Gain_AI_Love"
 value   = 10
@@ -3034,6 +3138,14 @@
 reqs    =
     { "type", "name", "range"
       "Building", "Eiffel Tower", "Player"
+    }
+
+[effect_eiffel_tower_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Eiffel Tower", "City"
     }
 
 [effect_great_library]
@@ -3062,6 +3174,14 @@
 reqs    =
     { "type", "name", "range"
       "Building", "Great Library", "Player"
+    }
+
+[effect_great_library_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Great Library", "City"
     }
 
 ; Every Land unit
@@ -3091,6 +3211,14 @@
       "Building", "Great Wall", "Player"
     }
 
+[effect_great_wall_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Great Wall", "City"
+    }
+
 [effect_hanging_gardens]
 type    = "Make_Content"
 value   = 1
@@ -3107,6 +3235,14 @@
       "Building", "Hanging Gardens", "City"
       "CityTile", "Center", "Local"
       "OutputType", "Luxury", "Local"
+    }
+
+[effect_hanging_gardens_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Hanging Gardens", "City"
     }
 
 ; Hoover Dam behaves like a (self-enhanced) Hydro Plant in its own city
@@ -3147,6 +3283,14 @@
       "Building", "Hoover Dam", "City"
     }
 
+[effect_hoover_dam_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "Hoover Dam", "City"
+    }
+
 [effect_isaac_newtons_college]
 type    = "Output_Bonus"
 value   = 50
@@ -3175,6 +3319,14 @@
       "Building", "Isaac Newton's College", "Player"
     }
 
+[effect_isaac_newtons_college_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "Isaac Newton's College", "City"
+    }
+
 [effect_js_bachs_cathedral]
 type    = "Output_Add_Tile"
 value   = 2
@@ -3185,6 +3337,14 @@
       "OutputType", "Luxury", "Local"
     }
 
+[effect_js_bachs_cathedral_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "J.S. Bach's Cathedral", "City"
+    }
+
 [effect_king_richards_crusade]
 type    = "Make_Content_Mil"
 value   = 1
@@ -3202,12 +3362,28 @@
       "OutputType", "Gold", "Local"
     }
 
+[effect_king_richards_crusade_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "King Richard's Crusade", "City"
+    }
+
 [effect_leonardos_workshop]
 type    = "Upgrade_Unit"
 value   = 1
 reqs    =
     { "type", "name", "range"
       "Building", "Leonardo's Workshop", "Player"
+    }
+
+[effect_leonardos_workshop_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "Leonardo's Workshop", "City"
     }
 
 [effect_lighthouse_move]
@@ -3269,6 +3445,14 @@
       "Building", "Port Facility", "City", FALSE
     }
 
+[effect_lighthouse_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Lighthouse", "City"
+    }
+
 [effect_magellans_expedition_move]
 type    = "Move_Bonus"
 value   = 1
@@ -3289,6 +3473,14 @@
       "UnitFlag", "NoVeteran", "Local", FALSE
     }
 
+[effect_magellans_expedition_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "Magellan's Expedition", "City"
+    }
+
 [effect_manhattan_project]
 type    = "Enable_Nuke"
 value   = 1
@@ -3305,12 +3497,28 @@
       "Building", "Marco Polo's Embassy", "Player"
     }
 
+[effect_manhattan_project_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "Manhattan Project", "City"
+    }
+
 [effect_marco_polos_embassy]
 type    = "Have_Embassies"
 value   = 1
 reqs    =
     { "type", "name", "range"
       "Building", "Marco Polo's Embassy", "Player"
+    }
+
+[effect_marco_polos_embassy_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Marco Polo's Embassy", "City"
     }
 
 [effect_michelangelos_chapel]
@@ -3322,6 +3530,14 @@
       "Building", "Michelangelo's Chapel", "Player"
     }
 
+[effect_michelangelos_chapel_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "Michelangelo's Chapel", "City"
+    }
+
 [effect_mausoleum_of_mausolos]
 type    = "Make_Content"
 value   = 1
@@ -3338,6 +3554,14 @@
     { "type", "name", "range"
       "Building", "Courthouse", "City"
       "Building", "Mausoleum of Mausolos", "Player"
+    }
+
+[effect_mausoleum_of_mausolos_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Mausoleum of Mausolos", "City"
     }
 
 ; Note that this doesn't cancel a whole unit's unhappiness in Democracy
@@ -3358,6 +3582,14 @@
       "OutputType", "Shield", "Local"
     }
 
+[effect_statue_of_zeus_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Statue of Zeus", "City"
+    }
+
 [effect_temple_of_artemis]
 type    = "Make_Content"
 value   = 2
@@ -3367,6 +3599,14 @@
       "Building", "Temple of Artemis", "Player"
     }
 
+[effect_temple_of_artemis_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Temple of Artemis", "City"
+    }
+
 [effect_pyramids]
 type    = "Output_Inc_Tile"
 value   = 1
@@ -3374,6 +3614,14 @@
     { "type", "name", "range"
       "Building", "Pyramids", "City"
       "OutputType", "Shield", "Local"
+    }
+
+[effect_pyramids_culture]
+type    = "History"
+value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Pyramids", "City"
     }
 
 [effect_internet]
@@ -3402,6 +3650,14 @@
       "Building", "Internet", "Player"
     }
 
+[effect_internet_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "Internet", "City"
+    }
+
 [effect_shakespeares_theatre]
 type    = "Output_Add_Tile"
 value   = 1
@@ -3433,6 +3689,14 @@
       "OutputType", "Luxury", "Local"
     }
 
+[effect_shakespeares_theatre_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Shakespeare's Theatre", "City"
+    }
+
 ; No_Anarchy includes no_senate effect
 [effect_statue_of_liberty]
 type    = "No_Anarchy"
@@ -3448,6 +3712,14 @@
 reqs    =
     { "type", "name", "range"
       "Building", "Statue of Liberty", "Player"
+    }
+
+[effect_statue_of_liberty_culture]
+type    = "History"
+value  = 4
+reqs   =
+    { "type", "name", "range"
+      "Building", "Statue of Liberty", "City"
     }
 
 [effect_sun_tzus_war_academy]
@@ -3470,6 +3742,14 @@
       "UnitClass", "Big Land", "Local", TRUE
       "UnitFlag", "NonMil", "Local", FALSE
       "UnitFlag", "NoVeteran", "Local", FALSE
+    }
+
+[effect_sun_tzus_war_academy_culture]
+type    = "History"
+value  = 3
+reqs   =
+    { "type", "name", "range"
+      "Building", "Sun Tzu's War Academy", "City"
     }
 
 [effect_united_nations]
@@ -3504,6 +3784,14 @@
       "Building", "Apollo Program", "World", FALSE, TRUE
     }
 
+[effect_united_nations_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "United Nations", "City"
+    }
+
 [effect_womens_suffrage]
 type    = "Make_Content_Mil"
 value   = 1
@@ -3512,6 +3800,13 @@
       "Building", "Women's Suffrage", "Player"
     }
 
+[effect_womens_suffrage_culture]
+type    = "History"
+value  = 6
+reqs   =
+    { "type", "name", "range"
+      "Building", "Women's Suffrage", "City"
+    }
 ;pow(2, value/1000) -> Base = 50% 
 [effect_base_trade_revenue_reduce]
 type    = "Trade_Revenue_Bonus"

Modified: trunk/data/civ2civ3/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/game.ruleset?rev=32413&r1=32412&r2=32413&view=diff
==============================================================================
--- trunk/data/civ2civ3/game.ruleset    (original)
+++ trunk/data/civ2civ3/game.ruleset    Fri Apr 15 15:47:56 2016
@@ -669,7 +669,7 @@
 
 [culture]
 ; Minimum culture points for cultural domination victory
-victory_min_points = 1000
+victory_min_points = 10000
 
 ; How big lead relative to second best player is needed for victory
 victory_lead_pct   = 200
@@ -789,7 +789,77 @@
 ;
 ; */ <-- avoid gettext warnings
 
-; No achievements in civ2civ3 ruleset
+[achievement_spaceship]
+name           = _("Spaceship Launch")
+type           = "Spaceship"
+unique         = FALSE
+culture        = 10000
+first_msg      = _("You're the first one to launch spaceship towards Alpha 
Centauri!");
+cons_msg       = _("You have launched spaceship towards Alpha Centauri!")
+
+[achievement_map_known]
+name           = _("Entire Map Known")
+type           = "Map_Known"
+unique         = FALSE
+value          = 100
+culture        = 1000
+first_msg      = _("You're the first one to have entire world mapped!")
+cons_msg       = _("You have entire world mapped!")
+
+[achievement_another_island]
+name           = _("Land Ahoy")
+type           = "Land_Ahoy"
+unique         = FALSE
+value          = 2
+culture        = 100
+first_msg      = _("As the first people in history, your people see foreign 
continent!")
+cons_msg       = _("You see foreign island!")
+
+[achievement_literate]
+name           = _("Literate")
+type           = "Literate"
+unique         = FALSE
+value          = 100
+culture        = 100
+; /* xgettext:no-c-format */
+first_msg      = _("You're the first one to achieve 100% of literacy!")
+; /* xgettext:no-c-format */
+cons_msg       = _("You have achieved 100% of literacy!")
+
+[achievement_multicultural]
+name           = _("Multicultural")
+type           = "Multicultural"
+unique         = FALSE
+value          = 2
+culture        = 100
+first_msg      = _("You're the first nation with citizens of 2 different 
nationalities!")
+cons_msg       = _("In your nation there are citizens of 2 different 
nationalities!")
+
+[achievement_metropolis]
+name           = _("Metropolis")
+type           = "Metropolis"
+unique         = FALSE
+value          = 20
+culture        = 100
+first_msg      = _("Your city is the first one to reach population 20!")
+cons_msg       = _("Your city has reached population 20!")
+
+[achievement_cultured_city]
+name           = _("Cultured City")
+type           = "Cultured_City"
+unique         = FALSE
+value          = 1000
+culture        = 100
+first_msg      = _("Your city is the first one to achieve 1000 culture 
points!")
+cons_msg       = _("Your city has achieved 1000 culture points!")
+
+[achievement_cultured_nation]
+name           = _("Cultured Nation")
+type           = "Cultured_Nation"
+unique         = FALSE
+value          = 10000
+first_msg      = _("Your nation is the first one to achieve 10000 culture 
points!")
+cons_msg       = _("Your nation has achieved 10000 culture points!")
 
 ;
 ; Trade settings


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to