(slightly) fewer polys in campaign

This commit is contained in:
Anuken 2020-10-22 17:12:38 -04:00
parent ace9aebf2b
commit a773edd838
4 changed files with 7 additions and 3 deletions

View File

@ -1154,7 +1154,6 @@ public class UnitTypes implements ContentList{
engineOffset = 6.5f;
hitSize = 8f;
lowAltitude = true;
isCounted = false;
ammoType = AmmoTypes.power;

View File

@ -263,7 +263,7 @@ public class DefaultWaves{
{nova, pulsar, quasar, vela, corvus},
{crawler, atrax, spiroct, arkyid, toxopid},
//{risso, minke, bryde, sei, omura}, //questionable choices
{poly, poly, mega, quad, quad},
{flare, horizon, difficulty > 0.5 ? poly : zenith, quad, quad},
{flare, horizon, zenith, antumbra, eclipse}
};

View File

@ -25,6 +25,11 @@ public abstract class PlanetGenerator extends BasicGenerator implements HexMeshe
if(noise < 0.15){
for(Ptile other : tile.tiles){
//no sectors near start sector!
if(sector.planet.getSector(other).id == sector.planet.startSector){
return;
}
if(sector.planet.getSector(other).generateEnemyBase){
any = false;
break;

View File

@ -368,7 +368,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
stable.image().color(Pal.accent).fillX().height(3f).pad(3f).row();
stable.add(sector.save != null ? sector.save.getPlayTime() : "@sectors.unexplored").row();
if(sector.isAttacked() || sector.hasEnemyBase()){
if(sector.isAttacked() || !sector.hasBase()){
stable.add("[accent]Difficulty: " + (int)(sector.baseCoverage * 10)).row();
}