bluespace
Bluespace RPED. Allows exchanging parts from a distance & through cameras
Procs | |
on_insered_component_reagent_pre_add | Signal handler for when the reagents datum of an inserted part has reagents added to it. |
---|---|
on_part_entered | Signal handler for when a part has been inserted into the BRPED. |
on_part_exited | Signal handler for a part is removed from the BRPED. |
Proc Details
on_insered_component_reagent_pre_add
Signal handler for when the reagents datum of an inserted part has reagents added to it.
Registers the PRE_ADD variant which allows the signal handler to stop reagents being added.
Simply returns COMPONENT_CANCEL_REAGENT_ADD. We never want to allow people to add reagents to beakers in BRPEDs as they can then be used for spammable remote bombing.
on_part_entered
Signal handler for when a part has been inserted into the BRPED.
If the inserted item is a rigged or corrupted cell, does some logging.
If it has a reagent holder, clears the reagents and registers signals to prevent new reagents being added and registers clean up signals on inserted item's removal from the BRPED.
on_part_exited
Signal handler for a part is removed from the BRPED.
Does signal registration cleanup on its reagents, if it has any.