#textdomain wesnoth-sotbe

#define WRAPUP
    [message]
        description=Howgarth III
        message= _ "Hold it! What in the wide green world is going on here!"
    [/message]

    [message]
        description="Earl Lanbec'h"
        message= _ " *groan* You guys always show up at the worst possible time."
    [/message]

    [message]
        description="Kapou'e"
        message= _ "Just who do you think you are, human-worm?"
    [/message]

    [message]
        description=Howgarth III
        message= _ "I am Howgarth of the Northern Alliance, successor to the late Rahul I."
    [/message]

    [message]
        description="Earl Lanbec'h"
        message= _ "This is a strictly territorial matter, Howgarth. The Northern Alliance has no right to intervene in this affair."
    [/message]

    [message]
        description=Howgarth III
        message= _ "The hell I don't, Earl Lanbec'h, the Northern Alliance was witness to a treaty some twenty seven years ago between your people and the orcs, which both of you are no doubt violating. It is our duty as the orchestrator and witness of this treaty to see that it is honored."
    [/message]

    [message]
        description="Earl Lanbec'h"
        message= _ "Well, good for you. As a matter of fact, this land is clearly defined under your precious treaty as human territory. So if you are so keen on being all high and noble, then muster your men to help us push back this orcish menace."
    [/message]

    [message]
        description=Howgarth III
        message= _ "Cease your lies, Labec'h. We all know that you were the one who started this war. But enough, it is time for all this to end. I call for both sides to parley and we shall discuss this matter."
    [/message]

    [message]
        description="Kapou'e"
        message= _ "Ha ha, very funny, human-worm. You think we are stupid enough to fall for that? We haven't forgotten what you people did to my father."
    [/message]

    [message]
        description=Howgarth III
        message= _ "What in the world are you talking about?"
    [/message]

    [message]
        description="Kapou'e"
        message= _ "I am Kapou'e, son of the Black-Eye Karun. Twenty-seven years ago you people assassinated my father after inviting him to join the Northern Alliance."
    [/message]

    [message]
        description=Howgarth III
        message= _ "What? We received word that he declined our invitation and that was the end of the matter. I know nothing of his assassination. As a matter of fact, I was there when the orcish messenger brought Rahul Karun's reply."
    [/message]

    [message]
        description="Kapou'e"
        message= _ "Messenger, what messenger?"
    [/message]

    [message]
        description=Howgarth III
        message= _ "If I remember correctly, it was some orc named Shan Taum."
    [/message]

    [message]
        description="Kapou'e"
        message= _ "Funny, that names sounds oddly familiar..."
    [/message]
#enddef

[scenario]
    id="Human_Horde"
    name= _ "The Human Attack"
    map_data="{campaigns/Son_Of_The_Black_Eye/maps/Human_Attack.map}"

    turns=30

    victory_when_enemies_defeated="yes"
    {SCENARIO_MUSIC "frantic.ogg"}

    {DEFAULT_SCHEDULE}

    next_scenario="Northern_Alliance"

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                condition=win
                description=_ "Hold off the Humans"
            [/objective]
            [objective]
                condition=lose
                description=_ "Death of Kapou'e"
            [/objective]
            [objective]
                description= _ "Death of Grüü"
                condition=lose
            [/objective]
        [/objectives]
    [/event]

    [side]
        type=Orcish Leader
        description="Kapou'e"
        user_description= _ "Kapou'e"
        side=1
        canrecruit=yes
        controller=human
        recruit= Wolf Rider, Orcish Grunt, Troll Whelp, Orcish Archer
        team_name=Kapoue
        gold=100
        {BLACK_FLAG}
    [/side]

    {STARTING_VILLAGES 1 6}

    [side]
        type=Orcish Warlord
        description="Al'Brock"
        user_description= _ "Al'Brock"
        side=2
        canrecruit=yes
        recruit= Wolf Rider, Orcish Grunt, Troll Whelp, Orcish Archer, Orcish Crossbowman, Orcish Warrior, Orcish Assassin
        team_name=Kapoue
        {INCOME 10 7 5}
        {GOLD 300 250 200}
    [/side]

    {STARTING_VILLAGES 2 5}

    [side]
        type=Orcish Warlord
        description="Flar'Tar"
        user_description= _ "Flar'Tar"
        side=3
        canrecruit=yes
        recruit= Wolf Rider, Orcish Grunt, Troll Whelp, Orcish Archer, Orcish Crossbowman, Orcish Warrior, Orcish Assassin
        team_name=Kapoue
        {INCOME 10 7 5}
        {GOLD 300 250 200}
    [/side]

    {STARTING_VILLAGES 3 5}

    [side]
        type=Grand Marshal
        description="Earl Lanbec'h"
        user_description= _ "Earl Lanbec'h"
        side=4
        canrecruit=yes
        recruit=Dragoon, Swordsman, Pikeman, Longbowman,Shock Trooper,Mage,Duelist,White Mage,Red Mage,Lancer,Knight,Spearman,Bowman,Cavalryman,Horseman
        team_name=villains
        {GOLD 800 900 1000}
        {INCOME 20 25 30}
        recruitment_pattern=scout,scout,fighter,archer,fighter,archer,mixed fighter,mixed fighter,healer
        leader_value=50.0
    [/side]

    {STARTING_VILLAGES 4 6}

    [story]
        [part]
            story= _ "As Kapou'e expected, by the time his forces had been defeated Shan Taun was nowhere to be found. Gritting his teeth and vowing that he would yet make a mug out of the traitor's skull, Kapou'e gathered his men and headed for Dorset."
            background=sotbe.png
        [/part]

        [part]
            story= _ "Once there he found his generals, Al'Brock and Flar'Tar had already arrived along with hundreds of bloodthirsty orcs. The warriors of the tribes that Kapou'e had cowed into submission were also present. In addition, the remaining shamans of the Great Council were also present to help in whatever way they could to preserve the unity of the Horde."
            background=sotbe.png
        [/part]

        [part]
            story= _ "Their presence proved to be unnecessary. It came as a shock to Kapou'e to discover, after a few days, that his people held him in awe. News of Kapou'e's exploits had been widely circulated - from his rescue of the shamans at Barag Gór, to his forced march through the northern blizzards. Younger grunts especially worshiped him with such fervor that he found it almost frightening."
            background=sotbe.png
        [/part]

        [part]
            story= _ "Days passed, the snows melted and Kapou'e readied his defenses. A few weeks after Kapou'e's arrival, riders caught sight of Earl Lanbec'h's army."
            background=sotbe.png
        [/part]
    [/story]

    [event]
        name=start

        {RECALL Grüü}
        {RECALL Inarix}
        # wmllint: recognize Grüü

        {HUMAN_GUARD 19 25}
        {HUMAN_GUARD 13 25}
        {HUMAN_GUARD 15 25}
        {HUMAN_GUARD 17 25}
        {HUMAN_GUARD 21 25}
        {HUMAN_GUARD 23 25}

        {ORC_GUARD 16 12}
        {ORC_GUARD 15 13}
        {ORC_GUARD 1 13}
        {ORC_GUARD 3 13}
        {ORC_GUARD 5 13}
        {ORC_GUARD 6 12}
        {ORC_GUARD 8 12}
        {ORC_GUARD 9 13}
        {ORC_GUARD 11 13}
        {ORC_GUARD 13 13}
        {ORC_GUARD 20 12}
        {ORC_GUARD 21 13}
        {ORC_GUARD 23 13}
        {ORC_GUARD 25 13}
        {ORC_GUARD 27 13}
        {ORC_GUARD 31 13}
        {ORC_GUARD 33 13}
        {ORC_GUARD 35 13}
        {ORC_GUARD 28 12}
        {ORC_GUARD 30 12}

        [unit]
            side=2
            type=Orcish Warrior
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Warrior
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Crossbowman
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Crossbowman
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Crossbowman
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Slayer
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Slayer
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=2
            type=Orcish Warrior
            x=7
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Warrior
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Warrior
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Crossbowman
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Crossbowman
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Crossbowman
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Warrior
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Slayer
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            side=3
            type=Orcish Slayer
            x=29
            y=8
            generate_description=yes
            random_traits=yes
        [/unit]

        [message]
            description="Earl Lanbec'h"
            message= _ "This is it, men! It is time to make these orcs pay for all that they have done to us. Attack and spare no orc! Let us take back this land which is rightfully ours!"
        [/message]

        [message]
            description="Kapou'e"
            message= _ "Forward, men! Our wolves will feed well tonight!"
        [/message]

        [message]
            description=Grüü
            message= _ "Come here, human softlings. Grüü has a little present for you..."
        [/message]
    [/event]

    [event]
        name=die
        [filter]
            description="Kapou'e"
        [/filter]
        [message]
            speaker=unit
            message= _ "Argh! I'm done. My people are doomed!"
        [/message]
        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name=turn 7

        [message]
            speaker=narrator
            message= _ "As a fresh day dawned, more human forces arrived."
            image=wesnoth-icon.png
        [/message]

        [gold]
            amount=800
            side=4
        [/gold]

        [unit]
            type=General
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]
    [/event]

    [event]
        name=turn 13

        [message]
            speaker=narrator
            message= _ "At the dawn of the third day, still more human forces arrived."
            image=wesnoth-icon.png
        [/message]

        [gold]
            amount=800
            side=4
        [/gold]

        [unit]
            type=General
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]
    [/event]

    [event]
        name=turn 19

        [gold]
            amount=800
            side=4
        [/gold]

        [unit]
            type=General
            description=Bruce
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [message]
            description=Bruce
            message= _ "We have arrived, my lord."
        [/message]
    [/event]

    [event]
        name=25

        [message]
            description="Earl Lanbec'h"
            message= _ "Ahhh, perfect, more reinforcements."
        [/message]

        [gold]
            amount=800
            side=4
        [/gold]

        [unit]
            type=General
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Swordsman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Longbowman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Horseman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]

        [unit]
            type=Spearman
            side=4
            x=18
            y=34
            generate_description=yes
            random_traits=yes
        [/unit]
    [/event]

    [event]
        name=moveto
        [filter]
            x=17,17,18,18,18,19,19
            y=28,29,27,28,29,28,29
            side=1
        [/filter]

        [move_unit_fake]
            type=General
            x=35,34,33,32,31,31,32,32,32,32,32
            y=30,30,31,30,30,29,28,27,26,25,24
        [/move_unit_fake]

        [unit]
            side=2
            type=General
            description=Howgarth III
            user_description= _ "Howgarth III"
            x=32
            y=24
        [/unit]

        [move_unit_fake]
            type=Royal Guard
            x=35,34,33,32,31,31,32,32,32,32,31
            y=30,30,31,30,30,29,28,27,26,25,25
        [/move_unit_fake]

        [unit]
            side=2
            type=Royal Guard
            x=31
            y=25
            generate_description=yes
            random_traits=yes
        [/unit]

        [move_unit_fake]
            type=Royal Guard
            x=35,34,33,32,31,31,32,32,32,32,32,33
            y=30,30,31,30,30,29,28,27,26,25,24,24
        [/move_unit_fake]

        [unit]
            side=2
            type=Royal Guard
            x=33
            y=24
            generate_description=yes
            random_traits=yes
        [/unit]

        {WRAPUP}

        [endlevel]
            result=victory
            bonus=yes
        [/endlevel]
    [/event]

    [event]
        name=time over

        [move_unit_fake]
            type=General
            x=35,34,33,32,31,31,32,32,32,32,32
            y=30,30,31,30,30,29,28,27,26,25,24
        [/move_unit_fake]

        [unit]
            side=2
            type=General
            description=Howgarth III
            user_description= _ "Howgarth III"
            x=32
            y=24
        [/unit]

        [move_unit_fake]
            type=Royal Guard
            x=35,34,33,32,31,31,32,32,32,32,31
            y=30,30,31,30,30,29,28,27,26,25,25
        [/move_unit_fake]

        [unit]
            side=2
            type=Royal Guard
            x=31
            y=25
            generate_description=yes
            random_traits=yes
        [/unit]

        [move_unit_fake]
            type=Royal Guard
            x=35,34,33,32,31,31,32,32,32,32,32,33
            y=30,30,31,30,30,29,28,27,26,25,24,24
        [/move_unit_fake]

        [unit]
            side=2
            type=Royal Guard
            x=33
            y=24
            generate_description=yes
            random_traits=yes
        [/unit]

        {WRAPUP}

        [endlevel]
            result=victory
            bonus=no
        [/endlevel]
    [/event]

    [event]
        name=die
        [filter]
            description="Earl Lanbec'h"
        [/filter]

        [move_unit_fake]
            type=General
            x=35,34,33,32,31,31,32,32,32,32,32
            y=30,30,31,30,30,29,28,27,26,25,24
        [/move_unit_fake]

        [unit]
            side=2
            type=General
            description=Howgarth III
            user_description= _ "Howgarth III"
            x=32
            y=24
        [/unit]

        [move_unit_fake]
            type=Royal Guard
            x=35,34,33,32,31,31,32,32,32,32,31
            y=30,30,31,30,30,29,28,27,26,25,25
        [/move_unit_fake]

        [unit]
            side=2
            type=Royal Guard
            x=31
            y=25
            generate_description=yes
            random_traits=yes
        [/unit]

        [move_unit_fake]
            type=Royal Guard
            x=35,34,33,32,31,31,32,32,32,32,32,33
            y=30,30,31,30,30,29,28,27,26,25,24,24
        [/move_unit_fake]

        [unit]
            side=2
            type=Royal Guard
            x=33
            y=24
            generate_description=yes
            random_traits=yes
        [/unit]

        {WRAPUP}

        [endlevel]
            result=victory
            bonus=yes
        [/endlevel]
    [/event]

    {@campaigns/Son_Of_The_Black_Eye/utils/deaths.cfg}
[/scenario]
