#textdomain wesnoth-units
[unit]
    id=Thief
    name= _ "Thief"
    race=human
    gender=male,female
    image="units/human-outlaws/thief.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    profile=portraits/Nicholas_Kerpan/human-thief.png
    ellipse="misc/ellipse"
    hitpoints=24
    movement_type=elusivefoot
    movement=6
    experience=28
    level=1
    alignment=chaotic
    advanceto=Rogue
    cost=13
    usage=fighter
    unit_description= _ "For as long as anyone can remember, the members of the various 'guilds' of rat-catchers that spring up in any larger city have had a curious practice of bleaching their hair with lime till it becomes a pale shade of blue. It is a bold thing to do, as their profession often delves into less-than-legal enterprises. Thieves have many skills, and by necessity are both light on their feet, and good with knives. They happily employ less-than-honorable tactics in combat, seeing little merit in a 'fair fight'."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BACKSTAB}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [death]
        start_time=0
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-die-7.png"
        [/frame]
    [/death]
    [defend]
        hits=miss
        [frame]
            begin=-126
            end=-125
            image="units/human-outlaws/thief.png"
        [/frame]
        [frame]
            begin=-125
            end=-42
            image="units/human-outlaws/thief-defend-1-1.png"
        [/frame]
        [frame]
            begin=-42
            end=41
            image="units/human-outlaws/thief-defend-1-2.png"
        [/frame]
        [frame]
            begin=41
            end=125
            image="units/human-outlaws/thief-defend-1-1.png"
        [/frame]
        [frame]
            begin=125
            end=126
            image="units/human-outlaws/thief.png"
        [/frame]
    [/defend]
    [defend]
        hits=miss
        [frame]
            begin=-126
            end=-125
            image="units/human-outlaws/thief.png"
        [/frame]
        [frame]
            begin=-125
            end=-42
            image="units/human-outlaws/thief-defend-2-1.png"
        [/frame]
        [frame]
            begin=-42
            end=41
            image="units/human-outlaws/thief-defend-2-2.png"
        [/frame]
        [frame]
            begin=41
            end=125
            image="units/human-outlaws/thief-defend-2-1.png"
        [/frame]
        [frame]
            begin=125
            end=126
            image="units/human-outlaws/thief.png"
        [/frame]
    [/defend]
    [defend]
        hits=miss
        [frame]
            begin=-126
            end=-125
            image="units/human-outlaws/thief.png"
        [/frame]
        [frame]
            begin=-125
            end=-42
            image="units/human-outlaws/thief-defend-3-1.png"
        [/frame]
        [frame]
            begin=-42
            end=41
            image="units/human-outlaws/thief-defend-3-2.png"
        [/frame]
        [frame]
            begin=41
            end=125
            image="units/human-outlaws/thief-defend-3-1.png"
        [/frame]
        [frame]
            begin=125
            end=126
            image="units/human-outlaws/thief.png"
        [/frame]
    [/defend]
    [defend]
        hits=kill
        [frame]
            begin=-126
            end=-125
            image="units/human-outlaws/thief.png"
        [/frame]
        [frame]
            begin=-125
            end=125
            image="units/human-outlaws/thief-defend.png"
        [/frame]
        [frame]
            begin=125
            end=126
            image="units/human-outlaws/thief.png"
        [/frame]
    [/defend]
    [defend]
        hits=hit
        [frame]
            begin=-126
            end=-125
            image="units/human-outlaws/thief.png"
        [/frame]
        [frame]
            begin=-125
            end=125
            image="units/human-outlaws/thief-defend.png"
            sound={SOUND_LIST:HUMAN_HIT}
        [/frame]
        [frame]
            begin=125
            end=126
            image="units/human-outlaws/thief.png"
        [/frame]
    [/defend]
    [attack]
        name=dagger
        description=_"dagger"
        icon=attacks/dagger-human.png
        type=blade
        range=melee
        damage=4
        number=3
        [specials]
            {WEAPON_SPECIAL_BACKSTAB}
        [/specials]
    [/attack]
    [attack_anim]
        [attack_filter]
            name=dagger
        [/attack_filter]
        [frame]
            begin=-150
            end=-100
            image="units/human-outlaws/thief.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/human-outlaws/thief-attack.png"
                sound=dagger-swish.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/human-outlaws/thief-attack.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=150
            image="units/human-outlaws/thief.png"
        [/frame]
    [/attack_anim]
    [idle_anim]
        {STANDARD_IDLE_FILTER}
        start_time=0

        #pulls a "moneybag" out of hammerspace
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-4.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-outlaws/thief-idle-5.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-outlaws/thief-idle-6.png"
        [/frame]
        [frame]
            duration=500
            image="units/human-outlaws/thief-idle-7.png"
        [/frame]

        #begin toss of pouch
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-8.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-9.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-10.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-11.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-12.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-11.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-10.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-9.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-8.png"
        [/frame]

        #catches it for a moment, and does a second toss
        [frame]
            duration=300
            image="units/human-outlaws/thief-idle-7.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-8.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-9.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-10.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-11.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-12.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-11.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-10.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-9.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-8.png"
        [/frame]

        #catches it, and returns it to hammerspace
        [frame]
            duration=500
            image="units/human-outlaws/thief-idle-7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-outlaws/thief-idle-6.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-outlaws/thief-idle-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-outlaws/thief-idle-1.png"
        [/frame]
    [/idle_anim]

    [female]
        name= _ "female^Thief"
        gender=female
        image="units/human-outlaws/thief+female.png"
        profile="units/human-outlaws/thief+female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        [death]
            start_time=0
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-1.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-2.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-3.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-4.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-5.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-6.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-outlaws/thief+female-die-7.png"
            [/frame]
        [/death]
        [defend]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-1-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-1-2.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-1-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
        [/defend]
        [defend]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-2-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-2-2.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-2-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
        [/defend]
        [defend]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-3-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-3-2.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend-3-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
        [/defend]
        [defend]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
        [/defend]
        [defend]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-defend.png"
                sound={SOUND_LIST:HUMAN_FEMALE_HIT}
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
        [/defend]
        [attack_anim]
            [attack_filter]
                name=dagger
            [/attack_filter]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
            [if]
                [frame]
                    image="units/human-outlaws/thief+female-attack.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/human-outlaws/thief+female-attack.png"
                [/frame]
            [/else]
            [frame]
                image="units/human-outlaws/thief+female.png"
            [/frame]
        [/attack_anim]
        [idle_anim]
            #pulls a "moneybag" out of hammerspace
            [frame]
                image="units/human-outlaws/thief+female-idle-1.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-2.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-3.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-4.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-5.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-6.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-7.png"
            [/frame]

            #begin toss of pouch
            [frame]
                image="units/human-outlaws/thief+female-idle-8.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-9.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-10.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-11.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-12.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-11.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-10.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-9.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-8.png"
            [/frame]

            #catches it for a moment, and does a second toss
            [frame]
                image="units/human-outlaws/thief+female-idle-7.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-8.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-9.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-10.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-11.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-12.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-11.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-10.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-9.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-8.png"
            [/frame]

            #catches it, and returns it to hammerspace
            [frame]
                image="units/human-outlaws/thief+female-idle-7.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-6.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-5.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-4.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-3.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-2.png"
            [/frame]
            [frame]
                image="units/human-outlaws/thief+female-idle-1.png"
            [/frame]
        [/idle_anim]
    [/female]
[/unit]
