From 0fa2e68be96a782d6b9c757ddc7d03632c91a376 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 11 Jul 2018 18:10:23 -0300 Subject: Refine Master Core Script. --- npc/functions/fishing.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'npc/functions/fishing.txt') diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index c87935fff..33f746c9d 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -246,21 +246,18 @@ function script fishing { .@bait = requestitem(); .@bait_c = false; - if (.@bait < 1) - { + if (.@bait < 1) { narrator S_FIRST_BLANK_LINE, l("You take your fishing rod and leave."); return -6; } - if (countitem(.@bait) < 1) - { + if (countitem(.@bait) < 1) { return -6; } - for (.@i = 0; .@i < .@baits; .@i += 2) - { + for (.@i = 0; .@i < .@baits; .@i += 2) { if (getvariableofnpc(.bait_ids[.@i], .@npc$) == .@bait) { .@bait_c = true; -- cgit v1.2.3-60-g2f50