Download
(12 Kb)
Download
Updated: 09-10-13 09:59 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:09-10-13 09:59 AM
Created:11-17-12 04:26 AM
Downloads:594
Favorites:0
MD5:
5.4
Gimbolino
Version: 1.0-2013091001
by: gmarco [More]
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:

Code:
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 <category> - Random summon a pet from your custom <category>


You can create also a macro in this way, i.e.:

/gimb [btn:2] rare; [mod:alt] funny; [mod:shift] 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.
v1.0-2013091001
- toc bump for 5.4

v1.0-2013052101
- bump toc for 5.3

v1.0-2013030401
- bump toc for 5.2
- change naming

-- 201211291928 v0.4
* Updated TOC to client 5.1.0

* Changing the function:
C_PetJournal.SummonPetByID(petID) (removed in 5.1.0)

with the new:
C_PetJournal.SummonPetByGUID(petID)

* Changing the parsing of API C_PetJournal.GetPetInfoByPetID(petID) to reflect the added "isFavorite" return value

P.s: remeber to backup your "catgories.lua" before updating and cross fingers :-)

-- 201211192121 v0.2
* 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 :-)
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.0-2013052101
12kB
gmarco
05-21-13 01:33 PM
1.0-2013030401
12kB
gmarco
03-05-13 10:10 AM
0.4
12kB
gmarco
11-29-12 12:37 PM
0.2
12kB
gmarco
11-19-12 02:24 PM
0.1
12kB
gmarco
11-17-12 04:26 AM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: