From a14680c71ebc8551685efc0a51ca66a1c791f57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 13 Aug 2022 08:59:34 +0200 Subject: [PATCH] remove crafts --- mesecons_blinkyplant/init.lua | 9 +---- mesecons_button/init.lua | 7 ---- mesecons_delayer/init.lua | 8 ----- mesecons_detector/init.lua | 37 ------------------- mesecons_extrawires/corner.lua | 8 ----- mesecons_extrawires/crossover.lua | 19 +--------- mesecons_extrawires/doublecorner.lua | 17 --------- mesecons_extrawires/tjunction.lua | 8 ----- mesecons_extrawires/vertical.lua | 16 +-------- mesecons_fpga/init.lua | 9 ----- mesecons_fpga/tool.lua | 9 ----- mesecons_gates/init.lua | 2 -- mesecons_hydroturbine/init.lua | 9 ----- mesecons_insulated/init.lua | 8 ----- mesecons_lamp/init.lua | 9 ----- mesecons_lightstone/init.lua | 8 ----- mesecons_luacontroller/init.lua | 15 +------- mesecons_materials/init.lua | 25 +------------ mesecons_microcontroller/init.lua | 20 ----------- mesecons_movestones/init.lua | 54 ---------------------------- mesecons_noteblock/init.lua | 9 ----- mesecons_pistons/init.lua | 19 ---------- mesecons_powerplant/init.lua | 9 ----- mesecons_pressureplates/init.lua | 5 --- mesecons_random/init.lua | 17 --------- mesecons_solarpanel/init.lua | 8 ----- mesecons_switch/init.lua | 8 ----- mesecons_torch/init.lua | 7 ---- mesecons_walllever/init.lua | 9 ----- mesecons_wires/init.lua | 34 +----------------- 30 files changed, 6 insertions(+), 416 deletions(-) diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index 28cb054..83e5e21 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -48,11 +48,4 @@ mesecon.register_node("mesecons_blinkyplant:blinky_plant", { tiles = {"jeija_blinky_plant_on.png"}, groups = {dig_immediate=3, not_in_creative_inventory=1}, mesecons = {receptor = { state = mesecon.state.on }} -}) - -minetest.register_craft({ - output = "mesecons_blinkyplant:blinky_plant_off 1", - recipe = { {"","group:mesecon_conductor_craftable",""}, - {"","group:mesecon_conductor_craftable",""}, - {"group:sapling","group:sapling","group:sapling"}} -}) +}) \ No newline at end of file diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index 7c70923..b049ef3 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -101,10 +101,3 @@ minetest.register_node("mesecons_button:button_on", { on_timer = mesecon.button_turnoff, on_blast = mesecon.on_blastnode, }) - -minetest.register_craft({ - output = "mesecons_button:button_off 2", - recipe = { - {"group:mesecon_conductor_craftable","mesecons_gamecompat:stone"}, - } -}) diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua index bd2eca8..59f63e9 100644 --- a/mesecons_delayer/init.lua +++ b/mesecons_delayer/init.lua @@ -152,11 +152,3 @@ end minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), on_state) end - -minetest.register_craft({ - output = "mesecons_delayer:delayer_off_1", - recipe = { - {"mesecons_torch:mesecon_torch_on", "group:mesecon_conductor_craftable", "mesecons_torch:mesecon_torch_on"}, - {"mesecons_gamecompat:cobble","mesecons_gamecompat:cobble", "mesecons_gamecompat:cobble"}, - } -}) diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua index 9dea0d2..75f68a5 100644 --- a/mesecons_detector/init.lua +++ b/mesecons_detector/init.lua @@ -101,24 +101,6 @@ minetest.register_node("mesecons_detector:object_detector_on", { on_blast = mesecon.on_blastnode, }) -minetest.register_craft({ - output = 'mesecons_detector:object_detector_off', - recipe = { - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_luacontroller:luacontroller0000", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"}, - } -}) - -minetest.register_craft({ - output = 'mesecons_detector:object_detector_off', - recipe = { - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_microcontroller:microcontroller0000", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"}, - } -}) - minetest.register_abm({ nodenames = {"mesecons_detector:object_detector_off"}, interval = 1, @@ -275,25 +257,6 @@ minetest.register_node("mesecons_detector:node_detector_on", { digiline = node_detector_digiline, on_blast = mesecon.on_blastnode, }) - -minetest.register_craft({ - output = 'mesecons_detector:node_detector_off', - recipe = { - {"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_luacontroller:luacontroller0000", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"}, - } -}) - -minetest.register_craft({ - output = 'mesecons_detector:node_detector_off', - recipe = { - {"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_microcontroller:microcontroller0000", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"}, - } -}) - minetest.register_abm({ nodenames = {"mesecons_detector:node_detector_off"}, interval = 1, diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index 45ed6f0..368a6b4 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -59,11 +59,3 @@ minetest.register_node("mesecons_extrawires:corner_off", { on_blast = mesecon.on_blastnode, on_rotate = mesecon.on_rotate_horiz, }) - -minetest.register_craft({ - output = "mesecons_extrawires:corner_off 3", - recipe = { - {"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off"}, - {"", "mesecons_insulated:insulated_off"}, - } -}) diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua index bf7f0db..604f100 100644 --- a/mesecons_extrawires/crossover.lua +++ b/mesecons_extrawires/crossover.lua @@ -121,21 +121,4 @@ minetest.register_node("mesecons_extrawires:crossover_on", { } }, on_blast = mesecon.on_blastnode, -}) - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_extrawires:crossover_off", - recipe = { - "mesecons_insulated:insulated_off", - "mesecons_insulated:insulated_off", - }, -}) - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_insulated:insulated_off 2", - recipe = { - "mesecons_extrawires:crossover_off", - }, -}) +}) \ No newline at end of file diff --git a/mesecons_extrawires/doublecorner.lua b/mesecons_extrawires/doublecorner.lua index 4f8e839..7dfe59f 100644 --- a/mesecons_extrawires/doublecorner.lua +++ b/mesecons_extrawires/doublecorner.lua @@ -57,20 +57,3 @@ for k, state in ipairs(doublecorner_states) do on_rotate = mesecon.on_rotate_horiz, }) end - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_extrawires:doublecorner_00", - recipe = { - "mesecons_extrawires:corner_off", - "mesecons_extrawires:corner_off", - }, -}) - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_extrawires:corner_off 2", - recipe = { - "mesecons_extrawires:doublecorner_00", - }, -}) diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index a69b14a..c4b3846 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -75,11 +75,3 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { on_blast = mesecon.on_blastnode, on_rotate = mesecon.on_rotate_horiz, }) - -minetest.register_craft({ - output = "mesecons_extrawires:tjunction_off 3", - recipe = { - {"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off"}, - {"", "mesecons_insulated:insulated_off", ""}, - } -}) diff --git a/mesecons_extrawires/vertical.lua b/mesecons_extrawires/vertical.lua index 72084fc..f8a9d94 100644 --- a/mesecons_extrawires/vertical.lua +++ b/mesecons_extrawires/vertical.lua @@ -170,18 +170,4 @@ mesecon.register_node("mesecons_extrawires:vertical_bottom", { offstate = "mesecons_extrawires:vertical_bottom_off", rules = bottom_rules, }} -}) - -minetest.register_craft({ - output = "mesecons_extrawires:vertical_off 3", - recipe = { - {"group:mesecon_conductor_craftable"}, - {"group:mesecon_conductor_craftable"}, - {"group:mesecon_conductor_craftable"}, - } -}) - -minetest.register_craft({ - output = "mesecons:wire_00000000_off", - recipe = {{"mesecons_extrawires:vertical_off"}} -}) +}) \ No newline at end of file diff --git a/mesecons_fpga/init.lua b/mesecons_fpga/init.lua index 1898177..770b798 100644 --- a/mesecons_fpga/init.lua +++ b/mesecons_fpga/init.lua @@ -451,12 +451,3 @@ end) minetest.register_on_leaveplayer(function(player) plg.open_formspecs[player:get_player_name()] = nil end) - -minetest.register_craft({ - output = "mesecons_fpga:fpga0000 2", - recipe = { - {'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable'}, - {'mesecons_materials:silicon', 'mesecons_materials:silicon'}, - {'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable'}, - } -}) diff --git a/mesecons_fpga/tool.lua b/mesecons_fpga/tool.lua index 73d6c0f..a920629 100644 --- a/mesecons_fpga/tool.lua +++ b/mesecons_fpga/tool.lua @@ -59,13 +59,4 @@ minetest.register_tool("mesecons_fpga:programmer", { end }) -minetest.register_craft({ - output = "mesecons_fpga:programmer", - recipe = { - {'group:mesecon_conductor_craftable'}, - {'mesecons_materials:silicon'}, - } -}) - - end diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua index 837d1e8..2871401 100644 --- a/mesecons_gates/init.lua +++ b/mesecons_gates/init.lua @@ -113,8 +113,6 @@ local function register_gate(name, inputnumber, assess, recipe, description) action_change = update_gate }} }) - - minetest.register_craft({output = basename.."_off", recipe = recipe}) end register_gate("diode", 1, function (input) return input end, diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index 1993d87..46164ea 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -94,12 +94,3 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_on"}, end, }) -minetest.register_craft({ - output = "mesecons_hydroturbine:hydro_turbine_off 2", - recipe = { - {"","grup:stick", ""}, - {"group:stick", "mesecons_gamecompat:steel_ingot", "group:stick"}, - {"","group:stick", ""}, - } -}) - diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua index f98565c..5f5dacd 100644 --- a/mesecons_insulated/init.lua +++ b/mesecons_insulated/init.lua @@ -76,11 +76,3 @@ minetest.register_node("mesecons_insulated:insulated_off", { on_rotate = mesecon.on_rotate_horiz, }) -minetest.register_craft({ - output = "mesecons_insulated:insulated_off 3", - recipe = { - {"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"}, - {"group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable"}, - {"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"}, - } -}) diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index aff1f26..30160eb 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -60,12 +60,3 @@ minetest.register_node("mesecons_lamp:lamp_off", { }}, on_blast = mesecon.on_blastnode, }) - -minetest.register_craft({ - output = "mesecons_lamp:lamp_off 1", - recipe = { - {"", "mesecons_gamecompat:glass", ""}, - {"group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable"}, - {"", "mesecons_gamecompat:glass", ""}, - } -}) diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua index f2ea147..a3b124b 100644 --- a/mesecons_lightstone/init.lua +++ b/mesecons_lightstone/init.lua @@ -48,14 +48,6 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc) on_blast = mesecon.on_blastnode, }) - minetest.register_craft({ - output = "mesecons_lightstone:lightstone_" .. name .. "_off", - recipe = { - {"",base_item,""}, - {base_item,"mesecons_gamecompat:torch",base_item}, - {"","group:mesecon_conductor_craftable",""} - } - }) end diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 50a6747..9bba4b9 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -931,17 +931,4 @@ minetest.register_node(BASENAME .. "_burnt", { }, }, on_blast = mesecon.on_blastnode, -}) - ------------------------- --- Craft Registration -- ------------------------- - -minetest.register_craft({ - output = BASENAME.."0000 2", - recipe = { - {'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'}, - {'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'}, - {'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable', ''}, - } -}) +}) \ No newline at end of file diff --git a/mesecons_materials/init.lua b/mesecons_materials/init.lua index c3ed73b..9df56b8 100644 --- a/mesecons_materials/init.lua +++ b/mesecons_materials/init.lua @@ -10,32 +10,9 @@ minetest.register_craftitem("mesecons_materials:fiber", { on_place_on_ground = minetest.craftitem_place_item, description="Fiber", }) - -minetest.register_craft({ - output = "mesecons_materials:glue 2", - type = "cooking", - recipe = "group:sapling", - cooktime = 2 -}) - -minetest.register_craft({ - output = "mesecons_materials:fiber 6", - type = "cooking", - recipe = "mesecons_materials:glue", - cooktime = 4 -}) - -- Silicon minetest.register_craftitem("mesecons_materials:silicon", { image = "mesecons_silicon.png", on_place_on_ground = minetest.craftitem_place_item, description="Silicon", -}) - -minetest.register_craft({ - output = "mesecons_materials:silicon 4", - recipe = { - {"group:sand", "group:sand"}, - {"group:sand", "mesecons_gamecompat:steel_ingot"}, - } -}) +}) \ No newline at end of file diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index 2e11afa..4a43990 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -154,26 +154,6 @@ end end if minetest.get_modpath("mesecons_luacontroller") then - minetest.register_craft({ - type = "shapeless", - output = "mesecons_microcontroller:microcontroller0000", - recipe = {"mesecons_luacontroller:luacontroller0000"}, - }) - minetest.register_craft({ - type = "shapeless", - output = "mesecons_luacontroller:luacontroller0000", - recipe = {"mesecons_microcontroller:microcontroller0000"}, - }) -else - minetest.register_craft({ - output = 'craft "mesecons_microcontroller:microcontroller0000" 2', - recipe = { - {'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'}, - {'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'}, - {'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable', ''}, - } - }) -end yc.reset = function(pos) yc.action(pos, {a=false, b=false, c=false, d=false}) diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index e50103c..95bacd9 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -175,60 +175,6 @@ mesecon.register_movestone("mesecons_movestones:sticky_movestone_vertical", { }, true, true) --- crafting: --- base recipe: -minetest.register_craft({ - output = "mesecons_movestones:movestone 2", - recipe = { - {"mesecons_gamecompat:stone", "mesecons_gamecompat:stone", "mesecons_gamecompat:stone"}, - {"group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable"}, - {"mesecons_gamecompat:stone", "mesecons_gamecompat:stone", "mesecons_gamecompat:stone"}, - } -}) - --- conversation: -minetest.register_craft({ - type = "shapeless", - output = "mesecons_movestones:movestone", - recipe = {"mesecons_movestones:movestone_vertical"}, -}) - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_movestones:movestone_vertical", - recipe = {"mesecons_movestones:movestone"}, -}) - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_movestones:sticky_movestone", - recipe = {"mesecons_movestones:sticky_movestone_vertical"}, -}) - -minetest.register_craft({ - type = "shapeless", - output = "mesecons_movestones:sticky_movestone_vertical", - recipe = {"mesecons_movestones:sticky_movestone"}, -}) - --- make sticky: -minetest.register_craft({ - output = "mesecons_movestones:sticky_movestone", - recipe = { - {"mesecons_materials:glue", "mesecons_movestones:movestone", "mesecons_materials:glue"}, - } -}) - -minetest.register_craft({ - output = "mesecons_movestones:sticky_movestone_vertical", - recipe = { - {"mesecons_materials:glue"}, - {"mesecons_movestones:movestone_vertical"}, - {"mesecons_materials:glue"}, - } -}) - - -- legacy code: minetest.register_alias("mesecons_movestones:movestone_active", "mesecons_movestones:movestone") diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua index f0e7044..89ad31d 100644 --- a/mesecons_noteblock/init.lua +++ b/mesecons_noteblock/init.lua @@ -21,15 +21,6 @@ minetest.register_node("mesecons_noteblock:noteblock", { on_blast = mesecon.on_blastnode, }) -minetest.register_craft({ - output = "mesecons_noteblock:noteblock 1", - recipe = { - {"group:wood", "group:wood", "group:wood"}, - {"group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable"}, - {"group:wood", "group:wood", "group:wood"}, - } -}) - local soundnames = { [0] = "mesecons_noteblock_csharp", "mesecons_noteblock_d", diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index bc940d0..b0cfff6 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -459,24 +459,5 @@ mesecon.register_mvps_stopper("mesecons_pistons:piston_normal_on", piston_get_st mesecon.register_mvps_stopper("mesecons_pistons:piston_sticky_on", piston_get_stopper) ---craft recipes -minetest.register_craft({ - output = "mesecons_pistons:piston_normal_off 2", - recipe = { - {"group:wood", "group:wood", "group:wood"}, - {"mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble"}, - {"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"}, - } -}) - -minetest.register_craft({ - output = "mesecons_pistons:piston_sticky_off", - recipe = { - {"mesecons_materials:glue"}, - {"mesecons_pistons:piston_normal_off"}, - } -}) - - -- load legacy code dofile(minetest.get_modpath("mesecons_pistons").."/legacy.lua") diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua index 90724bd..be35f0d 100644 --- a/mesecons_powerplant/init.lua +++ b/mesecons_powerplant/init.lua @@ -22,12 +22,3 @@ minetest.register_node("mesecons_powerplant:power_plant", { }}, on_blast = mesecon.on_blastnode, }) - -minetest.register_craft({ - output = "mesecons_powerplant:power_plant 1", - recipe = { - {"group:mesecon_conductor_craftable"}, - {"group:mesecon_conductor_craftable"}, - {"group:sapling"}, - } -}) diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua index 737d7cd..a1c5bd4 100644 --- a/mesecons_pressureplates/init.lua +++ b/mesecons_pressureplates/init.lua @@ -78,11 +78,6 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te groups = groups_on, tiles = textures_on }) - - minetest.register_craft({ - output = basename .. "_off", - recipe = recipe, - }) end mesecon.register_pressure_plate( diff --git a/mesecons_random/init.lua b/mesecons_random/init.lua index cc57a46..3bd3a4d 100644 --- a/mesecons_random/init.lua +++ b/mesecons_random/init.lua @@ -17,14 +17,6 @@ minetest.register_node("mesecons_random:removestone", { on_blast = mesecon.on_blastnode, }) -minetest.register_craft({ - output = 'mesecons_random:removestone 4', - recipe = { - {"", "mesecons_gamecompat:cobble", ""}, - {"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"}, - {"", "mesecons_gamecompat:cobble", ""}, - } -}) -- GHOSTSTONE @@ -67,12 +59,3 @@ minetest.register_node("mesecons_random:ghoststone_active", { on_blast = mesecon.on_blastnode, }) - -minetest.register_craft({ - output = 'mesecons_random:ghoststone 4', - recipe = { - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"}, - {"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"}, - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"}, - } -}) diff --git a/mesecons_solarpanel/init.lua b/mesecons_solarpanel/init.lua index 84bbfd3..b23a8c3 100644 --- a/mesecons_solarpanel/init.lua +++ b/mesecons_solarpanel/init.lua @@ -31,14 +31,6 @@ mesecon.register_node("mesecons_solarpanel:solar_panel", { }}, }) -minetest.register_craft({ - output = "mesecons_solarpanel:solar_panel_off", - recipe = { - {"mesecons_materials:silicon", "mesecons_materials:silicon"}, - {"mesecons_materials:silicon", "mesecons_materials:silicon"}, - } -}) - minetest.register_abm({ label = "Solar Panel On/Off", nodenames = { diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 4d650b1..f76545a 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -26,11 +26,3 @@ mesecon.register_node("mesecons_switch:mesecon_switch", { "mesecons_switch_side.png", "mesecons_switch_on.png"}, mesecons = {receptor = { state = mesecon.state.on }} }) - -minetest.register_craft({ - output = "mesecons_switch:mesecon_switch_off 2", - recipe = { - {"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"}, - {"group:mesecon_conductor_craftable","", "group:mesecon_conductor_craftable"}, - } -}) diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index 34f3c4d..eb537f2 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -38,13 +38,6 @@ local torch_get_input_rules = function(node) return rotate_torch_rules(rules, node.param2) end -minetest.register_craft({ - output = "mesecons_torch:mesecon_torch_on 4", - recipe = { - {"group:mesecon_conductor_craftable"}, - {"group:stick"},} -}) - local torch_selectionbox = { type = "wallmounted", diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua index 670dab5..f33678f 100644 --- a/mesecons_walllever/init.lua +++ b/mesecons_walllever/init.lua @@ -53,12 +53,3 @@ mesecon.register_node("mesecons_walllever:wall_lever", { }}, groups = {dig_immediate = 2, mesecon_needs_receiver = 1, not_in_creative_inventory = 1} }) - -minetest.register_craft({ - output = "mesecons_walllever:wall_lever_off 2", - recipe = { - {"group:mesecon_conductor_craftable"}, - {"mesecons_gamecompat:stone"}, - {"group:stick"}, - } -}) diff --git a/mesecons_wires/init.lua b/mesecons_wires/init.lua index 3236bdd..b32bb2a 100644 --- a/mesecons_wires/init.lua +++ b/mesecons_wires/init.lua @@ -223,36 +223,4 @@ local function register_wires() if (nid_inc(nid) == false) then return end end end -register_wires() - --- ############## --- ## Crafting ## --- ############## --- (Resolve aliases to avoid bug with cooking/fuel recipes.) - -if minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"] then - minetest.register_craft({ - type = "cooking", - output = "mesecons:wire_00000000_off 2", - recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"], - cooktime = 3, - }) -end - -if minetest.registered_aliases["mesecons_gamecompat:mese_crystal"] then - minetest.register_craft({ - type = "cooking", - output = "mesecons:wire_00000000_off 18", - recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal"], - cooktime = 15, - }) -end - -if minetest.registered_aliases["mesecons_gamecompat:mese"] then - minetest.register_craft({ - type = "cooking", - output = "mesecons:wire_00000000_off 162", - recipe = minetest.registered_aliases["mesecons_gamecompat:mese"], - cooktime = 30, - }) -end +register_wires() \ No newline at end of file