diff abbreviations.lua @ 67:c01875b275ca

Do not use UnitName on other people during RAID_ROSTER_UPDATE, as they may be a weed (thank you Calvieri for unknowingly eating a lifegiving seed and exposing this bug). Be more informative to the user about errors during load. Do not try to run other files if a load-time error happens, as it only generates cascading noise.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 08 May 2012 02:41:23 +0000
parents dc3a66688e50
children 940e53dd18c3
line wrap: on
line diff
--- a/abbreviations.lua	Fri Apr 27 10:11:56 2012 +0000
+++ b/abbreviations.lua	Tue May 08 02:41:23 2012 +0000
@@ -1,4 +1,37 @@
+--[==[
+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