main
Vars | |
breaker_on | Is the breaker switch turned on |
---|---|
charge_count | Charge percentage |
charging_state | Charging state (Idle, Charging, Discharging) |
on | Is the generator producing gravity |
Procs | |
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 area list and play an alarm to let them know that gravity was enagaged/disenagaged. |
Var Details
breaker_on
Is the breaker switch turned on
charge_count
Charge percentage
charging_state
Charging state (Idle, Charging, Discharging)
on
Is the generator producing gravity
Proc Details
set_gravity
Set the state of gravity on the z-level.
- enable -
TRUE
to enable gravity,FALSE
to disable gravity
set_power
Set the charging state based on external power and the breaker state.
shake_everyone
Shake everyone on the area list and play an alarm to let them know that gravity was enagaged/disenagaged.