Cargo Storage

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.

Required arguments

string
type
Id of the group of nodes/beams that will change properties when cargo weight increases
string
type
Unnamed Container
default
Name of the container to be displayed in delivery UI
table
type
Types of cargo transported in this container
Currently supported types: “parcel”, “fluid”, “aggregate”.
number
type
Amount of cargo the container holds

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
  • 1000 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"], 1000],
],

Aggregate box

"cargoStorage":[
    ["groupId", "name","cargoTypes", "capacity"],
    ["roofbarAggregate1", "Roofbar Aggregate Box",["aggregate"], 1000],
],
Last modified: 16/4/2024 14:55

Any further questions?

Join our discord