Change Log:
--------------------
-- 201211192121
* Change the "pets" name to "MyPets_gimb" 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: pets = {
to: MyPets_gimb = {
or check one of the sample provided. I am really sorry about it guys, but I am learning :-)
Description:
--------------------
Gimbolino
This a tiny addon that do basically two things:
- Summon a random pets from your collections
- Summon a random pet from a custom category defined by the user.
To summon random from the entire collection simply use it without any argument:
/gimb
otherwhise you can summon from a category name "rare" with:
/gimb rare
To define the categories you have to edit / create a file categories.lua (samples provided in the samples folder) in the addon folder in this way:
MyPets_gimb = {
funny = {
"Willy",
"Tacchino Paffuto",
"Ser Pancetta",
"Puzzetta",
"Piccolo K.T.",
},
rare = {
"Senegal",
"Pengu",
},
-- add your custom categories here
}
Usage:
/gimb help - This help
/gimb remove - Dismiss an active pets
/gimb - Random summon a pet from your complete collection
/gimb - Random summon a pet from your custom
You can create also a macro in this way, i.e.:
/gimb rare; funny; remove;
-- btn:2 to summon a category "rare" pets
-- ALT+btn:1 for the "funny" ones
-- SHIFT+btn:1 for dismiss the current pet (if any)
-- btn:1 for the full random.
N.B. Please remember to backup your custom categories.lua before updating.
--------------------
-- 201211192121
* Change the "pets" name to "MyPets_gimb" 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: pets = {
to: MyPets_gimb = {
or check one of the sample provided. I am really sorry about it guys, but I am learning :-)
Description:
--------------------
Gimbolino
This a tiny addon that do basically two things:
- Summon a random pets from your collections
- Summon a random pet from a custom category defined by the user.
To summon random from the entire collection simply use it without any argument:
/gimb
otherwhise you can summon from a category name "rare" with:
/gimb rare
To define the categories you have to edit / create a file categories.lua (samples provided in the samples folder) in the addon folder in this way:
MyPets_gimb = {
funny = {
"Willy",
"Tacchino Paffuto",
"Ser Pancetta",
"Puzzetta",
"Piccolo K.T.",
},
rare = {
"Senegal",
"Pengu",
},
-- add your custom categories here
}
Usage:
/gimb help - This help
/gimb remove - Dismiss an active pets
/gimb - Random summon a pet from your complete collection
/gimb
You can create also a macro in this way, i.e.:
/gimb rare; funny; remove;
-- btn:2 to summon a category "rare" pets
-- ALT+btn:1 for the "funny" ones
-- SHIFT+btn:1 for dismiss the current pet (if any)
-- btn:1 for the full random.
N.B. Please remember to backup your custom categories.lua before updating.