OpenTTD

Tasklist

FS#5996 - when using console set <variable> <value>, reply with new value upon success

Attached to Project: OpenTTD
Opened by Taede Werkhoven (Taede) - Sunday, 27 April 2014, 20:13 GMT
Type Feature Request
Category Interface
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Version?
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Currently there is no confirmation of a setting's new value upon changing it, there is merely a lack of response. It would make sense to display that the setting has a new value. This would be especially helpful for adminport clients.

Current situation:
> set yapf.rail_firstred_twoway_eol
Current value for 'yapf.rail_firstred_twoway_eol' is: 'off' (min: 0, max: 1)
> set yapf.rail_firstred_twoway_eol 1
> set yapf.rail_firstred_twoway_eol
Current value for 'yapf.rail_firstred_twoway_eol' is: 'on' (min: 0, max: 1)
> _



Example desired output:
> set yapf.rail_firstred_twoway_eol
Current value for 'yapf.rail_firstred_twoway_eol' is: 'off' (min: 0, max: 1)
> set yapf.rail_firstred_twoway_eol 1
New value for 'yapf.rail_firstred_twoway_eol' is now: 'on'
> set yapf.rail_firstred_twoway_eol
Current value for 'yapf.rail_firstred_twoway_eol' is: 'on' (min: 0, max: 1)
> _
This task depends upon

Loading...