Fixed treads on modded units
This commit is contained in:
@@ -107,6 +107,7 @@ public class Planets{
|
||||
accessible = false;
|
||||
visible = false;
|
||||
atmosphereColor = Color.valueOf("3db899");
|
||||
iconColor = Color.valueOf("597be3");
|
||||
startSector = 10;
|
||||
atmosphereRadIn = -0.01f;
|
||||
atmosphereRadOut = 0.3f;
|
||||
@@ -116,7 +117,6 @@ public class Planets{
|
||||
};
|
||||
}};
|
||||
|
||||
//TODO hide beryllium and others on load in rules
|
||||
serpulo = new Planet("serpulo", sun, 1f, 3){{
|
||||
generator = new SerpuloPlanetGenerator();
|
||||
meshLoader = () -> new HexMesh(this, 6);
|
||||
@@ -157,10 +157,6 @@ public class Planets{
|
||||
gen.carbonChance = 0.1f;
|
||||
gen.ferricChance = 0f;
|
||||
});
|
||||
|
||||
//define launch candidates after all planets initialize
|
||||
//TODO how will it use the nucleus???
|
||||
serpulo.launchCandidates.add(erekir);
|
||||
}
|
||||
|
||||
private static Planet makeAsteroid(String name, Planet parent, Block base, Block tint, float tintThresh, int pieces, float scale, Cons<AsteroidGenerator> cgen){
|
||||
@@ -174,11 +170,12 @@ public class Planets{
|
||||
accessible = false;
|
||||
clipRadius = 2f;
|
||||
defaultEnv = Env.space;
|
||||
|
||||
icon = "commandRally";
|
||||
generator = new AsteroidGenerator();
|
||||
cgen.get((AsteroidGenerator)generator);
|
||||
|
||||
meshLoader = () -> {
|
||||
iconColor = tint.mapColor;
|
||||
Color tinted = tint.mapColor.cpy().a(1f - tint.mapColor.a);
|
||||
Seq<GenericMesh> meshes = new Seq<>();
|
||||
Color color = base.mapColor;
|
||||
|
||||
Reference in New Issue
Block a user