View Single Post
03-07-11, 09:07 PM   #449
Polegara
Premium Member
 
Polegara's Avatar
Premium Member
Join Date: Nov 2010
Posts: 11
Originally Posted by Akkorian View Post
Hi Polegara and Anseloth,

Lines 50–62 in MacaroonStatusBars.lua overwrite the default rep colors:
Code:
M.BarRepColors = {
	[0] = { l="a_Unknown", r=0.5, g=0.5, b=0.5, a=1.0 },
	[1] = { l="b_Hated", r=0.6, g=0.1, b=0.1, a=1.0 },
	[2] = { l="c_Hostile", r=0.7, g=0.2, b=0.2, a=1.0 },
	[3] = { l="d_Unfriendly", r=0.75, g=0.27, b=0, a=1.0 },
	[4] = { l="e_Neutral", r=0.9, g=0.7, b=0, a=1.0 },
	[5] = { l="f_Friendly", r=0.5, g=0.6, b=0.1, a=1.0 },
	[6] = { l="g_Honored", r=0.1, g=0.5, b=0.20, a=1.0 },
	[7] = { l="h_Revered", r=0.0, g=0.39, b=0.88, a=1.0 },
	[8] = { l="i_Exalted", r=0.58, g=0.0, b=0.55, a=1.0 },
}

FACTION_BAR_COLORS = M.BarRepColors
If you want MacaroonStatusBars to use its own colors, but not affect other addons, just delete the last line.

If you just want MacaroonStatusBars to use the standard colors, change the whole block to:
Code:
M.BarRepColors = FACTION_BAR_COLORS
Hope that helps!
You are officially amazing, that's EXACTLY what I wanted to know.

Thanks again