Yautja surgery target zone change #3911
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The mask had a flag (BLOCKSHARPOBJ) that is only used once:
Here exactly
That proc is only called specificly once:
Over here
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
Changelog
🆑
code: Medicomp surgery tools no longer care about what zone you target.
/:cl: