summaryrefslogtreecommitdiff
path: root/npc/test/npc6.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/test/npc6.txt')
-rw-r--r--npc/test/npc6.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/test/npc6.txt b/npc/test/npc6.txt
new file mode 100644
index 000000000..7c4893ad7
--- /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;
+}