summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-22 12:44:40 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-22 12:44:40 -0300
commit2fcc64dfbb3a3ed69d8d7bd51e4881fd94bf2734 (patch)
tree41e0f7292f9ccd3504bc936fe88887b6c3e3cc49
parent81d093a03dfb2e235b5d237e1b0a4efe106874f2 (diff)
downloadserverdata-2fcc64dfbb3a3ed69d8d7bd51e4881fd94bf2734.tar.gz
serverdata-2fcc64dfbb3a3ed69d8d7bd51e4881fd94bf2734.tar.bz2
serverdata-2fcc64dfbb3a3ed69d8d7bd51e4881fd94bf2734.tar.xz
serverdata-2fcc64dfbb3a3ed69d8d7bd51e4881fd94bf2734.zip
Contrabandist Prototype
-rw-r--r--npc/015-2/_import.txt1
-rw-r--r--npc/015-2/contrabandist.txt34
2 files changed, 35 insertions, 0 deletions
diff --git a/npc/015-2/_import.txt b/npc/015-2/_import.txt
index 25b948ad8..2538bf7bd 100644
--- a/npc/015-2/_import.txt
+++ b/npc/015-2/_import.txt
@@ -2,5 +2,6 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/015-2/_mobs.txt",
"npc/015-2/_warps.txt",
+"npc/015-2/contrabandist.txt",
"npc/015-2/guard.txt",
"npc/015-2/lordcave.txt",
diff --git a/npc/015-2/contrabandist.txt b/npc/015-2/contrabandist.txt
new file mode 100644
index 000000000..d725f39a3
--- /dev/null
+++ b/npc/015-2/contrabandist.txt
@@ -0,0 +1,34 @@
+// TMW-2 Script
+// Author:
+// Jesusalva
+// Description:
+// Contraband of foreing goods.
+
+012-2,54,43,0 script #Contraband NPC_NO_SPRITE,{
+
+// Store not available
+if (!.active)
+ end;
+
+buyingstore(2);
+close;
+
+OnInit:
+ .active=0;
+ .sex = G_OTHER;
+ .distance = 3;
+ end;
+
+OnMinute21:
+OnMinute46:
+ setnpcdisplay .name$, NPC_KOGA;
+ .active=1;
+ end;
+
+OnMinute23:
+OnMinute48:
+ setnpcdisplay .name$, NPC_NO_SPRITE;
+ .active=0;
+ end;
+
+}