Quantcast

Let's check for "finger" only, and not "ring" plus another words that have "ring" in them.

pompachomp [07-22-09 - 06:16]
Let's check for "finger" only, and not "ring" plus another words that have "ring" in them.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 1356d1f..ccea0f6 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1503,8 +1503,7 @@ do
 				scan_data.Plate = true
 			elseif (strmatch(text,"cloak")) then
 				scan_data.Cloak = true
-			elseif ((strmatch(text,"ring") or strmatch("finger", text))	and (strmatch(text,"ring:") == nil)
-				and (strmatch(text,"requires") == nil) and (strmatch(text,"engineering") == nil) and (strmatch(text,"herring") == nil)) then
+			elseif (strmatch("finger", text)) then
 				scan_data.Ring = true
 			elseif (strmatch(text,"necklace")) then
 				scan_data.Necklace = true