Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#14234) Ruleset changes
Home

[Freeciv-Dev] (PR#14234) Ruleset changes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14234) Ruleset changes
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Sat, 8 Oct 2005 16:41:48 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14234 >

This patch adds a Stonehenge Small Wonder which reduces waste in a city
by 100%.

It also makes Marco Polo a Small Wonder, and adds production bonuses to
Palace under despotic governments.

Changes suggested by Per, patch by me.

Index: data/default/buildings.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/buildings.ruleset,v
retrieving revision 1.74
diff -u -r1.74 buildings.ruleset
--- data/default/buildings.ruleset      2 Aug 2005 06:39:49 -0000       1.74
+++ data/default/buildings.ruleset      8 Oct 2005 23:38:13 -0000
@@ -413,6 +413,25 @@
 Increases the science output in a city by 100%.\
 ")
 
+[building_marco_polos_embassy]
+name           = _("Marco Polo's Embassy")
+genus          = "SmallWonder"
+reqs   =
+    { "type", "name", "range"
+      "Tech", "Trade", "Player"
+    }
+graphic        = "b.marco_polos_embassy"
+graphic_alt    = "-"
+obsolete_by    = "Communism"
+build_cost     = 200
+upkeep         = 0
+sabotage       = 0
+sound          = "w_marco_polos_embassy"
+sound_alt      = "w_generic"
+helptext       = _("\
+The player who owns it gets an embassy with all players.\
+")
+
 [building_marketplace]
 name           = _("Marketplace")
 genus          = "Improvement"
@@ -852,6 +871,25 @@
  tax and luxury production in a city by 150%.\
 ")
 
+[building_stonehenge]
+name           = _("Stonehenge")
+genus          = "SmallWonder"
+reqs   =
+    { "type", "name", "range"
+      "Tech", "Polytheism", "Player"
+    }
+graphic        = "b.stonehenge"
+graphic_alt    = "-"
+obsolete_by    = "None"
+build_cost     = 150
+upkeep         = 0
+sabotage       = 0
+sound          = "sw_stonehenge"
+sound_alt      = "sw_generic"
+helptext       = _("\
+Reduces corruption in the city it is built by 100%.\
+")
+
 [building_super_highways]
 name           = _("Super Highways")
 genus          = "Improvement"
@@ -1308,25 +1346,6 @@
 ;helptext is set in client/helpdata.c:helptext_wonder()
 ;helptext      =
 
-[building_marco_polos_embassy]
-name           = _("Marco Polo's Embassy")
-genus          = "GreatWonder"
-reqs   =
-    { "type", "name", "range"
-      "Tech", "Trade", "Player"
-    }
-graphic        = "b.marco_polos_embassy"
-graphic_alt    = "-"
-obsolete_by    = "Communism"
-build_cost     = 200
-upkeep         = 0
-sabotage       = 0
-sound          = "w_marco_polos_embassy"
-sound_alt      = "w_generic"
-helptext       = _("\
-The player who owns it gets an embassy with all players.\
-")
-
 [building_michelangelos_chapel]
 name           = _("Michelangelo's Chapel")
 genus          = "GreatWonder"
Index: data/default/effects.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/effects.ruleset,v
retrieving revision 1.14
diff -u -r1.14 effects.ruleset
--- data/default/effects.ruleset        4 Oct 2005 07:27:13 -0000       1.14
+++ data/default/effects.ruleset        8 Oct 2005 23:38:13 -0000
@@ -589,6 +589,7 @@
 nreqs  =
     { "type", "name", "range"
       "Building", "Palace", "City"
+      "Building", "Stonehenge", "City"
     }
 
 ;[effect_courthouse_1]
@@ -826,6 +827,10 @@
       "Building", "Palace", "City"
       "OutputType", "Trade", "Local"
     }
+nreqs  =
+    { "type", "name", "range"
+      "Building", "Stonehenge", "City"
+    }
 
 ;[effect_palace_1]
 ;name  = "Waste_Pct"
@@ -859,6 +864,26 @@
       "Building", "Palace", "City"
     }
 
+[effect_palace_5]
+name   = "Output_Bonus"
+value  = 75
+reqs   =
+    { "type", "name", "range"
+      "Gov", "Despotism", "Player"
+      "Building", "Palace", "City"
+      "OutputType", "Shield", "Local"
+    }
+
+[effect_palace_6]
+name   = "Output_Bonus"
+value  = 50
+reqs   =
+    { "type", "name", "range"
+      "Gov", "Monarchy", "Player"
+      "Building", "Palace", "City"
+      "OutputType", "Shield", "Local"
+    }
+
 [effect_police_station]
 name   = "Make_Content_Mil"
 value  = 1
@@ -1463,6 +1488,15 @@
       "Building", "Women's Suffrage", "Player"
     }
 
+[effect_stonehenge]
+name    = "Output_Waste_Pct"
+value   = 100
+reqs    =
+    { "type", "name", "range"
+      "Building", "Stonehenge", "City"
+      "OutputType", "Trade", "Local"
+    }
+
 [effect_coinage]
 name   = "Prod_To_Gold"
 value  = 1

[Prev in Thread] Current Thread [Next in Thread]