Merge pull request #4988 from CHOMPStation2/upstream-merge-13770

[MIRROR] Fixes dogborg inbuilt belly deaths not counting as vore deaths
This commit is contained in:
Razgriz
2022-09-22 20:46:01 -07:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
@@ -25,7 +25,7 @@
//Technically allows metagaming by allowing buddies to turn on digestion for like 2 seconds
// to finish off critically wounded friends to avoid resleeving sickness, but like
// *kill those people* ok?
if(B.digest_mode == DM_DIGEST)
if(B.digest_mode == DM_DIGEST || B.digest_mode == DM_SELECT)
H.mind?.vore_death = TRUE
//Hooks need to return true otherwise they're considered having failed
@@ -598,9 +598,12 @@
volume = T.reagents.total_volume
if(water)
water.add_charge(volume)
if(T.ckey)
GLOB.prey_digested_roundstat++
if(patient == T)
patient_laststat = null
patient = null
T.mind?.vore_death = TRUE
qdel(T)
//Pick a random item to deal with (if there are any)