summaryrefslogtreecommitdiff
path: root/npc/functions/harbours.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
commit8a4bf716002a017de77fe7df301ef8e4aaf00a2e (patch)
tree4947d0b015baad639fa07133369e9a09c8a468bc /npc/functions/harbours.txt
downloadserverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip
Initial commit
Diffstat (limited to 'npc/functions/harbours.txt')
-rw-r--r--npc/functions/harbours.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/functions/harbours.txt b/npc/functions/harbours.txt
new file mode 100644
index 00000000..63d58076
--- /dev/null
+++ b/npc/functions/harbours.txt
@@ -0,0 +1,39 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Harbour utility functions
+// Animation:
+// Length: 1680
+// Values:
+// 2 Hook moving down.
+// 4 Hook moving up.
+// 6 Hook down.
+// 8 Hook up.
+
+function script harbourClic {
+ if (.dir == 0)
+ {
+ .dir = 2;
+
+ initnpctimer;
+ startnpctimer;
+ close;
+ }
+
+ if (.dir == 6)
+ {
+ .dir = 4;
+
+ initnpctimer;
+ startnpctimer;
+ close;
+ }
+}
+
+function script harbourTimer {
+ stopnpctimer;
+ if (.dir == 2) .dir = 6;
+ if (.dir == 4) .dir = 0;
+ end;
+}