mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:54:16 +07:00
Slag Incinerator Rework: No Slag Consumption Rate (#10197)
* Slag Incinerator: No Slag Consumption Rate * If Amount = 0 in LiquidDisplay, Don't display /sec * reinstated changes * Delete core/src/mindustry/ui/LiquidDisplay.java --------- Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
parent
ac5a9f4563
commit
4f08873bb9
@ -1342,7 +1342,7 @@ public class Blocks{
|
||||
slagIncinerator = new ItemIncinerator("slag-incinerator"){{
|
||||
requirements(Category.crafting, with(Items.tungsten, 15));
|
||||
size = 1;
|
||||
consumeLiquid(Liquids.slag, 2f / 60f);
|
||||
consumeLiquid(Liquids.slag, 0f);
|
||||
}};
|
||||
|
||||
carbideCrucible = new HeatCrafter("carbide-crucible"){{
|
||||
|
@ -152,7 +152,7 @@ public class StatValues{
|
||||
}
|
||||
}}).size(iconMed).padRight(3 + (amount != 0 && Strings.autoFixed(amount, 2).length() > 2 ? 8 : 0)).with(s -> withTooltip(s, liquid, false));
|
||||
|
||||
if(perSecond){
|
||||
if(perSecond && amount != 0){
|
||||
t.add(StatUnit.perSecond.localized()).padLeft(2).padRight(5).color(Color.lightGray).style(Styles.outlineLabel);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user