#textdomain wesnoth-sotbe
#define VILLAGE X Y
    [village]
        x={X}
        y={Y}
    [/village]
#enddef

[scenario]
    id=Giving_Some_Back
    name= _ "Giving Some Back"
    map_data="{campaigns/Son_Of_The_Black_Eye/maps/Giving_Some_Back.map}"
    {TURNS 28 24 20}
    {SCENARIO_MUSIC "battle.ogg"}
    {VICTORY_AND_DEFEAT_MUSIC}

    {DEFAULT_SCHEDULE}

    next_scenario=Blasted_Elves

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description= _ "Defeat All Enemy Leaders."
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Kapou'e"
                condition=lose
            [/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 300 250 200}
        {BLACK_FLAG}
    [/side]

    [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
        team_name=Kapoue
        {INCOME 10 7 5}
        {GOLD 300 250 200}
    [/side]

    [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
        team_name=Kapoue
        {INCOME 10 7 5}
        {GOLD 300 250 200}
    [/side]

    [side]
        type=General
        description=General Arthur
        user_description= _ "General Arthur"
        side=4
        canrecruit=yes
        recruit=Dragoon, Swordsman, Pikeman, Longbowman,Shock Trooper,Mage,Duelist,White Mage,Red Mage,Lancer,Knight
        team_name=vilains
        {GOLD 300 350 400}
        {VILLAGE 11 24}
        {VILLAGE 8 24}
        {VILLAGE 9 28}
        {VILLAGE 12 22}
        {VILLAGE 10 25}
        {VILLAGE 11 27}
        {VILLAGE 18 23}
        {VILLAGE 18 25}
        {VILLAGE 18 27}
        {VILLAGE 22 24}
        {VILLAGE 21 26}
        {VILLAGE 20 27}
        {VILLAGE 19 29}

        [ai]
            [leader_goal]
                x=15
                y=26
                value=100
            [/leader_goal]
        [/ai]
    [/side]

    [side]
        type=Lieutenant
        description=Lieutenant Hank
        user_description= _ "Lieutenant Hank"
        recruit=Spearman,Bowman,Horseman,Mage,Cavalryman,Fencer
        side=5
        canrecruit=yes
        team_name=vilains
        {GOLD 200 250 300}
        {VILLAGE 17 20}
        {VILLAGE 18 20}
        {VILLAGE 12 20}
        {VILLAGE 13 20}
        {VILLAGE 19 27}
        {VILLAGE 17 12}
    [/side]

    [story]
        [part]
            story= _ "With the arrival of the Great Horde, and the humans having retreated, the united orcish forces held a council of war."
            background=sotbe3.png
        [/part]

        [part]
            story= _ "After a fair amount of squabbling - for some of the older warlords were reluctant to let this young upstart lead them - and a few consequent executions, the leadership of the horde was formally bestowed upon Kapou'e."
            background=sotbe3.png
        [/part]

        [part]
            story= _ "Riders were dispatched in all directions to gather intelligence and to pinpoint the exact location of the hostile forces."
            background=sotbe3.png
        [/part]

        [part]
            story= _ "The horde was then split into two forces. On the advice of the shamans, Kapou'e placed one force under the leadership of Shan Taum the Smug, who - despite his obnoxious nature - was a fierce and capable leader. He was sent to Bitok, the most southwestern orcish city, to cut off the humans already invading the harbor of Tirigaz, and to stop any further human incursion into orcish territory."
            background=sotbe3.png
        [/part]

        [part]
            story= _ "He sent the shamans, Pirk, Gork and Vraurk back to Borstep - a city just north of the Mourned Hills - to organize any remaining orcish forces as well as create a arms and supply depot."
            background=sotbe3.png
        [/part]

        [part]
            story= _ "Kapou'e himself - desiring to settle this business once and for all - led his remaining forces to Dorset, the human city due south of Prestim, to which Earl Lanbec'h had retreated."
            background=sotbe3.png
        [/part]
    [/story]

    [event]
        name=prestart
        {RECALL Grüü}
        {RECALL Inarix}
        # wmllint: recognize Grüü
        # wmllint: recognize Inarix
        [role]
            type=Orcish Warlord,Troll Warrior,Orcish Warrior,Saurian Ambusher,Troll,Orcish Grunt,Saurian Skirmisher,Troll Whelp
            role=cannonfodder
        [/role]
    [/event]

    [event]
        name=start

        [message]
            description="Kapou'e"
            message= _ "Earl Lanbec'h, you slimy coward, come out and face me if you have the guts!"
        [/message]

        [message]
            description=General Arthur
            message= _ "Sorry there, old chap. You're deemed too insignificant for the likes of the Earl to deal with. He's left that pleasure to me instead."
        [/message]

        [message]
            description="Kapou'e"
            message= _ "Foolish human. Attack, men, I want that city to be orcish territory within the week. Smite, stab, and slay!"
        [/message]

        [message]
            description="Al'Brock"
            message= _ "Easier said then done, Chief. There are many humans in that city. And they are well armed, too."
        [/message]

        [message]
            description=Grüü
            message= _ "No matter. Horde smash!"
        [/message]
    [/event]

    [event]
        name=die
        [filter]
            description=Lieutenant Hank
        [/filter]

        [message]
            description=General Arthur
            message= _ "The orcs are making headway. The city must not fall - call the reserves!"
        [/message]

        [gold]
            side=4
            amount=400
        [/gold]
    [/event]

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