Space Station 13 - Modules - TypesVar Details - Proc Details

main

Vars

breaker_onIs the breaker switch turned on
charge_countCharge percentage
charging_stateCharging state (Idle, Charging, Discharging)
onIs the generator producing gravity
partsGenerator parts on adjacent tiles

Procs

set_gravitySet the state of gravity on the z-level.
set_powerSet the charging state based on external power and the breaker state.
shake_everyoneShake everyone on the z level 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

parts

Generator parts on adjacent tiles

Proc Details

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.