515
edits
Changes
→Cargo generator
Main changes:
* More importantly cargo Cargo is now being defined by units instead of simple weight. One unit of cargo takes some volume, which gives count of unit that might fit into trailer body. From this unit count mass and reward are also derived. Mass is subject for further limitation either by trailer itself or country laws. Both might result in decreasing of cargo unit count loaded.* Another new concept are body types, new trailers and cargo are not linked directly but rather they are being matched with the compatible cargo by body types. Trailer that has body type '''flatbed''' will have only generated jobs that consists of cargo that is compatible with '''flatbed''' body.
=== Cargo data ===
Attributes '''price_coef'''(float), '''mass''' (float array, per trailer from list) and '''cog_height_offset''' (float array, per trailer) was removed. Attribute array '''trailers''' remain only for compatibility reasons of some cargoes.
=== Trailer def ===