Mercurial > wow > ouroloot
diff options.lua @ 138:8345df517488 2.20.2
- Redo instance tagging for new GetInstanceInfo return values. Normal raids
should no longer "randomly" detect as heroic mode.
- If loaded during combat, do not prescan history.
- Fix nil error caused by reassigning loot inside an instance after having
been loaded during combat.
- "Peppers!" sound test.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 19 Oct 2012 14:34:34 -0400 |
parents | feca7e0e1f89 |
children | e1a90e398231 |
line wrap: on
line diff
--- a/options.lua Fri Aug 31 23:18:03 2012 -0400 +++ b/options.lua Fri Oct 19 14:34:34 2012 -0400 @@ -67,7 +67,7 @@ local gui = addon.gui_state_pointer local AceGUI = LibStub("AceGUI-3.0") local flib = LibStub("LibFarmbuyer") -local opts +local opts local error, assert = addon.error, addon.assert @@ -675,22 +675,28 @@ simple:SetFullWidth(true) w = mkbutton("MidS-H", [[not exactly an Easter egg, with sound]]) w:SetRelativeWidth(0.2) - w:SetCallback("OnClick", function() + w:SetCallback("OnClick", function() PlaySoundFile ([[Sound\Music\WorldEvents\HordeFirepole.mp3]], "Master") end) simple:AddChild(w) w = mkbutton("MidS-A", [[not exactly an Easter egg, with sound]]) w:SetRelativeWidth(0.2) - w:SetCallback("OnClick", function() + w:SetCallback("OnClick", function() PlaySoundFile ([[Sound\Music\WorldEvents\AllianceFirepole.mp3]], "Master") end) simple:AddChild(w) w = mkbutton("SFRR", [[test]]) w:SetRelativeWidth(0.15) - w:SetCallback("OnClick", function() + w:SetCallback("OnClick", function() PlaySoundFile ([[Interface\AddOns\Ouro_Loot\sfrr.ogg]], "Master") end) simple:AddChild(w) + w = mkbutton("Peppers!", [[test 3]]) + w:SetRelativeWidth(0.20) + w:SetCallback("OnClick", function() + PlaySoundFile ([[Sound\CREATURE\UncleGao\VO_SB_GAO_EVENT_04.OGG]], "Master") + end) + simple:AddChild(w) container:AddChild(simple) end @@ -908,7 +914,7 @@ unique = (unique and tostring(unique)) or assert(plugin.name, "plugin has no 'name' field") - --if parent + --if parent text = text or plugin:GetName()