-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update sleepiness_mod
drugs to use effects.json
#78685
Comments
What will cause this effect? Drug-Effect or Drug-EOC-effect or Drug-vitamin-effect? Or other options? |
My intention was to use the same mechanism that painkillers are currently using. I cited the dermatik effect because it actually has the sleepiness mod values in its definition, but painkillers would be the drug analogy. |
We are wanting to migrate away from drug effects to drug vitamins. So that would be the system of preference to use. |
Can you point me to some examples of this that I can use for reference? You don't need to fish out the actual code for it, I can look it up myself. I would just appreciate knowing what is considered a 'good example' for the drugs moving forward. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Is your feature request related to a problem? Please describe.
I believe it would be better if item id's
pills_sleep
,poppy_sleep
, andchamomile_tea
utilizedeffects.json
for theirsleepiness_mod
modifiers.Solution you would like.
Implement a new effect in
effects.json
such ashypnotics
(see here for its medical definition) that these items use instead.This would allow those drugs to better represent their real world counterparts. It would let CDDA model how they affect your mental/physical capabilities and how there is a real risk of death from overuse of them (ie. popping 100 at a time).
I am recommending a staggered reduction in:
Additionally, I'd put in a risk of death after a certain amount of use (to be determined).
Describe alternatives you have considered.
Could use the
iuse.cpp
methods for this but that hard codes all this and this feels like it should definitely be a json item. Alternatively, could just ignore it completely.Additional context
I plan on implementing this myself (if approved ofc), just opening this up to discussion as to what values would make sense and be reasonable.
The text was updated successfully, but these errors were encountered: