An extension to manage a collection of modifier sets used throughout the content. In addition to managing registered sets, this plugin provides the abstract modifier set logic from which other plugins can extend to create new sets.
A modifier set consists of a collection of models for which changes to modifying attributes are observed and managed, to control their _isAvailable property.
Each plugin will register a set type with the API, and identify its parent-child model relationship, along with any extended functionality specific to that plugin. Examples of modifiers include banking and randomise.
If the config or associated child models are changed in a way which affects the modifier, the parent model is reset as the content will be refreshed and needs to be retaken.
Plugins can extend the ModifierSet by importing the set as required:
import ModifierSet from 'extensions/adapt-contrib-modifiers/js/ModifierSet';Version number: 1.0.0
Framework versions: >=5.28.8
Author / maintainer: Adapt Core Team with contributors