mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-26 00:51:23 +00:00
* BSA beam delams the SM via a new signal Adds a BSA beam blocker element that blocks bluespace artillery beams. SM and singulo have it. * Shut up Travis * Destroy the singularity when it's BSA'd * No shooting nar-nar with BSA * Removed an incorrect and unhelpful comment
11 lines
356 B
Plaintext
11 lines
356 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/block_bsa)
|
|
return ..()
|
|
|
|
/datum/element/bsa_blocker/proc/block_bsa()
|
|
return COMSIG_ATOM_BLOCKS_BSA_BEAM
|