mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-08 23:07:33 +07:00
Add throughput stat entry
This commit is contained in:
@ -530,6 +530,7 @@ error.title = [crimson]An error has occured
|
|||||||
error.crashtitle = An error has occured
|
error.crashtitle = An error has occured
|
||||||
blocks.input = Input
|
blocks.input = Input
|
||||||
blocks.output = Output
|
blocks.output = Output
|
||||||
|
blocks.throughput = Throughput
|
||||||
blocks.booster = Booster
|
blocks.booster = Booster
|
||||||
block.unknown = [lightgray]???
|
block.unknown = [lightgray]???
|
||||||
blocks.powercapacity = Power Capacity
|
blocks.powercapacity = Power Capacity
|
||||||
|
@ -47,6 +47,7 @@ public class CraterConveyor extends BaseConveyor{
|
|||||||
|
|
||||||
stats.add(BlockStat.maxUnits, 1, StatUnit.none);
|
stats.add(BlockStat.maxUnits, 1, StatUnit.none);
|
||||||
stats.add(BlockStat.boostEffect, "$blocks.itemcapacity");
|
stats.add(BlockStat.boostEffect, "$blocks.itemcapacity");
|
||||||
|
stats.add(BlockStat.throughput, speed * 60, StatUnit.perSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -26,6 +26,7 @@ public enum BlockStat{
|
|||||||
|
|
||||||
input(StatCategory.crafting),
|
input(StatCategory.crafting),
|
||||||
output(StatCategory.crafting),
|
output(StatCategory.crafting),
|
||||||
|
throughput(StatCategory.crafting),
|
||||||
productionTime(StatCategory.crafting),
|
productionTime(StatCategory.crafting),
|
||||||
drillTier(StatCategory.crafting),
|
drillTier(StatCategory.crafting),
|
||||||
drillSpeed(StatCategory.crafting),
|
drillSpeed(StatCategory.crafting),
|
||||||
|
Reference in New Issue
Block a user