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:03:00 -0700
Reply-to: bugs@xxxxxxxxxxx

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

This patch adds a new small wonder: Secret Services.

It offers increased resistance of cities vs spies (similar to the Palace
small wonder) and makes your spies veteran (like the Communism government).

Requires Espionage.

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:00:02 -0000
@@ -702,6 +702,25 @@
  non-nuclear air units.\
 ")
 
+[building_secret_services]
+name           = _("Secret Services")
+genus          = "SmallWonder"
+reqs   =
+    { "type", "name", "range"
+      "Tech", "Espionage", "Player"
+    }
+graphic        = "sw.secret_services"
+graphic_alt    = "-"
+obsolete_by    = ""
+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"
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:00:02 -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"
@@ -842,6 +846,10 @@
     { "type", "name", "range"
       "Building", "Palace", "City"
     }
+nreqs  =
+    { "type", "name", "range"
+      "Building", "Secret Services", "Player"
+    }
 
 [effect_palace_3]
 name   = "No_Incite"
@@ -969,6 +977,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

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