summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-11-02 00:33:39 +0100
committerReid <reidyaro@gmail.com>2015-11-02 00:33:39 +0100
commit3607355720d685b7cc6683f22b2b90cdcab2f1fc (patch)
treebc171964b7e3a0fd5b0f5aa5908eccfb245c8e7d
parente83b6a5a8b25cd5c5ea38ae96480a3bb00be8220 (diff)
downloadserverdata-3607355720d685b7cc6683f22b2b90cdcab2f1fc.tar.gz
serverdata-3607355720d685b7cc6683f22b2b90cdcab2f1fc.tar.bz2
serverdata-3607355720d685b7cc6683f22b2b90cdcab2f1fc.tar.xz
serverdata-3607355720d685b7cc6683f22b2b90cdcab2f1fc.zip
Add sleep animation on rumly.
-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;