Shooting a BSA beam at the SM will make it delaminate (#47748)

* 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
This commit is contained in:
MrPerson
2019-11-17 19:22:51 +01:00
committed by AnturK
parent 5b6eb488e1
commit cccdcc6d04
7 changed files with 58 additions and 10 deletions
+1
View File
@@ -36,6 +36,7 @@
var/mutable_appearance/alert_overlay = mutable_appearance('icons/effects/cult_effects.dmi', "ghostalertsie")
notify_ghosts("Nar'Sie has risen in \the [A.name]. Reach out to the Geometer to be given a new shell for your soul.", source = src, alert_overlay = alert_overlay, action=NOTIFY_ATTACK)
INVOKE_ASYNC(src, .proc/narsie_spawn_animation)
UnregisterSignal(src, COMSIG_ATOM_BSA_BEAM) //set up in /singularity/Initialize()
/obj/singularity/narsie/large/cult // For the new cult ending, guaranteed to end the round within 3 minutes
var/list/souls_needed = list()
@@ -43,7 +43,8 @@
if(singubeacon.active)
target = singubeacon
break
return
AddElement(/datum/element/bsa_blocker)
RegisterSignal(src, COMSIG_ATOM_BSA_BEAM, .proc/bluespace_reaction)
/obj/singularity/Destroy()
STOP_PROCESSING(SSobj, src)
@@ -447,6 +448,10 @@
qdel(src)
return(gain)
/obj/singularity/proc/bluespace_reaction()
investigate_log("has been shot by bluespace artillery and destroyed.", INVESTIGATE_SINGULO)
qdel(src)
/obj/singularity/deadchat_controlled
move_self = FALSE