mirror of
https://github.com/wesnoth/wesnoth
synced 2024-09-22 19:27:52 +00:00
ba195ecd8a
* 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...
35 lines
811 B
INI
35 lines
811 B
INI
[unit]
|
|
id=Sea Orc
|
|
name= _ "Sea Orc"
|
|
race=orc
|
|
image="sea-orc.png"
|
|
image_defensive="sea-orc-defend.png"
|
|
hitpoints=31
|
|
movement_type=swimmer
|
|
movement=5
|
|
experience=1
|
|
level=1
|
|
alignment=chaotic
|
|
advanceto=null
|
|
cost=20
|
|
usage=fighter
|
|
unit_description= _ "While often viewed as inferior to their land loving counterparts, Sea Orcs represent a great leap for all goblinoids as they have adapted to aquatic environments. With their curved swords they are competent fighters, although their lack of a ranged attack and poor defence on land do represent strategic weaknesses."
|
|
get_hit_sound=orc-small-hit.wav
|
|
[attack]
|
|
name=sword
|
|
type=blade
|
|
range=short
|
|
damage=5
|
|
number=3
|
|
[frame]
|
|
begin=-100
|
|
end=100
|
|
image="sea-orc-attack.png"
|
|
[/frame]
|
|
[sound]
|
|
time=-250
|
|
sound=sword-swish.wav
|
|
[/sound]
|
|
[/attack]
|
|
[/unit]
|