diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-09 16:12:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-09 16:12:39 -0300 |
commit | 1910a899cb2a6906a06fe534ab34cfe811895a53 (patch) | |
tree | 97b7144fab86b6a70a059abff383b1d3655ab41b /npc/016-6 | |
parent | 47fc4c503ceb5591ce27909ab9e4935a197b2ec0 (diff) | |
download | serverdata-1910a899cb2a6906a06fe534ab34cfe811895a53.tar.gz serverdata-1910a899cb2a6906a06fe534ab34cfe811895a53.tar.bz2 serverdata-1910a899cb2a6906a06fe534ab34cfe811895a53.tar.xz serverdata-1910a899cb2a6906a06fe534ab34cfe811895a53.zip |
Fix a typo. Add several scripts to aid with La Marine. Pirate attack still isn't
being taken in account, I am waiting @Saulc to finish it %%G
Diffstat (limited to 'npc/016-6')
-rw-r--r-- | npc/016-6/_import.txt | 1 | ||||
-rw-r--r-- | npc/016-6/main.txt | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/npc/016-6/_import.txt b/npc/016-6/_import.txt index 8161f0b9a..62a745b54 100644 --- a/npc/016-6/_import.txt +++ b/npc/016-6/_import.txt @@ -1,4 +1,5 @@ // Map 016-6: Ocean // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/016-6/_mobs.txt", +"npc/016-6/main.txt", "npc/016-6/mapflags.txt", 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; +} + |