Boiling point implementation

This commit is contained in:
Anuken
2021-08-19 20:39:49 -04:00
parent a39f2bd3a9
commit 90826b7064
5 changed files with 57 additions and 3 deletions

View File

@@ -900,6 +900,24 @@ public class Fx{
});
}),
vapor = new Effect(110f, e -> {
color(e.color);
alpha(e.fout());
randLenVectors(e.id, 3, 2f + e.finpow() * 11f, (x, y) -> {
Fill.circle(e.x + x, e.y + y, 0.6f + e.fin() * 5f);
});
}),
vaporSmall = new Effect(50f, e -> {
color(e.color);
alpha(e.fout());
randLenVectors(e.id, 4, 2f + e.finpow() * 5f, (x, y) -> {
Fill.circle(e.x + x, e.y + y, 1f + e.fin() * 4f);
});
}),
fireballsmoke = new Effect(25f, e -> {
color(Color.gray);

View File

@@ -14,6 +14,8 @@ public class Liquids implements ContentList{
heatCapacity = 0.4f;
alwaysUnlocked = true;
effect = StatusEffects.wet;
boilPoint = 0.5f;
gasColor = Color.grays(0.9f);
}};
slag = new Liquid("slag", Color.valueOf("ffa166")){{