Improved coal centrifuge update effect
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user