remove depends

This commit is contained in:
Bruno Rybársky 2022-07-12 13:44:58 +02:00
parent 8ca249c10b
commit e3ded9fed6
2 changed files with 1 additions and 49 deletions

@ -1,5 +1,4 @@
digilines?
default
mesecons
mesecons_luacontroller
mesecons_materials

@ -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}
}
})