summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-5/jeweler.txt5
-rw-r--r--npc/003-6/cyndala.txt6
-rw-r--r--npc/017-1/drowned_man.txt6
3 files changed, 12 insertions, 5 deletions
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt
index 9b37ae1a4..21639ffe9 100644
--- a/npc/003-5/jeweler.txt
+++ b/npc/003-5/jeweler.txt
@@ -141,9 +141,12 @@ L_Clear:
goto L_Menu;
// Check if we received an item
- getinventorylist;
+ getinventorylist();
.@item=@inventorylist_id[.@item_index];
+ if (is_staff())
+ mesf "Item Index %d (%s) - ID %d", .@item_index, getitemlink(.@item), .@item;
+
// Is it the one we're looking for?
if (.@item != GoldenRing && .@item != SilverRing) {
mesn;
diff --git a/npc/003-6/cyndala.txt b/npc/003-6/cyndala.txt
index 6e50b2088..4fc303760 100644
--- a/npc/003-6/cyndala.txt
+++ b/npc/003-6/cyndala.txt
@@ -26,7 +26,11 @@
if (.@item_index < 0)
return false;
- getinventorylist;
+ getinventorylist();
+ if (is_staff())
+ mesf "Item Index %d (%s) - ID %d", .@item_index,
+ getitemlink(@inventorylist_id[.@item_index]),
+ @inventorylist_id[.@item_index];
if (@inventorylist_card1[.@item_index] != 0)
{
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;