arkycite recolor

This commit is contained in:
Anuken
2021-11-30 22:52:33 -05:00
parent b3dd7f4b8b
commit e30d090a2e
6 changed files with 20 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ public class Liquids{
}};
//TODO
arkycite = new Liquid("arkycite", Color.valueOf("59963e")){{
arkycite = new Liquid("arkycite", Color.valueOf("84a94b")){{
flammability = 0.4f;
viscosity = 0.7f;
}};

View File

@@ -134,12 +134,23 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
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);
//arkycite
pass((x, y) -> {
if(noise(x + 300, y - x*1.6f + 100, 4, 0.81f, 86f, 1f) > 0.71f/* && floor == Blocks.yellowStone*/){
floor = Blocks.arkyciteFloor;
}
});
distort(10f, 12f);
distort(5f, 7f);
//smooth out slag to prevent random 1-tile patches
median(3, 0.6, Blocks.slag);
//does arkycite need smoothing?
//median(3, 0.6, Blocks.arkyciteFloor);
pass((x, y) -> {
float max = 0;
for(Point2 p : Geometry.d8){