Calculate vehicle performance rating based on vehicle purchase cost.
2.0.1 alpha 1 or later
Configuration file: newperformance on|off
Command line: -Xp
Normally, TTD determines a vehicle's performance score (for the company performance graph) based on last year's profit. If the profit of the vehicle with the least profit was 20,000 pounds or more, the maximum score is awarded, otherwise the score the fraction of 20,000 pounds that the vehicle earned, or 0 if the profit was negative.
However, this determination is flawed because it does not take inflation into account, and all vehicles are equivalent, the cheapest bus needing as much profit as the most expensive plane, even though it can recuperate the purchase and running costs much more quickly.
With this switch, the performance score is based on the vehicle purchase cost. First, the program calculates how much profit the vehicle will earn in its lifetime, then how much a new one will cost when it gets old. It divides the first value with the second one to get the performance score. If the result is zero or negative, meaning it can't get its price back during its lifetime, the vehicle gives no score. For example, if one of your buses has a performance score of 6, this means that when it gets old, you will be able to buy 6 new buses of the same type from the money this one earned for you in its lifetime. This calculation takes inflation into account as well.
The mean of the performance scores (that is, all of them added, then divided by the number of your vehicles) must be at least 5 to get the maximum 100 points for this part of your performance. If the mean is lower, the score you get will be equally lower (for example, the mean of 1 will give you 20 points).
For example, you have a Foster Bus (lifetime: 15 years), it's buying price is $125,000, and you've enabled the TurnOffInflation switch:
|Last year profit||Profit for lifetime||%profit||score|
This calculation assumes that the profit is constant for every year, and that the vehicle will be sold only after getting old (won't crash, for example).
This feature was contributed by Csaba Varga.