Change Log:
--------------------
-- 201211192047 - v.0.8
- Fix an error if categories.lua is missing
- Change the "mounts" name to "MyCatMount_mrc" to prevent problem with other addons.
This implies that if you modified a categories.lua in a previous version you have to change the first line
from: mounts = {
to: MyCatMount_mrc = {
or check one of the sample provided. I am really sorry about it guys, but I am learning :-)
-- 201211180810 - v.0.7
- Cosmetic only - not released
-- 201211170837 - v.0.6
- Some text changes
- Repackaged to prevent the overwrite of file "categories.lua"
Description:
--------------------
MountRndCat
This is a tiny addon that let you define custom categories and then random summon a mount from them.
To use the addon you FIRST need to rename the file categories-sample.lua to categories.lua in the addon directory and edit it with the names of your favorite mounts.
If you modify the categories.lua file while the game client is active you have to reload the game interface with command:
/rl
Usage:
Create a macro like this to summon your mounts:
/mrc flying; repair; funny; ground
or simply use the command from the cli, i.e.:
/mrc combo
The categories are shared on all characters on the same account.
Here is a categories.lua suitable for alliance players (english client):
MyCatMount_mrc = {
flying = {
"Swift Green Gryphon",
"Swift Blue Gryphon",
"Swift Red Gryphon",
},
ground = {
"Swift Mistsaber",
"Swift Moonsaber",
},
repair = {
"Traveler's Tundra Mammoth",
"Grand Expedition Yak",
},
funny = {
"Azure Water Strider",
"Sea Turtle",
},
combo = {
"Sandstone Drake",
"Mekgineer's Chopper",
},
-- add your custom categories here
}
N.B. Please remember to backup your custom categories.lua before updating.
-- I also whish to thanks SDPhantom and Phanx for their help, code and suggestions that help me so much in understanding and writing my first addon.
--------------------
-- 201211192047 - v.0.8
- Fix an error if categories.lua is missing
- Change the "mounts" name to "MyCatMount_mrc" to prevent problem with other addons.
This implies that if you modified a categories.lua in a previous version you have to change the first line
from: mounts = {
to: MyCatMount_mrc = {
or check one of the sample provided. I am really sorry about it guys, but I am learning :-)
-- 201211180810 - v.0.7
- Cosmetic only - not released
-- 201211170837 - v.0.6
- Some text changes
- Repackaged to prevent the overwrite of file "categories.lua"
Description:
--------------------
MountRndCat
This is a tiny addon that let you define custom categories and then random summon a mount from them.
To use the addon you FIRST need to rename the file categories-sample.lua to categories.lua in the addon directory and edit it with the names of your favorite mounts.
If you modify the categories.lua file while the game client is active you have to reload the game interface with command:
/rl
Usage:
Create a macro like this to summon your mounts:
/mrc flying; repair; funny; ground
or simply use the command from the cli, i.e.:
/mrc combo
The categories are shared on all characters on the same account.
Here is a categories.lua suitable for alliance players (english client):
MyCatMount_mrc = {
flying = {
"Swift Green Gryphon",
"Swift Blue Gryphon",
"Swift Red Gryphon",
},
ground = {
"Swift Mistsaber",
"Swift Moonsaber",
},
repair = {
"Traveler's Tundra Mammoth",
"Grand Expedition Yak",
},
funny = {
"Azure Water Strider",
"Sea Turtle",
},
combo = {
"Sandstone Drake",
"Mekgineer's Chopper",
},
-- add your custom categories here
}
N.B. Please remember to backup your custom categories.lua before updating.
-- I also whish to thanks SDPhantom and Phanx for their help, code and suggestions that help me so much in understanding and writing my first addon.