#textdomain wesnoth-sof
[scenario]
    name= _ "The Jeweler"
    id=4t_The_Jeweler
    turns=1
    map_data="{campaigns/Sceptre_of_Fire/maps/4t_The_Jeweler.map}"
    next_scenario=5_Hills_of_the_Shorbear_Clan
    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,Gryphon Rider
        gold=0
        team_name=dwarves
        user_team_name= _ "Dwarves"
        {FLAG_VARIANT knalgan}
    [/side]

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

    {STARTING_VILLAGES 2 20}

    [story]
        [part]
            story= _ "Rugnur and his companions returned home. Now, I do not want to give the impression that only Rugnur and Thursagan worked on this masterpiece. There were others — many others. Thus I present Theganli, the jeweler. His role is small, but an important one."
        [/part]
    [/story]

    {SOF_TRACK {JOURNEY_04T_NEW} }

    [event]
        name=prestart

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

    [event]
        name=start
        #alanin, baglur, krawg and thursagan
        {MOVE_UNIT id=Rugnur 15 14}
        [recall]
            id=Alanin
            x,y=17,14
        [/recall]
        [recall]
            id=Baglur
            x,y=16,12
        [/recall]
        [recall]
            id=Krawg
            x,y=15,16
        [/recall]
        [recall]
            id=Thursagan
            x,y=13,13
        [/recall]
        #dialogue starts
        [message]
            speaker=Durstorn
            message= _ "So, you have returned. I assume you have obtained the required materials? My jeweler Theganli has spent the last two years buying jewels from some of the northern clans. So now go to the forge and make your sceptre. What do you need to annoy me for?"
        [/message]
        [message]
            speaker=Thursagan
            message= _ "We don’t. Not everything is about you. We need to talk to Theganli."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "That makes sense, I guess you would want to plan the sceptre’s design... what in particular do you want him to do?"
        [/message]
        [message]
            speaker=Thursagan
            message= _ "I need to make the plans for the sceptre, then have him cut the ruby to match them."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "You’re going to cut the jewel?! Are you insane?"
        [/message]
        [message]
            speaker=Rugnur
            message= _ "What are you talking about, sir? You knew all along the jewel would have to be cut to make the sceptre out of."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Oh... right, right. Fine. Theganli?"
        [/message]
        [message]
            speaker=Kuhnar
            message= _ "He’s in his shop, in the southern tunnel."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Whatever. Kuhnar, go, summon him here."
        [/message]
        {MOVE_UNIT id=Kuhnar 12 19}
        [message]
            speaker=Kuhnar
            message= _ "Theganli! Come out of there, Durstorn orders you to come to the citadel."
        [/message]
        [unit]
            x,y=11,20
            type=Dwarvish Runesmith
            side=2
            id=Theganli
            name= _ "Theganli"
        [/unit]
        [message]
            speaker=Theganli
            message= _ "I’m coming... coming... stop pounding on the door..."
        [/message]
        [message]
            speaker=Thursagan
            message= _ "He doesn’t need to come here, I’ll take the jewel to his shop. He’ll need his tools anyway."
        [/message]
        {MOVE_UNIT id=Thursagan 11 19}
        [message]
            speaker=Thursagan
            message= _ "Well, Theganli, what do you think of this jewel?"
        [/message]
        [message]
            speaker=Theganli
            message= _ "Uh, um, yes, yes, very impressive jewel, impressive, yes..."
        [/message]
        [message]
            speaker=Thursagan
            message= _ "Do you think you could cut it in the manner my plans specify?"
        [/message]
        [message]
            speaker=Theganli
            message= _ "Well, uh, um, maybe... maybe... it will be hard... let me see..."
        [/message]
        [message]
            speaker=Thursagan
            message= _ "Very well. See what you can do."
        [/message]
        {MOVE_UNIT id=Theganli 14 24}
        [sound]
            name=mace.ogg
        [/sound]
        [delay]
            time=1000
        [/delay]
        [sound]
            name=mace.ogg
        [/sound]
        [delay]
            time=400
        [/delay]
        [sound]
            name=mace.wav
        [/sound]
        [delay]
            time=1000
        [/delay]
        [sound]
            name=fire.wav
        [/sound]
        [delay]
            time=750
        [/delay]
        [sound]
            name=flame-big.ogg
        [/sound]
        [delay]
            time=500
        [/delay]
        [sound]
            name=melee-fire.ogg
        [/sound]
        [delay]
            time=1000
        [/delay]
        [sound]
            name=sword-1.ogg
        [/sound]
        [delay]
            time=200
        [/delay]
        [sound]
            name=sword-1.ogg
        [/sound]
        [delay]
            time=750
        [/delay]
        [sound]
            name=dragonstick.ogg
        [/sound]
        [delay]
            time=500
        [/delay]
        [message]
            speaker=narrator
            message= _ "Theganli spent many months cutting the jewels that would go into the Sceptre of Fire, and the Ruby of Fire he attempted last. But he could not cut it."
            image=wesnoth-icon.png
        [/message]
        {MOVE_UNIT id=Theganli 11 20}
        [message]
            speaker=Durstorn
            message= _ "Well, do you have anything yet?!"
        [/message]
        [message]
            speaker=Theganli
            message= _ "Ah, well, uh, no... no, not yet... unfortunately... it seems... it can’t be cut... or scratched... or damaged at all... at least not by my tools..."
        [/message]
        [message]
            speaker=Thursagan
            message= _ "So what do you propose we do? We need this jewel cut in a very specific way to make sure... well, it doesn’t matter why."
        [/message]
        [message]
            speaker=Theganli
            message= _ "Well... maybe... the Shorbear clan? They have good tools... yes, yes, they do..."
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Who are they?"
        [/message]
        [message]
            speaker=Theganli
            message= _ "Another group... of dwarves... live south of here... above ground... yes... best jewelers I know of... have special tools... tools, yes..."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Well, Rugnur, what are you waiting for? Go down and get these tools from them, and carve the jewel!"
        [/message]
        [if]
            [have_unit]
                id=Baglur
            [/have_unit]
            [then]
                [message]
                    speaker=Baglur
                    message= _ "We can’t just go in there and take their property. We’ll have to buy, or rent, it from them."
                [/message]
            [/then]
            [else]
                [message]
                    speaker=Rugnur
                    message= _ "We can’t just go in there and take their property. We’ll have to buy, or rent, it from them."
                [/message]
            [/else]
        [/if]
        [message]
            speaker=Durstorn
            message= _ "Fine. Go rent it from them."
        [/message]
        [message]
            speaker=Rugnur
            message= _ "Very well. We’ll go south now."
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Wait! Last time you made a bargain by yourself you lost us five thousand pieces of silver. I’m going with you this time!"
        [/message]
        [message]
            speaker=Kuhnar
            message= _ "Are you sure that is wise, lord?"
        [/message]
        [message]
            speaker=Durstorn
            message= _ "Of course! To be safe, though, you and Noiraran are going to come with us."
        [/message]
        [message]
            speaker=Kuhnar
            message= _ "Yes sir... (<i>Sigh</i>)"
        [/message]
        #these shouldn’t still exist. :)
        [kill]
            side=1
            type=Dwarvish Miner
        [/kill]
        [endlevel]
            result=victory
            bonus=no
            {NEW_GOLD_CARRYOVER 100}
            carryover_report=no
            linger_mode=no
        [/endlevel]
    [/event]
[/scenario]
