Ore flag "absheight" now non-functional

User avatar
Posts: 3691
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Ore flag "absheight" now non-functional

by paramat » Post

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.

I remember talking with hmmmm about this, we agreed it was a crude and not much usable feature, i suggested to remove it but hmmmm was concerned about breakage, 0.5 is a good chance.

Generally ores are meant to be below y = 0, with this flag enabled any ores between y = 0 and y = -256 appear in hills and mountains between y = 0 and y = 256, the only way to avoid this is to keep ores below y = -256, which is bad for gameplay. The feature is therefore almost useless.


The flag is now simply non-functional, if it is in your ore registrations nothing will break, the mirrored ores will just not appear.

User avatar
Posts: 4064
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Ore flag "absheight" now non-functional

by Wuzzy » Post

This makes total sense. I agree, this absheight is pretty much pointless. Good riddance!
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH


Who is online

Users browsing this forum: No registered users and 0 guests