You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
443 B

local _, addonTable = ...
local CONSTANTS = Rarity.Enum
local pairs = pairs
5 months ago
local HolidayEvents = {}
function HolidayEvents.IsItemAvailableToday(item)
5 months ago
if not item.holidayEvents then
return true
end
5 months ago
for _, calendarEventID in pairs(item.holidayEvents) do
if Rarity.activeHolidayEvents[calendarEventID] then
return true
end
end
return false
end
Rarity.HolidayEvents = HolidayEvents
return HolidayEvents