diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-09-04 22:55:11 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-09-04 22:55:54 +0200 |
commit | 5acfecb3454fd98ea58b1cb4c4a0f826ae565716 (patch) | |
tree | 3393ac804547e6edab74bf8fb4f05d85e2fbdfce | |
parent | 5f54f3a2a47949fa8d9b970818d1d0749b3d1909 (diff) | |
download | serverdata-5acfecb3454fd98ea58b1cb4c4a0f826ae565716.tar.gz serverdata-5acfecb3454fd98ea58b1cb4c4a0f826ae565716.tar.bz2 serverdata-5acfecb3454fd98ea58b1cb4c4a0f826ae565716.tar.xz serverdata-5acfecb3454fd98ea58b1cb4c4a0f826ae565716.zip |
Jes was right, using NPCEyes for invcheck is easiest.
-rw-r--r-- | npc/functions/fishing.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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 |