summaryrefslogtreecommitdiff
path: root/world/map/npc/027-5
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/027-5')
-rw-r--r--world/map/npc/027-5/_import.txt8
-rw-r--r--world/map/npc/027-5/_mobs.txt41
-rw-r--r--world/map/npc/027-5/_warps.txt4
-rw-r--r--world/map/npc/027-5/casket_traps.txt80
-rw-r--r--world/map/npc/027-5/general_terogan_door.txt19
-rw-r--r--world/map/npc/027-5/mapflags.txt1
6 files changed, 153 insertions, 0 deletions
diff --git a/world/map/npc/027-5/_import.txt b/world/map/npc/027-5/_import.txt
new file mode 100644
index 00000000..f1f1a3bd
--- /dev/null
+++ b/world/map/npc/027-5/_import.txt
@@ -0,0 +1,8 @@
+// Map 027-5: Crypt Sub-Basement Two
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+map: 027-5.gat
+npc: npc/027-5/_mobs.txt
+npc: npc/027-5/_warps.txt
+npc: npc/027-5/casket_traps.txt
+npc: npc/027-5/general_terogan_door.txt
+npc: npc/027-5/mapflags.txt
diff --git a/world/map/npc/027-5/_mobs.txt b/world/map/npc/027-5/_mobs.txt
new file mode 100644
index 00000000..a1cd354a
--- /dev/null
+++ b/world/map/npc/027-5/_mobs.txt
@@ -0,0 +1,41 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Crypt Sub-Basement Two mobs
+
+027-5.gat,69,42,97,41|monster|Wight|1124,6,60000,8000,Mob027-5::On1124
+027-5.gat,69,56,97,69|monster|VampireBat|1066,30,100000,30000,Mob027-5::On1066
+027-5.gat,69,42,98,40|monster|Skeleton|1043,8,60000,8000,Mob027-5::On1043
+027-5.gat,69,41,98,39|monster|LadySkeleton|1044,8,60000,8000,Mob027-5::On1044
+027-5.gat,68,42,97,40|monster|RedBone|1074,6,60000,8000,Mob027-5::On1074
+027-5.gat,70,80,98,34|monster|Skeleton|1043,8,60000,8000,Mob027-5::On1043
+027-5.gat,69,80,99,36|monster|LadySkeleton|1044,8,60000,8000,Mob027-5::On1044
+
+
+027-5.gat,0,0,0|script|Mob027-5|-1,
+{
+ end;
+
+On1043:
+ set @mobID, 1043;
+ callfunc "MobPoints";
+ end;
+
+On1044:
+ set @mobID, 1044;
+ callfunc "MobPoints";
+ end;
+
+On1066:
+ set @mobID, 1066;
+ callfunc "MobPoints";
+ end;
+
+On1074:
+ set @mobID, 1074;
+ callfunc "MobPoints";
+ end;
+
+On1124:
+ set @mobID, 1124;
+ callfunc "MobPoints";
+ end;
+}
diff --git a/world/map/npc/027-5/_warps.txt b/world/map/npc/027-5/_warps.txt
new file mode 100644
index 00000000..00e48703
--- /dev/null
+++ b/world/map/npc/027-5/_warps.txt
@@ -0,0 +1,4 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Crypt Sub-Basement Two warps
+
+027-5.gat,125,17|warp|To Crypts Sub-Basement Two|3,-1,027-4.gat,21,97
diff --git a/world/map/npc/027-5/casket_traps.txt b/world/map/npc/027-5/casket_traps.txt
new file mode 100644
index 00000000..33d3ae56
--- /dev/null
+++ b/world/map/npc/027-5/casket_traps.txt
@@ -0,0 +1,80 @@
+027-5.gat,60,34,0|script|#casket17|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,34,50,0|script|#casket18|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,49,76,0|script|#casket19|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,60,89,0|script|#casket20|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,90,90,0|script|#casket21|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,92,76,0|script|#casket22|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,117,61,0|script|#casket23|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,94,48,0|script|#casket24|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
diff --git a/world/map/npc/027-5/general_terogan_door.txt b/world/map/npc/027-5/general_terogan_door.txt
new file mode 100644
index 00000000..306ace35
--- /dev/null
+++ b/world/map/npc/027-5/general_terogan_door.txt
@@ -0,0 +1,19 @@
+// Mini-Boss
+// General Terogan
+
+027-5.gat,70,25,0|script|#GeneralDoor3|35,1,0
+{
+ if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT3 != 0) )
+ goto L_NoKeys;
+
+ delitem "CryptKey", 10;
+ warp "027-8.gat",39,60;
+ goto L_Close;
+
+L_NoKeys:
+ message strcharinfo(0), "This door is locked.";
+ end;
+
+L_Close:
+ close;
+}
diff --git a/world/map/npc/027-5/mapflags.txt b/world/map/npc/027-5/mapflags.txt
new file mode 100644
index 00000000..49e0bd57
--- /dev/null
+++ b/world/map/npc/027-5/mapflags.txt
@@ -0,0 +1 @@
+027-5.gat|mapflag|resave|027-2,105,94