Infinite Ore Deposit Core
Posted: Wed Feb 27, 2019 5:59 pm
RSO with Angel Infinite Ore lets you have infinite ore in the middle of a deposit. I would like this for vanilla generation.
Outside "Starting Area" only, or a config. Doesn't matter much which.
Two ways it might work.
Add infinite varient of each ore type, and have it use the same seed, and override the existing ore. However, it has a smaller size. Given I've seen some ores eat other deposits, this should be feasible. I have no idea about the seed part though.
Via script, on chunk generation. If a deposit is generated touching the edge of the map, generate the adjacent chunk as well.
Select all ore in a contiguous patch, possibly with some range (in case it is a little scattered)
Check the maximum amount of ore in a single tile in that patch. Convert the top x% (20%?) to infinite ore varients.
I've tried the second way before, but it is beyond my abilities at this time.
viewtopic.php?f=185&t=49005&p=283994#p283994
Outside "Starting Area" only, or a config. Doesn't matter much which.
Two ways it might work.
Add infinite varient of each ore type, and have it use the same seed, and override the existing ore. However, it has a smaller size. Given I've seen some ores eat other deposits, this should be feasible. I have no idea about the seed part though.
Via script, on chunk generation. If a deposit is generated touching the edge of the map, generate the adjacent chunk as well.
Select all ore in a contiguous patch, possibly with some range (in case it is a little scattered)
Check the maximum amount of ore in a single tile in that patch. Convert the top x% (20%?) to infinite ore varients.
I've tried the second way before, but it is beyond my abilities at this time.
viewtopic.php?f=185&t=49005&p=283994#p283994