wesnoth/data/units/General.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

81 lines
1.5 KiB
INI

[unit]
id=General
name= _ "General"
race=human
image="human-general.png"
image_defensive="human-general-defend.png"
image_leading="human-general-leading.png"
#ifdef CAMPAIGN_EASTERN_INVASION
profile=portraits/Eastern_Invasion/gweddry.png
#endif
hitpoints=58
movement_type=armoredfoot
movement=6
experience=180
level=3
alignment=lawful
#ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
advanceto=null
#else
advanceto=Grand Marshal
#endif
cost=100
ability=leadership
usage=fighter
unit_description= _ "As the great leaders of the human armies, Generals are responsible for the protection of large or important areas in the human kingdoms. Generals can coordinate the attacks of level 1 and 2 units, thereby increasing their fighting efficiency."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=short
damage=9
number=4
[frame]
begin=-175
end=100
image="human-general-attack-sword1.png"
[/frame]
[frame]
begin=-100
end=100
image="human-general-attack-sword2.png"
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/attack]
[attack]
name=crossbow
type=pierce
range=long
damage=7
number=3
[frame]
begin=-150
end=100
image="human-general-attack-crossbow.png"
[/frame]
[sound]
time=-100
sound=firearrow.wav
[/sound]
[sound]
time=0
sound=arrow-hit.wav
sound_miss=arrow-miss.wav
[/sound]
[missile_frame]
begin=-100
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/attack]
[/unit]