Quantcast

Fixed parsing some food effects

Kevin Lyles [01-03-14 - 02:53]
Fixed parsing some food effects
Filename
Locales/enUS/patterns-food.lua
diff --git a/Locales/enUS/patterns-food.lua b/Locales/enUS/patterns-food.lua
index 9d63cca..93826ba 100644
--- a/Locales/enUS/patterns-food.lua
+++ b/Locales/enUS/patterns-food.lua
@@ -9,6 +9,8 @@ local FoodMatchLines = {
 	"^use: restores .* every seco?n?d? for ",
 	"^use: set out a %a+ feast ",
 	" drunk",
+	-- items 21254, 46691, and 46710
+	" well fed,? ",
 	" drinker's desire ",
 	" smooo+th",
 }
@@ -38,15 +40,17 @@ local FoodAffixes = {
 	"^set out a great feast that will feed your party! +",
 	"^set out a bountiful feast to feed a very hungry party%. +",
 	"^restores %d+%%? %a+ over %d+ sec%. *",
-	"^restores %d+%%? health and %d*%%? ?mana over %d+ sec%. *",
+	"^restores %d+%%? health and %d*%%? ?mana f?ov?e?r %d+ sec%. *",
 	"^restores %d+ %a+ over %d+ sec, but at a cost%. +",
 	"^must remain seated while %a+ing%. +",
-	"^if you spend at least %d+ seco?n?d?s? %a+ing you will become \"?well fed\"? and +",
-	"^if you spend at least %d+ seco?n?d?s? %a+ing you will become enlightened and +",
+	"^if you spend at least %d+ seco?n?d?s? %a+ing you will become \"?well fed,?\"? +",
+	"^if you spend at least %d+ seco?n?d?s? %a+ing you will become enlightened +",
 	"^if you eat for %d+ seconds will +",
+	"^and +",
 	"^gain +",
 	"^also +",
 	"^increases? +",
+	"^increasing +",
 	"^your +",
 	"^restores +",
 	" +green means it's good!$",