Mercurial > wow > ouroloot
comparison verbage.lua @ 56:fcc0d0ff5832
- instance_tag() also returns max instance size as a plain number, adjust
call sites
- clean up .raiders table, add some new fields, use copies of this instead
of a single string
- make sure datarev field is properly updated when it's already present
- avoid multiple GetRaidRosterInfo loops scattered throughout the addon,
instead just traverse the .raiders list, regularly updated
- make the 'loot' and 'boss' broadcasts versioned. Handle receiving older.
- new format for plaintext attendance output
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Fri, 13 Apr 2012 04:28:46 +0000 |
| parents | 1070a14cfee4 |
| children | c01875b275ca |
comparison
equal
deleted
inserted
replaced
| 55:ac57a4342812 | 56:fcc0d0ff5832 |
|---|---|
| 327 considerably. | 327 considerably. |
| 328 ]] | 328 ]] |
| 329 | 329 |
| 330 T.texts_other = [[ | 330 T.texts_other = [[ |
| 331 So far the only other generated text is the <Attendance> tab, an alphabetized list | 331 So far the only other generated text is the <Attendance> tab, an alphabetized list |
| 332 on a per-boss basis. | 332 on a per-boss basis. Players who are probably inside the raid are grouped |
| 333 under [:PLUS:], and the remaining players are under [-]. "Probably inside" is an | |
| 334 assumption that groups 1 and 2 are raiding in a 10-player instance, groups 1-5 | |
| 335 are raiding in a 25-player instance, and so forth. | |
| 333 | 336 |
| 334 Other addons can register their own text tabs and corresponding generation | 337 Other addons can register their own text tabs and corresponding generation |
| 335 functions. If you want to be able to feed text into an offline program (for | 338 functions. If you want to be able to feed text into an offline program (for |
| 336 example, a spreadsheet or DKP tracker), then this may be of use to you. | 339 example, a spreadsheet or DKP tracker), then this may be of use to you. |
| 337 | 340 |
| 521 local wrapped = text | 524 local wrapped = text |
| 522 wrapped = wrapped:gsub ("[%+<>]", replacement_colors) | 525 wrapped = wrapped:gsub ("[%+<>]", replacement_colors) |
| 523 wrapped = wrapped:gsub ("([^\n])\n([^\n])", "%1 %2") | 526 wrapped = wrapped:gsub ("([^\n])\n([^\n])", "%1 %2") |
| 524 wrapped = wrapped:gsub ("|r\n\n", "|r\n") | 527 wrapped = wrapped:gsub ("|r\n\n", "|r\n") |
| 525 wrapped = wrapped:gsub ("Ouroboros", "|cffa335ee<Ouroboros>|r") | 528 wrapped = wrapped:gsub ("Ouroboros", "|cffa335ee<Ouroboros>|r") |
| 526 wrapped = wrapped:gsub ("%*%(", "<") :gsub("%)%*", ">") | 529 wrapped = wrapped:gsub ("%*%(", "<") :gsub("%)%*", ">") :gsub(":PLUS:", "+") |
| 527 addon.helptext[funkykey] = wrapped | 530 addon.helptext[funkykey] = wrapped |
| 528 end | 531 end |
| 529 end -- do scope | 532 end -- do scope |
| 530 todo = nil | 533 todo = nil |
| 531 | 534 |
