#textdomain wesnoth-nr
[scenario]
    id=Showdown
    name= _ "Showdown"
    map_data="{campaigns/Northern_Rebirth/maps/showdown.map}"
    {DEFAULT_SCHEDULE}
    turns=-1
    next_scenario=epilogue

    {INTRO_AND_SCENARIO_MUSIC "revelation.ogg" "legends_of_the_north.ogg"}
    {EXTRA_SCENARIO_MUSIC "knalgan_theme.ogg"}
    {EXTRA_SCENARIO_MUSIC "vengeful.ogg"}
    {EXTRA_SCENARIO_MUSIC "elvish-theme.ogg"}
    {EXTRA_SCENARIO_MUSIC "the_city_falls.ogg"}
    {EXTRA_SCENARIO_MUSIC "northerners.ogg"}
    {EXTRA_SCENARIO_MUSIC "battle.ogg"}
    {EXTRA_SCENARIO_MUSIC "loyalists.ogg"}
    {EXTRA_SCENARIO_MUSIC "legends_of_the_north.ogg"}
    {EXTRA_SCENARIO_MUSIC "revelation.ogg"}

    [story]
        [part]
            story= _ "The party once again took up Rakshas's trail. They soon received a report from a scouting gryphon that in an enormous fortress a few leagues west from them, Rakshas was assembling a massive orcish force, clearly intending to crush their revolt once and for all."
        [/part]
        [part]
            story= _ "The gryphon further reported that a few more leagues west was a large force of dwarvish veterans, advancing steadily on the orcish fortress."
        [/part]
        [part]
            story= _ "Battle plans were quickly made; the party split into three groups. Two of the groups immediately set off northwest and southwest respectively while the third group rested for an hour and then set off directly west."
        [/part]
        [part]
            story= _ "The idea was to completely surround Rakshas on all sides, cutting off any chance of escape or reinforcements."
        [/part]
        [part]
            show_title=yes
            {TO_SHOWDOWN}
        [/part]
    [/story]
    # Players side - Tallin
    [side]
        type=Lieutenant
        id=Tallin
        name=_ "Tallin"
        canrecruit=yes
        side=1
        controller=human
        recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Dwarvish Ulfserker,Gryphon,Footpad
        team_name=knalgans
        user_team_name=_"Alliance"
        gold=100
    [/side]
    {STARTING_VILLAGES 1 5}
    # Main enemy
    [side]
        type=Orcish Sovereign
        id=Rakshas
        name= _ "Rakshas"
        profile=portraits/Rakshas.png
        canrecruit=yes
        side=2
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 1000 1500 2000 2500}
        {INCOME4 2 10 30 50}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            [target]
                x=30
                y=30
                value=400
            [/target]
            [target]
                side=1
                value=300
            [/target]
            [target]
                side=7
                value=150
            [/target]
            [target]
                side=8
                value=50
            [/target]
            [target]
                side=9
                value=250
            [/target]
        [/ai]
    [/side]
    {STARTING_VILLAGES 2 3}
    # Sidekicks
    [side]
        type=Orcish Warlord
        id="Ha'Tuil"
        name= _ "Ha'Tuil"
        canrecruit=yes
        side=3
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 1000 1500 2000 2500}
        {INCOME4 2 10 30 50}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            [target]
                side=1
                value=400
            [/target]
            [target]
                side=7
                value=300
            [/target]
            [target]
                side=8
                value=200
            [/target]
            [target]
                side=9
                value=350
            [/target]
        [/ai]
    [/side]
    {STARTING_VILLAGES 3 4}

    [side]
        type=Orcish Warlord
        id="Ar'Muff"
        name= _ "Ar'Muff"
        canrecruit=yes
        side=4
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 1000 1500 2000 2500}
        {INCOME4 2 10 30 50}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            [target]
                side=1
                value=400
            [/target]
            [target]
                side=7
                value=300
            [/target]
            [target]
                side=8
                value=200
            [/target]
            [target]
                side=9
                value=350
            [/target]
        [/ai]
    [/side]
    {STARTING_VILLAGES 4 4}

    [side]
        type=Orcish Warlord
        id=Calter
        name= _ "Calter"
        canrecruit=yes
        side=5
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 1000 1500 2000 2500}
        {INCOME4 2 10 30 50}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            [target]
                side=1
                value=400
            [/target]
            [target]
                side=7
                value=300
            [/target]
            [target]
                side=8
                value=200
            [/target]
            [target]
                side=9
                value=350
            [/target]
        [/ai]
    [/side]
    {STARTING_VILLAGES 5 4}

    [side]
        type=Orcish Warlord
        id=Halter
        name= _ "Halter"
        canrecruit=yes
        side=6
        recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
        {GOLD4 1000 1500 2000 2500}
        {INCOME4 2 10 30 50}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            [target]
                side=1
                value=400
            [/target]
            [target]
                side=7
                value=300
            [/target]
            [target]
                side=8
                value=200
            [/target]
            [target]
                side=9
                value=350
            [/target]
        [/ai]
    [/side]
    {STARTING_VILLAGES 6 4}

    # Krash may not actually still be alive at this point, but setting up
    # his side this way is the only way to reliably pick up his recall
    # list if he is.  Later, we'll edit in another leader if he's dead.
    [side]
        side=7
        type=Drake Burner
        id=Krash
        name= _ "Krash"
        canrecruit=yes
        save_id=Krash
        gold=100
        recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
        team_name=knalgans
        user_team_name=_"Alliance"
        controller=human
    [/side]
    {STARTING_VILLAGES 7 10}

    # Allied AI
    [side]
        type=Dwarvish Lord
        id=Hamel
        name= _ "Hamel"
        profile=portraits/Hamel.png
        canrecruit=yes
        side=8
        {GOLD4 2500 2500 2000 1500}
        {INCOME4 40 30 20 10}
        recruit=Dwarvish Steelclad,Dwarvish Thunderguard,Dwarvish Stalwart
        team_name=knalgans
        user_team_name=_"Alliance"
        persistent=yes
        [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
            [target]
                id=Rakshas
                value=500
            [/target]
        [/ai]
    [/side]
    {STARTING_VILLAGES 8 10}

    # Side for Eryssa if alive
    [side]
        side=9
        gold=100
        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=knalgans
        user_team_name=_"Alliance"
        save_id=Elves
        controller=human
        no_leader=yes
    [/side]
    {STARTING_VILLAGES 9 10}

    [event]
        name=prestart

        # Check if Krash is alive, if yes place him at helm of side 7,
        # otherwise it's taken over by older lich.  We can't use a normal
        # recall followed by have_unit test here because we had to declare
        # Krash as a side leader in order to get recall list carryover.
        [recall]
            id="Ro'Arthian"
        [/recall]
        [store_starting_location]
            side=7
            variable=side_seven_starts_at
        [/store_starting_location]
        [if]
            [variable]
                name=Krash_alive
                equals=no
            [/variable]
            [then]
                [store_unit]
                    [filter]
                        id="Ro'Arthian"
                    [/filter]
                    variable=place_lich_at
                    kill=yes
                    fire_event=no
                [/store_unit]
                {VARIABLE place_lich_at.x $side_seven_starts_at.x}
                {VARIABLE place_lich_at.y $side_seven_starts_at.y}
                {VARIABLE place_lich_at.side 7}
                {VARIABLE place_lich_at.canrecruit yes}
                [unstore_unit]
                    variable=place_lich_at
                [/unstore_unit]
                [disallow_recruit]
                    side=7
                    type=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
                [/disallow_recruit]
                [allow_recruit]
                    side=7
                    type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
                [/allow_recruit]
                {CLEAR_VARIABLE place_lich_at}
            [/then]
        [/if]

        # Hide unit for spectacular entrance
        [hide_unit]
            x=$side_seven_starts_at.x
            y=$side_seven_starts_at.y
        [/hide_unit]

        # Check if Eryssa is alive. If yes place her at the helm of side 9;
        # if not, younger lich assumes command and elvers are scrubbed from
        # the side's recall list.
        [recall]
            id=Eryssa
        [/recall]
        [recall]
            id="Ro'Sothian"
        [/recall]
        [store_starting_location]
            side=9
            variable=side_nine_starts_at
        [/store_starting_location]
        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                {TELEPORT_UNIT id="Eryssa" $side_nine_starts_at.x $side_nine_starts_at.y}
                {MODIFY_UNIT id="Eryssa" canrecruit yes}
                {MODIFY_UNIT id="Eryssa" side 9}
            [/then]
            [else]
                [kill]
                    race=Elves
                [/kill]
                [store_unit]
                    [filter]
                        id="Ro'Sothian"
                    [/filter]
                    variable=place_second_lich_at
                    kill=yes
                    fire_event=no
                [/store_unit]
                {VARIABLE place_second_lich_at.x $side_nine_starts_at.x}
                {VARIABLE place_second_lich_at.y $side_nine_starts_at.y}
                {VARIABLE place_second_lich_at.side 9}
                {VARIABLE place_secodn_lich_at.canrecruit yes}
                [unstore_unit]
                    variable=place_second_lich_at
                [/unstore_unit]
                [disallow_recruit]
                    side=9
                    type=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout,Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Rider,Elvish Druid,Elvish Sorceress
                [/disallow_recruit]
                [allow_recruit]
                    side=9
                    type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
                [/allow_recruit]
                [gold]
                    side=9
                    amount=300
                [/gold]
                {CLEAR_VARIABLE place_second_lich_at}
            [/else]
        [/if]
        # Hide leader of side 9, Hamel and Tallin for great entrance
        [hide_unit]
            x=$side_nine_starts_at.x
            y=$side_nine_starts_at.y
        [/hide_unit]
        [store_starting_location]
            side=1
            variable=side_one_starts_at
        [/store_starting_location]
        [hide_unit]
            x=$side_one_starts_at.x
            y=$side_one_starts_at.y
        [/hide_unit]
        [store_starting_location]
            side=8
            variable=side_eight_starts_at
        [/store_starting_location]
        [hide_unit]
            x=$side_eight_starts_at.x
            y=$side_eight_starts_at.y
        [/hide_unit]
        # Place bad guys
        {GENERIC_UNIT 2 "Orcish Warlord" 28 22}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 29 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 31 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 32 22}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 34 22}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 36 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 38 24}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 40 25}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 40 27}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 40 29}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 40 31}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 40 33}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 40 35}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 38 36}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 36 37}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 34 38}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 33 39}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 31 39}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 29 39}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 27 39}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 25 38}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 23 37}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 21 36}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 20 35}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 20 33}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 20 31}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 20 29}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 20 27}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 20 25}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 22 24}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 24 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Warlord" 26 22}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 33 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 35 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 37 24}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 39 36}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 39 25}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 40 26}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 40 28}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 40 32}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 40 34}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 37 37}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 35 38}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 32 38}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 28 38}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 26 38}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 24 37}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 22 36}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 20 32}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 20 28}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 20 26}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 21 25}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 23 24}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 25 23}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 20 34}
        [+unit]
            ai_special=guardian
        [/unit]
        {GENERIC_UNIT 2 "Orcish Slurbow" 27 23}
        [+unit]
            ai_special=guardian
        [/unit]
    [/event]

    [event]
        name=start

        # If Sisal is alive it means gold was recovered, give it back to 
        # three player sided split evenly
        [recall]
            id=Sisal
        [/recall]
        [if]
            [have_unit]
                id=Sisal
            [/have_unit]
            [then]
                {VARIABLE_OP stored_gold multiply 0.33}
                [gold]
                    side=1
                    amount=$stored_gold
                [/gold]
                [gold]
                    side=7
                    amount=$stored_gold
                [/gold]
                [gold]
                    side=9
                    amount=$stored_gold
                [/gold]
            [/then]
        [/if]
        # Intro depending on who we have alive
        [if]
            [have_unit]
                id=Krash
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "The group that went to the north was led by Krash and his drake friends."
                    image=wesnoth-icon.png
                [/message]
                [move_unit_fake]
                    type=Drake Flare
                    side=7
                    x=30,30,30,30,30,30,30,30,30,30,30
                    y=1,2,3,4,5,6,7,8,9,10,11
                [/move_unit_fake]
            [/then]
            [else]
                [message]
                    speaker=narrator
                    message= _ "The group that went to the north was led by Ro'Arthian and was composed of trolls, ogres and some selected mages."
                    image=wesnoth-icon.png
                [/message]
                [move_unit_fake]
                    type=Ancient Lich
                    side=7
                    x=30,30,30,30,30,30,30,30,30,30,30
                    y=1,2,3,4,5,6,7,8,9,10,11
                [/move_unit_fake]
            [/else]
        [/if]
        [unhide_unit]
            x=$side_seven_starts_at.x
            y=$side_seven_starts_at.y
        [/unhide_unit]

        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [message]
                    speaker=narrator
                    message= _ "Eryssa and the remaining elves, eager to avenge Hidel, went south, while Tallin himself led the western group."
                    image=wesnoth-icon.png
                [/message]
                [move_unit_fake]
                    type=Elvish Sorceress
                    side=9
                    x=31,31,31,31,31,31,31
                    y=60,59,58,57,56,55,54
                [/move_unit_fake]
                [if]
                    [have_unit]
                        id=Sisal
                    [/have_unit]
                    [then]
                        {MODIFY_UNIT id=Sisal side 9}
                        {TELEPORT_UNIT id=Sisal 32 54}
                    [/then]
                [/if]
            [/then]
            [else]
                [message]
                    speaker=narrator
                    message= _ "Ro'Arthian's brother, Ro'Sothian went south with another crew of trolls, ogres and mages. Tallin himself led the western group."
                    image=wesnoth-icon.png
                [/message]
                [move_unit_fake]
                    type=Lich
                    side=9
                    x=31,31,31,31,31,31,31
                    y=60,59,58,57,56,55,54
                [/move_unit_fake]
            [/else]
        [/if]
        [unhide_unit]
            x=$side_nine_starts_at.x
            y=$side_nine_starts_at.y
        [/unhide_unit]
        [move_unit_fake]
            type=General
            side=1
            x=60,59,58,57,56
            y=30,30,30,30,30
        [/move_unit_fake]
        [unhide_unit]
            x=$side_one_starts_at.x
            y=$side_one_starts_at.y
        [/unhide_unit]
        [message]
            speaker=narrator
            message= _ "A few short hours later all the groups converged on the fortress."
            image=wesnoth-icon.png
        [/message]
        # Recall heroes
        {RECALL_SUPPORTER}
        [recall]
            id=Camerin
        [/recall]
        [recall]
            id=Abhai
        [/recall]
        [recall]
            id=Father Morvin
        [/recall]
        [recall]
            id=Sister Thera
        [/recall]
        [recall]
            id=Elenia
        [/recall]
        [recall]
            id=Stalrag
        [/recall]
        # Intro
        [message]
            id=Tallin
            message= _ "Rakshas! You have evaded me for the last time. Now come out and die like a man!"
        [/message]
        [message]
            id=Rakshas
            message= _ "What the...? How did he get here?"
        [/message]
        [if]
            [have_unit]
                id=Eryssa
            [/have_unit]
            [then]
                [message]
                    id=Eryssa
                    message= _ "We have crushed and scattered your entire eastern flank, and now it's your turn!"
                [/message]
                [message]
                    id=Rakshas
                    message= _ "You slimy little elf! So you have joined hands with these humans, have you? Very well, both of you shall soon be dead!"
                [/message]
                [message]
                    id=Eryssa
                    message= _ "Good luck, you monster. You are cut off and surrounded. We shall kill you and feed your carcass to the vultures and wild beasts."
                [/message]
                [message]
                    id=Rakshas
                    message= _ "Hahahahah! You fools, do you not see that you are right in the heart of orcish territory, surrounded yourselves! Why, at this very moment my entire western army is marching this way. They will soon be here and will scatter your forces like straw!"
                [/message]
            [/then]
            [else]
                [message]
                    id="Ro'Arthian"
                    message= _ "We have crushed and scattered your entire eastern flank, buddy, and now it's your turn!"
                [/message]
                [message]
                    id=Rakshas
                    message= _ "Argh, you frustrating little vermin! I am going to pluck your eyeballs out and..."
                [/message]
                [message]
                    id="Ro'Arthian"
                    message= _ "We don't have any eyeballs, you idiot!"
                [/message]
                [message]
                    id=Rakshas
                    # wmllint: local spelling PAH
                    message= _ "PAH! You fools, know that you shall soon be outnumbered and surrounded. At this very moment my entire western army is marching this way. They will soon be here and will scatter your puny forces like straw!"
                [/message]
            [/else]
        [/if]
        # And dwarves grand entrance
        [move_unit_fake]
            type=Dwarvish Lord
            side=8
            x=1,2,3,4,5,6,7,8,9,10,11
            y=31,31,31,31,31,31,31,31,32,32,32
        [/move_unit_fake]
        [unhide_unit]
            x=$side_eight_starts_at.x
            y=$side_eight_starts_at.y
        [/unhide_unit]
        [move_unit_fake]
            type=Dwarvish Steelclad
            side=8
            x=1,2,3,4,5,6,7,8,9,10,11
            y=31,31,31,31,31,31,31,31,32,32,33
        [/move_unit_fake]
        {GENERIC_UNIT 8 "Dwarvish Steelclad" 11 33}
        [move_unit_fake]
            type=Dwarvish Steelclad
            side=8
            x=1,2,3,4,5,6,7,8,9,10,11
            y=31,31,31,31,31,31,31,31,32,31,31
        [/move_unit_fake]
        {GENERIC_UNIT 8 "Dwarvish Steelclad" 11 31}
        [move_unit_fake]
            type=Dwarvish Thunderguard
            side=8
            x=1,2,3,4,5,6,7,8,9,10
            y=31,31,31,31,31,31,31,31,32,32
        [/move_unit_fake]
        {GENERIC_UNIT 8 "Dwarvish Thunderguard" 10 32}
        [move_unit_fake]
            type=Dwarvish Thunderguard
            side=8
            x=1,2,3,4,5,6,7,8,9,10
            y=31,31,31,31,31,31,31,31,32,31
        [/move_unit_fake]
        {GENERIC_UNIT 8 "Dwarvish Thunderguard" 10 31}
        [message]
            id=Hamel
            message= _ "Will they, now?"
        [/message]
        [message]
            id=Rakshas
            message= _ "WHAT!?!?!"
        [/message]
        [message]
            id=Hamel
            message= _ "Your western army has been slaughtered, Rakshas, and YOU will soon join them!"
        [/message]
        [message]
            id=Rakshas
            message= _ "But... but... how can this be?"
        [/message]
        [message]
            id=Hamel
            message= _ "It's called 'The End', foul orc. Forward! FOR KNALGA!!!"
        [/message]
        [message]
            id=Krash
            message= _ "FOR FRIENDSHIP!!!"
        [/message]
        [message]
            id="Ro'Arthian"
            message= _ "FOR PEACE!!!"
        [/message]
        [message]
            id=Camerin
            message= _ "FOR FUN!"
        [/message]
        [message]
            id=Eryssa
            message= _ "FOR HIDEL!!!"
        [/message]
        [message]
            role=Supporter
            message= _ "FOR DWARVEN DOORS!!!"
        [/message]
        [message]
            id=Tallin
            message= _ "FOR THE NORTH! FALL ON THEM, MEN!!!"
        [/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= _ "Death of Hamel"
                condition=lose
            [/objective]
        [/objectives]
        [objectives]
            side=7
            [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= _ "Death of Hamel"
                condition=lose
            [/objective]
        [/objectives]
        [objectives]
            side=9
            [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= _ "Death of Hamel"
                condition=lose
            [/objective]
        [/objectives]
    [/event]
    # Flavour event at turn 5
    [event]
        name=turn 5

        [message]
            id=Tallin
            message= _ "Sweet gods, look at all those orcs pouring out of that fortress."
        [/message]
        [message]
            id=Hamel
            message= _ "Aye, and not just any orcs either, those are all hardened veterans!"
        [/message]
        [message]
            id=Tallin
            message= _ "Yeah. Obviously this is going to take some time. If necessary we can sit tight in our fortifications and siege them until they starve!"
        [/message]
    [/event]
    # Rakashas death
    [event]
        name=die
        [filter]
            id=Rakshas
        [/filter]

        [message]
            id=Tallin
            message= _ "Die, you murderous beast! No longer shall you terrorize the people of the North."
        [/message]
        [message]
            id=Hamel
            message= _ "Learn the fate of one who offends the Dwarves of Knalga."
        [/message]
        [message]
            id=Eryssa
            message= _ "Or the elves of the Northern Forests."
        [/message]
        [message]
            role=Supporter
            message= _ "Or the humans of Dwarven Doors."
        [/message]
        [message]
            id=Rakshas
            # wmllint: local spelling gurggle
            message= _ " *gurggle* No!... this.... cannot.... be... happening.... to.... me....."
        [/message]
        [message]
            id=Sister Thera
            message= _ "Such were the last words of of Rakshas the great!"
        [/message]
        [message]
            id="Ro'Sothian"
            message= _ " *snicker*"
        [/message]
    [/event]
    # Victory
    [event]
        name=victory

        [message]
            id=Tallin
            message= _ "At last! Rakshas has been slain, and the orcish host has been crushed. Peace and prosperity will come to the Northlands once again!"
        [/message]
        [message]
            speaker=narrator
            message= _ "At these words all the allied forces gave out a combined and thunderous cheer. Their long ordeal was finally over."
            image=wesnoth-icon.png
        [/message]
        [message]
            id=Camerin
            message= _ " *small voice lost in the uproar* Awww, is it over already?"
        [/message]
        # Place Krash, Eryssa and Hamel on players recall list to go
        # around some engine limitations Empty recall lists of sides
        # 7,8 and 9 to save us declaring empty sides in epilogue
        [store_unit]
            [filter]
                side=7
                canrecruit=yes
            [/filter]
            kill=no
            variable=side_seven_hack
        [/store_unit]
        {VARIABLE side_seven_hack.side 1}
        [unstore_unit]
            variable=side_seven_hack
        [/unstore_unit]
        [kill]
            side=7
            fire_event=no
            animate=no
        [/kill]
        {CLEAR_VARIABLE side_seven_hack}
        [store_unit]
            [filter]
                side=9
                canrecruit=yes
            [/filter]
            kill=no
            variable=side_nine_hack
        [/store_unit]
        {VARIABLE side_nine_hack.side 1}
        [unstore_unit]
            variable=side_nine_hack
        [/unstore_unit]
        {CLEAR_VARIABLE side_nine_hack}
        [kill]
            side=9
            fire_event=no
            animate=no
        [/kill]
        [store_unit]
            [filter]
                id=Hamel
            [/filter]
            kill=no
            variable=hamel_hack
        [/store_unit]
        {VARIABLE hamel_hack.side 1}
        [unstore_unit]
            variable=hamel_hack
        [/unstore_unit]
        {CLEAR_VARIABLE hamel_hack}
        [kill]
            side=8
            fire_event=no
            animate=no
        [/kill]
    [/event]

    # Hamel death
    [event]
        name=die
        [filter]
            id=Hamel
        [/filter]

        [message]
            id=Hamel
            message= _ "Argh!"
        [/message]
        [message]
            id=Tallin
            message= _ "Hamel! Blast it, without the dwarves to hold the western flank we are as good as defeated."
        [/message]
    [/event]

    # Sisal death
    [event]
        name=die
        [filter]
            id=Sisal
        [/filter]

        {INCIDENTAL_MUSIC "sad.ogg"}
        [message]
            id=Sisal
            message= _ "Ahhhh! Farewell friends. I now go to join Hidel."
        [/message]
        [message]
            id=Eryssa
            message= _ "Sisal! Noooo! Not you too!"
        [/message]
    [/event]
    # Load death events
    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}
[/scenario]
