[MIRROR] Various suicide_act() things [MDB IGNORE] (#10552)

* Various suicide_act() things (#63808)

* Various suicide_act() things

Co-authored-by: DragonTrance <dylan661993@gmail.com>
This commit is contained in:
SkyratBot
2022-01-09 22:04:10 -05:00
committed by GitHub
co-authored by DragonTrance
parent b499739fe3
commit b398858a2b
15 changed files with 164 additions and 9 deletions
+4 -2
View File
@@ -37,8 +37,10 @@
return
set_suicide(TRUE) //need to be called before calling suicide_act as fuck knows what suicide_act will do with your suicider
var/obj/item/held_item = get_active_held_item()
if(held_item)
var/damagetype = held_item.suicide_act(src)
var/damagetype = SEND_SIGNAL(src, COMSIG_HUMAN_SUICIDE_ACT)
if(held_item || damagetype)
if(!damagetype && held_item)
damagetype = held_item.suicide_act(src)
if(damagetype)
if(damagetype & SHAME)
adjustStaminaLoss(200)