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: Sun, 9 Oct 2005 08:28:21 -0700
Reply-to: bugs@xxxxxxxxxxx

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

This merges the Stonehenge and Secret Services changes into one patch,
and sound fix some sprite bugs found by Per.

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      9 Oct 2005 15:26:57 -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          = "bw_marco_polos_embassy"
+sound_alt      = "bw_generic"
+helptext       = _("\
+The player who owns it gets an embassy with all players.\
+")
+
 [building_marketplace]
 name           = _("Marketplace")
 genus          = "Improvement"
@@ -702,6 +721,25 @@
  non-nuclear air units.\
 ")
 
+[building_secret_services]
+name           = _("Secret Services")
+genus          = "SmallWonder"
+reqs   =
+    { "type", "name", "range"
+      "Tech", "Espionage", "Player"
+    }
+graphic        = "b.secret_services"
+graphic_alt    = "b.pyramids"
+obsolete_by    = "None"
+build_cost     = 200
+upkeep         = 0
+sabotage       = 0
+sound          = "sw_secret_services"
+sound_alt      = "sw_generic"
+helptext       = _("\
+Grants defense vs Spies, makes all Spies veteran.\
+")
+
 [building_sdi_defense]
 name           = _("SDI Defense")
 genus          = "Improvement"
@@ -852,6 +890,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    = "b.pyramids"
+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 +1365,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        9 Oct 2005 15:26:57 -0000
@@ -345,6 +345,10 @@
     { "type",       "name",      "range"
       "Gov", "Communism", "Player"
     }
+nreqs  =
+    { "type",       "name",      "range"
+      "Building", "Secret Services", "Player"
+    }
 
 [effect_revolution_0]
 name    = "Revolution_When_Unhappy"
@@ -589,6 +593,7 @@
 nreqs  =
     { "type", "name", "range"
       "Building", "Palace", "City"
+      "Building", "Stonehenge", "City"
     }
 
 ;[effect_courthouse_1]
@@ -826,6 +831,10 @@
       "Building", "Palace", "City"
       "OutputType", "Trade", "Local"
     }
+nreqs  =
+    { "type", "name", "range"
+      "Building", "Stonehenge", "City"
+    }
 
 ;[effect_palace_1]
 ;name  = "Waste_Pct"
@@ -842,6 +851,10 @@
     { "type", "name", "range"
       "Building", "Palace", "City"
     }
+nreqs  =
+    { "type", "name", "range"
+      "Building", "Secret Services", "Player"
+    }
 
 [effect_palace_3]
 name   = "No_Incite"
@@ -859,6 +872,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
@@ -969,6 +1002,22 @@
       "Building", "SAM Battery", "City"
     }
 
+[effect_secret_services_1]
+name   = "Spy_Resistant"
+value  = 50
+reqs   =
+    { "type", "name", "range"
+      "Building", "Secret Services", "Player"
+    }
+
+[effect_secret_services_2]
+name    = "Veteran_Diplomats"
+value   = 1
+reqs   =
+    { "type", "name", "range"
+      "Building", "Secret Services", "Player"
+    }
+
 [effect_sdi_defense]
 name   = "Nuke_Proof"
 value  = 100
@@ -1463,6 +1512,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]