diff options
Diffstat (limited to 'item_transport.lua')
-rw-r--r-- | item_transport.lua | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/item_transport.lua b/item_transport.lua index 996a165..e3d926e 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -18,11 +18,6 @@ local function facedir_to_right_dir(facedir) z=topdir.x*backdir.y - backdir.x*topdir.y} end -minetest.register_craftitem("pipeworks:filter", { - description = "Filter", - stack_max = 99, -}) - local fakePlayer = { get_player_name = function() return ":pipeworks" end, -- any other player functions called by allow_metadata_inventory_take anywhere... @@ -85,7 +80,7 @@ local function grabAndFire(frominv,frominvname,frompos,fromnode,sname,tube,idef, end minetest.register_node("pipeworks:filter", { - description = "Filter", + description = "Itemwise Filter", tiles = {"pipeworks_filter_top.png", "pipeworks_filter_top.png", "pipeworks_filter_output.png", "pipeworks_filter_input.png", "pipeworks_filter_side.png", "pipeworks_filter_top.png"}, paramtype2 = "facedir", @@ -98,7 +93,7 @@ minetest.register_node("pipeworks:filter", { "invsize[8,6.5;]".. "list[current_name;main;0,0;8,2;]".. "list[current_player;main;0,2.5;8,4;]") - meta:set_string("infotext", "Filter") + meta:set_string("infotext", "Itemwise Filter") local inv = meta:get_inventory() inv:set_size("main", 8*2) end, @@ -171,13 +166,8 @@ minetest.register_node("pipeworks:filter", { end, }) -minetest.register_craftitem("pipeworks:mese_filter", { - description = "Mese filter", - stack_max = 99, -}) - minetest.register_node("pipeworks:mese_filter", { - description = "Mese filter", + description = "Stackwise Filter", tiles = {"pipeworks_mese_filter_top.png", "pipeworks_mese_filter_top.png", "pipeworks_mese_filter_output.png", "pipeworks_mese_filter_input.png", "pipeworks_mese_filter_side.png", "pipeworks_mese_filter_top.png"}, paramtype2 = "facedir", @@ -190,7 +180,7 @@ minetest.register_node("pipeworks:mese_filter", { "invsize[8,6.5;]".. "list[current_name;main;0,0;8,2;]".. "list[current_player;main;0,2.5;8,4;]") - meta:set_string("infotext", "Mese filter") + meta:set_string("infotext", "Stackwise Filter") local inv = meta:get_inventory() inv:set_size("main", 8*2) end, |