Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mitocholide runtime when applied to dismembered limb #28010

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MiraHell
Copy link
Contributor

What Does This PR Do

Fixes mitocholide runtime errors when applied to a dismembered limb by adding TRAIT_I_WANT_BRAINS_ORGAN to all zombie organs. As I understand it, the original idea was not to fully cure organs belonging to the zombie, but the dismembered limb has no owner, which caused a runtime.
Fixes #26996

Why It's Good For The Game

Runtimes are bad and mitocholide not curing a limb or organ when splashed on it is bad too.

Testing

I splashed mitocholide on a non-zombie limb, and it was cured. I splashed mitocholide on a zombie limb; the damage was 0, but it was still dead and bleeding.


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

🆑
fix: Fixed mitocholide not restoring organs when splashed on them
/:cl:

@ParadiseSS13-Bot ParadiseSS13-Bot added the -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting type assignment This PR is waiting for its type to be assigned internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/obj/item/organ/external/rejuvenate() throw an runtime, when you splash mitocholide on dismembered limb
2 participants