Skip to main content

Condition_IsCollectedObjectCount

Description

Compares the number of objects collected within a specified Family Collection category for the BaseObject.

Parameters

ParameterDescription
BaseObjectThe entity to check the collected count for.
CompareTypeSupported compare types: Equal, NotEqual, Greater, Less, GreaterOrEqual, LessOrEqual, InRange, OutRange.
S1Collection category ID as defined in Collection.json. Use "All" to check the total count.
F1The value to compare against the collected count (lower bound for InRange/OutRange).
F2Upper bound value for InRange/OutRange comparisons.

Examples

DescriptionBaseObjectCommandCompareType
Check if self has collected 10 or more Fish category itemsSelfIsCollectedObjectCountGreaterOrEqual
Check if self has collected 10 or more Crop category itemsSelfIsCollectedObjectCountGreaterOrEqual
Check if target has collected 100 or more items across all categoriesTargetIsCollectedObjectCountGreaterOrEqual
Check if self has collected between 5 and 20 Fish category itemsSelfIsCollectedObjectCountInRange