From 16cf7d67834ab45de67a2dce2ec7406373547816 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Feb 2021 15:49:47 -0300 Subject: Replace the hack of pet jump on drowned map with the server-code patch --- npc/017-1/drowned_man.txt | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'npc/017-1/drowned_man.txt') diff --git a/npc/017-1/drowned_man.txt b/npc/017-1/drowned_man.txt index 14330b8c3..96046123e 100644 --- a/npc/017-1/drowned_man.txt +++ b/npc/017-1/drowned_man.txt @@ -109,27 +109,9 @@ OnInit: end; } - // Rate-limited? (3 seconds rate limit) - if (@nojump >= gettimetick(2)+3) { - dispbottom l("Gimme a sec to take a breath! I don't want to jump!"); - end; - } - mesc l("Are you really going to jump here?"); next; if (askyesno() == ASK_YES) { - // Can't jump with pets - // FIXME: Move it elsewhere - resist pet_Detective updates - for (.@i=0+PiouEgg; .@i <= 0+MoggunEgg ; .@i++) { - if (countitem(.@i) > 0) { - mesc l("Can't bring pets with you..."), 1; - next; - mesc l("Do you really think the poor creature should jump a bridge in water and DIE?"), 1; - @nojump=gettimetick(2); - mesc l("* Put the %s safely in storage before jumping.", getitemlink(.@i)); - close; - } - } // Do the jump! closeclientdialog; slide .x, .y; -- cgit v1.2.3-60-g2f50