summaryrefslogtreecommitdiff
path: root/npc/013-3_Cave
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-11-22 22:52:52 +0000
committerJared Adams <jaxad0127@gmail.com>2008-11-22 22:52:52 +0000
commitfc3b3af416688490595b01a43a7e9fbb6d96a3ae (patch)
treef58f1582db77760ea49ffa1d828d351ffa659d58 /npc/013-3_Cave
parentefdff8841ebeb6e223cfe5d15121ef63c3b8314a (diff)
downloadserverdata-fc3b3af416688490595b01a43a7e9fbb6d96a3ae.tar.gz
serverdata-fc3b3af416688490595b01a43a7e9fbb6d96a3ae.tar.bz2
serverdata-fc3b3af416688490595b01a43a7e9fbb6d96a3ae.tar.xz
serverdata-fc3b3af416688490595b01a43a7e9fbb6d96a3ae.zip
Commit an update
Diffstat (limited to 'npc/013-3_Cave')
-rw-r--r--npc/013-3_Cave/_import.txt1
-rw-r--r--npc/013-3_Cave/_mobs.txt79
-rw-r--r--npc/013-3_Cave/barrier.txt6
-rw-r--r--npc/013-3_Cave/mask_chest.txt4
-rw-r--r--npc/013-3_Cave/misc.txt6
-rw-r--r--npc/013-3_Cave/sword_chest.txt31
6 files changed, 43 insertions, 84 deletions
diff --git a/npc/013-3_Cave/_import.txt b/npc/013-3_Cave/_import.txt
index e4208f4f..40597409 100644
--- a/npc/013-3_Cave/_import.txt
+++ b/npc/013-3_Cave/_import.txt
@@ -5,3 +5,4 @@ npc: npc/013-3_Cave/_warps.txt
npc: npc/013-3_Cave/_mobs.txt
npc: npc/013-3_Cave/mask_chest.txt
npc: npc/013-3_Cave/sword_chest.txt
+npc: npc/013-3_Cave/bookcase.txt
diff --git a/npc/013-3_Cave/_mobs.txt b/npc/013-3_Cave/_mobs.txt
index b89dc170..4c3e8330 100644
--- a/npc/013-3_Cave/_mobs.txt
+++ b/npc/013-3_Cave/_mobs.txt
@@ -1,86 +1,7 @@
// 013-3 Cave mobs
-013-3.gat,28,89,16,52 monster Cave Snake 1021,10,0,0,Mob013-3::On1021
-013-3.gat,61,22,2,2 monster Fire Skull 1023,3,0,0,Mob013-3::On1023
-013-3.gat,81,22,2,2 monster Poison Skull 1024,3,0,0,Mob013-3::On1024
-013-3.gat,109,31,6,22 monster Black Scorpion 1009,20,0,0,Mob013-3::On1009
-013-3.gat,119,84,27,38 monster Spider 1012,20,0,0,Mob013-3::On1012
-013-3.gat,176,23,5,6 monster Spider 1012,10,0,0,Mob013-3::On1012
-013-3.gat,82,75,2,2 monster Fire skull 1023,1,0,0,Mob013-3::On1023
-013-3.gat,142,37,2,2 monster Poison skull 1024,1,0,0,Mob013-3::On1024
-013-3.gat,79,134,21,16 monster Scorpion 1003,5,0,0,Mob013-3::On1003
-013-3.gat,71,169,38,17 monster Red scorpion 1004,5,0,0,Mob013-3::On1004
-013-3.gat,64,85,9,21 monster Black scorpion 1009,10,0,0,Mob013-3::On1009
-013-3.gat,81,92,3,20 monster Black scorpion 1009,10,0,0,Mob013-3::On1009
-013-3.gat,162,84,33,37 monster Snake 1010,30,0,0,Mob013-3::On1010
-013-3.gat,162,85,33,37 monster Spider 1012,30,0,0,Mob013-3::On1012
-013-3.gat,172,77,18,25 monster Black scorpion 1009,15,0,0,Mob013-3::On1009
-013-3.gat,145,36,20,15 monster Red slime 1008,25,0,0,Mob013-3::On1008
-013-3.gat,167,37,23,11 monster Snake 1010,20,0,0,Mob013-3::On1010
-013-3.gat,165,25,16,11 monster Black scorpion 1009,15,0,0,Mob013-3::On1009
-013-3.gat,71,39,2,3 monster Cave snake 1021,2,0,0,Mob013-3::On1021
-013-3.gat,159,102,3,5 monster Yellow slime 1007,2,0,0,Mob013-3::On1007
-013-3.gat,67,22,2,2 monster Maggot 1002,2,0,0,Mob013-3::On1002
-013-3.gat,75,22,2,2 monster Maggot 1002,2,0,0,Mob013-3::On1002
-013-3.gat,76,39,7,4 monster Black scorpion 1009,8,0,0,Mob013-3::On1009
-013-3.gat,65,39,7,4 monster Red slime 1008,8,0,0,Mob013-3::On1008
013-3.gat,0,0,0 script Mob013-3 -1,{
-On1002:
- set @mobID, 1002;
- callfunc "MobPoints";
- break;
-
-On1003:
- set @mobID, 1003;
- callfunc "MobPoints";
- break;
-
-On1004:
- set @mobID, 1004;
- 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;
-
end;
}
diff --git a/npc/013-3_Cave/barrier.txt b/npc/013-3_Cave/barrier.txt
index 07f7a12b..635ab234 100644
--- a/npc/013-3_Cave/barrier.txt
+++ b/npc/013-3_Cave/barrier.txt
@@ -1,14 +1,14 @@
//
-013-3.gat,71,21 script #DemonMineBarrier1 127,1,1,{
- if (QUEST_demon_mines >= 2) quit;
+013-3.gat,71,21,0 script #DemonMineBarrier1 127,1,1,{
+ if (QUEST_demon_mines >= 2) close;
if (QUEST_demon_mines == 1 && countitem(1198) >= 1) goto L_Has_Jack_O_Soul;
mes "The barrier around the opening pushes you bach as you approach.";
warp "013-3.gat", 71, 38;
- quit;
+ close;
L_Has_Jack_O_Soul:
mes "The barrier around the opening allows you passage.";
diff --git a/npc/013-3_Cave/mask_chest.txt b/npc/013-3_Cave/mask_chest.txt
index 1fdb6559..5d474107 100644
--- a/npc/013-3_Cave/mask_chest.txt
+++ b/npc/013-3_Cave/mask_chest.txt
@@ -1,5 +1,5 @@
//
-013-3.gat,28,27 script Chest#DemonMask ,{
-
+013-3.gat,28,27,0 script Chest#DemonMask 111,{
+ mes "WIP";
}
diff --git a/npc/013-3_Cave/misc.txt b/npc/013-3_Cave/misc.txt
index e69de29b..8f7da034 100644
--- a/npc/013-3_Cave/misc.txt
+++ b/npc/013-3_Cave/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/npc/013-3_Cave/sword_chest.txt b/npc/013-3_Cave/sword_chest.txt
index e69de29b..aad6dde8 100644
--- a/npc/013-3_Cave/sword_chest.txt
+++ b/npc/013-3_Cave/sword_chest.txt
@@ -0,0 +1,31 @@
+//
+
+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(537) < 10) goto L_Not_Enough;
+ delitem 537, 3;
+ getitem 536, 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;
+}