===============================================
   MOUNTY 2009 thru 2015 or (c)2009 thru 2015
   		    by William B. Steele
  	[ Draewind <> Silver Hand US <> Alliance ]
           Mounty@CompuBall.com
   
This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or(at your option) any later version.
		
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>
=========================================================================================================================================
Updated: 10DEC2014

Mounty was originally created witht the WotLK expansion.  At the time, flying mounts could not be mounted in non-flying areas,
and the mount icons were broken.  They would not "grey out" when they could not be used.  So Mounty was created to overcome this difficulty.
It was a long hard labor finding every nook and cranny of Northrend and evaluating whether a flying mount could be used.
Eventually Blizzard fixed most of the issues (except Wintergrasp) and then there was Vashj'ir and a another set of problems.
Most all mounts can now be mounted anywhere, whether you can fly or not.  Not something that was available to us in the past.

The original use for Mounty is now gone, but many folks (such as myself) have become accustomed to it.
Mounty now works with up to 9 mouse buttons and the Shift modifier key ... totaling 18 possible mounts.  The right and left clicks work as before.
Now you can set buttons 3(middle) through 9 with /mty # (where # = 1 through 9)
/mty fly = /mty 1 = /mty left
/mty ride = /mty 2 = /mty right
/mty 3 = /mty middle
The Macro will appear as it always has, and mounty will work as it has always.

Mounty is a simple lightweight, won't know it is there unless you want to change something, addon.
It conflicts with nothing and breaks nothing.
It simply uses one macro slot to operate 4 mounts. Two flying mounts and two riding (ground) mounts.
That macro is a macro for mounting/dismounting and exiting vehicles.
Mounty does not currently support flight forms.
This simply operates mounts in the "Mounts" Frame.
Left-Click operates the selected flying mount when you can fly and selected ground mount when you cannot.

Mounty works by creating and maintaining a macro that can be used to mount and dismount (includes vehicle mounts).
The Macro Icon will be the in-game icon of the mount which will be (is being) used by the macro.
Do not name another macro with the name of ten (10) blank spaces. Mounty uses this name to identify the Mounty macro.

GETTING STARTED:
To set your current mount to the macro's Normal Flying Mount - Mount up and type /mty fly
(Hold down the shift key when pressing enter, and the mount will be set as your alternate or Shift flying mount.)
To set your current mount to the macro's Normal Riding Mount - Mount up and type /mty ride
(Hold down the shift key when pressing enter, and the mount will be set as your alternate or Shift riding mount.)

After your mounts are set, open the Macro frame and drag the macro with your mount's icon to the action bar.
That is it ... click to use. (Or right-click, shift- click, alt-click, alt-shift-click ... hehe)
Holding the Shift Key down while clicking, will mount the shift (alternate) mount for that mouse button. 
As a hold over from Mounty's beginnings, Right-Click operates the selected ground mounts even in flyable areas.
Holding down the ALT key while clicking operates as a Right-Click.
The Macro Icon will change to show the mount being used by a left click (changes when holding down the SHIFT and/or ALT keys).

NOTE: In a flyable area, the macro will only show the flying mounts (normal and shift). Right-Clicking will use the riding mounts (normal and shift).
Pressing the ALT key will show the mount used on Right-Click, and act as if the macro were Right-Clicked though another mouse button were pressed.

TO SELECT A MOUNT for the MACRO:
*Only the left and right mouse buttons are affected by the flyable logic which is displayed by the macro icon.*

Initially, Mounty will automatically fill in macro mounts for the flying and riding (left and right mouse buttons) from your list of mounts.
The player may then select a riding and a flying mount desired, as well as any mount to be used when clicking the macro with any of 9 mouse buttons.

MOUNT your selected mount so that it is ACTIVE and then enter following slash command:

/mty fly - Selects the currently active flying mount for the Mounty Macro.
/mty ride - Selects the currently active riding mount for the Mounty Macro.
/mty left - same as /mty fly
/mty right - same as /mty ride
/mty middle - Selects the currently active mount for the Mounty Macro when pressed by the middle mouse button.
/mty 1 - same as /mty fly
/mty 2 - same as /mty ride
/mty 3 - same as /mty middle
/mty # (4 through 9) Selects the currently active mount for the Mounty Macro when pressed by mouse button #.

To set a mount as the [Shift] Mount, use the procedure above, but hold down the Shift Key when pressing [Enter] for the slash command.
/mty clear - Clears all selected mounts from mouse buttons 4 through 9.

USING THE MACRO:

If you are NOT mounted, clicking on the macro will:

LEFT CLICK : Mount the selected flying mount (if it is usable) or else the selected riding (non-flying) mount.
RIGHT CLICK : Mount the selected riding (non-flying) mount. (Vehicle mounts are included.)
MIDDLEBUTTON or Mouse Buttons 4 through 9: Mount the selected mount for that button.
*Holding down the [Alt] key while clicking the macro, will behave the same as a RIGHT CLICK.
*Holding down the [Shift] key while clicking the macro will call the Shift mount for the button clicked.

If you ARE mounted or in a vehicle:

SafeFly <ON> (/mty safe - Toggles "SafeFly" on and off.)
ANY MOUSE BUTTON CLICK EXCEPT RIGHT CLICK: Dismounts if riding, the macro will not dismount while flying unless it is right clicked.
RIGHT CLICK: Forces dismounting, even when flying.
*Holding down the Alt key while using the macro, will behave the same as a RIGHT CLICK.*
*Clicking the macro will EXIT ANY VEHICLE occupied by the player. There is no SafeFly for flying vehicle mounts.*

SafeFly <OFF> (/mty safe - Toggles "SafeFly" on and off.)
Clicking the macro will dismount the player from his mount or EXIT ANY VEHICLE occupied by the player.

SLASH COMMANDS (Settings):
/mty - Rewrites the <Mounty Macro> and shows TOP menu.
/mounty - same as /mty.
/mty reset - Resets the Mounty Addon.
/mty info - Shows ability and speed information.
/mty set - Shows settings and all selected mounts.
/mty menu - Shows FULL MENU of slash commands.
/mty enable - Enables Mounty (for the current character).
/mty disable - Disables Mounty (for the current character).
/mty safe - Toggles "SafeFly" on and off. SafeFly on requires a right-click to dismount when flying. (On is Default)
/mty char - Uses the perCharacter macro tab for the Mounty Macro.
/mty gen - (Default) Uses the General macro tab for the Mounty Macro.
/mty clear - Clears all selected mounts from mouse buttons 4 through 9.

The Macro may be created and maintained in the General Macro list, or in the perCharacter Macro List.
Since Mounty will change and maintain the macro for each character, the macro need not be kept "per character" list.
Using the General Macro List will take one macro slot for all of your characters, instead of one for each of them.
Mounty will maintain the macro under the General Tab by default.
Mounty will disable itself if there is no room for the Mounty Macro (it will change to General or perCharacter to find space).

SPECIAL USES:
In the undersea world of VASHJ'IR:
if you have the Abbysal Seahorse mount, Mounty will mount the Abbysal Seahorse on a left click,
And try to mount the normal flying mount on a Shift-Click.
The right click function will still mount your riding mounts (Yes, you can ride in the undersea world).

===================================

