APIs related to the configuration of items.

Constructors

Methods

  • Registers a custom group of equipment types, to be rendered on the item sheet as their own section of options within the Equipment Type input.

    Parameters

    Returns void

    Example: Registering custom helmets

    Hooks.once('tidy5e-sheet.ready', (api) => {
    api.config.item.registerCustomEquipmentTypeGroup({
    label: 'Helmet',
    types: {
    clothhat: 'Clothings Helmet',
    lighthat: 'Light Helmet',
    mediumhat: 'Medium Helmet',
    heavyhat: 'Heavy Helmet',
    },
    });
    });