Lost my thread, so here's a new one. I suddenly awakened from a terrible dream that I'd died out in the middle of nowhere and lost all my gear.

Shit, where's all my gear?

#gameplay #vidya #minetest #luanti #OpenSource #programming

https://fedicy.us.to/cy/p/1769904139.727099
Recovery went about as well as expected.
This beach of mineral sands looks familiar... oh hey more flax.

Not the good flax though.
Staying off the beach because sandstorms are a thing, and I fixed the trees so forests aren't completely impassable anymore. Oh, those sunflowers look familiar! Not that I died trapped against one or anything. No I'm a pro gamer with the skills.
Oh look, a fresh pile of bones of some poor explorer who is certainly not me, who perished carrying exactly the same stuff I was carrying. What are the odds?
A town nestled among the blasted sunflowers. This looks like an absolutely terrible place to live. They appear to be growing not potatoes, but I'll fix that.
Welcomed by the locals. Just made it inside. (He can't fit through the doorway.)
Exploring the area, I found a pig. Flying too high for me to catch though. Still looking for my ideal biome. Wait, is that...
It is! A Vault!
Oof... that's a lot of lava
OK first I leap a series of perilous parkour points, then hold onto a gap in the wall to make a longer leap, even though the minetest devs specifically changed their code to prevent that from working because they hate fun.
Then I leap, but the platform is blocked by a platform above, so I have to grab the lower platform and hop to the upper one, another thing the devs completely overhauled their movement engine to make sure you fall to your death.
Once I've grabbed onto that small ladder, I have to drop and coyote jump to the next platform. Another thing you can't do in minetest.
Next I leap into the lava and swim to grab the final ladder, climbing it before I take too much damage.
And finally, my reward is at hand!
Or I could just break through the wall and take the treasure. Ooh, mese!
Obsidian! That will be useful for fluid pumps and terumet.
I uh... toootally wasn't so fixated on the treasure that I stalled until it was night and then a skellington cut me down from behind. No, these bones are just... part of the treasure. Yeah!
And diamonds! That's ama—wait there's only 3 of them. I'm seriously 1 diamond short??

Maybe I'll find another vault. Or a tough monster that drops diamonds.

Hello badger do you drop diamonds? (He doesn't drop diamonds.)
Oh, this terrain is looking... pleasant. I took the liberty, by the way, of hacking the carpathian mapgen, because 3D terrain gen is stupid, so now it makes all sorts of interesting features. All I really need is "Some place flat, some place hilly" and that's what I get. I just wish I could figure out how to make flat plateaus at different heights. Minetest noise is value based, so you can't get the slope of how steep it is on every side. Well, you can, but then you run into a chunk boundary, and the neighboring chunk hasn't been generated. You could generate that one, but then on the other side of it, it wouldn't be able to tell the slop at the edge. So you generate the one beyond, and the one beyond... thus either I generate the whole 29,791,000,000,000 node map in one go, or I can't make my noise values steeper or flatter.

I suppose in theory if I was at a chunk boundary, then the node in the opposite direction would be approximately the same slope as the ungenerated one in front. Ehh... I'm bad at mapgen and I'm all by myself doing this, so I'll just leave it as far as I've gotten. Wish there was someone to work on this with...
When you leave your bed inside a basket like an idiot, and have to bury yourself into the hillside to escape the skellingtons, but you're pretty sure you probably dug out enough room to place the darn thing.

Notice I only have 3 diamonds still. It's going to be a long, boring trip down into the darkness with a lot of deaths if I can't find the 4th... the minetest worlds are so deep, digging straight down is the only way to get anywhere in any amount of time. Seriously they're stupidly deep; I would have done something different. Used some bitwise magic to make coordinates 17 by 14 by 17 bits, for a depth limit of 8,000, with a maximum world size of 131,000x131,000. Or y'know, just used 3 integers.

I'll implement my multi-map code before I do that, to allow for TRUE alternate dimensions, and no one will ever use it because I'm not an official minetest dev and you need a client that supports it.