diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-09-18 15:24:17 +0300 |
---|---|---|
committer | Joseph Botosh <rumly111@gmail.com> | 2015-09-18 15:24:17 +0300 |
commit | 4152634b6cc0f63bc54107042df0f8752abd18ea (patch) | |
tree | dded09227b0821ae712d69db2b8b333eb3e020c6 | |
parent | 3a2fc1c1bb2bf76d2e504410909194644dc9a561 (diff) | |
download | serverdata-4152634b6cc0f63bc54107042df0f8752abd18ea.tar.gz serverdata-4152634b6cc0f63bc54107042df0f8752abd18ea.tar.bz2 serverdata-4152634b6cc0f63bc54107042df0f8752abd18ea.tar.xz serverdata-4152634b6cc0f63bc54107042df0f8752abd18ea.zip |
add FishingRod to fishing and eugene scripts
-rw-r--r-- | npc/001-1/eugene.txt | 1 | ||||
-rw-r--r-- | npc/functions/fishing.txt | 13 |
2 files changed, 7 insertions, 7 deletions
diff --git a/npc/001-1/eugene.txt b/npc/001-1/eugene.txt index b51248ca6..e9ba951ab 100644 --- a/npc/001-1/eugene.txt +++ b/npc/001-1/eugene.txt @@ -64,6 +64,7 @@ L_CheckItems: l("Have a good fishing!"); delitem .BaitID, .BaitCount; + additem FishingRod, 1; setq ArtisQuests_Fishman, 2; close; diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 08dd0b1a6..4d754adcc 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -18,13 +18,12 @@ function script fishing { setarray .@bait_ids[0], SmallTentacles, Bread, Aquada, UrchinMeat, TortugaTongue, Tentacles; - // if (countitem(FishingRod) < 1) - // { - // narrator - // l("You don't have a @@", getitemlink(FishingRod)); - // return -1; - // } - + if (countitem(FishingRod) < 1) + { + narrator + l("You don't have a @@.", getitemlink(FishingRod)); + return -1; + } L_ChooseBait: .@curr_wait_times = 0; |