#textdomain wesnoth-nr
[scenario]
    # Basic scenario data, music, length, default time schedule
    id=stolen_gold
    name= _ "Stolen Gold"
    map_data="{campaigns/Northern_Rebirth/maps/stolen_gold.map}"
    {DEFAULT_SCHEDULE}
    turns=36
    victory_when_enemies_defeated=yes
    next_scenario=eastern_flank

    {INTRO_AND_SCENARIO_MUSIC "the_king_is_dead.ogg" "northerners.ogg"}
    {EXTRA_SCENARIO_MUSIC "frantic.ogg"}
    {EXTRA_SCENARIO_MUSIC "casualties_of_war.ogg"}
    {EXTRA_SCENARIO_MUSIC "knolls.ogg"}

    # Story with few branches depending on whether Eryssa is alive and hostile
    # towards the Alliance.
    # wmllint: recognize Eryssa
    # wmllint: local spelling priss
    [story]
        [part]
            story= _ "Puzzled by the presence of trolls so close to the dwarvish defenses, the party quickly made their way back to Knalga."
            music=sad.ogg
        [/part]
        [part]
            story= _ "Upon arriving there something seemed to be wrong. Instead of being hailed boisterously by the Dwarves as they usually were, they were met by silent guards with downcast eyes."
        [/part]
        [part]
            story= _ "Fearing the worst, Tallin rushed to find Hamel who also couldn't bear to meet his eyes."
        [/part]
        [part]
            story= _ "Hamel, what is wrong!? Why is everyone acting so strangely?"
            background=portraits/Tallin.png
        [/part]
        [part]
            story= _ "We are deeply ashamed of ourselves, Tallin. We ha' failed the trust that ye gave us."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "What do you mean?"
            background=portraits/Tallin.png
        [/part]
        [part]
            story= _ "Yer gold, Tallin, we ha' failed to protect it."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "My gold!? Why what happened? Start from the beginning. "
            background=portraits/Tallin.png
        [/part]
        [part]
            story= _ "No sooner had ye left then the orcs once again launched a massive assault."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "Such a massive and fierce assault it was that we had to call upon all our reserves. When that proved insufficient, we had nae other choice then to call some men off the other defenses."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "It was a ploy. Nae sooner ha' we thinned the ranks of the northern defenders then a small, hardened group of trolls smashed through the defenses and made their way straight for your gold."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "We beat them back, but not before they made off with your entire stock of gold."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "I am sorry, Tallin, we did all that we could. I would we could ha' done more."
            background=portraits/Hamel.png
        [/part]
        [part]
            story= _ "Oh no! Rakshas will raise many troops with that gold!"
            background=portraits/Tallin.png
        [/part]
        [part]
            story= _ "Aye. Well I ken it, Tallin."
            background=portraits/Hamel.png
        [/part]
        # Eryssa alive and friendly
        [if]
            [variable]
                name=eryssa_hostile
                equals=no
            [/variable]
            [then]
                [part]
                    story= _ "Were you able to pursue them?"
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "Och, we tried, Tallin, but with the orcs still pressing our southern defenses and other groups of trolls trying to break through everywhere, we simply ha' not the manpower."
                    background=portraits/Hamel.png
                [/part]
                [part]
                    story= _ "How long ago did the trolls make off with the gold?"
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "It couldna' been more then a day now."
                    background=portraits/Hamel.png
                [/part]
                [part]
                    story= _ "Then we shall pursue them. Even if we don't catch them, we might be able to hit Rakshas before he has had a chance to put all that gold to good use."
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "Hamel, rally the dwarves and prepare to mount an all-out offensive against the orcs. It's time to give them some of their own."
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "We will follow the trail of the trolls; it should lead us back to Rakshas."
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "Eryssa, what news of the elves?"
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "Our gryphons have reached them. They are no more then a few days march from us."
                    background=portraits/Eryssa.png
                [/part]
                [part]
                    story= _ "I will send another message to them asking them to send out scouts to locate the trolls who took your gold. Mayhap the elves will be able to get between the trolls and their allies."
                    background=portraits/Eryssa.png
                [/part]
                [part]
                    story= _ "So it shall be. Hamel, when I make contact with the orcs I'll send you a message. When you get it, come at all speed. It is near time for the battle that will decide all."
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "The axes and hammers o' every dwarf thirst for the blood of the orcs!"
                    background=portraits/Hamel.png
                [/part]
                [part]
                    story= _ "Alright, let's move out, people!"
                    background=portraits/Tallin.png
                [/part]
                [part]
                    story= _ "Thus the party set off to the northern tunnels to pursue the trolls."
                [/part]
                [part]
                    story= _ "They met but light resistance all along the trail of the trolls, which they quickly overcame."
                [/part]
                [part]
                    story= _ "Soon, the trail began to lead east, and then south. A few hours later the party emerged from the tunnels into dawn's early light."
                [/part]
            [/then]
            # Eryssa dead or hostile
            [else]
                [if]
                    [variable]
                        name=eryssa_hostile
                        equals=yes
                    [/variable]
                    # Eryssa is dead
                    [else]
                        [part]
                            story= _ "This isn't looking good. Not only do we fail to get the princess but now we lost all of our gold! Seriously Hamel, I don't know if we're gonna make it."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "Don't give in to despair, Tallin. At least you prevented the orcs from getting the ransom money."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "Yeah, they ran off with all the rest of our gold instead."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "Snap out of it Tallin! We are not in control of fate. We will do all we can to the best of our ability and leave the results to the gods."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "You're right, Hamel, sorry. Were you able to pursue the trolls?"
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "We tried, Tallin, but with the orcs still pressing our southern defenses and other groups of trolls trying to break through everywhere, we simply didna' ha' the manpower."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "How long ago did the trolls make off with the gold?"
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "It couldna' ha' been more then a day now."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "Then we shall pursue them. Even if we don't catch them then we might be able to hit Rakshas before he has had a chance to put all that gold to good use."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "Hamel, rally the dwarves and prepare to mount an all-out offensive against the orcs. It's time to give them some of their own."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "We will follow the trail of the trolls; that should lead us to Rakshas."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "It is well thought. May the Bright Gods be with you."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "Alright people, let's move out!"
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "Thus the party set off to the northern tunnels to pursue the trolls."
                        [/part]
                        [part]
                            story= _ "They met but light resistance all along the trail of the trolls, which they quickly overcame."
                        [/part]
                        [part]
                            story= _ "Soon, the trail began to lead east, and then south. A few hours later the party emerged from the tunnels into dawn's early light."
                        [/part]
                    [/else]
                    # Hostile
                    [then]
                        [part]
                            story= _ "See, you wretched human! At least now you will appreciate the generosity of the elves."
                            background=portraits/Eryssa.png
                        [/part]
                        [part]
                            story= _ "Shut up, you little snot! If it wasn't for you we wouldn't have lost our gold in the first place!"
                            background=portraits/Arthian.png
                        [/part]
                        [part]
                            story= _ "I wasn't talking to you, lich! Learn to keep your mouth shut."
                            background=portraits/Eryssa.png
                        [/part]
                        [part]
                            story= _ "Who is this annoying chit?"
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "This is the famous and benevolent princess Eryssa, in whose rescue we sacrificed many lives and MUCH gold."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "That's it! I have had enough from you worthless rabble. I will soon send a rider with the promised gold, and in the meantime, I'm leaving!"
                            background=portraits/Eryssa.png
                        [/part]
                        [part]
                            story= _ "Begone and good riddance, brat!"
                            background=portraits/Arthian.png
                        [/part]
                        [part]
                            story= _ "Back to the issue of the stolen gold, were you able to pursue the trolls?"
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "We tried, Tallin, but with the orcs still pressing our southern defenses and other groups of trolls trying to break through everywhere, we simply didna' ha' the manpower."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "How long ago did the trolls make off with the gold?"
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "It couldna' ha' been more then a day now."
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "Then we shall pursue them. Even if we don't catch them then we might be able to hit Rakshas before he has had a chance to put all that gold to good use."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "Hamel, rally the dwarves and prepare to make an all-out offensive against the orcs. It's time to give them some of their own."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "We will follow the trail of the trolls, which, lead us back to Rakshas..."
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "It is well thought. The axes and hammers of every dwarf thirst for the blood of the orcs!"
                            background=portraits/Hamel.png
                        [/part]
                        [part]
                            story= _ "Alright, let's move out people!"
                            background=portraits/Tallin.png
                        [/part]
                        [part]
                            story= _ "Thus the party set off to the northern tunnels to pursue the trolls."
                        [/part]
                        [part]
                            story= _ "They met but light resistance all along the trail of the trolls, which they quickly overcame."
                        [/part]
                        [part]
                            story= _ "Soon, the trail began to lead east, and then south. A few hours later the party emerged from the tunnels into dawn's early light."
                        [/part]
                    [/then]
                [/if]
            [/else]
        [/if]
        [part]
            show_title=yes
            {TO_STOLEN_GOLD}
        [/part]
    [/story]

    # Players side
    [side]
        type=Lieutenant
        id=Tallin
        name=_ "Tallin"
        canrecruit=yes
        side=1
        controller=human
        recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Gryphon,Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Ulfserker,Dwarvish Scout,Footpad
        team_name=alliance
        user_team_name=_"Alliance"
        gold=200
    [/side]

    # Opposing AIs, pretty developed [ai] tag causes them to act stupid,
    # aggressive, ignore villages, and target Tallin
    [side]
        type=Troll Warrior
        id=Tor
        name= _ "Tor"
        canrecruit=yes
        side=2
        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        user_team_name=_"Trolls"

        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            village_value=0.0
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=fighter,fighter,mixed fighter

            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Troll Warrior
        id=Bor
        name= _ "Bor"
        canrecruit=yes
        side=3
        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        user_team_name=_"Trolls"
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            village_value=0.0
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=fighter,fighter,mixed fighter

            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Troll Warrior
        id=Oof
        name= _ "Oof"
        canrecruit=yes
        side=4
        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        user_team_name=_"Trolls"
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            village_value=0.0
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=fighter,fighter,mixed fighter

            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    [side]
        type=Troll Warrior
        id=Glu
        name= _ "Glu"
        canrecruit=yes
        side=5

        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        user_team_name=_"Trolls"
        [ai]
            simple_targeting=yes
            recruitment_ignore_bad_combat=yes
            recruitment_ignore_bad_movement=yes
            aggression=1.0
            caution=-5.0
            attack_depth=5
            village_value=0.0
            leader_value=50.0
            villages_per_scout=0.0
            recruitment_pattern=fighter,fighter,mixed fighter

            [target]
                id=Tallin
                value=500
            [/target]
        [/ai]
    [/side]

    # Side for arriving elves, no leader, but gold and recruit list since Hindel can recruit
    [side]
        side=6
        no_leader=yes
        {GOLD4 300 250 200 150}
        recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout
        team_name=alliance
        user_team_name=_"Alliance"
    [/side]

    # Side for Krash, no leader but gold and recruit lits since Krash will be able to recruit
    [side]
        side=7
        no_leader=yes
        {GOLD4 300 250 200 150}
        recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
        team_name=alliance
        user_team_name=_"Alliance"
        controller=human
        save_id=Krash
    [/side]

    # Prestart event - map setup
    [event]
        name=prestart

        [if]
            [variable]
                name=eryssa_hostile
                equals=yes
            [/variable]

            [then]
                [kill]
                    id=Eryssa
                    fire_event=no
                [/kill]
            [/then]
        [/if]

        {PLACE_IMAGE scenery/dwarven-doors-closed.png 18 12}
    [/event]

    # Start event - recall heroes, set objectives, do the talk
    [event]
        name=start

        {RECALL_SUPPORTER}
        [recall]
            id=Abhai
        [/recall]
        [recall]
            id=Camerin
        [/recall]
        [recall]
            id=Father Morvin
        [/recall]
        [recall]
            id=Sister Thera
        [/recall]
        [recall]
            id=Krash
        [/recall]
        [recall]
            id=Elenia
        [/recall]
        [recall]
            id=Eryssa
        [/recall]
        [recall]
            id=Stalrag
        [/recall]
        [recall]
            id="Ro'Arthian"
        [/recall]
        [recall]
            id="Ro'Sothian"
        [/recall]

        [message]
            speaker=narrator
            message= _ "Upon emerging from the tunnels, the party found themselves surrounded."
            image=wesnoth-icon.png
        [/message]
        [message]
            speaker=Tor
            message= _ "Haha, suckers! We got you now!"
        [/message]
        [message]
            speaker=Bor
            message= _ "Hahaha! They walked right into our trap."
        [/message]
        [message]
            speaker=Glu
            message= _ "And we have already sent the gold ahead to the Master!"
        [/message]
        [message]
            speaker=Oof
            message= _ "Now let's make mush out of these puny creatures!"
        [/message]
        [message]
            role=Supporter
            message= _ "Oh no, we are surrounded!"
        [/message]
        [message]
            speaker=Tallin
            # This is an approximate quote from an Anglo-Saxon heroic poem
            # the Lay of Beorthnoth.  Tranlate appropriately.
            message= _ "Courage shall be the harder, heart the keener, and our spirit greater as our strength lessens. Kill them all!"
        [/message]
        [message]
            speaker=Camerin
            # wmllint: local spelling Yeeeahhhh
            message= _ "Yeeeahhhh! I like it!"
        [/message]
        [objectives]
            side=1
            [objective]
                description= _ "Defeat the enemy leaders or"
                condition=win
            [/objective]
            [objective]
                description= _ "Resist as long as you can"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Tallin"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Ro'Arthian"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Ro'Sothian"
                condition=lose
            [/objective]
        [/objectives]
    [/event]

    # Turn 2 - Krash smells other drakes and leaves. If he's allive at this point.
    [event]
        name=turn 2

        [if]
            [have_unit]
                id=Krash
            [/have_unit]

            [then]
                [message]
                    speaker=Krash
                    message= _ " *sniff sniff*"
                [/message]
                [message]
                    speaker=Camerin
                    message= _ "What's up big guy?"
                [/message]
                [message]
                    speaker=Krash
                    message= _ " *flap flap flap*"
                [/message]
                [store_unit]
                    [filter]
                        id=Krash
                    [/filter]
                    variable=krash_flies_away
                    kill=yes
                    fire_event=no
                [/store_unit]
                {VARIABLE krash_flies_away.side 7}
                {VARIABLE krash_flies_away.x 3}
                {VARIABLE krash_flies_away.y 15}
                {VARIABLE krash_flies_away.canrecruit yes}
                [move_unit_fake]
                    type=$krash_flies_away.type
                    side=7
                    x=13,12,11,10,9,8,7,6,5,4,3,2,1
                    y=15,15,15,15,15,15,15,15,15,15,15,15,15
                [/move_unit_fake]
                [message]
                    role=Supporter
                    message= _ "Hey! Where is he going?"
                [/message]
                [message]
                    speaker=Camerin
                    message= _ "Krash man, you are gonna miss all the fun!"
                [/message]
                [message]
                    speaker=Father Morvin
                    message= _ "I think he has decided that it is time for him to part ways with us."
                [/message]
                [message]
                    speaker=Tallin
                    message= _ "Such a fierce yet gentle creature. He will be sorely missed."
                [/message]
                [message]
                    speaker=Sister Thera
                    message= _ "Farewell, Krash, may the Lords of Light guide your path."
                [/message]
            [/then]
        [/if]
    [/event]

    # Turn 7 - Krash get's back. With friends. If he was alive earlier that is.
    [event]
        name=turn 7

        [if]
            [variable]
                name=krash_flies_away.length
                equals=1
            [/variable]
            [then]
                [move_unit_fake]
                    type=$krash_flies_away.type
                    side=7
                    x=1,2
                    y=15,14
                [/move_unit_fake]
                [unstore_unit]
                    variable=krash_flies_away
                    find_vacant=yes
                [/unstore_unit]
                [move_unit_fake]
                    type=Drake Burner
                    side=7
                    x=1,2
                    y=14,13
                [/move_unit_fake]
                [unit]
                    type=Drake Burner
                    side=7
                    id=Singe
                    name= _ "Singe"
                    x=3
                    y=14
                    [modifications]
                        {TRAIT_LOYAL}
                        {TRAIT_RESILIENT}
                    [/modifications]
                    {IS_LOYAL}
                [/unit]
                [move_unit_fake]
                    type=Drake Fighter
                    side=7
                    x=1,2
                    y=16,15
                [/move_unit_fake]
                [unit]
                    type=Drake Fighter
                    id="Bak'man"
                    name= _ "Bak'man"
                    side=7
                    id=Halk
                    x=3
                    y=15
                    [modifications]
                        {TRAIT_LOYAL}
                        {TRAIT_STRONG}
                    [/modifications]
                    {IS_LOYAL}
                [/unit]
                {CLEAR_VARIABLE krash_flies_away}
                [message]
                    speaker=Sister Thera
                    message= _ "Hey! Look who's back!"
                [/message]
                [message]
                    role=Supporter
                    message= _ "And look, he brought his friends too!"
                [/message]
                [message]
                    speaker=Halk
                    message= _ "GRRRRRRR!"	# wmllint: no spellcheck
                [/message]
                [message]
                    speaker=Singe
                    message= _ "ROOOAAARRRR!!!"	# wmllint: no spellcheck
                [/message]
                [message]
                    speaker=Krash
                    message= _ "Hurry, friends, let's set up camp!"
                [/message]
                [message]
                    speaker=Camerin
                    message= _ "Yeah, man! I knew we could count on you!"
                [/message]
                [message]
                    speaker=Father Morvin
                    message= _ "Hmmm, he must have smelled the scent of other drakes and gone to them to convince them to help us."
                [/message]
                [message]
                    speaker=Sister Thera
                    message= _ "Awww, what a darling!"
                [/message]
                [message]
                    role=Supporter
                    message= _ "Tell that to the trolls."
                [/message]
                [message]
                    speaker=Oof
                    message= _ "What! Drakes! Fire! Ahhhhhh!"
                [/message]
                [message]
                    speaker=Glu
                    message= _ "Shut your mouth, you coward!"
                [/message]
                [terrain]
                    x=3
                    y=15
                    terrain=Ke
                [/terrain]
                [terrain]
                    x=3,3,2,4,4
                    y=14,16,15,15,14
                    terrain=Ce
                [/terrain]
                [objectives]
                    side=7
                    [objective]
                        description= _ "Help Tallin defeat the enemy leaders or"
                        condition=win
                    [/objective]
                    [objective]
                        description= _ "Resist as long as you can"
                        condition=win
                    [/objective]

                    [objective]
                        description= _ "Death of Tallin"
                        condition=lose
                    [/objective]
                    [objective]
                        description= _ "Death of Ro'Arthian"
                        condition=lose
                    [/objective]
                    [objective]
                        description= _ "Death of Ro'Sothian"
                        condition=lose
                    [/objective]
                [/objectives]
            [/then]
        [/if]
    [/event]

    # Elven reinforcements or gold arrive.
    [event]
        name=turn 18

        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [move_unit_fake]
                    type=Elvish Marshal
                    side=6
                    x=30,29,28
                    y=15,15,15
                [/move_unit_fake]
                [unit]
                    id=Hidel
                    type=Elvish Marshal
                    name= _ "Hidel"
                    canrecruit=yes
                    x=28
                    y=15
                    side=6
                [/unit]
                [move_unit_fake]
                    type=Elvish Fighter
                    side=6
                    x=30,29,28
                    y=14,14,14
                [/move_unit_fake]
                {GENERIC_UNIT 6 "Elvish Fighter" 28 14}
                [move_unit_fake]
                    type=Elvish Fighter
                    side=6
                    x=30,29,28
                    y=13,13,13
                [/move_unit_fake]
                {GENERIC_UNIT 6 "Elvish Fighter" 28 13}
                [move_unit_fake]
                    type=Elvish Archer
                    side=6
                    x=30,29,28
                    y=16,16,16
                [/move_unit_fake]
                {GENERIC_UNIT 6 "Elvish Archer" 28 16}
                [move_unit_fake]
                    type=Elvish Shaman
                    side=6
                    x=30,29
                    y=15,16
                [/move_unit_fake]
                {GENERIC_UNIT 6 "Elvish Shaman" 29 16}
                [message]
                    speaker=Hidel
                    message= _ "Princess! We have finally found you!"
                [/message]
                [message]
                    speaker=Eryssa
                    message= _ "Good work, Hidel! How do your forces march?"
                [/message]
                [message]
                    speaker=Hidel
                    message= _ "They are all here, princess! Hand picked by your father - the finest and bravest elvish troops in the entire Northlands. We will follow you to the end of the world if need be."
                [/message]
                [message]
                    speaker=Eryssa
                    message= _ "Very good. Or first task is to give brave Tallin here full support in defeating these trolls."
                [/message]
                [message]
                    speaker=Hidel
                    message= _ "With pleasure, Princess! Quickly men, set up a base!"
                [/message]
                [terrain]
                    x=28
                    y=15
                    terrain=Ke
                [/terrain]
                [terrain]
                    x=28,28,29,27,27
                    y=14,16,16,16,15
                    terrain=Ce
                [/terrain]
                [message]
                    speaker=Oof
                    message= _ "Oh no! Those blasted elves have just joined forces with the humans! This is hopeless! Flee! Flee!"
                [/message]
                [message]
                    speaker=Tallin
                    message= _ "Hmmm, should we let the trolls run away or should we finish them now?"
                    [option]
                        message= _ "Hey! Stand your ground, you cowards!"
                        [command]
                            [message]
                                speaker=Bor
                                message= _ "You are a fool, human! We shall crush and destroy you!"
                            [/message]
                            [objectives]
                                side=6
                                [objective]
                                    description= _ "Help Tallin defeat the enemy leaders"
                                    condition=win
                                [/objective]
                                [objective]
                                    description= _ "Death of Tallin"
                                    condition=lose
                                [/objective]
                                [objective]
                                    description= _ "Death of Ro'Arthian"
                                    condition=lose
                                [/objective]
                                [objective]
                                    description= _ "Death of Ro'Sothian"
                                    condition=lose
                                [/objective]
                                [objective]
                                    description= _ "Turns run out"
                                    condition=lose
                                [/objective]
                            [/objectives]
                        [/command]
                    [/option]
                    [option]
                        message= _ "Haha! Look at them run!"
                        [command]
                            [endlevel]
                                result=victory
                                bonus=yes
                            [/endlevel]
                        [/command]
                    [/option]
                [/message]
            [/then]
            [else]
                [if]
                    [variable]
                        name=eryssa_hostile
                        equals=yes
                    [/variable]
                    [then]
                        [move_unit_fake]
                            type=Elvish Outrider
                            side=6
                            x=30,29,28
                            y=15,15,15
                        [/move_unit_fake]
                        [unit]
                            id=Himadrin
                            type=Elvish Outrider
                            name= _ "Himadrin"
                            x=28
                            y=15
                            side=6
                        [/unit]
                        [message]
                            speaker=Himadrin
                            message= _ "Which one of you rabble is Tallin?"
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "I am."
                        [/message]
                        [message]
                            speaker=Himadrin
                            message= _ "Princess Eryssa sends you this gold along with the order to stay clear of any Northern Elf if you know what's good for you."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "Why? What did I ever do to the Northern Elves?"
                        [/message]
                        [message]
                            speaker=Himadrin
                            message= _ "The ill treatment that she received while in your care is an insult to every Northern Elf. Consequently if you, or any of your henchmen show your face around us ever again, you will be shot on sight."
                        [/message]
                        [gold]
                            amount=1500
                            side=1
                        [/gold]
                        [message]
                            speaker=Tallin
                            message= _ "Tell the princess to get off her high horse and stop acting like such a priss!"
                        [/message]
                        [message]
                            speaker=Himadrin
                            message= _ "You dare insult our princess!"
                        [/message]
                        [message]
                            speaker="Ro'Arthian"
                            message= _ "You better get lost, elf, before we kill you."
                        [/message]
                        [message]
                            speaker=Himadrin
                            message= _ "This insult will forever be remembered by the Northern Elves! The day will soon come when your race shall regret your folly!"
                        [/message]
                        [kill]
                            id=Himadrin
                        [/kill]
                        [move_unit_fake]
                            type=Elvish Outrider
                            side=6
                            x=28,29,30
                            y=15,15,15
                        [/move_unit_fake]
                        [message]
                            speaker=Camerin
                            # wmllint: local spelling Pff,
                            message= _ "Pff, elves. What a bunch of stuck-up snots!"
                        [/message]
                        [message]
                            speaker=Oof
                            message= _ "Oh no! The elves have just given the humans a hoard of gold! This is hopeless! Flee! Flee!"
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "Hmmm, should we let the trolls run away or should we finish them now?"
                            [option]
                                message= _ "Hey! Stand your ground, you cowards!"
                                [command]
                                    [message]
                                        speaker=Bor
                                        message= _ "You are a fool, human! Watch how we will crush and destroy you!"
                                    [/message]
                                    [objectives]
                                        side=1
                                        [objective]
                                            description= _ "Defeat the enemy leaders"
                                            condition=win
                                        [/objective]
                                        [objective]
                                            description= _ "Death of Tallin"
                                            condition=lose
                                        [/objective]
                                        [objective]
                                            description= _ "Death of Ro'Arthian"
                                            condition=lose
                                        [/objective]
                                        [objective]
                                            description= _ "Death of Ro'Sothian"
                                            condition=lose
                                        [/objective]
                                        [objective]
                                            description= _ "Turns run out"
                                            condition=lose
                                        [/objective]
                                        note={EARLY_FINISH_BONUS_NOTE}
                                    [/objectives]
                                [/command]
                            [/option]
                            [option]
                                message= _ "Haha! Look at them run!"
                                [command]
                                    [endlevel]
                                        result=victory
                                        bonus=yes
                                    [/endlevel]
                                [/command]
                            [/option]
                        [/message]
                    [/then]
                [/if]
            [/else]
        [/if]
    [/event]

    # Victory - if we managed to finish before turn 18 elves arrive, otherwise we just talk a bit.
    [event]
        name=victory

        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [if]
                    [variable]
                        name=turn_number
                        greater_than=17
                    [/variable]
                    [then]
                        [message]
                            speaker=Tallin
                            message= _ "Pew, they are defeated at last."
                        [/message]
                        [message]
                            speaker=Eryssa
                            message= _ "Hidel, let me introduce to you my savior: Tallin."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "It is an honor to meet you Tallin."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "The honor is mine, sir."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "We have heard much of your intelligence and courage. The number of humans over the centuries who have earned the respect and admiration of the Northern Elves are extremely few, but let it be known that you are one of them."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "I am honored, sir, and I hope that I will live up to the trust that the Northern Elves have bestowed upon me."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "I am sure you will Tallin. The trust of the elves is seldom misplaced."
                        [/message]
                        [message]
                            speaker="Ro'Arthian"
                            message= _ "If you guys are quite finished exchanging pleasantries..."
                        [/message]
                        [message]
                            speaker="Ro'Sothian"
                            message= _ " *snicker*"
                        [/message]
                        [message]
                            speaker="Ro'Arthian"
                            message= _ "...the road ahead is clear and I am eager to blast some more orcs. Shall we proceed?"
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "Right. Onward men!"
                        [/message]
                    [/then]
                    [else]
                        [move_unit_fake]
                            type=Elvish Marshal
                            side=6
                            x=30,29,28
                            y=15,15,15
                        [/move_unit_fake]
                        [unit]
                            id=Hidel
                            type=Elvish Marshal
                            profile=portraits/Hidel.png
                            name= _ "Hidel"
                            x=28
                            y=15
                            side=6
                            canrecruit=yes
                        [/unit]
                        [move_unit_fake]
                            type=Elvish Avenger
                            side=6
                            x=30,29,28
                            y=14,14,14
                        [/move_unit_fake]
                        [unit]
                            type=Elvish Avenger
                            x=28
                            y=14
                            side=6
                            id=Sisal
                            name= _ "Sisal"
                        [/unit]
                        [move_unit_fake]
                            type=Elvish Fighter
                            side=6
                            x=30,29,28
                            y=13,13,13
                        [/move_unit_fake]
                        {GENERIC_UNIT 6 "Elvish Fighter" 28 13}
                        [move_unit_fake]
                            type=Elvish Archer
                            side=6
                            x=30,29,28
                            y=16,16,16
                        [/move_unit_fake]
                        {GENERIC_UNIT 6 "Elvish Archer" 28 16}
                        [move_unit_fake]
                            type=Elvish Shaman
                            side=6
                            x=30,29
                            y=15,16
                        [/move_unit_fake]
                        {GENERIC_UNIT 6 "Elvish Shaman" 29 16}
                        [message]
                            speaker=Hidel
                            message= _ "Princess! We have finally found you! Thank the Bright Gods you are free! Your father had originally sent us to rescue you."
                        [/message]
                        [message]
                            speaker=Eryssa
                            message= _ "Yes, or so I have heard. You honor me, but this brave man reached the mark before you."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "You must be the famous Tallin."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "At your service."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "We have heard much of your intelligence and courage. The number of humans over the centuries who have earned the respect and admiration of the Northern Elves are extremely few, but you are one of them."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "I am honored, sir, and I hope that I will live up to the trust that the Northern Elves have bestowed upon me."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "I am sure you will, Tallin. The trust of the elves is seldom misplaced. Also know that the Northern Enclaves will always be open to you."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "Thank you, sir."
                        [/message]
                        [message]
                            speaker=Eryssa
                            message= _ "What is the status of our troops, Hidel?"
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "They are all here, princess! Hand picked by your father - the finest and bravest elvish troops in the entire Northlands."
                        [/message]
                        [message]
                            speaker=Eryssa
                            message= _ "Excellent! We shall assist Tallin to the fullest in crushing the orcish host. Not only are we in debt to him but by doing so we will be serving our cause as well as we serve his."
                        [/message]
                        [message]
                            speaker=Hidel
                            message= _ "As you wish, princess."
                        [/message]
                        [message]
                            speaker=Tallin
                            message= _ "Very well, people. The road ahead is clear, onward to victory!"
                        [/message]
                    [/else]
                [/if]
            [/then]
        [/if]
        [if]
            [variable]
                name=eryssa_hostile
                equals=yes
            [/variable]
            [variable]
                name=turn_number
                less_than=18
            [/variable]
            [then]
                [move_unit_fake]
                    type=Elvish Outrider
                    side=6
                    x=30,29,28
                    y=15,15,15
                [/move_unit_fake]
                [unit]
                    id=Himadrin
                    type=Elvish Outrider
                    name= _ "Himadrin"
                    x=28
                    y=15
                    side=6
                [/unit]
                [message]
                    speaker=Himadrin
                    message= _ "Which one of you rabble is Tallin?"
                [/message]
                [message]
                    speaker=Tallin
                    message= _ "I am."
                [/message]
                [message]
                    speaker=Himadrin
                    message= _ "Princess Eryssa sends you this gold along with the order to stay clear of any Northern Elf if you know what's good for you."
                [/message]
                [message]
                    speaker=Tallin
                    message= _ "Why? What did I ever do to the Northern Elves?"
                [/message]
                [message]
                    speaker=Himadrin
                    message= _ "The ill treatment that she received while in your care is an insult to every Northern Elf. Consequently if you, or any of your henchmen show your face around us ever again, you will be shot on sight."
                [/message]
                [gold]
                    amount=1500
                    side=1
                [/gold]
                [message]
                    speaker=Tallin
                    message= _ "Tell the princess to get off her high horse and stop acting like such a priss!"
                [/message]
                [message]
                    speaker=Himadrin
                    message= _ "You dare insult our princess!"
                [/message]
                [message]
                    speaker="Ro'Arthian"
                    message= _ "You better get lost, elf, before we kill you."
                [/message]
                [message]
                    speaker=Himadrin
                    message= _ "This insult will forever be remembered by the Northern Elves! The day will soon come when your race shall regret your folly!"
                [/message]
                [kill]
                    id=Himadrin
                [/kill]
                [move_unit_fake]
                    type=Elvish Outrider
                    side=6
                    x=28,29,30
                    y=15,15,15
                [/move_unit_fake]
                [message]
                    speaker=Camerin
                    message= _ "Pff, elves. What a bunch of stuck-up snots!"
                [/message]
            [/then]
        [/if]
    [/event]

    # Load death events
    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}
[/scenario]
