#textdomain wesnoth-aoi
[scenario]
    name=_"Defend the Forest"
    id="1_Defend_the_Forest"
    map_data="{campaigns/An_Orcish_Incursion/maps/defend_the_forest.map}"

    {DEFAULT_SCHEDULE}

    [side]
        type="Elvish Lord"
        description="Erlornas"
        side="1"
        profile=portraits/Erlornas.png
        canrecruit="1"
        controller="human"
        {GOLD 200 150 100}
        team_name="goodies"
        fog="no"
        share_view="no"
        shroud="no"
        share_maps="no"
        user_description=_"Erlornas"
        villages_per_scout="0"
        leader_value="3"
        village_value="1"
        income="0"
        recruit="Elvish Archer, Elvish Fighter, Elvish Scout, Elvish Shaman"
        [ai]
        [/ai]
    [/side]

    {STARTING_VILLAGES 1 6}

    [side]
        type="Orcish Warrior"
        description="Urugha"
        side="2"
        canrecruit="1"
        {GOLD 100 125 150}
        team_name="baddies"
        controller="ai"
        fog="no"
        share_view="no"
        shroud="no"
        share_maps="no"
        user_description=_"Urugha"
        income="0"
        recruit="Orcish Archer, Orcish Grunt, Wolf Rider"
        [ai]
            grouping="offensive"
            attack_depth="5"
        [/ai]
    [/side]

    [event]
        name="prestart"

        # {SCATTER_IMAGE (terrain=Gg) 10 scenery/pine1.png}
        {SCATTER_IMAGE (terrain=Re) 1 scenery/rubble.png}

        [objectives]
            side="1"
            note=_"Hint:
Elves can move fast and safely among the trees. Pick off the enemy grunts with your archers from the safety of the forest."
            silent="no"
            [objective]
                description=_"Defeat Urugha"
                condition="win"
            [/objective]
            [objective]
                description=_"Death of Erlornas"
                condition="lose"
            [/objective]
            [objective]
                description=_"Time runs out"
                condition="lose"
            [/objective]
        [/objectives]
        [unit]
            type="Elvish Rider"
            description="Lomarfel"
            user_description= _ "Lomarfel"
            side="1"
            x="15"
            y="18"
        [/unit]
#ifdef EASY
        [set_variable]
            name="difficulty"
            value="0"
        [/set_variable]
#endif
#ifdef NORMAL
        [set_variable]
            name="difficulty"
            value="1"
        [/set_variable]
#endif
#ifdef HARD
        [set_variable]
            name="difficulty"
            value="2"
        [/set_variable]
#endif
    [/event]

    [story]
        [part]
            background=maps/wesnoth.png
            music=revelation.ogg
            story= _ "The arrival of humans and orcs sent shockwaves through the settled peoples of the Great Continent. Elves, dwarves, and others who had reached equilibrium with one another and become accustomed for centuries to at most small-scale clashes - little more, in truth, than armed squabbles - found themselves required to gird for warfare of unaccustomed intensity."
        [/part]
        [part]
            background=maps/wesnoth.png
            music=elf-land.ogg
            story= _ "Perhaps most affected were the elves. Eldest and wisest of the Speaking Peoples, their first encounters with humans went less well than either side might have wished. "
        [/part]
        [part]
            background=maps/wesnoth.png
            story= _ "But humans, though crude and thrusting, at least had in them a spark of song and grace which elves could recognize as kindred to their own nature. Not so with orcs."
        [/part]
        [part]
            background=maps/wesnoth.png
            music="elf-land.ogg"
            story= _ "For a score of years after Haldric's people landed, orcs remained scarce more than a rumor to trouble the green fastnesses of the elves. That was, until the day that an elvish noble of ancient line, Erlornas by name, encountered the new foe."
            delay="0"
            show_title="no"
            [image]
                x="929"
                y="146"
                file="items/gohere.png"
                delay="500"
            [/image]
        [/part]
        [part]
            music="frantic.ogg"
            story=_"The orcs were sighted at the northern marches of the great forest of Wesmere."
            delay="0"
            show_title="no"
        [/part]
        [part]
            music="elf-land.ogg"
            [image]
                x="551"
                y="363"
                file="units/elves-wood/lord.png~TC(1,magenta)"
                delay="1000"
            [/image]
            background="map.jpg"
            delay="0"
            show_title="yes"
            [image]
                x="534"
                y="295"
                file="units/orcs/warrior.png~TC(2,magenta)"
                delay="1000"
            [/image]
            [image]
                x="546"
                y="366"
                file="misc/cross.png"
                delay="500"
            [/image]
            [image]
                x="567"
                y="360"
                file="misc/cross.png"
                delay="500"
            [/image]
            [image]
                x="588"
                y="354"
                file="misc/cross.png"
                delay="500"
            [/image]
            [image]
                x="572"
                y="346"
                file="misc/cross.png"
                delay="500"
            [/image]
        [/part]
    [/story]

    [event]
        name="start"

        [message]
            description="Lomarfel"
            message=_"My lord Erlornas! A party of orcs has encamped to the north. That is the stench of their burnings drifting on the wind!"
        [/message]
        [message]
            description="Erlornas"
            message=_"What blasphemy is this? I have heard it said that Orcs are despoilers, tree-killers...but I did not believe any could be so wantonly filthy as the reports made them."
        [/message]
        [message]
            description="Lomarfel"
            message=_"We see the truth of it here, my lord. They make great fires, not of deadfall wood but of the new-murdered corpses of the singing trees. They trample the greensward into mud and do not even bury their foul dung."
        [/message]
        [message]
            description="Erlornas"
            message=_"They are a blight on our forests, and must not be permitted into Wesmere. I shall arm the folk; we should be able to drive them off. All the same, you had best ride for reinforcements, Lomarfel."
        [/message]
        [message]
            description="Lomarfel"
            message=_"Yes, my lord!"
        [/message]
        [kill]
            description="Lomarfel"
        [/kill]
        [move_unit_fake]
            type="Elvish Rider"
            x="15,14,14,13,12,11,10"
            y="18,18,19,20,20,20,20"
        [/move_unit_fake]
        [music]
            name="knolls.ogg"
            ms_after="250"
        [/music]
        [music]
            name="wanderer.ogg"
            ms_after="250"
            append="yes"
        [/music]
        [music]
            name="battle.ogg"
            ms_after="250"
            append="yes"
        [/music]
    [/event]
    [event]
        name="die"
        [filter]
            description="Urugha"
        [/filter]
        [message]
            speaker="unit"
            message=_"A thousand curses on you, tree-shagger! You will suffer... My master, Rualsha, approaches. He will wipe your people from the face of this earth!"
        [/message]
        [message]
            description="Erlornas"
            message=_"Hmmm... Who is this Rualsha, I wonder? I will have to take a scouting party north to see what is afoot there..."
            sound=""
        [/message]
    [/event]
    turns="24"
    next_scenario="2_Assassins"
[/scenario]
