[MoM] Vitakinesis automatically brings up the bleeding/infection menu #70120
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.
Summary
Mods "[MoM] Vitakinesis automatically brings up the bleeding/infection menu"
Purpose of change
It's always been a little immersion-breaking that Staunch Wound and Allay Infection summoned an item that you then had to go into your inventory to use, but there was nothing to be done. But thanks to the power of u_run_inv_eocs, that's not true anymore.
Describe the solution
Using u_run_inv_eocs, automatically activate the summoned item immediately after the vitakinetic uses their powers, so from the player's perspective, they channel Staunch Wound and then the stop bleeding menu immediately pops up, and similarly for Allay Infection.
Describe alternatives you've considered
Testing
Went in game, tried it with different levels of each power, everything worked.
Additional context
I'm not doing this for the druid spell I wrote that does the same thing because that spell is supposed to create a magical bandage that you then have to apply.