Actually fixed Serpulo base gen

This commit is contained in:
Anuken
2022-05-09 18:24:27 -04:00
parent 31c5ef2dc5
commit 76f1cfbc07
6 changed files with 17 additions and 15 deletions

View File

@@ -82,13 +82,13 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
any = true;
}
if(Structs.contains(tile.tiles, s -> sector.planet.getSector(s).id == sector.planet.startSector)) return;
if(noise < 0.16){
for(Ptile other : tile.tiles){
var osec = sector.planet.getSector(other);
//no sectors near start sector!
if(
osec.id == sector.planet.startSector || //near starting sector
osec.generateEnemyBase && poles < 0.85 || //near other base
(sector.preset != null && noise < 0.11) //near preset
){