summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-05-01 21:09:41 -0500
committerwushin <pasekei@gmail.com>2014-05-03 21:10:56 -0500
commit3f1f2c82708abe1393ab01f8124370d6c42d26be (patch)
tree4a55f47253a3b66254d3f39df5cf5958c1b084f0 /world/map/npc
parentd1364f280efb3b0cd8e2c82884ffb1d6bb1894c9 (diff)
downloadserverdata-3f1f2c82708abe1393ab01f8124370d6c42d26be.tar.gz
serverdata-3f1f2c82708abe1393ab01f8124370d6c42d26be.tar.bz2
serverdata-3f1f2c82708abe1393ab01f8124370d6c42d26be.tar.xz
serverdata-3f1f2c82708abe1393ab01f8124370d6c42d26be.zip
People will make towels for no reason other than to make towels...
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/functions/soul_menhir.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/functions/soul_menhir.txt b/world/map/npc/functions/soul_menhir.txt
index e5ec9f4a..0af50a74 100644
--- a/world/map/npc/functions/soul_menhir.txt
+++ b/world/map/npc/functions/soul_menhir.txt
@@ -10,7 +10,13 @@ function|script|SoulMenhir|,
"I lost my towel...", L_Towel;
L_Towel:
+ if (TowelLastUsed > (gettimetick(2) - 1800))
+ goto L_DontPanic;
callfunc "MultiWarpTowel";
+ set TowelLastUsed, gettimetick(2);
+ mes "[Soul Menhir]";
+ mes "(You touch the mysterious stone. Somehow it feels hard and soft at the same time.)";
+ next;
getitem "HitchhikersTowel", 1;
goto L_Return;
@@ -44,6 +50,10 @@ L_Save:
goto L_FindPoint;
goto L_Do_Save;
+L_DontPanic:
+ message strcharinfo(0), "(A strange barrier keeps you from touching the stone at this time.)";
+ goto L_Return;
+
L_Do_Save:
savepoint @map$, @x, @y;
goto L_Return;