]> git.lizzy.rs Git - minetest.git/commit
Ores: Make 'absheight' flag non-functional
authorparamat <paramat@users.noreply.github.com>
Thu, 22 Jun 2017 05:50:22 +0000 (06:50 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sun, 25 Jun 2017 04:01:42 +0000 (05:01 +0100)
commit90ed6fc732ca667ca970b7c38d39c809e5c3553e
treeb8c53a98f59cf4ff2148849676448551b0005526
parent5a41a98ff6ac899038bfc359912ebb021479451b
Ores: Make 'absheight' flag non-functional

The 'absheight' flag was added years ago for the floatlands of 'indev'
mapgen (now deleted). The feature mirrored all ore placement around y = 0
to place ores in floatlands.

In MTG we now use dedicated ore registrations for floatlands.

The feature is crude, inflexible, problematic and very rarely used, it
also makes ore vertical range code more complex.
Minetest 0.5 is a good chance to remove the feature.

The flag itself remains to not break flag values.
doc/lua_api.txt
src/mg_ore.cpp
src/mg_ore.h