Red ice
This commit is contained in:
@@ -379,3 +379,6 @@
|
|||||||
63354=payload-launch-pad|block-payload-launch-pad-ui
|
63354=payload-launch-pad|block-payload-launch-pad-ui
|
||||||
63353=silicon-arc-furnace|block-silicon-arc-furnace-ui
|
63353=silicon-arc-furnace|block-silicon-arc-furnace-ui
|
||||||
63352=metal-floor-4|block-metal-floor-4-ui
|
63352=metal-floor-4|block-metal-floor-4-ui
|
||||||
|
63351=redice|block-redice-ui
|
||||||
|
63350=red-ice|block-red-ice-ui
|
||||||
|
63349=red-ice-wall|block-red-ice-wall-ui
|
||||||
|
|||||||
@@ -37,10 +37,11 @@ public class Blocks implements ContentList{
|
|||||||
|
|
||||||
//environment
|
//environment
|
||||||
air, spawn, cliff, deepwater, water, taintedWater, tar, slag, stone, craters, charr, sand, darksand, dirt, mud, ice, snow, darksandTaintedWater, space,
|
air, spawn, cliff, deepwater, water, taintedWater, tar, slag, stone, craters, charr, sand, darksand, dirt, mud, ice, snow, darksandTaintedWater, space,
|
||||||
dacite, rhyolite, rhyoliteCrater, regolith, yellowStone, redmat, bluemat,
|
dacite, rhyolite, rhyoliteCrater, regolith, yellowStone, redIce,
|
||||||
|
redmat, bluemat,
|
||||||
stoneWall, dirtWall, sporeWall, iceWall, daciteWall, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
|
stoneWall, dirtWall, sporeWall, iceWall, daciteWall, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
|
||||||
redweed, purbush, coralChunk, glowBlob, yellowCoral,
|
redweed, purbush, coralChunk, glowBlob, yellowCoral,
|
||||||
regolithWall, yellowStoneWall, rhyoliteWall, carbonWall,
|
regolithWall, yellowStoneWall, rhyoliteWall, carbonWall, redIceWall,
|
||||||
graphiticStone,
|
graphiticStone,
|
||||||
iceSnow, sandWater, darksandWater, duneWall, sandWall, moss, sporeMoss, shale, shaleWall, shaleBoulder, sandBoulder, daciteBoulder, boulder, snowBoulder, basaltBoulder, grass, salt,
|
iceSnow, sandWater, darksandWater, duneWall, sandWall, moss, sporeMoss, shale, shaleWall, shaleBoulder, sandBoulder, daciteBoulder, boulder, snowBoulder, basaltBoulder, grass, salt,
|
||||||
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, basalt, magmarock, hotrock, snowWall, saltWall,
|
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, basalt, magmarock, hotrock, snowWall, saltWall,
|
||||||
@@ -312,6 +313,12 @@ public class Blocks implements ContentList{
|
|||||||
variants = 4;
|
variants = 4;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
redIce = new Floor("red-ice"){{
|
||||||
|
dragMultiplier = 0.4f;
|
||||||
|
speedMultiplier = 0.9f;
|
||||||
|
attributes.set(Attribute.water, 0.4f);
|
||||||
|
}};
|
||||||
|
|
||||||
redmat = new Floor("redmat");
|
redmat = new Floor("redmat");
|
||||||
bluemat = new Floor("bluemat");
|
bluemat = new Floor("bluemat");
|
||||||
|
|
||||||
@@ -396,6 +403,12 @@ public class Blocks implements ContentList{
|
|||||||
graphiticStone.asFloor().wall = this;
|
graphiticStone.asFloor().wall = this;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
|
||||||
|
redIceWall = new StaticWall("red-ice-wall"){{
|
||||||
|
variants = 2;
|
||||||
|
redIce.asFloor().wall = this;
|
||||||
|
}};
|
||||||
|
|
||||||
sandWall = new StaticWall("sand-wall"){{
|
sandWall = new StaticWall("sand-wall"){{
|
||||||
variants = 2;
|
variants = 2;
|
||||||
sandWater.asFloor().wall = water.asFloor().wall = deepwater.asFloor().wall = this;
|
sandWater.asFloor().wall = water.asFloor().wall = deepwater.asFloor().wall = this;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
|||||||
|
|
||||||
if(ice < 0.6){
|
if(ice < 0.6){
|
||||||
if(result == Blocks.rhyolite || result == Blocks.yellowStone || result == Blocks.regolith){
|
if(result == Blocks.rhyolite || result == Blocks.yellowStone || result == Blocks.regolith){
|
||||||
return Blocks.ice;
|
return Blocks.redIce;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
|||||||
if(temp > 0.7){
|
if(temp > 0.7){
|
||||||
|
|
||||||
pass((x, y) -> {
|
pass((x, y) -> {
|
||||||
if(floor != Blocks.ice){
|
if(floor != Blocks.redIce){
|
||||||
float noise = noise(x + 782, y, 7, 0.8f, 310f, 1f);
|
float noise = noise(x + 782, y, 7, 0.8f, 310f, 1f);
|
||||||
if(noise > 0.67f){
|
if(noise > 0.67f){
|
||||||
if(noise > 0.72f){
|
if(noise > 0.72f){
|
||||||
|
|||||||
Reference in New Issue
Block a user