AttachmentDefinition

class HorseMod.AttachmentDefinition

Defines an attachment item with its associated slots and extra data if needed.

unequipBehavior: HorseMod.EquipBehavior?

Unequip timed action behavior.

model: string?

Model script ID to show when attached. Suffixes are used to define different states (e.g. reins during movement).

hidden: boolean?

Hide the item in menus. [not fully tested]

containerBehavior: HorseMod.ContainerBehavior?

Container behavior component.

equipBehavior: HorseMod.EquipBehavior?

Equip timed action behavior component.

notReachableFromMount: boolean?

Whenever the player can reach from mount this attachment, always considered reachable by default. Notably used for containers.