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...
36 lines
689 B
INI
36 lines
689 B
INI
#This is for a 'Move_Unit_Fake', if you use this for anything but, you're just nutty.
|
|
[unit]
|
|
id=Fireball
|
|
name= _ "Fireball"
|
|
image="projectiles/fireball-nw.png"
|
|
image_defensive="projectiles/fireball-nw.png"
|
|
hitpoints=1
|
|
movement_type=fly
|
|
movement=5
|
|
experience=500
|
|
level=0
|
|
alignment=neutral
|
|
advanceto=null
|
|
cost=1
|
|
usage=fighter
|
|
unit_description= _ "A Fireball. This is not to be used for anything else than a 'Move_Unit_Fake'!"
|
|
[attack]
|
|
name=fire
|
|
type=fire
|
|
range=short
|
|
special=magical
|
|
damage=1
|
|
number=1
|
|
icon=projectiles/fireball-nw.png
|
|
[frame]
|
|
begin=-100
|
|
end=100
|
|
image="projectiles/fireball-nw.png"
|
|
[/frame]
|
|
[sound]
|
|
time=-100
|
|
sound=fire.wav
|
|
[/sound]
|
|
[/attack]
|
|
[/unit]
|