#textdomain wesnoth-units
[unit_type]
    id=Cuttle Fish
    name= _ "Cuttle Fish"
    race=monster
    image="units/monsters/cuttlefish.png"
    hitpoints=67
    movement_type=deepsea
    movement=8
    experience=150
    level=2
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=40
    undead_variation=swimmer
    usage=fighter
    description= _ "Cuttle Fish are gigantic creatures of the seas. They can grab their opponents with strong tentacles, or spit a poisonous black ink from a distance. The best way to survive an encounter with these monsters is to remain ashore."+{SPECIAL_NOTES}+{SPECIAL_NOTES_POISON}+{SPECIAL_NOTES_SWARM}
    die_sound=water-blast.wav
    {DEFENSE_ANIM "units/monsters/cuttlefish-defend.png" "units/monsters/cuttlefish.png" squishy-hit.wav }
    [death]
        [frame]
            begin=0
            end=200
            image="units/monsters/cuttlefish-die-1.png"
        [/frame]
        [frame]
            begin=200
            end=400
            image="units/monsters/cuttlefish-die-2.png"
        [/frame]
    [/death]
    [attack]
        name=tentacle
        description=_"tentacle"
        type=impact
        range=melee
        [specials]
            {WEAPON_SPECIAL_SWARM}
        [/specials]
        damage=3
        number=10
    [/attack]
    [attack]
        name=ink
        description=_"ink"
        type=pierce
        range=ranged
        damage=6
        number=2
        [specials]
            {WEAPON_SPECIAL_POISON}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=ink
        [/filter_attack]
        [missile_frame]
            begin=-200
            end=0
            image="projectiles/ink.png"
            image_diagonal="projectiles/ink.png"
        [/missile_frame]
        [frame]
            begin=-300
            end=-180
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-180
                end=-100
                image="units/monsters/cuttlefish-attack-ink.png"
                sound=squishy-strike.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-180
                end=-100
                image="units/monsters/cuttlefish-attack-ink.png"
                sound=squishy-miss.wav
            [/frame]
        [/else]
        [frame]
            begin=-100
            end=0
            image="units/monsters/cuttlefish.png"
        [/frame]
        {SOUND:POISON}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=yes
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack-4.png"
            sound=squishy-strike.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=yes
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack-3.png"
            sound=squishy-strike.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=yes
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack-2.png"
            sound=squishy-strike.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=yes
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack.png"
            sound=squishy-strike.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=no
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack-4.png"
            sound=squishy-miss.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=no
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack-3.png"
            sound=squishy-miss.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=no
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack-2.png"
            sound=squishy-miss.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        hits=no
        [frame]
            begin=-200
            end=-150
            image="units/monsters/cuttlefish-defend.png"
        [/frame]
        [frame]
            begin=-150
            end=50
            image="units/monsters/cuttlefish-attack.png"
            sound=squishy-miss.wav
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/monsters/cuttlefish.png"
        [/frame]
    [/attack_anim]
[/unit_type]
