Ore flag "absheight" now non-functional

Locked
User avatar
paramat
Developer
Posts: 3700
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
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: Ore flag "absheight" now non-functional

by Wuzzy » Post

This makes total sense. I agree, this absheight is pretty much pointless. Good riddance!

Locked

Who is online

Users browsing this forum: No registered users and 4 guests