SlotDefinition

class HorseMod.SlotDefinition

Used to define a new attachment slot.

modelAttachment: string

The model attachment point.

isMane: boolean?

Whenever this slot is a mane slot. Mane slots are mostly hidden from the player in menus.

defaultMane: string?

Default mane item full type this slot will spawn with upon horse creation.

Example

---@type SlotDefinition
local exampleSlotDef = {
    modelAttachment="maneMid1",
    isMane=true, defaultMane="HorseMod.HorseManeMid"
}

Slots available

Below is a list of all the available slots in the Horse mod defined in HorseMod.attachments.AttachmentData.slotsDefinitions.

Head

modelAttachment = head

ManeEnd

modelAttachment = maneEnd

defaultMane = HorseMod.HorseManeEnd

isMane = True

ManeMid1

modelAttachment = maneMid1

defaultMane = HorseMod.HorseManeMid

isMane = True

ManeMid2

modelAttachment = maneMid2

defaultMane = HorseMod.HorseManeMid

isMane = True

ManeMid3

modelAttachment = maneMid3

defaultMane = HorseMod.HorseManeMid

isMane = True

ManeMid4

modelAttachment = maneMid4

defaultMane = HorseMod.HorseManeMid

isMane = True

ManeMid5

modelAttachment = maneMid5

defaultMane = HorseMod.HorseManeMid

isMane = True

ManeStart

modelAttachment = maneStart

defaultMane = HorseMod.HorseManeStart

isMane = True

MountLeft

modelAttachment = mountLeft

MountRight

modelAttachment = mountRight

Reins

modelAttachment = reins

Saddle

modelAttachment = saddle

Saddlebags

modelAttachment = saddlebags

Tent

modelAttachment = tent

SleepingBag

modelAttachment = sleepingBag