summaryrefslogtreecommitdiff
path: root/npc/001-1/dock.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-1/dock.txt')
-rw-r--r--npc/001-1/dock.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/npc/001-1/dock.txt b/npc/001-1/dock.txt
new file mode 100644
index 00000000..dc7195e9
--- /dev/null
+++ b/npc/001-1/dock.txt
@@ -0,0 +1,42 @@
+
+001-1,75,70,0 script Tulimshar Koga NPC395,9,4,{
+ @npc_distance = 10;
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+ callfunc "BoardFerry";
+ end;
+
+OnTouch:
+ addtimer get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnBoard";
+ end;
+
+OnBoard:
+ callfunc "BoardFerry";
+ end;
+}
+
+001-1,68,72,0 script Tulimshar Dock NPC400,2,2,{
+ @npc_distance = 3;
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+ callfunc "BoardFerry";
+ end;
+}
+
+001-1,70,70,0 script #TulimsharDock NPC32767,{
+ end;
+OnCommandArrive:
+ disablenpc "Tulimshar Dock";
+ enablenpc "Tulimshar Koga";
+ areatimer 0, "001-1", 66, 71, 77, 73, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
+ end;
+
+OnAreaWarp:
+ callfunc "BoardFerry";
+ end;
+
+OnCommandWarp:
+ disablenpc "Tulimshar Koga";
+ enablenpc "Tulimshar Dock";
+ end;
+}