/obj/item/clothing/head/mob_holder -> /obj/item/mob_holder (#91893)

## About The Pull Request
title
## Why It's Good For The Game
it inherits a lot of behavior from clothing which leads to lots of bugs
when it isn't actually clothes, for example: shredded overlays. this
should be better.
probably fixes a bunch of bugs
## Changelog
🆑
code: mob holders are no longer subtypes of clothes, report any issues
/🆑

---------

Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
grungussuss
2025-07-01 14:20:48 +01:00
committed by GitHub
co-authored by Jacquerel
parent 7b8a7e9be6
commit 613581897e
15 changed files with 47 additions and 43 deletions
@@ -142,8 +142,8 @@
if(!gibbed)
var/make_a_corpse = TRUE
var/place_to_make_corpse = loc
if(istype(loc, /obj/item/clothing/head/mob_holder))//If our mouse is dying in place holder we want to put the dead mouse where the place holder was
var/obj/item/clothing/head/mob_holder/found_holder = loc
if(istype(loc, /obj/item/mob_holder))//If our mouse is dying in place holder we want to put the dead mouse where the place holder was
var/obj/item/mob_holder/found_holder = loc
place_to_make_corpse = found_holder.loc
if(istype(found_holder.loc, /obj/machinery/microwave))//Microwaves gib things that die when cooked, so we don't need to make a dead body too
make_a_corpse = FALSE