#textdomain wesnoth-low

# To future editors: 'philter' is a real archaic word in English meaning a
# potion with magical effects. Do *not* change it to 'filter'!

### to do: make Landar dissapear
#ifdef MULTIPLAYER
[multiplayer]
    random_start_time=no
#ifndef DEBUG_MODE
    allow_new_game=no
#endif
#else
    [scenario]
#endif

        name= _ "News from the Front"
        id=13_News_from_the_Front
        {LOW_MAP 10_Cliffs_of_Thoria.map}
        turns=1
        snapshot=no
        next_scenario=14_Human_Alliance
        #TODO enable if that is supported again
        #theme=FullScreen

        {SCENARIO_MUSIC the_deep_path.ogg}

        {DEFAULT_SCHEDULE}

        #        {LOW_PRESTART}

        [story]
            [part]
                #TODO insert a trackplayer route back the the cliffs of thoria
                story= _ "With Crelanu’s book in hand, Kalenz and his band began the long journey south to the Ka’lian..."
            [/part]
        [/story]

        [side]
            {KALENZ}
            # wmllint: recognize Kalenz
            fog=yes
            share_view=yes
            x=12
            y=1
            team_name=player
#ifndef MULTIPLAYER
            [unit]
                {LANDAR}
                # wmllint: recognize Landar
                placement=leader
            [/unit]
            [unit]
                {CLEODIL}
                # wmllint: recognize Cleodil
                placement=leader
            [/unit]
            [unit]
                {OLURF}
                # wmllint: recognize Olurf
                placement=leader
            [/unit]
#endif
        [/side]

#ifdef MULTIPLAYER
        [side]
            side=2
            {LANDAR}
            x=11
            y=1
            fog=yes
            share_view=yes
            team_name=player
        [/side]

        [side]
            side=3
            {OLURF}
            x=11
            y=1
            fog=yes
            share_view=yes
            team_name=player
        [/side]

        [side]
            side=4
            {CLEODIL}
            x=11
            y=1
            fog=yes
            share_view=yes
            team_name=player
        [/side]
#endif

        [event]
            name=side 1 turn 1

#ifdef MULTIPLAYER
            {GET_PERSISTENT_RECALLS_FROM4 1 2 3 4 LoW_Chapter_One kalenz}
            {GET_PERSISTENT_GOLD_FROM4 1 2 3 4 LoW_Chapter_One kalenz_gold}
            {GET_PERSISTENT_RECALLS_FROM4 2 1 3 4 LoW_Chapter_One landar}
            {GET_PERSISTENT_GOLD_FROM4 2 1 3 4  LoW_Chapter_One landar_gold}
            {GET_PERSISTENT_RECALLS_FROM4 3 1 2 4 LoW_Chapter_One olurf}
            {GET_PERSISTENT_GOLD_FROM4 3 1 2 4  LoW_Chapter_One olurf_gold}
            {GET_PERSISTENT_RECALLS_FROM4 4 1 2 3 LoW_Chapter_One cleodil}
            {GET_PERSISTENT_GOLD_FROM4 4 1 2 3  LoW_Chapter_One landar_cleodil}
#endif

            #TODO recall or create if not recallable

            {RECALL_LOYALS}

            [message]
                id=Landar
                message= _ "Oh, no, I forgot my dose of Crelanu’s invisibility philter. I’ll go back and get it. I’ll catch up with you later!"
            [/message]
            [message]
                id=Olurf
                message= _ "Maybe some of my dwarves can escort you..."
            [/message]
            [message]
                id=Kalenz
                message= _ "Go, Landar, but be careful. We need you."
            [/message]

            [store_unit]
                variable=landar_store
                kill=yes
                [filter]
                    id=Landar
                [/filter]
            [/store_unit]

            [message]
                speaker=narrator
                image="wesnoth-icon.png"
                message= _ "Some weeks later, as Kalenz and his companions were working their way southwards from the high peaks of the Heart Mountains into its foothills..."
            [/message]

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

            [move_unit_fake]
                type=Elvish Scout
                x=10,11,12,13,14,15
                y=9,8,7,6,5,4
            [/move_unit_fake]

            [unit]
                id=Eonihar
                name=_ "Eonihar"
                type=Elvish Scout
                side=1
                x=15
                y=4
                facing=sw
            [/unit]

            [message]
                id=Eonihar
                message= _ "At last I have found, you alive and well! We need you back at once! The orcs have attacked the humans."
            [/message]
            [message]
                id=Kalenz
                message= _ "This means we are safe for the time being, no?"
            [/message]
            [message]
                id=Eonihar
                message= _ "What’s more, King Haldric is dead. His successor wants to renew the treaty of alliance and has asked for our help."
            [/message]

            [unstore_unit]
                variable=landar_store
                find_vacant=yes
                x=10
                y=1
            [/unstore_unit]

            {CLEAR_VARIABLE landar_store}

            [move_unit]
                id=Landar
                to_x=14
                to_y=1
            [/move_unit]

            [message]
                id=Landar
                message= _ "How convenient! Now they need our help, they come running!"
            [/message]
            [message]
                id=Kalenz
                message= _ "Landar! You’re back! All is well?"
            [/message]
            [message]
                id=Landar
                message= _ "Yes, I have the philter of invisibility."
            [/message]
            [message]
                id=Kalenz
                message= _ "We face a difficult choice. I know humans did not help us when the orcs attacked, but the orcs are everybody’s enemy. When humans fall, we’ll be next."
            [/message]
            [message]
                id=Eonihar
                message= _ "The orcish forces are encamped south of the Great River, and have surrounded the fortified human settlement at Tath. The humans are sending all their forces there. We need to decide whether we will help them or not."
            [/message]
            [message]
                id=Kalenz
                message= _ "Go tell the council and the human king that we will be there! Now, let’s hurry!"
            [/message]
            [kill]
                id=Eonihar
            [/kill]
            [endlevel]
                result=victory
                bonus=no
                linger_mode=no
                carryover_report=no
                carryover_percentage=100
            [/endlevel]
        [/event]
#ifndef MULTIPLAYER
    [/scenario]
#else
[/multiplayer]
#endif
