From 91a96dafa61ff762bbcf8ef51b6cc572ca592c50 Mon Sep 17 00:00:00 2001 From: Reid Date: Thu, 25 Jun 2015 02:22:36 +0200 Subject: Add moon walking NPC. --- npc/001-2-2/_import.txt | 3 +++ npc/001-2-2/moon.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 npc/001-2-2/moon.txt (limited to 'npc/001-2-2') diff --git a/npc/001-2-2/_import.txt b/npc/001-2-2/_import.txt index 9c2e2443..87bed433 100644 --- a/npc/001-2-2/_import.txt +++ b/npc/001-2-2/_import.txt @@ -1 +1,4 @@ +// Map 001-2-2: Moon House npc: npc/001-2-2/_warps.txt +npc: npc/001-2-2/moon.txt + diff --git a/npc/001-2-2/moon.txt b/npc/001-2-2/moon.txt new file mode 100644 index 00000000..cfdc8f66 --- /dev/null +++ b/npc/001-2-2/moon.txt @@ -0,0 +1,29 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Moon, main NPC for the urchin quest. + +001-2-2,33,32,0 script Moon#001-2-2 427,{ + npctalk3 l("Hi!"); + close; + +OnTimer1000: + if (isunitwalking()) + { + initnpctimer; + end; + } + movetonextpos; + initnpctimer; + end; + +OnInit: + initpath "move", 41, 30, + "dir", DOWN, 0, + "wait", 2, 0, + "move", 33, 32, + "wait", 10, 0, + initialmove; + initnpctimer; +} -- cgit v1.2.3-70-g09d2