From 4c4833f97c1ff79d9919c99d3d1a2b4be78f4551 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Wed, 10 Mar 2010 02:52:12 -0600 Subject: [PATCH] Added a fishing handler --- Regexps.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Regexps.lua b/Regexps.lua index 806493c..9acf9c2 100644 --- a/Regexps.lua +++ b/Regexps.lua @@ -148,6 +148,24 @@ local EquipStatsAffixes = { "%.$", } +local FishingMatchLines = { + "^use: replace", + "^use: when applied to your fishing pole", + " increases? your skill in fishing ", +} + +local FishingAffixes = { + "^use: replaces the fishing line on your fishing pole with a %a[%a ]+%a line, increasing +", + "^use: when applied to your fishing pole, increases +", + "^use: makes you slightly tipsy and increases your skill in +", + "%.$", + "utes$", + " +3 min", + " +10 min$", + " +1 hour$", + " +for$", +} + local UseEffectMatchLines = { "^use: ", } @@ -202,6 +220,7 @@ local UseEffectAffixes = { EffectHandlers = { {EquipStatsMatchLines, {}, EquipStatsUnweightedLines, EquipStatsPreprocessLines, EquipStatsAffixes, "equipStats"}, {FoodMatchLines, FoodIgnoreLines, FoodUnweightedLines, FoodPreprocessLines, FoodAffixes, "food"}, + {FishingMatchLines, {}, {}, {}, FishingAffixes, "fishing"}, {UseEffectMatchLines, UseEffectIgnoreLines, UseEffectUnweightedLines, UseEffectPreprocessLines, UseEffectAffixes, "useEffects"}, } -- 1.7.9.5