Interplanetary Accelerator re-added with functionality (WIP)
This commit is contained in:
@@ -39,7 +39,7 @@ public abstract class PlanetGenerator extends BasicGenerator implements HexMeshe
|
||||
if(sector.planet.getSector(other).id == sector.planet.startSector){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if(sector.planet.getSector(other).generateEnemyBase){
|
||||
any = false;
|
||||
break;
|
||||
@@ -57,6 +57,11 @@ public abstract class PlanetGenerator extends BasicGenerator implements HexMeshe
|
||||
return sector.planet.allowLaunchToNumbered && (sector.hasBase() || sector.near().contains(Sector::hasBase));
|
||||
}
|
||||
|
||||
/** @return whether to allow landing on the specified procedural sector */
|
||||
public boolean allowAcceleratorLanding(Sector sector){
|
||||
return sector.planet.allowLaunchToNumbered;
|
||||
}
|
||||
|
||||
public void addWeather(Sector sector, Rules rules){
|
||||
|
||||
//apply weather based on terrain
|
||||
|
||||
Reference in New Issue
Block a user