mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 06:22:17 -08:00
Improved coal centrifuge update effect
This commit is contained in:
parent
8436599c79
commit
f8ddf952ca
3 changed files with 9 additions and 1 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue