you
2017-06-05 987cc5a6a425b1f9bcd9000608dc389a45c675a1
technic/machines/other/constructor.lua
@@ -2,6 +2,7 @@
local S = technic.getter
local function deploy_node(inv, slot_name, pos, node, machine_node)
   if node.param2 > 3 then return end
   if node.name ~= "air" then
      if node.name == "ignore" or
         node.name == "default:lava_source" or
@@ -21,7 +22,7 @@
      end
      if remove_to then
         for i = 1, remove_to do
            inv:remove_item(drops[i])
            inv:remove_item(slot_name, drops[i])
         end
      else
         minetest.remove_node(pos)
@@ -162,6 +163,7 @@
      allow_metadata_inventory_put = technic.machine_inventory_put,
      allow_metadata_inventory_take = technic.machine_inventory_take,
      allow_metadata_inventory_move = technic.machine_inventory_move,
      on_rotate = screwdriver.rotate_simple
   })
   minetest.register_node("technic:constructor_mk"..mark.."_on", {
@@ -180,6 +182,7 @@
      allow_metadata_inventory_put = technic.machine_inventory_put,
      allow_metadata_inventory_take = technic.machine_inventory_take,
      allow_metadata_inventory_move = technic.machine_inventory_move,
      on_rotate = false
   })
end