Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] (PR#18436) [Patch] Remove "Nuclear"
Home

[Freeciv-Dev] (PR#18436) [Patch] Remove "Nuclear"

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#18436) [Patch] Remove "Nuclear"
From: "Marko Lindqvist" <cazfi74@xxxxxxxxx>
Date: Sun, 9 Jul 2006 09:24:17 -0700
Reply-to: bugs@xxxxxxxxxxx

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


  This removes unit class "Nuclear" since it's identical to "Missile".

  Applies on top of #18347.


  - ML


diff -Nurd -X.diff_ignore freeciv/data/civ1/units.ruleset 
freeciv/data/civ1/units.ruleset
--- freeciv/data/civ1/units.ruleset     2006-07-09 19:16:51.796875000 +0300
+++ freeciv/data/civ1/units.ruleset     2006-07-09 19:23:29.125000000 +0300
@@ -80,8 +80,8 @@
 hp_loss_pct   = 0
 flags         = ""
 
-[unitclass_nuclear]
-name          = "Nuclear"
+[unitclass_missile]
+name          = "Missile"
 move_type     = "Air"
 hp_loss_pct   = 0
 flags         = "Missile"
@@ -110,7 +110,7 @@
 ; tech_req      = required advance, names from techs.ruleset, or special:
 ;                 "None" => available from start
 ; obsolete_by   = can be upgraded to and made obsolete by another unit by name
-; class         = "Land", "Sea", "Air", "Heli", "Missile" or "Nuclear"
+; class         = One of the classes listed above
 ; transport_cap = Number of units (ground, or air/missiles, depending on flags)
 ; fuel          = number of turns air units can fly before they crash. For
 ;                 barbarians this is used as lifetime instead
@@ -880,7 +880,7 @@
 
 [unit_nuclear]
 name          = _("Nuclear")
-class         = "Nuclear"
+class         = "Missile"
 tech_req      = "Rocketry"
 obsolete_by   = "None"
 graphic       = "u.nuclear"
diff -Nurd -X.diff_ignore freeciv/data/civ2/units.ruleset 
freeciv/data/civ2/units.ruleset
--- freeciv/data/civ2/units.ruleset     2006-07-09 19:16:51.875000000 +0300
+++ freeciv/data/civ2/units.ruleset     2006-07-09 19:18:48.906250000 +0300
@@ -92,12 +92,6 @@
 hp_loss_pct   = 0
 flags         = ""
 
-[unitclass_nuclear]
-name          = "Nuclear"
-move_type     = "Air"
-hp_loss_pct   = 0
-flags         = "Missile"
-
 ; Below: The individual units, one per section.
 ;
 ; The number can be variable, up to 200.  
@@ -122,7 +116,7 @@
 ; tech_req      = required advance, names from techs.ruleset, or special:
 ;                 "None" => available from start
 ; obsolete_by   = can be upgraded to and made obsolete by another unit by name
-; class         = "Land", "Sea", "Air", "Helicopter", "Missile" or "Nuclear"
+; class         = One of the classes listed above
 ; transport_cap = Number of units (ground, or air/missiles, depending on flags)
 ; fuel          = number of turns air units can fly before they crash. For
 ;                 barbarians this is used as lifetime instead
@@ -1502,7 +1496,7 @@
 
 [unit_nuclear]
 name          = _("Nuclear")
-class         = "Nuclear"
+class         = "Missile"
 tech_req      = "Rocketry"
 obsolete_by   = "None"
 graphic       = "u.nuclear"
diff -Nurd -X.diff_ignore freeciv/data/default/units.ruleset 
freeciv/data/default/units.ruleset
--- freeciv/data/default/units.ruleset  2006-07-09 19:16:51.953125000 +0300
+++ freeciv/data/default/units.ruleset  2006-07-09 19:18:14.468750000 +0300
@@ -98,12 +98,6 @@
 hp_loss_pct   = 0
 flags         = ""
 
-[unitclass_nuclear]
-name          = "Nuclear"
-move_type     = "Air"
-hp_loss_pct   = 0
-flags         = "Missile"
-
 ; Below: The individual units, one per section.
 ;
 ; The number can be variable, up to 200.  
@@ -130,7 +124,7 @@
 ; impr_req     = required city improvement, names from buildings.ruleset
 ; gov_req       = required government, names from governments.ruleset
 ; obsolete_by   = can be upgraded to and made obsolete by another unit by name
-; class         = "Land", "Sea", "Air", "Helicopter", "Missile" or "Nuclear"
+; class         = One of the classes listed above
 ; transport_cap = Number of units (ground, or air/missiles, depending on flags)
 ; fuel          = number of turns air units can fly before they crash. For
 ;                 barbarians this is used as lifetime instead. If this is zero,
@@ -1557,7 +1551,7 @@
 
 [unit_nuclear]
 name          = _("Nuclear")
-class         = "Nuclear"
+class         = "Missile"
 tech_req      = "Rocketry"
 obsolete_by   = "None"
 graphic       = "u.nuclear"

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#18436) [Patch] Remove "Nuclear", Marko Lindqvist <=