Quantcast

Prevent a recipe with the word 'rainbow' in it, to be flagged as missing the 'bow' flag.

pompachomp [09-06-09 - 02:10]
Prevent a recipe with the word 'rainbow' in it, to be flagged as missing the 'bow' flag.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 04985ee..cb2bc10 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1637,7 +1637,7 @@ do
 				scan_data.Wand = true
 			elseif (strmatch(text, "thrown")) then
 				scan_data.Thrown = true
-			elseif (strmatch(text, "bow")) then
+			elseif (strmatch(text, "bow") and (strmatch(text, "rainbow") == nil)) then
 				scan_data.Bow = true
 			elseif (strmatch(text, "crossbow")) then
 				scan_data.CrossBow = true