summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-09-15 11:08:24 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-09-15 11:08:24 +0100
commitf18e82112fb6ca80824c03458d8a5ba6c86ee904 (patch)
treecdc031de3ca47be3f0535cfa9fba9b529a6b5bcf
parentd0b896e8c816ab75fe57e6ac2bad11aac12b5dbc (diff)
Have animalmaterials:bone craft into bonemeal if found
-rw-r--r--bonemeal.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/bonemeal.lua b/bonemeal.lua
index 0c14c0c..d5b3ff0 100644
--- a/bonemeal.lua
+++ b/bonemeal.lua
@@ -26,6 +26,16 @@ minetest.register_craft( {
recipe = {"ethereal:bonemeal"},
})
+-- have animalmaterials bone craft into bonemeal if found
+if minetest.get_modpath('animalmaterials') then
+
+ minetest.register_craft({
+ type = "shapeless",
+ output = 'ethereal:bonemeal 2',
+ recipe = {'animalmaterials:bone'},
+ })
+end
+
-- add bones to dirt
minetest.override_item("default:dirt", {
drop = {