The cargoStorage section of Jbeam is used purely for the career mode delivery gameplay. Currently it is implemented together with the “Cargo Load Box” loads for vehicles.
Any part used for the delivery gameplay in career mode should include “cargo_load_” in its internal name in Jbeam in order to appear in the correct category when purchasing.
Required arguments
Currently supported types: “parcel”, “fluid”, “dryBulk”.
For the “parcel” type, it should be a power of 2 value for balancing reasons.
Commonly used values:
- 1 for Cargo Load Box S
- 4 for Cargo Load Box M
- 16 for Cargo Load Box L
- 128 for Cargo Load Box XL
- 800 for Fluid Tank XL and Aggregate Box XL
Examples
Parcel boxes
"cargoStorage":[
["groupId","name","cargoTypes","capacity"],
["roofBarsBoxA","Roof Bars Box A",["parcel"], 16],
["roofBarsBoxB","Roof Bars Box B",["parcel"], 16],
],
Liquid tank
"cargoStorage":[
["groupId", "name","cargoTypes", "capacity"],
["RoofbarTank1", "Roffbar Tank",["fluid"], 800],
],
Aggregate box
"cargoStorage":[
["groupId", "name","cargoTypes", "capacity"],
["roofbarAggregate1", "Roofbar Aggregate Box",["dryBulk"], 800],
],