#textdomain wesnoth-aoi
[scenario]
    name=_"Showdown"
    id="7_Showdown"
    map_data="{campaigns/An_Orcish_Incursion/maps/showdown.map}"

    {DEFAULT_SCHEDULE}

    [side]
        type="Elvish Lord"
        description="Erlornas"
        side="1"
        canrecruit="1"
        controller="human"
        team_name="goodies"
        [ai]
            aggression="0.5"
            caution="0.25"
            village_value="1"
            leader_value="3"
            villages_per_scout="0"
            grouping="offensive"
            attack_depth="5"
            recruitment_pattern=""
        [/ai]
        gold="100"
        income="0"
#ifdef EASY
        recruit="Elvish Archer, Elvish Fighter, Elvish Scout, Elvish Shaman"
#endif
#ifdef NORMAL
        recruit="Elvish Archer, Elvish Fighter, Elvish Scout, Elvish Shaman"
#endif
#ifdef HARD
        recruit="Elvish Scout,Elvish Fighter,Elvish Archer,Elvish Shaman"
#endif
        recruit="Elvish Archer, Elvish Fighter, Elvish Scout, Elvish Shaman"
        fog="no"
        share_view="no"
        shroud="no"
        share_maps="no"
    [/side]

    {STARTING_VILLAGES 1 4}

    [side]
        type="Orcish Sovereign"
        description="Rualsha-Tan"
        side="2"
        canrecruit="1"
#ifdef EASY
        gold="200"
        income="0"
        recruit="Orcish Archer, Orcish Assassin, Orcish Crossbowman, Orcish Grunt, Orcish Warrior, Troll, Troll Whelp, Wolf Rider"
#endif
#ifdef NORMAL
        gold="250"
        income="5"
        recruit="Goblin Knight, Orcish Archer, Orcish Assassin, Orcish Crossbowman, Orcish Grunt, Orcish Warrior, Troll, Troll Whelp, Wolf Rider"
#endif
#ifdef HARD
        gold="300"
        income="5"
        recruit="Goblin Knight, Orcish Archer, Orcish Assassin, Orcish Crossbowman, Orcish Grunt, Orcish Warrior, Troll, Troll Whelp, Wolf Rider"
#endif
        team_name="baddies"
        controller="ai"
        fog="no"
        share_view="no"
        shroud="no"
        share_maps="no"
        villages_per_scout="4"
        leader_value="3"
        village_value="1"
        user_description=_"Rualsha-Tan"
        [ai]
            grouping="offensive"
            attack_depth="5"
        [/ai]
    [/side]

    {STARTING_VILLAGES 2 4}

    [event]
        name="prestart"
        [kill]
            description="Linaera"
        [/kill]
        [objectives]
            side="1"
            note=_"Hint:
Your enemy is well defended against attacks from the south. Use rangers to sneak through the forest and mount a surprise attack from the north."
            silent="no"
            [objective]
                description=_"Defeat Rualsha-Tan"
                condition="win"
            [/objective]
            [objective]
                description=_"Death of Erlornas"
                condition="lose"
            [/objective]
            [objective]
                description=_"Time runs out"
                condition="lose"
            [/objective]
        [/objectives]
#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]
    [event]
        name="start"
        # {SCATTER_IMAGE (terrain=Gs^Fp) 10 scenery/pine1.png}
        # {SCATTER_IMAGE (terrain=Gs^Fp) 15 scenery/pine2.png}
        [move_unit_fake]
            x="18,18,17,16"
            y="20,19,19,18"
            type="Elvish Rider"
        [/move_unit_fake]
        [unit]
            type="Elvish Rider"
            description="Lomarfel"
            x="16"
            y="18"
            side="1"
        [/unit]
        [move_unit_fake]
            x="18,18,17,17"
            y="20,19,19,18"
            type="Elvish Ranger"
        [/move_unit_fake]
        [unit]
            type="Elvish Ranger"
            description="Celodith"
            gender="female"
            x="17"
            y="18"
            side="1"
        [/unit]
        [move_unit_fake]
            x="18,18,17"
            y="20,19,19"
            type="Elvish Ranger"
        [/move_unit_fake]
        [unit]
            type="Elvish Ranger"
            description="Earanduil"
            gender="male"
            x="17"
            y="19"
            side="1"
        [/unit]
        [move_unit_fake]
            x="18,18,18"
            y="20,19,18"
            type="Elvish Ranger"
        [/move_unit_fake]
        [unit]
            type="Elvish Ranger"
            description="Elvyniel"
            gender="female"
            x="18"
            y="18"
            side="1"
        [/unit]
        [move_unit_fake]
            x="18,18"
            y="20,19"
            type="Elvish Ranger"
        [/move_unit_fake]
        [unit]
            type="Elvish Ranger"
            description="Delorfilith"
            gender="male"
            x="18"
            y="19"
            side="1"
        [/unit]
        [message]
            description="Lomarfel"
            message=_"My lord! We have ridden hard for five days to catch up with you! The council has deliberated, and asks you to defeat Rualsha quickly before he can muster a full invasion force."
            sound=""
        [/message]
        [message]
            description="Rualsha-Tan"
            message=_"Puny elves! My full army will be here soon, and then we will crush you. You will beg for a quick death!"
            sound=""
        [/message]
        [music]
            name="wanderer.ogg"
            ms_after="0"
        [/music]
    [/event]
    [event]
        name="die"
        [filter]
            description="Rualsha-Tan"
        [/filter]
        [message]
            speaker="unit"
            message=_"You may slay me, Erlornas, but my people live on. They will not forget! They will pursue you, and destroy you utterly... we will... we... arrgh..."
            sound=""
            image=""
        [/message]
        [message]
            speaker="narrator"
            message=_"But Rualsha overestimated the will of his troops. With their leader dead, they scattered, and fled from the elves back to their fastnesses in the far north."
            image=wesnoth-icon.png
            sound=""
        [/message]
        [kill]
            side="2"
        [/kill]
        [role]
            type="Elvish Champion,Elvish Marshal,Elvish Captain,Elvish Hero,Elvish Outrider,Elvish Rider,Elvish Avenger,Elvish Ranger,Elvish Sharpshooter,Elvish Marksman,Elvish Shyde,Elvish Druid,Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout"
            role="Advisor"
        [/role]
        [message]
            description="Erlornas"
            message=_"It grieves me to take life, even of a barbarian such as Rualsha."
            sound=""
        [/message]
        [message]
            role="Advisor"
            message=_"If the orcs press us, we shall need to become more accustomed to fighting."
            sound=""
        [/message]
        [message]
            description="Erlornas"
            message=_"I fear it will be so. We have won a first victory here, but dark times come upon its heels."
            sound=""
        [/message]
        [endlevel]
            result="continue_no_save"
        [/endlevel]
    [/event]
    [story]
        [part]
            [image]
                x="378"
                y="123"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="396"
                y="128"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="412"
                y="134"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="426"
                y="138"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="442"
                y="140"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="458"
                y="142"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="476"
                y="144"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="493"
                y="146"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="511"
                y="145"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="527"
                y="139"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="541"
                y="135"
                file="misc/dot.png"
                delay="250"
            [/image]
            [image]
                x="525"
                y="72"
                file="units/elves-wood/lord.png~TC(1,magenta)"
                delay="250"
            [/image]
            [image]
                x="487"
                y="84"
                file="misc/cross.png"
                delay="500"
            [/image]
            [image]
                x="506"
                y="67"
                file="misc/cross.png"
                delay="500"
            [/image]
            [image]
                x="523"
                y="56"
                file="misc/cross.png"
                delay="500"
            [/image]
            [image]
                x="427"
                y="9"
                file="units/orcs/sovereign.png~TC(2,magenta)"
                delay="250"
            [/image]
            background="map.jpg"
            show_title="yes"
        [/part]
    [/story]
    turns="24"
[/scenario]
