wesnoth/data/units/Outlaw.cfg
Philippe Plantier ba195ecd8a [[Attack some problems with data serialization in saves]]
* Made serialized data be saved as untranslated. To achieve this, added the
  t_string class, which encapsulates a translatable string.

* Completely rewrote the (text) WML parser, making it use a tokenizer / parser
  architecture. The parser is now much more strict and validates a WML grammar.

  - Change to the WML syntax: pluses are now ignored, spaces are now forbidden
    in WML keys

* Rewrote the way the variables are interpolated. There is no more default
  interpolation, however, the vconfig class was added, which provides a
  variable-interpolating proxy to config objects.

* There is still an important known bug: this is impossible to load textmode
  save games now, because the statistics module saves some WML with spaces in
  keys, which the parser refuses. I am commiting anyway to respect the string
  freeze; the fix for this bug will come tomorrow

Hoping I do not break everything...
2005-03-27 23:06:17 +00:00

142 lines
2.2 KiB
INI

[unit]
id=Outlaw
name= _ "Outlaw"
race=human
gender=male,female
image="neutral-outlaw.png"
image_defensive="neutral-outlaw-defend.png"
hitpoints=40
movement_type=elusivefoot
movement=7
experience=500
level=2
alignment=chaotic
advanceto=null
cost=40
usage=mixed fighter
unit_description= _ "Outlaws fight better at night."
get_hit_sound=groan.wav
[attack]
name=mace
type=impact
range=short
damage=7
number=2
[frame]
begin=-100
end=100
image="neutral-outlaw-attack.png"
[/frame]
[sound]
time=-100
sound=mace.wav
[/sound]
[/attack]
[attack]
name=sling
type=impact
range=long
damage=6
number=3
[sound]
time=-100
sound=firearrow.wav
[/sound]
#
# [sound]
# time=0
# sound=arrow-hit.wav
# sound_miss=arrow-miss.wav
# [/sound]
[frame]
begin=-250
end=-50
image="neutral-outlaw-attack1.png"
[/frame]
[frame]
begin=-50
end=50
image="neutral-outlaw-attack2.png"
[/frame]
[missile_frame]
begin=-100
end=0
image="projectiles/stone.png"
image_diagonal="projectiles/stone.png"
[/missile_frame]
[/attack]
[female]
id=Outlaw
name= _ "female^Outlaw"
race=human
gender=female
image="neutral-outlaw+female.png"
image_defensive="neutral-outlaw+female-defend.png"
hitpoints=40
movement_type=elusivefoot
movement=7
experience=500
level=2
alignment=chaotic
advanceto=null
cost=40
usage=mixed fighter
unit_description= _ "Outlaws fight better at night. Female Outlaws look good while doing it."
get_hit_sound=female-hit.wav
[attack]
name=mace
type=impact
range=short
damage=7
number=2
icon=attacks/mace.png
[frame]
begin=-100
end=100
image="neutral-outlaw+female-attack.png"
[/frame]
[sound]
time=-100
sound=mace.wav
[/sound]
[/attack]
[attack]
name=sling
type=impact
range=long
damage=6
number=3
icon=attacks/sling.png
[sound]
time=-100
sound=firearrow.wav
[/sound]
[frame]
begin=-250
end=-50
image="neutral-outlaw+female-attack1.png"
[/frame]
[frame]
begin=-50
end=50
image="neutral-outlaw+female-attack2.png"
[/frame]
[missile_frame]
begin=-100
end=0
image="projectiles/stone.png"
image_diagonal="projectiles/stone.png"
[/missile_frame]
[/attack]
[/female]
[/unit]