#textdomain wesnoth-nr
[scenario]
    id=09b_Judgment
    name= _ "Judgment"
    {UNDERGROUND}
    turns=unlimited
    next_scenario=null    # Next was to be called 10b_New_Life
    victory_when_enemies_defeated=no
    map_data="{campaigns/Northern_Rebirth/maps/09b_Judgment.map}"
    theme=Cutscene_Minimal

    [story]
        [part]
            story= _ "Driven by an overwhelming need to be released from his torment, Tallin approached the Rod of Justice where it lay amidst the Dragon’s hoarded treasure. But as he was about to grasp it in his trembling hands, he hesitated and found himself unable to proceed. Abhai came forth — his ethereal form gliding over the scattered treasure and the carcases of its defenders — and fearlessly lifted the Rod in his ghostly hands. He paused for a moment, as if savoring the familiar feel of it in his grasp once more, and then presented it to Tallin."
        [/part]

        [part]
            story= _ "Tallin raised his eyes to look into Abhai’s and Abhai met his gaze — confidence meeting uncertainty, faith meeting doubt, assurance meeting apprehension. <i>“I have faith in you, my boy,”</i> Abhai said, <i>“Take this, and put your doubts at rest.”</i> Tallin held the gaze for one more long moment — and then took the Rod of Justice in a white-knuckled grip."
        [/part]

        [part]
            story= _ "Searing pain flooded through him. A light, not bright and not dark, but tremendously powerful, blinded him through his clenched eyelids. As his minions stared blankly, his entire being erupted in ethereal fire and his physical form crumpled to the cavern floor."
        [/part]
    [/story]

    [side]
        type=Peasant
        id=Tallin
        name=_ "Tallin"
        canrecruit=yes
        side=1
        controller=human
        gold=100
        recruit=Walking Corpse,Skeleton,Skeleton Archer,Ghoul
        team_name=mob
        user_team_name=_"Minions"
        shroud=no
        fog=yes
    [/side]

    [side]
        side=2
        no_leader=yes
        {FLAG_VARIANT6 ragged}
    [/side]

    [event]
        name=prestart

        [unit]
            type=$betrayed_friend.type
            side=2
            x=11
            y=10
            id=Betrayed Friend
            name=$betrayed_friend.name
            canrecruit=yes
            experience=$betrayed_friend.experience
            hitpoints=$betrayed_friend.hitpoints
        [/unit]

        [lua]
            code = <<
                local u = wesnoth.get_units({ id = 'Tallin' })[1]
                if u.type == 'Dark Adept' then
                    u:transform('Sergeant')
                elseif u.type == 'Dark Sorcerer' then
                    u:transform('Lieutenant')
                else
                    u:transform('General')
                end
            >>
        [/lua]
    [/event]

    [event]
        name=start

        [message]
            speaker=Betrayed Friend
            message= _ "Hello, Tallin"
        [/message]

        [message]
            speaker=Tallin
            message= _ "$betrayed_friend.name, you?"
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "Yes, Tallin — it is I."
        [/message]

        [message]
            speaker=Tallin
            message= _ "How did you get here — I thought you you were dead... and for that matter, where are we, I look... I feel—"
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "You no longer look like a decomposing corpse. Strength and vitality flows through your veins again, does it not?"
        [/message]

        [message]
            speaker=Tallin
            message= _ "... Yes, it is indeed so."
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "Tallin, we are in a place beyond matter, thought, and time. This is a place of unimaginable splendor, glory and transcendence — the very realm of the Greater Gods."
        [/message]

        [message]
            speaker=Tallin
            message= _ "... If you say so. I can’t see anything."
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "As I said, Tallin this place is beyond matter, thought, and time. Your body is made of matter, which renders you unable to perceive anything here."
        [/message]

        [message]
            speaker=Tallin
            message= _ "Matter, so you mean..."
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "No, Tallin, you are not dead. The Greater Gods have seen it fit to give you another chance."
        [/message]

        [message]
            speaker=Tallin
            message= _ "Another chance, but why? What have I done except mislead those who followed me, and then betray and back-stab them at the worst possible moment?"
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "I beg to differ Tallin. True, you did not have the strength to resist Malifor’s evil summons, but you can hardly be blamed for that. What in your previous existence could have prepared you for such a trial? And, on the other hand, you spent your entire life in preparation to free your people from orcish enslavement. Every word, every thought, every action from your boyhood up till your enslavement by Malifor was dedicated to this task, and this task is still incomplete."
        [/message]

        [message]
            speaker=Tallin
            message= _ "Incomplete, you say. I would say I have failed."
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "No, Tallin. You have strayed, surely, but you have not yet failed. The fire you have kindled is still burning. Your people are still free and fighting under the leadership of the Dwarvish Lord Hamel. As you have yourself seen, they have destroyed Malifor and are even now trying to reclaim Knalga from the grasp of the orcs. But their struggle with Malifor has left them weak and exhausted; and a massive orcish army rallies against them. Without assistance, they will soon be overwhelmed and the Northlands will once again be plunged into darkness and chaos."
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "Now is your chance, Tallin. In your enslavement you have learned a powerful art; put it to good use. Let your fall become the means by which you succeed."
        [/message]

        [message]
            speaker=Tallin
            message= _ "You mean, I should continue to practice the evil of necromancy?"
        [/message]

        [message]
            speaker=Betrayed Friend
            message= _ "Even the foulest of weapons can be put to good use, Tallin. Poison generally kills, but it can also be used to heal. In the same way, although this art is usually practiced by the most power-hungry and corrupt, it may still be turned to the ends of good by one with the strength of will and soul-depth you have gained through your suffering."
        [/message]

        [message]
            speaker=Tallin
            message= _ "Very well. If this is the will of the Greater Gods, then so be it."
        [/message]

        [endlevel]
            result=victory
            linger_mode=no
        [/endlevel]
    [/event]
[/scenario]
