Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12491) Leader unit
Home

[Freeciv-Dev] (PR#12491) Leader unit

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12491) Leader unit
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 12 Mar 2005 11:34:46 -0800
Reply-to: bugs@xxxxxxxxxxx

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

This patch adds the "Leader" (called king in client tooltip) unit to the
game. Lose this unit, lose the game. Helpful for those games where you do
not want to mop up every last enemy city. To use, add "k" to startunits.

We should fix the helptext too, once the unit has been agreed on.

Oh yeah - the AI is really braindead with this unit. Also a fix for later.

  - Per

Index: data/default/units.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/units.ruleset,v
retrieving revision 1.65
diff -u -r1.65 units.ruleset
--- data/default/units.ruleset  8 Dec 2004 14:36:22 -0000       1.65
+++ data/default/units.ruleset  12 Mar 2005 19:31:58 -0000
@@ -1735,6 +1735,39 @@
 Explorers are very useful for mapping unknown territory.\
 ")
 
+[unit_leader]
+name          = _("Leader")
+move_type     = "Land"
+tech_req      = "None"
+obsolete_by   = "None"
+graphic       = "u.leader"
+graphic_alt   = "u.explorer"
+sound_move    = "m_leader"
+sound_move_alt = "m_generic"
+sound_fight   = "f_leader"
+sound_fight_alt = "f_generic"
+build_cost    = 10
+pop_cost      = 0
+attack        = 0
+defense       = 2
+hitpoints     = 20
+firepower     = 1
+move_rate     = 2
+vision_range  = 2
+transport_cap = 0
+fuel          = 0
+uk_happy      = 0
+uk_shield     = 0
+uk_food       = 0
+uk_gold       = 0
+flags         = "IgZOC", "NonMil", "NoBuild", "NoHome", "SuperSpy", 
+                "Undisbandable", "Unbribable", "GameLoss", "Unique",
+                "NoVeteran"
+roles         = "GameLoss"
+helptext      = _("\
+This is you. If you lose this unit, you lose the game. So don't.\
+")
+
 [unit_barbarian_leader]
 name          = _("Barbarian Leader")
 move_type     = "Land"

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12491) Leader unit, Per I. Mathisen <=