Adds immersion and realism to internals tank suicides (#47714)

* Adds immersion and realism to air tank suicides

* makes the suicider unrevivable

* new inflate_gib proc, adds it mint toxin

* want
This commit is contained in:
SteelSlayer
2019-11-13 16:47:52 -08:00
committed by Rob Bailey
parent 50845c86ac
commit 75d28e7255
3 changed files with 20 additions and 17 deletions
+6 -14
View File
@@ -125,21 +125,13 @@
var/mob/living/carbon/human/H = user
user.visible_message("<span class='suicide'>[user] is putting [src]'s valve to [user.p_their()] lips! It looks like [user.p_theyre()] trying to commit suicide!</span>")
playsound(loc, 'sound/effects/spray.ogg', 10, TRUE, -3)
if (!QDELETED(H) && air_contents && air_contents.return_pressure() >= 1000)
for(var/obj/item/W in H)
H.dropItemToGround(W)
if(prob(50))
step(W, pick(GLOB.alldirs))
if(!QDELETED(H) && air_contents && air_contents.return_pressure() >= 1000)
ADD_TRAIT(H, TRAIT_DISFIGURED, TRAIT_GENERIC)
H.bleed_rate = 5
H.gib_animation()
sleep(3)
H.adjustBruteLoss(1000) //to make the body super-bloody
H.spawn_gibs()
H.spill_organs()
H.spread_bodyparts()
return (BRUTELOSS)
H.inflate_gib()
return MANUAL_SUICIDE
else
to_chat(user, "<span class='warning'>There isn't enough pressure in [src] to commit suicide with...</span>")
return SHAME
/obj/item/tank/attackby(obj/item/W, mob/user, params)
add_fingerprint(user)