Adds a suicide act to the wormhome projector. (#24532)

* Update special_eguns.dm

* Update code/modules/projectiles/guns/energy/special_eguns.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* more feedback. plus a explanation on what SHAME does

* oops

* Update code/modules/projectiles/guns/energy/special_eguns.dm

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
1080pCat
2024-03-23 02:39:59 +10:00
committed by GitHub
parent 189a4f4ad5
commit 8270f92d7e
2 changed files with 10 additions and 0 deletions
@@ -256,6 +256,15 @@
blue.target = get_turf(orange)
orange.target = get_turf(blue)
/obj/item/gun/energy/wormhole_projector/suicide_act(mob/user)
user.visible_message(pick("<span class='suicide'>[user] looking directly into the operational end of [src]! It looks like [user.p_theyre()] trying to commit suicide!</span>",
"<span class='suicide'>[user] is touching the operatonal end of [src]! It looks like [user.p_theyre()] trying to commit suicide!</span>"))
if(!do_after(user, 0.5 SECONDS, target = user)) // touch/looking doesn't take that long, but still probably good for a delay to exist for shoving and whatnot
return SHAME
user.dust()
playsound(loc, 'sound/effects/supermatter.ogg', 20, TRUE)
return OBLITERATION
/* 3d printer 'pseudo guns' for borgs */
/obj/item/gun/energy/printer
name = "cyborg lmg"