summaryrefslogtreecommitdiff
path: root/npc/016-6/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/016-6/main.txt')
-rw-r--r--npc/016-6/main.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/016-6/main.txt b/npc/016-6/main.txt
new file mode 100644
index 000000000..8c67a59a5
--- /dev/null
+++ b/npc/016-6/main.txt
@@ -0,0 +1,39 @@
+// TMW2 script
+// Originals from TMW-BR
+// Imported by Jesusalva
+
+016-6,0,0,0 script #MarineShip NPC_HIDDEN,117,29,{
+ end;
+
+OnEvent:
+ if (@timer_navio_running == 0) end;
+ if (PC_DEST$ == "Hurns") goto L_Hurns;
+ else if (PC_DEST$ == "Tulim") goto L_Tulim;
+ else goto L_Error;
+ end;
+
+L_Hurns:
+ PC_DEST$ = "";
+ LOCATION$ = "Hurns";
+ @timer_navio_running = 0;
+ warp "014-1", 141, 65;
+ message strcharinfo(0), l("@@ disembarks at Hurnscald.", strcharinfo(0));
+ end;
+
+L_Tulim:
+ PC_DEST$ = "";
+ LOCATION$ = "Tulim";
+ @timer_navio_running = 0;
+ warp "003-1", 81, 68;
+ message strcharinfo(0), l("@@ disembarks at Tulimshar.", strcharinfo(0));
+ end;
+
+L_Error:
+ debugmes "ERROR: PLAYER INVALID PC_DEST ON #NardShip: " + PC_DEST$;
+ PC_DEST$ = "";
+ @timer_navio_running = 0;
+ warp "000-1", 22, 22;
+ dispbottom l("An error on your travel happened. Please report.");
+ end;
+}
+