1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-29 21:30:26 +02:00

Default: Add 'group:cools_lava' for lavacooling by snowblock and ice

Make lava cooling ABM use a new group 'group:cools_lava'.
Nodes other than water can cool lava. We assume snowblock and ice melt,
turn to water and cool lava.
Leave 'group:water' present temporarily to not break mod liquids.
This commit is contained in:
paramat
2016-11-10 04:04:20 +00:00
parent 68192a17e9
commit c3f3406e8e
2 changed files with 7 additions and 7 deletions

View File

@ -126,7 +126,7 @@ end
minetest.register_abm({
label = "Lava cooling",
nodenames = {"default:lava_source", "default:lava_flowing"},
neighbors = {"group:water"},
neighbors = {"group:cools_lava", "group:water"},
interval = 1,
chance = 1,
catch_up = false,