From 5acfecb3454fd98ea58b1cb4c4a0f826ae565716 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Wed, 4 Sep 2024 22:55:11 +0200 Subject: Jes was right, using NPCEyes for invcheck is easiest. --- npc/functions/fishing.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index ba6ad8239..48ee18906 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -173,6 +173,13 @@ function script fishing { return -1; } + // Check weight & inventory slots. NPCEyes were 200g at moment of + // writing this, which exceeds any obtainable reward. + inventoryplace NPCEyes, .@net_ratio + + 1 + // ancient blueprint + $EVENT$ == "Fishing" ? 3 : 0; + + if (.@account_id > 0 && !isloggedin(.@account_id, .@char_id)) { fishing_cleanup .@npc$; // reset -- cgit v1.2.3-70-g09d2