Erekir gen fix
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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) -> {
|
||||
|
||||
Reference in New Issue
Block a user