summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-23 11:25:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-23 11:25:20 -0300
commit713121b394f7b08c0846691aaebd56afc08d71f3 (patch)
treef5d1af051090ee0437ba8f7f1d4557f3a08d69c4
parentb56ce27a05a2f9c5160e2cd1ce923a5afa108afb (diff)
downloadserverdata-713121b394f7b08c0846691aaebd56afc08d71f3.tar.gz
serverdata-713121b394f7b08c0846691aaebd56afc08d71f3.tar.bz2
serverdata-713121b394f7b08c0846691aaebd56afc08d71f3.tar.xz
serverdata-713121b394f7b08c0846691aaebd56afc08d71f3.zip
Sewerage Path: Ensure that warp is aborted if you die.
Note: That definitely should be an easter egg.
-rw-r--r--db/constants.conf1
-rw-r--r--npc/003-1-1/downpath.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 54522d8e9..14c14618c 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -2071,6 +2071,7 @@ constants_db: {
EE_THEATER: 16
EE_JAK1: 32
EE_MANATAURO: 64
+ EE_SEWERS: 128
comment__: "Teleporter enum"
TP_NONE: 0
diff --git a/npc/003-1-1/downpath.txt b/npc/003-1-1/downpath.txt
index fd0c77480..b68bca41e 100644
--- a/npc/003-1-1/downpath.txt
+++ b/npc/003-1-1/downpath.txt
@@ -16,8 +16,10 @@
closedialog;
sc_start SC_STUN, 3000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, getcharid(3);
sleep2(3000);
+ if (ispcdead()) end;
warp "003-1-3", 45, 36;
dispbottom l("At long last, you see the end of the corritor.");
+ RegEasterEgg(EE_SEWERS, 3);
end;
}
close;