mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
Process digest triggers death hooks now - Fixes #5540
This commit is contained in:
@@ -1095,6 +1095,7 @@
|
||||
var/mob/living/carbon/human/h = l
|
||||
thismuch = thismuch * h.species.digestion_nutrition_modifier
|
||||
l.adjust_nutrition(thismuch)
|
||||
ourtarget.death() //CHOMPEdit - Call .death() on process digest to trigger death hooks like nif_soulcatcher or digest_check (setting vore respawn timer)
|
||||
b.handle_digestion_death(ourtarget, instant = TRUE) //CHOMPEdit
|
||||
if("Absorb")
|
||||
if(tgui_alert(ourtarget, "\The [usr] is attempting to instantly absorb you. Is this something you are okay with happening to you?","Instant Absorb", list("No", "Yes")) != "Yes")
|
||||
|
||||
Reference in New Issue
Block a user