Skip to content

SetCartLoad

Says how much a cart carries - the weight its horses pull.

The mode keeps a cart’s goods its own way; this is their weight in kilograms. The team pulls the cart’s own weight (a wagon 350 kg, a two-wheeler 120), the load and 80 kg a seated player, against its horses’ pull: a horse type’s pull (SetHorseTypeRule: a cart’s own horse 750 kg) with up to 30 % more or less for a player horse’s strength. Up to 0.6 of the pull the cart goes at its full pace; past it the top pace falls, to a walk at 1.6 times the pull and a crawl past 2.5. The heavier, the sooner the horses tire. SetCartLoadFactor says how much the weight counts.

SetCartLoad(id, kg)
Parameter Type
id number the cart
kg number kilograms, 0 or more

boolean - false for no cart or a weight below 0

-- the mode keeps each cart's goods; their weight goes on the horses
SetCartLoad(cart, 40 * CARGO[cart].sacks + 60 * CARGO[cart].barrels)

GetCartLoad · SetCartLoadFactor · GetCartPull · the Carts group of the index