FunctionsValidationSanitizeLockValidationSanitizeLock CallableValidationSanitizeLock(C: Character, item: Item): booleanSanitizes an item's lock properties, if present. This ensures that any lock on the item is valid, and removes or corrects invalid properties.ParametersC: CharacterThe character on whom the item is equippeditem: ItemThe item whose lock properties should be sanitizedReturns booleanTRUE if the item's properties were modified as part of the sanitization process (indicating the lock was not valid), FALSE otherwise
Sanitizes an item's lock properties, if present. This ensures that any lock on the item is valid, and removes or corrects invalid properties.