summaryrefslogtreecommitdiff
path: root/world/map/npc/013-3
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-18 21:58:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-19 14:19:55 -0700
commitbae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch)
tree4acc120f6a94cfbf9694bf344658493de5aaa67b /world/map/npc/013-3
parent319f80526f8585ecadaec986e37c9bd326f4d363 (diff)
downloadserverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip
Move to a subdirectory
Diffstat (limited to 'world/map/npc/013-3')
-rw-r--r--world/map/npc/013-3/_import.txt9
-rw-r--r--world/map/npc/013-3/_mobs.txt102
-rw-r--r--world/map/npc/013-3/_warps.txt39
-rw-r--r--world/map/npc/013-3/barrier.txt19
-rw-r--r--world/map/npc/013-3/mask_chest.txt176
-rw-r--r--world/map/npc/013-3/misc.txt6
-rw-r--r--world/map/npc/013-3/sword_chest.txt38
7 files changed, 389 insertions, 0 deletions
diff --git a/world/map/npc/013-3/_import.txt b/world/map/npc/013-3/_import.txt
new file mode 100644
index 00000000..8be025b3
--- /dev/null
+++ b/world/map/npc/013-3/_import.txt
@@ -0,0 +1,9 @@
+// Map 013-3: Cave
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+map: 013-3.gat
+npc: npc/013-3/_mobs.txt
+npc: npc/013-3/_warps.txt
+npc: npc/013-3/barrier.txt
+npc: npc/013-3/mask_chest.txt
+npc: npc/013-3/misc.txt
+npc: npc/013-3/sword_chest.txt
diff --git a/world/map/npc/013-3/_mobs.txt b/world/map/npc/013-3/_mobs.txt
new file mode 100644
index 00000000..bb36f0c7
--- /dev/null
+++ b/world/map/npc/013-3/_mobs.txt
@@ -0,0 +1,102 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Cave mobs
+
+013-3.gat,28,89,16,52 monster Cave Snake 1021,10,120000,60000,Mob013-3::On1021
+013-3.gat,61,22,2,2 monster Fire Skull 1023,1,120000,60000,Mob013-3::On1023
+013-3.gat,81,22,2,2 monster Poison Skull 1024,1,120000,60000,Mob013-3::On1024
+013-3.gat,109,31,6,22 monster Black Scorpion 1009,20,50000,25000,Mob013-3::On1009
+013-3.gat,119,84,27,38 monster Spider 1012,20,120000,40000,Mob013-3::On1012
+013-3.gat,176,23,5,6 monster Spider 1012,10,100000,40000,Mob013-3::On1012
+013-3.gat,82,75,2,2 monster Fire skull 1023,1,180000,60000,Mob013-3::On1023
+013-3.gat,142,37,2,2 monster Poison skull 1024,1,180000,60000,Mob013-3::On1024
+013-3.gat,79,134,21,16 monster Black Scorpion 1009,5,80000,40000,Mob013-3::On1009
+013-3.gat,71,169,38,17 monster Black Scorpion 1009,5,80000,40000,Mob013-3::On1009
+013-3.gat,64,85,9,21 monster Black scorpion 1009,10,80000,40000,Mob013-3::On1009
+013-3.gat,81,92,3,20 monster Black scorpion 1009,10,80000,40000,Mob013-3::On1009
+013-3.gat,162,84,33,37 monster Snake 1010,30,120000,50000,Mob013-3::On1010
+013-3.gat,162,85,33,37 monster Spider 1012,30,120000,50000,Mob013-3::On1012
+013-3.gat,172,77,18,25 monster Black scorpion 1009,15,120000,50000,Mob013-3::On1009
+013-3.gat,145,36,20,15 monster Red slime 1008,25,80000,40000,Mob013-3::On1008
+013-3.gat,167,37,23,11 monster Snake 1010,20,120000,40000,Mob013-3::On1010
+013-3.gat,165,25,16,11 monster Black scorpion 1009,15,120000,40000,Mob013-3::On1009
+013-3.gat,71,39,2,3 monster Snake 1010,2,40000,20000,Mob013-3::On1010
+013-3.gat,159,102,3,5 monster Yellow slime 1007,2,80000,40000,Mob013-3::On1007
+013-3.gat,67,22,2,2 monster Maggot 1002,2,40000,20000,Mob013-3::On1002
+013-3.gat,75,22,2,2 monster Maggot 1002,2,40000,20000,Mob013-3::On1002
+013-3.gat,76,39,7,4 monster Black scorpion 1009,8,40000,20000,Mob013-3::On1009
+013-3.gat,65,39,7,4 monster Red slime 1008,8,40000,20000,Mob013-3::On1008
+013-3.gat,62,33,2,1 monster Poison Skull 1024,1,120000,60000,Mob013-3::On1024
+013-3.gat,80,33,2,1 monster Fire Skull 1023,1,120000,60000,Mob013-3::On1023
+013-3.gat,75,46,2,1 monster Poison Skull 1024,1,120000,60000,Mob013-3::On1024
+013-3.gat,67,46,2,1 monster Fire Skull 1023,1,120000,60000,Mob013-3::On1023
+013-3.gat,149,145,7,26 monster Silkworm 2037,10,20000,5000,Mob013-3::On2037
+013-3.gat,117,157,6,14 monster CaveSnake 2023,3,30000,10000,Mob013-3::On2023
+013-3.gat,150,129,17,4 monster CaveSnake 2023,3,30000,10000,Mob013-3::On2023
+013-3.gat,162,138,5,5 monster CaveSnake 2023,3,30000,10000,Mob013-3::On2023
+013-3.gat,138,174,15,8 monster CaveSnake 2023,3,30000,10000,Mob013-3::On2023
+013-3.gat,146,151,62,54 monster Bat 2019,20,15000,5000,Mob013-3::On2019
+
+
+013-3.gat,0,0,0 script Mob013-3 -1,{
+On1002:
+ set @mobID, 1002;
+ callfunc "MobPoints";
+ break;
+
+On1007:
+ set @mobID, 1007;
+ callfunc "MobPoints";
+ break;
+
+On1008:
+ set @mobID, 1008;
+ callfunc "MobPoints";
+ break;
+
+On1009:
+ set @mobID, 1009;
+ callfunc "MobPoints";
+ break;
+
+On1010:
+ set @mobID, 1010;
+ callfunc "MobPoints";
+ break;
+
+On1012:
+ set @mobID, 1012;
+ callfunc "MobPoints";
+ break;
+
+On1021:
+ set @mobID, 1021;
+ callfunc "MobPoints";
+ break;
+
+On1023:
+ set @mobID, 1023;
+ callfunc "MobPoints";
+ break;
+
+On1024:
+ set @mobID, 1024;
+ callfunc "MobPoints";
+ break;
+
+On2019:
+ set @mobID, 2019;
+ callfunc "MobPoints";
+ break;
+
+On2023:
+ set @mobID, 2023;
+ callfunc "MobPoints";
+ break;
+
+On2037:
+ set @mobID, 2037;
+ callfunc "MobPoints";
+ break;
+
+ end;
+}
diff --git a/world/map/npc/013-3/_warps.txt b/world/map/npc/013-3/_warps.txt
new file mode 100644
index 00000000..373be260
--- /dev/null
+++ b/world/map/npc/013-3/_warps.txt
@@ -0,0 +1,39 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Cave warps
+
+013-3.gat,28,20 warp hiddenExit -1,-1,013-1.gat,0,0
+013-3.gat,34,63 warp toOutside -1,-1,013-1.gat,125,102
+013-3.gat,36,96 warp toCave -1,-1,013-3.gat,79,126
+013-3.gat,79,125 warp toCave -1,-1,013-3.gat,35,96
+013-3.gat,22,115 warp toOutside -1,-1,018-1.gat,115,41
+013-3.gat,139,45 warp toOutside -1,-1,018-1.gat,127,37
+013-3.gat,61,179 warp toOutside -1,-1,018-1.gat,134,46
+013-3.gat,69,143 warp toCave -1,-1,018-3.gat,50,89
+013-3.gat,81,103 warp toOutside -1,-1,018-1.gat,147,41
+013-3.gat,177,91 warp toOutside -1,-1,018-1.gat,177,21
+013-3.gat,178,44 warp toCave -1,-1,018-3.gat,97,70
+013-3.gat,169,45 warp toCave -1,-1,018-3.gat,27,55
+013-3.gat,152,28 warp toCave -1,-1,018-3.gat,134,60
+013-3.gat,123,104 warp toCave -1,-1,018-3.gat,172,22
+013-3.gat,147,104 warp toCave -1,-1,018-3.gat,177,22
+013-3.gat,158,66 warp toCave -1,-1,018-3.gat,27,90
+013-3.gat,75,51 warp toCave -1,-1,013-3.gat,109,65
+013-3.gat,109,64 warp toCave -1,-1,013-3.gat,75,50
+013-3.gat,67,51 warp toCave -1,-1,018-3.gat,90,51
+013-3.gat,71,20 warp toCave -1,-1,013-3.gat,28,39
+013-3.gat,28,39 warp toCave -1,-1,013-3.gat,71,21
+013-3.gat,71,42 warp toCave -1,-1,013-3.gat,109,21
+013-3.gat,109,20 warp toCave -1,-1,013-3.gat,71,41
+013-3.gat,111,42 warp toCave -1,-1,018-3.gat,71,123
+013-3.gat,62,100 warp toCave -1,-1,018-3.gat,174,86
+013-3.gat,68,97 warp toCave -1,-1,018-3.gat,102,70
+013-3.gat,160,102 warp toCave -1,-1,009-3.gat,117,20
+013-3.gat,141,146 warp toLowerEntrance -1,-1,017-1.gat,76,32
+013-3.gat,173,127 warp toOutsideUpper -1,-1,017-1.gat,98,21
+013-3.gat,162,170 warp toOutsideClovers -1,-1,017-1.gat,97,30
+013-3.gat,153,126 warp toCave02 -1,-1,013-3.gat,119,147
+013-3.gat,119,149 warp toCave01 -1,-1,013-3.gat,153,127
+013-3.gat,159,152 warp toCave03 -1,-1,013-3.gat,148,161
+013-3.gat,148,160 warp toCave04 -1,-1,013-3.gat,159,151
+013-3.gat,122,170 warp toCave_05 0,-1,013-3.gat,171,175
+013-3.gat,172,177 warp toCave_06 1,-1,013-3.gat,121,168
diff --git a/world/map/npc/013-3/barrier.txt b/world/map/npc/013-3/barrier.txt
new file mode 100644
index 00000000..0ec3f86a
--- /dev/null
+++ b/world/map/npc/013-3/barrier.txt
@@ -0,0 +1,19 @@
+//
+
+//013-3.gat,71,21,0 script #DemonMineBarrier1#_M 0,1,1,{
+013-3.gat,71,21,0 script #DemonMineBarrier1#_M 127,1,1,{
+ if (QUEST_demon_mines >= 2) close;
+
+ if (QUEST_demon_mines == 1 && countitem(1198) >= 1) goto L_Has_Jack_O_Soul;
+
+ mes "A barrier around the opening pushes you back as you approach.";
+
+ warp "013-3.gat", 71, 25;
+ close;
+
+L_Has_Jack_O_Soul:
+ mes "The barrier around the opening allows you passage.";
+ set QUEST_demon_mines, 2;
+ delitem "JackOSoul", 1;
+ close;
+}
diff --git a/world/map/npc/013-3/mask_chest.txt b/world/map/npc/013-3/mask_chest.txt
new file mode 100644
index 00000000..fb72f54c
--- /dev/null
+++ b/world/map/npc/013-3/mask_chest.txt
@@ -0,0 +1,176 @@
+//
+
+013-3.gat,28,27,0 script Chest#DemonMask 111,{
+ if (QUEST_demon_mines < 2) goto L_This_shouldn_t_happen;
+ if (QUEST_demon_mines == 3) goto L_Finished;
+
+ if (countitem("MaggotSlime") == 0) goto L_No_maggot_slime;
+ if (countitem("SmallMushroom") == 0) goto L_No_mushroom;
+ if (countitem("PinkPetal") == 0) goto L_No_pink_petal;
+
+ if (countitem("Pearl") == 0) goto L_No_pearl;
+ if (countitem("HardSpike") == 0) goto L_No_hard_spike;
+ if (countitem("RawLog") == 0) goto L_No_raw_log;
+
+ if (countitem("PinkAntenna") == 0) goto L_No_pink_antenna;
+ if (countitem("SnakeTongue") == 0 || countitem("MountainSnakeTongue") == 0 || countitem("GrassSnakeTongue") == 0 || countitem("CaveSnakeTongue") == 0) goto L_No_tongues;
+ if (countitem("TreasureKey") == 0) goto L_No_treasure_key;
+
+ if (countitem("PileOfAsh") == 0) goto L_No_ash;
+ if (countitem("MauveHerb") == 0 || countitem("CobaltHerb") == 0 || countitem("GambogeHerb") == 0 || countitem("AlizarinHerb") == 0) goto L_No_herbs;
+ if (countitem("BugLeg") == 0) goto L_No_bug_leg;
+
+ if (countitem("CaveSnakeLamp") == 0) goto L_No_lamp;
+ if (countitem("IronOre") == 0) goto L_No_iron_ore;
+ if (countitem("ScorpionStinger") == 0 || countitem("RedScorpionStinger") == 0 || countitem("BlackScorpionStinger") == 0) goto L_No_stingers;
+
+ if (countitem("SilkCocoon") == 0) goto L_No_silk;
+ if (countitem("WhiteFur") == 0) goto L_No_fur;
+ if (countitem("DarkCrystal") == 0) goto L_No_dark_crystal;
+
+ if (countitem("BottleOfWater") == 0) goto L_No_water;
+
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("MaggotSlime") > 1 && countitem("BugLeg") > 1 && countitem("SilkCocoon") > 1
+ && countitem("SmallMushroom") > 1 && countitem("PinkPetal") > 1 && countitem("Pearl") > 1
+ && countitem("HardSpike") > 1 && countitem("RawLog") > 1 && countitem("PinkAntenna") > 1
+ && countitem("DarkCrystal") > 1 && countitem("IronOre") > 1 && countitem("ScorpionStinger") > 1
+ && countitem("RedScorpionStinger") > 1 && countitem("BlackScorpionStinger") > 1 && countitem("SnakeTongue") > 1
+ && countitem("MountainSnakeTongue") > 1 && countitem("GrassSnakeTongue") > 1 && countitem("CaveSnakeTongue") > 1
+ && countitem("MauveHerb") > 1 && countitem("CobaltHerb") > 1 && countitem("GambogeHerb") > 1
+ && countitem("AlizarinHerb") > 1 && countitem("TreasureKey") > 1 && countitem("CaveSnakeLamp") > 1
+ && countitem("PileOfAsh") > 1 && countitem("WhiteFur") > 1 && countitem("BottleOfWater") > 1) goto L_TooMany;
+
+ delitem "MaggotSlime", 1;
+ delitem "BugLeg", 1;
+ delitem "SilkCocoon", 1;
+
+ delitem "SmallMushroom", 1;
+ delitem "PinkPetal", 1;
+ delitem "Pearl", 1;
+
+ delitem "HardSpike", 1;
+ delitem "RawLog", 1;
+ delitem "PinkAntenna", 1;
+
+ delitem "DarkCrystal", 1;
+ delitem "IronOre", 1;
+ delitem "ScorpionStinger", 1;
+
+ delitem "RedScorpionStinger", 1;
+ delitem "BlackScorpionStinger", 1;
+ delitem "SnakeTongue", 1;
+
+ delitem "MountainSnakeTongue", 1;
+ delitem "GrassSnakeTongue", 1;
+ delitem "CaveSnakeTongue", 1;
+
+ delitem "MauveHerb", 1;
+ delitem "CobaltHerb", 1;
+ delitem "GambogeHerb", 1;
+
+ delitem "AlizarinHerb", 1;
+ delitem "TreasureKey", 1;
+ delitem "CaveSnakeLamp", 1;
+
+ delitem "WhiteFur", 1;
+ delitem "PileOfAsh", 1;
+ delitem "BottleOfWater", 1;
+
+ mes "You managed to perform the ritual and open the chest.";
+ getitem "DemonMask", 1;
+ mes "You found a demon mask inside.";
+ set QUEST_demon_mines, 3;
+ close;
+
+L_No_maggot_slime:
+ mes "You do not have any maggot slime.";
+ close;
+
+L_No_mushroom:
+ mes "You do not have a mushroom, neither big, nor small.";
+ close;
+
+L_No_pink_petal:
+ mes "You can't seem to find that pink petal you had.";
+ close;
+
+L_No_pearl:
+ mes "You do not have a pearl, let alone one from the sea.";
+ close;
+
+L_No_hard_spike:
+ mes "You weren't able to find a hard spike in the stuff you brought.";
+ close;
+
+L_No_raw_log:
+ mes "You don't have any wood.";
+ close;
+
+L_No_pink_antenna:
+ mes "You aren't carrying any antenna.";
+ close;
+
+L_No_tongues:
+ mes "You don't have four different snake tongues.";
+ close;
+
+L_No_treasure_key:
+ mes "No treasure chest key, no opening ritual.";
+ close;
+
+L_No_ash:
+ mes "You still need a pile of ash.";
+ close;
+
+L_No_herbs:
+ mes "Four different herbs are needed to get this thing open.";
+ close;
+
+L_No_bug_leg:
+ mes "You do not have part of a bug on you. That is rather odd considering what you went through to get here.";
+ close;
+
+L_No_lamp:
+ mes "You do not have a lamp. Yet, somehow, you were able to get this far into this dark cave.";
+ close;
+
+L_No_iron_ore:
+ mes "\"Rock and metal, as one.\" You don't seem to have anything that fits the bill.";
+ close;
+
+L_No_stingers:
+ mes "Three scorpion deaths are still missing.";
+ close;
+
+L_No_silk:
+ mes "You could not find the womb for a butterfly among your stuff.";
+ close;
+
+L_No_fur:
+ mes "You wonder how you can carry the \"gentle caress of a creature without blemish.\" But you need it to get this thing open.";
+ close;
+
+L_No_dark_crystal:
+ mes "A piece of darkness is missing.";
+ close;
+
+L_No_water:
+ mes "Just one bottle of water and you can start the ritual.";
+ close;
+
+L_This_shouldn_t_happen:
+ warp "013-3.gat", 71, 25;
+ // You need to go through the barrier to get to the chest, so this shouldn't happen. So just warp them like the barrier does.
+ close;
+
+L_Finished:
+ mes "[Chest]";
+ mes "You already opened this chest.";
+ close;
+
+L_TooMany:
+ mes "[Chest]";
+ mes "You don't have room for what ever is inside. Maybe you should try again later.";
+ close;
+}
diff --git a/world/map/npc/013-3/misc.txt b/world/map/npc/013-3/misc.txt
new file mode 100644
index 00000000..8f7da034
--- /dev/null
+++ b/world/map/npc/013-3/misc.txt
@@ -0,0 +1,6 @@
+//
+
+013-3.gat,127,68,0 script Chest 111,{
+ mes "You can't see any way to open this chest.";
+ close;
+}
diff --git a/world/map/npc/013-3/sword_chest.txt b/world/map/npc/013-3/sword_chest.txt
new file mode 100644
index 00000000..5d2c97b7
--- /dev/null
+++ b/world/map/npc/013-3/sword_chest.txt
@@ -0,0 +1,38 @@
+//
+
+013-3.gat,177,22,0 script Chest 111,{
+ if( ChestQuest & 2) goto L_Finished;
+
+ mes "[Chest]";
+ mes "Would you try to open it?";
+ next;
+ menu
+ "Yes", L_Yes,
+ "No", -;
+ close;
+
+L_Yes:
+ if(countitem("TreasureKey") < 10) goto L_Not_Enough;
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("TreasureKey") > 10) goto L_TooMany;
+ delitem "TreasureKey", 10;
+ getitem "ShortSword", 1;
+ mes "[Chest]";
+ mes "You opened it and found a short sword!";
+ set ChestQuest, ChestQuest | 2;
+ close;
+
+L_Not_Enough:
+ mes "It seems that this is not the right key...";
+ close;
+
+L_Finished:
+ mes "[Chest]";
+ mes "You already opened this chest.";
+ close;
+
+L_TooMany:
+ mes "[Chest]";
+ mes "You don't have room for what ever is inside. Maybe you should try again later.";
+ close;
+}