mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-10-08 06:35:23 +02: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:
@@ -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(...)
|
||||||
|
Reference in New Issue
Block a user