#textdomain wesnoth-dm
[scenario]
    id=22_face_of_the_enemy
    name= _ "Face of the enemy"
    next_scenario="23_epilogue"
    {MEMOIRS_MAP face.map}
    {TURNS 20 22 24}

    {UNDERGROUND}

    {INTRO_AND_SCENARIO_MUSIC nunc_dimittis.ogg elvish-theme.ogg}
    {EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
    {EXTRA_SCENARIO_MUSIC frantic.ogg}
    {EXTRA_SCENARIO_MUSIC the_city_falls.ogg}

    [story]
        [part]
            show_title=yes
        [/part]
        [part]
            story= _ "Delfador and the elves went through the secret door and ended in the dungeon, a veritable maze of narrow corridors."
            delay=4000
        [/part]
    [/story]

    #wmllint: validate-off
    [side]
        {YOUNG_DELFADOR}
        type=Journeyman Mage
        # wmllint: recognize Delfador
        recruit={ELVES}
        fog=yes
        {GOLD 130 100 100}
    [/side]
    #wmllint: validate-on

    [side]
        type=Lich
        id="Sagus"
        name=_ "Sagus"
        profile="portraits/undead/brown-lich.png"
        side=2
        canrecruit=yes
        controller=ai
        team_name=wesnoth
#ifdef EASY
        recruit=Skeleton, Skeleton Archer, Vampire Bat, Ghost
#endif

#ifdef NORMAL
        recruit=Skeleton, Revenant, Skeleton Archer, Bone Shooter, Ghost, Vampire Bat, Blood Bat, Chocobone, Dark Adept
#endif

#ifdef HARD
        recruit=Skeleton, Skeleton Archer, Revenant, Draug, Banebow, Bone Shooter, Deathblade, Ghost, Wraith, Shadow, Chocobone, Dark Adept, Spectre, Nightgaunt
#endif
        {GOLD 130 180 200}
        {INCOME 0 2 2}
        [ai]
            recruitment_pattern=fighter,archer,scout
            aggression=1.0
            caution=0.0
            protect_leader=3.0
        [/ai]
    [/side]

    [event]
        name=prestart
        [objectives]
            side=1
            [objective]
                description= _ "Defeat Sagus"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Delfador"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Kalenz"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Chantal"
                condition=lose
            [/objective]
            [objective]
                description= _ "Turns run out"
                condition=lose
            [/objective]
            note={NO_GOLD_CARRYOVER_NOTE}
        [/objectives]
        {OBJ_POTION_HOLY 23 3 object7_holywater}
    [/event]

    [event]
        name=start

        [recall]
            id=Kalenz
        [/recall]
        [recall]
            id=Chantal
        [/recall]
        [message]
            speaker=Chantal
            message= _ "There is no doubt the book is here; I can feel its presence."
        [/message]
        [message]
            speaker=Kalenz
            message= _ "This place stinks of evil and death. Chantal, do we have any holy water with us? I fear we may have need of it ere long."
        [/message]
        [message]
            speaker=Chantal
            message= _ "Only one bottle, Kalenz. Choose carefully who will take it."
        [/message]
    [/event]
    [event]
        name=turn 2

        [message]
            speaker="Sagus"
            message= _ "So, we meet again, Delfador! This time you will not steal what is mine!"
        [/message]
        [message]
            speaker=Delfador
            message= _ "Who are you, and what did I ever steal from you?"
        [/message]

        [message]
            speaker="Sagus"
            message= _ "I am the one whose place you took in the court of Wesnoth. But my daughter brought me what you seek, and I have seized the power of it."
        [/message]
        [message]
            speaker=Chantal
            message= _ "Asheviere is this thing's daughter?"
        [/message]
        [message]
            speaker=Delfador
            message= _ "I fear so. This was the Arch-Mage Sagus. He was a good man when I knew him."
        [/message]
        [message]
            speaker=Delfador
            message= _ "Sagus...old friend...the book you have taken is no good for you, your daughter or the Kingdom. It will destroy you both!"
        [/message]
        [message]
            speaker="Sagus"
            message= _ "Same old Delfador, the arrogant, the overweening, always placing yourself above others. But I have become as great as you; I have mastered the Book! You always underestimated me, as Leollyn did before you. Now you will meet the same fate as he. Rise, my loyal soldiers!"
        [/message]
        [message]
            speaker=Delfador
            message= _ "I see that the Book has mastered you, and destroyed you. Farewell, Sagus. You were a good man, once."
        [/message]
        [message]
            speaker=Kalenz
            # wmllint: local spelling chokepoints
            message= _ "Prepare to fight! Block the chokepoints and hold them there!"
        [/message]
    [/event]

    [event]
        name=die
        [filter]
            id="Sagus"
        [/filter]

        [message]
            speaker=Delfador
            message= _ "The book is recovered, but the damage is done. Friends, thank you. Now let's get out of here!"
        [/message]

        [endlevel]
            result=victory
            carryover_report=no
            #bonus=yes #?
            save=no
        [/endlevel]
    [/event]

    [event]
        name=time over
        [message]
            speaker=Kalenz
            message= _ "We are too late! Royal troops are coming! We are trapped!"
        [/message]
    [/event]
    {MEMOIRS_DEATHS}
[/scenario]
