// TMW2 Script // Author: // Jesusalva // Description: // Sells and crafts jewels // // Notes: // Gold Ore (dropped by bifs) → Pieces or Ingot, depends on what you want to forge // Jeweler only works with Gold PIECES. The Ingots are for forges. 003-5,33,37,0 script Jeweler NPC_FEMALE,{ mesn; mesq l("Hello!"); mes ""; menu l("I want to shop."), -, l("Nothing, sorry."), L_Close; openshop; closedialog; close; L_Close: close2; goodbye; end; 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; }