#textdomain wesnoth-sotbe
[scenario]
    id="To_the_harbour_of_Tirigaz"
    name= _ "To the Harbour of Tirigaz"
    map_data="{campaigns/Son_Of_The_Black_Eye/maps/To_The_Harbour_Of_Tirigaz.map}"

    {TURNS 36 30 24}
    {SCENARIO_MUSIC "underground.ogg"}
    {EXTRA_SCENARIO_MUSIC "suspense.ogg"}
    {EXTRA_SCENARIO_MUSIC "the_deep_path.ogg"}

#ifdef EASY
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
#endif

#ifdef NORMAL
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
#endif

#ifdef HARD

    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {FIRST_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {SECOND_WATCH}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}
    {DAWN}

#endif

    next_scenario="Black_Flag"

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                condition=win
                description=_ "Defeat all enemy leaders"
            [/objective]
            [objective]
                condition=lose
                description=_ "Death of Kapou'e"
            [/objective]
            [objective]
                condition=lose
                description=_ "Death of Grüü"
            [/objective]
            [objective]
                condition=lose
                description=_ "Death of a Shaman"
            [/objective]
            [objective]
                condition=lose
                description=_ "Turns run out"
            [/objective]

            note={EARLY_FINISH_BONUS_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]

    [side]
        type=Lich
        id=Na-Mana
        name= _ "Na-Mana"
        side=2
        team_name=undead
        user_team_name=_"Undead"
        canrecruit=yes
        facing=sw
        [ai]
            aggression=1.0
            village_value=0.0
            leader_value=50.0
            recruitment_pattern=fighter,archer,fighter,archer,scout
        [/ai]
#ifdef EASY
        recruit=Vampire Bat, Skeleton Archer, Skeleton, Dark Adept
#endif
#ifdef NORMAL
        recruit=Blood Bat, Skeleton Archer, Skeleton, Dark Adept
#endif
#ifdef HARD
        recruit=Blood Bat, Skeleton Archer, Revenant, Dark Adept
#endif
        {GOLD 100 150 180}
    [/side]

    {STARTING_VILLAGES 2 10}

    [side]
        type=Lich
        id=Ma-Rana
        name= _ "Ma-Rana"
        side=3
        team_name=undead
        user_team_name=_"Undead"
        canrecruit=yes
        recruit=Vampire Bat, Skeleton Archer, Ghost, Skeleton
        [ai]
            recruitment_pattern=fighter,archer,fighter,archer,scout
            aggression=-1.0
        [/ai]
        {GOLD 100 150 190}
    [/side]

    {STARTING_VILLAGES 3 10}

    [story]
        [part]
            story= _ "Kapou'e and the shamans rested and discussed the matter for three days. It was finally decided that it might be necessary to call up the Great Horde to deal with this massive human incursion. However, in order to do that the entire Great Council would have to gather."
            background=farnorth.png
        [/part]

        [part]
            story= _ "Since it was now obvious that the humans were going to try their best to prevent that by capturing or killing the shamans, Kapou'e was requested to escort the shamans to the Harbor of Tirigaz where the rest of the council was residing."
            background=farnorth.png
        [/part]

        [part]
            story= _ "Leaving most of his people at Barag Gór, Kapou'e, accompanied by the shamans and his warriors set off to Tirigaz."
            background=farnorth.png
        [/part]

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

    {ANIMATED_CAMPFIRE 21 14}
    {ANIMATED_CAMPFIRE 15 17}

    [event]
        name=prestart

        [item]
            x=29
            y=24
            image=items/holy-water.png
        [/item]
    [/event]

    [event]
        name=start

        [recall]
            id=Grüü
            x,y=16,17
        [/recall]

        [recall]
            id=Jetto
            x,y=16,15
        [/recall]

        [recall]
            id=Pirk
            x,y=21,15
        [/recall]

        [recall]
            id=Gork
            x,y=20,14
        [/recall]

        [recall]
            id=Vraurk
            x,y=19,14
        [/recall]

        [message]
            speaker=narrator
            message= _ "A couple of days into their journey, the party halted to rest for the night."
            image=wesnoth-icon.png
        [/message]

        [message]
            speaker="Vraurk"
            message= _ "Ahhh, I'm so tired. It was a good idea to halt in such a quiet place."
        [/message]
        [message]
            speaker="Grüü"
            message= _ "It is too quiet. Just plain boring."
        [/message]
        [message]
            speaker="Pirk"
            message= _ "Shut up, I just heard something."
        [/message]
        [message]
            speaker="Kapou'e"
            message= _ "You're right. I can see something is moving in these hills. Looks like there are undead there."
        [/message]

        [scroll_to]
            x,y=36,2
        [/scroll_to]

        [delay]
            time=500
        [/delay]

        [scroll_to]
            x,y=2,29
        [/scroll_to]

        [delay]
            time=500
        [/delay]

        [message]
            speaker="Grüü"
            message= _ "Excellent! It is time for exercise!"
        [/message]

        [message]
            speaker=Vraurk
            message= _ "Uh... I don't think so. Let's get out of here!"
        [/message]

        [message]
            speaker="Grüü"
            message= _ "No way! Grüü want to crush some undead."
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Grüü is right. It is not wise to let these undead remain here cutting off our supply lines and path of retreat. In these days of turmoil, we don't know what lies ahead, so it is best not to leave any threats in our rear."
        [/message]

        [message]
            speaker=Vraurk
            message= _ "But..."
        [/message]

        [message]
            speaker=Gork
            message= _ "Hush, Vraurk, We must trust the Son of the Black-Eye in these matters, for he is far more versed in them then we are."
        [/message]

        [message]
            speaker="Grüü"
            message= _ "That's right, lets go!"
        [/message]
    [/event]

    [event]
        name=moveto
        first_time_only=yes
        [filter]
            side=1
            x=29
            y=24
        [/filter]
        [message]
            speaker=unit
            message= _ "Hmmm, what a neat bottle! What is it?"
        [/message]
        [message]
            speaker=unit
            message= _ "It is written H.O.L.Y W.A.T.E.R" # wmllint: no spellcheck
        [/message]
        [message]
            speaker=unit
            message= _ "I'm thirsty ... *gulp* *gulp*"
            sound=potion.ogg
        [/message]
        [message]
            speaker=unit
            message= _ "Ahhh, that was yummy!"
        [/message]
        [removeitem]
            x=29
            y=24
        [/removeitem]
        [allow_undo][/allow_undo]
    [/event]

    [event]
#ifdef EASY
        name=turn 25
#endif
#ifdef NORMAL
        name=turn 21
#endif
#ifdef HARD
        name=turn 17
#endif
        [message]
            speaker="Grüü"
            message= _ "The day is coming, these night creatures will soon return to the pit."
        [/message]
        [message]
            speaker="Pirk"
            message= _ "Grüü, are you forgetting we are also night creatures?"
        [/message]
        [message]
            speaker="Grüü"
            message= _ "Err... well..."
        [/message]
    [/event]

    [event]
        name=enemies defeated

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

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