mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[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:
co-authored by
DragonTrance
parent
b499739fe3
commit
b398858a2b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user