#textdomain wesnoth-sotbe
[scenario]
    id=08_Silent_Forest
    name= _ "Silent Forest"
    map_data="{campaigns/Son_Of_The_Black_Eye/maps/08_Silent_Forest.map}"
    {TURNS 40 38 36}

    {DEFAULT_SCHEDULE}

    next_scenario=09_Shan_Taum_the_Smug

    {SCENARIO_MUSIC "knolls.ogg"}
    {EXTRA_SCENARIO_MUSIC "elvish-theme.ogg"}

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description= _ "Defeat the elves"
                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]

            {TURNS_RUN_OUT}

            [gold_carryover]
                bonus=yes
                carryover_percentage=40
            [/gold_carryover]
        [/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}
        fog=yes

        [village]
            x=5
            y=4
        [/village]

        [village]
            x=2
            y=5
        [/village]

        [village]
            x=2
            y=8
        [/village]

        [village]
            x=10
            y=3
        [/village]

        [village]
            x=8
            y=1
        [/village]

        [village]
            x=15
            y=2
        [/village]
    [/side]

    [side]
        type=Elvish Shyde
        id=Lucile
        name= _ "Lucile"
        side=2
        team_name=elves
        user_team_name=_"Elves"
        canrecruit=yes
        [ai]
            aggression=0.4
        [/ai]
        recruit=Elvish Fighter, Elvish Captain, Elvish Scout, Elvish Shaman, Elvish Druid, Elvish Archer, Wose
        {GOLD 70 100 130}
        {FLAG_VARIANT long}
    [/side]

    {LIMIT_CONTEMPORANEOUS_RECRUITS 2 Wose 3}

    [side]
        type=Elvish Captain
        id=Raceme
        name= _ "Raceme"
        side=3
        team_name=elves
        user_team_name=_"Elves"
        canrecruit=yes
        [ai]
            aggression=1.0
        [/ai]
        recruit=Elvish Fighter, Elvish Hero, Elvish Shaman, Elvish Archer, Elvish Marksman
        {GOLD 80 100 120}
        {FLAG_VARIANT long}
    [/side]

    {LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Elvish Hero) 2}
    {LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Elvish Marksman) 1}

    [story]
        [part]
            background=farnorth.png
            story= _ "As soon as the sandstorm died down, Kapou’e and his men — eager to escape the searing heat — left the oasis and continued on their trek."
        [/part]

        [part]
            background=farnorth.png
            story= _ "It was with great relief that they finally spotted the silent forest on the evening of their second day. They quickly made camp in the hope of getting some much needed rest. However, as dawn approached, a thick fog rolled in and all the natural sounds of the forest died away — leaving everything deathly quiet."
        [/part]

        [part]
            show_title=yes
            {TO_SILENT_FOREST}
        [/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= _ "This fog and the silence is starting to unsettle me. What is this place, anyway?"
        [/message]
        [message]
            speaker="Gork"
            message= _ "It has not always been like this. A lot of hunters from the tribes used to hunt here and fish in the River Bork. But that all changed a few years ago. Now, few would enter here unless forced."
        [/message]
        [message]
            speaker="Vraurk"
            message= _ "What happened? Why did people stop coming here?"
        [/message]
        [message]
            speaker="Gork"
            message= _ "The fact is that few people entered this forest and returned home safe. I am not sure, but most likely, this forest is full of elvish renegades."
        [/message]
        [message]
            speaker="Kapou'e"
            message= _ "What would elves be doing so far into orcish territory? Anyway, we need some rest. We are sufficiently armed to cope with a bunch of elvish poachers. If we meet any, we’ll cut them to pieces."
        [/message]
    [/event]

    {ON_SIGHTING () 1 side=2,3 (
        [message]
            speaker=unit
            message= _ "Elves! You were right, Gork, this place is infested with the skinny weaklings."
        [/message]

        [message]
            speaker=second_unit
            message= _ "Blast it, the orcs have discovered us."
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "What is your purpose for trespassing on orcish territory?"
        [/message]

        [message]
            speaker=second_unit
            message= _ "Fool, do you really think we are going to tell you?"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Men, capture one of these elves and interrogate him. I am sure that will get us some answers."
        [/message]
    )}

    [event]
        name=last breath
        [filter_second]
            side=1
        [/filter_second]

        [message]
            speaker=second_unit
            message= _ "Now we’re going to have some some answers out of you."
        [/message]

        [message]
            speaker=unit
            message= _ "You might as well go ahead and kill me, I’m not telling you anything."
        [/message]

        [message]
            speaker=second_unit
            message= _ "Very well then..."
        [/message]

        [message]
            speaker=narrator
            message= _ "Some time later..."
            image=wesnoth-icon.png
        [/message]

        [message]
            speaker=second_unit
            message= _ "So you elves have set up an enclave here have you. Why is that?"
        [/message]

        [message]
            speaker=unit
            message= _ "We made an agreement with the humans some time ago. They were planning a major assault on you war-mongers, and the humans pledged that if we assisted them they would give us a large chunk of your territory once the battle was over."
        [/message]

        [message]
            speaker=second_unit
            message= _ "Why would you elves want still more territory? You guys already have the undisputed rule of the whole elvish forest."
        [/message]

        [message]
            speaker=unit
            message= _ "Yes, but our prince has been banished from those lands for collaborating with humans. He now seeks to carve out an empire for himself."
        [/message]

        [message]
            speaker=second_unit
            message= _ "Hmmm, interesting. So you set up a base here to launch your attacks on us. Is that right?"
        [/message]

        [message]
            speaker=unit
            message= _ "Yes, that is correct."
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Well folks, it looks like we have our work cut out for us. We must destroy this enclave."
        [/message]

        [message]
            speaker=second_unit
            message= _ "With pleasure. But what should I do with this weakling?"
        [/message]

        [message]
            speaker="Kapou'e"
            message= _ "Behead it."
        [/message]

        [message]
            speaker=unit
            message= _ "Ahhhhh!"
        [/message]
    [/event]

    [event]
        name=enemies defeated

        [message]
            speaker="Kapou'e"
            message= _ "Good work, men, we’ve done it! Now we don’t have to worry about these elves attacking us. Let’s get some rest and continue our journey."
        [/message]

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

    [event]
        name=last breath
        [filter]
            id=Lucile
        [/filter]

        [message]
            speaker=Lucile
            message= _ "Ahhh! Flee; warn the prince that I have been slain and the enclave destroyed."
        [/message]

        [unit]
            side=3
            x=36
            y=24
            type=Elvish Scout
            id="Linduilas"
            name= _ "Linduilas"
        [/unit]

        [message]
            speaker="Linduilas"
            message= _ "As you command, my lady."
        [/message]

        [kill]
            id="Linduilas"
        [/kill]

        [move_unit_fake]
            type=Elvish Scout
            side=3
            x=36,36,36,36,36,36,36
            y=24,25,26,27,28,29,30
        [/move_unit_fake]
    [/event]

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