From 06a2ba85e3254e7d5ccb5ac2f4c56823d6a03854 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 10 Oct 2017 20:33:56 -0600 Subject: various tidies and tweaks to technic support --- nodes/recipes.lua | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'nodes/recipes.lua') diff --git a/nodes/recipes.lua b/nodes/recipes.lua index 00cf0d7..942fa69 100644 --- a/nodes/recipes.lua +++ b/nodes/recipes.lua @@ -90,14 +90,17 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = "digtron:battery_holder", - recipe = { - {"","default:chest",""}, - {"","digtron:digtron_core",""}, - {"","default:steel_ingot",""} - } -}) +if minetest.get_modpath("technic") then + -- no need for this recipe if technic is not installed, avoid cluttering crafting guides + minetest.register_craft({ + output = "digtron:battery_holder", + recipe = { + {"","default:chest",""}, + {"","digtron:digtron_core",""}, + {"","default:steel_ingot",""} + } + }) +end minetest.register_craft({ output = "digtron:combined_storage", -- cgit v1.2.3