1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-23 02:00:28 +02:00

Version MFF.

This commit is contained in:
sys4-fr
2018-09-08 14:54:14 +02:00
parent 2e0277e558
commit f5ec948679
386 changed files with 244 additions and 240 deletions

12
bushes_classic/cooking.lua Normal file → Executable file
View File

@ -12,6 +12,17 @@ minetest.register_craft({
-- Sugar
-- Use the sugar from farming redo if available
if minetest.get_modpath("farming") and farming.mod == "redo" then
--[[ We really have nothing to do to use farming:sugar in the recipes
because they use the generic group group:food_sugar
which is added to the groups list of farming:sugar by the mod "food".
--]]
--Temporary alias to replace existing bushes:sugar in the world
minetest.register_alias("bushes:sugar", "farming:sugar")
else
minetest.register_craftitem(":bushes:sugar", {
description = S("Sugar"),
inventory_image = "bushes_sugar.png",
@ -25,6 +36,7 @@ minetest.register_craft({
{ "default:papyrus", "default:papyrus" },
},
})
end
for i, berry in ipairs(bushes_classic.bushes) do
local desc = bushes_classic.bushes_descriptions[i]