#textdomain wesnoth-nr

#define DEBT_PAYMENT

    [move_unit_fake]
        type=Elvish Outrider
        side=6
        x=30,29,28
        y=15,15,15
    [/move_unit_fake]

    [unit]
        description=Himadrin
        type=Elvish Outrider
        user_description= _ "Himadrin"
        x=28
        y=15
        side=6
    [/unit]

    [message]
        description=Himadrin
        message= _ "Which one of you rabble is Tallin?"
    [/message]

    [message]
        description=Tallin
        message= _ "I am."
    [/message]

    [message]
        description=Himadrin
        message= _ "Princess Anita 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]
        description=Tallin
        message= _ "Why? What did I ever do to the Northern Elves?"
    [/message]

    [message]
        description=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]
        description=Tallin
        message= _ "Tell the princess to get of her high horse and stop acting like such a priss!"
    [/message]

    [message]
        description=Himadrin
        message= _ "You dare insult our princess!"
    [/message]

    [message]
        description="Ro'Arthian"
        message= _ "You better get lost, elf, before we kill you."
    [/message]

    [message]
        description=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]
        description=Himadrin
    [/kill]

    [move_unit_fake]
        type=Elvish Outrider
        side=6
        x=28,29,30
        y=15,15,15
    [/move_unit_fake]

    [message]
        description=Camerin
        message= _ "Pff, elves. What a bunch of stuck-up snots!"
    [/message]

#enddef

[scenario]
    id=stolen_gold
    name= _ "Stolen Gold"
    {SCENARIO_MUSIC "northerners.ogg"}
    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}

    [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=nr-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.jpg
        [/part]

        [part]
            story= _ "We are deeply ashamed of ourselves, Tallin. We ha' failed the trust that ye gave us."
            background=portraits/Hamel.jpg
        [/part]

        [part]
            story= _ "What do you mean?"
            background=portraits/Tallin.jpg
        [/part]

        [part]
            story= _ "Yer gold, Tallin, we ha' failed to protect it."
            background=portraits/Hamel.jpg
        [/part]

        [part]
            story= _ "My gold!? Why what happened? Start from the beginning. "
            background=portraits/Tallin.jpg
        [/part]

        [part]
            story= _ "No sooner had ye left then the orcs once again launched a massive assault."
            background=portraits/Hamel.jpg
        [/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.jpg
        [/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.jpg
        [/part]

        [part]
            story= _ "We beat them back, but not before they made off with your entire stock of gold."
            background=portraits/Hamel.jpg
        [/part]

        [part]
            story= _ "I am sorry, Tallin, we did all that we could. I would we could ha' done more."
            background=portraits/Hamel.jpg
        [/part]

        [part]
            story= _ "Oh no! Rakshas will raise many troops with that gold!"
            background=portraits/Tallin.jpg
        [/part]

        [part]
            story= _ "Aye. Well I ken it, Tallin."
            background=portraits/Hamel.jpg
        [/part]

        [if]
            [variable]
                name=all_is_well
                numerical_equals=1
            [/variable]

            [then]
                [part]
                    story= _ "Were you able to pursue them?"
                    background=portraits/Tallin.jpg
                [/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.jpg
                [/part]

                [part]
                    story= _ "How long ago did the trolls make off with the gold?"
                    background=portraits/Tallin.jpg
                [/part]

                [part]
                    story= _ "It couldna' been more then a day now."
                    background=portraits/Hamel.jpg
                [/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.jpg
                [/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.jpg
                [/part]

                [part]
                    story= _ "We will follow the trail of the trolls; it should lead us back to Rakshas."
                    background=portraits/Tallin.jpg
                [/part]

                [part]
                    story= _ "Anita, what news of the elves?"
                    background=portraits/Tallin.jpg
                [/part]

                [part]
                    story= _ "Our gryphons have reached them. They are no more then a few days march from us."
                    background=portraits/Anita.jpg
                [/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/Anita.jpg
                [/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.jpg
                [/part]

                [part]
                    story= _ "The axes and hammers o' every dwarf thirst for the blood of the orcs!"
                    background=portraits/Hamel.jpg
                [/part]

                [part]
                    story= _ "Alright, let's move out, people!"
                    background=portraits/Tallin.jpg
                [/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]

            [else]
                [if]
                    [variable]
                        name=Anita_is_dead
                        numerical_equals=1
                    [/variable]

                    [then]
                        [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.jpg
                        [/part]

                        [part]
                            story= _ "Don't give in to despair, Tallin. At least you prevented the orcs from getting the ransom money."
                            background=portraits/Hamel.jpg
                        [/part]
                        [part]
                            story= _ "Yeah, they ran off with all the rest of our gold instead."
                            background=portraits/Tallin.jpg
                        [/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.jpg
                        [/part]

                        [part]
                            story= _ "You're right, Hamel, sorry. Were you able to pursue the trolls?"
                            background=portraits/Tallin.jpg
                        [/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.jpg
                        [/part]

                        [part]
                            story= _ "How long ago did the trolls make off with the gold?"
                            background=portraits/Tallin.jpg
                        [/part]

                        [part]
                            story= _ "It couldna ha' been more then a day now."
                            background=portraits/Hamel.jpg
                        [/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.jpg
                        [/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.jpg
                        [/part]

                        [part]
                            story= _ "We will follow the trail of the trolls; that should lead us to Rakshas."
                            background=portraits/Tallin.jpg
                        [/part]

                        [part]
                            story= _ "It is well thought. May the Mountain Gods be with you."
                            background=portraits/Hamel.jpg
                        [/part]

                        [part]
                            story= _ "May the Lords of Light guide your path. Alright people, let's move out!"
                            background=portraits/Tallin.jpg
                        [/part]

                        [part]
                            story= _ "Thus the party set off to the northern tunnels to pursue the trolls."
                        [/part]

                        [part]
                            story= _ "They met light resistance 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 latter the party emerged from the tunnels into dawn's early light."
                        [/part]
                    [/then]

                    [else]
                        [part]
                            story= _ "See, you wretched human! At least now you will appreciate the generosity of the elves."
                            background=portraits/Anita.jpg
                        [/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.jpg
                        [/part]

                        [part]
                            story= _ "I wasn't talking to you lich! Learn to keep your mouth shut."
                            background=portraits/Anita.jpg
                        [/part]

                        [part]
                            story= _ "Who is this annoying chit?"
                            background=portraits/Hamel.jpg
                        [/part]

                        [part]
                            story= _ "This is the famous and benevolent princess Anita, in whose rescue we sacrificed many lives and MUCH gold."
                            background=portraits/Tallin.jpg
                        [/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/Anita.jpg
                        [/part]

                        [part]
                            story= _ "Begone and good riddance, brat!"
                            background=portraits/Arthian.jpg
                        [/part]

                        [part]
                            story= _ "Back to the issue of the stolen gold, were you able to pursue the trolls?"
                            background=portraits/Tallin.jpg
                        [/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.jpg
                        [/part]

                        [part]
                            story= _ "How long ago did the trolls make off with the gold?"
                            background=portraits/Tallin.jpg
                        [/part]

                        [part]
                            story= _ "It couldna ha' been more then a day now."
                            background=portraits/Hamel.jpg
                        [/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.jpg
                        [/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.jpg
                        [/part]

                        [part]
                            story= _ "We will follow the trial of the trolls, which, lead us back to Rakshas..."
                            background=portraits/Tallin.jpg
                        [/part]

                        [part]
                            story= _ "It is well thought. The axes and hammers of every dwarf thirst for the blood of the orcs!"
                            background=portraits/Hamel.jpg
                        [/part]

                        [part]
                            story= _ "Alright, let's move out people!"
                            background=portraits/Tallin.jpg
                        [/part]

                        [part]
                            story= _ "Thus the party set off to the northern tunnels to pursue the trolls."
                        [/part]

                        [part]
                            story= _ "They met 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 latter the party emerged from the tunnels into dawn's early light."
                        [/part]
                    [/else]
                [/if]
            [/else]
        [/if]
    [/story]

    map_data="{campaigns/Northern_Rebirth/maps/stolen_gold.map}"

    {DEFAULT_SCHEDULE}

    turns=36

    victory_when_enemies_defeated=yes
    next_scenario=eastern_flank
    {PLACE_IMAGE scenery/dwarven-doors-closed.png 18 12}

    [side]
        type=Lieutenant
        description=Tallin
        user_description=_ "Tallin"
        canrecruit=yes
        side=1
        controller=human
        recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Gryphon,Dwarvish Ulfserker,Footpad
        team_name=mob
        gold=200
    [/side]

    [side]
        type=Troll Warrior
        description=Tor
        user_description= _ "Tor"
        canrecruit=yes
        side=2
        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls

        [ai]
            simple_targetting=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

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

    [side]
        type=Troll Warrior
        description=Bor
        user_description= _ "Bor"
        canrecruit=yes
        side=3
        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        [ai]
            simple_targetting=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

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

    [side]
        type=Troll Warrior
        description=Oof
        user_description= _ "Oof"
        canrecruit=yes
        side=4
        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        [ai]
            simple_targetting=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

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

    [side]
        type=Troll Warrior
        description=Glu
        user_description= _ "Glu"
        canrecruit=yes
        side=5

        {GOLD4 500 600 700 800}
        {INCOME4 5 10 20 25}
        recruit=Troll Whelp,Troll,Troll Rocklobber
        team_name=trolls
        [ai]
            simple_targetting=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

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

    [side]
        type=Elvish Marshal
        description=Hidel
        user_description= _ "Hidel"
        profile=portraits/Hidel.jpg
        canrecruit=yes
        side=6
        no_leader=yes
        {GOLD4 300 250 200 150}
        recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout
        team_name=mob
    [/side]

    [side]
        type=Drake Flare
        description=Krash
        user_description= _ "Krash"
        canrecruit=yes
        side=7
        no_leader=yes
        {GOLD4 300 250 200 150}
        recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
        team_name=mob
        controller=human
    [/side]

    [event]
        name=prestart

        # {SCATTER_IMAGE (terrain=Gg,Gs^Fp) 12 scenery/pine1.png}

        [set_variable]
            name=keep
            value=1
        [/set_variable]
        [set_variable]
            name=keep.x
            value=15
        [/set_variable]
        [set_variable]
            name=keep.y
            value=15
        [/set_variable]
    [/event]

    [event]
        name=start

        {SUPPORTER}
        [recall]
            role=Supporter
        [/recall]

        [recall]
            description=Abhai
        [/recall]

        [recall]
            description=Camerin
        [/recall]

        [recall]
            description=Father Marcus
        [/recall]

        [recall]
            description=Sister Theta
        [/recall]

        [recall]
            description=Krash
        [/recall]

        [recall]
            description=Elenia
        [/recall]

        [recall]
            description=Anita
        [/recall]

        [recall]
            description=Stalrag
        [/recall]

        [recall]
            description="Ro'Arthian"
        [/recall]

        [recall]
            description="Ro'Sothian"
        [/recall]

        [message]
            speaker=narrator
            message= _ "Upon emerging from the tunnels, the party found themselves surrounded."
            image=wesnoth-icon.png
        [/message]

        [message]
            description=Tor
            message= _ "Haha, suckers! We got you now!"
        [/message]

        [message]
            description=Bor
            message= _ "Hahaha! They walked right into our trap."
        [/message]

        [message]
            description=Glu
            message= _ "And we have already sent the gold ahead to the Master!"
        [/message]

        [message]
            description=Oof
            message= _ "Now let's make mush out of these puny creatures!"
        [/message]

        [message]
            role=Supporter
            message= _ "Oh no, we are surrounded!"
        [/message]

        [message]
            description=Tallin
            message= _ "Heart shall be the harder as our strength lessens. Kill them all!"
        [/message]

        [message]
            description=Camerin
            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]

    [event]
        name=victory

        [if]
            [variable]
                name=all_is_well
                numerical_equals=1
            [/variable]

            [then]
                [if]
                    [variable]
                        name=calvary_is_here
                        numerical_equals=1
                    [/variable]

                    [then]
                        [message]
                            description=Tallin
                            message= _ "Pew, they are defeated at last."
                        [/message]

                        [message]
                            description=Anita
                            message= _ "Hidel, let me introduce to you my saviour: Tallin."
                        [/message]

                        [message]
                            description=Hidel
                            message= _ "It is an honor to meet you Tallin."
                        [/message]

                        [message]
                            description=Tallin
                            message= _ "The honor is mine, sir."
                        [/message]

                        [message]
                            description=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 extremely few, but let it be known that you are one of them."
                        [/message]

                        [message]
                            description=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]
                            description=Hidel
                            message= _ "I am sure you will Tallin. The trust of the elves is seldom misplaced."
                        [/message]

                        [message]
                            description="Ro'Arthian"
                            message= _ "If you guys are quite finished exchanging pleasantries..."
                        [/message]

                        [message]
                            description="Ro'Sothian"
                            message= _ " *snicker*"
                        [/message]

                        [message]
                            description="Ro'Arthian"
                            message= _ "...the road ahead is clear and I am eager to blast some more orcs. Shall we proceed?"
                        [/message]

                        [message]
                            description=Tallin
                            message= _ "Right. Onward men!"
                        [/message]
                    [/then]
                [/if]

                [if]
                    [variable]
                        name=calvary_is_here
                        numerical_equals=0
                    [/variable]

                    [then]
                        [set_variable]
                            name=calvary_is_here
                            value=1
                        [/set_variable]

                        [move_unit_fake]
                            type=Elvish Marshal
                            side=6
                            x=30,29,28
                            y=15,15,15
                        [/move_unit_fake]

                        [unit]
                            description=Hidel
                            type=Elvish Marshal
                            profile=portraits/Hidel.jpg
                            user_description= _ "Hidel"
                            x=28
                            y=15
                            side=6
                        [/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
                            description=Sisal
                            user_description= _ "Sisal"
                        [/unit]

                        [move_unit_fake]
                            type=Elvish Fighter
                            side=6
                            x=30,29,28
                            y=13,13,13
                        [/move_unit_fake]

                        [unit]
                            type=Elvish Fighter
                            x=28
                            y=13
                            side=6
                        [/unit]

                        [move_unit_fake]
                            type=Elvish Archer
                            side=6
                            x=30,29,28
                            y=16,16,16
                        [/move_unit_fake]

                        [unit]
                            type=Elvish Archer
                            x=28
                            y=16
                            side=6
                        [/unit]

                        [move_unit_fake]
                            type=Elvish Shaman
                            side=6
                            x=30,29
                            y=15,16
                        [/move_unit_fake]

                        [unit]
                            type=Elvish Shaman
                            x=29
                            y=16
                            side=6
                        [/unit]

                        [message]
                            description=Hidel
                            message= _ "Princess! We have finally found you! Thank god you are free! Your father had originally sent us to rescue you."
                        [/message]

                        [message]
                            description=Anita
                            message= _ "Yes, or so I have heard. You honor me, but this brave man reached the mark before you."
                        [/message]

                        [message]
                            description=Hidel
                            message= _ "You must be the famous Tallin."
                        [/message]

                        [message]
                            description=Tallin
                            message= _ "At your service."
                        [/message]

                        [message]
                            description=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 extremely few, but you are one of them."
                        [/message]

                        [message]
                            description=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]
                            description=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]
                            description=Tallin
                            message= _ "Thank you, sir."
                        [/message]

                        [message]
                            description=Anita
                            message= _ "What is the status of our troops, Hidel?"
                        [/message]

                        [message]
                            description=Hidel
                            message= _ "They are all here, princess! Hand picked by your father - the finest and bravest elvish troops in the entire Northlands."
                        [/message]

                        [message]
                            description=Anita
                            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]
                            description=Hidel
                            message= _ "As you wish, princess."
                        [/message]

                        [message]
                            description=Tallin
                            message= _ "Very well, people. The road ahead is clear, onward to victory!"
                        [/message]
                    [/then]
                [/if]
            [/then]
        [/if]

        {CLEAR_VARIABLE calvary_is_here}

        [if]
            [variable]
                name=Elenia_is_dead
                numerical_equals=1
            [/variable]

            [then]
                [if]
                    [variable]
                        name=heres_your_gold
                        numerical_equals=0
                    [/variable]

                    [then]
                        {DEBT_PAYMENT}
                    [/then]
                [/if]
            [/then]
        [/if]
    [/event]

    [event]
        name=turn 2

        [if]
            [have_unit]
                description=Krash
            [/have_unit]

            [then]
                [set_variable]
                    name=Krash_is_here
                    value=1
                [/set_variable]

                [message]
                    description=Krash
                    message= _ " *sniff sniff*"
                [/message]

                [message]
                    description=Camerin
                    message= _ "What's up big guy?"
                [/message]

                [message]
                    description=Krash
                    message= _ " *flap flap flap*"
                [/message]

                [store_unit]
                    [filter]
                        description=Krash
                    [/filter]
                    variable=gettinghelp
                    kill=yes
                [/store_unit]

                [set_variable]
                    name=gettinghelp.side
                    value=7
                [/set_variable]
                [set_variable]
                    name=gettinghelp.x
                    value=3
                [/set_variable]
                [set_variable]
                    name=gettinghelp.y
                    value=15
                [/set_variable]
                [set_variable]
                    name=gettinghelp.canrecruit
                    value=1
                [/set_variable]

                [move_unit_fake]
                    type=$gettinghelp.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]
                    description=Camerin
                    message= _ "Krash man, you are gonna miss all the fun!"
                [/message]

                [message]
                    description=Father Marcus
                    message= _ "I think he has decided that it is time for him to part ways with us."
                [/message]

                [message]
                    description=Tallin
                    message= _ "Such a fierce yet gentle creature. He will be sorely missed."
                [/message]

                [message]
                    description=Sister Theta
                    message= _ "Farewell, Krash, may the lords of light guide your path."
                [/message]
            [/then]
        [/if]
    [/event]

    [event]
        name=turn 7

        [if]
            [variable]
                name=Krash_is_here
                numerical_equals=1
            [/variable]

            [then]
                [move_unit_fake]
                    type=$gettinghelp.type
                    side=7
                    x=1,2
                    y=15,14
                [/move_unit_fake]

                [unstore_unit]
                    variable=gettinghelp
                    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
                    description=Singe
                    user_description= _ "Singe"
                    x=3
                    y=14
                    [modifications]
                        {TRAIT_LOYAL}
                        {TRAIT_RESILIENT}
                    [/modifications]
                [/unit]

                [move_unit_fake]
                    type=Drake Fighter
                    description="Bak'man"
                    user_description= _ "Bak'man"
                    side=7
                    x=1,2
                    y=16,15
                [/move_unit_fake]

                [unit]
                    type=Drake Fighter
                    user_description= _ "Halk"
                    side=7
                    description=Halk
                    x=3
                    y=15
                    [modifications]
                        {TRAIT_LOYAL}
                        {TRAIT_STRONG}
                    [/modifications]
                [/unit]

                {CLEAR_VARIABLE gettinghelp}

                [message]
                    description=Sister Theta
                    message= _ "Hey! Look who's back!"
                [/message]

                {SUPPORTER}

                [message]
                    role=Supporter
                    message= _ "And look, he brought his friends too!"
                [/message]

                [message]
                    description=Halk
                    message= _ "GRRRRRRR!"
                [/message]

                [message]
                    description=Singe
                    message= _ "ROOOAAARRRR!!!"
                [/message]

                [message]
                    description=Krash
                    message= _ "Hurry, friends, let's set up camp!"
                [/message]

                [message]
                    description=Camerin
                    message= _ "Yeah, man! I knew we could count on you!"
                [/message]

                [message]
                    description=Father Marcus
                    message= _ "Hmmm, he must have smelled the scent of other drakes and gone to them to convince them to help us."
                [/message]

                [message]
                    description=Sister Theta
                    message= _ "Awww, what a darling!"
                [/message]

                [message]
                    role=Supporter
                    message= _ "Tell that to the trolls."
                [/message]

                [message]
                    description=Oof
                    message= _ "What! Drakes! Fire! Ahhhhhh!"
                [/message]

                [message]
                    description=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]

    [event]
        name=turn 18

        [if]
            [variable]
                name=all_is_well
                numerical_value=1
            [/variable]

            [then]
                [set_variable]
                    name=calvary_is_here
                    value=1
                [/set_variable]

                [move_unit_fake]
                    type=Elvish Marshal
                    side=6
                    x=30,29,28
                    y=15,15,15
                [/move_unit_fake]

                [unit]
                    description=Hidel
                    type=Elvish Marshal
                    user_description= _ "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]

                [unit]
                    type=Elvish Fighter
                    x=28
                    y=14
                    side=6
                [/unit]

                [move_unit_fake]
                    type=Elvish Fighter
                    side=6
                    x=30,29,28
                    y=13,13,13
                [/move_unit_fake]

                [unit]
                    type=Elvish Fighter
                    x=28
                    y=13
                    side=6
                [/unit]

                [move_unit_fake]
                    type=Elvish Archer
                    side=6
                    x=30,29,28
                    y=16,16,16
                [/move_unit_fake]

                [unit]
                    type=Elvish Archer
                    x=28
                    y=16
                    side=6
                [/unit]

                [move_unit_fake]
                    type=Elvish Shaman
                    side=6
                    x=30,29
                    y=15,16
                [/move_unit_fake]

                [unit]
                    type=Elvish Shaman
                    x=29
                    y=16
                    side=6
                [/unit]

                [message]
                    description=Hidel
                    message= _ "Princess! We have finally found you!"
                [/message]

                [message]
                    description=Anita
                    message= _ "Good work, Hidel! How do your forces march?"
                [/message]

                [message]
                    description=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]
                    description=Anita
                    message= _ "Very good. Or first task is to give brave Tallin here full support in defeating these trolls."
                [/message]

                [message]
                    description=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]
                    description=Oof
                    message= _ "Oh no! Those blasted elves have just joined forces with the humans! This is hopeless! Flee! Flee!"
                [/message]

                [message]
                    description=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]
                                description=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]
        [/if]

        [if]
            [variable]
                name=Elenia_is_dead
                numerical_equals=1
            [/variable]

            [then]
                [set_variable]
                    name=heres_your_gold
                    value=1
                [/set_variable]

                {DEBT_PAYMENT}

                [message]
                    description=Oof
                    message= _ "Oh no! The elves have just given the humans a hoard of gold! This is hopeless! Flee! Flee!"
                [/message]

                [message]
                    description=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]
                                description=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]
                            [/objectives]
                        [/command]
                    [/option]

                    [option]
                        message= _ "Haha! Look at them run!"

                        [command]
                            [endlevel]
                                result=victory
                                bonus=yes
                            [/endlevel]
                        [/command]
                    [/option]
                [/message]
            [/then]
        [/if]
    [/event]
[/scenario]
