From 2787a50820f68f3a360445bfdf4aef4877c8be1c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 23 Dec 2018 15:01:40 -0200 Subject: Actually, I just remembered a small fishing tip, about fishing at night. During night, fishes may bite the bait a bit faster than during day. The time gain is currently irrelevant (at most 2 secs). But it can be tweaked later. --- npc/functions/fishing.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions/fishing.txt') diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 44316bf40..3777a17fc 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -118,6 +118,11 @@ function script fishing { .@wait_time_max = getvariableofnpc(.wait_time_max, .@npc$); // max amount of time to wait for the line to sink .@wait_time_max = (.@wait_time_max ? .@wait_time_max : 18000); + // During night time there are more fishes, and therefore, it is easier to fish + // This will make they reply at most 10% faster. Default is a 2 second max delay gain + if (is_night()) + .@wait_time_max = min(.@wait_time_min, .@wait_time_max*9/10); + .@catch_time = getvariableofnpc(.catch_time, .@npc$); // the player must catch the fish within X ms after the line sinks .@catch_time = (.@catch_time ? .@catch_time : 5000); -- cgit v1.2.3-70-g09d2