From d2e86c8d4557f4f750464542f5b3314dbb499e84 Mon Sep 17 00:00:00 2001 From: Le_Docteur Date: Sat, 13 Dec 2014 14:06:13 +0100 Subject: [PATCH] removed bushes:sugar (bushes_classic). --- mods/plantlife_modpack/bushes_classic/cooking.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) mode change 100755 => 100644 mods/plantlife_modpack/bushes_classic/cooking.lua diff --git a/mods/plantlife_modpack/bushes_classic/cooking.lua b/mods/plantlife_modpack/bushes_classic/cooking.lua old mode 100755 new mode 100644 index 6e566190..350007c0 --- a/mods/plantlife_modpack/bushes_classic/cooking.lua +++ b/mods/plantlife_modpack/bushes_classic/cooking.lua @@ -20,6 +20,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", @@ -33,6 +44,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]