summaryrefslogtreecommitdiff
path: root/filter-injector.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-11-14 22:38:42 +0100
committerroot <root@linux-forks.de>2018-11-14 22:38:42 +0100
commit51e89c90bf50dfab3690cffc9ae4d6e1e58d9a0e (patch)
treee2a42227d3497fce857657d0e42110885dbe5fab /filter-injector.lua
parent62a1724635c4dde3bcfb83ae8ac968b102db5989 (diff)
parentf5a60ba407175d07daf69c6955ecb3fcf5b7fa64 (diff)
Merge branch 'master' of https://github.com/minetest-mods/pipeworks
Diffstat (limited to 'filter-injector.lua')
-rw-r--r--filter-injector.lua19
1 files changed, 10 insertions, 9 deletions
diff --git a/filter-injector.lua b/filter-injector.lua
index a8659ad..29fc1d3 100644
--- a/filter-injector.lua
+++ b/filter-injector.lua
@@ -383,6 +383,7 @@ for _, data in ipairs({
pipeworks.after_place(pos)
end,
after_dig_node = pipeworks.after_dig,
+ on_rotate = pipeworks.on_rotate,
allow_metadata_inventory_put = function(pos, listname, index, stack, player)
if not pipeworks.may_configure(pos, player) then
return 0
@@ -472,18 +473,18 @@ end
minetest.register_craft( {
output = "pipeworks:filter 2",
recipe = {
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
- { "group:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" },
+ { "group:stick", "default:mese_crystal", "basic_materials:plastic_sheet" },
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" }
},
})
minetest.register_craft( {
output = "pipeworks:mese_filter 2",
recipe = {
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
- { "group:stick", "default:mese", "homedecor:plastic_sheeting" },
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" },
+ { "group:stick", "default:mese", "basic_materials:plastic_sheet" },
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" }
},
})
@@ -491,9 +492,9 @@ if minetest.get_modpath("digilines") then
minetest.register_craft( {
output = "pipeworks:digiline_filter 2",
recipe = {
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
- { "group:stick", "digilines:wire_std_00000000", "homedecor:plastic_sheeting" },
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" },
+ { "group:stick", "digilines:wire_std_00000000", "basic_materials:plastic_sheet" },
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" }
},
})
end