#textdomain wesnoth-ei
[event]
    name=last breath
    [filter]
        id=Gweddry
    [/filter]
    [message]
        speaker=Gweddry
        message= _ "No! I... die..."
    [/message]
    [endlevel]
        result=defeat
    [/endlevel]
[/event]

[event]
    name=last breath
    [filter]
        id=Dacyn
    [/filter]
    [message]
        speaker=Dacyn
        message= _ "We are doomed..."
    [/message]
    [endlevel]
        result=defeat
    [/endlevel]
[/event]

[event]
    name=last breath
    [filter]
        id=Owaec
    [/filter]
    [message]
        speaker=Owaec
        message= _ "I... must— Argh...!"
    [/message]
    [endlevel]
        result=defeat
    [/endlevel]
[/event]

[event]
    name=last breath
    [filter]
        id=Grug
    [/filter]
    [message]
        speaker=Grug
        message= _ "Grarrgghh..." # wmllint: no spellcheck
    [/message]
[/event]

[event]
    name=last breath
    [filter]
        id=Engineer
    [/filter]
    [message]
        speaker=Engineer
        message= _ "Wha’? Yah fail’d to give me protecshun..." # wmllint: no spellcheck
    [/message]
[/event]

#define EARLY_DEFEAT
    [event]
        name=defeat

        [message]
            speaker=narrator
            image=wesnoth-icon.png
            message=_ "It was perhaps as well for the men of Gweddry’s troop that they did not live to see the grim tide of undead sweeping westward into Wesnoth, laying waste to all in its path."
        [/message]
    [/event]
#enddef

#define FOREIGN_DEFEAT
    [event]
        name=defeat

        [message]
            speaker=narrator
            image=wesnoth-icon.png
            message=_ "Wesnoth never learned the fate of Gweddry’s band, but all too soon they would suffer the rage and malice of marauding orcs and undead in a war that would end only in misery and death."
        [/message]
    [/event]
#enddef

#define WESNOTH_DEFEAT
    [event]
        name=defeat

        [message]
            speaker=narrator
            image=wesnoth-icon.png
            message=_ "Their home country proved to be no refuge for Gweddry’s weary men, and no more would it for the inhabitants of Wesnoth as foes pressed them on all sides to a final defense of the doomed kingdom."
        [/message]
    [/event]
#enddef

#define LATE_DEFEAT
    [event]
        name=defeat

        [message]
            speaker=narrator
            image=wesnoth-icon.png
            message=_ "With the staunchest defenders of Wesnoth bested on their home ground, the once-great kingdom was plunged into final darkness under the vengeful hand of Mal-Ravanal."
        [/message]
    [/event]
#enddef
