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

    {STORYTXT_NORTHLANDS}

    {SCENARIO_MUSIC wanderer.ogg}

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

    [side]
        side=2
        no_leader=yes
        {HUMAN_ALLY}
        {VILLAGE 24 11}
        {VILLAGE 25 12}
        {VILLAGE 27 12}
        {VILLAGE 24 13}
        {VILLAGE 25 14}
        {VILLAGE 27 14}
        {VILLAGE 29 14}
        {VILLAGE 30 11}
        {VILLAGE 30 13}
        {VILLAGE 29 12}
    [/side]

    [side]
        side=3
        no_leader=yes
        team_name=fae
        user_team_name= _ "team_name^Faerie"
        color=green
    [/side]

    {SPAWN_POINT ("Royal Guard") 2 26 15}
    {SPAWN_POINT ("Royal Guard") 2 27 16}
    {SPAWN_POINT ("Royal Guard") 2 28 15}

    [event]
        name=prestart
        [if]
            [variable]
                name=lady_of_the_lake
                numerical_equals=2
            [/variable]
            [then]
                [terrain]
                    x=4
                    y=20
                    terrain=Gg
                [/terrain]
                [terrain]
                    x=3
                    y=19-20
                    terrain=Ww
                [/terrain]
                [terrain]
                    x=2,3,4,4
                    y=19,18,18,19
                    terrain=Ai
                [/terrain]
            [/then]
        [/if]
        [if]
            [variable]
                name=woodland_dreams
                greater_than=0
            [/variable]
            [then]
                [terrain]
                    x=13,13,14,14,15,15
                    y=23,24,22,24,23,24
                    terrain=Gll^Fp
                [/terrain]
                [terrain]
                    x=14
                    y=23
                    terrain=Gg^Fet
                [/terrain]
            [/then]
        [/if]
        [if]
            [variable]
                name=black_cauldron
                numerical_equals=1
            [/variable]
            [then]
                [terrain]
                    x=43,44
                    y=7,6
                    terrain=Ur
                [/terrain]
                [terrain]
                    x=45
                    y=6
                    terrain=Qxe
                [/terrain]
            [/then]
        [/if]

        [label]
            x,y=11,7
            text = _ "Fort Helemoor"
        [/label]
        [label]
            x,y=41,31
            text = _ "Myrefall"
        [/label]
        [label]
            x,y=27,10
            text = _ "Caerleon"
        [/label]
        [label]
            x,y=14,23
            text = _ "The Great Tree"
        [/label]
        [label]
            x,y=3,19
            text = _ "The Lake"
        [/label]
        [label]
            x,y=44,6
            text = _ "Pit of Despair"
        [/label]
        [switch]
            variable=prev_scenario
            [case]
                value="Lady of the Lake"
                [move_unit]
                    id=Esther
                    to_x,to_y=5,21
                [/move_unit]
            [/case]
            [case]
                value="Woodland Dreams"
                [move_unit]
                    id=Esther
                    to_x,to_y=13,23
                [/move_unit]
            [/case]
            [case]
                value="Blue Moon"
                [move_unit]
                    id=Esther
                    to_x,to_y=40,30
                [/move_unit]
            [/case]
            [case]
                value="White City"
                [move_unit]
                    id=Esther
                    to_x,to_y=25,19
                [/move_unit]
            [/case]
            [case]
                value="Glacial Shrine"
                [move_unit]
                    id=Esther
                    to_x,to_y=11,8
                [/move_unit]
            [/case]
            [case]
                value="Black Cauldron"
                [move_unit]
                    id=Esther
                    to_x,to_y=41,7
                [/move_unit]
            [/case]
        [/switch]
        [set_recruit]
            side=1
            recruit=
        [/set_recruit]
    [/event]

    [event]
        name=start
        [if]
            [variable]
                name=black_cauldron
                numerical_equals=0
            [/variable]
            [then]
                [switch]
                    variable=prev_scenario
                    [case]
                        value="Lady of the Lake"
                        {RECALL_YUMI 6 20}
                    [/case]
                    [case]
                        value="Woodland Dreams"
                        {RECALL_YUMI 13 24}

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

                        #ifdef EASY
                        {VARIABLE_OP esther.experience add 125}
                        {VARIABLE_OP yumi.experience add 125}

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

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

                        [unstore_unit]
                            variable=esther
                            find_vacant=no
                            text= _ "+55 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        [unstore_unit]
                            variable=yumi
                            find_vacant=no
                            text= _ "+55 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        #endif
                    [/case]
                    [case]
                        value="White City"
                        {RECALL_YUMI 26 19}
                    [/case]
                    [case]
                        value="Glacial Shrine"
                        {RECALL_YUMI 12 7}
                    [/case]
                    [case]
                        value="none"
                        {RECALL_YUMI 6 29}

                        [message]
                            speaker=Esther
                            message= _ "We should probably find Aryel as soon as we can. Any ideas where we should start looking?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Dark places. Like caves."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Right, she's basically a troglodyte. Kind of like you."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Aryel's not like me at all..."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "What I meant was she likes living in the same places you do. Dark and gloomy, definitely without sunlight. It fits you though."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Yeah, sorry..."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Sheesh Yumi, stop apologizing for everything. You should try having a little more confidence in yourself."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Okay..."
                        [/message]
                    [/case]
                [/switch]

                [objectives]
                    {OBJECTIVE_VICTORY  ( _ "Explore")}
                    {OBJECTIVE_NOTE ( _ "Look for lit areas and keeps.")}
                    {OBJECTIVE_NOTE ( _ "It might be prudent to find Aryel before exploring the rest of the map.")}
                    {OBJECTIVE_NOTE ( _ "There are a total of six possible scenarios that may be played, one for each labelled location.")}
                [/objectives]
            [/then]
            [else]
                [switch]
                    variable=prev_scenario
                    [case]
                        value="Lady of the Lake"
                        {RECALL_YUMI 6 20}
                        {RECALL_ARYEL 5 22}
                    [/case]
                    [case]
                        value="Woodland Dreams"
                        {RECALL_YUMI 13 24}
                        {RECALL_ARYEL 14 24}
                        [store_unit]
                            [filter]
                                id=Aryel
                            [/filter]
                            variable=aryel
                        [/store_unit]

                        #ifdef EASY
                        {VARIABLE_OP aryel.experience add 125}
                        [unstore_unit]
                            variable=aryel
                            find_vacant=no
                            text= _ "+125 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        #endif
                        #ifdef NORMAL
                        {VARIABLE_OP aryel.experience add 110}
                        [unstore_unit]
                            variable=aryel
                            find_vacant=no
                            text= _ "+110 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        #endif
                        #ifdef HARD
                        {VARIABLE_OP aryel.experience add 55}
                        [unstore_unit]
                            variable=aryel
                            find_vacant=no
                            text= _ "55 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        #endif

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

                        #ifdef EASY
                        {VARIABLE_OP esther.experience add 125}
                        {VARIABLE_OP yumi.experience add 125}

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

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

                        [unstore_unit]
                            variable=esther
                            find_vacant=no
                            text= _ "+55 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        [unstore_unit]
                            variable=yumi
                            find_vacant=no
                            text= _ "+55 XP"
                            red,green,blue=255,0,255
                        [/unstore_unit]
                        #endif
                    [/case]
                    [case]
                        value="Blue Moon"
                        {RECALL_YUMI 40 31}
                        {RECALL_ARYEL 39 31}

                        [message]
                            speaker=Esther
                            message= _ "Yumi? Yumi, you okay? You look terrible."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "I, uhm... couldn't sleep last night."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "(frowns)"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "You're hiding something again."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "I'm not. Aryel..."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "What? You know we can tell when you don't tell us the truth. Right, Esther?"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Yes, but-"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "You don't understand. I'm fine! You don't need to baby me."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "I promise I'll tell you if something's wrong, okay?"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "... Esther, shall we beat an answer out of her?"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "That's unnecessary. Though it really would be good if you would talk to us, Yumi."
                        [/message]

                        {DELAY 1000}

                        [message]
                            speaker=Esther
                            message= _ "Yumi?"
                        [/message]

                        {DELAY 1000}

                        [message]
                            speaker=Yumi
                            message= _ "It's... not important. You don't need to worry."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "Really?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Really, I mean it!"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "When I get my hands on you..."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Oh, just leave her alone. She's just being stubborn again."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "(glares) I'll get you later."
                        [/message]
                    [/case]
                    [case]
                        value="Glacial Shrine"
                        {RECALL_YUMI 12 7}
                        {RECALL_ARYEL 12 6}
                    [/case]
                    [case]
                        value="Black Cauldron"
                        {RECALL_YUMI 42 7}
                        {RECALL_ARYEL 42 8}
                    [/case]
                [/switch]

                [objectives]
                    {OBJECTIVE_VICTORY  ( _ "Explore")}
                    {OBJECTIVE_NOTE ( _ "Return to Caerleon if you are done exploring this map.")}
                    {OBJECTIVE_NOTE ( _ "There are a total of six possible scenarios that may be played, one for each labelled location.")}
                [/objectives]
            [/else]
        [/if]
    [/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]
            x=3-4,4,2
            y=19-20,18,19
            side=1
        [/filter]
        [if]
            [variable]
                name=black_cauldron
                numerical_equals=0
            [/variable]
            [then]
                [switch]
                    variable=lady_of_the_lake
                    [case]
                        value=0
                        [move_unit]
                            id=Esther
                            to_x,to_y=5,21
                        [/move_unit]
                        [move_unit]
                            id=Yumi
                            to_x,to_y=6,20
                        [/move_unit]

                        [message]
                            speaker=Yumi
                            message= _ "I think I see someone out on the lake."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "A human? Or a faerie, or-"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Uhh, not exactly. It looks like something else."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "As in..."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "A spirit, I think. She seemed familiar."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Let's go check it out then."
                        [/message]

                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04a_The_Lady_of_the_Lake
                        [/endlevel]
                    [/case]
                    [case]
                        value=1
                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04a_The_Lady_of_the_Lake
                        [/endlevel]
                    [/case]
                [/switch]
            [/then]
            [else]
                [switch]
                    variable=lady_of_the_lake
                    [case]
                        value=0
                        [move_unit]
                            id=Esther
                            to_x,to_y=5,21
                        [/move_unit]
                        [move_unit]
                            id=Yumi
                            to_x,to_y=6,20
                        [/move_unit]
                        [move_unit]
                            id=Aryel
                            to_x,to_y=5,22
                        [/move_unit]

                        [message]
                            speaker=Yumi
                            message= _ "I think I see someone out on the lake."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "A human? Or a faerie, or-"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Uhh, not exactly. It looks like something else."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "Oooooh, spooky."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(glares)"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "So what was it?"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "A ghost, clearly."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "... I'm not being jumpy or anything. I swear I saw something!"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "So... what was it?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "It seemed like a faerie spirit. She looked familiar."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Let's go check it out then."
                        [/message]

                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04a_The_Lady_of_the_Lake
                        [/endlevel]
                    [/case]
                    [case]
                        value=1
                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04a_The_Lady_of_the_Lake
                        [/endlevel]
                    [/case]
                [/switch]
            [/else]
        [/if]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=13-15,14
            y=23-24,22
            side=1
        [/filter]

        [if]
            [variable]
                name=black_cauldron
                numerical_equals=0
            [/variable]
            [then]
                [move_unit]
                    id=Esther
                    to_x,to_y=13,23
                [/move_unit]
                [move_unit]
                    id=Yumi
                    to_x,to_y=13,24
                [/move_unit]
                [switch]
                    variable=woodland_dreams
                    [case]
                        value=0
                        {SPAWN ("Faerie Dryad") 3 14 23}
                        [message]
                            speaker=Esther
                            message= _ "Whoa. What happened here?"
                        [/message]
                        [message]
                            speaker=spawn_14_23
                            message= _ "We don't know. It's been like that for a couple weeks. Nobody's been able to figure out what happened to the tree."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Yumi?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "What are you looking at me for?"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "This is your kind of thing. You know, mysterious magics and stuff."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "... I guess..."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(puts hands on tree)"
                        [/message]

                        {DELAY 750}
                        {FLASH_DARK ({DELAY 250})}

                        [message]
                            speaker=Yumi
                            message= _ "(sways) I feel woozy. Everything's so dark- I-"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Yumi? Yumi, hello? Yuu-"
                        [/message]

                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04b_Woodland_Dreams
                        [/endlevel]
                    [/case]
                    [case]
                        value=1
                        {SPAWN ("Faerie Dryad") 3 14 23}
                        [message]
                            speaker=spawn_14_23
                            message= _ "Thank you so much for all your help! It's so wonderful to see the tree blooming again."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "It was no problem at all. We'll be sure to stop by and visit in the future. Say hi to our kinsfolk for me!"
                        [/message]
                        [message]
                            speaker=spawn_14_23
                            message= _ "Of course. Safe travels!"
                        [/message]
                        [set_variable]
                            name=woodland_dreams
                            value=2
                        [/set_variable]
                    [/case]
                [/switch]
            [/then]
            [else]
                [move_unit]
                    id=Esther
                    to_x,to_y=13,23
                [/move_unit]
                [move_unit]
                    id=Yumi
                    to_x,to_y=13,24
                [/move_unit]
                [move_unit]
                    id=Aryel
                    to_x,to_y=14,24
                [/move_unit]
                [switch]
                    variable=woodland_dreams
                    [case]
                        value=0
                        {SPAWN ("Faerie Dryad") 3 14 23}
                        [message]
                            speaker=Esther
                            message= _ "Whoa. What happened here?"
                        [/message]
                        [message]
                            speaker=spawn_14_23
                            message= _ "We don't know. It's been like that for a couple weeks. Nobody's been able to figure out what happened to the tree."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Yumi?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "What are you looking at me for?"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "This is your kind of thing. You know, mysterious magics and stuff."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "I can too!"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Shh! I'm trying to get her to be more active!"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "Oh, haha! Of course. Go ahead."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(sighs)"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(puts hands on tree)"
                        [/message]

                        {DELAY 750}
                        {FLASH_DARK ({DELAY 500})}

                        [message]
                            speaker=Yumi
                            message= _ "(sways) I feel woozy. Everything's so dark- I-"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Yumi? Yumi, hello? Yuu-"
                        [/message]

                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04b_Woodland_Dreams
                        [/endlevel]
                    [/case]
                    [case]
                        value=1
                        {SPAWN ("Faerie Dryad") 3 14 23}
                        [message]
                            speaker=spawn_14_23
                            message= _ "Thank you so much for all your help! It's so wonderful to see the tree blooming again."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "It was no problem at all. We'll be sure to stop by and visit in the future. Say hi to our kinsfolk for me!"
                        [/message]
                        [message]
                            speaker=spawn_14_23
                            message= _ "Of course. Safe travels!"
                        [/message]
                        [set_variable]
                            name=woodland_dreams
                            value=2
                        [/set_variable]
                    [/case]
                [/switch]
            [/else]
        [/if]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=41
            y=31
        [/filter]
        [if]
            [variable]
                name=black_cauldron
                numerical_equals=0
            [/variable]
            [then]
                [message]
                    speaker=Esther
                    message= _ "This seems like a nice village. Want to stay here for a night?"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "Esther..."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Come on, Yumi. It doesn't hurt to socialize a little."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "Should we be doing this before we've found Aryel?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Hmm, I guess not. We can come back later."
                [/message]
            [/then]
            [else]
                [switch]
                    variable=blue_moon
                    [case]
                        value=0
                        [move_unit]
                            id=Esther
                            to_x,to_y=42,30
                        [/move_unit]
                        [move_unit]
                            id=Yumi
                            to_x,to_y=42,31
                        [/move_unit]
                        [move_unit]
                            id=Aryel
                            to_x,to_y=41,32
                        [/move_unit]

                        [message]
                            speaker=Esther
                            message= _ "There's a nice inn in town. Shall we stay a night?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Esther..."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Come on, it's not like the humans are infested with the plague or anything."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(frowns)"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "I'm with her on this one. What is it with you and your fascination with humans?"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Call me curious. You two don't have to come. You can even sleep in the forest, if that's what you like."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "(rolls eyes) As long as I don't have to deal with humans."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(sighs) I don't want to talk to people."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "But you should!"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(holds hand to head) I feel strange... Please, no."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Fine, fine. You and Aryel can go crawl back under your rocks and be all unsociable. I'm going to go have fun!"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "You do that, sunshine."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Why does my head hurt? I'm going to sleep."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Okay, good night then."
                        [/message]

                        {FADE_SCREEN}
                        {DELAY 1000}

                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 100}
                            replay_save=no
                            carryover_report=no
                            linger_mode=no
                            next_scenario=04c_Blue_Moon
                        [/endlevel]
                    [/case]
                    [case]
                        value=1
                        [message]
                            speaker=Yumi
                            message= _ "Let's not stay here again."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Why?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Please..."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "I told you she was hiding something."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Oh just let her be."
                        [/message]
                        [set_variable]
                            name=blue_moon
                            value=2
                        [/set_variable]
                    [/case]
                [/switch]
            [/else]
        [/if]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=43,44,45
            y=7,6,6
        [/filter]
        [if]
            [variable]
                name=black_cauldron
                numerical_equals=0
            [/variable]
            [then]
                [message]
                    speaker=Yumi
                    message= _ "Aryel's probably in here somewhere."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Let's go!"
                [/message]

                [endlevel]
                    result=victory
                    bonus=no
                    {NEW_GOLD_CARRYOVER 100}
                    replay_save=no
                    carryover_report=no
                    linger_mode=no
                    next_scenario=04d_Black_Cauldron
                [/endlevel]
            [/then]
        [/if]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=26,27,28
            y=16,17,16
        [/filter]
        [switch]
            variable=white_city
            [case]
                value=0
                [message]
                    speaker=Esther
                    message= _ "Ooh, the great human city, Caerleon. We could go see if there's anything inside. Though, even if there isn't, you'll get to see the humans up close at least."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(rolls eyes) Esther..."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Don't be so shy! Come on, it'll be fun!"
                [/message]

                [endlevel]
                    result=victory
                    bonus=no
                    {NEW_GOLD_CARRYOVER 100}
                    replay_save=no
                    carryover_report=no
                    linger_mode=no
                    next_scenario=04e_The_White_City
                [/endlevel]
            [/case]
            [case]
                value=1
                [message]
                    speaker=Esther
                    message= _ "Probably no point in going back before we find Aryel."
                [/message]
            [/case]
            [case]
                value=2

                [message]
                    speaker=Aryel
                    message= _ "Ready to go open that crypt, ladies?"
                [/message]
                [message]
                    speaker=Esther
                    [option]
                        message= _ "Let's go!"

                        [command]
                            {CLEAR_VARIABLE lady_of_the_lake}
                            {CLEAR_VARIABLE woodland_dreams}
                            {CLEAR_VARIABLE blue_moon}
                            {CLEAR_VARIABLE white_city}
                            {CLEAR_VARIABLE black_cauldron}
                            {CLEAR_VARIABLE glacial_shrine}
                            {CLEAR_VARIABLE prev_scenario}
                            [endlevel]
                                result=victory
                                bonus=no
                                {NEW_GOLD_CARRYOVER 100}
                                replay_save=no
                                carryover_report=no
                                linger_mode=no
                                next_scenario=05_Crypt
                            [/endlevel]
                        [/command]
                    [/option]
                    [option]
                        message= _ "Let's wait a bit."
                    [/option]
                [/message]
            [/case]
        [/switch]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            x=11
            y=7
        [/filter]
        [switch]
            variable=glacial_shrine
            [case]
                value=0
                {SPAWN ("Spearman") 2 11 7}
                [message]
                    speaker=spawn_11_7
                    message= _ "Hello faeries. What brings you all the way out to Fort Helemoor?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Just travelling around, checking out new places, seeing if there's anything we can help with and such."
                [/message]
                [message]
                    speaker=spawn_11_7
                    message= _ "Oh, in that case, we could use your aid. There's this shrine out in the wilderness with some weird magical artifacts inside. We haven't been able to make them do anything, but this seems like stuff faeries would be good at."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Sure, we could take a look."
                [/message]
                [message]
                    speaker=spawn_11_7
                    message= _ "Okay, follow me. I'll take you to the commander."
                [/message]

                [endlevel]
                    result=victory
                    bonus=no
                    {NEW_GOLD_CARRYOVER 100}
                    replay_save=no
                    carryover_report=no
                    linger_mode=no
                    next_scenario=04f_Glacial_Shrine
                [/endlevel]
            [/case]
            [case]
                value=1
                [message]
                    speaker=Esther
                    message= _ "We've already been here. Let's go somewhere else for now."
                [/message]
            [/case]
        [/switch]
    [/event]
[/scenario]


#textdomain wesnoth-Genesis
[scenario]
    id=04a_The_Lady_of_the_Lake
    name= _ "The Lady of the Lake"
    map_data="{~add-ons/Genesis/episode1/maps/04a_The_Lady_of_the_Lake.map}"
    next_scenario=03_Northlands
    victory_when_enemies_defeated=no
    turns=12
    {EXTENDED_TIME3_MORNING}

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

    {FAE_DEATHS}
    [side]
        {PLAYER_FAE}
        {NO_GOLD_SIDE}
        side=1
        recruit=
        fog=yes
    [/side]

    [side]
        side=2
        {MONSTER_SIDE}
        {AGGRESSIVE_SIDE}
    [/side]

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

# map generation
#define GENERATE_ICE
    # avoid putting ice near deep water
    [store_locations]
        variable=water_hex
        terrain=Ww
        [not]
            [filter_adjacent_location]
                terrain=Wo
            [/filter_adjacent_location]
        [/not]
    [/store_locations]
    [for]
        array=water_hex
        [do]
            [set_variable]
                name=change_terrain
                rand=1..15
            [/set_variable]
            [if]
                [variable]
                    name=change_terrain
                    numerical_equals=1
                [/variable]
                [then]
                    [terrain]
                         x,y=$water_hex[$i].x,$water_hex[$i].y
                        terrain=Ai
                    [/terrain]
                [/then]
            [/if]
            {CLEAR_VARIABLE change_terrain}
        [/do]
    [/for]
    {CLEAR_VARIABLE water_hex}

    # generate clusters of ice
    [store_locations]
        variable=water_hex
        terrain=Ww
        [filter_adjacent_location]
            terrain=Ai
        [/filter_adjacent_location]
    [/store_locations]
    [for]
        array=water_hex
        [do]
            [set_variable]
                name=change_terrain
                rand=1..2
            [/set_variable]
            [if]
                [variable]
                    name=change_terrain
                    numerical_equals=1
                [/variable]
                [then]
                    [terrain]
                         x,y=$water_hex[$i].x,$water_hex[$i].y
                        terrain=Ai
                    [/terrain]
                [/then]
            [/if]
            {CLEAR_VARIABLE change_terrain}
        [/do]
    [/for]
    {CLEAR_VARIABLE water_hex}
#enddef
#define GENERATE_REEF
    # avoid putting reef near deep water
    [store_locations]
        variable=water_hex
        terrain=Ww
        [not]
            [filter_adjacent_location]
                terrain=Wo
            [/filter_adjacent_location]
        [/not]
    [/store_locations]
    [for]
        array=water_hex
        [do]
            [set_variable]
                name=change_terrain
                rand=1..12
            [/set_variable]
            [if]
                [variable]
                    name=change_terrain
                    numerical_equals=1
                [/variable]
                [then]
                    [terrain]
                         x,y=$water_hex[$i].x,$water_hex[$i].y
                        terrain=Wwr
                    [/terrain]
                [/then]
            [/if]
            {CLEAR_VARIABLE change_terrain}
        [/do]
    [/for]
    {CLEAR_VARIABLE water_hex}

    # generate clusters of reef
    [store_locations]
        variable=water_hex
        terrain=Ww
        [filter_adjacent_location]
            terrain=Wwr
        [/filter_adjacent_location]
    [/store_locations]
    [for]
        array=water_hex
        [do]
            [set_variable]
                name=change_terrain
                rand=1..4
            [/set_variable]
            [if]
                [variable]
                    name=change_terrain
                    numerical_equals=1
                [/variable]
                [then]
                    [terrain]
                         x,y=$water_hex[$i].x,$water_hex[$i].y
                        terrain=Wwr
                    [/terrain]
                [/then]
            [/if]
            {CLEAR_VARIABLE change_terrain}
        [/do]
    [/for]
    {CLEAR_VARIABLE water_hex}
#enddef

# split into two parts
#define GENERATE_DEEP_WATER_INIT
    [set_variable]
        name=x_coord
        rand=7..14
    [/set_variable]
    [set_variable]
        name=y_coord
        rand=6..10
    [/set_variable]
    [terrain]
        x=$x_coord
        y=$y_coord
        terrain=Wo
    [/terrain]
    {CLEAR_VARIABLE x_coord}
    {CLEAR_VARIABLE y_coord}
#enddef
#define GENERATE_DEEP_WATER
    [store_locations]
        variable=water_hex
        terrain=Ww
        [filter_adjacent_location]
            terrain=Wo
        [/filter_adjacent_location]
    [/store_locations]
    [for]
        array=water_hex
        [do]
            [set_variable]
                name=change_terrain
                rand=1..3
            [/set_variable]
            [if]
                [variable]
                    name=change_terrain
                    numerical_equals=1
                [/variable]
                [then]
                    [terrain]
                         x,y=$water_hex[$i].x,$water_hex[$i].y
                        terrain=Wo
                    [/terrain]
                [/then]
            [/if]
            {CLEAR_VARIABLE change_terrain}
        [/do]
    [/for]
    {CLEAR_VARIABLE water_hex}
#enddef

# this method actually works okay for the rest of the terrains, since clustering isn't as much of an issue

#define GENERATE_LAKE_VILLAGE
    [set_variable]
        name=x_coord
         rand=3..7,14..18
    [/set_variable]
    [set_variable]
        name=y_coord
         rand=2..5,11..15
    [/set_variable]
    [terrain]
        x=$x_coord
        y=$y_coord
        terrain=Ww^Vm
    [/terrain]
    {CLEAR_VARIABLE x_coord}
    {CLEAR_VARIABLE y_coord}
#enddef
#define GENERATE_LIT_SHALLOW
    [store_locations]
        variable=water_hex
        terrain=Wo
        [filter_adjacent_location]
            terrain=Ww
        [/filter_adjacent_location]
    [/store_locations]
    {VARIABLE_OP change_terrain rand "0..$($water_hex.length - 1)"}
    [terrain]
        x,y=$water_hex[$change_terrain].x,$water_hex[$change_terrain].y
        terrain=Ww^Ii
    [/terrain]
    {CLEAR_VARIABLE change_terrain}
    {CLEAR_VARIABLE water_hex}
#enddef
#define GENERATE_LIT_DEEP
    [store_locations]
        variable=water_hex
        terrain=Wo
    [/store_locations]
    {VARIABLE_OP change_terrain rand "0..$($water_hex.length - 1)"}
    [terrain]
        x,y=$water_hex[$change_terrain].x,$water_hex[$change_terrain].y
        terrain=Wo^Ii
    [/terrain]
    {CLEAR_VARIABLE change_terrain}
    {CLEAR_VARIABLE water_hex}
#enddef

    [event]
        name=prestart
        {REPEAT 25 ({GENERATE_DEEP_WATER_INIT})}
        {REPEAT 4 ({GENERATE_DEEP_WATER})}
        {REPEAT 5 ({GENERATE_LAKE_VILLAGE})}
        {REPEAT 4 ({GENERATE_LIT_SHALLOW})}
        {REPEAT 4 ({GENERATE_LIT_DEEP})}
        {GENERATE_ICE}
        {GENERATE_REEF}
        [set_variable]
            name=x_coord
            rand=1..4,16..20
        [/set_variable]
        [set_variable]
            name=y_coord
            rand=1..4,12..16
        [/set_variable]
        [move_unit]
            id=Esther
            to_x,to_y=$x_coord,$y_coord
        [/move_unit]
        {CLEAR_VARIABLE x_coord}
        {CLEAR_VARIABLE y_coord}
    [/event]

# monster spawns
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 1 4 1 5 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 1 4 6 10 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 1 4 11 15 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 16 20 1 5 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 16 20 6 10 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 16 20 11 15 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 1 5 1 4 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 6 10 1 4 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 11 15 1 4 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 16 20 1 4 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 1 5 11 15 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 6 10 11 15 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 11 15 11 15 11}
    {RESPAWN_POINT_RANDOM ("Tentacle of the Deep") 2 16 20 11 15 11}

    {RESPAWN_POINT_RANDOM ("Cuttle Fish","Water Serpent") 2 8 12 6 10 10}
    {RESPAWN_POINT_RANDOM ("Cuttle Fish","Water Serpent") 2 8 12 6 10 10}
    {RESPAWN_POINT_RANDOM ("Cuttle Fish","Water Serpent") 2 8 12 6 10 10}
    {RESPAWN_POINT_RANDOM ("Cuttle Fish","Water Serpent") 2 8 12 6 10 10}
    #ifdef NORMAL
        {RESPAWN_POINT_RANDOM ("Sea Serpent") 2 8 12 6 10 9}
    #endif
    #ifdef HARD
        {RESPAWN_POINT_RANDOM ("Sea Serpent") 2 8 12 6 10 6}
    #endif

    [event]
        name=start
        [if]
            [variable]
                name=black_cauldron
                numerical_equals=0
            [/variable]
            [then]
                {RECALL_YUMI_NOLOC}
                [switch]
                    variable=lady_of_the_lake
                    [case]
                        value=0
                        [message]
                            speaker=Yumi
                            message= _ "Uh, I swear I saw her somewhere here."
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "Look over there. There's some lights on the water. We'll probably find her near one of them."
                        [/message]
                    [/case]
                    [case]
                        value=1
                        [message]
                            speaker=Esther
                            message= _ "Here we go again."
                        [/message]
                    [/case]
                [/switch]
                [objectives]
                    {OBJECTIVE_VICTORY  ( _ "Find the spirit of the lake")}
                    {OBJECTIVE_DEFEAT  ( _ "Death of Esther")}
                    {OBJECTIVE_DEFEAT  ( _ "Death of Yumi")}
                    {OBJECTIVE_CARRYOVER}
                    {OBJECTIVE_NOTE ( _ "Look for lit areas.")}
                [/objectives]
            [/then]
            [else]
                {RECALL_YUMI_NOLOC}
                {RECALL_ARYEL_NOLOC}
                [switch]
                    variable=lady_of_the_lake
                    [case]
                        value=0
                        [message]
                            speaker=Yumi
                            message= _ "Uh, I swear I saw her somewhere here."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "Are you sure you're not just hallucinating?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "I'm not!"
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "Relax. You're always so fretful."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(grumbles) Am not."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "You totally are. Want me to prove it?"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "Nooo, get away from me!"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "If you two are done flirting, we have a-"
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "We're not flirting..."
                        [/message]
                        [message]
                            speaker=Aryel
                            message= _ "Speak for yourself, ehehe."
                        [/message]
                        [message]
                            speaker=Yumi
                            message= _ "(rolls eyes)"
                        [/message]
                        [message]
                            speaker=Esther
                            message= _ "(sighs) You two are horrible."
                        [/message]
                    [/case]
                    [case]
                        value=1
                        [message]
                            speaker=Esther
                            message= _ "Here we go again."
                        [/message]
                    [/case]
                [/switch]

                [objectives]
                    {OBJECTIVE_VICTORY  ( _ "Find the spirit of the lake")}
                    {OBJECTIVE_DEFEAT  ( _ "Death of Esther")}
                    {OBJECTIVE_DEFEAT  ( _ "Death of Yumi")}
                    {OBJECTIVE_DEFEAT  ( _ "Death of Aryl")}
                    {OBJECTIVE_FULL_CARRYOVER}
                    {OBJECTIVE_NOTE ( _ "Look for lit areas.")}
                [/objectives]
            [/else]
        [/if]
    [/event]

    # store the hexes for victory
    [event]
        name=turn 1
        [store_locations]
            terrain=Ww^Ii,Wo^Ii
            variable=lit_hex
        [/store_locations]
        [set_variable]
            name=loc1
            rand=0..7
        [/set_variable]
        #ifndef HARD
            [set_variable]
                name=loc2
                rand=0..7
            [/set_variable]
        #endif
    [/event]

    # if you move to the correct locations...
    # only one place if hard, two otherwise
    [event]
        name=moveto
        #ifndef HARD
        [filter]
            x=$lit_hex[$loc1].x,$lit_hex[$loc2].x
            y=$lit_hex[$loc1].y,$lit_hex[$loc2].y
            side=1
        [/filter]
        #endif

        #ifdef HARD
        [filter]
            x=$lit_hex[$loc1].x
            y=$lit_hex[$loc1].y
            side=1
        [/filter]
        #endif

        [store_unit]
            [filter]
                x,y=$x1,$y1
            [/filter]
            variable=move_unit
        [/store_unit]

        {SPAWN_ID_NAME ("Lady Lake") 3 $move_unit.x $move_unit.y ("Lady Lake") ("female") ("Lady of the Lake")}

        [message]
            speaker=Esther
            message= _ "Whoa. Hello?"
        [/message]
        [message]
            speaker=narrator
            message= _ "(silence)"
        [/message]
        [message]
            speaker=Yumi
            message= _ "(whispers) Maybe we should just leave."
        [/message]

        [switch]
            variable=black_cauldron
            [case]
                value=0
                [message]
                    speaker=Esther
                    message= _ "(whispers) But we came here to meet her, right?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "You did, did you not?"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "!!!"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(whispers) She talked!"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "Of course, I came here specifically to seek out you and your friend. Your kind is rare and powerful, enough to merit plenty of unwanted attention."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "You know about us?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "Indeed. Do not worry, I have no intention of harming you. The others, however, I cannot make promises for."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "The others?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "I will tell you more should the situation require it. I can only say that you should consider me your friend"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "Who are you?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "You will find out when the time is right. Until then, be safe."
                [/message]
                [kill]
                    id=Lady Lake
                    animate=no
                [/kill]
                [message]
                    speaker=Esther
                    message= _ "That was weird, but she did seem familiar after all. I wonder who she is?"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "Uhh... who knows..."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Hmm. Mysterious as ever. Okay."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "What's that supposed to mean?"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Nothing. Let's head back."
                [/message]
            [/case]
            [case]
                value=1
                [message]
                    speaker=Aryel
                    message= _ "So scared as always. Come on now, who was the one who wanted to find this 'spirit'? No point in running away now."
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "Indeed, that is true."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "!!!"
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "(whispers) She talked!"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "Of course, I came here specifically to seek out you and your friends. Your kind is rare and powerful, enough to merit plenty of unwanted attention."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "You know about us?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "Indeed. Do not worry, I have no intention of harming you. The others, however, I cannot make promises for."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "The others? What are you talking about?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "It has to deal with what you are. The essence of your beings is quite unique, not entirely unlike what we are. It is this that some rather disreputable forces covet for themselves."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "How would they know about us? Can we stop them?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "I do not know. For now, I can say that it is difficult to move against them. I would like to avoid war unless it is absolutely necessary."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "I hate to say it, but aren't we already fighting one over here?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "So far, all you have experienced are small battles in the grander scheme of things. A true war would ravage your world and mine far beyond anything you have witnessed. I hope that you will never have to be confronted with that."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "Who are you?"
                [/message]
                [message]
                    speaker=Lady Lake
                    message= _ "You will find out when the time is right. Until then, be safe."
                [/message]
                [kill]
                    id=Lady Lake
                    animate=no
                [/kill]
                [message]
                    speaker=Aryel
                    message= _ "I don't like this. She was hiding a lot of things like our little friend always does."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "I don't hide things!"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Aryel, stop teasing her so much. We have to figure out what to do about this spirit."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "What's there to do? She's gone now. If you're talking about who she is, well, I can agree with Yumi that she did seem familiar. Oh, I know! Maybe she's one of those souls I resurrected to torture for all eternity-"
                [/message]
                [message]
                    speaker=Esther
                    message= _ "Aryel!"
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "Haha, I'm just joking. I'm not thaaaat sadistic."
                [/message]
                [message]
                    speaker=Yumi
                    message= _ "Not true..."
                [/message]
                [message]
                    speaker=Aryel
                    message= _ "You shush! Anyway, if you want a real answer, I'd guess that she's a demon lady from Ethea. But, with her gone, it's not like we can pry any more information out of her."
                [/message]
                [message]
                    speaker=Esther
                    message= _ "No use speculating on it for now then. Let's head back."
                [/message]
                #ifdef EASY
                [add_exp]
                    [filter]
                        id=Aryel
                    [/filter]
                    experience=75
                [/add_exp]
                #endif
                #ifdef NORMAL
                [add_exp]
                    [filter]
                        id=Aryel
                    [/filter]
                    experience=60
                [/add_exp]
                #endif
                #ifdef HARD
                [add_exp]
                    [filter]
                        id=Aryel
                    [/filter]
                    experience=35
                [/add_exp]
                #endif
            [/case]
        [/switch]
        #ifdef EASY
        [add_exp]
            [filter]
                id=Esther
            [/filter]
            experience=75
        [/add_exp]
        [add_exp]
            [filter]
                id=Yumi
            [/filter]
            experience=75
        [/add_exp]
        #endif
        #ifdef NORMAL
        [add_exp]
            [filter]
                id=Esther
            [/filter]
            experience=60
        [/add_exp]
        [add_exp]
            [filter]
                id=Yumi
            [/filter]
            experience=60
        [/add_exp]
        #endif
        #ifdef HARD
        [add_exp]
            [filter]
                id=Esther
            [/filter]
            experience=35
        [/add_exp]
        [add_exp]
            [filter]
                id=Yumi
            [/filter]
            experience=35
        [/add_exp]
        #endif

        {DELAY 500}

        [set_variable]
            name=lady_of_the_lake
            value=2
        [/set_variable]
        [set_variable]
            name=prev_scenario
            value="Lady of the Lake"
        [/set_variable]

        {CLEAR_VARIABLE move_unit}
        {CLEAR_VARIABLE lit_hex}
        {CLEAR_VARIABLE loc1}
        #ifndef HARD
            {CLEAR_VARIABLE loc2}
        #endif

        [endlevel]
            result=victory
            bonus=yes
            {NEW_GOLD_CARRYOVER 100}
            next_scenario=03_Northlands
        [/endlevel]
    [/event]

    # have more than one chance
    [event]
        name=time over
        [message]
            speaker=Esther
            message= _ "It's getting dark and the lights are disappearing. We should go back ashore and try again tomorrow."
        [/message]
        [set_variable]
            name=lady_of_the_lake
            value=1
        [/set_variable]
        [set_variable]
            name=prev_scenario
            value="Lady of the Lake"
        [/set_variable]
        {CLEAR_VARIABLE lit_hex}
        {CLEAR_VARIABLE loc1}
        #ifndef HARD
            {CLEAR_VARIABLE loc2}
        #endif

        [endlevel]
            result=victory
            bonus=no
            {NEW_GOLD_CARRYOVER 40}
            carryover_report=no
            linger_mode=no
            next_scenario=03_Northlands
        [/endlevel]
    [/event]
[/scenario]

#undef GENERATE_DEEP_WATER_INIT
#undef GENERATE_DEEP_WATER
#undef GENERATE_LAKE_VILLAGE
#undef GENERATE_LIT_SHALLOW
#undef GENERATE_LIT_DEEP
#undef GENERATE_ICE
#undef GENERATE_REEF