Skip to content

GetHorseTypeRule

What a horse type pulls and its pace under a rider.

GetHorseTypeRule(type)
Parameter Type
type string the type’s name

table - {name =, pull =, ride =}; nil for no such type

local mule = GetHorseTypeRule("mule")
SendClientMessage(pid, COLOR_WHITE, string.format("A mule pulls %d kg.", mule.pull))

SetHorseTypeRule · GetHorseTypes · the Horses group of the index