OpenTTD

Tasklist

FS#6360 - Req: 'max reliability' order filter

Attached to Project: OpenTTD
Opened by Simon Smith (Simons_Mith) - Sunday, 09 August 2015, 14:44 GMT
Type Feature Request
Category Vehicles
Status Assigned
Assigned To David (chindit)
Operating System All
Severity Low
Priority Normal
Reported Version 1.5.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I 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

Comment by David (chindit) - Saturday, 22 August 2015, 11:25 GMT
I've created a patch.
Tested and functional with road vehicles.
I'm testing it with train and planes but it normally works fine.

Loading...