Makes in-shoe deaths count as vore death (#8747)

This commit is contained in:
Guti
2024-08-11 18:57:26 -04:00
committed by GitHub
parent 3b12b69d6d
commit b62ed65eab
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
if(stat == DEAD)
return 0
SEND_SIGNAL(src, COMSIG_MOB_DEATH, gibbed)
if(src.loc && istype(loc,/obj/belly) || istype(loc,/obj/item/device/dogborg/sleeper)) deathmessage = "no message" //VOREStation Add - Prevents death messages from inside mobs
if(src.loc && istype(loc,/obj/belly) || istype(loc,/obj/item/device/dogborg/sleeper) || istype(loc, /obj/item/clothing/shoes)) deathmessage = "no message" //VOREStation Add - Prevents death messages from inside mobs - CHOMPEdit: Added in-shoe as well
facing_dir = null
if(!gibbed && deathmessage != DEATHGASP_NO_MESSAGE)
@@ -84,6 +84,11 @@
callHook("death", list(src, gibbed))
// CHOMPAdd - Shoe steppy. I was going to make a hook but- It isn't much.
if(istype(loc, /obj/item/clothing/shoes))
mind?.vore_death = TRUE
// CHOMPEdit End
if(mind)
// SSgame_master.adjust_danger(gibbed ? 40 : 20) // VOREStation Edit - We don't use SSgame_master yet.
for(var/mob/observer/dead/O in mob_list)