local ElvUI_EltreumUI, E, L, V, P, G = unpack(select(2, ...))
local _G = _G
local CH = E:GetModule("Chat")

--Eltreum
local EltreumIcon = "|TInterface\\Addons\\ElvUI_EltreumUI\\Media\\Textures\\tinylogowhite.tga:0:0:0:0:32:32:0:32:0:32:69:128:179|t"
local EltreumCharacters = {

	--Retail Alliance
	["Missiles-Stormrage"] = EltreumIcon,
	["Eltreum-Stormrage"] = EltreumIcon,
	["Effecta-Stormrage"] = EltreumIcon,
	["Deci-Stormrage"] = EltreumIcon,
	["Kuriatas-Stormrage"] = EltreumIcon,
	["Tyriendal-Stormrage"] = EltreumIcon,
	["Lastwill-Stormrage"] = EltreumIcon,
	["Auramaster-Stormrage"] = EltreumIcon,
	["Futuria-Stormrage"] = EltreumIcon,
	["Repairs-Stormrage"] = EltreumIcon,
	["Brihtnes-Stormrage"] = EltreumIcon,
	["Insidium-Stormrage"] = EltreumIcon,
	["Chromatus-Stormrage"] = EltreumIcon,

	--Retail Horde
	["Antarcticus-Area 52"] = EltreumIcon,
	["Eltreum-Area 52"] = EltreumIcon,

	--Wrath
	["Antarcticus-Faerlina"] = EltreumIcon,
	["Atrophos-Faerlina"] = EltreumIcon,
	["Kuriatas-Faerlina"] = EltreumIcon,
	["Tartharus-Faerlina"] = EltreumIcon,
	["Futuria-Faerlina"] = EltreumIcon,
	["Repairs-Faerlina"] = EltreumIcon,
	["Durtram-Faerlina"] = EltreumIcon,
	["Auramaster-Faerlina"] = EltreumIcon,
	["Eltreum-Faerlina"] = EltreumIcon,
	["Effecta-Faerlina"] = EltreumIcon,
	["Brihtnes-Faerlina"] = EltreumIcon,
}

--Donators
local DonatorsIcon = "|TInterface\\Addons\\ElvUI_EltreumUI\\Media\\Textures\\tinylogowhite.tga:0:0:0:0:32:32:0:32:0:32:181:9:9|t"
local DonatorsCharacters = {
	--["Kuriatas-Stormrage"] = DonatorsIcon, --test
}

--Discord MVPs
local MVPIcon = "|TInterface\\Addons\\ElvUI_EltreumUI\\Media\\Textures\\tinylogowhite.tga:0:0:0:0:32:32:0:32:0:32:255:115:0|t"
local MVPCharacters = {
	--["Kuriatas-Stormrage"] = MVPIcon, --test
	["Evowøød-Blackhand"] = MVPIcon,
	["Evowøød-Antonidas"] = MVPIcon,

	["Lockwøød-Blackhand"] = MVPIcon,
	["Drwøød-Blackhand"] = MVPIcon,
	["Shawøød-Blackhand"] = MVPIcon,
	["Rowøød-Blackhand"] = MVPIcon,
	["Prwøød-Blackhand"] = MVPIcon,
	["Mawøød-Blackhand"] = MVPIcon,
	["Huwøød-Blackhand"] = MVPIcon,
	["Mokwøød-Blackhand"] = MVPIcon,
	["Dawøød-Blackhand"] = MVPIcon,
	["Palwøød-Blackhand"] = MVPIcon,
	["Warwøød-Blackhand"] = MVPIcon,
	["Dewøød-Blackhand"] = MVPIcon,
	["Farmwøød-Blackhand"] = MVPIcon,

	["Lockwøød-Antonidas"] = MVPIcon,
	["Rowøød-Antonidas"] = MVPIcon,
	["Warwøød-Antonidas"] = MVPIcon,
	["Drwøød-Antonidas"] = MVPIcon,
	["Mokwøød-Antonidas"] = MVPIcon,
	["Palwøød-Antonidas"] = MVPIcon,
	["Prwøød-Antonidas"] = MVPIcon,
	["Mawøød-Antonidas"] = MVPIcon,
	["Dawøød-Antonidas"] = MVPIcon,
	["Huwøød-Antonidas"] = MVPIcon,
	["Shawøød-Antonidas"] = MVPIcon,
	["Dewøød-Antonidas"] = MVPIcon,
	["Farmwøød-Antonidas"] = MVPIcon,
	["Evowøød-Antonidas"] = MVPIcon,
}

--Add Icons to chat messages
CH:AddPluginIcons(function(unit)
	if EltreumCharacters[unit] then
		return EltreumCharacters[unit]
	elseif DonatorsCharacters[unit] then
		return DonatorsCharacters[unit]
	elseif MVPCharacters[unit] then
		return MVPCharacters[unit]
	end
end)
