summaryrefslogtreecommitdiff
path: root/npc/027-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/027-3')
-rw-r--r--npc/027-3/_import.txt8
-rw-r--r--npc/027-3/_mobs.txt8
-rw-r--r--npc/027-3/_warps.txt4
-rw-r--r--npc/027-3/caskets.txt7
-rw-r--r--npc/027-3/entrance.txt41
-rw-r--r--npc/027-3/mapflags.txt1
6 files changed, 69 insertions, 0 deletions
diff --git a/npc/027-3/_import.txt b/npc/027-3/_import.txt
new file mode 100644
index 00000000..96b4da1a
--- /dev/null
+++ b/npc/027-3/_import.txt
@@ -0,0 +1,8 @@
+// Map 027-3: Crypt
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+map: 027-3.gat
+npc: npc/027-3/_mobs.txt
+npc: npc/027-3/_warps.txt
+npc: npc/027-3/caskets.txt
+npc: npc/027-3/entrance.txt
+npc: npc/027-3/mapflags.txt
diff --git a/npc/027-3/_mobs.txt b/npc/027-3/_mobs.txt
new file mode 100644
index 00000000..11df5c67
--- /dev/null
+++ b/npc/027-3/_mobs.txt
@@ -0,0 +1,8 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Crypt mobs
+
+
+
+027-3.gat,0,0,0 script Mob027-3 -1,{
+ end;
+}
diff --git a/npc/027-3/_warps.txt b/npc/027-3/_warps.txt
new file mode 100644
index 00000000..50380b5d
--- /dev/null
+++ b/npc/027-3/_warps.txt
@@ -0,0 +1,4 @@
+// This file is generated automatically. All manually changes will be removed when running the Converter.
+// Crypt warps
+
+027-3.gat,127,44 warp toCryptLevel2 1,-1,027-4.gat,37,21
diff --git a/npc/027-3/caskets.txt b/npc/027-3/caskets.txt
new file mode 100644
index 00000000..2a3bf043
--- /dev/null
+++ b/npc/027-3/caskets.txt
@@ -0,0 +1,7 @@
+// Casket monster traps and key puzzle.
+027-3.gat,40,35,0 script #casket1 127,1,1{
+ heal 3,0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+} \ No newline at end of file
diff --git a/npc/027-3/entrance.txt b/npc/027-3/entrance.txt
new file mode 100644
index 00000000..62bd93d7
--- /dev/null
+++ b/npc/027-3/entrance.txt
@@ -0,0 +1,41 @@
+// Effects for opening and closing the gate. Also set it so no new player can't be warped in once the gate is opened.
+
+027-3.gat,40,57,0 script #gatecontrol 127,2,1{
+ mes "Once you pass this point I cannot warp anyone else to help. "
+ + "Are you sure you are ready to go?";
+ menu
+ "Let's go",L_BEGIN,
+ "No thank you",-;
+ warp "027-3.gat",40,60;
+ close;
+
+L_BEGIN:
+ disablenpc "#closedgate";
+ initnpctimer;
+ specialeffect 300;
+ // add stop alacrius warp flag to temp globals
+ close;
+
+OnTimer2000:
+ enablenpc "#opengate";
+ disablenpc "#gatecontrol";
+ end;
+}
+
+027-3.gat,40,59,0 script #closedgate 322,{
+ end;
+}
+027-3.gat,40,59,0 script #opengate 323,{
+ end;
+}
+
+
+// Effects for the exit.
+
+027-3.gat,40,78,0 script #cryptexit2 127,3,3{
+ mes "Unfortunately, once I bring you to this time pocket"
+ + "you cannot leave through its normal exit."
+ + "The only way to get out is to defeat the reaper"
+ + "or die...";
+ close;
+}
diff --git a/npc/027-3/mapflags.txt b/npc/027-3/mapflags.txt
new file mode 100644
index 00000000..5f9c091d
--- /dev/null
+++ b/npc/027-3/mapflags.txt
@@ -0,0 +1 @@
+027-3.gat mapflag nosave 027-2,107,31;