Collect the Nym line into one file...
...so her animations can be defined by a single macro.
This commit is contained in:
parent
728bd2fbc7
commit
ede2ddf29b
3 changed files with 46 additions and 197 deletions
|
@ -1,16 +1,6 @@
|
|||
#textdomain wesnoth-utbs
|
||||
[unit_type]
|
||||
id=Nym Sentinel
|
||||
[base_unit]
|
||||
id=Desert Sentinel
|
||||
[/base_unit]
|
||||
name= _ "female^Desert Sentinel"
|
||||
gender=female
|
||||
image=units/elves-desert/nym.png
|
||||
profile=portraits/nym.png
|
||||
advances_to=Nym Prowler
|
||||
description= _ "Nym is Kaleh's childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
|
||||
die_sound={SOUND_LIST:ELF_FEMALE_HIT}
|
||||
|
||||
#define NYM_ANIMATIONS
|
||||
{DEFENSE_ANIM "units/elves-desert/nym-defend.png" units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
|
@ -90,4 +80,48 @@
|
|||
image=units/elves-desert/nym.png
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
#enddef
|
||||
|
||||
[unit_type]
|
||||
id=Nym Hunter
|
||||
[base_unit]
|
||||
id=Desert Hunter
|
||||
[/base_unit]
|
||||
name= _ "female^Desert Hunter"
|
||||
gender=female
|
||||
image=units/elves-desert/nym.png
|
||||
profile=portraits/nym.png
|
||||
advances_to=Nym Sentinel
|
||||
description= _ "Nym is Kaleh's childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}
|
||||
die_sound={SOUND_LIST:ELF_FEMALE_HIT}
|
||||
{NYM_ANIMATIONS}
|
||||
[/unit_type]
|
||||
|
||||
[unit_type]
|
||||
id=Nym Sentinel
|
||||
[base_unit]
|
||||
id=Desert Sentinel
|
||||
[/base_unit]
|
||||
name= _ "female^Desert Sentinel"
|
||||
gender=female
|
||||
image=units/elves-desert/nym.png
|
||||
profile=portraits/nym.png
|
||||
advances_to=Nym Prowler
|
||||
description= _ "Nym is Kaleh's childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
|
||||
die_sound={SOUND_LIST:ELF_FEMALE_HIT}
|
||||
{NYM_ANIMATIONS}
|
||||
[/unit_type]
|
||||
|
||||
[unit_type]
|
||||
id=Nym Prowler
|
||||
[base_unit]
|
||||
id=Desert Prowler
|
||||
[/base_unit]
|
||||
gender=female
|
||||
name= _ "female^Desert Prowler"
|
||||
image=units/elves-desert/nym.png
|
||||
profile=portraits/nym.png
|
||||
description= _ "Nym is Kaleh's childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
|
||||
die_sound={SOUND_LIST:ELF_FEMALE_HIT}
|
||||
{NYM_ANIMATIONS}
|
||||
[/unit_type]
|
|
@ -1,93 +0,0 @@
|
|||
#textdomain wesnoth-utbs
|
||||
[unit_type]
|
||||
id=Nym Hunter
|
||||
[base_unit]
|
||||
id=Desert Hunter
|
||||
[/base_unit]
|
||||
name= _ "female^Desert Hunter"
|
||||
gender=female
|
||||
image=units/elves-desert/nym.png
|
||||
profile=portraits/nym.png
|
||||
advances_to=Nym Sentinel
|
||||
description= _ "Nym is Kaleh's childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}
|
||||
die_sound={SOUND_LIST:ELF_FEMALE_HIT}
|
||||
{DEFENSE_ANIM "units/elves-desert/nym-defend.png" units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=bolas
|
||||
[/filter_attack]
|
||||
[missile_frame]
|
||||
begin=-150
|
||||
end=0
|
||||
image=projectiles/bolas-n.png
|
||||
image_diagonal=projectiles/bolas-ne.png
|
||||
[/missile_frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
image=units/elves-desert/nym-ranged-1.png
|
||||
sound=hatchet.wav
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
image=units/elves-desert/nym-ranged-1.png
|
||||
sound=hatchet-miss.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=units/elves-desert/nym-ranged-2.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
end=0
|
||||
image=units/elves-desert/nym-ranged-3.png
|
||||
[/frame]
|
||||
{SOUND:SLOW}
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=sword
|
||||
[/filter_attack]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-175
|
||||
image=units/elves-desert/nym.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-175
|
||||
end=-100
|
||||
image=units/elves-desert/nym-melee-1.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=units/elves-desert/nym-melee-2.png
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=units/elves-desert/nym-melee-2.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=150
|
||||
image=units/elves-desert/nym.png
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[/unit_type]
|
|
@ -1,92 +0,0 @@
|
|||
#textdomain wesnoth-utbs
|
||||
[unit_type]
|
||||
id=Nym Prowler
|
||||
[base_unit]
|
||||
id=Desert Prowler
|
||||
[/base_unit]
|
||||
gender=female
|
||||
name= _ "female^Desert Prowler"
|
||||
image=units/elves-desert/nym.png
|
||||
profile=portraits/nym.png
|
||||
description= _ "Nym is Kaleh's childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
|
||||
die_sound={SOUND_LIST:ELF_FEMALE_HIT}
|
||||
{DEFENSE_ANIM "units/elves-desert/nym-defend.png" units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=bolas
|
||||
[/filter_attack]
|
||||
[missile_frame]
|
||||
begin=-150
|
||||
end=0
|
||||
image=projectiles/bolas-n.png
|
||||
image_diagonal=projectiles/bolas-ne.png
|
||||
[/missile_frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
image=units/elves-desert/nym-ranged-1.png
|
||||
sound=hatchet.wav
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
image=units/elves-desert/nym-ranged-1.png
|
||||
sound=hatchet-miss.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=units/elves-desert/nym-ranged-2.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
end=0
|
||||
image=units/elves-desert/nym-ranged-3.png
|
||||
[/frame]
|
||||
{SOUND:SLOW}
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=sword
|
||||
[/filter_attack]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-175
|
||||
image=units/elves-desert/nym.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-175
|
||||
end=-100
|
||||
image=units/elves-desert/nym-melee-1.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=units/elves-desert/nym-melee-2.png
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=units/elves-desert/nym-melee-2.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=150
|
||||
image=units/elves-desert/nym.png
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[/unit_type]
|
Loading…
Add table
Reference in a new issue