mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
always advance growth stage by 1 on bonemeal
This commit is contained in:
parent
e8b983bcc5
commit
ba9d10055e
1 changed files with 1 additions and 2 deletions
|
@ -283,8 +283,7 @@ local function apply_bone_meal(pointed_thing)
|
||||||
end
|
end
|
||||||
elseif string.find(n.name, "mcl_farming:sweet_berry_bush_") then
|
elseif string.find(n.name, "mcl_farming:sweet_berry_bush_") then
|
||||||
mcl_dye.add_bone_meal_particle(pos)
|
mcl_dye.add_bone_meal_particle(pos)
|
||||||
local stages = math.random(2, 3)
|
return mcl_farming:grow_plant("plant_sweet_berry_bush", pos, n, 1, true)
|
||||||
return mcl_farming:grow_plant("plant_sweet_berry_bush", pos, n, stages, true)
|
|
||||||
elseif n.name == "mcl_cocoas:cocoa_1" or n.name == "mcl_cocoas:cocoa_2" then
|
elseif n.name == "mcl_cocoas:cocoa_1" or n.name == "mcl_cocoas:cocoa_2" then
|
||||||
mcl_dye.add_bone_meal_particle(pos)
|
mcl_dye.add_bone_meal_particle(pos)
|
||||||
-- Cocoa: Advance by 1 stage
|
-- Cocoa: Advance by 1 stage
|
||||||
|
|
Loading…
Reference in a new issue