defer to farming for sugar

This commit is contained in:
Vanessa Dannenberg 2018-08-13 15:48:15 -04:00
parent 60c3664cbb
commit 3eb2befaa4

View File

@ -13,6 +13,7 @@ minetest.register_craft({
-- Sugar
if not minetest.registered_items["farming:sugar"] then
minetest.register_craftitem(":bushes:sugar", {
description = S("Sugar"),
inventory_image = "bushes_sugar.png",
@ -26,6 +27,12 @@ minetest.register_craft({
{ "default:papyrus", "default:papyrus" },
},
})
else
minetest.register_alias("bushes:sugar", "farming:sugar")
end
minetest.register_alias("farming_plus:carrot_seed", "farming:carrot")
-- override farming_plus strawberry and add food_ group
if minetest.get_modpath("farming_plus") then