Skip to content
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

Reworks addiction probability #1453

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

NataKilar
Copy link
Contributor

Remember last time I said I didn't know how statistics worked? Turns out I really didn't know how statistics works.

This only real "fix" here is that the values in Root needed to be swapped, but the resulting calculation is unreasonable to perform every tick. Now, the values fed into the addiction probability calculation are initialized into a global list on start up, since the variables for each reagent are constant regardless. What this all means gameplay wise is that you're not going to be addicted to alcohol after a single sip unless you get very unlucky, and even then that addiction won't actually cause any visible problems unless you continue to drink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant