machinery
Vars | |
active_power_consumption | How much power does this machine consume when it is in use |
---|---|
being_repaired | This is if the machinery is being repaired |
idle_power_consumption | How much power does this machine consume when it is idling |
machine_powernet | The powernet this machine is connected to |
power_channel | The power channel this machine uses, idle/passive power consumption will pull from this channel and machine won't work if power channel has no power |
power_state | How is this machine currently passively consuming power? |
requires_power | Does this machine require power? |
siemens_strength | how badly will it shock you? |
Procs | |
can_use_shortcut | Makes sure the user is allowed to interact with the machine when they use a shortcut, like Control or Alt-clicking. |
change_power_mode | Helper proc to change the machines power usage mode, automatically adjusts static power usage to maintain perfect parity |
has_power | POWER RELATED PROCS |
try_attack_hand | Preprocess machinery interaction. |
Var Details
active_power_consumption
How much power does this machine consume when it is in use
being_repaired
This is if the machinery is being repaired
idle_power_consumption
How much power does this machine consume when it is idling
machine_powernet
The powernet this machine is connected to
power_channel
The power channel this machine uses, idle/passive power consumption will pull from this channel and machine won't work if power channel has no power
power_state
How is this machine currently passively consuming power?
requires_power
Does this machine require power?
siemens_strength
how badly will it shock you?
Proc Details
can_use_shortcut
Makes sure the user is allowed to interact with the machine when they use a shortcut, like Control or Alt-clicking.
Arguments:
- user - the mob who is trying to interact with the machine.
change_power_mode
Helper proc to change the machines power usage mode, automatically adjusts static power usage to maintain perfect parity
has_power
POWER RELATED PROCS
try_attack_hand
Preprocess machinery interaction.
If overriding and extending interaction limitations, better call this with ..() unless you really know what you are doing.
Returns TRUE when interaction is done due to different limitations and nothing should be done next. Returns FALSE when interaction can be continued. Arguments:
- user - the mob interacting with this machinery