#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

    {DEFAULT_MUSIC_PLAYLIST}

    {UNDERGROUND}

    [side]
        type=Dwarvish Fighter
        description=Rugnur
        side=1
        canrecruit=yes
        controller=human
        recruit=Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman,Gryphon Rider
        team_name=same
    [/side]

    [side]
        type=Dwarvish Lord
        description=Durstorn
        user_description= _ "Durstorn"
        side=2
        canrecruit=yes
        profile=portraits/durstorn.png
        recruit=Dwarvish Fighter
        team_name=same
    [/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]
        [part]
            background=maps/wesnoth.png
            show_title=yes
            {DOT 312 116}
            {DOT 292 111}
            {CROSS 271 109}
        [/part]
    [/story]

    [event]
        name=prestart

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

        [item]
            x,y=8,9
            image=items/brazier-lit1.png
        [/item]

        [item]
            x,y=14,9
            image=items/brazier-lit1.png
        [/item]

        [item]
            x,y=14,12
            image=items/brazier-lit1.png
        [/item]

        [item]
            x,y=8,12
            image=items/brazier-lit1.png
        [/item]
    [/event]

    [event]
        name=start
        #alanin, baglur, krawg and thursagan
        {MOVE_UNIT description=Rugnur 15 14}
        [recall]
            description=Alanin
            x,y=17,14
        [/recall]
        [recall]
            description=Baglur
            x,y=16,12
        [/recall]
        [recall]
            description=Krawg
            x,y=15,16
        [/recall]
        [recall]
            description=Thursagan
            x,y=13,13
        [/recall]
        #dialogue starts
        [message]
            description=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]
            description=Thursagan
            message= _ "We don't. Not everything is about you. We need to talk to Theganli."
        [/message]
        [message]
            description=Durstorn
            message= _ "That makes sense, I guess you would to plan the sceptre's design... what in particular do you want him to do?"
        [/message]
        [message]
            description=Thursagan
            message= _ "I need to make the plans for the sceptre, then have him cut the ruby to match them."
        [/message]
        [message]
            description=Durstorn
            message= _ "You're going to cut the jewel!? Are you insane?"
        [/message]
        [message]
            description=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]
            description=Durstorn
            message= _ "Oh... right, right. Fine. Theganli?"
        [/message]
        [message]
            description=Kuhnar
            message= _ "He's in his shop, in the southern tunnel."
        [/message]
        [message]
            description=Durstorn
            message= _ "Whatever. Kuhnar, go, summon him here."
        [/message]
        {MOVE_UNIT description=Kuhnar 12 19}
        [message]
            description=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
            description=Theganli
            user_description= _ "Theganli"
        [/unit]
        [message]
            description=Theganli
            message= _ "I'm coming... coming... stop pounding on the door..."
        [/message]
        [message]
            description=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 description=Thursagan 11 19}
        [message]
            description=Thursagan
            message= _ "Well, Theganli, what do you think of this jewel?"
        [/message]
        [message]
            description=Theganli
            message= _ "Uh, um, yes, yes, very impressive jewel, impressive, yes... "
        [/message]
        [message]
            description=Thursagan
            message= _ "Do you think you could cut it in the manner my plans specify?"
        [/message]
        [message]
            description=Theganli
            message= _ "Well, uh, um, maybe... maybe... it will be hard... let me see..."
        [/message]
        [message]
            description=Thursagan
            message= _ "Very well. See what you can do."
        [/message]
        #insert sounds, delays etc to make it seem as if me is messing around with jewel
        [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]
        [message]
            description=Durstorn
            message= _ "Well, do you have anything yet?!"
        [/message]
        [message]
            description=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]
            description=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]
            description=Theganli
            message= _ "Well... maybe... the Shorbear clan? They have good tools... yes, yes, they do..."
        [/message]
        [message]
            description=Rugnur
            message= _ "Who are they?"
        [/message]
        [message]
            description=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]
            description=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]
                description=Baglur
            [/have_unit]
            [then]
                [message]
                    description=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]
                    description=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]
            description=Durstorn
            message= _ "Fine. Go rent it from them."
        [/message]
        [message]
            description=Rugnur
            message= _ "Very well. We'll go south now."
        [/message]
        [message]
            description=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]
            description=Kuhnar
            message= _ "Are you sure that is wise, lord?"
        [/message]
        [message]
            description=Durstorn
            message= _ "Of course! To be safe, though, you and Noiraran are going to come with us."
        [/message]
        [message]
            description=Kuhnar
            message= _ "Yes sir... *sigh*"
        [/message]
        #these shouldn't still exist. :)
        [kill]
            side=1
            type=Dwarvish Miner
        [/kill]
        [endlevel]
            result=continue
        [/endlevel]
    [/event]
[/scenario]
