for shops it looks like this
Npcid.name = (shop name)
Npcid.trade = ItemId,BuyPrice,SellPrice, IItemId,BuyPrice,SellPrice :note when u end what u want it to sell make sure there is no , at the end
npcid.craft = WhatYouWantToCraftHere,1ItemToMake,amount,2ItemToMake,amount,3ItemToMake,amount,4ItemToMake,amount
:note if u want less than four items to make then have 0 for the id and for the amount so like this
ex. 200,199,1,200,133,1,0,0 of items less than 4
ex. 200,199,1,200,1,133,400,1 of items with 4
:note if u want more crafts then have a , at the end. if you want it to stop with crafts then don't put a , at end
_________
now npc drops
npcid = dropid,MinAmount,MaxAmount,chance, dropid,MinAmount,MaxAmount,chance
:note if u want it to stop put no , at the end
ex.
255 = 457,1,1,5, 1,5000