Request: Income Summary better display
-
This comes from Future Wars: Fallen Empire.
It has upkeep costs and Factories generated PUs.
As can be seen the maths does not compute

The display of the data is poor.Would something like this be better?
Income from Territories 147 Lost due to Blockades -1 (from enemy ships off your coastline) Generated from units -48 (usually from upkeep and Factory PU output) Red ends with 103 PUAlso some data is missing, but what is it?
-
@thedog looks map specific
-
@thedog
4+148-1-48=103
they had 4 PUs left-over from previous turn. -
@butterw
Thanks! I have just checked your formula.
So perhaps the Income Summary should be?
Unspent PU 4 Income from Territories 148 Lost due to Blockades -1 (from enemy ships off your coastline) Generated from units -48 (usually from upkeep and Factory PU output) Red ends with 103 PU -
The related code is in games.strategy.triplea.delegate EndTurnDelegate.java and AbstractEndTurnDelegate.java
-
There are multiple cases to consider but the relevant code to modify looks like this.
final String transcriptText; transcriptText = player.getName() + " collect " + toAdd + MyFormatter.pluralize(" PU", toAdd) + "; end with " + total + MyFormatter.pluralize(" PU", total); bridge.getHistoryWriter().startEvent(transcriptText); endTurnReport.append(transcriptText).append("<br />");I think adding a variable final String transcriptTextMod; with a modified formatting would be possible.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login