From ff32d01fd2e273cdfa649be4510e0ba4f2eb4416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 13 Aug 2022 09:00:03 +0200 Subject: [PATCH] remove crafts --- camera.lua | 11 +----- cardreader.lua | 17 --------- channelcopier.lua | 8 ----- conductors.lua | 88 +---------------------------------------------- controller.lua | 9 ----- detector.lua | 9 ----- gpu.lua | 9 ----- ioexpander.lua | 9 ----- light.lua | 7 ---- memory.lua | 20 +---------- movestone.lua | 8 ----- nic.lua | 9 +---- noteblock.lua | 9 ----- panel.lua | 8 ----- piezo.lua | 7 ---- piston.lua | 9 ----- sillystuff.lua | 8 ----- switches.lua | 18 ---------- timer.lua | 8 ----- touchscreen.lua | 11 +----- 20 files changed, 5 insertions(+), 277 deletions(-) diff --git a/camera.lua b/camera.lua index e228790..6b655fc 100644 --- a/camera.lua +++ b/camera.lua @@ -87,13 +87,4 @@ minetest.register_abm({ end end end -}) - -minetest.register_craft({ - output = "digistuff:camera", - recipe = { - {"homedecor:plastic_sheeting","homedecor:plastic_sheeting","homedecor:plastic_sheeting"}, - {"default:glass","homedecor:ic","mesecons_luacontroller:luacontroller0000"}, - {"homedecor:plastic_sheeting","homedecor:plastic_sheeting","homedecor:plastic_sheeting"}, - } -}) +}) \ No newline at end of file diff --git a/cardreader.lua b/cardreader.lua index 2592d6d..f500f44 100644 --- a/cardreader.lua +++ b/cardreader.lua @@ -101,20 +101,3 @@ minetest.register_node("digistuff:card_reader",{ }, }, }) - -minetest.register_craft({ - output = "digistuff:card", - recipe = { - {"basic_materials:plastic_sheet",}, - {"default:iron_lump",}, - } -}) - -minetest.register_craft({ - output = "digistuff:card_reader", - recipe = { - {"basic_materials:plastic_sheet","basic_materials:plastic_sheet","digilines:wire_std_00000000",}, - {"basic_materials:plastic_sheet","basic_materials:copper_wire","mesecons_luacontroller:luacontroller0000",}, - {"basic_materials:plastic_sheet","basic_materials:plastic_sheet","",}, - } -}) diff --git a/channelcopier.lua b/channelcopier.lua index 7a86514..d8c1008 100644 --- a/channelcopier.lua +++ b/channelcopier.lua @@ -49,14 +49,6 @@ minetest.register_tool("digistuff:channelcopier",{ end, }) -minetest.register_craft({ - output = "digistuff:channelcopier", - recipe = { - {"mesecons_fpga:programmer"}, - {"digilines:wire_std_00000000"} - } -}) - --NOTE: Asking to have your own mod added to here is not the right way to add compatibility with the channel copier. --Instead, include a _digistuff_channelcopier_fieldname field in your nodedef set to the name of the metadata field that contains the channel. diff --git a/conductors.lua b/conductors.lua index c74a442..2fe6c3b 100644 --- a/conductors.lua +++ b/conductors.lua @@ -494,90 +494,4 @@ minetest.register_node("digistuff:insulated_fourway", { }, }, }, -}) - -minetest.register_craft({ - output = "digistuff:digimese", - recipe = { - {"digilines:wire_std_00000000","digilines:wire_std_00000000","digilines:wire_std_00000000"}, - {"digilines:wire_std_00000000","default:mese","digilines:wire_std_00000000"}, - {"digilines:wire_std_00000000","digilines:wire_std_00000000","digilines:wire_std_00000000"} - } -}) - -minetest.register_craft({ - output = "digistuff:junctionbox", - recipe = { - {"homedecor:plastic_sheeting","digilines:wire_std_00000000","homedecor:plastic_sheeting",}, - {"digilines:wire_std_00000000","digilines:wire_std_00000000","digilines:wire_std_00000000",}, - {"homedecor:plastic_sheeting","digilines:wire_std_00000000","homedecor:plastic_sheeting",}, - } -}) - -if minetest.get_modpath("mesecons_materials") then - minetest.register_craft({ - output = "digistuff:insulated_straight 3", - recipe = { - {"mesecons_materials:fiber","mesecons_materials:fiber","mesecons_materials:fiber",}, - {"digilines:wire_std_00000000","digilines:wire_std_00000000","digilines:wire_std_00000000",}, - {"mesecons_materials:fiber","mesecons_materials:fiber","mesecons_materials:fiber",}, - } - }) -end - -minetest.register_craft({ - output = "digistuff:vertical_bottom 3", - recipe = { - {"digilines:wire_std_00000000",}, - {"digilines:wire_std_00000000",}, - {"digilines:wire_std_00000000",}, - } -}) - -minetest.register_craft({ - output = "digistuff:vertical_tap 5", - recipe = { - {"","digistuff:vertical_bottom",""}, - {"digilines:wire_std_00000000","digistuff:vertical_bottom","digilines:wire_std_00000000"}, - {"","digistuff:vertical_bottom",""}, - } -}) - -minetest.register_craft({ - output = "digistuff:insulated_corner 3", - recipe = { - {"digistuff:insulated_straight","digistuff:insulated_straight",}, - {"","digistuff:insulated_straight",}, - } -}) - -minetest.register_craft({ - output = "digistuff:insulated_tjunction 4", - recipe = { - {"digistuff:insulated_straight","digistuff:insulated_straight","digistuff:insulated_straight",}, - {"","digistuff:insulated_straight","",}, - } -}) - -minetest.register_craft({ - output = "digistuff:insulated_fourway 5", - recipe = { - {"","digistuff:insulated_straight","",}, - {"digistuff:insulated_straight","digistuff:insulated_straight","digistuff:insulated_straight",}, - {"","digistuff:insulated_straight","",}, - } -}) - -for _,item in ipairs({"digistuff:insulated_corner","digistuff:insulated_tjunction","digistuff:insulated_fourway",}) do - minetest.register_craft({ - output = "digistuff:insulated_straight", - type = "shapeless", - recipe = {item}, - }) -end - -minetest.register_craft({ - output = "digilines:wire_std_00000000", - type = "shapeless", - recipe = {"digistuff:vertical_bottom"}, -}) +}) \ No newline at end of file diff --git a/controller.lua b/controller.lua index 718a3e4..99ab72b 100644 --- a/controller.lua +++ b/controller.lua @@ -241,12 +241,3 @@ minetest.register_lbm({ end end, }) - -minetest.register_craft({ - output = "digistuff:controller", - recipe = { - {"","digistuff:button","",}, - {"digistuff:button","group:wool","digistuff:button",}, - {"","digistuff:button","",}, - }, -}) diff --git a/detector.lua b/detector.lua index 8cb4170..30b663e 100644 --- a/detector.lua +++ b/detector.lua @@ -53,12 +53,3 @@ minetest.register_abm({ end end }) - -minetest.register_craft({ - output = "digistuff:detector", - recipe = { - {"mesecons_detector:object_detector_off"}, - {"mesecons_luacontroller:luacontroller0000"}, - {"digilines:wire_std_00000000"} - } -}) diff --git a/gpu.lua b/gpu.lua index 7b68b8c..4a720ce 100644 --- a/gpu.lua +++ b/gpu.lua @@ -574,12 +574,3 @@ minetest.register_node("digistuff:gpu", { }, }, }) - -minetest.register_craft({ - output = "digistuff:gpu", - recipe = { - {"","default:steel_ingot",""}, - {"digilines:wire_std_00000000","mesecons_luacontroller:luacontroller0000","digilines:wire_std_00000000"}, - {"dye:red","dye:green","dye:blue"}, - } -}) diff --git a/ioexpander.lua b/ioexpander.lua index 59da390..e332810 100644 --- a/ioexpander.lua +++ b/ioexpander.lua @@ -166,12 +166,3 @@ for i=0,15,1 do }, }) end - -minetest.register_craft({ - output = "digistuff:ioexpander_0", - recipe = { - {"","mesecons:wire_00000000_off","",}, - {"digilines:wire_std_00000000","basic_materials:silicon","mesecons:wire_00000000_off",}, - {"","mesecons:wire_00000000_off","",}, - } -}) diff --git a/light.lua b/light.lua index ec9b6df..ccc94f4 100644 --- a/light.lua +++ b/light.lua @@ -63,10 +63,3 @@ for i=0,14,1 do }, }) end - -minetest.register_craft({ - output = "digistuff:light_0", - recipe = { - {"digilines:wire_std_00000000","mesecons_lamp:lamp_off",}, - } -}) diff --git a/memory.lua b/memory.lua index 51d9d7e..7757bac 100644 --- a/memory.lua +++ b/memory.lua @@ -155,22 +155,4 @@ minetest.register_node("digistuff:eeprom", { end }, }, -}) - -minetest.register_craft({ - output = "digistuff:ram", - recipe = { - {"basic_materials:plastic_sheet","basic_materials:plastic_sheet","basic_materials:plastic_sheet"}, - {"mesecons_gates:nand_off","basic_materials:plastic_sheet","mesecons_gates:nand_off"}, - {"mesecons:wire_00000000_off","basic_materials:silicon","mesecons:wire_00000000_off"}, - } -}) - -minetest.register_craft({ - output = "digistuff:eeprom", - recipe = { - {"basic_materials:plastic_sheet","mesecons:wire_00000000_off","basic_materials:plastic_sheet"}, - {"digilines:wire_std_00000000","basic_materials:plastic_sheet","digilines:wire_std_00000000"}, - {"mesecons:wire_00000000_off","basic_materials:silicon","mesecons:wire_00000000_off"}, - } -}) +}) \ No newline at end of file diff --git a/movestone.lua b/movestone.lua index 4f9967e..5d3dad5 100644 --- a/movestone.lua +++ b/movestone.lua @@ -273,11 +273,3 @@ minetest.register_node("digistuff:movestone", { }, }, }) - -minetest.register_craft({ - output = "digistuff:movestone", - recipe = { - {"mesecons_movestones:movestone","digilines:wire_std_00000000"}, - {"mesecons_movestones:movestone_vertical","mesecons_luacontroller:luacontroller0000"}, - }, -}) diff --git a/nic.lua b/nic.lua index 03019fe..81e2b80 100644 --- a/nic.lua +++ b/nic.lua @@ -61,11 +61,4 @@ minetest.register_node("digistuff:nic", { end }, }, -}) -minetest.register_craft({ - output = "digistuff:nic", - recipe = { - {"","","mesecons:wire_00000000_off"}, - {"digilines:wire_std_00000000","mesecons_luacontroller:luacontroller0000","mesecons:wire_00000000_off"} - } -}) +}) \ No newline at end of file diff --git a/noteblock.lua b/noteblock.lua index ef14224..602e69b 100644 --- a/noteblock.lua +++ b/noteblock.lua @@ -90,12 +90,3 @@ minetest.register_node("digistuff:noteblock", { }, }, }) - -minetest.register_craft({ - output = "digistuff:noteblock", - recipe = { - {"mesecons_noteblock:noteblock"}, - {"mesecons_luacontroller:luacontroller0000"}, - {"digilines:wire_std_00000000"}, - }, -}) diff --git a/panel.lua b/panel.lua index 70f5042..dc48a7e 100644 --- a/panel.lua +++ b/panel.lua @@ -146,11 +146,3 @@ minetest.register_node("digistuff:panel", { }, }) -minetest.register_craft({ - output = "digistuff:panel", - recipe = { - {"","digistuff:button",""}, - {"digistuff:button","digilines:lcd","digistuff:button"}, - {"","digistuff:button",""} - } -}) diff --git a/piezo.lua b/piezo.lua index ed7debc..60a03ea 100644 --- a/piezo.lua +++ b/piezo.lua @@ -86,10 +86,3 @@ if not minetest.get_modpath("quartz") then crystal = "default:mese_crystal_fragment" end -minetest.register_craft({ - output = "digistuff:piezo", - recipe = { - {crystal,"basic_materials:steel_strip"}, - {"digilines:wire_std_00000000","mesecons_luacontroller:luacontroller0000"}, - }, -}) diff --git a/piston.lua b/piston.lua index 0a643b9..f80a00c 100644 --- a/piston.lua +++ b/piston.lua @@ -241,12 +241,3 @@ minetest.register_node("digistuff:piston_pusher", { mesecon.register_mvps_stopper("digistuff:piston_ext") mesecon.register_mvps_stopper("digistuff:piston_pusher") - -minetest.register_craft({ - output = "digistuff:piston", - recipe = { - {"mesecons_pistons:piston_normal_off"}, - {"mesecons_luacontroller:luacontroller0000"}, - {"digilines:wire_std_00000000"}, - }, -}) diff --git a/sillystuff.lua b/sillystuff.lua index 432c1ee..4c87268 100644 --- a/sillystuff.lua +++ b/sillystuff.lua @@ -84,11 +84,3 @@ minetest.register_node("digistuff:heatsink_onic", { paramtype = "light", sunlight_propagates = true, }) - -minetest.register_craft({ - output = "digistuff:heatsink", - recipe = { - {"basic_materials:steel_strip","basic_materials:steel_strip","basic_materials:steel_strip"}, - {"","default:steel_ingot",""} - } -}) diff --git a/switches.lua b/switches.lua index afe18ae..4b8f6ee 100644 --- a/switches.lua +++ b/switches.lua @@ -309,15 +309,6 @@ minetest.register_node("digistuff:button_on_pushed", { sounds = default and default.node_sound_stone_defaults(), }) -minetest.register_craft({ - output = "digistuff:button", - recipe = { - {"mesecons_button:button_off"}, - {"mesecons_luacontroller:luacontroller0000"}, - {"digilines:wire_std_00000000"} - } -}) - minetest.register_node("digistuff:wall_knob", { paramtype = "light", paramtype2 = "facedir", @@ -432,12 +423,3 @@ minetest.register_node("digistuff:wall_knob_configured", { end, sounds = default and default.node_sound_stone_defaults(), }) - -minetest.register_craft({ - output = "digistuff:wall_knob", - recipe = { - {"", "mesecons_button:button_off", ""}, - {"digilines:wire_std_00000000","mesecons_luacontroller:luacontroller0000", "digilines:wire_std_00000000"}, - {"", "digilines:wire_std_00000000", ""}, - }, -}) diff --git a/timer.lua b/timer.lua index fd624f2..250a7d8 100644 --- a/timer.lua +++ b/timer.lua @@ -71,11 +71,3 @@ minetest.register_node("digistuff:timer", { }, }) -minetest.register_craft({ - output = "digistuff:timer 2", - recipe = { - {"","mesecons:wire_00000000_off","default:coal_lump"}, - {"digilines:wire_std_00000000","basic_materials:ic","mesecons:wire_00000000_off"}, - {"","mesecons:wire_00000000_off","default:paper"}, - } -}) diff --git a/touchscreen.lua b/touchscreen.lua index d288996..cf0b171 100644 --- a/touchscreen.lua +++ b/touchscreen.lua @@ -347,13 +347,4 @@ minetest.register_node("digistuff:advtouchscreen", { action = digistuff.ts_on_digiline_receive }, }, -}) - -minetest.register_craft({ - output = "digistuff:touchscreen", - recipe = { - {"mesecons_luacontroller:luacontroller0000","default:glass","default:glass"}, - {"default:glass","digilines:lcd","default:glass"}, - {"default:glass","default:glass","default:glass"} - } -}) +}) \ No newline at end of file