ItemDefinition
-
alias HorseMod.ItemDefinition =
table<HorseMod.AttachmentSlot,HorseMod.AttachmentDefinition> A slots configuration for an InventoryItem full type holding the various configurations the item can take on different slots.
Example
---@type ItemDefinition
local exampleItemDefinitions = {
["Saddle"] = {
equipBehavior = {
time = -1,
anim = {
["Left"] = "Horse_EquipSaddle_Left",
["Right"] = "Horse_EquipSaddle_Right",
},
shouldHold = true,
},
},
}