Added stat for consecutive chains of overflows/sorters
This commit is contained in:
@@ -590,6 +590,7 @@ blocks.boosteffect = Boost Effect
|
|||||||
blocks.maxunits = Max Active Units
|
blocks.maxunits = Max Active Units
|
||||||
blocks.health = Health
|
blocks.health = Health
|
||||||
blocks.buildtime = Build Time
|
blocks.buildtime = Build Time
|
||||||
|
blocks.maxconsecutive = Max Consecutive
|
||||||
blocks.buildcost = Build Cost
|
blocks.buildcost = Build Cost
|
||||||
blocks.inaccuracy = Inaccuracy
|
blocks.inaccuracy = Inaccuracy
|
||||||
blocks.shots = Shots
|
blocks.shots = Shots
|
||||||
|
|||||||
@@ -319,6 +319,10 @@ public class Block extends UnlockableContent{
|
|||||||
stats.add(BlockStat.buildCost, new ItemListValue(false, requirements));
|
stats.add(BlockStat.buildCost, new ItemListValue(false, requirements));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(instantTransfer){
|
||||||
|
stats.add(BlockStat.maxConsecutive, 2, StatUnit.none);
|
||||||
|
}
|
||||||
|
|
||||||
consumes.display(stats);
|
consumes.display(stats);
|
||||||
|
|
||||||
// Note: Power stats are added by the consumers.
|
// Note: Power stats are added by the consumers.
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ public enum BlockStat{
|
|||||||
itemCapacity(StatCategory.items),
|
itemCapacity(StatCategory.items),
|
||||||
itemsMoved(StatCategory.items),
|
itemsMoved(StatCategory.items),
|
||||||
launchTime(StatCategory.items),
|
launchTime(StatCategory.items),
|
||||||
|
maxConsecutive(StatCategory.items),
|
||||||
|
|
||||||
liquidCapacity(StatCategory.liquids),
|
liquidCapacity(StatCategory.liquids),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user