summaryrefslogtreecommitdiff
path: root/npc/003-5/jeweler.txt
blob: 90779ad67de38a0042cdc0ed3c64ab0d7a97ea47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// TMW2 Script
// Author:
//    Jesusalva
// Description:
//  Sells and crafts jewels

003-5,33,37,0	script	Jeweler	NPC_FEMALE,{
    openshop;
    closedialog;
    close;


OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
    setunitdata(.@npcId, UDT_HEADMIDDLE, VneckJumper);
    setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
    setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots
    setunitdata(.@npcId, UDT_HAIRSTYLE, 3);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 8);
    npcsit;

    .sex = G_FEMALE;
    .distance = 5;
    tradertype(NST_ZENY);
    sellitem WeddingRing, 5000;
    end;

}