Add max connections stat to power nodes (#988)

This commit is contained in:
Joshua Fan
2019-11-03 10:00:32 -08:00
committed by Anuken
parent 48c062f7af
commit 988c424e45
26 changed files with 26 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ public class PowerNode extends PowerBlock{
super.setStats();
stats.add(BlockStat.powerRange, laserRange, StatUnit.blocks);
stats.add(BlockStat.powerConnections, maxNodes, StatUnit.none);
}
@Override

View File

@@ -21,6 +21,7 @@ public enum BlockStat{
powerUse(StatCategory.power),
powerDamage(StatCategory.power),
powerRange(StatCategory.power),
powerConnections(StatCategory.power),
basePowerGeneration(StatCategory.power),
input(StatCategory.crafting),