#textdomain wesnoth-sotbe
[scenario]
    id="Shan_Taum_The_Smug"
    name= _ "Shan Taum The Smug"
    map_data="{campaigns/Son_Of_The_Black_Eye/maps/Shan_Taum_The_Smug.map}"
    turns=20

    {DEFAULT_SCHEDULE}

    next_scenario="Saving_Inarix"

    {SCENARIO_MUSIC "the_city_falls.ogg"}
    {EXTRA_SCENARIO_MUSIC "battle.ogg"}

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description= _ "Survive the Shan Taum menace for 20 turns"
                condition=win
            [/objective]
            [objective]
                description= _ "<span color='white'>Alternative objective:</span>
<span color='green'>Defeat Shan Taum</span> <small>(early finish bonus)</small>"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Kapou'e"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Grüü"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of a Shaman"
                condition=lose
            [/objective]

            note={NEW_GOLD_CARRYOVER_NOTE_40}
        [/objectives]
    [/event]

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

    {STARTING_VILLAGES 1 4}

    [side]
        type=Orcish Warlord
        id=Shan Taum
        name= _ "Shan Taum"
        profile=portraits/shan_taum.png
        side=2
        canrecruit=yes
        facing=sw
        [ai]
            recruitment_pattern=scout, scout, fighter, fighter, mixed fighter, archer, fighter
            aggression=1.0
        [/ai]
        recruit=Ogre, Orcish Grunt, Orcish Warrior, Orcish Crossbowman, Orcish Assassin, Wolf Rider
        {GOLD 400 500 600}
    [/side]

    {STARTING_VILLAGES 2 23}

    [story]
        [part]
            background=farnorth.png
            story= _ "After clearing out the elves from the Silent Forest, Kapou'e and his party set out on the last leg of their journey. Within a few days they finally reached the city of Lmarig in the Mourned Hills, which was then ruled by Shan Taum the Smug."
        [/part]

        [part]
            show_title=yes
            {TO_SHAN_TAUM_THE_SMUG}
        [/part]
    [/story]

    [event]
        name=start
        [recall]
            id=Grüü
        [/recall]
        [recall]
            id=Jetto
        [/recall]
        [recall]
            id=Pirk
        [/recall]
        [recall]
            id=Gork
        [/recall]
        [recall]
            id=Vraurk
        [/recall]

        [message]
            speaker="Kapou'e"
            message= _ "At last, here are the Mourned Hills! We can only hope for the best."
        [/message]
        [message]
            speaker="Grüü"
            message= _ "Why?"
        [/message]
        [message]
            speaker="Gork"
            message= _ "You are a troll, so you don't know. These lands are ruled by Shan Taum the Smug, who was a rival of Black-Eye Karun."
        [/message]
        [message]
            speaker="Pirk"
            message= _ "I doubt he would welcome the son of the Black-Eye."
        [/message]
        [message]
            speaker="Shan Taum"
            message= _ "Who is that? Kapou'e! What are you doing in my lands, you weakling runt?"
        [/message]
        [message]
            speaker="Kapou'e"
            message= _ "Hold on, Shan Taum. We seek the Great Council, not a quarrel with you."
        [/message]
        [message]
            speaker="Shan Taum"
            # wmllint: local spelling Bwahaha
            message= _ "Bwahaha! You are nothing! Where is your land? You became a beggar. You are as pathetic as your father!"
        [/message]
        [message]
            speaker="Kapou'e"
            message= _ "How can you talk that way about my father, you miserable coward?! I'll make a mug from your skull!"
            image=portraits/kapoue-angry.png
        [/message]
        [message]
            speaker="Shan Taum"
            message= _ "Really? What would you drink with it? Mint cordial?"
        [/message]
        [message]
            speaker="narrator"
            message= _ "Exasperated, Kapou'e launched an attack on his fellow orc Shan Taum the Smug."
            image=wesnoth-icon.png
        [/message]
    [/event]

    [event]
        name=victory cutscene

        {OLD_ORCISH_SHAMAN 32 30 Fabstep _"Fabstep"}
        {OLD_ORCISH_SHAMAN 32 30 Klebar _"Klebar"}
        {OLD_ORCISH_SHAMAN 32 30 Echarp _"Echarp"}
        # wmllint: recognize Fabstep
        # wmllint: recognize Klebar
        # wmllint: recognize Echarp
        [message]
            speaker="Echarp"
            message= _ "What is this? Are you mad!? Humans are to besiege our fortress at Prestim and you are fighting each other!?"
        [/message]
        [message]
            speaker="Kapou'e"
            #wmllint: local spelling ermmm
            message= _ "Well, ermmm..."
        [/message]
        [message]
            speaker="Echarp"
            message= _ "Kapou'e, rumors tell of you making a long trip to seek assistance from us, and escorting Pirk, Gork and Vraurk. The council is grateful for that."
        [/message]
        [message]
            speaker="Fabstep"
            message= _ "I know what you want from us but I'm afraid we can't help you."
        [/message]
        [message]
            speaker="Kapou'e"
            message= _ "Really? But my people..."
        [/message]
        [message]
            speaker="Echarp"
            message= _ "You don't understand. Orcs have been divided for ages. The only one who gave us some unity was your father, Black-Eye Karun. Hearing rumors of your exploits, we understood you are a worthy son of your father."
        [/message]
        [message]
            speaker="Vraurk"
            message= _ "This is true. Now we are pressed from all sides by humans and elves; we need a leader that can unite all banners. This one is YOU!"
        [/message]
        [message]
            speaker="Kapou'e"
            message= _ "Thank you."
        [/message]
        [message]
            speaker="Grüü"
            message= _ "Did you hear? There is a battle waiting for us at Prestim!"
        [/message]
        [message]
            speaker="Echarp"
            message= _ "Kapou'e, if Prestim falls, humans will have a strong bridgehead on this side of the river and your people won't be safe. You are the only one that can help us defend Prestim!"
        [/message]
        [message]
            speaker="Pirk"
            message= _ "Leave your people here Kapou'e - they are safe for the moment - and go defend Prestim. In the meantime, now that the council is complete again, we will decide. We may have to form the Great Horde again, and give you the leadership on it."
        [/message]
        [kill]
            id="Pirk"
        [/kill]
        [kill]
            id="Gork"
        [/kill]
        [kill]
            id="Vraurk"
        [/kill]
        [kill]
            id="Fabstep"
        [/kill]
        [kill]
            id="Klebar"
        [/kill]
        [kill]
            id="Echarp"
        [/kill]
    [/event]

    [event]
        name=time over

        [fire_event]
            name=victory cutscene
        [/fire_event]

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

    [event]
        name=last breath

        [filter]
            id="Shan Taum"
        [/filter]

        [message]
            speaker="Shan Taum"
            message= _ "Nooo! Don't kill me, I surrender to you little earthworm."
        [/message]

        {VARIABLE unit.hitpoints 1}

        [unstore_unit]
            variable=unit
            find_vacant=no
        [/unstore_unit]

        [fire_event]
            name=victory cutscene
        [/fire_event]

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

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