VibratorModeValidate
Callable
Parameters
data: VibratingItemData
C: Character
The character on whom the item is equipped
item: Item
The item whose options are being validated
newOption: VibratingItemOption
The new option
previousOption: VibratingItemOption
The previously applied option
permitExisting: boolean = false
Determines whether the validation should allow the new option and previous option to be identical. Defaults to
false.
Returns string
- Returns a string message informing the player of the requirements that are not met, null otherwise.