mirror of
https://github.com/wesnoth/wesnoth
synced 2024-09-22 15:20:16 +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...
54 lines
851 B
INI
54 lines
851 B
INI
[unit]
|
|
id=Yeti
|
|
name= _ "Yeti"
|
|
race=monster
|
|
image="yeti.png"
|
|
image_defensive="yeti-defend.png"
|
|
hitpoints=142
|
|
movement_type=largefoot
|
|
movement=5
|
|
|
|
[movement_costs]
|
|
tundra=1
|
|
[/movement_costs]
|
|
[defense]
|
|
tundra=40
|
|
[/defense]
|
|
[resistance]
|
|
cold=50
|
|
fire=80
|
|
pierce=80
|
|
impact=90
|
|
[/resistance]
|
|
|
|
experience=60
|
|
level=4
|
|
alignment=neutral
|
|
advanceto=null
|
|
cost=30
|
|
usage=fighter
|
|
unit_description= _ "Yetis are giant humanoid creatures that live in the mountains. Few have ever survived an encounter with one, and their existence is doubted by many."
|
|
get_hit_sound=groan.wav
|
|
[attack]
|
|
name=fist
|
|
type=impact
|
|
range=short
|
|
damage=32
|
|
number=2
|
|
[frame]
|
|
begin=-150
|
|
end=-50
|
|
image="yeti-attack1.png"
|
|
[/frame]
|
|
[frame]
|
|
begin=-50
|
|
end=120
|
|
image="yeti-attack2.png"
|
|
[/frame]
|
|
[sound]
|
|
time=-80
|
|
sound=fist-swish.wav
|
|
[/sound]
|
|
[/attack]
|
|
[/unit]
|