comparison ReagentMaker.lua @ 79:0e2606039c98 v1.0beta2

Remove space in an error sentence
author contrebasse
date Sun, 15 May 2011 00:04:06 +0200
parents 31009ddc7d31
children 32c398de6812
comparison
equal deleted inserted replaced
78:31009ddc7d31 79:0e2606039c98
129 129
130 -- If only one recipe is known for the reagent, use it 130 -- If only one recipe is known for the reagent, use it
131 if #(A.data[reagentID]) == 1 and not A.data[reagentID][1].macro then 131 if #(A.data[reagentID]) == 1 and not A.data[reagentID][1].macro then
132 local numMakable, reagentIndex = A.numMakable(reagentID) 132 local numMakable, reagentIndex = A.numMakable(reagentID)
133 if not numMakable then 133 if not numMakable then
134 A.Error(A.L["The recipe to make the reagent seems to be hidden, it is not makable. Try to remove the filters on the recipes."]) 134 A.Error(A.L["The recipe to make the reagent seems to be hidden, it is not makable. Try to remove the filters on the recipes."])
135 return 135 return
136 end 136 end
137 if numMakable>0 then 137 if numMakable>0 then
138 A.craft(recipeIndex,reagentRecipeIndex,reagentIndex,numMakable,chooseNumberToCraft) 138 A.craft(recipeIndex,reagentRecipeIndex,reagentIndex,numMakable,chooseNumberToCraft)
139 return 139 return