Ore flag "absheight" now non-functional

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

Ore flag "absheight" now non-functional

by paramat » Tue Jun 27, 2017 04:01

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: 3610
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Ore flag "absheight" now non-functional

by Wuzzy » Tue Jun 27, 2017 19:07

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

Return to News

Who is online

Users browsing this forum: No registered users and 1 guest