mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
Use group for mushroom spread ABM (#2863)
Have mushroom spread abm use group:mushroom to spread not only default red and brown but all defined shrooms.
This commit is contained in:
parent
1c78666c56
commit
642fde44f1
@ -248,7 +248,7 @@ end
|
|||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
label = "Mushroom spread",
|
label = "Mushroom spread",
|
||||||
nodenames = {"flowers:mushroom_brown", "flowers:mushroom_red"},
|
nodenames = {"group:mushroom"},
|
||||||
interval = 11,
|
interval = 11,
|
||||||
chance = 150,
|
chance = 150,
|
||||||
action = function(...)
|
action = function(...)
|
||||||
|
Loading…
Reference in New Issue
Block a user