From e3ded9fed63beba99f3fbc82da255c3b69bbd075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 12 Jul 2022 13:44:58 +0200 Subject: [PATCH] remove depends --- depends.txt | 1 - init.lua | 49 +------------------------------------------------ 2 files changed, 1 insertion(+), 49 deletions(-) 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