Correct an abuse of atoi().

This commit is contained in:
Eric S. Raymond 2008-12-23 20:00:27 +00:00
parent b529ba0312
commit 315fb361f0

View file

@ -317,7 +317,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=smallfoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=3
@ -330,8 +330,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=3
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -367,7 +367,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=orcishfoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=3
@ -380,8 +380,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=3
[/movement_costs]
@ -417,7 +417,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=largefoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=2
reef=2
swamp_water=2
@ -430,8 +430,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=1
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -467,7 +467,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=armoredfoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=4
reef=3
swamp_water=4
@ -475,13 +475,13 @@ While undead lords arrived on the Great Continent in considerable numbers only i
sand=2
forest=2
hills=3
mountains=UNREACHABLE
mountains={UNREACHABLE}
village=1
castle=1
cave=2
frozen=4
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -517,7 +517,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=elusivefoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=2
reef=2
swamp_water=2
@ -530,8 +530,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -567,7 +567,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=mounted
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=4
reef=3
swamp_water=4
@ -575,13 +575,13 @@ While undead lords arrived on the Great Continent in considerable numbers only i
sand=2
forest=3
hills=2
mountains=UNREACHABLE
mountains={UNREACHABLE}
village=1
castle=1
cave=4
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=4
[/movement_costs]
@ -617,7 +617,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=woodland
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=2
@ -630,8 +630,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=3
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -681,8 +681,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=1
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -718,7 +718,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=treefolk
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=2
reef=2
swamp_water=2
@ -731,8 +731,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=3
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -783,7 +783,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
cave=3
frozen=1
unwalkable=1
impassable=UNREACHABLE
impassable={UNREACHABLE}
fungus=3
[/movement_costs]
@ -834,7 +834,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
cave=1
frozen=1
unwalkable=1
impassable=UNREACHABLE
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -878,13 +878,13 @@ While undead lords arrived on the Great Continent in considerable numbers only i
sand=4
forest=5
hills=5
mountains=UNREACHABLE
mountains={UNREACHABLE}
village=2
castle=1
cave=3
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=3
[/movement_costs]
@ -928,13 +928,13 @@ While undead lords arrived on the Great Continent in considerable numbers only i
sand=2
forest=5
hills=5
mountains=UNREACHABLE
mountains={UNREACHABLE}
village=1
castle=1
cave=3
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=3
[/movement_costs]
@ -983,8 +983,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=2
cave=2
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -1025,18 +1025,18 @@ While undead lords arrived on the Great Continent in considerable numbers only i
shallow_water=1
reef=1
swamp_water=2
flat=UNREACHABLE
sand=UNREACHABLE
forest=UNREACHABLE
hills=UNREACHABLE
mountains=UNREACHABLE
village=UNREACHABLE
castle=UNREACHABLE
cave=UNREACHABLE
frozen=UNREACHABLE
unwalkable=UNREACHABLE
impassable=UNREACHABLE
fungus=UNREACHABLE
flat={UNREACHABLE}
sand={UNREACHABLE}
forest={UNREACHABLE}
hills={UNREACHABLE}
mountains={UNREACHABLE}
village={UNREACHABLE}
castle={UNREACHABLE}
cave={UNREACHABLE}
frozen={UNREACHABLE}
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus={UNREACHABLE}
[/movement_costs]
[defense]
@ -1071,7 +1071,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=mountainfoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=3
@ -1084,8 +1084,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=1
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -1121,7 +1121,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=dwarvishfoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=3
@ -1134,8 +1134,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=1
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
@ -1171,7 +1171,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[movetype]
name=gruefoot
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=2
@ -1184,8 +1184,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -1234,8 +1234,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -1286,7 +1286,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
cave=1
frozen=1
unwalkable=1
impassable=UNREACHABLE
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
@ -1337,7 +1337,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
cave=1
frozen=1
unwalkable=1
impassable=UNREACHABLE
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
@ -1388,7 +1388,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
cave=1
frozen=1
unwalkable=1
impassable=UNREACHABLE
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
@ -1425,7 +1425,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
name=lizard
flies=false
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=3
swamp_water=1
@ -1438,8 +1438,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=1
frozen=4
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
@ -1476,22 +1476,22 @@ While undead lords arrived on the Great Continent in considerable numbers only i
name=none
flies=false
[movement_costs]
deep_water=UNREACHABLE
shallow_water=UNREACHABLE
reef=UNREACHABLE
swamp_water=UNREACHABLE
flat=UNREACHABLE
sand=UNREACHABLE
forest=UNREACHABLE
hills=UNREACHABLE
mountains=UNREACHABLE
village=UNREACHABLE
castle=UNREACHABLE
cave=UNREACHABLE
frozen=UNREACHABLE
unwalkable=UNREACHABLE
impassable=UNREACHABLE
fungus=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water={UNREACHABLE}
reef={UNREACHABLE}
swamp_water={UNREACHABLE}
flat={UNREACHABLE}
sand={UNREACHABLE}
forest={UNREACHABLE}
hills={UNREACHABLE}
mountains={UNREACHABLE}
village={UNREACHABLE}
castle={UNREACHABLE}
cave={UNREACHABLE}
frozen={UNREACHABLE}
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus={UNREACHABLE}
[/movement_costs]
[defense]
@ -1527,7 +1527,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
name=scuttlefoot
flies=false
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=2
@ -1540,8 +1540,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=2
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -1596,7 +1596,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
cave=3
frozen=2
unwalkable=1
impassable=UNREACHABLE
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
@ -1635,7 +1635,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
# But the armor makes them a good bit tougher
# Do a bit worse in Swamps as they can't hop to dry spots
[movement_costs]
deep_water=UNREACHABLE
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=3
@ -1648,8 +1648,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=1
cave=2
frozen=3
unwalkable=UNREACHABLE
impassable=UNREACHABLE
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]