VibratorModeStateUpdate
Index
Functions
Default
Parameters
C: Character
The character that the item is equipped on
arousal: number
The current arousal of the character
timeSinceLastChange: number
The time in milliseconds since the vibrator intensity was last changed
oldIntensity: VibratorIntensity
The current intensity of the vibrating item
transitionsFromDefault: readonly VibratorModeState[]
The possible vibrator states that may be transitioned to from the default state
Returns StateAndIntensity
- The updated state and intensity of the vibrator
Deny
Parameters
C: Character
The character that the item is equipped on
arousal: number
The current arousal of the character
timeSinceLastChange: number
The time in milliseconds since the vibrator intensity was last changed
oldIntensity: VibratorIntensity
The current intensity of the vibrating item the default state
Returns StateAndIntensity
- The updated state and intensity of the vibrator
Orgasm
Parameters
C: Character
The character that the item is equipped on
arousal: number
The current arousal of the character
timeSinceLastChange: number
The time in milliseconds since the vibrator intensity was last changed
oldIntensity: VibratorIntensity
The current intensity of the vibrating item the default state
Returns StateAndIntensity
- The updated state and intensity of the vibrator
Rest
Parameters
C: Character
The character that the item is equipped on
arousal: number
The current arousal of the character
timeSinceLastChange: number
The time in milliseconds since the vibrator intensity was last changed
oldIntensity: VibratorIntensity
The current intensity of the vibrating item the default state
Returns StateAndIntensity
- The updated state and intensity of the vibrator
Namespace with helper functions for VibratorModeUpdateStateBased