|breaker_on||Is the breaker switch turned on|
|charging_state||Charging state (Idle, Charging, Discharging)|
|middle||The central part of the structure|
|on||Is the generator producing gravity|
|parts||Generator parts on adjacent tiles|
|set_gravity||Set the state of gravity on the z-level.|
|set_power||Set the charging state based on external power and the breaker state.|
|shake_everyone||Shake everyone on the z level and play an alarm to let them know that gravity was enagaged/disenagaged.|
Is the breaker switch turned on
Charging state (Idle, Charging, Discharging)
The central part of the structure
Is the generator producing gravity
Generator parts on adjacent tiles
Set the state of gravity on the z-level.
- enable -
TRUEto enable gravity,
FALSEto disable gravity
Set the charging state based on external power and the breaker state.
Shake everyone on the z level and play an alarm to let them know that gravity was enagaged/disenagaged.