forked from VoxeLibre/VoxeLibre
Add more particles when bonemealing grass.
* Bonemealing dirt_with_grass spawns new growth over a wide area, so it looks better if we spawn a few more extra bone meal particles. * Update mod.conf depends to mcl_bone_meal.
This commit is contained in:
parent
8f05b612c9
commit
82112e42fe
|
@ -99,6 +99,9 @@ local function bonemeal_grass(pointed_thing, placer)
|
||||||
math.random(1, 100) <= 90 / r then
|
math.random(1, 100) <= 90 / r then
|
||||||
color = below.param2
|
color = below.param2
|
||||||
add_random_flower(pos, color)
|
add_random_flower(pos, color)
|
||||||
|
if math.random(1,5) == 1 then
|
||||||
|
mcl_bone_meal.add_bone_meal_particle(pos)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end end end
|
end end end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
name=mcl_flowers
|
name=mcl_flowers
|
||||||
depends=mcl_core, mcl_util, mcl_sounds
|
depends=mcl_core, mcl_util, mcl_sounds, mcl_bone_meal
|
||||||
optional_depends=screwdriver, doc, mcl_flowerpots
|
optional_depends=screwdriver, doc, mcl_flowerpots
|
Loading…
Reference in New Issue