#textdomain wesnoth-nr
[scenario]
    id=get_gold
    name= _ "Get the Gold"
    {SCENARIO_MUSIC "breaking_the_chains.ogg"}
    {VICTORY_AND_DEFEAT_MUSIC}

    [story]
        [part]
            story= _ "After reducing Castle Angthurim, the party set off after Rakshas, hoping that Hidel's elves had been able to hold him."
            music=nr-sad.ogg
        [/part]

        [part]
            story= _ "Orcs are heavy-footed creatures; Rakshas's trail was readily followed. But an ominous silence, broken only by the cawing of ravens, brooded over the road he had taken."
        [/part]

        [part]
            story= _ "Soon they encountered the wrack of a great battle. Bodies of elves and orcs lay everywhere. Broken weapons and smashed armor were strewn about in profusion. Elvish arrows and orcish crossbow bolts bristled from the nearby trees. The ground was splotched red with blood."
        [/part]

        [part]
            story= _ "They paused for scant minutes to bind the wounds of a few surving elves and leave them a small guard. Then they pressed onward to rescue Hidel - and they found him."
        [/part]

        [part]
            story= _ "Scattered around Hidel were the bodies of at least three orcish warlords, and nearly a score of grunts, warriors and crossbowmen. His weapons were notched and broken; his armor dented and smashed. It was clear to all that his fall had been an epic of valor and glory, worthy to be remembered in the songs of all the kindred races until the end of days."
        [/part]

        [part]
            story= _ "With tears streaming down her face, Anita approached the fallen hero and cradled his head in her lap. As she stroked his face, his eyes fluttered open."
        [/part]

        [part]
            story= _ "I am sorry, princess... We held him for... as long as we could... but his bodyguards... were... just too many and powerful... And then... the orcish... reinforcements arrived...."
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "Her face streaked with tears, Anita gazed imploringly at Father Marcus and Sister Theta. They simply sighed and shook their heads. It was too late to save Hidel. In a broken voice Anita addressed him:"
        [/part]

        [part]
            story= _ "Hidel, I am sorry. I have sent you to your death, and I grieve."
            background=portraits/Anita.jpg
        [/part]

        [part]
            story= _ "...Don't tax yourself... princess.... I have died.... a warrior's death.... you should be proud...."
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "...But.... there is.... one thing.... we.... could do. We .... managed to.... recover the gold....Sisal... took it and.... retreated south...."
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "I held out as.... long as.... I could.... but they..... defeated us.... Rakshas went.... east and the.... rest.... went.... after.... Sisal..."
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "Now... uphold the honour... of the Northern... Elves.... recover.... the gold.... slay this monster.... and bring peace and... prosperity.... back to the... Northlands... Tallin?"
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "At Hidel's call Tallin approached and knelt beside Hidel, bowing his head in respect."
        [/part]

        [part]
            story= _ "At your service, sir."
            background=portraits/Tallin.jpg
        [/part]

        [part]
            story= _ "Anita has been... my charge ever... since she was born.... I now return... to the earth... from which.... I sprang... Please take care... of her."
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "Rest assured sir, I will place myself between Anita and any ill that strength or love may counter."
            background=portraits/Tallin.jpg
        [/part]

        [part]
            story= _ "Thank you... Tallin.... Now I may rest... in... peace.... May you.... be victorious..."
            background=portraits/Hidel.jpg
        [/part]

        [part]
            story= _ "With these words Hidel closed his eyes and breathed his last. As Anita wept with Hidel's head in her lap, Tallin approached her, hesitating, and then wrapped her gently in his arms."
        [/part]

        [part]
            story= _ "Sobbing against Tallin's chest, Anita told him of the many ways Hidel had cherished and warded her since the hour of her birth. How he had comforted her childhood hurts; how in later years, he had guided her in the green paths of the forest, and taught her the deep mysteries of Elven-kind."
        [/part]

        [part]
            story= _ "A torrent of childhood memories and the depth of her grief left her unable to speak. She and Tallin sat together silently holding each-other for some time."
        [/part]

        [part]
            story= _ "As Tallin comforted Anita, the rest of the party spread out and rallied the scattered elves, and tending to the wounded. This being done, they once again came before Tallin and Anita."
        [/part]

        [part]
            story= _ "Princess...it is a hard thing, I know, but you must put your grief behind you. Or at least, put it aside for a little while. We must go quickly to the aid of Sisal and recover our gold."
            background=portraits/Father_Marcus.jpg
        [/part]

        [part]
            story= _ "Forge your sorrow into rage, girl, and visit it on the slayers of your kinsmen. Teach them what happens to those who make an enemy of an elf."
            background=portraits/Arthian.jpg
        [/part]

        [part]
            story= _ "At these words, Anita arose and wiped away her tears. She took command of the surviving elvish forces, for all knew she was a princess of high rank and looked to Hidel's ward as their leader by right. Scarcely a face among them was less grim than her own as they took arms and started down Rakshas's back-trail."
        [/part]

        [part]
            story= _ "Moments later a gryphon swooped down from overhead and reported battle in a forest just a few leagues south of their position. The remainder of the elvish forces had been espied fighting a desperate battle with the orcs."
        [/part]

        [part]
            story= _ "It seemed to the gryphon that the elves were sore beset. The party quickly turned south and plunged into the forest."
        [/part]
    [/story]

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

    {DEFAULT_SCHEDULE}

    {TURNS4 40 35 30 25}

    victory_when_enemies_defeated=yes
    next_scenario=Showdown

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

    [side]
        type=Elvish Avenger
        gender=female
        description=Sisal
        user_description= _ "Sisal"
        profile=portraits/Sisal.jpg
        canrecruit=yes
        side=2
        [ai]
            aggression=0.3
            caution=0.7
            leader_value=10
        [/ai]
        recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman
        {GOLD4 400 300 250 200}
        team_name=mob
    [/side]

    [side]
        type=Orcish Warlord
        description="Ha'Tuil"
        user_description= _ "Ha'Tuil"
        canrecruit=yes
        side=3
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        [ai]
            aggression=1.0
            caution=-1.0
            leader_value=50
        [/ai]

        {GOLD4 1000 1500 2000 2500}
        team_name=orcs
    [/side]

    [side]
        type=Orcish Warlord
        description="Ar'Muff"
        user_description= _ "Ar'Muff"
        canrecruit=yes
        side=4
        no_leader=yes
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 1000 1500 2000 2500}
        team_name=orcs
        [ai]
            [target]
                description=Sisal
                value=50
            [/target]
        [/ai]
    [/side]

    [side]
        type=Orcish Warlord
        description=Calter
        canrecruit=yes
        side=5
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman

        {GOLD4 2500 1000 1500 2000}
        team_name=orcs
        no_leader=yes
    [/side]

    [side]
        type=Orcish Warlord
        description=Halter
        canrecruit=yes
        side=6
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 2500 1000 1500 2000}
        team_name=orcs
        no_leader=yes
    [/side]

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

    [side]
        type=Dwarvish Lord
        description=Hamel
        user_description=_ "Hamel"
        profile=portraits/Hamel.jpg
        canrecruit=yes
        side=8
        no_leader=yes
    [/side]

    [side]
        type=Elvish Shaman
        description=Teri
        user_description=_ "Teri"
        canrecruit=yes
        side=9
        {GOLD4 500 400 350 300}
        recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout,Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Rider,Elvish Druid,Elvish Sorceress
        team_name=mob
        controller=human
        no_leader=yes
    [/side]

    [event]
        name=prestart

        # {SCATTER_IMAGE (terrain=Gs^Fp) 20 scenery/pine2.png}

        [set_variable]
            name=keep
            value=1
        [/set_variable]
        [set_variable]
            name=keep.x
            value=20
        [/set_variable]
        [set_variable]
            name=keep.y
            value=2
        [/set_variable]

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

            [then]
                [kill]
                    side=7
                [/kill]

                [terrain]
                    x=4,4,4,5,5,5,6,6,6
                    y=3,4,5,3,4,5,3,4,5
                    terrain=Gs^Fp
                [/terrain]
            [/then]
        [/if]

        [recall]
            description=Anita
        [/recall]

        [if]
            [have_unit]
                description=Anita
            [/have_unit]

            [then]
                [kill]
                    description=Teri
                [/kill]

                [store_unit]
                    [filter]
                        description=Anita
                    [/filter]

                    variable=Anita_in_command
                    kill=yes
                [/store_unit]

                [set_variable]
                    name=Anita_in_command.side
                    value=9
                [/set_variable]
                [set_variable]
                    name=Anita_in_command.x
                    value=13
                [/set_variable]
                [set_variable]
                    name=Anita_in_command.y
                    value=5
                [/set_variable]
                [set_variable]
                    name=Anita_in_command.canrecruit
                    value=1
                [/set_variable]

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

                {CLEAR_VARIABLE Anita_in_command}
            [/then]
        [/if]
    [/event]

    [event]
        name=start

        {SUPPORTER}

        [recall]
            role=Supporter
        [/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=Stalrag
        [/recall]

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

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

        [recall]
            description=Abhai
        [/recall]

        [unit]
            type=Elvish Archer
            x=9
            y=20
            hitpoints=18
            side=2
        [/unit]

        [unit]
            type=Elvish Fighter
            x=10
            y=20
            hitpoints=24
            side=2
        [/unit]

        [unit]
            type=Elvish Shaman
            x=9
            y=21
            side=2
        [/unit]

        [unit]
            type=Elvish Captain
            x=11
            y=21
            hitpoints=39
            side=2
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=10
            y=19
            hitpoints=30
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=11
            y=20
            hitpoints=25
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=17
            y=17
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=15
            y=15
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=15
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=17
            y=15
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=18
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=17
            y=17
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=18
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=17
            y=17
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=15
            y=15
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=15
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=17
            y=15
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=18
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=16
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=16
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Slayer
            x=18
            y=13
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=17
            y=17
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=15
            y=15
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=15
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=17
            y=15
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=18
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=16
            y=14
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=14
            y=17
            hitpoints=3
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=15
            y=17

            side=3
        [/unit]

        [unit]
            type=Elvish Fighter
            x=21
            y=21
            side=2
        [/unit]

        [unit]
            type=Elvish Shaman
            x=20
            y=21
            side=2
        [/unit]

        [unit]
            type=Orcish Slayer
            x=21
            y=17
            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=20
            y=18

            side=3
        [/unit]

        [unit]
            type=Orcish Warrior
            x=19
            y=18
            side=3
        [/unit]

        [unit]
            type=Orcish Crossbowman
            x=23
            y=19
            hitpoints=30
            side=3
        [/unit]

        [message]
            speaker=narrator
            message= _ "After making haste through the forest for most of a watch, the party arrived at the battle scene."
            image=wesnoth-icon.png
        [/message]

        [message]
            description=Anita
            message= _ "Sisal, how do you fare?"
        [/message]

        [message]
            description=Sisal
            message= _ "Princess! You are here! How fares Hidel?"
        [/message]

        [message]
            description=Anita
            message= _ " *sheds a tear*"
        [/message]

        [message]
            description=Tallin
            message= _ "Hidel...died a hero's death, one worthy to be sung forever."
        [/message]

        [message]
            description=Sisal
            message= _ "The dung-spawned bastards! Verily, Tallin, had it not been for Hidel we would all be dead and Rakshas would be gleefully counting his gold."
        [/message]

        [message]
            description=Sisal
            message= _ "Hidel and a handful of elves held off the orcs for more then an hour. That was enough time for us to make off with the gold and rally here at these ruins."
        [/message]

        [message]
            description=Tallin
            message= _ "So you have the gold?"
        [/message]

        [message]
            description=Sisal
            message= _ "We have the gold, and now we shall have the blood of these orcs! IN HIDEL'S NAME!"
        [/message]

        [message]
            description="Ha'Tuil"
            message= _ "Grrr, Ha'Tuil has never failed in his mission. I will soon lay your severed heads at the feet of the Master!"
        [/message]

        [message]
            description=Sisal
            message= _ "You will eat cold steel and whimper your way to hell, foul wretch of an orc!"
        [/message]

        [objectives]
            side=1
            [objective]
                description= _ "Defeat the orcs"
                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]

        [objectives]
            side=7
            [objective]
                description= _ "Defeat the orcs"
                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]

        [objectives]
            side=9
            [objective]
                description= _ "Defeat the orcs"
                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]
    [/event]

    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}

    [event]
        name=die

        [filter]
            description="Ha'Tuil"
        [/filter]

        [message]
            description="Ha'Tuil"
            message= _ "Argh! I have failed!"
        [/message]

        [message]
            description=Sisal
            message= _ "Cheer up -- you won't have to live with your failure for long...*snicker*"
        [/message]
    [/event]

    [event]
        name=die

        [filter]
            description=Sisal
        [/filter]

        [music]
            name=nr-sad.ogg
            play_once=yes
        [/music]

        [message]
            description=Sisal
            message= _ "Ahhhh! Farewell, friends. I now go to join Hidel."
        [/message]

        [message]
            description=Anita
            message= _ "Sisal! Noooo!"
        [/message]

        [message]
            speaker=second_unit
            message= _ "Haha! We got the gold now!"
        [/message]

        [message]
            description="Ha'Tuil"
            message= _ "Hahaha! Mission accomplished, men! Now let's crush the rest of this scum and report back to the Master."
        [/message]

        [message]
            description=Anita
            message= _ "I don't think so, you bastard orcs! That gold belongs to us. Besides, we now have a few scores to settle with you. Take them, troops - I want no orc left alive!"
        [/message]

        [set_variable]
            name=Sisal_is_dead
            value=1
        [/set_variable]
    [/event]

    [event]
        name=victory

        [message]
            description=Tallin
            message= _ "Thanks to Hidel and the elves, we have recovered our gold. Now let's run down Rakshas and settle up with him once and for all."
        [/message]
    [/event]
[/scenario]
