summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-11 18:10:23 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-11 18:10:23 -0300
commit0fa2e68be96a782d6b9c757ddc7d03632c91a376 (patch)
tree221e1054d14ec8ed752dfb3f4728dbd24b94e7d1 /npc/functions/fishing.txt
parent23a45b9198f81309074d6417c5952c6397fcd0da (diff)
downloadserverdata-0fa2e68be96a782d6b9c757ddc7d03632c91a376.tar.gz
serverdata-0fa2e68be96a782d6b9c757ddc7d03632c91a376.tar.bz2
serverdata-0fa2e68be96a782d6b9c757ddc7d03632c91a376.tar.xz
serverdata-0fa2e68be96a782d6b9c757ddc7d03632c91a376.zip
Refine Master Core Script.
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt9
1 files changed, 3 insertions, 6 deletions
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;