summaryrefslogtreecommitdiff
path: root/world/map/npc/035-2
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-16 13:09:51 -0500
committerwushin <pasekei@gmail.com>2014-04-16 13:09:51 -0500
commite04e9eb0065caa6adf12ef36efbd3c5a3c5c3652 (patch)
treec57506b8665c9acc305bc6c85064bb4a7ab1fbc5 /world/map/npc/035-2
parent566297bd2b1467cf23e88bb2c0ad210b7d5a2ffa (diff)
parentc84e27e10b0f6ed56ae0ee1b0ec4fe7e9d0fd507 (diff)
downloadserverdata-2014.4.16.tar.gz
serverdata-2014.4.16.tar.bz2
serverdata-2014.4.16.tar.xz
serverdata-2014.4.16.zip
Merge pull request #79 from wushin/Tile-Fixes-Map-Travelv2014.4.16
Tile map fixes sprite travel
Diffstat (limited to 'world/map/npc/035-2')
-rw-r--r--world/map/npc/035-2/_import.txt9
-rw-r--r--world/map/npc/035-2/_mobs.txt9
-rw-r--r--world/map/npc/035-2/_warps.txt3
-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/mapflags.txt2
-rw-r--r--world/map/npc/035-2/shops.txt13
7 files changed, 81 insertions, 0 deletions
diff --git a/world/map/npc/035-2/_import.txt b/world/map/npc/035-2/_import.txt
new file mode 100644
index 00000000..5e207a35
--- /dev/null
+++ b/world/map/npc/035-2/_import.txt
@@ -0,0 +1,9 @@
+// Map 035-2: Koga - Main
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+map: 035-2.gat
+npc: npc/035-2/_mobs.txt
+npc: npc/035-2/_warps.txt
+npc: npc/035-2/casino.txt
+npc: npc/035-2/koga.txt
+npc: npc/035-2/mapflags.txt
+npc: npc/035-2/shops.txt
diff --git a/world/map/npc/035-2/_mobs.txt b/world/map/npc/035-2/_mobs.txt
new file mode 100644
index 00000000..f1c490ea
--- /dev/null
+++ b/world/map/npc/035-2/_mobs.txt
@@ -0,0 +1,9 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Koga - Main mobs
+
+
+
+035-2.gat,0,0,0|script|Mob035-2|-1,
+{
+ end;
+}
diff --git a/world/map/npc/035-2/_warps.txt b/world/map/npc/035-2/_warps.txt
new file mode 100644
index 00000000..ff86d330
--- /dev/null
+++ b/world/map/npc/035-2/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Koga - Main warps
+
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/mapflags.txt b/world/map/npc/035-2/mapflags.txt
new file mode 100644
index 00000000..048307fd
--- /dev/null
+++ b/world/map/npc/035-2/mapflags.txt
@@ -0,0 +1,2 @@
+035-2.gat|mapflag|town
+035-2.gat|mapflag|resave|035-2,20,21
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;
+}