#textdomain wesnoth-trow
[scenario]
    id=Clearwater_Port
    name= _ "Clearwater Port"
    next_scenario=Fallen_Lich_Point
    victory_when_enemies_defeated=no
    map_data="{campaigns/The_Rise_Of_Wesnoth/maps/Clearwater_Port.map}"

    turns=32
    {DEFAULT_SCHEDULE}

    {SCENARIO_MUSIC knolls.ogg}
    {EXTRA_SCENARIO_MUSIC the_city_falls.ogg}
    {EXTRA_SCENARIO_MUSIC battle.ogg}

    # No story part
    {CLEARWATER_PORT_BIGMAP}

    {TROW_DEATHS}

    [side]
        side=1
        type=Noble Commander
        id=Prince Haldric
        name= _ "Prince Haldric"
        unrenamable=yes
        canrecruit=yes
        gold=200
        controller=human
        team_name=Haldric
        user_team_name=_"Humans"
        {FLAG_VARIANT loyalist}
    [/side]

    {STARTING_VILLAGES 1 5}

    [side]
        side=2
        type=Lieutenant
        id=Commander Aethyr
        name= _ "Commander Aethyr"
        profile="portraits/aethyr.png"
        canrecruit=yes
        recruit=Peasant, Bowman, Horseman, Mage, Spearman
        {GOLD 220 160 120}
        [ai]
            aggression=-0.5
            {NO_SCOUTS}
            recruitment_pattern=mixed fighter,fighter,mixed fighter,archer,fighter,fighter
            passive_leader=yes
            grouping=defensive
        [/ai]
        [ai]
            time_of_day=morning,afternoon
            grouping=offensive
            aggression=0.5
        [/ai]
        team_name=Haldric
        user_team_name=_"Humans"
        {FLAG_VARIANT loyalist}
    [/side]

    {STARTING_VILLAGES 2 9}

    [side]
        type=Orcish Warlord
        id=Tan-Vragar
        name= _ "Tan-Vragar"
        side=3
        canrecruit=yes
#ifdef EASY
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Knight, Goblin Spearman
#endif

#ifdef NORMAL
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Knight, Orcish Slayer, Goblin Spearman
#endif

#ifdef HARD
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Knight, Goblin Pillager, Orcish Slayer, Goblin Spearman, Goblin Impaler
#endif

        {GOLD 190 230 290}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            {NO_SCOUTS}
            recruitment_ignore_bad_movement=yes
            recruitment_pattern=scout,fighter,fighter,mixed fighter,archer
            {ATTACK_DEPTH 4 5 5}
        [/ai]
        [ai]
            time_of_day=dusk,first_watch,second_watch
            aggression=0.75
            caution=0.0
            grouping=no
        [/ai]
        {INCOME 4 8 12}
    [/side]

    [side]
        type=Orcish Warlord
        id=Tan-Burg
        name= _ "Tan-Burg"
        side=4
        canrecruit=yes
#ifdef EASY
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Goblin Pillager, Goblin Spearman
#endif

#ifdef NORMAL
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Pillager, Goblin Spearman
#endif

#ifdef HARD
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Knight, Goblin Pillager, Orcish Slayer, Goblin Spearman, Goblin Impaler
#endif

        {GOLD 190 230 290}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            {NO_SCOUTS}
            recruitment_ignore_bad_movement=yes
            recruitment_pattern=scout,fighter,fighter,mixed fighter,archer
            {ATTACK_DEPTH 4 5 5}
        [/ai]
        [ai]
            time_of_day=dusk,first_watch,second_watch
            aggression=0.75
            caution=0.0
            grouping=no
        [/ai]
        {INCOME 4 8 12}
    [/side]

    [side]
        #One Bad Dude
        type=Orcish Warlord
        id="Ut'Tan-Vrork"
        name= _ "Ut'Tan-Vrork"
        profile=portraits/orcs/transparent/grunt-2.png
        side=5
        canrecruit=yes
#ifdef EASY
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Warrior, Goblin Spearman
#endif

#ifdef NORMAL
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Knight, Goblin Pillager, Orcish Slayer, Goblin Spearman
#endif

#ifdef HARD
        recruit=Orcish Archer, Orcish Assassin, Orcish Grunt, Wolf Rider, Orcish Crossbowman, Orcish Warrior, Goblin Knight, Goblin Pillager, Orcish Slayer, Goblin Spearman, Goblin Impaler
#endif

        {GOLD 260 300 360}
        team_name=orcs
        user_team_name=_"Orcs"
        [ai]
            {NO_SCOUTS}
            recruitment_ignore_bad_movement=yes
            recruitment_pattern=scout,fighter,fighter,mixed fighter,archer
            {ATTACK_DEPTH 4 5 5}
        [/ai]
        [ai]
            time_of_day=dusk,first_watch,second_watch
            aggression=0.75
            caution=0.0
            grouping=no
        [/ai]
        {INCOME 5 10 15}
    [/side]

    #Time Areas broken - no visible change, use a halo with it
    [time_area]
        x=34,35,36,36,36,35,34,33,32,32,32,33,34,35,35,34,33,33,34	#,37,37,31,31
        y= 6, 7, 7, 8, 9,10,10,10, 9, 8, 7, 7, 7, 8, 9, 9, 9, 8, 8	#,8,9,8,9
        {MORNING}
        {MORNING}
        {AFTERNOON}
        {AFTERNOON}
        {DUSK}
        {DAWN}
    [/time_area]

    [event]
        name=prestart

        {PLACE_IMAGE (scenery/signpost.png) 33 8}
        {PLACE_IMAGE (scenery/signpost.png) 8 17}
        {PLACE_IMAGE (scenery/signpost.png) 1 10}
        {PLACE_IMAGE (scenery/signpost.png) 36 18}

        [item]
            x=34
            y=8
            image=scenery/lighthouse.png
            halo=halo/lighthouse-aura.png
        [/item]

        [recall]
            id=Lady Jessene
        [/recall]
        [recall]
            id=Burin the Lost
        [/recall]
        [recall]
            id=Sir Ruddry
        [/recall]

        [recall]
            id=Sir Ladoc
        [/recall]

        [recall]
            id=Minister Edren
        [/recall]

        {NAMED_LOYAL_UNIT 2 (Peasant) 26 18 () ( _ "Angry Farmer")}
        {NAMED_LOYAL_UNIT 2 (Peasant) 28 19 () ( _ "Angry Farmer")}
        {NAMED_LOYAL_UNIT 2 (Peasant) 29 22 () ( _ "Angry Farmer")}
        # wmllint: recognize Angry Farmer

        [objectives]
            side=1
            [objective]
                description= _ "Cowardly: Flee on the First Ship"
                condition=win
            [/objective]
            [objective]
                description= _ "Normal: Flee on the Second Ship"
                condition=win
            [/objective]
            [objective]
                description= _ "Heroic: Flee on the Third Ship"+"
"+{EARLY_FINISH_BONUS_CAPTION}
                condition=win
            [/objective]
            [objective]
                description= _ "Heroic: Defeat all enemy leaders"+"
"+{EARLY_FINISH_BONUS_CAPTION}
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Prince Haldric"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Lady Jessene"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Commander Aethyr"
                condition=lose
            [/objective]
            [objective]
                description= _ "Miss the Last Ship"
                condition=lose
            [/objective]

            note={NEW_GOLD_CARRYOVER_NOTE_40}
        [/objectives]
    [/event]

    [event]
        name=start
        [message]
            speaker=narrator
            message= _ "Our Prince has arrived at Clearwater Port, with the orcs on his heels. While the orcs haven't caught up with him yet, the winter snow has, and the ships seem to be missing from the port."
            image=wesnoth-icon.png
        [/message]

        [message]
            speaker=Sir Ruddry
            message= _ "Ha! Clearwater Port still stands!"
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Lieutenant, who is in command here? And where are the ships? We risk being trapped in this city for the winter if the port freezes over."
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "I am, my Lord, I command the local garrison. Our whole fishing fleet is evacuating people to Southbay as we speak. The ships should be back in a few days. Our forces engaged the orcs as they exited the Swamp of Esten. At first, we prevailed, and pushed them back into the swamp!"
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "But our victory did not hold; orc reinforcements quickly overran our positions. We lost most of our forces, my lord, including the King of Clearwater, who died bravely leading a charge."
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "That's horrible!"
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "The blood of many good soldiers stained the frozen field that day. And still the orcs press on. The king left no heir, but the other nobles have fled to Southbay. We've been busy evacuating the rest of the populace. The army bought us enough time to evacuate almost all our people, and most of the winter stores. They've gone to Southbay, which is brimming with refugees from all over."
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "We're only holding the city until the last of the refugees are gone. You, my lord, are free to retreat to safety when the next ship comes. But, if I may be frank, my lord, our defenses are stretched thin and we could use all the help we can get to hold our walls. Otherwise I fear that we will be overrun before the last of the people can be evacuated."
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Well, we are the last of the refugees from our lands, for the orcs are right on our heels! We have Wesfolk with us. They have been of service. They are to be evacuated as well. We have traveled far and bear many wounded, but we will help you defend these walls as long as we can."
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "I thank you, my lord. But we are to bring these Wesfolk too? It would be...highly irregular. Are you sure, my lord?"
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Yes. Be sure that it is understood that these are our allies and friends."
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "Yes, sir!"
        [/message]

        [message]
            speaker=Lady Jessene
            message= _ "Yes sir, indeed! You need us to help hold out until the ships arrive."
        [/message]

        [message]
            speaker=Burin the Lost
            message= _ "Ships! Nobody said anything about ships. Will this torture ever end! Ahh, the orcs will help take my mind off things."
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "To your posts, men! We should be able to evacuate everyone in three more boatloads. Until then, let us make those orcs pay dearly for every inch of our land. For our homes, for our people, for our fallen king!"
        [/message]
    [/event]

    [event]
        name=attack
        [filter]
            type=Peasant
        [/filter]
        [message]
            speaker=Angry Farmer
            message= _ "You killed my family! Die!"
        [/message]
    [/event]

    [event]
        name=attack
        [filter]
            id=Lady Jessene
        [/filter]
        [message]
            speaker=Lady Jessene
            message= _ "'Bring these Wesfolk too? It would be...highly irregular.' Bah! I'll show you irregular..."
        [/message]
    [/event]

    [event]
        name=turn 3
        [message]
            speaker="Ut'Tan-Vrork"
            message= _ "Push 'em into the sea! They're in our winter homes! Heh...Tan-Vragar, I 'm sure they will enjoy your little surprise!"
        [/message]

        [scroll_to]
            x,y=30,30
        [/scroll_to]

        [allow_recruit]
            type=Naga Fighter
            side=3
        [/allow_recruit]

#ifdef EASY
        {LOYAL_UNIT 3 (Naga Fighter) 31 30}
#endif
#ifdef NORMAL
        {LOYAL_UNIT 3 (Naga Fighter) 31 30}
        {LOYAL_UNIT 3 (Naga Fighter) 30 31}
#endif

#ifdef HARD
        {LOYAL_UNIT 3 (Naga Fighter) 31 30}
        {LOYAL_UNIT 3 (Naga Fighter) 30 31}
        {LOYAL_UNIT 3 (Naga Fighter) 27 33}
#endif
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=33
            y=8
        [/filter]

        [redraw]
        [/redraw]

        [message]
            speaker=narrator
            message= _ "An ode to ye, on yer way, I hope you have a brighter day!"
            image=scenery/signpost.png
        [/message]

        [allow_undo]
        [/allow_undo]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=8
            y=17
        [/filter]

        [redraw]
        [/redraw]

        [message]
            speaker=narrator
            message= _ "Dead-Man's Ford"
            image=scenery/signpost.png
        [/message]

        [allow_undo]
        [/allow_undo]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=1
            y=10
        [/filter]

        [redraw]
        [/redraw]

        [message]
            speaker=narrator
            message= _ "The River Road - To the Swamp of Esten."
            image=scenery/signpost.png
        [/message]

        [allow_undo]
        [/allow_undo]
    [/event]

    [event]
        name=moveto
        [filter]
            side=1
            x=36
            y=18
        [/filter]

        [redraw]
        [/redraw]

        [message]
            speaker=narrator
            message= _ "Clearwater Port"
            image=scenery/signpost.png
        [/message]

        [allow_undo]
        [/allow_undo]
    [/event]

#define MORE_ORCS
#ifdef EASY
    [gold]
        side=3
        amount=30
    [/gold]
    [gold]
        side=4
        amount=30
    [/gold]
    [gold]
        side=5
        amount=40
    [/gold]
#endif

#ifdef NORMAL
    [gold]
        side=3
        amount=40
    [/gold]
    [gold]
        side=4
        amount=40
    [/gold]
    [gold]
        side=5
        amount=50
    [/gold]
#endif

#ifdef HARD
    [gold]
        side=3
        amount=50
    [/gold]
    [gold]
        side=4
        amount=50
    [/gold]
    [gold]
        side=5
        amount=60
    [/gold]
#endif
#enddef

#ifdef EASY
    [event]
        name=turn 28
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 22
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 16
        {MORE_ORCS}
    [/event]
#endif

#ifdef NORMAL
    [event]
        name=turn 28
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 22
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 16
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 10
        {MORE_ORCS}
    [/event]
#endif

#ifdef HARD
    [event]
        name=turn 28
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 22
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 16
        {MORE_ORCS}
    [/event]

    [event]
        name=turn 10
        {MORE_ORCS}
    [/event]

#endif

    [event]
        name=die
        [filter]
            id=Tan-Vragar
        [/filter]

        [filter_second]
            side=1
        [/filter_second]

        {LOOT 75 1}
    [/event]

    [event]
        name=die
        [filter]
            id=Tan-Burg
        [/filter]

        [filter_second]
            side=1
        [/filter_second]

        {LOOT 75 1}
    [/event]

    [event]
        name=die
        [filter]
            id="Ut'Tan-Vrork"
        [/filter]

        [filter_second]
            side=1
        [/filter_second]

        {LOOT 125 1}
    [/event]

    #First Ship
    [event]
        name=turn 12
        [move_unit_fake]
            type=Transport Galleon
            side=2
            x=40,39,39,39,38,37,36,35,34,33,32,31,30,30,30
            y=14,14,13,12,11,11,10,11,11,12,12,13,13,14,15
        [/move_unit_fake]

        {PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>blue)") 30 15}
        {PLACE_IMAGE (items/gohere.png) 31 16}

        [message]
            speaker=Commander Aethyr
            message= _ "My lord, the first ship has arrived! Prince Haldric, if you and your men must leave for Southbay just go to the pier to board the ship."
        [/message]
        [set_variable]
            name=First_Ship
            value=1
        [/set_variable]
    [/event]

    [event]
        name=turn 18

        [removeitem]
            x=31
            y=16
        [/removeitem]

        [message]
            speaker=Commander Aethyr
            message= _ "My lord, the first ship is departing. But the second ship should arrive shortly."
        [/message]

        [removeitem]
            x=30
            y=15
        [/removeitem]

        [move_unit_fake]
            type=Transport Galleon
            side=2
            x=30,30,30,31,32,33,34,35,36,37,38,39,39,39,40
            y=15,14,13,13,12,12,11,11,10,11,11,12,13,14,14
        [/move_unit_fake]
        {CLEAR_VARIABLE First_Ship}
    [/event]

    #Second Ship
    [event]
        name=turn 20
        [move_unit_fake]
            type=Transport Galleon
            side=2
            x=40,39,39,39,38,37,36,35,34,33,32,31,31
            y=14,14,13,12,11,11,10,11,11,12,12,13,14
        [/move_unit_fake]

        {PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>blue)") 31 14}
        {PLACE_IMAGE (items/gohere.png) 32 14}

        [message]
            speaker=Commander Aethyr
            message= _ "My lord, the second ship has arrived! Prince Haldric, if you and your men want to leave for Southbay just go to the pier to board the ship."
        [/message]
        [set_variable]
            name=Second_Ship
            value=1
        [/set_variable]
    [/event]

    [event]
        name=turn 24

        [removeitem]
            x=32
            y=14
        [/removeitem]

        [message]
            speaker=Commander Aethyr
            message= _ "My lord, the second ship is departing. But the last ship will be here before long. With your help we can hold on just a while longer."
        [/message]

        [removeitem]
            x=31
            y=14
        [/removeitem]

        [move_unit_fake]
            type=Transport Galleon
            side=2
            x=31,31,32,33,34,35,36,37,38,39,39,39,40
            y=14,13,12,12,11,11,10,11,11,12,13,14,14
        [/move_unit_fake]
        {CLEAR_VARIABLE Second_Ship}
    [/event]

    #Third Ship
    [event]
        name=turn 26
        [move_unit_fake]
            type=Transport Galleon
            side=2
            x=40,39,39,39,38,37,36,35,34,33,32,31,30,30,29,28
            y=14,14,13,12,11,11,10,11,11,12,12,13,13,14,15,15
        [/move_unit_fake]

        {PLACE_IMAGE ("units/transport/transport-galleon.png~RC(magenta>blue)") 28 15}
        {PLACE_IMAGE (items/gohere.png) 29 16}

        [message]
            speaker=Commander Aethyr
            message= _ "My lord, the last ship has arrived! Finally the last of our people can flee to safety. Prince Haldric, you and your men must go now! Go to the pier to board the ship for Southbay."
        [/message]
        [set_variable]
            name=Third_Ship
            value=1
        [/set_variable]
    [/event]

    [event]
        name=time over

        [removeitem]
            x=29
            y=16
        [/removeitem]

        [message]
            speaker=Commander Aethyr
            message= _ "My lord, the last ship is departing. We're trapped!"
        [/message]

        [removeitem]
            x=28
            y=15
        [/removeitem]

        [move_unit_fake]
            type=Transport Galleon
            side=2
            x=28,29,30,30,31,32,33,34,35,36,37,38,39,39,39,40
            y=15,15,14,13,13,12,12,11,11,10,11,11,12,13,14,14
        [/move_unit_fake]

        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    #The victory

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            x=31
            y=16
        [/filter]

        [if]
            [have_unit]
                id=Prince Haldric
                x=31
                y=16
            [/have_unit]

            [then]
                [if]
                    [variable]
                        name=First_Ship
                        numerical_equals=1
                    [/variable]
                    [then]
                        {CLEAR_VARIABLE First_Ship}
                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 40}
                        [/endlevel]
                    [/then]
                    [else]
                        [message]
                            speaker=Commander Aethyr
                            message= _ "My lord, the ship isn't here yet. Come help us defend against the orcs."
                        [/message]

                        [allow_undo]
                        [/allow_undo]
                    [/else]
                [/if]
            [/then]

            [else]
                [message]
                    speaker=Commander Aethyr
                    message= _ "Shirk not your duty, soldier. When the boat arrives, this is where Prince Haldric must go to lead you to the ship. Until then, help us defend against the orcs."
                [/message]

                [allow_undo]
                [/allow_undo]
            [/else]
        [/if]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            x=32
            y=14
        [/filter]

        [if]
            [have_unit]
                id=Prince Haldric
                x=32
                y=14
            [/have_unit]

            [then]
                [if]
                    [variable]
                        name=Second_Ship
                        numerical_equals=1
                    [/variable]
                    [then]
                        {CLEAR_VARIABLE Second_Ship}
                        [endlevel]
                            result=victory
                            bonus=no
                            {NEW_GOLD_CARRYOVER 40}
                        [/endlevel]
                    [/then]
                    [else]
                        [message]
                            speaker=Commander Aethyr
                            message= _ "My lord, the ship isn't here yet. Come help us defend against the orcs."
                        [/message]

                        [allow_undo]
                        [/allow_undo]
                    [/else]
                [/if]
            [/then]

            [else]
                [message]
                    speaker=narrator
                    message= _ "Shirk not your duty, soldier. When the boat arrives, this is where Prince Haldric must go to lead you to the ship. Until then, help us defend against the orcs."
                    image=wesnoth-icon.png
                [/message]

                [allow_undo]
                [/allow_undo]
            [/else]
        [/if]
    [/event]

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            x=29
            y=16
        [/filter]

        [if]
            [have_unit]
                id=Prince Haldric
                x=29
                y=16
            [/have_unit]

            [then]
                [if]
                    [variable]
                        name=Third_Ship
                        numerical_equals=1
                    [/variable]
                    [then]
                        {CLEAR_VARIABLE Third_Ship}
                        [endlevel]
                            result=victory
                            bonus=yes
                            {NEW_GOLD_CARRYOVER 40}
                        [/endlevel]
                    [/then]
                    [else]
                        [message]
                            speaker=Commander Aethyr
                            message= _ "My lord, the ship isn't here yet. Come help us defend against the orcs."
                        [/message]

                        [allow_undo]
                        [/allow_undo]
                    [/else]
                [/if]
            [/then]

            [else]
                [message]
                    speaker=narrator
                    message= _ "Shirk not your duty, soldier. When the boat arrives, this is where Prince Haldric must go to lead you to the ship. Until then, help us defend against the orcs."
                    image=wesnoth-icon.png
                [/message]

                [allow_undo]
                [/allow_undo]
            [/else]
        [/if]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Commander Aethyr
        [/filter]

        [message]
            speaker=Commander Aethyr
            message= _ "Let me have peace in Death! My love, I'll be there soon--"
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "We needed him to get out of here. We're trapped!"
            image=portraits/haldric-mad.png
        [/message]

        [endlevel]
            result=defeat
        [/endlevel]
    [/event]

    [event]
        name=victory
        [message]
            speaker=Prince Haldric
            message= _ "We've escaped from the orcs before we were trapped by the ice! Now, on to Southbay."
        [/message]

        [message]
            speaker=Burin the Lost
            message= _ "I know I mentioned I can't float."
        [/message]

        [message]
            speaker=Lady Jessene
            message= _ "Might I suggest a bit of a detour?"
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Why?"
        [/message]

        [message]
            speaker=Lady Jessene
            message= _ "You have the Ruby of Fire, but you have no idea what it does, correct? You know that lich you have petrified just outside of Southbay-"
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Yes, Lich Point! Where we first used our magi in battle, and turned the tide of war against your people."
        [/message]

        [message]
            speaker=Lady Jessene
            # wmllint: local spelling Erm
            message= _ "Erm, yes... He was Caror, the arch rival of our dearly departed Lich-Lord Lenvan. He coveted the ruby, and was studying it. The only copy of his study, the Book of Fire and Darkness, was petrified along with him."
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "If we make landfall outside of Southbay, we'll be trapped. Of that I am sure!"
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "My family was from Southbay. My father was a soldier there. The city's sewer entrance is near that fossil of a lich."
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Wow, this is beginning to sound dangerously like a plan. Commander Aethyr, will you join us?"
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "No. These monsters killed my family. My wife, my daughters. There is nothing left for me. I'll stay. By the time the orcs wrestle Clearwater Port away from me there'll be nothing but rubble left!"
        [/message]

        [message]
            speaker=Commander Aethyr
            message= _ "The peasant farmers seem to like you. Who knows, maybe they'll be of some help."
        [/message]

        [message]
            speaker=Prince Haldric
            message= _ "Resources are scarce, we need all of the help we can get. Be brave and fight hard, my friend!"
        [/message]

        [allow_recruit]
            type=Peasant
        [/allow_recruit]

        {CLEAR_VARIABLE First_Ship}
        {CLEAR_VARIABLE Second_Ship}
        {CLEAR_VARIABLE Third_Ship}
    [/event]

    [event]
        name=enemies defeated

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