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

fixes mantis blade implant surgery #28073

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Toastical
Copy link
Contributor

@Toastical Toastical commented Jan 23, 2025

What Does This PR Do

Fixes #28071
Removes an internal organ check that prevented Mantis Blades from being both implanted. It checked the target mob's internal organs and since the mantis blades share a path (unless the mantis_blade/l variant is created by an admin), it prevented the 2nd one from being installed, despite being different from the right one.

All organs and implants appear to have assigned slots already, so trying to implant a 2nd brain in the head will get caught by an earlier check. This PR will make it possible for limb agnostic implants (think 2 tool-set implants, one in the left and one in the right arm) to be implanted in the same person, though I don't see much benefit in doing that.

Positronic brains don't have a slot, but they have a dedicated check for an existing brain in robotics.dm

Why It's Good For The Game

Mantis blade implant surgery works now. Allows other implants with similar mechanics to the mantis blades to be implantable too.

Testing

Spawned 2 right arm mantis blades, screwdrivered one. Tried implanting them in the same arm, in the wrong arm and it failed. Successfully implanted them in their respective arms.

Checked how many organs I can fit in an IPC. The answer is the same as before.


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: mantis blade implant surgery works now
/:cl:

@ParadiseSS13-Bot ParadiseSS13-Bot added the -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally label Jan 23, 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.

can't install second mantis blade with surgical way
2 participants