main
Main gravity generator
The actual gravity generator, that actually holds the UI, contains the grav gen parts, ect.
Vars | |
breaker | If the main breaker is on/off, to enable/disable gravity. |
---|---|
broken_state | When broken, what stage it is at (GRAV_NEEDS_SCREWDRIVER:0) (GRAV_NEEDS_WELDING:1) (GRAV_NEEDS_PLASTEEL:2) (GRAV_NEEDS_WRENCH:3) |
center_part | The gravity generator part in the very center, the fifth one, where we place the overlays. |
charge_count | How much charge the gravity generator has, goes down when breaker is shut, and shuts down at 0. |
charging_state | If the generatir os idle, charging, or down. |
current_overlay | The gravity overlay currently used. |
generator_parts | List of all gravity generator parts |
gravity_field | The gravity field created by the generator. |
on | Whether the gravity generator is currently active. |
setting | Gravity value when on, honestly I don't know why it does it like this, but it does. |
soundloop | Audio for when the gravgen is on |
Procs | |
shake_everyone | Shake everyone on the z level to let them know that gravity was enagaged/disengaged. |
Var Details
breaker
If the main breaker is on/off, to enable/disable gravity.
broken_state
When broken, what stage it is at (GRAV_NEEDS_SCREWDRIVER:0) (GRAV_NEEDS_WELDING:1) (GRAV_NEEDS_PLASTEEL:2) (GRAV_NEEDS_WRENCH:3)
center_part
The gravity generator part in the very center, the fifth one, where we place the overlays.
charge_count
How much charge the gravity generator has, goes down when breaker is shut, and shuts down at 0.
charging_state
If the generatir os idle, charging, or down.
current_overlay
The gravity overlay currently used.
generator_parts
List of all gravity generator parts
gravity_field
The gravity field created by the generator.
on
Whether the gravity generator is currently active.
setting
Gravity value when on, honestly I don't know why it does it like this, but it does.
soundloop
Audio for when the gravgen is on
Proc Details
shake_everyone
Shake everyone on the z level to let them know that gravity was enagaged/disengaged.