Quantcast

cleanup from last commit

pompachomp [03-04-10 - 03:21]
cleanup from last commit
Filename
Constants.lua
Datamine.lua
diff --git a/Constants.lua b/Constants.lua
index 06df84e..960c88e 100644
--- a/Constants.lua
+++ b/Constants.lua
@@ -36,12 +36,12 @@ private.item_qualities = {
 }

 private.item_quality_names = {
-	[1] = "Q.COMMON",
-	[2] = "Q.UNCOMMON",
-	[3] = "Q.RARE",
-	[4] = "Q.EPIC",
-	[5] = "Q.LEGENDARY",
-	[6] = "Q.ARTIFACT",
+	[1] = "COMMON",
+	[2] = "UNCOMMON",
+	[3] = "RARE",
+	[4] = "EPIC",
+	[5] = "LEGENDARY",
+	[6] = "ARTIFACT",
 }

 -------------------------------------------------------------------------------
diff --git a/Datamine.lua b/Datamine.lua
index ef86ff2..7d1a287 100644
--- a/Datamine.lua
+++ b/Datamine.lua
@@ -1480,7 +1480,7 @@ do
 		local specialty = not data.specialty and "" or (", "..data.specialty)
 		tinsert(output, string.format("-- %s -- %d", data.name, data.spell_id))
 		tinsert(output, string.format("AddRecipe(%d, %d, %s, %s, %s, %d, %d, %d, %d%s)",
-					      data.spell_id, data.skill_level, tostring(data.item_id), QUAL_STRINGS[data.quality], VERSION_STRINGS[tostring(data.genesis)],
+					      data.spell_id, data.skill_level, tostring(data.item_id), "Q."..QUAL_STRINGS[data.quality], VERSION_STRINGS[tostring(data.genesis)],
 					      data.optimal_level, data.medium_level, data.easy_level, data.trivial_level, specialty))

 		for i = 1, NUM_FILTER_FLAGS, 1 do