summaryrefslogtreecommitdiff
path: root/npc/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-23 02:25:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 02:25:33 +0300
commit6b9d4ef985de27f495c661dec7064f506308b631 (patch)
treed5c4f82cc78911130ed7fc914d55bc529f79df7e /npc/test
parent62915e5e3d219bc408337542bd1aefd6183d56f8 (diff)
downloadserverdata-6b9d4ef985de27f495c661dec7064f506308b631.tar.gz
serverdata-6b9d4ef985de27f495c661dec7064f506308b631.tar.bz2
serverdata-6b9d4ef985de27f495c661dec7064f506308b631.tar.xz
serverdata-6b9d4ef985de27f495c661dec7064f506308b631.zip
add missing npc2 on test map.
Diffstat (limited to 'npc/test')
-rw-r--r--npc/test/npc2.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/npc/test/npc2.txt b/npc/test/npc2.txt
new file mode 100644
index 000000000..dd6eb937b
--- /dev/null
+++ b/npc/test/npc2.txt
@@ -0,0 +1,35 @@
+// Evol scripts.
+// Authors:
+// 4144
+// Description:
+// test npc2
+
+test,20,10,0 trader npc2 102,{
+OnInit:
+ tradertype(NST_MARKET);
+ sellitem 505, -1, 10;
+ sellitem 502, -1, 10;
+ sellitem 513, -1, 10;
+ sellitem 509, -1, 10;
+ sellitem 2000, -1, 10;
+ sellitem 1800, -1, 10;
+ sellitem 3501, -1, 10;
+ end;
+
+OnClock0000:
+ if (shopcount(505) < 10)
+ sellitem 505, -1, 10;
+ if (shopcount(502) < 10)
+ sellitem 502, -1, 10;
+ if (shopcount(513) < 10)
+ sellitem 513, -1, 10;
+ if (shopcount(509) < 10)
+ sellitem 509, -1, 10;
+ if (shopcount(2000) < 10)
+ sellitem 2000, -1, 10;
+ if (shopcount(1800) < 10)
+ sellitem 1800, -1, 10;
+ if (shopcount(3501) < 10)
+ sellitem 3501, -1, 10;
+ end;
+}