(svn r26582) -Feature-ish: quickly decay cargo after about 21 months of not having picked any of the cargo, and prevent houses and industries providing more cargo

This commit is contained in:
rubidium
2014-05-11 18:35:34 +00:00
parent b590a64718
commit 0ceb05ee9f
2 changed files with 34 additions and 15 deletions

View File

@@ -169,11 +169,12 @@ struct GoodsEntry {
GES_ACCEPTANCE,
/**
* Set when the cargo was ever waiting at the station.
* This indicates whether a cargo has a rating at the station.
* Set when cargo was ever waiting at the station.
* It is set when cargo supplied by surrounding tiles is moved to the station, or when
* arriving vehicles unload/transfer cargo without it being a final delivery.
* This also indicates, whether a cargo has a rating at the station.
* This flag is never cleared.
*
* This flag is cleared after 255 * STATION_RATING_TICKS of not having seen a pickup.
*/
GES_RATING,