Skip to content

Reworks addiction probability#1453

Open
NataKilar wants to merge 3 commits intoPersistent-SS13:devfrom
NataKilar:addiction-prob-rework
Open

Reworks addiction probability#1453
NataKilar wants to merge 3 commits intoPersistent-SS13:devfrom
NataKilar:addiction-prob-rework

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