From f18e82112fb6ca80824c03458d8a5ba6c86ee904 Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Thu, 15 Sep 2016 11:08:24 +0100
Subject: Have animalmaterials:bone craft into bonemeal if found

---
 bonemeal.lua | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'bonemeal.lua')

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 = {
-- 
cgit v1.2.3