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

55 lines
973 B
INI

[unit]
id=Giant Scorpion
name= _ "Giant Scorpion"
race=monster
image="scorpion.png"
image_defensive="scorpion-defend.png"
hitpoints=40
movement_type=scuttlefoot
movement=8
experience=60
level=1
alignment=neutral
advanceto=null
cost=40
usage=mixed fighter
unit_description= _ "Giant Scorpions are deadly creatures that like to hide while waiting for their prey. They are merciless and always hungry, so it is wise not to approach too close to these oversized arachnids."
get_hit_sound=hiss.wav
[attack]
name=sting
type=pierce
range=short
special=poison
damage=9
defense_weight=4.0
number=1
[sound]
time=-250
sound=firearrow.wav
[/sound]
[frame]
begin=-100
end=100
image="scorpion-sting-attack.png"
[/frame]
[/attack]
[attack]
name=pincers
type=impact
range=short
damage=4
number=4
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[frame]
begin=-100
end=100
image="scorpion-pincers-attack.png"
[/frame]
[/attack]
[/unit]