#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

[scenario]
    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
    theme=FullScreen

    {SCENARIO_MUSIC the_deep_path.ogg}

    {DEFAULT_SCHEDULE}

    [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]

    #wmllint: validate-off
    [side]
        side=1
        controller=human
        no_leader=yes
        save_id=Kalenz
        persistent=yes
        # wmllint: recognize Kalenz
        fog=yes
    [/side]
    #wmllint: validate-on
    [event]
        name=prestart
        [recall]
            id=Kalenz
            x=12
            y=1
        [/recall]
    [/event]
    [event]
        name=prestart

        {RECALL_LOYALS}
        # wmllint: recognize Landar
        [recall]
            id=Olurf
        [/recall]

        {CHECK_LANDAR}
        {CHECK_CLEODIL}
        {CHECK_OLURF}
    [/event]

    [event]
        name=start

        [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]
            id=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]

        {VARIABLE landar_store.x 14}
        {VARIABLE landar_store.y  1}

        [move_unit_fake]
            type=$landar_store.type
            x=10,11,12,13,14
            y=1,1,1,1,1
        [/move_unit_fake]

        [unstore_unit]
            variable=landar_store
            find_vacant=yes
        [/unstore_unit]

        {CLEAR_VARIABLE landar_store}

        [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=continue_no_save
        [/endlevel]
    [/event]
[/scenario]
