#textdomain wesnoth-sof
[scenario]
    name= _ "In the Dwarven City"
    id=2t_In_the_Dwarven_City
    turns=1
    map_file=Dwarven_City.map
    next_scenario=2p5_Reaching_the_Runecrafter
    theme=Cutscene_Minimal

    {SCENARIO_MUSIC underground.ogg}

    {UNDERGROUND}

    [side]
        type=Dwarvish Fighter
        id=Rugnur
        side=1
        canrecruit=yes
        controller=human
        recruit=Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman,Dwarvish Scout
        gold=0
        team_name=dwarves
        user_team_name= _ "Dwarves"
        {FLAG_VARIANT knalgan}
        scroll_to_leader=no
    [/side]

    [side]
        type=Dwarvish Lord
        id=Durstorn
        name= _ "Durstorn"
        side=2
        canrecruit=yes
        profile=portraits/durstorn.webp
        facing=sw
        recruit=Dwarvish Fighter,Dwarvish Guardsman
        team_name=dwarves
        user_team_name= _ "Dwarves"
        {FLAG_VARIANT knalgan}
    [/side]

    {STARTING_VILLAGES 2 20}

    [story]
        [part]
            story= _ "Now, I must tell you of another character in our drama. Durstorn, the lord of dwarfdom. Or at least of this clan."
        [/part]
        [part]
            story= _ "Durstorn was not happy this day. Nor was he usually; but today he was unhappier than usual."
        [/part]
    [/story]

    {SOF_TRACK {JOURNEY_02T_NEW} }

    [event]
        name=prestart

        #Durstorn's guard
        [unit]
            x,y=11,10
            side=2
            type=Dwarvish Stalwart
            id=Neglur
            name= _ "Neglur"
            facing=sw
            [modifications]
                {TRAIT_LOYAL}
                {TRAIT_RESILIENT}
            [/modifications]
        [/unit]
        [unit]
            x,y=13,11
            side=2
            type=Dwarvish Runesmith
            id=Glinar
            name= _ "Glinar"
            facing=sw
            [modifications]
                {TRAIT_LOYAL}
                {TRAIT_QUICK}
            [/modifications]
        [/unit]
        [unit]
            x,y=9,13
            side=2
            type=Dwarvish Thunderguard
            id=Noiraran
            name= _ "Noiraran"
            [modifications]
                {TRAIT_LOYAL}
                {TRAIT_INTELLIGENT}
            [/modifications]
        [/unit]
        [unit]
            x,y=11,14
            side=2
            type=Dwarvish Steelclad
            id=Kuhnar
            name= _ "Kuhnar"
            [modifications]
                {TRAIT_LOYAL}
                {TRAIT_STRONG}
            [/modifications]
        [/unit]
    [/event]

    [event]
        name=start
        #dialogue starts
        [scroll_to]
            x,y=11,15
        [/scroll_to]
        [message]
            speaker=Durstorn
            message= _ "Another day older, another foot stuck in the sludge! Let’s start with some soft clay... Rugnur, how goes it at the western gate?"
        [/message]
        {MODIFY_UNIT (id=Durstorn) facing se}
        [delay]
            time=300
        [/delay]
        {MODIFY_UNIT (id=Durstorn) facing sw}
        [delay]
            time=300
        [/delay]
        {MODIFY_UNIT (id=Durstorn) facing se}
        [delay]
            time=300
        [/delay]
        {MODIFY_UNIT (id=Durstorn) facing sw}
        [delay]
            time=300
        [/delay]
        {MODIFY_UNIT (id=Durstorn) facing se}
        [message]
            speaker=Durstorn
            message= _ "... ?"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Where’s that fool Rugnur? He should be here to report on events in the surface world. He’s late!"
        [/message]
        [message]
            speaker=Noiraran
            message= _ "Perhaps the outpost was held up?"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Ha! There hasn’t been a border attack since the men came from over the sea, why would someone attack us now?"
        [/message]
        [message]
            speaker=Kuhnar
            message= _ "The elves might want our gold."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Good one, let them try to take it! Ha!"
        [/message]
        [message]
            speaker=Noiraran
            message= _ "What about that time the mines of North Knalga were invaded by ancient-looking undead liches?"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Ye had to bring that up now lad?! Speak not about the undead, lest ye summon them upon us."
        [/message]
        {MOVE_UNIT id=Rugnur 8 10}
        [recall]
            id=Baglur
            x,y=9,9
        [/recall]
        [message]
            speaker=Rugnur
            message= _ "(whew!) Sorry I’m late, but King Haldric came by just now, wanted to talk to you..."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Speak properly to your elders, boy! Why are you late?"
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Huh? Didn’t a messenger come and tell you?"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "No, what are you talking about?"
        [/message]
        [message]
            speaker=Baglur
            message= _ "I think you’d better let me explain. King Haldric II of Wesnoth came to the gate. Then we had to close it, which took considerable time."
        [/message]
        [message]
            speaker=Glinar
            # wmllint: local spelling why'd
            message= _ "What’d he want? And why’d you have to close the gate?"
        [/message]
        [message]
            speaker=Rugnur
            message= _ "He wanted to make a deal with us. He gave us a magical stone, called the ‘Ruby of Fire’, and told us to make a sceptre out of it, to keep in the bad magic, or something like that. We closed the doors because elves were attacking us."
        [/message]
        [message]
            speaker=Kuhnar
            message= _ "Why were the elves attacking?"
        [/message]
        [message]
            speaker=Noiraran
            message= _ "More important than that, what’d the king offer for this sceptre, eh?"
        [/message]
        [message]
            speaker=Rugnur
            message= _ "He paid us five thousand silver in advance, and he’ll give us five thousand more when we deliver the finished sceptre if we are done before he dies."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "What?! You already accepted? Foolish boy, you should have come for one of the elders! We could have gotten much more than ten thousand silver out of him! This is a task that will take many years, and now all of our work in that time will bring us very little gain."
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Sorry, lord, but he said he would move on to another clan if I left."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Can’t you tell a bluff when you hear one?! He knows we’re the best craftsmen, and he wouldn’t have gone to another clan if we stalled for a year. Oh well, what’s done is done. We’ll have to work for less than I would prefer..."
        [/message]
        [message]
            speaker=Baglur
            message= _ "Well, since this boy bargained so badly, why not make him fulfill the contract himself? If he fails, it’s on his head."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Good idea, Baglur! He’ll need some help, though, and it will take a master smith to make the sceptre. Why don’t we send him to find Thursagan?"
        [/message]
        [message]
            speaker=Baglur
            message= _ "You mean the insane dwarf who lives in the far north?!"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Yes. He is the only one I know of who could craft the sceptre the way Haldric wants it, bad magic and all. And he has nothing to do; he will be fine with wasting 25 years of his life on this insane task."
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Very well, my lord. We will go into the north to find Thursagan. Do you have any idea where he is?"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Go to the furthest north entrance to the caves, and then go north. He’s somewhere in those hills."
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Thank you, Lord. I’ll find him and do us proud!"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Too late for that, young fool. But go on, I can see there’s hope for you yet."
        [/message]
        {VARIABLE changealanin.x 2}
        {VARIABLE changealanin.y 5}
        [unstore_unit]
            variable=changealanin
        [/unstore_unit]
        {MOVE_UNIT id=Alanin 6 9}
        [clear_variable]
            name=changealanin
        [/clear_variable]
        [message]
            speaker=Alanin
            message= _ "What did I miss, eh?"
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Where have you been? Lord-"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "A friend of Rugnur, huh? ... Follow him north. He needs all the help he can get!"
        [/message]
        [endlevel]
            result=victory
            bonus=no
            {NEW_GOLD_CARRYOVER 100}
            carryover_report=no
            linger_mode=no
            replay_save=no
        [/endlevel]
    [/event]
[/scenario]
