FS#6360 - Orders: 'max reliability' order filter
Attached to Project:
OpenTTD
Opened by Simon Smith (Simons_Mith) - Sunday, 09 August 2015, 14:44 GMT
Last edited by andythenorth (andythenorth) - Saturday, 02 September 2017, 12:50 GMT
Opened by Simon Smith (Simons_Mith) - Sunday, 09 August 2015, 14:44 GMT
Last edited by andythenorth (andythenorth) - Saturday, 02 September 2017, 12:50 GMT
|
DetailsI set up orders to make vehicles go to depot and stop when they passed their maximum age.
But what I really wanted to do was to send vehicles to depot when their /maximum reliability after servicing/ dropped too low. So in the interests of 'do what you mean'*, instead of 'Jump to order 7 when Remaining lifetime (years) is less than 0' I would like to use 'Jump to order 7 when Maximum reliability is less than 50' But maximum reliability/reliability after servicing doesn't exist as an order filter. Could it be added? * 'Do what you mean' - in programming, when you want a computer to do x, always try to tell it directly to do x, rather than telling it to do something else that indirectly causes it to do x. Helps with debugging and improves code clarity. |
This task depends upon
Tested and functional with road vehicles.
I'm testing it with train and planes but it normally works fine.
Appears to work as expected, in my brief testing.