#textdomain wesnoth-thot
[scenario]
    name=_"The Siege of Kal Kartha"
    id="10_The_Siege_of_Kal_Kartha"
    next_scenario="11_The_Court_of_Karrag"
    victory_when_enemies_defeated=yes

    # The map should be thematically something like a reflection of the one
    # for "At The East Gate", but on a larger scale.  The player's
    # encampment should be at the west edge.  Kal Kartha will be
    # represented by an underground keep (the West Gate) set into
    # high mountains at the east edge of the map.

    map_data="{@campaigns/The_Hammer_of_Thursagan/maps/the_siege_of_kal_kartha.map}"

    {DEFAULT_SCHEDULE}
    {DEFAULT_MUSIC_PLAYLIST}

    turns=35	# BALANCE

    [side]
        type="Dwarvish Fighter"
        description="Aiglondur"
        user_description=_"Aiglondur"
        canrecruit="1"
        side="1"
        controller="human"
        team_name="goodguys"
        fog="no"
        shroud="no"
        recruit="Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman,Mage"
        {GOLD 140 120 100}	# BALANCE
    [/side]

    [side]
        type="Dwarvish Steelclad"
        description="Dulcatulos"
        user_description=_"Dulcatulos"
        profile=portraits/dulcatulos.png
        canrecruit="1"
        side="2"
        controller="ai"
        team_name="goodguys"
        fog="no"
        shroud="no"
        recruit="Dwarvish Fighter,Dwarvish Thunderer"
        [ai]
            {NO_SCOUTS}
            passive_leader=yes
            grouping=defensive
            recruitment_pattern=fighter,fighter,mixed fighter
            {ATTACK_DEPTH 4 5 5}
        [/ai]
        {GOLD 280 240 200}	# BALANCE
    [/side]

    {STARTING_VILLAGES 2 5}

    [side]
        type=Orcish Warlord
        description=Tan-Morgh
        user_description= _ "Tan-Morgh"
        profile=portraits/James_Woo/orc-warlord4.png
        side=3
        canrecruit=yes
#ifdef EASY
        recruit=Orcish Archer, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Spearman
#endif

#ifdef NORMAL
        recruit=Orcish Archer, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Pillager, Goblin Spearman
#endif

#ifdef HARD
        recruit=Orcish Archer, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Knight, Goblin Pillager, Orcish Slayer, Goblin Spearman, Goblin Impaler
#endif

        team_name=orcs
        [ai]
            {NO_SCOUTS}
            recruitment_ignore_bad_movement=yes
            recruitment_pattern=scout,fighter,fighter,archer
            {ATTACK_DEPTH 4 5 5}
            [leader_goal]
                x,y=44,15	# wants to take the Kal Karthans' keep.
            [/leader_goal]
            [target]
                side=2		# wants to kill Kal Karthans
                value=4.0
            [/target]
        [/ai]
        [ai]
            time_of_day=dusk,first_watch,second_watch
            aggression=0.75
            caution=0.0
            grouping=no
        [/ai]
        {GOLD 160 200 240}	# BALANCE
    [/side]

    [side]
        type=Orcish Warlord
        description=Tan-Garukh
        user_description= _ "Tan-Garukh"
        profile=portraits/James_Woo/orc-warlord3.png
        side=4
        canrecruit=yes
        recruit=Orcish Archer, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Spearman

        team_name=orcs
        [ai]
            {NO_SCOUTS}
            recruitment_ignore_bad_movement=yes
            recruitment_pattern=scout,fighter,fighter,archer
            {ATTACK_DEPTH 4 5 5}
            [leader_goal]
                x,y=44,15	# wants to take the Kal Karthans' keep.
            [/leader_goal]
            [target]
                side=2		# wants to kill Kal Karthans
                value=4.0
            [/target]
        [/ai]
        [ai]
            time_of_day=dusk,first_watch,second_watch
            aggression=0.75
            caution=0.0
            grouping=no
        [/ai]
        {GOLD 160 200 240}	# BALANCE
    [/side]

    [side]
        type=Orcish Warlord
        description="Tan-Wagran"
        user_description= _ "Tan-Wagran"
        profile=portraits/James_Woo/orc-warlord.png
        side=5
        canrecruit=yes
        recruit=Orcish Archer, Orcish Grunt, Wolf Rider, Orcish Warrior, Goblin Spearman
        team_name=orcs
        [ai]
            {NO_SCOUTS}
            recruitment_ignore_bad_movement=yes
            recruitment_pattern=scout,fighter,fighter,archer
            {ATTACK_DEPTH 4 5 5}
            [leader_goal]
                x,y=44,15	# wants to take the Kal Karthans' keep.
            [/leader_goal]
            [target]
                side=2		# wants to kill Kal Karthans
                value=4.0
            [/target]
        [/ai]
        [ai]
            time_of_day=dusk,first_watch,second_watch
            aggression=0.75
            caution=0.0
            grouping=no
        [/ai]
        {GOLD 160 200 240}	# BALANCE
    [/side]

    {@campaigns/The_Hammer_of_Thursagan/utils/herodeaths.cfg}
    {@campaigns/The_Hammer_of_Thursagan/utils/macros.cfg}

    {SET_RIGHTEOUS_FLAME_EVENT}

    [event]
        name="start"

        [recall]
            description="Angarthing"
        [/recall]

        [recall]
            description="Ratheln"
        [/recall]

        [recall]
            description="Darchas"
        [/recall]

        [recall]
            description="Lorinne"
        [/recall]

        {CONDITIONAL_MAGE_RECRUITING}

        [message]
            description="Angarthing"
            message=_"Behold! The West Gate of Kal Kartha!"
        [/message]
        [message]
            description="Aiglondur"
            message=_"And under siege, I see.  There is a mighty host of orcs between us and that gate."
        [/message]
        [message]
            description="Tan-Morgh"
            message=_"Ahhh...more stinky-midgets, come to get killed just like these cowards in their den."
        [/message]
        [message]
            description="Aiglondur"
            message=_"Let us bring our kin that orc's head as a guesting-gift."
        [/message]

        [objectives]
            side="1"
            silent="no"
            [objective]
                description=_"Defeat all enemies"
                condition="win"
            [/objective]
            [objective]
                description=_"Death of Aiglondur"
                condition="lose"
            [/objective]
            [objective]
                description=_"Death of Angarthing"
                condition="lose"
            [/objective]
            [objective]
                description=_"Death of West Gate commander"
                condition="lose"
            [/objective]
            [objective]
                description=_"Time runs out"
                condition="lose"
            [/objective]
        [/objectives]
    [/event]

    [event]
        name="die"
        [filter]
            description="Dulcatulos"
        [/filter]

        [message]
            description=Aiglondur
            message=_ "Kal Kartha is taken.  Our mission has failed."
        [/message]

        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name="victory"

        [message]
            speaker=Dulcatulos
            message=_"Well fought, and our thanks; we were sore pressed.  You are our honored guests, and I will show you to the best quarters we have myself.  Our lord, the runemaster Karrag, will want to have speech with you on the morrow."
        [/message]

        [message]
            speaker=Angarthing
            message=_"A runemaster?  There had been none such since Thursagan's day. And for one to lead a holding was unheard-of; they tended towards the solitary life."
        [/message]

        [message]
            speaker=Dulcatulos
            message=_"Aye?  Well, you'd know such things better than I, loremaster.  Our Karrag toiled for long years to recover the craft lore.  He was elevated when our old lord fell in battle against the besieging orcs.  Karrag himself was wounded near to death; none thought he would recover.  But he leads us today, and his runelore has oft been the only shield between us and the orcs."
        [/message]

        [message]
            speaker=Angarthing
            message=_"He has grasped the Hammer of Thursagan, then?"
        [/message]

        [message]
            speaker=Dulcatulos
            message=_"Aye. Toils over it in a workshop in the underlevels with
his personal followers.  He has promised all of us that the Hammer's power
will smash and scatter all our enemies."
        [/message]

        [message]
            speaker=Angarthing
            message=_"That is strange.  The Hammer is a tool of crafting and making, not a weapon.  What can he mean to do with it?"
        [/message]

        [message]
            speaker=Dulcatulos
            message=_"That's for lords and loremasters to worry about, not the likes of me.  I must see to my troop's care. Food will be brought to you; rest well, we will speak again."
        [/message]
    [/event]
[/scenario]
