From bf7993b802734b5b029fa0a0b99cea9e2af1c619 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 25 Nov 2013 23:58:51 -0500 Subject: [PATCH] get rid of some extraneous print statements --- autocrafter.lua | 4 ---- autoplace_tubes.lua | 1 - devices.lua | 3 +-- 3 files changed, 1 insertion(+), 7 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}) diff --git a/autoplace_tubes.lua b/autoplace_tubes.lua index 1c1a56e..30f15fc 100644 --- a/autoplace_tubes.lua +++ b/autoplace_tubes.lua @@ -244,4 +244,3 @@ function tube_autoroute(pos) meta:from_table(meta0) local nctr = minetest.get_node(pos) end - diff --git a/devices.lua b/devices.lua index 0fa28ec..a308f46 100644 --- a/devices.lua +++ b/devices.lua @@ -15,8 +15,7 @@ if mesecon then } } end -print("pipereceptor_on = "..dump(pipereceptor_on)) -print("pipereceptor_off = "..dump(pipereceptor_off)) + pipes_devicelist = { "pump", "valve", -- 2.30.2