#textdomain wesnoth-units
[unit]
    id=Mudcrawler
    name= _ "Mudcrawler"
    race=monster
    image="units/monsters/mudcrawler.png"
    ellipse="misc/ellipse-nozoc"
    #ability=regenerates
    hitpoints=20
    movement_type=scuttlefoot
    movement=3
    experience=18
    level=0
    alignment=neutral
    advanceto=Giant Mudcrawler
    cost=5
    undead_variation=null
    usage=archer
    unit_description= _ "Mudcrawlers are magical constructs of soil and water. They attack by belching lumps of mud at their foes."
    die_sound=squishy-hit.wav
    {DEFENSE_ANIM "units/monsters/mudcrawler-defend.png" "units/monsters/mudcrawler.png" squishy-hit.wav }
    [death]
        [frame]
            begin=0
            end=150
            image="units/monsters/mudcrawler-death1.png"
        [/frame]
        [frame]
            begin=150
            end=300
            image="units/monsters/mudcrawler-death2.png"
        [/frame]
        [frame]
            begin=300
            end=450
            image="units/monsters/mudcrawler-death3.png"
        [/frame]
        [frame]
            begin=450
            end=600
            image="units/monsters/mudcrawler-death4.png"
        [/frame]
    [/death]
    [attack]
        name=mud glob
        description=_"mud glob"
        icon=attacks/mud-glob.png
        type=impact
        range=ranged
        damage=4
        number=3
    [/attack]
    [attack_anim]
        [attack_filter]
            name=mud glob
        [/attack_filter]
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/mud-glob.png"
            image_diagonal="projectiles/mud-glob.png"
        [/missile_frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/monsters/mudcrawler-attack.png"
                sound=squishy-strike.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/monsters/mudcrawler-attack.png"
                sound=squishy-miss.wav
            [/frame]
        [/else]
    [/attack_anim]
[/unit]
