Skip to main content

GravityGenerator

Generates an artificial gravity field when powered on. The gravity field only affects players, not individual parts. The amount of gravity can also be configureed, but the more gravity the higher amount of power needed. Only works in space, not inside planets.

It is a craftable and spawnable non-flammable solid.

It cannot be resized.

At its default size (4x3x4) it has a durability of 1.

By default, its colour is #5b5d69.

It requires 30 Engine, 20 Pipe, 40 Quartz, and 150 Wire to be crafted.

Configurables


Gravity

The amount of gravity within the influence of the GravityGenerator, measured in Gs. It is a number. It ranges between 0.15 and 1.5.

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.