forked from Crzyrndm/FilterExtension
-
Notifications
You must be signed in to change notification settings - Fork 12
Filters and Checks
Jonathan Bayer edited this page Jul 28, 2021
·
1 revision
FILTER and CHECK nodes are the basis for setting which parts are visible in each Category and Subcategory.
Each category and subcategory can have multiple filters available, with a part being required to meet all the conditions of atleast one filter to be visible. Filters can also be inverted so the reverse is true (must not pass any nodes to be visible) but this is generally not required
Each check node contains a single yes/no condition that a part must pass to be accepted. Each Check has a type which details what on the part will be compared against as well as a value (or list of values) and several optional parameters.
// an example Filter checking for all parts that would be visible in the stock "Pods" subcategory
FILTER
{
CHECK
{
type = category
value = Pods
}
}
All valid Check types are listed HERE