Skip to content

Commit

Permalink
fix bonemeal recipes and add grinder recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames authored and BuckarooBanzay committed Jun 27, 2023
1 parent e595439 commit 7216a15
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
21 changes: 19 additions & 2 deletions grinder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
-- cotton seed to flour

technic.register_grinder_recipe({
input={"farming:seed_cotton"},
output="farming:flour 1"
input = {"farming:seed_cotton"},
output = "farming:flour 1"
})


-- 2x bonemeal recipes
-- see https://github.com/pandorabox-io/pandorabox-mods/pull/2960

technic.register_grinder_recipe({
input = {"bones:bones"},
output = "bonemeal:bonemeal 8"
})
technic.register_grinder_recipe({
input = {"bonemeal:bone"},
output = "bonemeal:bonemeal 4"
})
technic.register_grinder_recipe({
input = {"default:coral_skeleton"},
output = "bonemeal:bonemeal 4"
})
15 changes: 15 additions & 0 deletions recipes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,18 @@ if minetest.get_modpath("technic") then
})
end
end

-- revert bonemeal recipe changes
-- see https://github.com/pandorabox-io/pandorabox-mods/pull/2960
if minetest.get_modpath("bonemeal") then
minetest.clear_craft({type = "cooking", recipe = "group:bone"})
minetest.clear_craft({recipe = {{"bones:bones"}}})
minetest.register_craft({
output = "bonemeal:bonemeal 4",
recipe = {{"bones:bones"}}
})
minetest.register_craft({
output = "bonemeal:bonemeal 2",
recipe = {{"bonemeal:bone"}}
})
end

0 comments on commit 7216a15

Please sign in to comment.