summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-28 19:31:56 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-28 19:31:56 -0300
commitbfea966e720beed6b78d9c22104c041c435806c0 (patch)
tree25da42f3a79752adb892c4a6e0e2095bc5c04781 /npc/017-1
parent64becb1b9ddcb7cf7ed297b4b3a8bf014e2d159d (diff)
downloadserverdata-bfea966e720beed6b78d9c22104c041c435806c0.tar.gz
serverdata-bfea966e720beed6b78d9c22104c041c435806c0.tar.bz2
serverdata-bfea966e720beed6b78d9c22104c041c435806c0.tar.xz
serverdata-bfea966e720beed6b78d9c22104c041c435806c0.zip
More optional debug
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/drowned_man.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/017-1/drowned_man.txt b/npc/017-1/drowned_man.txt
index bd3c693a2..ec808ef73 100644
--- a/npc/017-1/drowned_man.txt
+++ b/npc/017-1/drowned_man.txt
@@ -119,9 +119,9 @@ OnInit:
next;
if (askyesno() == ASK_YES) {
// Can't jump with pets
- getinventorylist();
- for (.@i=4000; .@i < 4015 ; .@i++) {
- if (array_find(@inventorylist_id, .@i) >= 0) {
+ // FIXME: Move it elsewhere - resist pet_Detective updates
+ for (.@i=PiouEgg; .@i <= BatEgg ; .@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;