Skip to content

SetHorseGear

Dresses a horse in exactly this gear, on every screen.

Whatever the horse wore comes off and the list’s items go on - a saddle, a bridle, saddlebags, a caparison (the catalogue’s HorseGear category). A class is any key of the item catalogue; an unknown one is logged and skipped. What the saddlebags hold stays in them (SetHorseItems). Players arriving later see the same.

SetHorseGear(id, classes)
Parameter Type
id number the horse
classes table a list of item keys (GUIDs or names), as GetHorseGear returns it

boolean - false when it is not a horse

-- a stable hand saddles and bridles the horse the player just bought
SetHorseGear(horse, {"BasicSaddle01_m01", "BasicBridle01_m01"})

GetHorseGear · SetHorseItems · CreateHorse · the Horses group of the index