Mercurial > wow > ouroloot
comparison options.lua @ 151:42dd3076baaf
Initial attempt at tracking bonus rolls and non-loot items.
Add more loot-catching patterns, and generalize them a little more. Bonus
rolls are tracked by default, non-loot stuff is not. Bonus rolls don't seem
to be working, but non-loot definitely is. (It may be that the patterns for
bonus rolls are not actually used by the game client, or rather, that the
game client does not issue those events for bonus rolls which are not your
own. I have yet to win a bonus roll since implementing the code, but one
person in LFR claimed to win a bonus item which simply wasn't visible to me
at all. More data needed.)
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 09 Jan 2015 19:14:56 -0500 |
parents | 113dd7c86222 |
children | b79b1cb6d057 |
comparison
equal
deleted
inserted
replaced
150:63bda09d88fe | 151:42dd3076baaf |
---|---|
160 container:AddChild(w) | 160 container:AddChild(w) |
161 | 161 |
162 -- cutesy abbrevs | 162 -- cutesy abbrevs |
163 w = mktoggle('snarky_boss', "Use snarky boss names", stdw, | 163 w = mktoggle('snarky_boss', "Use snarky boss names", stdw, |
164 [[Irreverent replacement names for boss events. See abbreviations.lua for details.]]) | 164 [[Irreverent replacement names for boss events. See abbreviations.lua for details.]]) |
165 container:AddChild(w) | |
166 | |
167 -- (try to) track bonus loot | |
168 -- For the texture coordinates, see EncounterJournal_SetFlagIcon() and | |
169 -- http://wow.gamepedia.com/API_EJ_GetSectionInfo | |
170 w = mktoggle('track_bonusrolls', "Track loot from bonus rolls", stdw, | |
171 [[Track items received from spending roll tokens (e.g., Seal of Fate).]] | |
172 .. [[ |cff00ff00Experimental! May only work when rebroadcast.|r]]) | |
173 --w:SetImage([[Interface\EncounterJournal\UI-EJ-Icons]], | |
174 -- This is "ID 6", the interruptible lightning icon | |
175 --0.75, (0.75 + (1/8)), 0, 0.5) | |
176 -- This is "ID 7", the heroic/skull | |
177 --3/8, 0.5, 0, 0.5) | |
178 w:SetImage([[Interface\Scenarios\ScenarioIcon-Boss]]) | |
179 container:AddChild(w) | |
180 | |
181 -- track receiving arbitrary items | |
182 w = mktoggle('track_nonloot', "Track non-loot items", stdw, | |
183 [[Track items received from the mailbox, salvage bags, lockboxes...]]) | |
165 container:AddChild(w) | 184 container:AddChild(w) |
166 | 185 |
167 -- auto-GOP mode when in LFR | 186 -- auto-GOP mode when in LFR |
168 w = mktoggle('history_suppress_LFR', "Suppress history in LFR", stdw, | 187 w = mktoggle('history_suppress_LFR', "Suppress history in LFR", stdw, |
169 [[Do not record anything at all in the History tab while in an LFR raid. Changes only take effect outside of LFR.]]) | 188 [[Do not record anything at all in the History tab while in an LFR raid. Changes only take effect outside of LFR.]]) |