mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Adds water turning lava to stone
i dont know where to put this so i put it at the end.
This commit is contained in:
parent
90aaa1fb62
commit
fa8dd5612a
1 changed files with 10 additions and 0 deletions
|
@ -1696,6 +1696,16 @@ minetest.register_craftitem("default:scorched_stuff", {
|
|||
inventory_image = "default_scorched_stuff.png",
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:lava_flowing"},
|
||||
neighbors = {"default:water_source"},
|
||||
interval = 2,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
minetest.env:add_node(pos, {name="default:stone"})
|
||||
end,
|
||||
})
|
||||
|
||||
-- Support old code
|
||||
function default.spawn_falling_node(p, nodename)
|
||||
spawn_falling_node(p, nodename)
|
||||
|
|
Loading…
Add table
Reference in a new issue