#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
    music=knolls.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=underground.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]

    {DEFAULT_SCHEDULE}

    {DEFAULT_MUSIC_PLAYLIST}

    [side]
        type=Lieutenant
        description=Gweddry
        user_description= _ "Gweddry"
        side=1
        canrecruit=yes
        controller=human
        team_name=good
    [/side]

    [side]
        type=General
        description=Konrad II
        user_description= _ "Konrad II"
        profile=portraits/konrad_II.png
        side=2
        canrecruit=no
        controller=ai
        team_name=good
    [/side]

    [side]
        type=Great Mage
        description=Kaldor
        user_description= _ "Kaldor"
        side=3
        canrecruit=no
        controller=ai
        team_name=good
    [/side]

    [event]
        name=prestart

        {THRONEROOM_DECOR}

        [recall]
            description=Dacyn
            x=9
            y=9
        [/recall]
        [recall]
            description=Owaec
            x=11
            y=9
        [/recall]

        {MOVE_UNIT description=Gweddry 10 9}
    [/event]

    [event]
        name=start
        [message]
            description=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]
            description=Gweddry
            message= _ "So many months of fighting...I feel as though I am awakening from a long nightmare."
        [/message]

        [message]
            description=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]

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

        [message]
            description=Owaec
            message= _ "Even now we should be sending our cavalry to harry and slay as many of the fleeing orcs as we can."
        [/message]

        [message]
            description=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]

        [message]
            description=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]

        {MOVE_UNIT description=Dacyn 8 8}	# Move Dacyn to vacant throne

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

        [message]
            description=Konrad II
            message= _ "Quite. Now do not interrupt while I am doing mine...kneel, Owaec."
        [/message]

        {MOVE_UNIT description=Owaec 10 8}

        [message]
            description=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]

        [kill]
            description=Owaec
        [/kill]
        [sound]
            name=horse-canter.wav
        [/sound]
        [move_unit_fake]
            type=Horse Lord
            side=1
            x=10,11
            y=8,9
        [/move_unit_fake]
        [delay]
            time=1000	# Enough time for Owaec's new outfit to register.
        [/delay]
        [sound]
            name=horse-canter.wav
        [/sound]
        [move_unit_fake]
            type=Horse Lord
            side=1
            x=11,10
            y=9,20
        [/move_unit_fake]
        [delay]
            time=500	# Force pause so unit move won't be optimized away
        [/delay]
        [sound]
            name=horse-canter.wav
        [/sound]
        [move_unit_fake]
            type=Horse Lord
            side=1
            x=10,10
            y=20,23
        [/move_unit_fake]

        [message]
            description=Konrad II
            message= _ "Kneel, Gweddry."
        [/message]

        {MOVE_UNIT description=Gweddry 10 8}

        [message]
            description=Konrad II
            message= _ "And arise, Gweddry, Earl of Eastmarch. 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=victory
        [/endlevel]
    [/event]
[/scenario]
