Rebrand power infinite as power source (#4088)
This commit is contained in:
committed by
GitHub
parent
054e2337ff
commit
9d740e1e37
@@ -4,6 +4,8 @@ import mindustry.world.blocks.power.*;
|
||||
|
||||
public class PowerSource extends PowerNode{
|
||||
|
||||
public float powerProduction = 10000f;
|
||||
|
||||
public PowerSource(String name){
|
||||
super(name);
|
||||
maxNodes = 100;
|
||||
@@ -14,7 +16,7 @@ public class PowerSource extends PowerNode{
|
||||
public class PowerSourceBuild extends PowerNodeBuild{
|
||||
@Override
|
||||
public float getPowerProduction(){
|
||||
return enabled ? 10000f : 0f;
|
||||
return enabled ? powerProduction : 0f;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user