mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 23:21:07 +01:00
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
8855246dd4
commit
e8d965e21a
2 changed files with 5 additions and 2 deletions
|
@ -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 a new issue