Add throughput stat entry

This commit is contained in:
Patrick 'Quezler' Mounier 2020-01-05 15:28:28 +01:00
parent 76fa8bef81
commit c6299c8f2c
No known key found for this signature in database
GPG Key ID: 0D6CA7326C76D8EA
3 changed files with 3 additions and 0 deletions

View File

@ -530,6 +530,7 @@ error.title = [crimson]An error has occured
error.crashtitle = An error has occured
blocks.input = Input
blocks.output = Output
blocks.throughput = Throughput
blocks.booster = Booster
block.unknown = [lightgray]???
blocks.powercapacity = Power Capacity

View File

@ -47,6 +47,7 @@ public class CraterConveyor extends BaseConveyor{
stats.add(BlockStat.maxUnits, 1, StatUnit.none);
stats.add(BlockStat.boostEffect, "$blocks.itemcapacity");
stats.add(BlockStat.throughput, speed * 60, StatUnit.perSecond);
}
@Override

View File

@ -26,6 +26,7 @@ public enum BlockStat{
input(StatCategory.crafting),
output(StatCategory.crafting),
throughput(StatCategory.crafting),
productionTime(StatCategory.crafting),
drillTier(StatCategory.crafting),
drillSpeed(StatCategory.crafting),