diff 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
line wrap: on
line diff
--- a/verbage.lua	Sat Apr 07 05:40:20 2012 +0000
+++ b/verbage.lua	Fri Apr 13 04:28:46 2012 +0000
@@ -329,7 +329,10 @@
 
 T.texts_other = [[
 So far the only other generated text is the <Attendance> tab, an alphabetized list
-on a per-boss basis.
+on a per-boss basis.  Players who are probably inside the raid are grouped
+under [:PLUS:], and the remaining players are under [-].  "Probably inside" is an
+assumption that groups 1 and 2 are raiding in a 10-player instance, groups 1-5
+are raiding in a 25-player instance, and so forth.
 
 Other addons can register their own text tabs and corresponding generation
 functions.  If you want to be able to feed text into an offline program (for
@@ -523,7 +526,7 @@
 	wrapped = wrapped:gsub ("([^\n])\n([^\n])", "%1 %2")
 	wrapped = wrapped:gsub ("|r\n\n", "|r\n")
 	wrapped = wrapped:gsub ("Ouroboros", "|cffa335ee<Ouroboros>|r")
-	wrapped = wrapped:gsub ("%*%(", "<") :gsub("%)%*", ">")
+	wrapped = wrapped:gsub ("%*%(", "<") :gsub("%)%*", ">") :gsub(":PLUS:", "+")
 	addon.helptext[funkykey] = wrapped
 end
 end -- do scope