summaryrefslogblamecommitdiff
path: root/npc/017-1/nowhere_man.txt
blob: 154edb0dcf15455e3d95e04c68f44e3bbe1fc38c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                    
                                                                                                            





                                                                                               



                                                                                              
 
                                                   
         
                                                                                                                        

         
                                                                                                         
                                          
                                                                                                                               
         

                                                                                
                                                                                 
 

                    



                                           


                                   





















                                                                                                                              






                                          

























                                                                                                                        



                                   



          
                  




                
// TMW2/LoF scripts.
// Authors:
//    TMW-LoF Team
//    Jesusalva
// Description:
//    Pachua's Cousin. On LoF/TMWA he also crafted Iron Powder, Sulfur Powder, and Yellow Powder (for magic)
//    IMPORTANT @Saulc : DO NOT GIVE ANY EXPERIENCE ON THIS NPC.
//    This is sort of a bet, you know. “Go hunt Mountain Snakes”, or bet some precious
//    crafting material on this NPC. Two choices. The easy way is RISKY, not REWARDING.
//    The refund is the exact fair price, retrieved from database. The only "loss" here
//    is that you would rather do something else with Leather Patch but instead, you "sold" it.
//    If you sell items you don't get experience, so you shouldn't get any exp here either.
//
//    This NPC could as well do Jeans Shorts, but I'm too lazy to calculate formula now.
//    The price is Cave Snake Skin in proportion to Jean Shorts rarity, and cost in proportion
//    to sell price difference.

017-1,155,162,0	script	Nowhere Man	NPC_KAYLO,{
    mesn;
    mesq l("Welcome! I come from nowhere, and my family hunt Snakes. We also make fine leather items from their skin!");
    next;
    mesn;
    mesq l("Next time an annoying snake refuses to drop their precious leather drops, come talk to us!");
    // 160 * 1 = 160 GP vs 500 GP (340 GP)
    mesq l("And if you bring me 1 @@ and 440 GP, I can make a @@ for you.", getitemlink(SnakeSkin), getitemlink(LeatherPatch));
    next;
    select
        l("Nice to know. I'll come to you when random numbers try to kill me."),
        rif(countitem(SnakeSkin) >= 1 && Zeny >= 440, l("I want Leather Patch"));

    switch (@menu) {
        case 2:
            inventoryplace LeatherPatch, 1;
            delitem SnakeSkin, 1;
            Zeny=Zeny-440;
            getitem LeatherPatch, 1;
            mesn;
            mesq l("Many thanks!");
            break;
    }
    close;

OnInit:
    .sex=G_MALE;
    .distance=5;
    end;
}



017-1,174,169,0	script	Nowhere Jeane	NPC_SAMANTHA,{
    mesn;
    // 95 * 2 = 190 GP vs 400 GP (210 GP)
    mesq l("If you bring me 2 @@ and 210 GP, I can make a @@ for you.", getitemlink(CaveSnakeSkin), getitemlink(JeansShorts));
    next;
    select
        l("Nice to know. I'll come to you when random numbers try to kill me."),
        rif(countitem(CaveSnakeSkin) >= 2 && Zeny >= 210, l("I want it."));

    switch (@menu) {
        case 2:
            inventoryplace JeansShorts, 1;
            delitem CaveSnakeSkin, 2;
            Zeny=Zeny-210;
            getitem JeansShorts, 1;
            mesn;
            mesq l("Many thanks!");
            break;
    }
    close;


OnInit:
    .sex=G_FEMALE;
    .distance=5;
    end;

}


017-1,143,161,0	script	Nowhere Gluvine	NPC_SERENA,{
    mesn;
    // 320 * 6 = 1920 GP vs 450 GP (-)
    mesq l("If you bring me 6 @@ I can make a @@ for you.", getitemlink(MountainSnakeSkin), getitemlink(LeatherGloves));
    next;
    select
        l("Nice to know. I'll come to you when random numbers try to kill me."),
        rif(countitem(MountainSnakeSkin) >= 6, l("I want it."));

    switch (@menu) {
        case 2:
            inventoryplace LeatherGloves, 1;
            delitem MountainSnakeSkin, 6;
            getitem LeatherGloves, 1;
            mesn;
            mesq l("Many thanks!");
            break;
    }
    close;


OnInit:
    .sex=G_FEMALE;
    .distance=5;
    end;

}