]> git.lizzy.rs Git - Crafter.git/commitdiff
Remove debug info
authoroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 29 Jun 2020 07:41:52 +0000 (03:41 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 29 Jun 2020 07:41:52 +0000 (03:41 -0400)
mods/redstone/init.lua
mods/redstone/piston.lua

index 46a29e6fc42d9d0105ca78be10355aee655f903c..80b2fa4e5fc71a7d78f8aa21c64fc3d726a5d7ec 100644 (file)
@@ -148,7 +148,6 @@ end
 
 
 local function capacitor_pathfind(source,mem_map)
-       --redstone and torch
        for _,order in pairs(order) do
 
                i = add_vec(source,order)
@@ -188,7 +187,6 @@ local function capacitor_sniff(pos)
                                        if temp_pool then
                                                temp_pool.capacitor = 1
                                                if capacitor_table[temp_pool.name] then
-                                                       --print("doing")
                                                        swap_node(new_vec(x,y,z),{name=capacitor_table[temp_pool.name].on})
                                                        redstone.update(new_vec(x,y,z))
                                                end
@@ -204,7 +202,6 @@ local function capacitor_sniff(pos)
                                        if temp_pool then
                                                temp_pool.capacitor = 0
                                                if capacitor_table[temp_pool.name] then
-                                                       --print(temp_pool.name)
                                                        swap_node(new_vec(x,y,z),{name=capacitor_table[temp_pool.name].off})
                                                        redstone.update(new_vec(x,y,z))
                                                end
index 39ce747a9a2580d08d407f4cd9b2e1e9f3e3655f..9f52a89e6e3738d4ab514995cf4bfac0eabdc4b3 100644 (file)
@@ -85,7 +85,6 @@ local function push_nodes(pos,dir)
        if space == true and next(move_index) then
                if table.getn(move_index) == 1 and minetest.get_item_group(move_index[1].name, "falling_node") > 0 then
                        for i = 1,table.getn(move_index) do
-                               print("trying")
                                move_index[i].pos = vector.add(move_index[i].pos,dir)
                                minetest.set_node(move_index[i].pos,{name="air"})
 
@@ -555,7 +554,6 @@ minetest.register_lbm({
 ]]
 
 local function sticky_piston_pull_nodes(pos,dir)
-       print("test")
        local move_index = {}
        local index_pos = vector.add(pos,dir)
        
@@ -563,7 +561,6 @@ local function sticky_piston_pull_nodes(pos,dir)
        local param2 = node.param2
        local def = minetest.registered_nodes[node.name]
        local name = node.name
-       print(name)
        local pull = ((excluded_mods[def.mod_origin] ~= true) and (excluded_nodes[name] ~= true))
        --if it can be pulled pull it
        if pull and name ~= "air" then