summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Botosh <rumly111@gmail.com>2015-10-26 00:00:11 +0200
committerJoseph Botosh <rumly111@gmail.com>2015-10-26 00:00:11 +0200
commit98bafa0a7fb587c020df52415d31fb64d45ae3e7 (patch)
tree526b900bc5162df934a73e1bb3c3828927a1d2d0
parentd7b6425fcfd30958a7f749f89423e53a773f4d18 (diff)
downloadserverdata-98bafa0a7fb587c020df52415d31fb64d45ae3e7.tar.gz
serverdata-98bafa0a7fb587c020df52415d31fb64d45ae3e7.tar.bz2
serverdata-98bafa0a7fb587c020df52415d31fb64d45ae3e7.tar.xz
serverdata-98bafa0a7fb587c020df52415d31fb64d45ae3e7.zip
Add NPC Alige hiding in barrel on 000-2-4
-rw-r--r--npc/000-2-4/_import.txt1
-rw-r--r--npc/000-2-4/alige.txt39
2 files changed, 40 insertions, 0 deletions
diff --git a/npc/000-2-4/_import.txt b/npc/000-2-4/_import.txt
index a421cf8d..ac6d4505 100644
--- a/npc/000-2-4/_import.txt
+++ b/npc/000-2-4/_import.txt
@@ -2,3 +2,4 @@
npc: npc/000-2-4/mapflags.txt
npc: npc/000-2-4/_mobs.txt
npc: npc/000-2-4/_warps.txt
+npc: npc/000-2-4/alige.txt
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;
+}