#textdomain wesnoth-dm

#define OBJECT_LOYAL
    # There are several changes of leader to hero & vice versa during the campaign,
    # so this object is given to any that may have hero status at some point to ensure
    # the unit has no upkeep and to avoid taking up another trait slot
    [object]
        [effect]
            apply_to=loyal
        [/effect]
    [/object]
#enddef

#define KALENZ
    id=Kalenz
    name= _"Kalenz"
    unrenamable=yes
    profile="portraits/kalenz.png"
    type=Elvish High Lord
    side=1
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_STRONG}
        {TRAIT_RESILIENT}
    [/modifications]
#enddef

#define YOUNG_DELFADOR
    id=Delfador
    name= _"Delfador"
    type=Journeyman Mage
    profile="portraits/younger_delfador.png"
    canrecruit=yes
    unrenamable=yes
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_RESILIENT}
        {TRAIT_INTELLIGENT}
        [object]
            [effect]
                apply_to=profile
                [filter]
                    type=Mage Commander,Mage Magister
                [/filter]
                portrait=portraits/young_delfador.png~RIGHT()
            [/effect]
        [/object]
    [/modifications]
#enddef

#define OLD_DELFADOR
    id=Delfador
    name= _"Delfador"
    type=Elder Mage
    profile="portraits/old_delfador.png~RIGHT()"
    canrecruit=yes
    unrenamable=yes
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_RESILIENT}
        {TRAIT_INTELLIGENT}
    [/modifications]
#enddef

#define CHANTAL
    type=Elvish Druid
    id=Chantal
    name=_ "Chantal"
    unrenamable=yes
    profile=portraits/chantal-druid.png
    side=3
    canrecruit=yes
    controller=ai
    recruit=Elvish Ranger,Elvish Rider
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_INTELLIGENT}
        {TRAIT_RESILIENT}
        [object]
            [effect]
                apply_to=profile
                [filter]
                    type=Elvish Shyde
                [/filter]
                portrait=portraits/chantal-shyde.png
            [/effect]
        [/object]
    [/modifications]
#enddef

#define LIONEL
    type=General
    id=Lionel
    name=_ "Lionel"
    unrenamable=yes
    profile="portraits/lionel.png"
    {IS_HERO}
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_FEARLESS}
        {TRAIT_STRONG}
    [/modifications]
#enddef

#define ULREK
    type=Dwarvish Lord
    id=Ulrek
    name= _ "Ulrek"
    unrenamable=yes
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_QUICK}
        {TRAIT_STRONG}
    [/modifications]
#enddef

#define RELGORN
    type=Dwarvish Fighter
    id=Relgorn
    name= _ "Relgorn"
    unrenamable=yes # Shows up in HttT S14
    {IS_HERO}
    [modifications]
        {OBJECT_LOYAL}
        {TRAIT_STRONG}
        {TRAIT_HEALTHY}
    [/modifications]
#enddef

#define METHOR
    id=Methor
    name=_"Methor"
    unrenamable=yes
    profile=portraits/methor.png
    type=Mage of Light
    [modifications]
        {TRAIT_INTELLIGENT}
        {TRAIT_AGED}
    [/modifications]
#enddef

#define ILIAH_MALAL TYPE
    id=Iliah-Malal
    name=_ "Iliah-Malal"
    type={TYPE}
    canrecruit=yes
#enddef
