#textdomain wesnoth-dm
[scenario]
    name=_ "Overture"
    id=01_overture
    next_scenario=02_this_valley_belongs_to_me
    {MEMOIRS_MAP four_oracles.map}
    turns=1
    #TODO uncomment when the fullscreen theme is available again.
    #    theme=FullScreen
    {MORNING}

    {INTRO_AND_SCENARIO_MUSIC revelation.ogg heroes_rite.ogg}

    [side]
        {YOUNG_DELFADOR}
        type=Journeyman Mage
        canrecruit=yes
        facing=nw
        recruit=Mage,Spearman,Horseman
        team_name=player
    [/side]

    [side]
        type=Mage of Light
        id=Marshal
        name=_"Marshal"
        facing=sw
        side=2
        canrecruit=no
        team_name=player
        controller=ai
        {NAMED_UNIT 2 (Great Mage)  8   9 "First Oracle" (_"First Oracle") (ai_special,facing=guardian,se)}
        [+unit]
            profile=portraits/oracle1.png
        [/unit]
        {NAMED_UNIT 2 (Great Mage) 10  11 "Second Oracle" (_"Second Oracle")  (ai_special,facing=guardian,sw)}
        [+unit]
            profile=portraits/oracle2.png
        [/unit]
        {NAMED_UNIT 2 (Great Mage)  8  13 "Third Oracle" (_"Third Oracle")  (ai_special,facing=guardian,nw)}
        [+unit]
            profile=portraits/oracle3.png
        [/unit]
        {NAMED_UNIT 2 (Great Mage)  6  11 "Fourth Oracle" (_"Fourth Oracle")  (ai_special,facing=guardian,ne)}
        [+unit]
            profile=portraits/oracle4.png
        [/unit]
        # wmllint: recognize First Oracle
        # wmllint: recognize Second Oracle
        # wmllint: recognize Third Oracle
        # wmllint: recognize Fourth Oracle
    [/side]

    [story]
        [part]
            story = _ "This is the true story of Delfador the Great from his humble beginnings; the tale of how he became the most famous and powerful of all the mages of Wesnoth."
        [/part]
        [part]
            story = _ "It begins on the Isle of Alduin, at the Academy which trains mages from throughout the Great Continent."
        [/part]
        [part]
            story = _ "After ten years of training, two tests stand between that apprentice and attainment of the degree of Mage:"
        [/part]
        [part]
            story = _ " The New Mage Ceremony"
        [/part]
        [part]
            story = _ " and"
        [/part]
        [part]
            story = _ " The Name Journey"
        [/part]
    [/story]

    [event]
        name=prestart

        [unit]
            {METHOR}
            facing=nw
            side=1
            x,y=18,15
        [/unit]
    [/event]

    [event]
        name=start
        [message]
            speaker=narrator
            message = _ "Academy of Magic, Isle of Alduin."
            image=wesnoth-icon.png
        [/message]
        # wmllint: local spelling thorum restro targa
        [message]
            speaker=narrator
            message = _ " ...thorum restro targa thorum... "
            image=items/brazier-lit1.png
        [/message]
        [message]
            speaker=Marshal
            message = _ "Come, O aspirant. The Oracles await you."
        [/message]

        # Delfador's entrance
        [redraw][/redraw]
        [delay]
            time=500
        [/delay]
        {MOVE_UNIT id=Delfador 8 11}
        [redraw][/redraw]
        [delay]
            time=500
        [/delay]

        [message]
            speaker=narrator
            message = _ " ...thorum restro targa thorum... "
            image=items/brazier-lit1.png
        [/message]
        # wmllint: local spelling del dor
        [message]
            speaker=First Oracle
            message = _ "The time of peace is passing. Chaos is rising; evil is rooted in the land's very heart. Darkness is coming soon. The world will be changed. And you will be among the champions of our brotherhood of mages. I give you the first syllable of power, the beginning of your name: DEL"
        [/message]
        [message]
            speaker=narrator
            message = _ " ...thorum restro targa thorum... "
            image=items/brazier-lit1.png
        [/message]
        [message]
            speaker=Second Oracle
            message = _ "You will not be least among those champions. Nay; you will be called 'The Great' before your days are through. I give you the second syllable of power, the second part of your name: FA"
        [/message]
        [message]
            speaker=narrator
            message = _ " ...thorum restro targa thorum... "
            image=items/brazier-lit1.png
        [/message]
        [message]
            speaker=Third Oracle
            message = _ "Yes. Peace is broken, but hope is not extinguished. There is always hope. And you will be the father of it. I call the power of the Bright Gods into the second part of your name. FA"
        [/message]
        [message]
            speaker=narrator
            message = _ " ...thorum restro targa thorum... "
            image=items/brazier-lit1.png
        [/message]
        [message]
            speaker=Fourth Oracle
            message = _ "After the battle, peace. After the darkness, dawn. From death springs new life. I give you the last part of your name, the final syllable of power. DOR"
        [/message]
        [message]
            speaker=narrator
            message = _ " ...thorum restro targa thorum... "
            image=items/brazier-lit1.png
        [/message]
        [message]
            speaker=Marshal
            message = _ "DELFADOR, open your eyes. And open them again!"
        [/message]

        [message]
            speaker=Delfador
            message = _ ". ."
        [/message]
        [message]
            speaker=Delfador
            message = _ "o o"
        [/message]
        [message]
            speaker=Delfador
            message = _ "O O"
        [/message]
        [message]
            speaker=Delfador
            message = _ "The light fills me!"
        [/message]
        [message]
            speaker=First Oracle
            message = _ "It is well."
        [/message]
        [message]
            speaker=Second Oracle
            message = _ "It is well."
        [/message]
        [message]
            speaker=Third Oracle
            message = _ "It is well."
        [/message]
        [message]
            speaker=Fourth Oracle
            message = _ "It is well."
        [/message]
        [message]
            speaker=Marshal
            message = _ "Now, go forth!"
        [/message]
        [message]
            speaker=Marshal
            message = _ "Your name journey begins. Methor will lead you from this place."
        [/message]

        # Methor's entrance
        [redraw][/redraw]
        [delay]
            time=500
        [/delay]
        {MOVE_UNIT id=Methor 9 10}
        [redraw][/redraw]
        [delay]
            time=500
        [/delay]

        [message]
            speaker=Methor
            message = _ "But I will not see you to its end, for that is yours alone."
        [/message]

        {MODIFY_UNIT id=Delfador facing ne}
        [redraw][/redraw]
        [delay]
            time=250
        [/delay]

        [message]
            speaker=Methor
            message = _ "Dangers and trials await us. When you have truly claimed the name you have been given, I will depart."
        [/message]
        [message]
            speaker=Delfador
            message=_"I am ready."
        [/message]

        [endlevel]
            result=victory
            linger_mode=no
            carryover_report=no

            #result=continue
        [/endlevel]
    [/event]
[/scenario]
