LocaL_ALchemisT wrote:woah, cool..
just one thing, are you sure it only depends on default? coz default doesn't have obsidian
SegFault22 wrote:I wonder if it's possible to lower the rate at which lava cools, below a certain level...as to simulate it as if the air above magma is gaseous and hot, yet above ground it is cool and plain.
minetest.register_abm ({
nodenames = {"default:lava_source", "default:lava_flowing"},
neighbors = {"default:water_source", "default:water_flowing"},
interval = 1.0,
chance = 8,
action = function (pos)
if minetest.env:find_node_near(pos, 2, {"default:desert_stone", "default:desert_sand"}) then
minetest.env: add_node (pos, {name = "default:desert_stone"})
else
minetest.env: add_node (pos, {name = "default:stone"})
end
end,
})
minetest.register_abm ({
nodenames = {"default:lava_flowing"},
interval = 3.0,
chance = 8,
action = function (pos)
if minetest.env:find_node_near(pos, 1, {"default:desert_stone", "default:desert_sand"}) then
default.spawn_falling_node(pos, "default:desert_stone")
else
spawn_falling_node(pos, "default:stone") -- for versions before 0.4.4 use: default.spawn_falling_node(pos, "default:stone")
end
end,
})
deivan wrote:I made some changes in this mod for solve some little problems...
1) All my lava "lakes" become stone lakes...
2) The geothermal generator (technic) never work, the water close to the lava make rocks...
I added the idea of the direct contact as trigger then if lava and water (or air) have same two axes, like x and y, then is a direct contact.
I make molten rocks come back to lava form if the nod have at last 2 lava direct contacts with him.
I have the idea of transform rocks in lava but I am thinking.. How make it work without make a crazy thing? Like all caves become lava pools... :-o
Maybe I release this new version of the mod or I make a alternative, I am doing many changes... I need time.
Users browsing this forum: No registered users and 2 guests