Page 1 of 1

[Patch] improved production change news

Posted: 30 Sep 2009 17:55
by sulai
On large maps with much industry and smooth production change, you will get loads of news about changing production.

Most of those news have little information, and as such are simply ignored by the player. Goal of this patch is to reduce the amount of useless news.

With this patch turned on, production change is only reported if
a) production is increased, but there is no- or little transportation
b) production is decreased, but there is a lot of transportation established

This patch works both with smooth economy enabled and disabled.

Additionally, if you don't like the message history to be flooded by messages you actually turned off, there is a button to really turn off those messages. Originally those messages generate a red reminder button, and are queued into message history.

Re: [Patch] improved production change news

Posted: 30 Sep 2009 20:07
by SirkoZ
Interesting patch, sulai.

I have usually only enabled news messages for the industries that my company links, therefore greatly decreasing the amount of economy news.

Perhaps if it was another option apart from the current ones in the news settings window...

Re: [Patch] improved production change news

Posted: 02 Oct 2009 01:28
by sulai
Good idea. On smaller maps you might want to get messages for any production change. I added two buttons into the message options window. I split off the first button "Report news marked 'off'" as separate patch. See first post.

Re: [Patch] improved production change news

Posted: 02 Oct 2009 10:58
by 2007Alain2007
should not they match the settings as the abover ones

or be in the settings page

Re: [Patch] improved production change news

Posted: 02 Oct 2009 13:26
by Gremnon
sulai,
On your Don't Report Off patch, can I suggest removing the blank line at the end? With it, the patch command thinks the file ended unexpectedly, and doesn't apply the final hunk.

Also, are you meant to apply it as the Improved Production Patch first, and then the Don't Report? or does the order not matter?

Edit: Don't worry, I just realised. I didn't realist the Don't Report patch was already included in the Improved Production. My bad.

Re: [Patch] improved production change news

Posted: 07 Oct 2009 08:23
by sulai
Gremnon wrote:On your Don't Report Off patch, can I suggest removing the blank line at the end? With it, the patch command thinks the file ended unexpectedly, and doesn't apply the final hunk.
Thanks for that hint. I accidentally removed one line too much. I updated that patch. =)