/obj/machinery/gravity_generator/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 |
on | Whether the gravity generator is currently active. |
radioactive_nebula_shielding | Amount of shielding we offer against a radioactive nebula |
setting | Gravity value when on, honestly I don't know why it does it like this, but it does. |
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
on
Whether the gravity generator is currently active.
radioactive_nebula_shielding
Amount of shielding we offer against a radioactive nebula
setting
Gravity value when on, honestly I don't know why it does it like this, but it does.