Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yautja surgery target zone change (#3911)
# About the pull request I had a bit of an issue with the medicomp. My head as yautja was damaged and I targeted my head. There is no indication at all you must target the chest. Now you can target any zone. I ran to a few issues/glitches on the way. 1. The yautja mask blocks surgery. 2. Parallel surgery would become possible. The mask had a flag (BLOCKSHARPOBJ) that is only used once: [Here exactly](https://github.com/cmss13-devs/cmss13/blob/823c9ce54631bab0dd65bec0e8299c842658f686/code/modules/mob/living/carbon/human/human_defense.dm#L79C1-L82) That proc is only called specificly once: [Over here](https://github.com/cmss13-devs/cmss13/blob/823c9ce54631bab0dd65bec0e8299c842658f686/code/modules/surgery/surgery_steps.dm#L66-L90) To litterly block surgery. There is nothing else the flag does. By not caring about what is targeted you could start multiple surgeries in parallel. And I edited the initial surgery check to check for this. It also tells you where it is ongoing should you have changed targets or not know for some reason. I have tested my changes. With all targetable regions. You cannot do it on the limb you are holding the items in and thats fine. # Explain why it's good for the game Mostly because it gives no feedback on what you do wrong. And it's a trivial thing to overlook. It also makes sense to target the head if you have head damage on instinct. # Testing Photographs and Procedure </details> # Changelog :cl: code: Medicomp surgery tools no longer care about what zone you target. /:cl:
- Loading branch information