InventoryLock
Callable
Parameters
C: Character
The character on which the lock must be applied
ItemOrGroupName: AssetGroupName | Item
The item from appearance to lock
LockOrLockType: AssetLockType | Item
The asset of the lock or the name of the lock asset
optionalAppliedBy: string | Character = null
The character applying the lock, or message to show
optionalUpdate: boolean = true
Whether or not to update the character
Returns void
Applies a lock to an appearance item of a character