Type Alias EquipmentTypeGroup

EquipmentTypeGroup: {
    label: string;
    types: Record<string, string>;
}

A custom equipment type group, to be rendered in the Equipment Type section of the Item Sheet.

Type declaration

  • label: string

    A group label. Localization keys also work.

  • types: Record<string, string>

    An object where the key is the equipment type ID, and the value is the label text. Localization keys also work.

{
label: 'Helmet',
types: {
clothhat: 'Clothings Helmet',
lighthat: 'Light Helmet',
mediumhat: 'Medium Helmet',
heavyhat: 'Heavy Helmet',
}
{
label: 'MyModuleId.HelmetType.Label',
types: {
clothhat: 'MyModuleId.HelmetType.ClothingsHelmet.Label',
lighthat: 'MyModuleId.HelmetType.LightHelmet.Label',
mediumhat: 'MyModuleId.HelmetType.MediumHelmet.Label',
heavyhat: 'MyModuleId.HelmetType.HeavyHelmet.Label',
}