#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-2.png" "units/monsters/cuttlefish-defend-1.png" squishy-hit.wav }
    [death]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-die-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-die-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-die-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-die-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-die-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-die-6.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]
        start_time=-500
        [missile_frame]
            begin=-200
            end=0
            image="projectiles/ink.png"
            image_diagonal="projectiles/ink.png"
        [/missile_frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-ranged-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-ranged-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-ranged-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-ranged-4.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/monsters/cuttlefish-ranged-5.png"
                sound=squishy-strike.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/monsters/cuttlefish-ranged-5.png"
                sound=squishy-miss.wav
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-ranged-6.png"
        [/frame]
        {SOUND:POISON}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=tentacle
        [/filter_attack]
        start_time=-300
        [frame]
            duration=100
            image="units/monsters/cuttlefish-melee-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-melee-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-melee-3.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/monsters/cuttlefish-melee-4.png"
                sound=bite.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/monsters/cuttlefish-melee-4.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-melee-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/monsters/cuttlefish-melee-6.png"
        [/frame]
    [/attack_anim]

[/unit_type]
