From 8a4bf716002a017de77fe7df301ef8e4aaf00a2e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 11:00:49 -0300 Subject: Initial commit --- npc/test/npc2.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 npc/test/npc2.txt (limited to 'npc/test/npc2.txt') diff --git a/npc/test/npc2.txt b/npc/test/npc2.txt new file mode 100644 index 00000000..8a2146f1 --- /dev/null +++ b/npc/test/npc2.txt @@ -0,0 +1,35 @@ +// Evol scripts. +// Author: +// 4144 +// Description: +// test npc2 + +test,20,10,0 trader npc2 NPC_HAT_BOX,{ +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-70-g09d2