-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOnyfansLoot-Config.lua
56 lines (50 loc) · 4.26 KB
/
OnyfansLoot-Config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
OnyFansLoot = AceLibrary("AceAddon-2.0"):new("AceHook-2.1")
OnyFansLoot.playerName = UnitName("player")
OnyFansLoot.minRarityForAnnouncement = 4 -- Min rarity loot needs to be before it will be announced in raid chat by loot master
OnyFansLoot.minRarityToGroupWith = OnyFansLoot.minRarityForAnnouncement - 1 -- If there's loot on a unit under minRarityForAnnouncement, but still want to announce it (and not on blacklist) useful for recipes
OnyFansLoot.minQualityToLogLoot = 3 -- For loot logging for the /of export command
OnyFansLoot.lastLootmsgCleanTime = 5 -- Anything => lastLootMsgCleanTime is removed from lastLootmsgTab
OnyFansLoot.timeBetweenListDateChecks = 3600 -- For checking if someone's 1/2 or whole list is active but they are not showing on tooltips
OnyFansLoot.lastListDateCheck = time() - OnyFansLoot.timeBetweenListDateChecks + 15 -- Creating a short delay before the list check notification, so it's not lost on log in
OnyFansLoot.rebroadcastTime = 180 -- Time in seconds between broadcasting version number,list version, exlusion version, asking for lists, and sending lists
OnyFansLoot.timeBetweenLootBroadcast = 180 -- Time in seconds before loot master will send a raid message of the loot drops off the same unit name
OnyFansLoot.allowedGuildRanks = {1,2} -- Index of the allowed ranks to import, -- 1 = GM, 2 = Twitch Mod, 3 = Foot Model, 4 = Tier 2
-- Prefixes for addon messages
OnyFansLoot.itemDropPrefix = "ofitem" -- used for broadcasting item drops to people outside of range to receive the notice in chat
OnyFansLoot.itemCorrectionPrefix = "ofitemcorrection" -- used show raid item trades if out of range or if you didn't receive the message for some reason
OnyFansLoot.listVersionBroadcastPrefix = "oflootlist" -- brodcasting loot version
OnyFansLoot.listSharePrefix = "ofloot" -- used when sending list to another person
OnyFansLoot.listAskPrefix = "oflootask" -- used when asking for a speicific list from speicific person
OnyFansLoot.addonVersionBroadcastPrefix = "ofversion" -- Broadcasting addon version
OnyFansLoot.exclusionListPrefix = "ofexclusion" -- Broadcasting exclusion list version
OnyFansLoot.exclusionSharePrefix = "ofexclusionshare" -- when sharing exclusion list with someon
OnyFansLoot.exlusionAskPrefix = "ofexlusionask" -- When asking for an exclusion list from someone
OnyFansLoot.listDropPrefix = "oflistdrop" -- for brodcasting when a list itemd rops
-- For blacklisting items from loot logging and export
OnyFansLoot.blackList = {
"idol of the sun","idol of war","blue qiraji resonating crystal","idol of life","idol of death","idol of rebirth",
"idol of strife","green qiraji resonating crystal","idol of night","large brilliant shard","idol of the sage", "yellow qiraji resonating crystal",
"fiery core", "lava core", "book: gift of the wild","elementium ore", "nexus crystal", "tome of frost ward v", "hydralick armor","grimoire: demon portal",
"seven of warlords", "wand of allistarj", "aegis of stormwind", "band of the hierophant", "sulfuron ingot"
}
-- Known alts. Lists are shared with alts of people that have a list
OnyFansLoot.altList = {['xiaobao']='misopaste',['mirgan']='rimgan',['ninsham']='ninjerk',['kyoden']='kyoto',['chawe']='magicfella',['xhelios']='heliosx',
['navree']='navee',['buhritoh']='hambaga',['ankho']='mouchi',['epythet']='epygon',['axh']='axz',['magumba']='notmagumba', ['epy']='epygon',["aoeemo"]="omee", ["shego"]="violace",
["misohunts"]="misopaste",["koodah"]="fathercuda", ["clothcow"]="lovebucket", ["dieyou"]="dieme", ["kabru"]="hambaga", ["needheals"]="luden", ["sneakyqueefy"]="kyoto",
["epyzoic"]="epygon", ["navii"]="navee", ["soondubu"]="misopaste", ["scratcher"]="kaiden",["soraya"] = "gloryhunter", ["seance"] = "gloryhunter",}
local ofConfigFrame = CreateFrame("Frame")
ofConfigFrame:RegisterEvent("VARIABLES_LOADED")
ofConfigFrame:SetScript("OnEvent", function ()
if event == "VARIABLES_LOADED" then
InititalizeDefaultValues()
end
end)
function InititalizeDefaultValues()
if not OfLoot then OfLoot = {} end
if not OfDrops then OfDrops = {} end
if not Drops then Drops = {} end
if not ListExclusions then ListExclusions = {} end
OnyFansLoot.raidInvite = false
OnyFansLoot.invitedList = {}
OnyFansLoot.lastLootmsgTab = {}
end