-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,7 +306,7 @@ minetest.register_abm({ | |
|
||
|
||
-- | ||
-- Grass growing | ||
-- Grass growing on well-lit dirt | ||
-- | ||
|
||
minetest.register_abm({ | ||
|
@@ -329,6 +329,11 @@ minetest.register_abm({ | |
end | ||
}) | ||
|
||
|
||
-- | ||
-- Grass and dry grass removed in darkness | ||
-- | ||
|
||
minetest.register_abm({ | ||
nodenames = {"default:dirt_with_grass", "default:dirt_with_dry_grass"}, | ||
interval = 2, | ||
|
@@ -345,3 +350,18 @@ minetest.register_abm({ | |
end | ||
}) | ||
|
||
|
||
-- | ||
-- Moss growth on cobble near water | ||
-- | ||
|
||
minetest.register_abm({ | ||
nodenames = {"default:cobble"}, | ||
neighbors = {"group:water"}, | ||
interval = 17, | ||
chance = 200, | ||
catch_up = false, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ShadowNinja
Member
|
||
action = function(pos, node) | ||
minetest.set_node(pos, {name = "default:mossycobble"}) | ||
end | ||
}) |
3 comments
on commit 2729777
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it breaks my mod
https://forum.minetest.net/viewtopic.php?p=156569#p156569
please make it possible to disable this
and moss should only grow if air is near it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry it breaks your mod, but it's normal that mods are re-written to work with MTGame as it changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can l disable this abm with my mod?
thanks, l didn't know it's possible to disable catching up