summaryrefslogtreecommitdiff
path: root/autocrafter.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-11-25 23:58:51 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-11-25 23:59:52 -0500
commitbf7993b802734b5b029fa0a0b99cea9e2af1c619 (patch)
tree5dd2a2a945f2ef7a13c034a3b660c2af6b4a071b /autocrafter.lua
parent7289bfcfbab13044b83720ff4c675a356b8dedc5 (diff)
downloadpipeworks-bf7993b802734b5b029fa0a0b99cea9e2af1c619.tar
pipeworks-bf7993b802734b5b029fa0a0b99cea9e2af1c619.tar.gz
pipeworks-bf7993b802734b5b029fa0a0b99cea9e2af1c619.tar.bz2
pipeworks-bf7993b802734b5b029fa0a0b99cea9e2af1c619.tar.xz
pipeworks-bf7993b802734b5b029fa0a0b99cea9e2af1c619.zip
get rid of some extraneous print statements
Diffstat (limited to 'autocrafter.lua')
-rw-r--r--autocrafter.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/autocrafter.lua b/autocrafter.lua
index 1f2d9e5..c608896 100644
--- a/autocrafter.lua
+++ b/autocrafter.lua
@@ -15,11 +15,9 @@ function autocraft(inventory, pos)
local new
if autocrafterCache[minetest.hash_node_position(pos)] == nil then
- --print("first call for this autocrafter at pos("..pos.x..","..pos.y..","..pos.z..")")
recipe_last = {}
for i = 1, 9 do
recipe_last[i] = recipe[i]
- --print (recipe_last[i]:get_name())
recipe[i] = ItemStack({name = recipe[i]:get_name(), count = 1})
end
result, new = minetest.get_craft_result({method = "normal", width = 3, items = recipe})
@@ -41,9 +39,7 @@ function autocraft(inventory, pos)
end
end
if recipeUnchanged then
- --print("autocrafter recipe unchanged")
else
- --print("autocrafter recipe changed at pos("..pos.x..","..pos.y..","..pos.z..")")
for i = 1, 9 do
recipe_last[i] = recipe[i]
recipe[i] = ItemStack({name = recipe[i]:get_name(), count = 1})