MFD Fast Configuration
By Nick Rogers

This OXP aims to add flexibility and control to the layout of MFD displays. MFD's can be useful, but they also take up screen space and can be distracting in certain conditions. This OXP gives you the ability to define different MFD "sets", which can then be quickly activated when required.

Installation and Operation
==========================
After purchasing the MFD Fast Configuration device, and launching your ship, you will be able to prime the device by using the "Shift-N" key sequence. Once it is primed, you can change the mode by pressing the "B" key, and activating the mode by pressing the "N" key.

The available modes are:

- Set current config as set 1                   This sets the current MFD layout as "Set 1".
- Set current config as set 2                   This sets the current MFD layout as "Set 2".
- Set current config as set 3                   This sets the current MFD layout as "Set 3".
- Set current config as Condition Green set     This sets the current MFD layout as the set to apply 
                                                when the alert condition changes to "Green".
- Set current config as Condition Yellow set	This sets the current MFD layout as the set to apply 
                                                when the alert condition changes to "Yellow".
- Set current config as Condition Red set       This sets the current MFD layout as the set to apply 
                                                when the alert condition changes to "Red".
- Set current config as docking set             This sets the current MFD launch as the set to apply 
                                                when the docking process has begun.
- Make set 1 default                            This makes "Set 1" the default set (which will be activated 
                                                when docking and launching).
- Make set 2 default                            This makes "Set 2" the default set (which will be activated 
                                                when docking and launching).
- Make set 3 default                            This makes "Set 3" the default set (which will be activated 
                                                when docking and launching).
- Make Condition Green set default              This makes the "Condition Green" set the default set (which 
                                                will be activated when docking and launching).
- Make Condition Yellow set default             This makes the "Condition Yellow" set the default set (which 
                                                will be activated when docking and launching).
- Make Condition Red set default                This makes the "Condition Red" set the default set (which 
                                                will be activated when docking and launching).
- Delete set 1                                  This deletes "Set 1".
- Delete set 2                                  This deletes "Set 2".
- Delete set 3                                  This deletes "Set 3".
- Delete Condition Green set                    This deletes the "Condition Green".
- Delete Condition Yellow set                   This deletes the "Condition Yellow".
- Delete Condition Red set                      This deletes the "Condition Red".
- Delete docking set                            This deletes the docking set.
- Hide all setting functions from this list     This will hide all the above modes, leaving only the ones below. 
                                                Do this once you have defined all your sets.
- Activate default set                          This will activate whatever set is the default.
- Activate set 1                                This will activate "Set 1".
- Activate set 2                                This will activate "Set 2".
- Activate set 3                                This will activate "Set 3".
- Activate Condition Green set                  This will activate the "Condition Green" set.
- Activate Condition Yellow set                 This will activate the "Condition Yellow" set.
- Activate Condition Red set                    This will activate the "Condition Red" set.
- Activate docking set                          This will activate the docking set.
- Disable/Enable auto-update mode               This will turn off or on the auto-update mode.
- Restore all setting functions to this list    This will restore all the above modes.

Once you have defined all your different sets, it is recommended you activate the "Hide all setting functions from this list" option. This will reduce the number of modes to only the activation modes, allowing for a more streamlined operation.

Once a set has been defined and is selected, it will be automatically updated to the current configuration whenever the alert condition changes (if there is an alert condition to change to), or when the player docks with a station. This can be turned on or off through the control interface with the "Disable/Enable auto-update mode" option.

License
=======
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/

Version History
===============
2.2
- Added console message acknowledgements for all activation actions.
- If equipment is not installed, no changes will now take place.
- If auto-update mode is off, and the player has made changes to any of the MFD slots, those changes will remain even when another condition set is loaded. The overrides will be in place until the next dock.
- More consistent condition labelling.
- Added a setup guide (txt and pdf versions).

2.1
- Added ability to turn on/off the auto-storing facility.
- Fixed bug when removing the unit.
- Code refactoring.

2.0
- Automatic storing of MFD configurations now available. If the player makes a change to the current MFD configuration while a set is selected, it will be automatically stored if the alert condition changes, or when the player docks with a station. No need to manually store updated configuration.
- Fixed script error that could occur when player ejects.
- Hiding of setting functions was not being applied until the menu had been cycled once.
- Better integration with Station Dock Control's Launch Queue MFD.
- Better integration with the Damage Report MFD and the Bounty System's Warrant Scanner.

1.2
- Fixed Javascript error that can occur when player ship is destroyed.
 
1.1
- Fixed issue where deleting sets would fail, because the function name had a spelling mistake in it.
- Fixed issue where attempting to update an existing set fails.
- Removing equipment will now reset all configuration items.
- Fixed spelling mistake in mode list.
- Better MFD handling if HUD Selector is not installed.
- Moved the "Restore all setting functions to the list" item to end of the list of modes.
- Code refactoring.

1.0
- Initial release
