#textdomain wesnoth-Genesis
[scenario]
    id=07c_Temple
    name= _ "Temple"
    map_data="{~add-ons/Genesis/episode1/maps/07c_Temple.map}"
    disallow_recall=yes
    next_scenario=06_Caerleon
    theme=Cutscene
    victory_when_enemies_defeated=no
    turns=-1
    {DEFAULT_SCHEDULE_24H}

    {SCENARIO_MUSIC silvan_sanctuary.ogg}
    {EXTRA_SCENARIO_MUSIC traveling_minstrels.ogg}

    [side]
        {PLAYER_FAE}
        {NO_GOLD_SIDE}
        side=1
        recruit=
    [/side]

    [side]
        side=2
        no_leader=yes
        team_name=fae
        controller=ai
        user_team_name= _ "team_name^Monks"
        color=white
    [/side]

    [side]
        side=3
        no_leader=yes
        hidden=yes
        team_name=fae
        controller=ai
        color=green
    [/side]

    [event]
        name=prestart

        {RECALL_YUMI_NOLOC}
        {RECALL_ARYEL_NOLOC}
        [set_recruit]
            side=1
            recruit=
        [/set_recruit]
        [set_variable]
            name=visited_fountain
            value=0
        [/set_variable]
        [label]
            x,y=7,24
            text = _ "Monks' quarters"
        [/label]
        [label]
            x,y=23,24
            text = _ "Monks' quarters"
        [/label]
        [label]
            x,y=15,16
            text = _ "Gardens"
        [/label]
        [label]
            x,y=15,3
            text = _ "Fountain"
        [/label]
    [/event]

    [event]
        name=start

        [switch]
            variable=temple
            [case]
                value=1

                [message]
                    speaker=Esther
                    message= _ "Come on! Let's get going!"
                [/message]
            [/case]
            [else]
                value=0
                [message]
                    speaker=Esther
                    message= _ "Wow! This place looks amazing."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(blinks)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "It does look kind of nice, but isn't it really bright in here?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "That's just you talking. For me, the more light there is, the better!"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "I already knew that, sunshine."
                [/message]
            [/else]
        [/switch]

        [objectives]
            {OBJECTIVE_VICTORY  ( _ "Explore the temple")}
            {OBJECTIVE_NOTE ( _ "Look for labels to trigger events.")}
            {OBJECTIVE_NOTE ( _ "Move to the bottom edge of the map to return to Caerleon.")}
        [/objectives]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Esther
        [/filter]
        {MODIFY_UNIT (id=Esther) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Yumi
        [/filter]
        {MODIFY_UNIT (id=Yumi) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Aryel
        [/filter]
        {MODIFY_UNIT (id=Aryel) moves 10}
    [/event]

    [event]
        name=moveto
        [filter]
            x=7,23
            y=24,24
            side=1
        [/filter]
        [if]
            [have_unit]
                side=1
                x,y=3,24
            [/have_unit]
            [then]
                {SPAWN_ID ("Mage of Light") 2 2 25 ("wmage") ("female")}
            [/then]
            [else]
                {SPAWN_ID ("Mage of Light") 2 17 24 ("wmage") ("female")}
            [/else]
        [/if]

        [switch]
            variable=temple
            [case]
                value=1

                [message]
                    speaker=wmage
                    message= _ "Welcome back, faeries. There are still others who would wish to follow you, if it is not a problem."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Not at all."
                [/message]
                [message]
                    speaker=narrator
                    message= _ "You may recruit White Magi for this scenario only. Recruiting will not incur upkeep penalties."
                [/message]
            [/case]
            [else]
                [message]
                    speaker=wmage
                    message= _ "Hello, fair maidens. I have not seen you here before. What brings faeries such as yourselves to our temple today?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Just having a look around. It's beautiful in here! Is this a place of worship?"
                [/message]
                [message]
                    speaker=wmage
                    message= _ "Yes, in a way. Many of the city's citizens come here to relax or to seek the aid of the temple's caretakers. This is also a place of healing. The waters from the spring have calming properties."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "So you are mostly healers."
                [/message]
                [message]
                    speaker=wmage
                    message= _ "Yes. However, it is a pity that unlike you faeries, we cannot explore the world so freely and lend our aid to others. Healers are rare and precious in our kingdom, and so it is frowned upon for us to leave the safety of Caerleon whenever there is war. It is unfortunate, since there have even been rumors that Urdemons from Ethea are attacking our villages now..."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "(glances at Aryel) So I've heard. It must get monotonous staying in here forever, though."
                [/message]
                [message]
                    speaker=wmage
                    message= _ "I suppose so. Some of the younger priests and priestesses do get quite restless oftentimes... hmm. I suppose you being here is a rare opportunity for us. Do you think some of our students could accompany you in your journies? It is usually not safe for ones such as us to travel alone, but if it is possible, you could offer them some protection."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(raises eyebrows)"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Sure, I don't see why not."
                [/message]
                [message]
                    speaker=wmage
                    message= _ "Thank you. I promise they will not be a burden."
                [/message]
                [message]
                    speaker=narrator
                    message= _ "You may recruit White Magi for this scenario only (use the hotkey ctrl + r). Recruiting will not incur upkeep penalties."
                [/message]
            [/else]
        [/switch]

        [set_recruit]
            side=1
            recruit=White Mage
        [/set_recruit]
    [/event]

    [event]
        name=recruit
        first_time_only=no

        [filter]
            type=White Mage
        [/filter]
        [object]
            [filter]
                x,y=$x1,$y1
            [/filter]
            silent=yes
            duration=scenario
            [effect]
                apply_to=loyal
            [/effect]
        [/object]
    [/event]

    [event]
        name=moveto
        [filter]
            x=14-16,15
            y=15-16,17
            side=1
        [/filter]

        {SPAWN_ID ("Mage of Light") 2 15 16 ("wmage2") ("male")}

        [switch]
            variable=temple
            [case]
                value=1

                [message]
                    speaker=Esther
                    message= _ "Want to buy some more jelly from the priests?"
                [/message]
                [message]
                    speaker=Aryel

                    [option]
                        message= _ "Sure."

                        [command]
                            [message]
                                speaker=wmage2
                                message= _ "A jar for your journey? That'll be 6 gold pieces."
                            [/message]
                            [store_gold]
                                [filter_side]
                                    side=1
                                [/filter_side]
                                variable=side1gold
                            [/store_gold]
                            {VARIABLE_OP side1gold sub 6}
                            [modify_side]
                                side=1
                                gold=$side1gold
                            [/modify_side]
                            {CLEAR_VARIABLE side1gold}
                            [message]
                                speaker=Esther
                                message= _ "Thanks."
                            [/message]
                            [message]
                                speaker=Yumi
                                message= _ "Mmm..."
                            [/message]
                            [store_unit]
                                [filter]
                                    id=Esther
                                [/filter]
                                variable=esther
                            [/store_unit]

                            {VARIABLE_OP esther.experience add 1}

                            [unstore_unit]
                                variable=esther
                                find_vacant=no
                            [/unstore_unit]

                            {CLEAR_VARIABLE esther}
                            [store_unit]
                                [filter]
                                    id=Yumi
                                [/filter]
                                variable=yumi
                            [/store_unit]

                            {VARIABLE_OP yumi.experience add 1}
                            [unstore_unit]
                                variable=yumi
                                find_vacant=no
                            [/unstore_unit]

                            {CLEAR_VARIABLE yumi}

                            [store_unit]
                                [filter]
                                    id=Aryel
                                [/filter]
                                variable=aryel
                            [/store_unit]

                            {VARIABLE_OP aryel.experience add 1}
                            [unstore_unit]
                                variable=aryel
                                find_vacant=no
                            [/unstore_unit]

                            {CLEAR_VARIABLE aryel}
                        [/command]
                    [/option]

                    [option]
                        message= _ "Maybe some other time."

                        [command]
                            [message]
                                speaker=Esther
                                message= _ "Okay."
                            [/message]
                        [/command]
                    [/option]
                [/message]
            [/case]
            [else]
                [message]
                    speaker=wmage2
                    message= _ "Enjoying the gardens?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "It's quite pleasant in here. Are those greenhouses around the fountains?"
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "Indeed. I would show you inside, but unfortunately we are in the middle of harvesting the fruit. I'm afraid it would be too embarrassing to show you our gardens in such disarray. I can offer you a little something, however."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Oh, no. That's quite alright. We wouldn't want to be-"
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "Nonsense. It is not a big deal. I am certain faerie maidens such as yourselves have never tried something like this before. You must have a taste! It is our temple's specialty. Pear jelly!"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(frowns) Pear... jelly. So you took the fruit and mashed it up, then added sugar, and... hmm..."
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "It is a blend of many fruits to give it texture, but pear is the primary flavor in this one. Please, enjoy."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(licks fingers)"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "This is... really good! How did you even come up with something like this?"
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "Actually, it is quite an odd story. Supposedly, there was once a master gardener named Ellerom who took on a young apprentice. The master was particularly famous for the fruit she grew, especially her pears. Somehow, the fruits from her garden were always the most delicious and lasted the longest - she also managed to figure out how to grow them quickly and efficiently, no matter what type of weather Irdya decided to send her."
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "Naturally, the apprentice was jealous of his master's abilities, but knowing that he could never match his teacher's skills, he had to come up with something new. It took him a long time, but eventually, he figured it out."
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "Here in the north, it is hard to come by fruit in the winter, so the apprentice thought of creating some form of preserved fruit specifically for enjoyment during the months of snow. The task was not straightforward, but eventually he found that the taste could be preserved by cooking the fruits for a long time until they had mostly turned into a thick fluid. Adding in spices and sugar would enhance the flavor further, to make up for the loss of freshness."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(blinks) It does taste good. Maybe we could buy a jar to take with us?"
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "We will give you one for free. A gift."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Wow, thank you! We appreciate the kindness."
                [/message]
                [message]
                    speaker=wmage2
                    message= _ "Of course."
                [/message]
            [/else]
        [/switch]
    [/event]

    [event]
        name=moveto
        [filter]
            x=1-24
            y=5-11
            side=1
        [/filter]

        [switch]
            variable=temple
            [case]
                value=1
            [/case]
            [else]
                value=0
                [message]
                    speaker=Esther
                    message= _ "We should take a look at that fountain."
                [/message]
                [objectives]
                    {OBJECTIVE_VICTORY  ( _ "Move Esther, Aryel, and Yumi to the center of the fountain on the uppermost level")}
                [/objectives]
                [set_variable]
                    name=visited_fountain
                    value=1
                [/set_variable]
            [/else]
        [/switch]
    [/event]

    [event]
        name=moveto
        [filter]
            x=1-24
            y=1-5
            id=Esther
        [/filter]

        [switch]
            variable=temple
            [case]
                value=1
                [message]
                    speaker=Esther
                    message= _ "I wonder what's going on between Aryel and Yumi? Aryel keeps trying really hard to get Yumi to open up. I guess that's not necessarily bad, but just the way she's going about it..."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Hmm, there's also the matter of why Yumi keeps looking at her. I mean, Aryel's pretty, yes, but that's not usually something that grabs her attention. Maybe there's something else?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "(sighs) These two are so much trouble."
                [/message]
            [/case]
            [else]
                [message]
                    speaker=Esther
                    message= _ "(looks up)"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "(looks down)"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "It's warm here. It's really comfortable. This place is filled with energy, vivacious and vibrant, but also soft and tempered. It's not like the type of magic that humans usually use."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "(closes eyes) What kind of power is this? It feels soothing, almost protecting, but at the same time it's not stable like Earth should be. This is fluid, like water, but without the darker undercurrent of blood that often accompanies the element. So something else?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "This isn't human work. Human magic is distinctly different from faerie or even demon magic. It's not always weaker, but it's somehow... artificial. With the exception of necromancy, it lacks the same connection to the Aspects."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Clearly this isn't faerie magic either, and without a strong presence of demons on our world, that seems unlikely as well. Then... a Guardian? Could this be Uria's influence extending beyond Ethea?"
                [/message]
                [message]
                    speaker=narrator
                    message= _ "She breathes in deeply and steadily. The sounds around her fade away. It's like she's suddenly isolated, trapped in a bubble removed from the now distant world. A different current of energy runs through, cold and eerie. It lingers there without revealing itself, a dark presence that seems to morph as quickly as thought."
                [/message]
                [message]
                    speaker=narrator
                    message= _ "The feeling transforms further. It's now an ever transforming oceanscape of water that's not exactly water, filled with demons that aren't demons, a mirrored mockery of the real world that is a different form of reality in itself. In a flash, the facets change and the water turns to blood, and trees and grass and life turn to a barren wasteland."
                [/message]
                [message]
                    speaker=narrator
                    message= _ "And then it's gone and she steps back, the reverie already half forgotten."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "(shakes head) I'm imagining things. Maybe Yumi's rubbing off on me. This is just a humble temple built by humans. It's a nice place, but human magic has limits to what it can achieve. There's nothing special here and the likelihood that some outside force would use humans for insidious purposes is really low. I'm reading too much into it."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "I need to relax. This pool is built for meditation, so I'm just going to do that and stop worrying."
                [/message]
                {VARIABLE_OP visited_fountain add 1}
            [/else]
        [/switch]
        [if]
            [variable]
                name=visited_fountain
                numerical_equals=4
            [/variable]
            [then]
                {DELAY 500}
                [fire_event]
                    name=fountain done
                [/fire_event]
            [/then]
        [/if]
    [/event]

    [event]
        name=moveto
        [filter]
            x=1-24
            y=1-5
            id=Aryel
        [/filter]

        [switch]
            variable=temple
            [case]
                value=1
                [message]
                    speaker=Aryel
                    message= _ "(fixes hair)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(sticks out chest)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(looks over)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(frowns)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(slouches)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "She's avoiding me..."
                [/message]
            [/case]
            [else]
                [message]
                    speaker=Aryel
                    message= _ "(stares at reflection)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(smooths out hair)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(flutters wings)"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(glances at Yumi) I wonder what she's thinking about."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "She looks tired and paler than usual. Maybe she hasn't been sleeping well. I think she always used to have nightmares... I wonder if she still does? Should I be worried? Eh, well..."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "(stares back at reflection) I know she notices when I try to get her attention. Though she's kind of distant and absentminded in some ways, she's also really observant. She just doesn't seem to want to talk to me. Is she avoiding me? Should I leave her alone, or..?"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "Even if I wanted to, I wonder how I could get her to talk. I've tried so many different ways..."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "Heh, I guess being even more beautiful than I am now wouldn't be enough for her to want to open up."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "Hmm... what I can do..."
                [/message]
                {VARIABLE_OP visited_fountain add 1}
            [/else]
        [/switch]
        [if]
            [variable]
                name=visited_fountain
                numerical_equals=4
            [/variable]
            [then]
                {DELAY 500}
                [fire_event]
                    name=fountain done
                [/fire_event]
            [/then]
        [/if]
    [/event]

    [event]
        name=moveto
        [filter]
            x=1-24
            y=1-5
            id=Yumi
        [/filter]

        [switch]
            variable=temple
            [case]
                value=1
                [message]
                    speaker=Yumi
                    message= _ "(stares at water)"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(glances at Aryel)"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(bites lip)"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(closes eyes)"
                [/message]
            [/case]
            [else]
                [message]
                    speaker=Yumi
                    message= _ "(stares vacantly)"
                [/message]
                {SPAWN_ID_NAME ("Fake Shadow Fae") 3 $x1 $y1 ("Fake Yumi") ("female") ("Yumi")}
                [message]
                    speaker=Fake Yumi
                    message= _ "Hello."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(frowns)"
                [/message]
                [message]
                    speaker=Fake Yumi
                    message= _ "Why are you so nervous? What are you afraid of?"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(bites lip)"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(fiddles with hair)"
                [/message]
                [message]
                    speaker=Fake Yumi
                    message= _ "I guess the others are hard to trust. I mean, they're your friends and they mean the best, but... well, you can't trust anyone. Right?"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(shakes head)"
                [/message]
                [message]
                    speaker=Fake Yumi
                    message= _ "They wouldn't hurt you. I think. Or is it that you're capable of hurting them?"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(shrugs)"
                [/message]
                [message]
                    speaker=Fake Yumi
                    message= _ "You're different from them. Don't you think they can feel that, having been around you all this time? They're afraid of you. And just think, they don't even know just what you're capable of. But you do. It's definitely scary."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(sighs)"
                [/message]
                [message]
                    speaker=Fake Yumi
                    message= _ "One day, they're going to figure out what you are and what your powers can do, and then you'll see if they'll still want to be your friends. But, who knows? If you work hard to make them like you, maybe they'll still be on your side."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(turns away and covers ears)"
                [/message]
                [message]
                    speaker=Fake Yumi
                    message= _ "Having the social skills of an orange isn't going to help you though."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(closes eyes)"
                [/message]
                [kill]
                    id=Fake Yumi
                [/kill]
                {VARIABLE_OP visited_fountain add 1}
            [/else]
        [/switch]
        [if]
            [variable]
                name=visited_fountain
                numerical_equals=4
            [/variable]
            [then]
                {DELAY 500}
                [fire_event]
                    name=fountain done
                [/fire_event]
            [/then]
        [/if]
    [/event]

    [event]
        name=fountain done

        [message]
            speaker=Esther
            message= _ "This water feels... it's odd, but not unpleasant."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(shrugs) It's different, yes. It's a strange fountain."
        [/message]
        [message]
            speaker=Esther
            message= _ "It certainly seems to have our friend thinking about something."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(frowns) I've been meaning to ask you about that."
        [/message]
        [message]
            speaker=Esther
            message= _ "(takes a deep breath) Well, I've long since learned that trying to pry too hard won't do anything. You won't get anything out of her by doing that, and you'll probably just end up making her upset. Best thing to do is let her have her space."
        [/message]
        [message]
            speaker=Aryel
            message= _ "There has to be a limit to that..."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(sulks)"
        [/message]
        [message]
            speaker=Aryel
            message= _ "Come on, Yumi. Talk!"
        [/message]
        [message]
            speaker=Yumi
            message= _ "(looks away)"
        [/message]
        [message]
            speaker=Aryel
            message= _ "Ugh."
        [/message]
        [message]
            speaker=Esther
            message= _ "Yumi, you know we're here for you, right? If there's anything wrong, you can tell us."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(stares)"
        [/message]
        [message]
            speaker=Esther
            message= _ "I mean it. If there's anything wrong, you should let us know. There's no need to be afraid."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(nods slowly)"
        [/message]
        [message]
            speaker=Esther
            message= _ "As long as you understand."
        [/message]

        [store_unit]
            [filter]
                id=Esther
            [/filter]
            variable=esther
        [/store_unit]
        [store_unit]
            [filter]
                id=Yumi
            [/filter]
            variable=yumi
        [/store_unit]
        [store_unit]
            [filter]
                id=Aryel
            [/filter]
            variable=aryel
        [/store_unit]

        #ifdef EASY
        {VARIABLE_OP esther.experience add 60}
        {VARIABLE_OP yumi.experience add 60}
        {VARIABLE_OP aryel.experience add 60}

        [unstore_unit]
            variable=esther
            find_vacant=no
            text= _ "+60 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=yumi
            find_vacant=no
            text= _ "+60 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=aryel
            find_vacant=no
            text= _ "+60 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        #endif
        #ifdef NORMAL
        {VARIABLE_OP esther.experience add 50}
        {VARIABLE_OP yumi.experience add 50}
        {VARIABLE_OP aryel.experience add 50}

        [unstore_unit]
            variable=esther
            find_vacant=no
            text= _ "+50 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=yumi
            find_vacant=no
            text= _ "+50 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=aryel
            find_vacant=no
            text= _ "+50 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        #endif
        #ifdef HARD
        {VARIABLE_OP esther.experience add 25}
        {VARIABLE_OP yumi.experience add 25}
        {VARIABLE_OP aryel.experience add 25}

        [unstore_unit]
            variable=esther
            find_vacant=no
            text= _ "+25 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=yumi
            find_vacant=no
            text= _ "+25 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=aryel
            find_vacant=no
            text= _ "+25 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        #endif

        {CLEAR_VARIABLE esther}
        {CLEAR_VARIABLE yumi}
        {CLEAR_VARIABLE aryel}

        [set_variable]
            name=visited_fountain
            value=0
        [/set_variable]
        [set_variable]
            name=temple
            value=1
        [/set_variable]

        [objectives]
            {OBJECTIVE_VICTORY  ( _ "Explore the temple")}
            {OBJECTIVE_NOTE ( _ "Look for labels to trigger events.")}
            {OBJECTIVE_NOTE ( _ "Move to the bottom edge of the map to return to Caerleon.")}
        [/objectives]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=1-24
            y=30
            side=1
        [/filter]
        [filter_condition]
            [variable]
                name=visited_fountain
                numerical_equals=0
            [/variable]
        [/filter_condition]

        [message]
            speaker=Aryel
            message= _ "Are we leaving?"
        [/message]
        [message]
            speaker=Esther
            [option]
                message= _ "Nothing else to see here."

                [command]
                    [endlevel]
                        result=victory
                        bonus=no
                        {NEW_GOLD_CARRYOVER 100}
                        replay_save=no
                        carryover_report=no
                        linger_mode=no
                        next_scenario=06_Caerleon
                    [/endlevel]
                [/command]
            [/option]
            [option]
                message= _ "Not yet."
            [/option]
        [/message]
    [/event]
    [event]
        name=victory

        {CLEAR_VARIABLE visited_fountain}
        [set_variable]
            name=prev_scenario
            value="Temple"
        [/set_variable]
    [/event]
[/scenario]


#textdomain wesnoth-Genesis
[scenario]
    id=07d_Pantheon
    name= _ "Pantheon"
    map_data="{~add-ons/Genesis/episode1/maps/07d_Pantheon.map}"
    next_scenario=06_Caerleon
    theme=Cutscene
    victory_when_enemies_defeated=no
    turns=-1
    {DEFAULT_SCHEDULE_24H}

    {SCENARIO_MUSIC silvan_sanctuary.ogg}
    {EXTRA_SCENARIO_MUSIC traveling_minstrels.ogg}

    [side]
        {PLAYER_FAE}
        {NO_GOLD_SIDE}
        side=1
        recruit=
    [/side]

    [side]
        side=2
        no_leader=yes
        team_name=fae
        controller=ai
        user_team_name= _ "team_name^Guards"
        color=white
    [/side]
    [side]
        side=3
        no_leader=yes
        team_name=statues
        color=white
        hidden=yes
        controller=null
    [/side]

    [event]
        name=prestart

        [unit]
            side=3
            type=Guardian of Earth Statue
            x,y=14,3
            generate_name=no
            random_traits=no
            facing=s
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Demon Stromguarde Statue
            x,y=1,8
            generate_name=no
            random_traits=no
            facing=se
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Grand Marshal Statue
            x,y=27,8
            generate_name=no
            random_traits=no
            facing=sw
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Great Mage Statue
            x,y=1,21
            generate_name=no
            random_traits=no
            gender=female
            facing=ne
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Mage of Light Statue
            x,y=27,21
            generate_name=no
            random_traits=no
            gender=male
            facing=nw
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Faerie Dryad Statue
            x,y=9,9
            generate_name=no
            random_traits=no
            facing=se
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Cavalier Statue
            x,y=19,9
            generate_name=no
            random_traits=no
            gender=male
            facing=sw
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Paladin Statue
            x,y=9,19
            generate_name=no
            random_traits=no
            gender=male
            facing=ne
            ellipse=none
        [/unit]
        [unit]
            side=3
            type=Eventide Dancer Statue
            x,y=19,19
            generate_name=no
            random_traits=no
            facing=nw
            ellipse=none
        [/unit]
        [label]
            x,y=14,25
            text = _ "Exit"
        [/label]

        [set_recruit]
            side=1
            recruit=
        [/set_recruit]
        {RECALL_ARYEL_NOLOC}
        {RECALL_YUMI_NOLOC}
    [/event]

    {SPAWN_POINT ("Royal Guard") 2 5 5}
    {SPAWN_POINT ("Royal Guard") 2 23 5}
    {SPAWN_POINT ("Royal Guard") 2 1 12}
    {SPAWN_POINT ("Royal Guard") 2 27 12}
    {SPAWN_POINT ("Royal Guard") 2 1 17}
    {SPAWN_POINT ("Royal Guard") 2 27 17}
    {SPAWN_POINT ("Royal Guard") 2 9 4}
    {SPAWN_POINT ("Royal Guard") 2 19 4}

    [event]
        name=start

        [objectives]
            {OBJECTIVE_VICTORY  ( _ "Explore")}
            {OBJECTIVE_NOTE ( _ "Move next to statues to trigger events.")}
            {OBJECTIVE_NOTE ( _ "Move to exit label to return to Caerleon.")}
        [/objectives]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Esther
        [/filter]
        {MODIFY_UNIT (id=Esther) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Yumi
        [/filter]
        {MODIFY_UNIT (id=Yumi) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Aryel
        [/filter]
        {MODIFY_UNIT (id=Aryel) moves 10}
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Royal Guard
            [/filter_adjacent]
        [/filter]

        [message]
            type=Royal Guard
            [filter_adjacent]
                x,y=$x1,$y1
            [/filter_adjacent]
            message= _ "Do not touch the statues."
        [/message]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Guardian of Earth Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "The Guardian of our world, Xia'el, is suspected to be a faerie. Though she is largely absent, our kingdom is nevertheless peaceful and secure. Most attacks occur on the very outskirts and are targeted more at the faerie than at humankind. Thus, our Guardian's role is thought to be more of a symbol of station and less of serving any practical purpose. With the shadow of Ethea over our world, the mighty power of Uria, the Guardian of Life seems to have a more direct influence on our order."
        [/message]
        [message]
            speaker=narrator
            message= _ "Based on what our scholars have learned from the faerie over the years, Xia'el is the champion of peace among the Guardians, whereas the others are often at war with one another. Her endeavors have purportedly failed due to the stubborn nature of the other Guardians, who spurn any advice given to them by others. Not much else is known about her at this point in time."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Demon Stromguarde Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "Though demons are commonly thought of as aggressive and warlike, the Stromguardes are notably exempt from this line of thought. Serving as keepers of order on Ethea, they also sometimes come to Irdya to quell invasions from other demons and even ally themselves with faeries when necessary. The Stromguardes are friendly with humankind and much of our knowledge of Uria and Ethea comes from them."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Grand Marshal Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "The king of Caerleon is the commander of the military and trained as a general. Succession is determined by a system of nomination and confirmation. The highest ranking generals will choose one whom they deem worthy of the position, and the council of magi is left to approve the choice. In the rare circumstance that a decision cannot be reached, duels are called between the contenders and the victor is crowned king. In this manner, only the most worthy and most fit are allowed to lead."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Great Mage Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "The daughter of a curious couple between a human and a faerie, Caranya was said to be possessed of both incredible and unusual abilities. Where the versatility and creativity of humans and the raw power of the faerie met, miraculous things could happen. Mastery of several elements afforded her untold prowess in combat, while knowledge of the natural abilities of the faerie gave her incredible healing abilities. What she is most remembered for, however, is an acute affinity with the nature of life itself. Her dabbling in said magic eventually resulted in what we now know as the first occurrences of necromancy."
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) Hey look! Your predecessor."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(scoffs) Bet I'm better than her."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Mage of Light Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "Long ago, the order of priests was founded by a man who was said to be the incarnation of light itself. It is told that he had originally come from Norsula, the world of Water and Fire, where he had battled with a powerful demon lord in order to win him and his people their freedom. He had chosen to come here, to Irdya, where it is supposed that he founded a small village somewhere to the south of the Red Peaks. In time, he and his people made their way north to more secure lands and settled the surrounding areas. Eventually, a large city was built in these mountains and has since become Caerleon as we know it today."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Faerie Dryad Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "The faerie are rarely directly involved with us humans, but it is remembered that in the early days of Caerleon, when the winters were especially harsh and the wild beasts especially savage, one faerie came to help us construct our fledgling homes. Her knowledge of healing helped cure the sick and injured of their ailments, while her knowledge of nature helped sow the first crops in the previously barren plains. Since then, in times of great need, a few faeries have always come to the aid of humankind, never asking anything in return."
        [/message]
        [message]
            speaker=narrator
            message= _ "While the Guardian of our world is said to be the caretaker of life on Irdya, it is believed that she has assigned this responsibility to the faeries, whose affinity with nature have allowed them and their allies to prosper. We erect this statue to honor the faeries and acknowledge their role as the protectors of Irdya in the absence of our Guardian."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Cavalier Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "The fastest steeds and the most able of riders compose the cavaliers, but among them, only one is promoted to 'Captain' at any given time. It is a long and grueling trial to determine the one worthy for this task, and an even more difficult undertaking once the position is assigned. It is the Captain's responsibility to maintain order in these Northlands and to regularly ride to the villages to ensure the security of our kingdom. More importantly, however, the Captain is charged with scouring the land and raising the alarms at the first sign of war, so that proper aid can be prepared to resist any potential invasion."
        [/message]
        [message]
            speaker=narrator
            message= _ "The amount of travel and combat the Captain sees is far beyond that of a normal soldier, and many a sacrifice has been made to maintain peace in these lands. As such, we raise this statue to commemorate all the men who gave their lives to keep our people safe."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Paladin Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "Long ago, there was a powerful sorcerer who had gained the powers of darkness itself. His might was so great that he was able to cover these lands in a perpetual shroud, covering the sun and never allowing any light to come through. During this time, it is said that reality itself was subverted by the machinations of this warlock, and that the physical world was plunged into that of dreams. In a hell where the manifestation of this sorcerer's will became reality, there was one man who rose up against this oppressor, calling forth the power of light to banish the darkness."
        [/message]
        [message]
            speaker=narrator
            message= _ "In a climactic battle against the menace, our hero was blessed by the power of Light from the Guardian Luceith’el and cast the warlock forth from our world. The energy, however, was too much for his body to bear and he perished shortly after, for no mere mortal can hold the power of the Guardians. This statue was raised to commemorate the memory of this hero, who saved our world from the darkness."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_adjacent]
                type=Eventide Dancer Statue
            [/filter_adjacent]
        [/filter]
        [message]
            speaker=narrator
            message= _ "Night has never been the friend of humanity, but instead is the domain of demons and some faeries. Commonly thought of as the secretive maidens of the forests, faeries of the night are a different sort than those who serve as nature's wardens. Rarely seen and difficult to approach, they are known to be less friendly than other faeries and far more manipulative. It is believed that they possess some of the element of darkness."
        [/message]
        [message]
            speaker=narrator
            message= _ "Though darkness is usually associated with fear and despair, legends tell us of a world where the darkness was banished by the light of two suns. In the absence of shadow, the burning stars scorched the earth until all had become arid and infertile deserts. When darkness finally returned, it shrouded the burning light and allowed new life to regrow and prosper once again."
        [/message]
    [/event]

    [event]
        name=moveto
        first_time_only=yes
        [filter]
            x=13-15,14
            y=14-15,13
            side=1
        [/filter]
        [message]
            speaker=narrator
            message= _ "Uria is said to be the mother of all humanity. As the Guardian of Life, she is intimately related to the nature of order and maintains a disciplined, controlled society on Ethea. Although she has never been sighted by humans, her peacekeepers often travel between our worlds, to repel unwanted invaders or even to help advance the growth of our civilization."
        [/message]
        [message]
            speaker=narrator
            message= _ "While Xia'el is the Guardian of our world, the influence of Uria is more direct in Caerleon. Our scholars commonly refer to her as the 'Protector', who commands her Stromguarde keepers to watch over us from the nearby world of Ethea. Her powers have greatly impacted our livelihood in these northlands, where the once harsh winters and austere terrain have now been supplanted by new life energies. For this, we erect this statue and mark her sigil in this shrine."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(whispers) You've got to be kidding me. That's like... an insult to Xia'el. I mean, I know she and Uria are on good terms, but seriously..."
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) These humans seem to view Xia'el as relatively unimportant. They're more into Uria's enforced order. It just seems like the way humans operate."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(whispers) That could cause problems... if they view us as allied with Xia'el, but then see us fighting the Urdemons... wouldn't they get the wrong idea?"
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) You never know what could happen. Humans are a tricky bunch."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(whispers) Or worse, we know that something is controlling the Urdemons, and Uria can't or won't stop it. So what if the same thing happens to the humans?"
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) With all the strange stuff that's been going on, anything is possible. I'm not worried about them attacking us directly, though. I'm more worried about other possibilities. You know, political drama, infighting. Stuff like that."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(whispers) Oh. Psh. If they want a bloodbath among themselves, who cares? If they want to kill each other, let them be."
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) You know it's our responsibility. The humans said it themselves. Xia'el doesn't pay much attention to them. It's up to us to help."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(whispers) Ugh. Messing with human affairs is so pointless."
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) Come on, where's that fun and energetic Aryel I'm used to?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "(whispers) Pff. Alright, alright. Guess it wouldn't hurt. In the event that something does happen, I'm down to fight."
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) Aryel, that's not what I meant..."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(smirks) Yeah, yeah."
        [/message]

        [store_unit]
            [filter]
                id=Esther
            [/filter]
            variable=esther
        [/store_unit]
        [store_unit]
            [filter]
                id=Yumi
            [/filter]
            variable=yumi
        [/store_unit]
        [store_unit]
            [filter]
                id=Aryel
            [/filter]
            variable=aryel
        [/store_unit]

        #ifdef EASY
        {VARIABLE_OP esther.experience add 60}
        {VARIABLE_OP yumi.experience add 60}
        {VARIABLE_OP aryel.experience add 60}

        [unstore_unit]
            variable=esther
            find_vacant=no
            text= _ "+60 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=yumi
            find_vacant=no
            text= _ "+60 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=aryel
            find_vacant=no
            text= _ "+60 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        #endif
        #ifdef NORMAL
        {VARIABLE_OP esther.experience add 50}
        {VARIABLE_OP yumi.experience add 50}
        {VARIABLE_OP aryel.experience add 50}

        [unstore_unit]
            variable=esther
            find_vacant=no
            text= _ "+50 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=yumi
            find_vacant=no
            text= _ "+50 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=aryel
            find_vacant=no
            text= _ "+50 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        #endif
        #ifdef HARD
        {VARIABLE_OP esther.experience add 25}
        {VARIABLE_OP yumi.experience add 25}
        {VARIABLE_OP aryel.experience add 25}

        [unstore_unit]
            variable=esther
            find_vacant=no
            text= _ "+25 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=yumi
            find_vacant=no
            text= _ "+25 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        [unstore_unit]
            variable=aryel
            find_vacant=no
            text= _ "+25 XP"
            red,green,blue=255,0,255
        [/unstore_unit]
        #endif

        {CLEAR_VARIABLE esther}
        {CLEAR_VARIABLE yumi}
        {CLEAR_VARIABLE aryel}
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=14
            y=25
            side=1
        [/filter]
        [message]
            speaker=Aryel
            message= _ "Shall we leave, then?"
        [/message]
        [message]
            speaker=Esther
            [option]
                message= _ "Sure."

                [command]
                    [endlevel]
                        result=victory
                        bonus=no
                        {NEW_GOLD_CARRYOVER 100}
                        replay_save=no
                        carryover_report=no
                        linger_mode=no
                        next_scenario=06_Caerleon
                    [/endlevel]
                [/command]
            [/option]
            [option]
                message= _ "Not yet."
            [/option]
        [/message]
    [/event]

    [event]
        name=victory

        [set_variable]
            name=pantheon
            value=1
        [/set_variable]
        [set_variable]
            name=prev_scenario
            value="Pantheon"
        [/set_variable]
    [/event]
[/scenario]


#textdomain wesnoth-Genesis
[scenario]
    id=07e_Arcaneum
    name= _ "Arcaneum"
    map_data="{~add-ons/Genesis/episode1/maps/07e_Arcaneum.map}"
    next_scenario=07b_Upper_District
    victory_when_enemies_defeated=no
    turns=-1
    {DARK_INDOORS}

    {SCENARIO_MUSIC knalgan_theme.ogg}
    {EXTRA_SCENARIO_MUSIC weight_of_revenge.ogg}
    {EXTRA_SCENARIO_MUSIC the_deep_path.ogg}
    {EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}

    {FAE_DEATHS2}
    {STORYTXT_ARCANEUM}

    [side]
        {PLAYER_FAE}
        side=1
        recruit=
        {GOLD 270 240 150}
        fog=yes
        shroud=yes
    [/side]

    [side]
        {SPIRIT_ENEMY_SIDE}
        {AGGRESSIVE_SIDE}
        side=2
        id=udleaderspirit2
        type=Spectre
        recruit=Ghost,Wraith,Shadow
        {GOLD 50 60 75}
        {INCOME 4 6 10}
    [/side]

    [side]
        {SPIRIT_ENEMY_SIDE}
        {AGGRESSIVE_SIDE}
        side=3
        id=udleaderspirit3
        type=Spectre
        recruit=Ghost,Wraith,Shadow
        {GOLD 50 60 75}
        {INCOME 4 6 10}
    [/side]

    [side]
        side=4
        type=Draug
        id=udleaderskeleton
        team_name=spirits
        recruit=Skeleton,Skeleton Archer
        controller=ai
        user_team_name= _ "team_name^Skeletons"
        {GOLD 50 75 100}
        {INCOME 6 9 15}
        color=lightblue
        {AGGRESSIVE_SIDE}
    [/side]

    [side]
        side=5
        type=Arch Mage
        generate_name=yes
        id=humanleader7e
        team_name=fae
        controller=ai
        recruit=Mage,Red Mage,White Mage
        user_team_name= _ "team_name^Magi"
        fog=yes
        shroud=yes
        share_maps=yes
        share_view=yes
        {GOLD 200 150 100}
        {INCOME 15 12 9}
        color=white
    [/side]

    [event]
        name=prestart

        [set_variable]
            name=recruited_ud
            value=0
        [/set_variable]
        [set_variable]
            name=new_spawns
            value=0
        [/set_variable]
        [set_variable]
            name=num_closed
            value=0
        [/set_variable]
        [set_recruit]
            side=1
            recruit=Spearman,Bowman,Ghost,Skeleton,Skeleton Archer
        [/set_recruit]
        {RECALL_ARYEL_NOLOC}
        {RECALL_YUMI_NOLOC}
    [/event]

    {STARTING_VILLAGES 1 9}
    {STARTING_VILLAGES 5 9}

    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 14 21 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 21 22 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 28 21 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 29 30 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 20 32 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 10 29 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 16 24 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Draug","Banebow") 4 25 31 2 ("new_spawns")}

    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 2 20 32 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 2 10 29 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 3 16 24 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 3 25 31 2 ("new_spawns")}

    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 2 11 39 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 2 14 43 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 2 15 40 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 2 5 38 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 3 26 39 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 3 25 45 1 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 3 22 41 2 ("new_spawns")}
    {RESPAWN_POINT_CONDITIONAL ("Spectre","Nightgaunt") 3 31 39 2 ("new_spawns")}

    #ifdef HARD
        {RESPAWN_POINT_RANDOM ("Revenant","Deathblade","Bone Shooter") 4 16 19 22 25 2}
        {RESPAWN_POINT_RANDOM ("Revenant","Deathblade","Bone Shooter") 4 23 28 20 22 2}
        {RESPAWN_POINT_RANDOM ("Revenant","Deathblade","Bone Shooter") 4 19 24 29 32 1}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 7 17 38 44 3}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 7 17 38 44 4}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 7 17 38 44 3}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 7 17 38 44 4}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 19 20 38 44 3}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 19 20 38 44 4}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 19 20 38 44 3}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 19 20 38 44 4}
    #endif
    #ifdef NORMAL
        {RESPAWN_POINT_RANDOM ("Revenant","Deathblade","Bone Shooter") 4 16 19 22 25 3}
        {RESPAWN_POINT_RANDOM ("Revenant","Deathblade","Bone Shooter") 4 23 28 20 22 3}
        {RESPAWN_POINT_RANDOM ("Revenant","Deathblade","Bone Shooter") 4 19 24 29 32 2}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 7 17 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 7 17 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 7 17 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 7 17 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 19 20 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 19 20 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 2 19 20 38 44 8}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 19 20 38 44 8}
    #endif
    #ifdef EASY
        {RESPAWN_POINT_RANDOM ("Skeleton","Skeleton Archer") 4 16 19 22 25 3}
        {RESPAWN_POINT_RANDOM ("Skeleton","Skeleton Archer") 4 23 28 20 22 3}
        {RESPAWN_POINT_RANDOM ("Skeleton","Skeleton Archer") 4 19 24 29 32 2}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 7 17 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith") 2 7 17 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 7 17 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith") 2 7 17 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 19 20 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith") 2 19 20 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith","Shadow") 3 19 20 38 44 12}
        {RESPAWN_POINT_RANDOM ("Wraith") 2 19 20 38 44 12}
    #endif

    [event]
        name=start

        [message]
            speaker=humanleader7e
            message= _ "Who let you in here? Who are you? You had better be here to help..."
        [/message]
        [message]
            speaker=Esther
            message= _ "What's going on here? Why is everyone so jumpy?"
        [/message]
        [message]
            speaker=humanleader7e
            message= _ "Corina's blasted students. They meddled in spells that were far too advanced for them. Now look what's happened! All these creatures are completely out of control!"
        [/message]
        [message]
            speaker=Esther
            message= _ "Exactly how many of them are there?"
        [/message]
        [message]
            speaker=humanleader7e
            message= _ "Who knows! (throws hands up in disgust) And the council chose me, of all people, to deal with this mess. As if I was their janitor! Disgusting, snobby pricks... and the nerve of them, telling me to go fix this disaster without telling me any details at all. Why, I only just got through the containment spells!"
        [/message]
        [message]
            speaker=Esther
            message= _ "Hmm. Looks like we do this the hard way."
        [/message]
        [objectives]
            {OBJECTIVE_VICTORY  ( _ "Defeat the undead")}
            {OBJECTIVE_DEFEAT  ( _ "Death of Aryel")}
            {OBJECTIVE_DEFEAT  ( _ "Death of Esther")}
            {OBJECTIVE_DEFEAT  ( _ "Death of Yumi")}
            {OBJECTIVE_FULL_CARRYOVER}
            {OBJECTIVE_NOTE ( _ "It is highly recommended to finish by turn 23.")}
        [/objectives]
    [/event]

    [event]
        name=recruit_ud_text
        [message]
            speaker=Aryel
            message= _ "Watch and learn. I'll show you all how to really control undead."
        [/message]
        [message]
            speaker=Esther
            message= _ "Right... then while you're at it, don't you think you could take control of the other ones too?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "Unfortunately, it doesn't work that easily when they've been summoned by someone else. Despite losing control, the person who created them still has a 'contract' with the undead. So unless I can break that, I can't do it."
        [/message]
        [message]
            speaker=Esther
            message= _ "Alright. But it's not like you mind a battle, so no loss there."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(grins) Of course."
        [/message]
    [/event]
    [event]
        name=recruit
        [filter]
            side=1
            race=undead
        [/filter]
        [filter_condition]
            [variable]
                name=recruited_ud
                numerical_equals=0
            [/variable]
        [/filter_condition]
        [fire_event]
            name=recruit_ud_text
        [/fire_event]
        [set_variable]
            name=recruited_ud
            value=1
        [/set_variable]
    [/event]
    [event]
        name=recall
        [filter]
            side=1
            race=undead
        [/filter]
        [filter_condition]
            [variable]
                name=recruited_ud
                numerical_equals=0
            [/variable]
        [/filter_condition]
        [fire_event]
            name=recruit_ud_text
        [/fire_event]
        [set_variable]
            name=recruited_ud
            value=1
        [/set_variable]
    [/event]

    [event]
        name=turn 5
        [message]
            speaker=Esther
            message= _ "Is it just me or is it unnaturally dark in here?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "It's just you."
        [/message]
        [message]
            speaker=humanleader7e
            message= _ "It must be a byproduct of the undead being here. The lights in here are usually much brighter."
        [/message]
        [message]
            speaker=Esther
            message= _ "(rolls eyes) Right, I thought so. I'm not really a blind cave rat like you are, Aryel."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Riiight. Joke's on you, I'm not blind. And I'm not ugly, either."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(turns)"
        [/message]
        [message]
            speaker=Aryel
            message= _ "See?"
        [/message]
        [message]
            speaker=Yumi
            message= _ "(blushes)"
        [/message]
        [message]
            speaker=Esther
            message= _ "Okay, okay. Let's focus here, girls."
        [/message]
    [/event]

    [event]
        name=last breath
        first_time_only=yes
        [filter]
            side=4
        [/filter]
        [filter_second]
            id=Aryel
        [/filter_second]
        [message]
            speaker=Aryel
            message= _ "Filthy skeletons. Die!"
        [/message]

        [kill]
            id=unit
            animate=yes
        [/kill]

        [message]
            speaker=Esther
            message= _ "Uhh, not to rain on your parade, but you make skeletons too."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Yeah but mine are prettier."
        [/message]
        [message]
            speaker=Esther
            message= _ "Umm, sure thing. (mutters) Crazy girl."
        [/message]
        [message]
            speaker=Aryel
            message= _ "I'm not. I'm perfectly normal. Right, Yumi?"
        [/message]
        [message]
            speaker=Yumi
            message= _ "(shrugs)"
        [/message]
        [message]
            speaker=Aryel
            message= _ "(grumbles)"
        [/message]
    [/event]

    [event]
        name=turn 10
        [message]
            speaker=Esther
            message= _ "Yumi?"
        [/message]
        [message]
            speaker=Yumi
            message= _ "(tilts head)"
        [/message]
        [message]
            speaker=Esther
            message= _ "You should be more careful. I don't want you to get hurt."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(shrugs)"
        [/message]
        [message]
            speaker=Esther
            message= _ "I just want you to be safe."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(nods)"
        [/message]
        [message]
            speaker=Esther
            message= _ "As long as you know that."
        [/message]
    [/event]

    [event]
        name=turn 15
        [message]
            speaker=Yumi
            message= _ "(frowns)"
        [/message]
        [message]
            speaker=narrator
            message= _ "Imagine losing control of your own power like this... with the humans, it becomes only a minor inconvenience. But if you did..."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(holds head)"
        [/message]
        [message]
            speaker=narrator
            message= _ "Are you afraid?"
        [/message]
        [message]
            speaker=Yumi
            message= _ "(covers ears)"
        [/message]
        [message]
            speaker=narrator
            message= _ "You should be."
        [/message]
        [message]
            speaker=Yumi
            message= _ "(shakes head)"
        [/message]
    [/event]

    [event]
        name=turn 20
        [message]
            speaker=Aryel
            message= _ "Hey, Esther."
        [/message]
        [message]
            speaker=Esther
            message= _ "Yes?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "I just had a thought. You like fighting too, don't you?"
        [/message]
        [message]
            speaker=Esther
            message= _ "Me? What makes you think that?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "(smirks) Come on. Secretly, you enjoy it."
        [/message]
        [message]
            speaker=Esther
            message= _ "N-not at all. Not the way you do, at least. I'm not a sadist."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Whatever you say."
        [/message]
    [/event]

    [event]
        name=turn 23

        {REPEAT 2 ({PLAY_SOUND "skeleton-big-die.ogg"})}
        {REPEAT 2 ({PLAY_SOUND "wail.wav"})}

        [message]
            speaker=Aryel
            message= _ "Did you hear that?"
        [/message]
        [message]
            speaker=Esther
            message= _ "Sounds like trouble."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Yeah, sounds like we have company... we'd better figure out how to get rid of these undead fast, before their numbers grow out of control."
        [/message]

        [set_variable]
            name=new_spawns
            value=1
        [/set_variable]
    [/event]

    [event]
        name=last breath
        [filter]
            id=udleaderskeleton
        [/filter]
        [message]
            speaker=udleaderskeleton
            message= _ "Freedom..."
        [/message]
        [message]
            speaker=Esther
            message= _ "Are they always like that when you kill them?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "Not mine. I actually have the decency to make them brainless while they serve me."
        [/message]
        [message]
            speaker=Esther
            message= _ "Is that... supposed to be a good thing?"
        [/message]
    [/event]
    [event]
        name=last breath
        [filter]
            id=udleaderspirit2
        [/filter]
        [message]
            speaker=udleaderspirit2
            message= _ "Release..."
        [/message]
    [/event]
    [event]
        name=last breath
        [filter]
            id=udleaderspirit3
        [/filter]
        [message]
            speaker=udleaderspirit3
            message= _ "At last..."
        [/message]
    [/event]
    [event]
        name=last breath
        [filter]
            id=humanleader7e
        [/filter]
        [message]
            speaker=humanleader7e
            message= _ "Ugh, I told them I was the wrong person for the job..."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Rest in pieces, poor jelly bag."
        [/message]
        [message]
            speaker=Esther
            message= _ "Aryel!"
        [/message]
        [message]
            speaker=Aryel
            message= _ "(snickers) Sorry. I meant, poor man, your sacrifice won't be in vain, especially not when I raise you as one of my minions in a few minutes."
        [/message]
        [message]
            speaker=Esther
            message= _ "(sighs)"
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            x=32,33,33,31,30,30
            y=30,30,28,28,28,29
            side=1
        [/filter]
        [message]
            speaker=Aryel
            message= _ "Ooh, a dark pit. Spooky."
        [/message]
        [message]
            speaker=Esther
            message= _ "(rolls eyes)"
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            x=14-22
            y=37-40
            side=1
        [/filter]
        [message]
            speaker=Esther
            message= _ "And this must be where they keep all their clutter! Not really as pretty as the rest of this place."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(kicks an iron beam) You don't say."
        [/message]
        [message]
            speaker=Esther
            message= _ "Hey, I thought you liked places like these."
        [/message]
        [message]
            speaker=Aryel
            message= _ "(looks at reflection in panel) Nope. I actually have an eye for beauty."
        [/message]
        [message]
            speaker=Esther
            message= _ "Right, if you say so."
        [/message]
    [/event]

    [event]
        name=moveto
        [filter]
            x=7-13,23-29
            y=39-45,39-45
            side=1
        [/filter]
        [message]
            speaker=Aryel
            message= _ "Oh, now I see. The fools opened a portal to the land of the dead! Wait, not just one. Two of them."
        [/message]
        [message]
            speaker=Esther
            message= _ "Hmm. So we'll have to close them? But how?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "I can take care of that. But seriously. What kind of idiot does that? Even I'm not confident enough to try that."
        [/message]
        [message]
            speaker=Esther
            message= _ "(whispers) Well, that is the way with humans after all. They try to defy the order of the world."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Hmph. You don't say."
        [/message]
        [objectives]
            {OBJECTIVE_VICTORY  ( _ "Use Aryel to close both portals (5,42 and 31,42)")}
            {OBJECTIVE_DEFEAT  ( _ "Death of Aryel")}
            {OBJECTIVE_DEFEAT  ( _ "Death of Esther")}
            {OBJECTIVE_DEFEAT  ( _ "Death of Yumi")}
            {OBJECTIVE_CARRYOVER_NO_BONUS}
            {OBJECTIVE_NOTE ( _ "It is highly recommended to finish by turn 23.")}
        [/objectives]
    [/event]

    [event]
        name=moveto
        [filter]
            x,y=5,42
            id=Aryel
        [/filter]
        [message]
            speaker=Aryel
            message= _ "Let's see. I wonder how I can close this thing."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Hmm..."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Maybe I can just blow it up."
        [/message]
        {FLASH_RED_EXTREME ({DELAY 250})}
        [terrain]
            x,y=5,42
            radius=1
            terrain=Uzw
        [/terrain]
        [redraw][/redraw]
        [if]
            [variable]
                name=num_closed
                value=0
            [/variable]
            [then]
                [store_unit]
                    [filter]
                        side=2,3,4
                        [not]
                            id=udleaderspirit2,udleaderspirit3
                        [/not]
                    [/filter]
                    variable=enemies
                [/store_unit]
                [for]
                    array=enemies
                    [do]
                        [set_variable]
                            name=to_kill
                            rand=1..4
                        [/set_variable]
                        [if]
                            [variable]
                                name=to_kill
                                value=1
                            [/variable]
                            [then]
                                [kill]
                                    x,y=$enemies[$i].x,$enemies[$i].y
                                    animate=yes
                                [/kill]
                            [/then]
                        [/if]
                        {CLEAR_VARIABLE to_kill}
                    [/do]
                [/for]
                {CLEAR_VARIABLE enemies}
            [/then]
        [/if]
        [message]
            speaker=Aryel
            message= _ "There. Looks like I got an added bonus too. Sweet."
        [/message]
        [message]
            speaker=Esther
            message= _ "Wasn't that a bit violent?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "They're just dead bodies. Who cares?"
        [/message]
        [message]
            speaker=Esther
            message= _ "I suppose."
        [/message]

        {VARIABLE_OP num_closed add 1}

        [if]
            [variable]
                name=num_closed
                numerical_equals=2
            [/variable]
            [then]
                [fire_event]
                    name=defeated undead
                [/fire_event]
            [/then]
        [/if]
    [/event]
    [event]
        name=moveto
        [filter]
            x,y=31,42
            id=Aryel
        [/filter]
        [message]
            speaker=Aryel
            message= _ "Give me a moment."
        [/message]
        {DELAY 250}
        {PLAY_SOUND "magic-faeriefire.ogg"}
        {DELAY 500}
        [message]
            speaker=Aryel
            message= _ "Hmm, that didn't work. Let me try this."
        [/message]
        {FLASH_RED_EXTREME ({DELAY 250})}
        [terrain]
            x,y=31,42
            radius=1
            terrain=Uzw
        [/terrain]
        [redraw][/redraw]
        [message]
            speaker=Aryel
            message= _ "Aha."
        [/message]

        {VARIABLE_OP num_closed add 1}

        [if]
            [variable]
                name=num_closed
                numerical_equals=2
            [/variable]
            [then]
                [fire_event]
                    name=defeated undead
                [/fire_event]
            [/then]
        [/if]
    [/event]

    [event]
        name=defeated undead

        [kill]
            side=2,3,4
            animate=yes
        [/kill]

        {DELAY 500}

        [message]
            speaker=Esther
            message= _ "Looks like we did it."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Great. We got rid of them. Now let's get out of here."
        [/message]
        [message]
            speaker=Esther
            message= _ "In a hurry, are we?"
        [/message]
        [message]
            speaker=Aryel
            message= _ "(shrugs) Not really. (whispers) Just, these magi make me uncomfortable. They seem all suspicious of us. Looks like Yumi has the same feeling."
        [/message]
        [message]
            speaker=Esther
            message= _ "I know, I feel that way as well. But, it would be kind of rude if we just disappeared."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Rude? We just solved their not-so-little problem for them!"
        [/message]
        [message]
            speaker=Esther
            message= _ "Yes, but I don't want them remembering us for the wrong reasons. That could make trouble in the future."
        [/message]
        [message]
            speaker=Aryel
            message= _ "Then we'll say goodbye on our way out. Come on!"
        [/message]
        [message]
            speaker=Esther
            message= _ "I guess that's okay..."
        [/message]

        [endlevel]
            result=victory
            bonus=no
            {NEW_GOLD_CARRYOVER 100}
            next_scenario=07b_Upper_District
        [/endlevel]
    [/event]

    [event]
        name=victory

        {CLEAR_VARIABLE recruited_ud}
        {CLEAR_VARIABLE num_closed}
        {CLEAR_VARIABLE new_spawns}
        [set_variable]
            name=upper_district
            value=1
        [/set_variable]
        [set_variable]
            name=prev_scenario
            value="Arcaneum"
        [/set_variable]
    [/event]
[/scenario]


#textdomain wesnoth-Genesis
[scenario]
    id=07f_Lore
    name= _ "Library"
    map_data="{~add-ons/Genesis/episode1/maps/07f_Lore.map}"
    next_scenario=03_Northlands
    victory_when_enemies_defeated=no
    turns=-1
    theme=Cutscene
    {DEFAULT_SCHEDULE_24H}

    {SCENARIO_MUSIC wanderer.ogg}
    {EXTRA_SCENARIO_MUSIC silvan_sanctuary.ogg}
    [side]
        {PLAYER_FAE}
        {NO_GOLD_SIDE}
        side=1
        recruit=
        shroud=no
        fog=no
    [/side]

    {PLACE_IMAGE items/crystal-glyph-message.png 2 8}
    {PLACE_IMAGE items/crystal-glyph-message.png 2 4}
    {PLACE_IMAGE items/crystal-glyph-message.png 12 4}
    {PLACE_IMAGE items/crystal-glyph-message.png 12 8}

    [event]
        name=prestart
        {RECALL_YUMI 6 10}
        {RECALL_ARYEL 8 10}
    [/event]

    [event]
        name=start

        [objectives]
            {OBJECTIVE_VICTORY  ( _ "Read the text in the crystals")}
            {OBJECTIVE_NOTE ( _ "Move to the door (7,11-13) to return to Caerleon.")}
        [/objectives]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x,y=2,8
            side=1
        [/filter]

        [message]
            speaker=narrator
            message= _ "The Guardians"
        [/message]
        [message]
            speaker=narrator
            message= _ "There exist ten aspects of creation in the universe: Life, Water, Thunder, Earth, Fire, Darkness, Light, Air, Ice, and Existence. The ten Guardians each embody one of these concepts and are charged with fostering a world associated with each aspect. However, the tug of power between these worlds and the Guardians has resulted in frequent strife and endless bloodshed. In spite of their name, most Guardians are neither protectors nor peacekeepers."
        [/message]
        [message]
            speaker=narrator
            message= _ "The Guardians' powers stem from the Tree of Life, the source of energy that created the souls of all living creatures in the current Cycle. The Guardians' link to the Tree bestows upon them a degree of immortality, rendering them immune to the abilities of lesser creatures. They are also possessed of incredible regenerative abilities, being able to draw upon the energies of the Tree itself to sustain their physical forms. Along with their impressive set of defensive capabilities, each Guardian is granted a set of powers pertaining to each aspect, allowing them varying degrees of mystic and combative powers. In general, their strength is incomprehensible for most beings, even demon lords."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            x,y=2,4
            side=1
        [/filter]

        [message]
            speaker=narrator
            message= _ "The Aspects"
        [/message]
        [message]
            speaker=narrator
            message= _ "Life: Uria, the Guardian of Life, is the protector of the world Ethea, where the Urdemons reside. Powerful and authoritarian, she maintains strict order in her homeworld through her legions of Stromguarde keepers. Legends state that humanity was created in her image on Ethea, but their perceived weakness drew the ire of the Urdemons. However, Uria decided to protect the fledgling race from its stronger predecessor, sheltering the humans for long enough until they could live in peace with the demons. While the humans later spread to other worlds, the largest population of humans still exists on Ethea today. For these reasons, Uria is known as the Mother of Humanity."
        [/message]
        [message]
            speaker=narrator
            message= _ "Water: Valdir, the Guardian of Water, the Beast, and the God of War, is known as the most destructive and warmongerish Guardian. The Valdemons under his command are known to be bloodthirsty and violent, warped creatures that know no restraint when it comes to battle. Their homeworld, Norsula, is equally stormy and distorted by constant war with Shardia's cohorts. It is rumored that Valdir's personal prowess in combat is unrivaled, though this has yet to be proven despite his frequent exercise of his excessive power on lesser creatures."
        [/message]
        [message]
            speaker=narrator
            message= _ "Thunder: Kaarul, the Guardian of Thunder, resides on the chaotic world of Baathar. He is known as the arbitrator and the Harbinger of Judgment, he who seeks to mediate just conclusions to conflict by any means necessary. Though seeking to take on the role of conciliator, Kaarul holds little influence over other Guardians who either relish in conflict, or disdain his propensity for often brutal punishment."
        [/message]
        [message]
            speaker=narrator
            message= _ "Earth: Xia'el, the Guardian of Earth, is said to have been created of golden dust by Yarae himself. Her presence allowed for faerie-kind to exist peacefully in an otherwise demon-dominated universe. Her homeworld, Irdya, is noted for having the greatest natural beauty, as well as being the only world in which more significant populations of faerie exist than demons. As the Goddess of the Forests and the Protector of Peace, she is staunch allies with Uria and rumored to be Yarae's favored Guardian."
        [/message]
        [message]
            speaker=narrator
            message= _ "Fire: Shardia, the Guardian of Fire, was originally to possess the world of Areza, but a cataclysmic event sent Areza crashing into Norsula, the world of Water. As two opposing forces, she and Valdir are at eternal odds with one another and their frequent bickering has turned Norsula into a near constant battleground between their aspects. While claiming to be the Guardian representing love and warmth, Shardia is no stranger to battle herself and her personal strength has been noted to be impressive, even to Valdir."
        [/message]
        [message]
            speaker=narrator
            message= _ "Darkness: Merthiaal, the Guardian of Darkness, is the youngest of the Guardians and governs the world of Yrathid. Mysterious and aloof, not much is known about her."
        [/message]
        [message]
            speaker=narrator
            message= _ "Light: Luceith’el is the Guardian of Light and Metal, sometimes called the Morning Star. He resides on Kressal with the Lumeril demons, who wield the power of light to bring order to an otherwise chaotic universe. Whereas darkness is the element of mystery and introspection, light is the exuberant beacon that is half protector, half oppressor."
        [/message]
        [message]
            speaker=narrator
            message= _ "Air: Kazith is the Guardian of Air, the Goddess of the Ether, as unpredictable and restless as the wind. She is the Lady of the Skies and the mistress of the world Erial, an eternal wanderer and oft abstracted mystic unconcerned with the day-to-day politics of the other Guardians. It is said that, when she can be found, her presence is like the effulgent breath of life - vivacious and energetic, but fleeting. The governance of her world is left mostly to her demon lords, who are at odds with those from Baathar."
        [/message]
        [message]
            speaker=narrator
            message= _ "Ice: Yukiria, the Guardian of Ice and the Keeper of Death, is the queen of Siaria, a white wasteland known as the land of the dead. As cold as the frozen world in which she lives, Yukiria is the silent watcher of the unraveling universe, waiting patiently as the strings of life are plucked away by fate. One by one, they fall away, the silken strands of life, into the white expanse beneath her fingertips."
        [/message]
        [message]
            speaker=narrator
            message= _ "Existence: there is no Guardian of Existence at this time."
        [/message]
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            x,y=12,8
            side=1
        [/filter]

        [message]
            speaker=narrator
            message= _ "The Fae"
        [/message]
        [message]
            speaker=narrator
            message= _ "Bearing great resemblance to the faerie and some demon races, the Fae are a mysterious group whose existence is only known by a few Guardians and mystic demons. Even those that know about the Fae are usually unable to distinguish them from regular faerie or demons, except, occasionally, via careful observation over long periods of time. This is exacerbated by the fact that Fae themselves are typically very aware of the distinctions between them and the other races, prompting them to hide their existence as much as possible."
        [/message]
        [message]
            speaker=narrator
            message= _ "Exactly what is a Fae? The distinction between them and the other races is not immediately obvious. While there usually is a clear difference in power, mature Fae typically do not outmatch the strongest demon lords by anything more than slim margins. When using their powers to their fullest potentials, a Fae may pose a slight threat to a weak Guardian, though it is rarely in their nature to brazenly seek combat. As beings composed inherently of magic, they possess a greater connection to their respective aspect than regular creatures and can thus perform feats that are usually limited to Guardians alone."
        [/message]
        [message]
            speaker=narrator
            message= _ "Exceedingly rare, there may exist only a handful of Fae in the entire universe. While some of the Guardians have taken an interest in them for their unusual powers, finding the Fae is usually impossible given their elusiveness. In fact, it is only the Fae who can identify others of their kind on sight, being more attuned to the uncanny nature of their being."
        [/message]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x,y=12,4
            side=1
        [/filter]

        [message]
            speaker=narrator
            message= _ "The First Gods"
        [/message]
        [message]
            speaker=narrator
            message= _ "<i>The following is taken from the journal of an unknown Guardian.</i>"
        [/message]
        [message]
            speaker=narrator
            message= _ "The First Gods existed in an era, or a Cycle, prior to the present one. They were present at the start of creation, the ageless overseers of the growth of the univese in its infancy. Not much is known about their civilization, other than that through the endless eons of time, they were the mystic claimants of knowledge, and the arcane wardens of the universe's secrets. Never stagnant, always advancing in their eternal thirst for knowledge, the First Gods' society ceaselessly progressed until they had uncovered the secrets of life and death. Legends even spoke of a few who had knowledge of creation itself. At their most glorious state, the First Gods seemed exactly that - the immortal wardens of the universe."
        [/message]
        [message]
            speaker=narrator
            message= _ "However, the timelessness of the First Gods did nothing to prevent the cataclysmic end of their civilization. Not much is known about what brought about the First Gods' downfall. Some surmise that it was something that corrupted the universe, or the First Gods themselves. Another possibility is that the universe itself rebelled against them, those beings which had learned too much about the secrets of Life and Creation. Perhaps it was nothing but a byproduct of natural order - as all is created, all eventually comes to an end as well."
        [/message]
        [message]
            speaker=narrator
            message= _ "What is known is that almost all of the First Gods' knowledge and creations were quickly destroyed along with the majority of their kind. The few who remained banded together and, in the twilight of the old world, used the entirety of their knowledge to bring about the birth of a new universe. When creation had dwindled down to a singularity, and the pulse of the universe had faded, then, and only then could the cosmos begin anew. From there, the Tree of Life became the foundation of the new world and the source of all its energies. Of the First Gods that survived, we know of only one - his name is Yarae."
        [/message]
        [message]
            speaker=narrator
            message= _ "Channeling the energies of the Tree of Life, Yarae brought about the birth of the first ten new worlds, one each corresponding to an aspect of creation. Along with them, the Seeds were planted for ten Guardians to follow - ten protectors to stop the universe from descending into chaos, as it had during the First Gods' time. To each Guardian, Yarae granted immense powers associated with each aspect, but witheld the secrets of Life and Creation discovered by the First Gods."
        [/message]
        [message]
            speaker=narrator
            message= _ "He alone would retain that, for such knowledge is knowledge of the profane and not meant to be possessed by any being, mortal or god alike."
        [/message]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Esther
        [/filter]
        {MODIFY_UNIT (id=Esther) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Yumi
        [/filter]
        {MODIFY_UNIT (id=Yumi) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=no
        [filter]
            id=Aryel
        [/filter]
        {MODIFY_UNIT (id=Aryel) moves 10}
    [/event]
    [event]
        name=moveto
        first_time_only=yes
        [filter]
            x=7
            y=11-13
            side=1
        [/filter]
        [endlevel]
            result=victory
            bonus=no
            {NEW_GOLD_CARRYOVER 100}
            replay_save=no
            carryover_report=no
            linger_mode=no
            next_scenario=07b_Upper_District
        [/endlevel]
    [/event]

    # cleaning up some variables
    [event]
        name=victory

        [set_variable]
            name=prev_scenario
            value="Lore"
        [/set_variable]
    [/event]
[/scenario]