Public Member Functions | |
constructor | Cargo (index, cid, freight, effect) |
function | GetWeight () |
Public Attributes | |
index = null | |
Index of the cargo in the cargo table (BusyBeeClass.cargoes). | |
cid = null | |
Id of the cargo in GRF. | |
freight = null | |
Whether the cargo is considered to be freight. | |
effect = null | |
Town effect (One of #GSCargo.TownEffect). | |
weight = null | |
Likelihood of picking this cargo for making a goal. |