Mercurial > wow > ouroloot
comparison abbreviations.lua @ 142:375059a11c1d 2.21.0
Updates for WoD.
- Basic WoD changes (TOC bump, LE_* constants, etc)
- The instance_abbrev table is now indexed by InstanceMapID values; the old
method is still supported for transition.
- Some initial placeholder values for WoD until we actually start seeing them.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Thu, 13 Nov 2014 22:12:33 -0500 |
| parents | ce45011fab4c |
| children | d7ece3ba6505 |
comparison
equal
deleted
inserted
replaced
| 141:13d81d7faa0a | 142:375059a11c1d |
|---|---|
| 1 --[==[ | 1 --[==[ |
| 2 If you want to change these to something else, like in-jokes for your guild, | 2 If you want to change these to something else, like in-jokes for your guild, |
| 3 write a small addon like this. Lines with * are crucial and should not be | 3 write a small addon like this. Lines with * are crucial and should not be |
| 4 changed from how they're shown here. | 4 changed from how they're shown here. |
| 5 | 5 |
| 6 Interface/AddOns/YourMod/YourMod.toc: | 6 Interface/AddOns/YourMod/YourMod.toc: |
| 7 ================================= | 7 ================================= |
| 8 ## Interface: xxxxx | 8 ## Interface: xxxxx |
| 9 ## Title: Ouro Loot For My Guild | 9 ## Title: Ouro Loot For My Guild |
| 10 * ## RequiredDeps: Ouro_Loot | 10 * ## RequiredDeps: Ouro_Loot |
| 11 * ## LoadOnDemand: 1 | 11 * ## LoadOnDemand: 1 |
| 14 main.lua | 14 main.lua |
| 15 ================================= | 15 ================================= |
| 16 | 16 |
| 17 Then replace specific entries like this: | 17 Then replace specific entries like this: |
| 18 | 18 |
| 19 Interface/AddOns/YourMod/main.lua: | 19 Interface/AddOns/YourMod/main.lua: |
| 20 ================================= | 20 ================================= |
| 21 * local ouroloot = LibStub("AceAddon-3.0"):GetAddon("Ouro Loot") | 21 * local ouroloot = LibStub("AceAddon-3.0"):GetAddon("Ouro Loot") |
| 22 | 22 |
| 23 ouroloot.instance_abbrev["The Bastion of Twilight"] = | 23 ouroloot.instance_abbrev["The Bastion of Twilight"] = |
| 24 [[Steve Said He Would /gquit If We Make Him Go Here Ever Again]] | 24 [[Steve Said He Would /gquit If We Make Him Go Here Ever Again]] |
| 27 [[Jim Will Facetank The Slimes Now]] | 27 [[Jim Will Facetank The Slimes Now]] |
| 28 | 28 |
| 29 ouroloot:Print [[Tweaked stuff for mah guildies!]] | 29 ouroloot:Print [[Tweaked stuff for mah guildies!]] |
| 30 ================================= | 30 ================================= |
| 31 | 31 |
| 32 This lets you update Ouro Loot with a new version (overwriting this file) | 32 This lets you update Ouro Loot with a new version (which would overwrite |
| 33 without losing any of your changes. | 33 this file) without losing any of your changes. |
| 34 ]==] | 34 ]==] |
| 35 | 35 |
| 36 local addon = select(2,...) | 36 local addon = select(2,...) |
| 37 if addon.NOLOAD then return end | 37 if addon.NOLOAD then return end |
| 38 | 38 |
| 39 -- Currently indexed by GetInstanceInfo() values. | 39 --[==[ |
| 40 The index is the universal InstanceMapID value, which can be looked up here: | |
| 41 http://wowpedia.org/InstanceMapID | |
| 42 You can also use the official English localized name, which was the only | |
| 43 available method in the past. Note that these names are case-sensistive. | |
| 44 ]==] | |
| 40 addon.instance_abbrev = { | 45 addon.instance_abbrev = { |
| 46 -------- WoD | |
| 47 --[] = "", -- Highmaul | |
| 48 --[] = "BRF", -- Blackrock Foundry | |
| 49 | |
| 41 -------- MoP | 50 -------- MoP |
| 42 ["Mogu'shan Vaults"] = "MV", | 51 [1008] = "MV", -- Mogu'shan Vaults |
| 43 ["Heart of Fear"] = "HoF", | 52 [1009] = "HoF", -- Heart of Fear |
| 44 ["Terrace of Endless Spring"] = "ToES", | 53 [996] = "ToES", -- Terrace of Endless Spring |
| 54 [1098] = "ToT", -- Throne of Thunder | |
| 55 [1136] = "SoO", -- Siege of Orgrimmar | |
| 45 | 56 |
| 46 -------- Cata | 57 -------- Cata |
| 47 ["Baradin Hold"] = "BH", | 58 [757] = "BH", -- Baradin Hold |
| 48 ["The Bastion of Twilight"] = "BoT", | 59 [671] = "BoT", -- The Bastion of Twilight |
| 49 ["Blackwing Descent"] = "BWD", | 60 [669] = "BWD", -- Blackwing Descent |
| 50 ["Throne of the Four Winds"] = "To4W", | 61 [754] = "To4W", -- Throne of the Four Winds |
| 51 --["Firelands"] = "Firelands", | 62 -- surely these names are short enough already...? |
| 63 --[720] = "F", -- Firelands | |
| 64 --[967] = "DS", -- Dragon Soul | |
| 52 | 65 |
| 53 -------- WotLK | 66 -------- WotLK |
| 54 ["Icecrown Citadel"] = "ICC", | 67 [631] = "ICC", -- Icecrown Citadel |
| 55 ["Trial of the Champion"] = "ToC", | 68 [650] = "ToC", -- Trial of the Champion (dungeon) |
| 56 ["Trial of the Crusader"] = "ToC", | 69 [649] = "ToC", -- Trial of the Crusader (raid) |
| 57 ["Trial of the Grand Crusader"] = "ToGC", -- does not actually trigger, need to test heroic | 70 [624] = "VoA", -- Vault of Archavon |
| 58 ["Vault of Archavon"] = "VoA", | |
| 59 } | 71 } |
| 60 | 72 |
| 61 -- Currently indexed by "boss name" values, as generated by whatever boss mod | 73 -- Currently indexed by "boss name" values, as generated by whatever boss mod |
| 62 -- is in use; see specific boss mod handling code to see how they get it. | 74 -- is in use; see specific boss mod handling code to see how they get it. |
| 63 addon.boss_abbrev = { | 75 addon.boss_abbrev = { |
| 76 -------- WoD | |
| 77 | |
| 64 -------- MoP | 78 -------- MoP |
| 65 -- MV | 79 -- MV |
| 66 ["Will of the Emperor"] = "Talk to the Open Hand", | 80 ["Will of the Emperor"] = "Talk to the Open Hand", |
| 67 | 81 |
| 68 -------- Cata | 82 -------- Cata |
