SoF: fix miner standing animation

This commit is contained in:
nemaara 2019-03-15 21:03:34 -04:00
parent 073081ef89
commit 6265b63aa5

View file

@ -27,26 +27,8 @@
icon=attacks/pick-axe.png
[/attack]
[standing_anim]
[filter]
role=loaded
[or]
role=has_coal
[/or]
[or]
role=has_gold
[/or]
[/filter]
start_time=0
[frame]
image=units/dwarves/miner-laden.png:1000
[/frame]
[/standing_anim]
# FIXME: this animation is defined to work around a crash due to no valid
# standing animation being available to an unloaded miner otherwise
[standing_anim]
[filter]
[not]
[if]
[filter]
role=loaded
[or]
role=has_coal
@ -54,12 +36,18 @@
[or]
role=has_gold
[/or]
[/not]
[/filter]
start_time=0
[frame]
image=units/dwarves/miner.png:1000
[/frame]
[/filter]
start_time=0
[frame]
image=units/dwarves/miner-laden.png:1000
[/frame]
[/if]
[else]
start_time=0
[frame]
image=units/dwarves/miner.png:1000
[/frame]
[/else]
[/standing_anim]
[attack_anim]
[filter_attack]