summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-11-02 00:33:39 +0100
committerReid <reidyaro@gmail.com>2015-11-05 23:50:04 +0100
commitafbbaffe7d0bf1b72fc0fc3f5e97e139c4daec56 (patch)
tree293644d59d5431a40ae094d1c9eb427bdf234655 /npc/000-2-1
parent5953daa4311b5f79b15f995c10cd0976aaef217a (diff)
downloadserverdata-afbbaffe7d0bf1b72fc0fc3f5e97e139c4daec56.tar.gz
serverdata-afbbaffe7d0bf1b72fc0fc3f5e97e139c4daec56.tar.bz2
serverdata-afbbaffe7d0bf1b72fc0fc3f5e97e139c4daec56.tar.xz
serverdata-afbbaffe7d0bf1b72fc0fc3f5e97e139c4daec56.zip
Add sleep animation on rumly.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/rumly.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/000-2-1/rumly.txt b/npc/000-2-1/rumly.txt
index a61d6ae7..a7a46485 100644
--- a/npc/000-2-1/rumly.txt
+++ b/npc/000-2-1/rumly.txt
@@ -14,6 +14,11 @@
// .@wasSP - free status points before reset
000-2-1,67,25,0 script Rumly NPC_RUMLY,{
+
+ setnpcdir "Rumly", 2;
+ stopnpctimer;
+ initnpctimer;
+
speech 4,
l("Hello! Do you have any mushrooms?");
@@ -132,8 +137,21 @@ L_Never:
goto L_Quit;
L_Quit:
+ setnpcdir "Rumly", 4;
+ stopnpctimer;
+ initnpctimer;
+
goodbye;
+
+OnTimer1800:
+ stopnpctimer;
+
+ if (getnpcdir ("Rumly") == 2) setnpcdir "Rumly", 6;
+ if (getnpcdir ("Rumly") == 4) setnpcdir "Rumly", 8;
+
+ end;
+
OnInit:
.sex = G_MALE;
end;