diff --git a/depends.txt b/depends.txt index 2392460..0a40826 100644 --- a/depends.txt +++ b/depends.txt @@ -1,5 +1,4 @@ digilines? -default mesecons mesecons_luacontroller mesecons_materials diff --git a/init.lua b/init.lua index 9d43cd8..f9c7196 100644 --- a/init.lua +++ b/init.lua @@ -98,7 +98,6 @@ mesecon.register_node("mesecons_wireless:transmitter", { }, paramtype2 = "color", palette = "mesecons_wireless_signal_palette.png", - sounds = default.node_sound_metal_defaults(), digiline = { effector = { action = function(pos, node, dchannel, msg) @@ -267,7 +266,6 @@ mesecon.register_node("mesecons_wireless:receiver", { }, paramtype2 = "color", palette = "mesecons_wireless_signal_palette.png", - sounds = default.node_sound_metal_defaults(), digiline = { receptor = {}, }, @@ -404,52 +402,7 @@ minetest.register_craftitem("mesecons_wireless:dish", { inventory_image = "mesecons_wireless_dish.png", }) -minetest.register_craft({ - output = "mesecons_wireless:antenna", - recipe = { - {"default:steel_ingot"}, - {"default:steel_ingot"}, - {"mesecons_materials:fiber"} - } -}) - -minetest.register_craft({ - output = "mesecons_wireless:dish", - recipe = { - {"", "", "default:steel_ingot"}, - {"", "default:steel_ingot", "default:steel_ingot"}, - {"default:steel_ingot", "default:steel_ingot", "mesecons_materials:fiber"} - } -}) - -minetest.register_craft({ - output = "mesecons_wireless:dish", - recipe = { - {"default:steel_ingot", "", ""}, - {"default:steel_ingot", "default:steel_ingot", ""}, - {"mesecons_materials:fiber", "default:steel_ingot", "default:steel_ingot"} - } -}) - local wire = "mesecons:wire_00000000_off" if minetest.get_modpath("digilines") then wire = "digilines:wire_std_00000000" -end - -minetest.register_craft({ - output = "mesecons_wireless:transmitter_off", - recipe = { - {"", "mesecons_wireless:antenna", ""}, - {"default:steel_ingot", "default:diamond", "default:steel_ingot"}, - {"mesecons:wire_00000000_off", "mesecons_luacontroller:luacontroller0000", wire} - } -}) - -minetest.register_craft({ - output = "mesecons_wireless:receiver_off", - recipe = { - {"", "mesecons_wireless:dish", ""}, - {"default:steel_ingot", "default:diamond", "default:steel_ingot"}, - {"mesecons:wire_00000000_off", "mesecons_luacontroller:luacontroller0000", wire} - } -}) +end \ No newline at end of file