#textdomain wesnoth-low

#define PLAYABLE
    unrenamable=yes
    controller=human
    canrecruit=yes
    team_name=player
    user_team_name= _ "Player"
    village_gold=1
#ifdef MULTIPLAYER
    persistence=yes
    team_lock=yes
    gold_lock=yes
    income_lock=yes
    faction_from_recruit=yes
#endif
#enddef

#define KALENZ
    {PLAYABLE}
    {ELF_SETUP}
    id=Kalenz
    name= _ "Kalenz"
    profile="portraits/kalenz_young.png"
    type=Elvish Fighter
    side=1
    [filter_recall]
        type={ELVES_STEEL}
    [/filter_recall]
    [modifications]
        {TRAIT_QUICK}
        {TRAIT_RESILIENT}
        {TRAIT_LOYAL}
    [/modifications]
#enddef

#define LANDAR
    {PLAYABLE}
    {ELF_SETUP}
    id=Landar
    name= _ "Landar"
    profile="portraits/landar.png"
    type=Elvish Archer
    [filter_recall]
        type={ELVES_STEEL}
    [/filter_recall]
    [modifications]
        {TRAIT_DEXTROUS}
        {TRAIT_RESILIENT}
        {TRAIT_LOYAL}
    [/modifications]
#enddef

#define CLEODIL
    {PLAYABLE}
    {ELF_SETUP}
    id=Cleodil
    name= _ "Cleodil"
    profile="portraits/cleodil.png"
    type=Elvish Shyde
    extra_recruit=Elvish Scout, Elvish Shaman, Wose
    [filter_recall]
        type={ELVES_NON_STEEL}
    [/filter_recall]
    [abilities]
#ifndef MULTIPLAYER
        {ABILITY_ELATES_KALENZ}
        {ABILITY_HEALS_KALENZ}
#endif
        #TODO test the whole extra traits things.
        #        {ABILITY_EXTRA_HEAL}
        {ABILITY_CURES}
    [/abilities]
    [modifications]
        {TRAIT_QUICK}
        {TRAIT_RESILIENT}
        {TRAIT_LOYAL}
    [/modifications]
#enddef

#define OLURF
    {PLAYABLE}
    {DWARF_SETUP}
    id=Olurf
    name= _ "Olurf"
    profile="portraits/olurf.png"
    type=Dwarvish Steelclad
    extra_recruit=Dwarvish Fighter, Dwarvish Scout, Dwarvish Thunderer, Dwarvish Ulfserker, Dwarvish Guardsman
    [filter_recall]
        race=dwarf
    [/filter_recall]
    [modifications]
        {TRAIT_STRONG}
        {TRAIT_RESILIENT}
    [/modifications]
#enddef

#define GALTRID
    {PLAYABLE}
    {ELF_SETUP}
    id=Galtrid
    name= _ "Galtrid"
    profile="portraits/galtrid.png"
    type=Elvish Captain
    [modifications]
        {TRAIT_STRONG}
        {TRAIT_RESILIENT}
    [/modifications]
#enddef

#define EL_ISOMITHIR
    {PLAYABLE}
    {ELF_SETUP}
    id=El_Isomithir
    name= _ "El’Isomithir"
    team_name=player
    user_team_name= _ "Player"
    type=Elvish Hero
    [modifications]
        #TODO define some different traits for him
        {TRAIT_STRONG}
        {TRAIT_RESILIENT}
    [/modifications]
#enddef

#define URADREDIA
    {ELF_SETUP}
    id=Uradredia
    name= _ "Uradredia"
    unrenamable=yes
    profile="portraits/uradredia.png"
    type=Elvish Marshal
    [modifications]
        {TRAIT_STRONG}
        {TRAIT_RESILIENT}
    [/modifications]
    color=white
    canrecruit=yes
    recruit=Elvish Fighter,Elvish Archer,Elvish Ranger,Elvish Scout,Elvish Hero,Elvish Marksman
    user_team_name= _ "Player"
    team_name=player
#enddef

#TODO bring the macro to use.
#define SPEECH_CLEODIL
    [event]
        name=attacks
        [filter_second]
            id=Cleodil
        [/filter_second]
        [message]
            speaker=unit
            message= _ "Prepare to die, elven witch!"
        [/message]
        [message]
            id=Kalenz
            message= _ "I will slay any who harms her without mercy."
        [/message]
        [message]
            id=Cleodil
            message= _ "Nor will you find me an easy foe!"
        [/message]
    [/event]
    [event]
        name=attacker hits
        [filter_second]
            id=Cleodil
        [/filter_second]
        [message]
            id=Cleodil
            message= _ "I am wounded!"
        [/message]
        [message]
            id=Kalenz
            message= _ "Cleodil! No! I will aid you."
        [/message]
    [/event]
#enddef
