mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-21 07:03:05 +00:00
* ONLY SKYRAT CHANGES * ACTUALLY SKYRAT CHANGES * yolo, revert later * Update alternate_byond_versions.txt Co-authored-by: AnturK <AnturK@users.noreply.github.com>
13 lines
377 B
Plaintext
13 lines
377 B
Plaintext
//blocks bluespace artillery beams that try to fly through
|
|
//look not all elements need to be fancy
|
|
/datum/element/bsa_blocker/Attach(datum/target)
|
|
if(!isatom(target))
|
|
return ELEMENT_INCOMPATIBLE
|
|
RegisterSignal(target, COMSIG_ATOM_BSA_BEAM, PROC_REF(block_bsa))
|
|
return ..()
|
|
|
|
/datum/element/bsa_blocker/proc/block_bsa()
|
|
SIGNAL_HANDLER
|
|
|
|
return COMSIG_ATOM_BLOCKS_BSA_BEAM
|