summaryrefslogtreecommitdiff
path: root/nodes/recipes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nodes/recipes.lua')
-rw-r--r--nodes/recipes.lua19
1 files changed, 11 insertions, 8 deletions
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",