summaryrefslogtreecommitdiff
path: root/world/map/npc/035-2
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-11 12:16:18 -0500
committerwushin <pasekei@gmail.com>2014-04-11 16:07:30 -0500
commit0073a8a833ca6970b678f7d48af154429cc547ae (patch)
tree33dafb61ce62e5614cea2736127fed1fb7359b0b /world/map/npc/035-2
parent82ae61eae9e12de70bc463cc3bfbc6bdd9c454b1 (diff)
downloadserverdata-0073a8a833ca6970b678f7d48af154429cc547ae.tar.gz
serverdata-0073a8a833ca6970b678f7d48af154429cc547ae.tar.bz2
serverdata-0073a8a833ca6970b678f7d48af154429cc547ae.tar.xz
serverdata-0073a8a833ca6970b678f7d48af154429cc547ae.zip
Time Based Free Travel via Ship
Diffstat (limited to 'world/map/npc/035-2')
-rw-r--r--world/map/npc/035-2/casino.txt12
-rw-r--r--world/map/npc/035-2/koga.txt33
-rw-r--r--world/map/npc/035-2/shops.txt13
3 files changed, 58 insertions, 0 deletions
diff --git a/world/map/npc/035-2/casino.txt b/world/map/npc/035-2/casino.txt
new file mode 100644
index 00000000..83759787
--- /dev/null
+++ b/world/map/npc/035-2/casino.txt
@@ -0,0 +1,12 @@
+// Casino
+035-2.gat,34,37,0|script|Slots#4|400,
+{
+ callfunc "SlotMachine";
+ close;
+}
+
+035-2.gat,36,37,0|script|Slots#5|400,
+{
+ callfunc "SlotMachine";
+ close;
+}
diff --git a/world/map/npc/035-2/koga.txt b/world/map/npc/035-2/koga.txt
new file mode 100644
index 00000000..b9e0969d
--- /dev/null
+++ b/world/map/npc/035-2/koga.txt
@@ -0,0 +1,33 @@
+// Dock
+
+035-2.gat,39,29,0|script|#KogaExit|45,0,1,
+{
+ mes "Disembark the ferry for "+$@MainDocks$[$@MainCurrentDock]+"?";
+ menu
+ "Yes.", L_Leave,
+ "Nevermind", L_Close;
+
+L_Leave:
+ if ($@MainCurrentDock == 0)
+ goto L_Hurnscald;
+ if ($@MainCurrentDock == 1)
+ goto L_Nivalis;
+ if ($@MainCurrentDock == 2)
+ goto L_Tulimshar;
+ goto L_Close;
+
+L_Tulimshar:
+ warp "022-1.gat", 76, 72;
+ goto L_Close;
+
+L_Hurnscald:
+ warp "008-1.gat", 137, 64;
+ goto L_Close;
+
+L_Nivalis:
+ warp "031-1.gat", 95, 109;
+ goto L_Close;
+
+L_Close:
+ close;
+}
diff --git a/world/map/npc/035-2/shops.txt b/world/map/npc/035-2/shops.txt
new file mode 100644
index 00000000..ddf0f09c
--- /dev/null
+++ b/world/map/npc/035-2/shops.txt
@@ -0,0 +1,13 @@
+//
+
+035-2.gat,23,38,0|shop|Cooky|213,Beer :-1,Orange :-1,CasinoCoins :-1
+
+035-2.gat,23,35,0|script|Bunkmaster Phict|212,
+{
+ set @npcname$, "Bunkmaster Phict";
+ set @cost, 100;
+ callfunc "Inn";
+ set @npcname$, "";
+ set @cost, 0;
+ close;
+}