view abbreviations.lua @ 70:cdee65c1bd8c

Implement a list of items to be automatically marked as sent to the guild vault. List controlled on the Options tab like the existing filter. Default list is Cataclysm crafting material drops.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Fri, 11 May 2012 03:56:21 +0000
parents c01875b275ca
children 940e53dd18c3
line wrap: on
line source
--[==[
If you want to change these to something else, like in-jokes for your guild,
write a small addon like this:

        Interface/AddOns/YourMod/YourMod.toc:
        =================================
        ## Interface: xxxxx
        ## Title: Ouro Loot For My Guild
      * ## RequiredDeps: Ouro_Loot
      * ## LoadOnDemand: 1
      * ## LoadWith: Ouro_Loot
    
        main.lua
        =================================

Lines with * are crucial.  Then replace specific entries like this:

        Interface/AddOns/YourMod/main.lua:
        =================================
        local ouroloot = LibStub("AceAddon-3.0"):GetAddon("Ouro Loot")
    
        ouroloot.instance_abbrev["The Bastion of Twilight"] =
            [[Steve Said He'd /gquit If We Make Him Go Here Ever Again]]

        ouroloot.boss_abbrev["Omnotron Defense System"] =
            [[Jim Will Facetank The Slimes Now]]
        =================================

This lets you update Ouro Loot with a new version (overwriting this file)
without losing any of your changes.
]==]

local addon = select(2,...)
if addon.NOLOAD then return end

addon.instance_abbrev = {
	-------- Cata
	["Baradin Hold"] = "BH",
	["The Bastion of Twilight"] = "BoT",
	["Blackwing Descent"] = "BWD",
	["Throne of the Four Winds"] = "To4W",
	--["Firelands"] = "Firelands",

	-------- WotLK
	["Icecrown Citadel"] = "ICC",
	["Trial of the Champion"] = "ToC",
	["Trial of the Crusader"] = "ToC",
	["Trial of the Grand Crusader"] = "ToGC",  -- does not actually trigger, need to test heroic
	["Vault of Archavon"] = "VoA",
}

addon.boss_abbrev = {
	-------- Cata
	-- BoT
	["Halfus Wyrmbreaker"] = "Halfass Wyrmbreaker",
	["Valiona & Theralion"] = "Wonder Twins! Form of: Loot",
	-- BWD
	["Magmaw"] = "Earwig",
	["Omnotron Defense System"] = "Nomnomtron Defense System",
	["Chimaeron"] = "k'eye-MAIR-on",
	["Atramedes"] = "at-ruh-MEE-deez",
	["Nefarian's End"] = "Nef II:  Electric Boogaloo",
	-- To4W
	["Al'Akir"] = "Big Al",
	-- Firelands
	["Shannox"] = "Shnox",
	["Lord Rhyolith"] = "LEFT, LEFT, LEFT RIGHT LEFT",  -- left my wife and 49 kids, an old grey mare and a peanut stand
	["Alysrazor"] = "Steppin' Razor",  -- how many people have read Neuromancer, hmmmm
	["Majordomo Staghelm"] = "Mojododo",
	-- Dragon Soul
	["Morchok"] = "Porkchop",
	["Warlord Zon'ozz"] = "Warlord Beach Ball",
	["Yor'sahj the Unsleeping"] = "Yosimite Sam the Unsleeping",
	["Hagara the Stormbinder"] = "Hands Across America",
	["Ultraxion"] = "ul-TRAX-ee-on",

	-------- WotLK
	-- ToC
	["Northrend Beasts"] = "Animal House",
	["Lord Jaraxxus"] = "latest DIAF demon",
	["Faction Champions"] = "Alliance Clusterfuck",
	["Valkyr Twins"] = "Salt'N'Pepa",
	["Val'kyr Twins"] = "Salt'N'Pepa",
	["Anub'arak"] = "Whack-a-Spider",
	-- ICC
	["Lady Deathwhisper"] = "Lady Won't-Stop-Yammering",
	["Gunship"] = "Rocket Shirt Over the Side of the Damn Boat",
	["Gunship Battle"] = "Rocket Shirt Over the Side of the Damn Boat",
	["Deathbringer Saurfang"] = "Deathbringer Sauerkraut",
	["Professor Putricide"] = "Professor Farnsworth",
	["Valithria Dreamwalker"] = "Dreeeeaaamweaaaaaverrrr",
}

-- vim:noet