Place sweet berries on wet farmland and bonemeal the sweet berries to progress growth
This commit is contained in:
parent
ae91640234
commit
e8b983bcc5
|
@ -281,6 +281,10 @@ local function apply_bone_meal(pointed_thing)
|
||||||
if math.random(1, 100) <= 75 then
|
if math.random(1, 100) <= 75 then
|
||||||
return mcl_farming:grow_plant("plant_beetroot", pos, n, 1, true)
|
return mcl_farming:grow_plant("plant_beetroot", pos, n, 1, true)
|
||||||
end
|
end
|
||||||
|
elseif string.find(n.name, "mcl_farming:sweet_berry_bush_") then
|
||||||
|
mcl_dye.add_bone_meal_particle(pos)
|
||||||
|
local stages = math.random(2, 3)
|
||||||
|
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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
|
|
||||||
local planton = {"mcl_core:dirt_with_grass","mcl_core:dirt","mcl_core:podzol","mcl_core:coarse_dirt","mcl_farming:soil","mcl_moss:moss"}
|
local planton = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol", "mcl_core:coarse_dirt", "mcl_farming:soil", "mcl_farming:soil_wet", "mcl_moss:moss"}
|
||||||
|
|
||||||
for i=0, 3 do
|
for i=0, 3 do
|
||||||
local texture = "mcl_farming_sweet_berry_bush_" .. i .. ".png"
|
local texture = "mcl_farming_sweet_berry_bush_" .. i .. ".png"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user