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 consumes 1 power per tick.
It cannot be resized.
At its default size (4x3x4) it has a durability of 1.
By default, its colour is #000000.
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(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
.