Hierarchy

Properties

disableSlot?: true

If you need to set up an "internal" slot — such as the vanilla "EquipType.Held" which is an internal slot meaning "main hand or off hand."

freeSlot?: true

Set this to true to allow the player to change which item is slotted in this slot for free. (IE, like the main hand and off hand slots.)

insulationWeights?: PartialRecord<TempType, InsulationWeight>

For each temperature type (TempType.Cold and TempType.Heat), the "weight" that it has. When calculating insulation, this weight is compared with all other weights. Higher weight = higher % of the insulation score comes from this slot.

To make the slot optional for insulation of a temp type, make the value 0 (not considered at all) OR make it [<weight>, "onlyWhenEquipped"].

Optional slots do not reduce the human's insulation.

itemGroup?: ItemTypeGroup

An item group to automatically assign to all items equippable in this equip slot.

modIndex?: number

Do not provide or modify this value, only reference it. This is set by the modding system during the process of registration.

Generated using TypeDoc