diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-15 11:08:24 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-15 11:08:24 +0100 |
commit | f18e82112fb6ca80824c03458d8a5ba6c86ee904 (patch) | |
tree | cdc031de3ca47be3f0535cfa9fba9b529a6b5bcf | |
parent | d0b896e8c816ab75fe57e6ac2bad11aac12b5dbc (diff) |
Have animalmaterials:bone craft into bonemeal if found
-rw-r--r-- | bonemeal.lua | 10 |
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 = {
|