Fixes living food / creature hybrids not grabbing ghosts or storing brains. (#93405)

## About The Pull Request

This PR fixes a long standing issue where food creatures created with
player brains did not work correctly, due to their code checking for the
brain within their contents, where it was absent.

It also stores the heart used in contents for consistency. 

## Why It's Good For The Game

It lets people enjoy playing as these wonderous creatures, and lets
these strange beasts be revived when destroyed with proper veterinary or
culinary intervention.

## Changelog

🆑
fix: food / animal hybrids like the butterbear and cak now once again
correctly grab ghosts and store brains.
/🆑
This commit is contained in:
Krysonism
2025-10-12 02:29:26 +02:00
committed by GitHub
parent 619fa428e4
commit cbaf2d663f
3 changed files with 12 additions and 0 deletions
@@ -165,6 +165,10 @@
/datum/reagent/blood = 30,
/datum/reagent/teslium = 1 //To shock the whole thing into life
)
parts = list(
/obj/item/organ/brain,
/obj/item/organ/heart
)
result = /mob/living/basic/pet/dog/breaddog
category = CAT_BREAD
@@ -234,6 +234,10 @@
/datum/reagent/consumable/sprinkles = 5,
/datum/reagent/teslium = 1 //To shock the whole thing into life
)
parts = list(
/obj/item/organ/brain,
/obj/item/organ/heart
)
result = /mob/living/basic/pet/cat/cak
category = CAT_CAKE //Cat! Haha, get it? CAT? GET IT? We get it - Love Felines
@@ -170,6 +170,10 @@
/datum/reagent/blood = 50,
/datum/reagent/teslium = 1 //To shock the whole thing into life
)
parts = list(
/obj/item/organ/brain,
/obj/item/organ/heart
)
result = /mob/living/basic/bear/butter
category = CAT_MISCFOOD