diff --git a/basic_machines/distributor.lua b/basic_machines/distributor.lua index 9ff7970..58133fc 100644 --- a/basic_machines/distributor.lua +++ b/basic_machines/distributor.lua @@ -96,7 +96,6 @@ local function filter_settings(pos) ItemFilter = ItemFilter, OpenPorts = OpenPorts, } - print("ItemFilter = "..dump(ItemFilter), "\nOpenPorts = "..dump(OpenPorts)) end -- Return filter table and list of open ports. @@ -197,7 +196,6 @@ local function distributing(pos, inv, trd, mem) if item_filter[item_name] then -- Push items based on filter num_pushed = push_item(pos, item_filter[item_name], item_name, num_to_push, mem) - print("num_pushed",num_pushed, "num_to_push", num_to_push) end if num_pushed == 0 and #open_ports > 0 then -- Push items based on open ports @@ -213,7 +211,6 @@ local function distributing(pos, inv, trd, mem) end end - print("sum_num_pushed",sum_num_pushed) if num_pushed == 0 then trd.State:blocked(pos, mem) else diff --git a/basic_machines/pusher.lua b/basic_machines/pusher.lua index 5af0531..082938c 100644 --- a/basic_machines/pusher.lua +++ b/basic_machines/pusher.lua @@ -64,7 +64,6 @@ end local function on_rightclick(pos, node, clicker) local mem = tubelib2.get_mem(pos) if not minetest.is_protected(pos, clicker:get_player_name()) then - print("on_rightclick", TRD(pos).State:is_active(mem), mem.techage_state) if TRD(pos).State:is_active(mem) then TRD(pos).State:stop(pos, mem) else diff --git a/basis/guide.lua b/basis/guide.lua index ecc8e50..d89ed03 100644 --- a/basis/guide.lua +++ b/basis/guide.lua @@ -93,7 +93,6 @@ minetest.register_node("techage:construction_board", { if minetest.is_protected(pos, player:get_player_name()) then return end - print(dump(fields)) local meta = minetest.get_meta(pos) local idx = meta:get_int("help_idx") idx = techage.range(idx, 1, #Recipes) diff --git a/basis/node_states.lua b/basis/node_states.lua index f30fb34..b370681 100644 --- a/basis/node_states.lua +++ b/basis/node_states.lua @@ -367,7 +367,6 @@ end function NodeStates:state_button_event(pos, mem, fields) if fields.state_button ~= nil then local state = mem.techage_state - print("on_receive_fields", state) if state == STOPPED or state == STANDBY or state == BLOCKED then self:start(pos, mem) elseif state == RUNNING or state == FAULT then diff --git a/basis/power.lua b/basis/power.lua index bdc28fb..788a3e9 100644 --- a/basis/power.lua +++ b/basis/power.lua @@ -130,12 +130,10 @@ end -- Starts the overall power consumption and depending on that turns all nodes on/off local function start_network_power_consumption(pos, in_dir) - print("start_network_power_consumption", S(pos), in_dir) Route = {} local sum = power_consumption(pos, in_dir) Route = {} turn_on(pos, in_dir, sum) - print("consumption = "..sum) end -- diff --git a/iron_age/gravelsieve.lua b/iron_age/gravelsieve.lua index 4db9864..ae0e0c9 100644 --- a/iron_age/gravelsieve.lua +++ b/iron_age/gravelsieve.lua @@ -141,7 +141,6 @@ end techage.register_node("techage:sieve0", {"techage:sieve1", "techage:sieve2", "techage:sieve3"}, { on_push_item = function(pos, in_dir, stack) - print("on_push_item") local meta = minetest.get_meta(pos) local inv = meta:get_inventory() if inv:room_for_item("src", stack) then diff --git a/iron_age/hopper.lua b/iron_age/hopper.lua index 217addc..a5a143f 100644 --- a/iron_age/hopper.lua +++ b/iron_age/hopper.lua @@ -53,7 +53,6 @@ local function push_item(pos, inv, meta) if not inv:is_empty("main") then local stack = inv:get_stack("main", 1) local taken = stack:take_item(1) - print("neighbour_push_items") if techage.neighbour_push_items(pos, meta:get_int("push_dir"), taken) then inv:set_stack("main", 1, stack) end @@ -61,7 +60,6 @@ local function push_item(pos, inv, meta) end local function node_timer(pos, elapsed) - print("node_timer") local meta = minetest.get_meta(pos) local inv = meta:get_inventory() if inv then