Skip to main content

BallastTank

Allows for variable ballast to be added to sea vehicles. Also prevents corrosion to attached parts underwater.

It is a craftable and spawnable non-flammable solid.

It cannot be resized.

At its default size (6x4x4) it has a durability of 1.

By default, its colour is #5b5d69.

It requires 1 Aluminum, 1 Iron, and 1 Rubber to be crafted.

Configurables


Buoyancy

The buoyancy of this BallastTank, 0 being neutral. It is a number. It ranges between -10 and 10.

Events


Loop(deltaTime)

Fires when the object is updated by the game loop.

The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1). It is a number.