#textdomain wesnoth-sotbe

#define DEFEAT
    [endlevel]
        result=defeat
    [/endlevel]
#enddef

[event]
    name=die
    [filter]
        type=Orcish Shaman
    [/filter]
    [message]
        speaker=unit
        message= _ "Ouch! This hurts!"
    [/message]
    [message]
        speaker="Kapou'e"
        message= _ "The Council will never be complete again. This is hopeless."
    [/message]
    {DEFEAT}
[/event]

[event]
    name=die
    [filter]
        type=Gork Orcish Shaman
    [/filter]
    [message]
        speaker=unit
        message= _ "Ouch! This hurts!"
    [/message]
    [message]
        speaker="Kapou'e"
        message= _ "The Council will never be complete again. This is hopeless."
    [/message]
    {DEFEAT}
[/event]

[event]
    name=die
    [filter]
        type=Novice Orcish Shaman
    [/filter]
    [message]
        speaker=unit
        message= _ "Ouch! This hurts!"
    [/message]
    [message]
        speaker="Kapou'e"
        message= _ "The Council will never be complete again. This is hopeless."
    [/message]
    {DEFEAT}
[/event]

[event]
    name=die
    [filter]
        type=Old Orcish Shaman
    [/filter]
    [message]
        speaker=unit
        message= _ "Ouch! This hurts!"
    [/message]
    [message]
        speaker="Kapou'e"
        message= _ "The Council will never be complete again. This is hopeless."
    [/message]
    {DEFEAT}
[/event]

[event]
    name=die
    [filter]
        id="Kapou'e"
    [/filter]
    [message]
        speaker=unit
        message= _ "Argh! I'm done. My people are doomed!"
    [/message]
    {DEFEAT}
[/event]

[event]
    name=die
    [filter]
        id=Grüü
    [/filter]
    [message]
        speaker=unit
        message= _ "Oh no, I am defeated."
    [/message]
    {DEFEAT}
[/event]

[event]
    name=die
    [filter]
        id=Inarix
    [/filter]

    [if]
        [variable]
            name=inarix_abandoned
            not_equals=yes
        [/variable]

        [then]
            [message]
                speaker=Inarix
                message= _ "Ahhh!"
            [/message]

            [message]
                speaker="Kapou'e"
                message= _ "Blast it, without Inarix to lead his saurians, we can no longer count on their help."
            [/message]

            [set_variable]
                name=got_saurians
                value=no
            [/set_variable]

            [disallow_recruit]
                side=1
                type=Saurian Skirmisher, Saurian Augur
            [/disallow_recruit]
        [/then]
    [/if]
[/event]
