mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Add sweet berry compostability
This commit is contained in:
parent
a7c3878cae
commit
5f4d7774ae
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ minetest.register_craftitem("mcl_farming:sweet_berry", {
|
||||||
inventory_image = "mcl_farming_sweet_berry.png",
|
inventory_image = "mcl_farming_sweet_berry.png",
|
||||||
_mcl_saturation = 0.2,
|
_mcl_saturation = 0.2,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = { food = 2, eatable = 1 },
|
groups = { food = 2, eatable = 1, compostability=30 },
|
||||||
on_secondary_use = minetest.item_eat(1),
|
on_secondary_use = minetest.item_eat(1),
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local new = mcl_farming:place_seed(itemstack, placer, pointed_thing, "mcl_sweet_berry:sweet_berry_bush_0")
|
local new = mcl_farming:place_seed(itemstack, placer, pointed_thing, "mcl_sweet_berry:sweet_berry_bush_0")
|
||||||
|
|
Loading…
Reference in a new issue