the vent
This commit is contained in:
@@ -40,7 +40,7 @@ public class Blocks implements ContentList{
|
||||
redmat, bluemat,
|
||||
stoneWall, dirtWall, sporeWall, iceWall, daciteWall, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
|
||||
redweed, purbush, coralChunk, yellowCoral,
|
||||
regolithWall, yellowStoneWall, rhyoliteWall, carbonWall, redIceWall, ferricStoneWall, beryllicStoneWall,
|
||||
regolithWall, yellowStoneWall, rhyoliteWall, steamVent, carbonWall, redIceWall, ferricStoneWall, beryllicStoneWall,
|
||||
ferricStone, ferricCraters, carbonStone, beryllicStone,
|
||||
iceSnow, sandWater, darksandWater, duneWall, sandWall, moss, sporeMoss, shale, shaleWall, grass, salt,
|
||||
shaleBoulder, sandBoulder, daciteBoulder, boulder, snowBoulder, basaltBoulder, carbonBoulder, ferricBoulder, beryllicBoulder,
|
||||
@@ -334,6 +334,10 @@ public class Blocks implements ContentList{
|
||||
blendGroup = rhyolite;
|
||||
}};
|
||||
|
||||
steamVent = new SteamVent("steam-vent"){{
|
||||
parent = blendGroup = rhyolite;
|
||||
}};
|
||||
|
||||
regolith = new Floor("regolith"){{
|
||||
attributes.set(Attribute.water, -1f);
|
||||
}};
|
||||
|
||||
@@ -941,6 +941,17 @@ public class Fx{
|
||||
});
|
||||
}),
|
||||
|
||||
ventSteam = new Effect(140f, e -> {
|
||||
color(Pal.vent, e.fslope() * 0.85f);
|
||||
|
||||
float length = 3f + e.finpow() * 10f;
|
||||
rand.setSeed(e.id);
|
||||
for(int i = 0; i < rand.random(3, 5); i++){
|
||||
v.trns(rand.random(360f), rand.random(length));
|
||||
Fill.circle(e.x + v.x, e.y + v.y, rand.random(1.2f, 3.5f) + e.fslope() * 1.1f);
|
||||
}
|
||||
}),
|
||||
|
||||
vapor = new Effect(110f, e -> {
|
||||
color(e.color);
|
||||
alpha(e.fout());
|
||||
|
||||
Reference in New Issue
Block a user