Erekir gen fix

This commit is contained in:
Anuken
2022-01-13 23:33:12 -05:00
parent cfbfa0844d
commit 580e830300
3 changed files with 4 additions and 4 deletions

View File

@@ -633,7 +633,7 @@ public class Blocks{
yellowStoneBoulder = new Prop("yellow-stone-boulder"){{
variants = 2;
yellowStone.asFloor().decoration = this;
yellowStone.asFloor().decoration = regolith.asFloor().decoration = this;
}};
metalFloor = new Floor("metal-floor", 0);

View File

@@ -132,8 +132,8 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
float maxd = Mathf.dst(width/2f, height/2f);
erase(spawnX, spawnY, 15);
brush(pathfind(spawnX, spawnY, endX, endY, tile -> (tile.solid() ? 300f : 0f) + maxd - tile.dst(width/2f, height/2f)/10f, Astar.manhattan), 7);
erase(endX, endY, 12);
brush(pathfind(spawnX, spawnY, endX, endY, tile -> (tile.solid() ? 300f : 0f) + maxd - tile.dst(width/2f, height/2f)/10f, Astar.manhattan), 9);
erase(endX, endY, 15);
//arkycite
pass((x, y) -> {