-- carrot minetest.override_item("moreflowers:wild_carrot", { drop = { max_items = 1, items = { { items = {"morefarming:seed_carrot"}, rarity = 8}, { items = {"moreflowers:wild_carrot"}}, } }}) farming.register_plant("morefarming:carrot", { description = "Carrot seed", paramtype2 = "meshoptions", inventory_image = "morefarming_carrot_seed.png", steps = 8, minlight = 13, maxlight = default.LIGHT_MAX, fertility = {"grassland"}, groups = {flammable = 4}, place_param2 = 3, }) minetest.override_item("morefarming:carrot", { on_use = minetest.item_eat(4) }) -- golden carrot minetest.register_craftitem("morefarming:carrot_gold", { description = "Golden Carrot", inventory_image = "morefarming_carrot_gold.png", on_use = minetest.item_eat(6), }) minetest.register_craft({ output = "morefarming:carrot_gold", recipe = { {"", "default:gold_lump", ""}, {"default:gold_lump", "morefarming:carrot", "default:gold_lump"}, {"", "default:gold_lump", ""}, } })