From 713121b394f7b08c0846691aaebd56afc08d71f3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 23 Feb 2021 11:25:20 -0300 Subject: Sewerage Path: Ensure that warp is aborted if you die. Note: That definitely should be an easter egg. --- db/constants.conf | 1 + npc/003-1-1/downpath.txt | 2 ++ 2 files changed, 3 insertions(+) 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; -- cgit v1.2.3-70-g09d2