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
Medical - Add Painkillers #9720
Conversation
What painkiller are we trying to simulate here? class PainKillers {
painReduce = 0.1;
timeInSystem = 1200;
timeTillMaxEffect = 60;
maxDose = 25;
incompatibleMedication[] = {};
viscosityChange = 5;
}; we were actually considering reducing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
@Drofseh Our values just come from what we wanted in gameplay. Something that reduces pain for a short period of time, not a longer-term solution. |
Missing CfgPatches entries still |
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Syringe sound is played when painkillers are administered.
Either we remove the sound entirely or replace it with something else.
Recorded and edited myself so there's no chance of any rights issues, if y'all wanna use it. Five-second audio file in .ogg format of a bottle of pills opening, getting shaken a little to represent actually taking one, then closing again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
When merged this pull request will:
Implementation based on https://github.com/Theseus-Aegis/Mods/tree/master/addons/medical, with increased timeTillMaxEffect.
I've always wanted to see painkillers added as a magazine, though (I feel like that's interesting as API and example), but this is simpler and shouldn't break things for communities with their own implementations too much.
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.