mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Merge fa8dd5612a
into 90aaa1fb62
This commit is contained in:
commit
3a29c5ff6a
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",
|
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
|
-- Support old code
|
||||||
function default.spawn_falling_node(p, nodename)
|
function default.spawn_falling_node(p, nodename)
|
||||||
spawn_falling_node(p, nodename)
|
spawn_falling_node(p, nodename)
|
||||||
|
|
Loading…
Add table
Reference in a new issue