diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-01 01:37:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-01 01:37:44 +0300 |
commit | bcd874b2e1ff8e74309f610d9738dfcc9c812404 (patch) | |
tree | 7d74c8824a40cb164269653c5e7593a7f99b1e33 /npc/test/npc6.txt | |
parent | 7d6c6792571d0e776221e0b64b60790c1a22682e (diff) | |
download | serverdata-s20170306.tar.gz serverdata-s20170306.tar.bz2 serverdata-s20170306.tar.xz serverdata-s20170306.zip |
Add npc6 with custom shop into test map.s20170306
Also it using special npc what have points currency.
Diffstat (limited to 'npc/test/npc6.txt')
-rw-r--r-- | npc/test/npc6.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/test/npc6.txt b/npc/test/npc6.txt new file mode 100644 index 00000000..7c4893ad --- /dev/null +++ b/npc/test/npc6.txt @@ -0,0 +1,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; +} |