Zeg9 wrote:Great!
Protip: use pseudorandom instead of math.random, so you get same mines with the same world seed.
This is a good idea, altough i prefer Nore's suggestion with math.randomseed().
LionsDen wrote:What does the outside of the mines look like? I added this to my world and spent an hour exporing and couldn't find a single mine. I also added the Glow mod which add mushrooms and Stones with worms that glow and found those just fine, but no mines. Are they extremely rare or can you only come across them when digging?
They start at -64 and not deeper than -380 (you can change this at init.lua). When testing the first "layer" mines where at ~ -113. So you can mine at this deep through the ground until you find one or they are sometimes connected with caves and each other (or nearly).
Inocudom wrote:It would be neat if mines had entrances to the surface.
hmm...that could be a rarely feature someday ;)