Outlaw Ranger -> Ranger

This commit is contained in:
Eric S. Raymond 2007-10-29 00:39:48 +00:00
parent 1ec84a02b4
commit bf9df1b96d
4 changed files with 12 additions and 7 deletions

View file

@ -148,7 +148,7 @@
alignment=neutral
experience=98
cost=26
advanceto=Huntsman_Peasant,Outlaw Ranger
advanceto=Huntsman_Peasant,Ranger
unit_description= _ "Trappers are skilled hunters who supply food and furs for several villages. Their hunting experience makes them most valuable at night and in forests and swamps."
#ifdef CAMPAIGN_LIBERTY
#else
@ -174,4 +174,4 @@
shallow_water=2
swamp_water=1
[/movement_costs]
[/unit]
[/unit]

View file

@ -1,8 +1,8 @@
#textdomain wesnoth-units
[unit]
id=Outlaw Ranger
name= _ "Outlaw Ranger"
id=Ranger
name= _ "Ranger"
race=human
image="units/human-outlaws/ranger.png"
hitpoints=60

View file

@ -13,7 +13,7 @@
alignment=chaotic
#ifdef USE_L3_OUTLAWS
experience=65
advanceto=Huntsman, Outlaw Ranger
advanceto=Huntsman, Ranger
#else
experience=100
advanceto=null

View file

@ -264,6 +264,9 @@ filemoves = {
#("{ABILITY_HEALS}", "{ABILITY_HEALS 4}"),
#("{ABILITY_CURES}", "{ABILITY_CURES_POISON}{ABILITY_HEALS 8}"),
),
"1.3.9" : (
("Outlaw Ranger", "Ranger"),
),
# An empty sentinel value at end is required.
"trunk" : (),
}
@ -1115,7 +1118,7 @@ def translator(filename, mapxforms, textxform):
outmap = []
add_border = True
add_usage = True
have_header = False
have_header = have_delimiter = False
maskwarn = False
maptype = None
if map_only:
@ -1152,6 +1155,8 @@ def translator(filename, mapxforms, textxform):
add_border = False
if "usage" in line:
add_usage = False
if len(line) == 0:
have_delimiter = True
newdata.append(line + terminator)
continue
if '"' in line:
@ -1209,7 +1214,7 @@ def translator(filename, mapxforms, textxform):
newdata.append("usage=" + maptype + terminator)
have_header = True
modified = True
if have_header:
if have_header and not have_delimiter:
newdata.append(terminator)
modified = True
for y in range(len(outmap)):