Browse Source

mines to set random cap size at server boot 5/10/20

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
7f5df22a14
  1. 2
      src/engine/objects/Mine.java

2
src/engine/objects/Mine.java

@ -178,7 +178,7 @@ public class Mine extends AbstractGameObject { @@ -178,7 +178,7 @@ public class Mine extends AbstractGameObject {
writer.putInt(mine.getObjectUUID());
writer.putInt(mine.getObjectUUID()); //actually a hash of mine
writer.putString(mine.mineType.name);
writer.putString(mine.zoneName + " " + mine.capSize + " Man ");
writer.putString(mine.zoneName + " {" + mine.capSize + " Man}");
writer.putInt(mine.production.hash);
writer.putInt(mine.production.baseProduction);
writer.putInt(mine.getModifiedProductionAmount()); //TODO calculate range penalty here

Loading…
Cancel
Save