From 2fcc64dfbb3a3ed69d8d7bd51e4881fd94bf2734 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 22 Jun 2018 12:44:40 -0300 Subject: Contrabandist Prototype --- npc/015-2/_import.txt | 1 + npc/015-2/contrabandist.txt | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 npc/015-2/contrabandist.txt (limited to 'npc') 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; + +} -- cgit v1.2.3-60-g2f50