#textdomain wesnoth-sotbe
[scenario]
    id=16_The_Coward
    name= _ "The Coward"
    map_file=16_The_Coward.map

    turns=22

    victory_when_enemies_defeated="yes"

    {SCENARIO_MUSIC "vengeful.ogg"}
    {EXTRA_SCENARIO_MUSIC "breaking_the_chains.ogg"}

    {DEFAULT_SCHEDULE_MORNING}

    next_scenario=17_The_Human_Attack

    [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]

            {TURNS_RUN_OUT}

            [gold_carryover]
                bonus=yes
                carryover_percentage=40
            [/gold_carryover]

            {GREAT_HORDE_NOTE}
        [/objectives]
    [/event]

    [side]
        side=1
        id="Kapou'e"
        type=Orcish Leader
        controller=human
        team_name=Kapoue
        user_team_name=_ "Kapou’e"
        {GOLD 250 225 200}
        {INCOME 5 4 3}
        {BLACK_FLAG}
    [/side]

    [side]
        type=Orcish Warlord
        id=Orga
        name= _ "Orga"
        side=2
        canrecruit=yes
        recruit=Goblin Knight, Orcish Warrior, Orcish Crossbowman, Wolf Rider, Orcish Grunt, Orcish Archer, Orcish Slayer, Ogre
        {GOLD 300 350 400}
        {INCOME 10 15 20}
        user_team_name=_"Rebels"
        team_name=rebels
        [ai]
            aggression=1.0
            caution=0.0
            village_value=0
            villages_per_scout=0
            grouping=no
        [/ai]
    [/side]

    {STARTING_VILLAGES 2 31}

    [side]
        type=Orcish Warrior
        id=Knorgh
        name= _ "Knorgh"
        side=3
        canrecruit=yes
        recruit=Wolf Rider, Orcish Grunt, Orcish Archer, Young Ogre
        {GOLD 125 150 175}
        user_team_name=_"Rebels"
        team_name=rebels
    [/side]

    {STARTING_VILLAGES 3 6}

    [side]
        type=Orcish Warrior
        id=Nofhug
        name= _ "Nofhug"
        side=4
        canrecruit=yes
        recruit=Wolf Rider, Orcish Grunt, Orcish Archer, Young Ogre
        {GOLD 125 150 175}
        user_team_name=_"Rebels"
        team_name=rebels
    [/side]

    {STARTING_VILLAGES 4 6}

    [story]
        [part]
            story= _ "Kapou’e and his followers made a grueling march across the frozen Northlands. For the orcs, it was a constant nightmare of freezing, marching and fighting. Food was scarce, and the stores that they managed to seize from rebellious tribes had to be strictly rationed. Many of the weaker orcs who weren’t killed in combat died from exhaustion or fell behind and froze to death."
            {SOTBE_BIGMAP}
            {JOURNEY_15_OLD}
        [/part]

        [part]
            story= _ "Throughout this nightmare, Kapou’e drove himself and his men ruthlessly. The spring thaw would soon be upon them and with it, the human army that Earl Lanbec’h was no doubt rallying. By that time, the orcs had to be united one way or another, since if they were separated and scattered, they would surely be exterminated."
            {SOTBE_BIGMAP}
            {JOURNEY_15_OLD}
        [/part]

        [part]
            story= _ "And so they marched on, persevering in weather that would kill even the most hardened human, and through fierce bloody battles with belligerent tribes."
            {SOTBE_BIGMAP}
            {JOURNEY_15_OLD}
        [/part]

        [part]
            story= _ "Finally, after over three months, Kapou’e and his exhausted but hardened army arrived at Bitok, just before the spring thaw."
            {SOTBE_BIGMAP}
            {JOURNEY_15_OLD}
        [/part]
    [/story]

    {SOTBE_TRACK {JOURNEY_16_NEW} }

    {GOT_THE_GREAT_HORDE 1}

    [event]
        name=prestart

        [unit]
            side=2
            type=Orcish Warlord
            id=Shan Taum
            name= _ "Shan Taum"
            profile=portraits/shan_taum.webp
            x=12
            y=19
            random_traits=no
        [/unit]
    [/event]

    [event]
        name=start

        [recall]
            id=Grüü
            x,y=45,11
        [/recall]

        [recall]
            id=Inarix
            x,y=44,10
        [/recall]

        [recall]
            id=Jetto
            x,y=44,9
        [/recall]

        [if]
            [have_unit]
                id=Jetto
            [/have_unit]

            [else]
                [recall]
                    race=orc,troll,lizard
                    x,y=44,9
                [/recall]
            [/else]
        [/if]

        [if]
            [have_unit]
                id=Inarix
            [/have_unit]

            [else]
                [recall]
                    race=orc,troll,lizard
                    x,y=44,10
                [/recall]
            [/else]
        [/if]

        [message]
            speaker="Kapou'e"
            message= _ "Good morning, Shan Taum!"
            image=portraits/kapoue-angry.webp
        [/message]

        [message]
            speaker="Shan Taum"
            image=portraits/shan_taum.webp~FL()~RIGHT()
            message= _ "What... Kapou’e! What in the frozen Northlands are you doing here?!"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Oh, I just thought I would take a bracing winter stroll and visit my father’s old friend. How could I not, given his impressive list of recent accomplishments."
        [/message]

        [message]
            speaker="Shan Taum"
            image=portraits/shan_taum.webp~FL()~RIGHT()
            message= _ "Accomplishments?"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Well let’s see, first he betrays the trust of his sworn sovereign and becomes no less than a boot-licking spy for the humans. Then he goes on to engineer the death of half of the Great Council and in doing so makes himself directly responsible for the deaths of hundreds of orcs. And best of all, he is directly responsible for a bloody civil war right at the time when his people are on the edge of total extermination!"
        [/message]

        [message]
            speaker="Shan Taum"
            image=portraits/shan_taum.webp~FL()~RIGHT()
            message= _ "LIES! THESE ARE ALL LIES!"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Tell you what, you ungrateful backstabbing traitor, if you surrender right now, I will just cut off your head instead of torturing you to death."
        [/message]

        [message]
            speaker="Shan Taum"
            image=portraits/shan_taum.webp~FL()~RIGHT()
            message= _ "How dare you accuse me of being a traitor, you turdlicker!"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Right... So what will it be, beheading or torture?"
        [/message]

        [message]
            speaker="Shan Taum"
            image=portraits/shan_taum.webp~FL()~RIGHT()
            # wmllint: local spelling turdlicker
            message= _ "Orga, kill this kid for me. I’ll be in my keep."
        [/message]

        [message]
            speaker=Orga
            image=portraits/orcs/warlord.webp~FL()~RIGHT()
            message= _ "Yes, sir!"
        [/message]

        [kill]
            id=Shan Taum
        [/kill]

        [move_unit_fake]
            type=Orcish Warlord
            side=2
            x=12,10
            y=19,20
        [/move_unit_fake]

        [message]
            speaker="Kapou'e"
            message= _ "What! Fight like an orc, you gutless coward!"
            image=portraits/kapoue-angry.webp
        [/message]
    [/event]

    [event]
        name=turn 4

        [role]
            side=1
            race=orc,wolf,lizard
            [not]
                type_adv_tree=Orcish Leader
            [/not]
            role=Helper
        [/role]

        [message]
            role=Helper
            message= _ "Hey Chief, it’s pretty odd. Shan Taum doesn’t seem to have too many of his men around. He was given control of half the Great Horde. Do you think they left him?"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "I doubt it. Shan Taum knows how to dissemble. I’ll bet he sent them out like we did to clobber the other tribes into his rule. In any case, it will be convenient for us."
        [/message]
    [/event]

    [event]
        name=enemies defeated

        [message]
            speaker="Kapou'e"
            message= _ "Good, we crushed this pocket of resistance too. Now where in the world did that coward Shan Taum run off to?"
        [/message]

        [endlevel]
            result=victory
            bonus=yes
            {NEW_GOLD_CARRYOVER 40}
        [/endlevel]
    [/event]

    {HERO_DEATHS}
[/scenario]
