#textdomain wesnoth-ei
[scenario]
    id=Epilog
    name= _ "Epilog"
    map_data="{campaigns/Eastern_Invasion/maps/Throne_Room.map}"
    turns=1
    victory_when_enemies_defeated=no
    next_scenario=null

    {DEFAULT_SCHEDULE}

    {INTRO_AND_SCENARIO_MUSIC knolls.ogg heroes_rite.ogg}

    [story]
        [part]
            story= _ "When Mal-Ravanal fell, the living creatures under his banner broke and fled; the undead simply collapsed like puppets with their strings cut. As the lich's death-scream echoed in the air, a vast and louring column of shadow arose from his corpse like smoke from an unclean fire; then it divided fivefold at its height, reaching for the heavens like a clutching hand.

Men let weapons fall from nerveless fingers and horses reared in terror as that great dark pall obscured the sun..."
            music=the_deep_path.ogg
        [/part]
        [part]
            story= _ "...and then it thinned, and paled, and a breeze from the west dissolved it in tatters, and the light of day shone once again undiminished on Weldyn."
            music=knolls.ogg
        [/part]
    [/story]

    [side]
        type=Lieutenant
        id=Gweddry
        name= _ "Gweddry"
        side=1
        canrecruit=yes
        controller=human
        team_name=good
        user_team_name=_"Wesnothians"
    [/side]

    [side]
        type=General
        id=Konrad II
        name= _ "Konrad II"
        profile=portraits/konrad_II.png
        side=2
        canrecruit=no
        controller=ai
        team_name=good
        user_team_name=_"Wesnothians"
    [/side]

    [side]
        type=Great Mage
        id=Kaldor
        name= _ "Kaldor"
        side=3
        canrecruit=no
        controller=ai
        team_name=good
        user_team_name=_"Wesnothians"
    [/side]

    [event]
        name=prestart

        {THRONEROOM_DECOR}

        [recall]
            id=Dacyn
            x,y=8,8
        [/recall]
        [recall]
            id=Owaec
            x,y=9,10
        [/recall]
    [/event]

    [event]
        name=start

        [message]
            speaker=Konrad II
            message= _ "It is a great victory we have won here, destroying he who was the main author of Wesnoth's troubles."
        [/message]

        [message]
            speaker=Gweddry
            message= _ "So many months of fighting...I feel as though I am awakening from a long nightmare."
        [/message]

        [if]
            [have_unit]
                id=Dacyn
            [/have_unit]
            [then]
                [message]
                    speaker=Dacyn
                    message= _ "Nor is our work yet complete. Mal-Ravanal's main host has been broken, but its outriders ravage the countryside in all directions."
                [/message]
            [/then]
        [/if]

        [message]
            speaker=Konrad II
            message= _ "We will be years...perhaps decades...recovering from the ill he has wrought."
        [/message]

        [if]
            [have_unit]
                id=Owaec
            [/have_unit]
            [then]
                [message]
                    speaker=Owaec
                    message= _ "Even now we should be sending our cavalry to harry and slay as many of the fleeing orcs as we can."
                [/message]
            [/then]
            [else]
                [message]
                    speaker=Gweddry
                    message= _ "Even now we should be sending our troops to harry and slay as many of the fleeing orcs as we can."
                [/message]
            [/else]
        [/if]

        [message]
            speaker=Konrad II
            message= _ "It shall be so. But it is also to be thought that you three have served Us, and Our Kingdom, full well. We are minded to reward you."
        [/message]

        [if]
            [have_unit]
                id=Dacyn
            [/have_unit]
            [then]
                [message]
                    speaker=Konrad II
                    message= _ "Dacyn. You will remain by Our side, here; as you counseled these two in war, you shall counsel Us in peace and the rebuilding of the Kingdom."
                [/message]
            [/then]
        [/if]

        [message]
            speaker=Gweddry
            message= _ "Sire, we but did our duty."
        [/message]

        [if]
            [have_unit]
                id=Owaec
            [/have_unit]
            [then]
                [message]
                    speaker=Konrad II
                    message= _ "Quite. Now do not interrupt while I am doing mine...kneel, Owaec."
                [/message]

                {MOVE_UNIT id=Owaec 10 8}

                [message]
                    speaker=Konrad II
                    message= _ "Arise, Owaec, Knight Commander of the King's Horse. And take as Our first command to you your own wish; go from here, harry and destroy the enemy in their flight until the fields of Weldyn become a byword for fear at which the orcs will tremble for generations."
                [/message]

                [sound]
                    name=horse-canter.wav
                [/sound]

                {MOVE_UNIT id=Owaec 10 12}

                [delay]
                    time=1000
                [/delay]

                [sound]
                    name=horse-canter.wav
                [/sound]

                {MOVE_UNIT id=Owaec 10 15}

                [kill]
                    id=Owaec
                    animate=no
                [/kill]

                [redraw]
                [/redraw]

                [message]
                    speaker=Konrad II
                    message= _ "Kneel, Gweddry."
                [/message]
            [/then]
            [else]
                [message]
                    speaker=Konrad II
                    message= _ "Quite. Now do not interrupt while I am doing mine...kneel, Gweddry."
                [/message]
            [/else]
        [/if]

        {MOVE_UNIT id=Gweddry 10 8}

        [message]
            speaker=Konrad II
            message= _ "And arise, Gweddry, Earl of Estmark. The land for which you shed your blood shall be put under your hand to be made green again."
        [/message]

        [message]
            speaker=narrator
            message= _ "With these words and acts began the Silver Age of Wesnoth, that time known to historians as the Reconstruction..."
            image=wesnoth-icon.png
        [/message]

        [endlevel]
            result=continue_no_save
        [/endlevel]
    [/event]
[/scenario]
