get rid of some extraneous print statements
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Tue, 26 Nov 2013 04:58:51 +0000 (23:58 -0500)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Tue, 26 Nov 2013 04:59:52 +0000 (23:59 -0500)
autocrafter.lua
autoplace_tubes.lua
devices.lua

index 1f2d9e519e74cef631e4539018a19bc441ae88a8..c6088966746ea6c4e788ec547b96d56de0c4ec54 100644 (file)
@@ -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})
index 1c1a56e095c90f5e137dd3461df7e357150471a8..30f15fc1d99ea7a2eb4bfc976091ab1ea828f256 100644 (file)
@@ -244,4 +244,3 @@ function tube_autoroute(pos)
     meta:from_table(meta0)
        local nctr = minetest.get_node(pos)
 end
-
index 0fa28ecc8d91f30d73e4bd25ac57d6ade87cb126..a308f46b131d6fc85cf4469ce25f82d1f54a3051 100644 (file)
@@ -15,8 +15,7 @@ if mesecon then
                }
        }
 end
-print("pipereceptor_on = "..dump(pipereceptor_on))
-print("pipereceptor_off = "..dump(pipereceptor_off))
+
 pipes_devicelist = {
        "pump",
        "valve",