APIs related to the configuration of items.
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.
the group to add
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', }, });}); Copy
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', }, });});
APIs related to the configuration of items.