#textdomain wesnoth-dw

[scenario]
    name= _ "Epilogue"
    map_data="{campaigns/Dead_Water/maps/Home_1.map}"

    id=13_Epilogue
    next_scenario=null

    {DEFAULT_SCHEDULE}
    turns=-1

    [side]
        {SIDE_1}
    [/side]

    [event]
        name=prestart

        [music]
            name=wanderer.ogg
        [/music]

        {RECALL_LOYAL_UNITS}
        # wmllint: recognize Gwabbo
        # wmllint: recognize Cylanna
        # wmllint: recognize Keshan
        # wmllint: recognize Tyegea
        # wmllint: recognize Teeloa
        # wmllint: recognize Inky
    [/event]

    [event]
        name=start
        [message]
            speaker=narrator
            message= _ "After destroying Mal-Ravanal’s henchmen, Kai Krellis awaited another attack. But it never came. Krellis sent some messengers south to discover what they could. The news that came back was better than good. Mal-Ravanal was dead! Soldiers of Wesnoth had defeated him at about the same time the mermen had defeated the undead at Jotha. With the evil wizard gone, the mermen relaxed and began rebuilding in earnest, and soon Jotha was restored."
            image=wesnoth-icon.png
        [/message]

        [message]
            speaker=narrator
            message= _ "Not everything was as before, of course. Many good merfolk had been lost in the first attacks and on the journey. The visiting priestesses did much to console the families of the dead, and as it always does, life continued. In a few months, the giggles of children could be heard echoing through shallows. Many of those children were named after Kai Krellis, Gwabbo, Cylanna, and the other heroes."
            image=wesnoth-icon.png
        [/message]

        [if]
            [have_unit]
                id=Tyegea
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Tyegëa returned to her home, but continued to keep in touch with her grandson. Most of her priestesses went with her, but a few of them stayed in Jotha, enriching the culture of the city."
                    image=wesnoth-icon.png
                [/message]
            [/then]
        [/if]

        [if]
            [have_unit]
                id=Cylanna
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Cylanna never traveled far again, but stayed in Jotha as a respected elder. She remained a royal advisor, but her main work was healing the sick, and presiding at christenings and weddings. All this agreed with her disposition much better than battling undead."
                    image=wesnoth-icon.png
                [/message]
            [/then]
            [else]
                [message]
                    speaker=narrator
                    message= _ "Kai Krellis was somber over the next months as he grieved over the loss of Cylanna, but the grief diminished with time leaving only fond memories."
                    image=wesnoth-icon.png
                [/message]
            [/else]
        [/if]

        [if]
            [have_unit]
                id=Gwabbo
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Gwabbo lived to a ripe old age in Jotha. Tales of his heroics were told to merfolk children for generations thereafter. He became an almost legendary figure."
                    image=wesnoth-icon.png
                [/message]
            [/then]
        [/if]

        [if]
            [and]
                [have_unit]
                    id=Gwabbo
                [/have_unit]
                [have_unit]
                    id=Cylanna
                [/have_unit]
            [/and]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Gwabbo and Cylanna were often together, and when Kai Krellis found a wife (which is a tale for another time!) they presided at his wedding."
                    image=wesnoth-icon.png
                [/message]
            [/then]
        [/if]

        [if]
            [have_unit]
                id=Teeloa
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Teelöa returned to his home where he had been captured by the saurians. He was delighted to find that many of his family members had also returned. He visited Jotha frequently, and remained friends with all the other veterans."
                    image=wesnoth-icon.png
                [/message]
            [/then]
        [/if]

        [if]
            [have_unit]
                id=Keshan
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Keshan returned to Bilheld where the drakes were still leaderless. He beat them all into submission (which is the drake way) and ruled there with an iron fist."
                    image=wesnoth-icon.png
                [/message]
            [/then]
        [/if]

        [message]
            speaker=narrator
            message= _ "Krellis himself married within a few years, and fathered strong sons and beautiful daughters. When the orcs who had learned to fear his father tested Jotha again, they learned to fear Kai Krellis even more."
            image=wesnoth-icon.png
        [/message]

        [if]
            [have_unit]
                id=Inky
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Inky lived with Krellis at court and frolicked in the kelp beds of Jotha until he became fat and lazy in his old age."
                    image=wesnoth-icon.png
                [/message]
            [/then]
        [/if]

        [endlevel]
            result=victory
            linger_mode=no
        [/endlevel]
    [/event]
[/scenario]
