mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 23:01:00 +02:00
most recipes work with mineclone
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
|
||||
local S = farming.translate
|
||||
local a = farming.recipe_items
|
||||
|
||||
-- beetroot
|
||||
minetest.register_craftitem("farming:beetroot", {
|
||||
description = S("Beetroot"),
|
||||
inventory_image = "farming_beetroot.png",
|
||||
groups = {compostability = 65, seed = 2, food_beetroot = 1, flammable = 2},
|
||||
groups = {compostability = 48, seed = 2, food_beetroot = 1, flammable = 2},
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:beetroot_1")
|
||||
end,
|
||||
@ -30,7 +31,7 @@ minetest.register_craft({
|
||||
|
||||
-- red dye
|
||||
minetest.register_craft({
|
||||
output = "dye:red",
|
||||
output = a.dye_red,
|
||||
recipe = {{"group:food_beetroot"}}
|
||||
})
|
||||
|
||||
@ -92,7 +93,7 @@ farming.registered_plants["farming:beetroot"] = {
|
||||
-- mapgen
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
|
Reference in New Issue
Block a user