machinery

Vars | |
allow_pass_flags | Whether bullets can bypass the object even though it's dense |
---|---|
is_operational | TODO WE REALLY NEED TO START USING THE HELPERS BELOW FOR THIS VAR BUT THIS PR IS ALREADY TOO BIG SO DO IT FOR ME PLSTHANKS A combination of factors such as having power, not being broken and so on. Boolean. |
subsystem_type | What subsystem this machine will use, which is generally SSmachines or SSfastprocess. By default all machinery use SSmachines. This fires a machine's process() roughly every 2 seconds. |
Procs | |
on_set_is_operational | Called when the value of is_operational changes, so we can react to it. |
on_set_machine_stat | Called when the value of machine_stat changes, so we can react to it. |
set_disabled | Currently used for computers only; it can be repaired with a welder after a 5 second wind up |
set_is_operational | Called when we want to change the value of the is_operational variable. Boolean. |
set_machine_stat | TODO WE REALLY NEED TO START USING THE HELPERS BELOW BUT THIS PR IS ALREADY TOO BIG SO DO IT FOR ME PLSTHANKS Called when we want to change the value of the machine_stat variable. Holds bitflags. |
Var Details
allow_pass_flags

Whether bullets can bypass the object even though it's dense
is_operational

TODO WE REALLY NEED TO START USING THE HELPERS BELOW FOR THIS VAR BUT THIS PR IS ALREADY TOO BIG SO DO IT FOR ME PLSTHANKS A combination of factors such as having power, not being broken and so on. Boolean.
subsystem_type

What subsystem this machine will use, which is generally SSmachines or SSfastprocess. By default all machinery use SSmachines. This fires a machine's process() roughly every 2 seconds.
Proc Details
on_set_is_operational
Called when the value of is_operational
changes, so we can react to it.
on_set_machine_stat
Called when the value of machine_stat
changes, so we can react to it.
set_disabled
Currently used for computers only; it can be repaired with a welder after a 5 second wind up
set_is_operational
Called when we want to change the value of the is_operational
variable. Boolean.
set_machine_stat
TODO WE REALLY NEED TO START USING THE HELPERS BELOW BUT THIS PR IS ALREADY TOO BIG SO DO IT FOR ME PLSTHANKS Called when we want to change the value of the machine_stat variable. Holds bitflags.