Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10269) Submarines
Home

[Freeciv-Dev] (PR#10269) Submarines

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10269) Submarines
From: "Vasco Alexandre da Silva Costa via RT" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 24 Sep 2004 06:31:31 -0700
Reply-to: RT_CorrespondAddressNotSet@xxxxxxxxxxxxxx

<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=10269 >

This new submarine patch reduces the vision of attack subs back to 2, adds
the graphics entries to units.spec and flips horizontally the ballistic
sub graphic.

PNG image

Index: data/default/units.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/units.ruleset,v
retrieving revision 1.62
diff -u -r1.62 units.ruleset
--- data/default/units.ruleset  9 Sep 2004 21:25:47 -0000       1.62
+++ data/default/units.ruleset  24 Sep 2004 13:20:22 -0000
@@ -1459,7 +1459,7 @@
 name          = _("Submarine")
 move_type     = "Sea"
 tech_req      = "Combustion"
-obsolete_by   = "None"
+obsolete_by   = "Attack Sub"
 graphic       = "u.submarine"
 graphic_alt   = "-"
 sound_move    = "m_submarine"
@@ -1468,10 +1468,75 @@
 sound_fight_alt = "f_generic"
 build_cost    = 50
 pop_cost      = 0
-attack        = 15
+attack        = 10
 defense       = 2
 hitpoints     = 30
 firepower     = 2
+move_rate     = 4
+vision_range  = 2
+transport_cap = 2
+fuel          = 0
+uk_happy      = 1
+uk_shield     = 1
+uk_food       = 0
+uk_gold       = 0
+flags         = "Partial_Invis", 
+               "Missile_Carrier", "No_Land_Attack"
+roles         = ""
+helptext      = _("\
+Submarines have a very high strategic value, but have a weak\
+ defence.\
+")
+
+[unit_attack_sub]
+name          = _("Attack Sub")
+move_type     = "Sea"
+tech_req      = "Nuclear Power"
+obsolete_by   = "None"
+graphic       = "u.attack_sub"
+graphic_alt   = "-"
+sound_move    = "m_submarine"
+sound_move_alt = "m_generic"
+sound_fight   = "f_submarine"
+sound_fight_alt = "f_generic"
+build_cost    = 60
+pop_cost      = 0
+attack        = 15
+defense       = 3
+hitpoints     = 30
+firepower     = 2
+move_rate     = 6
+vision_range  = 2
+transport_cap = 0
+fuel          = 0
+uk_happy      = 1
+uk_shield     = 1
+uk_food       = 0
+uk_gold       = 0
+flags         = "Partial_Invis", "No_Land_Attack"
+roles         = ""
+helptext      = _("\
+Submarines have a very high strategic value, but have a weak\
+ defence.\
+")
+
+[unit_ballistic_sub]
+name          = _("Ballistic Sub")
+move_type     = "Sea"
+tech_req      = "Nuclear Power"
+obsolete_by   = "None"
+graphic       = "u.ballistic_sub"
+graphic_alt   = "-"
+sound_move    = "m_submarine"
+sound_move_alt = "m_generic"
+sound_fight   = "f_submarine"
+sound_fight_alt = "f_generic"
+build_cost    = 60
+pop_cost      = 0
+attack        = 10
+defense       = 3
+hitpoints     = 30
+firepower     = 2
 move_rate     = 5
 vision_range  = 2
 transport_cap = 8
Index: data/trident/units.spec
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/trident/units.spec,v
retrieving revision 1.4
diff -u -r1.4 units.spec
--- data/trident/units.spec     1 Nov 2003 10:44:23 -0000       1.4
+++ data/trident/units.spec     24 Sep 2004 13:20:24 -0000
@@ -75,4 +75,6 @@
   2, 12, "u.fanatics"
   2, 13, "u.awacs"
   2, 14, "u.worker"
+  2, 15, "u.attack_sub"
+  2, 16, "u.ballistic_sub"
 }

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