From f279531f87f2dccb8b0d8debc2f1131e1e2eb3ac Mon Sep 17 00:00:00 2001 From: pompachomp Date: Thu, 4 Mar 2010 02:03:29 -0500 Subject: [PATCH] Fixed the dump to output the correct syntax for the qualities. --- Datamine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Datamine.lua b/Datamine.lua index 15e81d8..bc719f8 100644 --- a/Datamine.lua +++ b/Datamine.lua @@ -1445,7 +1445,7 @@ do local REP_LEVELS = private.rep_level_strings local FACTION_NAMES = private.faction_strings local QUAL_STRINGS = private.item_quality_names - local V = private.game_versions + local V = private.game_version_names local function Sort_AscID(a, b) local reca, recb = private.recipe_list[a], private.recipe_list[b] @@ -1475,7 +1475,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], "V."..V[data.genesis], + data.spell_id, data.skill_level, tostring(data.item_id), "Q."..QUAL_STRINGS[data.quality], "V."..V[data.genesis], data.optimal_level, data.medium_level, data.easy_level, data.trivial_level, specialty)) for i = 1, NUM_FILTER_FLAGS, 1 do -- 1.7.9.5