summaryrefslogtreecommitdiff
path: root/nodes/recipes.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-10-10 20:33:56 -0600
committerFaceDeer <derksenmobile@gmail.com>2017-10-10 20:33:56 -0600
commit06a2ba85e3254e7d5ccb5ac2f4c56823d6a03854 (patch)
tree1975f6db5ce892446b8c4b68fe3f01487555e312 /nodes/recipes.lua
parentf10d46d3796d390e5ac5036c8bed93c69926c1c5 (diff)
various tidies and tweaks to technic support
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",