Celtic Minstrel cb3e6356dd Move the Dwarvish Miner unit to core
This also changes the tracking of what they're carrying to be a status instead of a role, which should be more portable to other use-cases.
2023-01-25 00:03:06 -05:00

57 lines
1.6 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Dwarvish Miner
name= _ "Dwarvish Miner"
race=dwarf
image=units/dwarves/miner.png
hitpoints=25
movement_type=dwarvishfoot
movement=4
level=1
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
experience=50
cost=19
usage=fighter
description= _ "Dwarvish miners are the grunt workers of dwarvish society. They take the precious ores out of the ground, but do not ever take part in the crafting of weapons or artifacts. They have no military training, but they can still do some damage with their picks."
{DEFENSE_ANIM "units/dwarves/miner-defend-2.png" "units/dwarves/miner-defend-1.png" {SOUND_LIST:DWARF_HIT}}
die_sound={SOUND_LIST:DWARF_DIE}
[attack]
name=pick
description= _"pick"
type=pierce
range=melee
damage=4
number=2
icon=attacks/pick-axe.png
[/attack]
[standing_anim]
start_time=0
[if]
[filter]
status=has_coal,has_gold
[/filter]
[frame]
image=units/dwarves/miner-laden.png:1000
[/frame]
[/if]
[else]
[frame]
image=units/dwarves/miner.png:1000
[/frame]
[/else]
[/standing_anim]
[attack_anim]
[filter_attack]
name=pick
[/filter_attack]
start_time=-350
offset=0.0~0.3,0.3~0.5,0.5~0.6,0.6~0.5,0.5~0.3,0.3~0.0
[frame]
image=units/dwarves/miner-attack-[1~6].png:100
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]