Quantcast

In the interest of actually being quasi-awesome, I added quotes around the faction string in recipe dumps.

James D. Callahan III [03-08-11 - 06:14]
In the interest of actually being quasi-awesome, I added quotes around the faction string in recipe dumps.
Filename
Scanner.lua
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,