summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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;
+
+}