summaryrefslogtreecommitdiff
path: root/npc/test/npc6.txt
blob: 7c4893ad7fc2bb758442dcff8eb8130878b43605 (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
// 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;
}