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

Prevent food/drink randomization from having a resource value of 0 #1078

Closed
wants to merge 0 commits into from

Conversation

acidphantasm
Copy link
Contributor

@acidphantasm acidphantasm commented Jan 14, 2025

If a mod customizing the randomisation percent below 50% then it's possible that single use food/drink will roll a 0 resource value which renders the items unusable due to being depleted.

Med items can still roll 0 if they are intended to have 0 resource value (bandages for example)
Food/Drink items that have a resource value of 1 will still roll 1.

Edgecase is if a mod changes the randomization resource percent to 0 for food/drink.
If this happens, then single use food/drink will potentially still rarely roll 0.

@acidphantasm acidphantasm reopened this Jan 14, 2025
@acidphantasm acidphantasm changed the title Prevent med/food/drink randomization from having a resource value of 0 Prevent food/drink randomization from having a resource value of 0 Jan 14, 2025
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