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(tickInterval)

Fires when the object is updated by the game loop.

The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20, this will be 1 / 20 (or just 0.05). If the tick rate commands are accessible, running them will change this value. It is a number.