diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-06-13 17:08:00 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-06-13 17:08:00 +0200 |
commit | c095b1bb900459b38813ba738914df8c5287b3c9 (patch) | |
tree | f5f2064579d7cd0a206b8fdb8b2767d10a4de3c0 /world/map/npc/functions | |
parent | 084b7a1394325fb370d49acfb075c0c0a549f948 (diff) | |
download | serverdata-c095b1bb900459b38813ba738914df8c5287b3c9.tar.gz serverdata-c095b1bb900459b38813ba738914df8c5287b3c9.tar.bz2 serverdata-c095b1bb900459b38813ba738914df8c5287b3c9.tar.xz serverdata-c095b1bb900459b38813ba738914df8c5287b3c9.zip |
Nivalis Transportation Modifications.
Frozenbeard is now DOCK_nivalis
Diryn teleports player to blue sages.
All ferrys now travel to and from each other.
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r-- | world/map/npc/functions/ferry.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/world/map/npc/functions/ferry.txt b/world/map/npc/functions/ferry.txt index dd3e83d8..1b03011a 100644 --- a/world/map/npc/functions/ferry.txt +++ b/world/map/npc/functions/ferry.txt @@ -5,6 +5,7 @@ function|script|Ferry|{ goto L_LowerCost; set @cost_tulimshar, 500; set @cost_hurnscald, 500; + set @cost_nivalis, 500; L_Start: set @cost_candor, 1500; @@ -19,6 +20,7 @@ L_PlainMenu: menu "Tulimshar (" + @cost_tulimshar + "GP)", L_Tulimshar, "Hurnscald (" + @cost_hurnscald + "GP)", L_Hurnscald, + "Nivalis (" + @cost_nivalis + "GP)", L_Nivalis, "Nevermind", -; goto L_Close; @@ -26,6 +28,7 @@ L_MenuWithCandor: menu "Tulimshar (" + @cost_tulimshar + "GP)", L_Tulimshar, "Hurnscald (" + @cost_hurnscald + "GP)", L_Hurnscald, + "Nivalis (" + @cost_nivalis + "GP)", L_Nivalis, "Candor (" + @cost_candor + "GP)", L_Candor, "Nevermind", -; goto L_Close; @@ -50,6 +53,16 @@ L_Hurnscald: warp "008-1.gat", 137, 64; goto L_Close; +L_Nivalis: + if (@loc == DOCK_nivalis) + goto L_AlreadyThere; + if (Zeny < @cost_nivalis) + goto L_NotEnoughGP; + + set Zeny, Zeny - @cost_nivalis; + warp "031-1.gat", 95, 118; + goto L_Close; + L_Candor: if (@loc == DOCK_candor) goto L_AlreadyThere; @@ -71,12 +84,14 @@ L_NotEnoughGP: L_LowerCost: set @cost_tulimshar, 250; set @cost_hurnscald, 250; + set @cost_nivalis, 250; goto L_Start; L_Close: set @cost_tulimshar, 0; set @cost_hurnscald, 0; set @cost_candor, 0; + set @cost_nivalis, 0; set @loc, 0; close; } |