From 6da34cafb11e0a37d5643d2f3edf7545bd973ede Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 8 Mar 2011 00:14:12 -0600 Subject: [PATCH] In the interest of actually being quasi-awesome, I added quotes around the faction string in recipe dumps. --- Scanner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scanner.lua b/Scanner.lua index 6e51295..bc6eb74 100644 --- a/Scanner.lua +++ b/Scanner.lua @@ -974,7 +974,7 @@ do if required_faction then table.insert(output, - ("recipe = AddRecipe(%d, %d, %s, Q.%s, V.%s, %d, %d, %d, %d%s, %s)"):format(spell_id, skill_level, tostring(recipe.item_id), Q[recipe.quality], V[genesis], + ("recipe = AddRecipe(%d, %d, %s, Q.%s, V.%s, %d, %d, %d, %d%s, \"%s\")"):format(spell_id, skill_level, tostring(recipe.item_id), Q[recipe.quality], V[genesis], optimal_level, medium_level, easy_level, trivial_level, specialty, required_faction)) else table.insert(output, -- 1.7.9.5