summaryrefslogtreecommitdiff
path: root/npc/000-2-4/alige.txt
diff options
context:
space:
mode:
authorJoseph Botosh <rumly111@gmail.com>2015-10-26 00:00:11 +0200
committerReid <reidyaro@gmail.com>2015-11-05 23:48:31 +0100
commitfbacc145d979f8186c7c79342e183e3bc5c40b77 (patch)
tree9cf55837dbe2a41151319774b0bdaf4e73e8902a /npc/000-2-4/alige.txt
parentc9e792f1c956f3d66f81e9eb671a2516601010bb (diff)
downloadserverdata-fbacc145d979f8186c7c79342e183e3bc5c40b77.tar.gz
serverdata-fbacc145d979f8186c7c79342e183e3bc5c40b77.tar.bz2
serverdata-fbacc145d979f8186c7c79342e183e3bc5c40b77.tar.xz
serverdata-fbacc145d979f8186c7c79342e183e3bc5c40b77.zip
Add NPC Alige hiding in barrel on 000-2-4
Diffstat (limited to 'npc/000-2-4/alige.txt')
-rw-r--r--npc/000-2-4/alige.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/000-2-4/alige.txt b/npc/000-2-4/alige.txt
new file mode 100644
index 00000000..fbfb79ee
--- /dev/null
+++ b/npc/000-2-4/alige.txt
@@ -0,0 +1,39 @@
+// Evol scripts.
+// Authors:
+// Reid
+// Travolta
+
+000-2-4,38,22,0 script Alige#000-2-4 NPC_ALIGE_BARREL,2,2,{
+ npctalk3 l("Protect me, please...");
+ end;
+
+OnTouch:
+ .dir = LEFT;
+ stopnpctimer;
+ initnpctimer;
+ end;
+
+OnUnTouch:
+ .dir = UP;
+ stopnpctimer;
+ initnpctimer;
+ end;
+
+OnTimer190:
+ switch (.dir)
+ {
+ case UP:
+ .dir = DOWN;
+ break;
+ case LEFT:
+ .dir = RIGHT;
+ break;
+ }
+ stopnpctimer;
+ end;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 2;
+ end;
+}