If "increase_maintenance_by_percent" is larger than 200 in .dat file, "increase_maintenance_by_percent" is set to 200. (The maintenance cost will eventually double)
For example, CartMailNew (https://github.com/jamespetts/simutrans-pak128.britain/blob/ff3b9c365049f22b5006dad6c1621c8ce764bddf/bus/carts.dat) has increase_maintenance_by_percent set to 275 but it only rises to 100% like following image.
(https://simutrans-germany.com/files/upload/increase_maint_bug.png)
If "increase_maintenance_by_percent" is smaller than 200 in .dat file, "increase_maintenance_by_percent" is set to 100. (The maintenance cost will not rise at all)
If "increase_maintenance_by_percent" is not set in .dat file, the default setting is used. (This is correct behavior. The maintenance cost will eventually increase to 4 times in the default setting of 128Britain-Ex)
Thank you for the report - I believe that I have now fixed this, which was, I think, caused by a rounding/loss of precision error.
I confirmed today's nightly build and it has been fixed. :thumbsup:
Thank you for the quick fix ^-^
Splendid, thank you for confirming.