summaryrefslogblamecommitdiff
path: root/npc/test/npc6.txt
blob: 7c4893ad7fc2bb758442dcff8eb8130878b43605 (plain) (tree)






















                                                           
// Evol scripts.
// Authors:
//    4144
// Description:
//    test npc1

test,30,10,0	trader	npc6	NPC_SHOP_BAG_TEST,{
     end;

OnCountFunds:
    setcurrency 10000;
    end;

OnPayFunds:
     dispbottom "Hi: price="+@price+" and points="+@points;
     // check and remove points
     purchaseok;
     end;
OnInit:
     tradertype NST_CUSTOM;
     sellitem Acorn, 500;
     sellitem Bread, 200;
}