Page 1 of 1

Lava height

PostPosted: Wed Sep 14, 2016 20:53
by Wuzzy
At which height (Y) does lava start to appear in Minetest Game in each of the core map generators?

Re: Lava height

PostPosted: Thu Sep 15, 2016 07:25
by paramat
Mgv6 -32 all others -273.

Re: Lava height

PostPosted: Thu Sep 15, 2016 16:19
by Wuzzy
Thanks. How do I change the height?
Is the height related to water_level or is it independent from it?

And why -273? This number seems odd. ;-)

Re: Lava height

PostPosted: Fri Sep 16, 2016 12:18
by Naj
Wuzzy wrote:And why -273? This number seems odd. ;-)


Sounds like absolute zero in celcius degrees :)

Re: Lava height

PostPosted: Sat Sep 17, 2016 09:15
by paramat
Well -273 is the highest maxp below -256 which is the coded limit.
These depths are hardcoded.
In mgv6 the lava depth is related to water level, it will always be a mapchunk lower.
All other mapgens it's a constant -256.