summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-06-25 02:22:36 +0200
committerReid <reidyaro@gmail.com>2015-06-25 02:22:36 +0200
commit91a96dafa61ff762bbcf8ef51b6cc572ca592c50 (patch)
tree2be907e7a5cc7c919168985ebd9225d085bd5680 /npc
parent08ed15a5865c5f969eb0e6052be868d5da3e310f (diff)
downloadserverdata-91a96dafa61ff762bbcf8ef51b6cc572ca592c50.tar.gz
serverdata-91a96dafa61ff762bbcf8ef51b6cc572ca592c50.tar.bz2
serverdata-91a96dafa61ff762bbcf8ef51b6cc572ca592c50.tar.xz
serverdata-91a96dafa61ff762bbcf8ef51b6cc572ca592c50.zip
Add moon walking NPC.
Diffstat (limited to 'npc')
-rw-r--r--npc/001-2-2/_import.txt3
-rw-r--r--npc/001-2-2/moon.txt29
2 files changed, 32 insertions, 0 deletions
diff --git a/npc/001-2-2/_import.txt b/npc/001-2-2/_import.txt
index 9c2e24438..87bed4335 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 000000000..cfdc8f66f
--- /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;
+}