Improved coal centrifuge update effect

This commit is contained in:
Anuken 2021-07-20 15:22:57 -04:00
parent 8436599c79
commit f8ddf952ca
3 changed files with 9 additions and 1 deletions

View file

@ -712,7 +712,7 @@ public class Blocks implements ContentList{
coalCentrifuge = new GenericCrafter("coal-centrifuge"){{
requirements(Category.crafting, with(Items.titanium, 20, Items.graphite, 40, Items.lead, 30));
craftEffect = Fx.smeltsmoke;
craftEffect = Fx.coalSmeltsmoke;
outputItem = new ItemStack(Items.coal, 1);
craftTime = 30f;
size = 2;

View file

@ -1622,6 +1622,13 @@ public class Fx{
});
}),
coalSmeltsmoke = new Effect(40f, e -> {
randLenVectors(e.id, 0.2f + e.fin(), 4, 6.3f, (x, y, fin, out) -> {
color(Color.darkGray, Pal.coalBlack, e.finpowdown());
Fill.circle(e.x + x, e.y + y, out * 2f + 0.25f);
});
}),
formsmoke = new Effect(40, e -> {
randLenVectors(e.id, 6, 5f + e.fin() * 8f, (x, y) -> {
color(Pal.plasticSmoke, Color.lightGray, e.fin());

View file

@ -6,6 +6,7 @@ public class Pal{
public static Color
thoriumPink = Color.valueOf("f9a3c7"),
coalBlack = Color.valueOf("272727"),
items = Color.valueOf("2ea756"),
command = Color.valueOf("eab678"),