Quantcast

Fixed sha-touched gems (and removed the old hydraulic name)

Kevin Lyles [11-03-12 - 18:21]
Fixed sha-touched gems (and removed the old hydraulic name)
Filename
GemIds.lua
Locales/enUS/gems.lua
Locales/enUS/patterns-sockets.lua
WeightsWatcher.lua
diff --git a/GemIds.lua b/GemIds.lua
index 3ce49df..4ce8222 100644
--- a/GemIds.lua
+++ b/GemIds.lua
@@ -5594,17 +5594,17 @@ ww_gems = {
 			},
 			[14] = {
 				[4996] = {
-					"hydraulic",
+					"sha-touched",
 					"Crystallized Dread",
 					{[L["agility"]] = 500},
 				},
 				[4997] = {
-					"hydraulic",
+					"sha-touched",
 					"Crystallized Terror",
 					{[L["strength"]] = 500},
 				},
 				[4998] = {
-					"hydraulic",
+					"sha-touched",
 					"Crystallized Horror",
 					{[L["intellect"]] = 500},
 				},
diff --git a/Locales/enUS/gems.lua b/Locales/enUS/gems.lua
index 73b2ebc..9adbb36 100644
--- a/Locales/enUS/gems.lua
+++ b/Locales/enUS/gems.lua
@@ -907,6 +907,7 @@ ww_gemColorDisplayNames = {
 	["prismatic"] = "Prismatic",
 	["purple"] = "Purple",
 	["red"] = "Red",
+	["sha-touched"] = "Sha-Touched",
 	["yellow"] = "Yellow",
 	["N/A"] = "N/A",
 }
@@ -914,10 +915,10 @@ ww_gemColorDisplayNames = {
 ww_localizedSocketColors = {
 	["blue"] = "blue",
 	["cogwheel"] = "cogwheel",
-	["hydraulic"] = "hydraulic",
 	["meta"] = "meta",
 	["prismatic"] = "prismatic",
 	["red"] = "red",
+	["sha-touched"] = "sha-touched",
 	["yellow"] = "yellow",
 }

@@ -929,10 +930,10 @@ end
 ww_socketColorDisplayNames = {
 	[ww_localizedSocketColors["blue"]] = "Blue",
 	[ww_localizedSocketColors["cogwheel"]] = "Cogwheel",
-	[ww_localizedSocketColors["hydraulic"]] = "Hydraulic",
 	[ww_localizedSocketColors["meta"]] = "Meta",
 	[ww_localizedSocketColors["prismatic"]] = "Prismatic",
 	[ww_localizedSocketColors["red"]] = "Red",
+	[ww_localizedSocketColors["sha-touched"]] = "Sha-Touched",
 	[ww_localizedSocketColors["yellow"]] = "Yellow",
 }

diff --git a/Locales/enUS/patterns-sockets.lua b/Locales/enUS/patterns-sockets.lua
index 463a81f..0296ef7 100644
--- a/Locales/enUS/patterns-sockets.lua
+++ b/Locales/enUS/patterns-sockets.lua
@@ -6,4 +6,9 @@ local function sockets(text)
 	return {socket = text}
 end

-ww_sockets = {{" socket$"}, {}, {}, {}, {" socket$"}, sockets, "socket"}
+local matchLines = {
+	" socket$",
+	"^sha%-touched$",
+}
+
+ww_sockets = {matchLines, {}, {}, {}, {" socket$"}, sockets, "socket"}
diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua
index 2610696..da2282c 100644
--- a/WeightsWatcher.lua
+++ b/WeightsWatcher.lua
@@ -1208,8 +1208,8 @@ local socketColors = {
 	["cogwheel"] = {
 		["cogwheel"] = true,
 	},
-	["hydraulic"] = {
-		["hydraulic"] = true,
+	["sha-touched"] = {
+		["sha-touched"] = true,
 	},
 	["meta"] = {
 		["meta"] = true,