about=config.desc("Once you've found a rare, it can be nice to actually target it. So this pops up a frame that targets the rare when you click on it.",0),
show=config.toggle("Show for mobs","Show the click-target frame for mobs",10),
loot=config.toggle("Show for treasure","Show the click-target frame for treasures",11),
desc="How long to leave the target frame up without you interacting with it before it'll go away, in seconds. Every time you mouse over the frame this timer resets.",
width="full",
min=5,
max=600,
step=1,
order=25,
},
closeDead=config.toggle("Close when dead","Try to close the click-target frame when the mob dies. We'll only be able to *tell* if it dies if we're nearby and in combat. Might have to wait until you're out of combat to do the hiding.",30),
announceHeader={
type="header",
name="Chat announcements",
order=40,
},
announceDesc=config.desc("Shift-clicking the target popup will try to send a message about the rare. If you've got it targeted or are near enough to see its nameplate, health will be included.\nIf you have an editbox open, it'll paste the message into that for you to send. If you don't, it'll do whatever these settings say:",41),
announce={
type="select",
name="Announce to chat",
values={
OPENLAST="Open last editbox",
IMMEDIATELY="Send immediately",
},
order=45,
},
announceChannel={
type="select",
name="Immediate announce to...",
values={
["CHANNEL"]=COMMUNITIES_DEFAULT_CHANNEL_NAME,-- strictly this isn't correct, but...
["SAY"]=CHAT_MSG_SAY,
["YELL"]=CHAT_MSG_YELL,
["PARTY"]=CHAT_MSG_PARTY,
["RAID"]=CHAT_MSG_RAID,
["GUILD"]=CHAT_MSG_GUILD,
["OFFICER"]=CHAT_MSG_OFFICER,
},
order=46,
},
sources={
type="group",
name="Rare Sources",
args={
desc=config.desc("Which ways of finding a rare should cause this frame to appear?",0),