less slag bruh moments

This commit is contained in:
Anuken
2022-02-04 23:26:10 -05:00
parent 0ce6e6512b
commit 6675730571
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -2940,7 +2940,7 @@ public class UnitTypes{
mirror = false; mirror = false;
reload = 1f; reload = 1f;
shootOnDeath = true; shootOnDeath = true;
bullet = new ExplosionBulletType(110f, 22f){{ bullet = new ExplosionBulletType(130f, 22f){{
shootEffect = Fx.massiveExplosion; shootEffect = Fx.massiveExplosion;
}}; }};
}}); }});
@@ -151,7 +151,8 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
ore = Blocks.air; ore = Blocks.air;
} }
if(noise > 0.5f && floor == Blocks.beryllicStone){ //TODO this needs to be tweaked
if(noise > 0.55f && floor == Blocks.beryllicStone){
floor = Blocks.yellowStone; floor = Blocks.yellowStone;
} }
} }
@@ -223,6 +224,10 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
floor = Blocks.roughRhyolite; floor = Blocks.roughRhyolite;
} }
if(floor == Blocks.slag && Mathf.within(x, y, spawnX, spawnY, 30f + noise(x, y, 2, 0.8f, 9f, 15f))){
floor = Blocks.yellowStonePlates;
}
if((floor == Blocks.arkyciteFloor || floor == Blocks.arkyicStone) && block.isStatic()){ if((floor == Blocks.arkyciteFloor || floor == Blocks.arkyicStone) && block.isStatic()){
block = Blocks.arkyicWall; block = Blocks.arkyicWall;
} }