PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionTurntableSummary.lua
2024-09-01 22:49:41 +02:00

26 lines
No EOL
769 B
Lua

local XRedPointConditionTurntableSummary = {}
local SubCondition = nil
function XRedPointConditionTurntableSummary.GetSubConditions()
SubCondition = SubCondition or {
XRedPointConditions.Types.XRedPointConditionTurntableTask,
XRedPointConditions.Types.XRedPointConditionTurntableReward,
XRedPointConditions.Types.XRedPointConditionTurntableTimes,
}
return SubCondition
end
function XRedPointConditionTurntableSummary.Check()
if XRedPointConditionTurntableTask.Check() then
return true
end
if XRedPointConditionTurntableReward.Check() then
return true
end
if XRedPointConditionTurntableTimes.Check() then
return true
end
return false
end
return XRedPointConditionTurntableSummary