view abbreviations.lua @ 95:3546c7b55986

Move generation of the Help tab to the same file as the help text. Allow registration of arbitrary tab controls, not just text generation. Move some shared data out of the addon table into a 'gui' state table in preparation for more of the same. Clean some cruft out of the default itemfilter list.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Thu, 26 Jul 2012 03:34:56 +0000
parents 940e53dd18c3
children 095ee38508e8
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.  Lines with * are crucial and should not be
changed from how they're shown here.

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

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 Would /gquit If We Make Him Go Here Ever Again]]

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

        ouroloot:Print [[Tweaked stuff for mah guildies!]]
        =================================

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