mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Stone Generator
This commit is contained in:
parent
90aaa1fb62
commit
17aa43a064
1 changed files with 11 additions and 0 deletions
|
@ -1712,6 +1712,17 @@ function default.register_falling_node(nodename, texture)
|
|||
end
|
||||
end
|
||||
|
||||
--ABMs
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:lava_flowing"},
|
||||
neighbors = {"default:water_flowing"},
|
||||
interval = 2,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
miinetest.env:add_node(pos, {name = "default:stone"})
|
||||
end,
|
||||
})
|
||||
|
||||
--
|
||||
-- Global callbacks
|
||||
--
|
||||
|
|
Loading…
Add table
Reference in a new issue