JasRick asked me to take a look at the autodoc since a recent change to it caused it to break for unclear reasons. In order to achieve the goal of those changes, I refactored how it was handled. In the process, I also added a new feature, namely a category of chems that can be injected only once the wearer is in crit. For the purposes of the Valkyrie module, I made it use Inaprovaline and Russian Red at this threshold.
Why It's Good For The Game
The addition of Russian Red to the Valkyrie module was an attempted and approved change, but it didn't function as planned. I've not only fixed that issue, but improved the system.
Changelog
:cl:
add: Added new list of injectable chems for the standard armor autodoc. By default, when health falls below -50, this autodoc will inject Meralyne, Dermaline, Hyronalin, Dexalin Plus, and Inaprovaline.
refactor: Valkyrie module now has its own subtype of autodoc component.
fix: Valkyrie once again correctly injects chemicals when crossing damage thresholds.
balance: Valkyrie module now acts more like its namesake, injecting a dose of Russian Red and inaprovaline on crit instead of the advanced chems of its parent component. Cooldown on injections in each category is 5 minutes due to the strength and chemical complexity of Russian Red.
/:cl:
About The Pull Request
JasRick asked me to take a look at the autodoc since a recent change to it caused it to break for unclear reasons. In order to achieve the goal of those changes, I refactored how it was handled. In the process, I also added a new feature, namely a category of chems that can be injected only once the wearer is in crit. For the purposes of the Valkyrie module, I made it use Inaprovaline and Russian Red at this threshold.
Why It's Good For The Game
The addition of Russian Red to the Valkyrie module was an attempted and approved change, but it didn't function as planned. I've not only fixed that issue, but improved the system.
Changelog
:cl: add: Added new list of injectable chems for the standard armor autodoc. By default, when health falls below -50, this autodoc will inject Meralyne, Dermaline, Hyronalin, Dexalin Plus, and Inaprovaline. refactor: Valkyrie module now has its own subtype of autodoc component. fix: Valkyrie once again correctly injects chemicals when crossing damage thresholds. balance: Valkyrie module now acts more like its namesake, injecting a dose of Russian Red and inaprovaline on crit instead of the advanced chems of its parent component. Cooldown on injections in each category is 5 minutes due to the strength and chemical complexity of Russian Red. /:cl: