|
|
|
@ -254,7 +254,15 @@ public class Mine extends AbstractGameObject {
@@ -254,7 +254,15 @@ 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}"); |
|
|
|
|
if(ChinaMines.contains((mine))) { |
|
|
|
|
writer.putString("Chinese" + " {" + mine.capSize + " Man}"); |
|
|
|
|
} else if(AmericaMines.contains(mine)){ |
|
|
|
|
writer.putString("American" + " {" + mine.capSize + " Man}"); |
|
|
|
|
} else if(EuroMines.contains(mine)){ |
|
|
|
|
writer.putString("Euro" + " {" + mine.capSize + " Man}"); |
|
|
|
|
}else{ |
|
|
|
|
writer.putString("Unknown" + " {" + mine.capSize + " Man}"); |
|
|
|
|
} |
|
|
|
|
writer.putInt(mine.production.hash); |
|
|
|
|
writer.putInt(mine.getModifiedProductionAmount()); |
|
|
|
|
writer.putInt(mine.getModifiedProductionAmount()); //TODO calculate range penalty here
|
|
|
|
|