mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
/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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user