Skip to main content

InventoryIsAllowedLimited

Callable

  • InventoryIsAllowedLimited(C: Character, item: Item, type?: string): boolean

  • Determines whether a given item is an allowed limited item for the player (i.e. has limited permissions, but can be used by the player)


    Parameters

    • C: Character

      The character whose permissions to check

    • item: Item

      The item to check

    • optionaltype: string

      the item type to check

    Returns boolean

    • Returns TRUE if the given item & type is limited but allowed for the player