From 6b9d4ef985de27f495c661dec7064f506308b631 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Dec 2014 02:25:33 +0300 Subject: add missing npc2 on test map. --- npc/test/npc2.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 npc/test/npc2.txt (limited to 'npc/test') 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; +} -- cgit v1.2.3-60-g2f50