Skip to main content

CharacterHasBlockedItem

Callable

  • CharacterHasBlockedItem(C: Character, BlockList: any[]): boolean

  • Checks if the character is wearing an item flagged as a category in a blocked list


    Parameters

    • C: Character

      The character to validate

    • BlockList: any[]

      An array of strings to validate

    Returns boolean

    • TRUE if the character is wearing a blocked item, FALSE otherwise