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

Add failure chance calculation, adjust catastrophic failure odds #27

Commits on Oct 6, 2022

  1. Display recipe chance of failure

    Split the crafting roll function into just providing the parameters for
    the normal curve it will be rolling on, and a function doing the actual
    roll.
    Also, fix some DBZ bugs, and add debug outputs while we're there.
    
    Then, add a function to calculate the chance we'll pass a normal roll
    with given center, stddev, and difficulty, and use that to provide the
    recipe success chance.
    Add this to the crafting GUI.
    anothersimulacrum committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    00e99f0 View commit details
    Browse the repository at this point in the history
  2. Adjust crafting catastrophic failure chances

    Fudge the numbers to make catastrophic (item-destroying) failures much
    less likely than setback failures.
    Also display the chance of a catastrophic failure in the UI.
    anothersimulacrum committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    1f2fa92 View commit details
    Browse the repository at this point in the history