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

Fix hypernoblium formation gas reaction rate sanity clamping not accounting for the reduction factor. Also other sanity fixes. #76177

Conversation

Pickle-Coding
Copy link
Contributor

@Pickle-Coding Pickle-Coding commented Jun 20, 2023

About The Pull Request

Fix hypernoblium formation not accounting for the reduction factor when sanity clamping the reaction rate.

Fix N2O formation not using updated consumption rates for sanity checks.

Fix BZ formation not accounting for nitrous oxide decomposition factor for reaction rate sanity clamping.

Why It's Good For The Game

So the reactions are more natural.

Changelog

🆑
fix: Fix hypernoblium formation gas reaction rate sanity clamping not accounting for the reduction factor.
fix: Fix N2O formation gas reaction rate clamping clamping for incorrect consumption rates.
fix: Fix BZ formation reaction rate sanity clamping not accounting for N2O decomposition factor.
/:cl:

Fixes hypernoblium formation reaction rate mole count sanity min check. Does this by calculating the bz reduction factor before reaction rate (fuck, I am on mobile and I can not see what I am typing, also I kinda forgot what I said AAAAAAAAAAAA) calculating the reaction rate. It then applies the product of the tritium consumption rate and reduction factor thinf uhh it sucks typing without seeing what I'm writing AAAAAAAA thrhfhfjjgjjhdhshgfsjsbdhhdbzjabdjahsjcnakdbd
@tgstation-server tgstation-server added the Fix Rewrites a bug so it appears in different circumstances label Jun 20, 2023
@github-actions
Copy link
Contributor

You currently have a negative Fix/Feature pull request delta of -4. Maintainers may close this PR at will. Fixing issues or improving the codebase will improve this score.

@github-actions github-actions bot requested a review from Ghilker June 20, 2023 02:06
Fixes N2O formation sanity checks by making them correctly scale with their consumption rate. This was probably my fault like a year ago when I changed shit.
@Pickle-Coding Pickle-Coding changed the title Fix hypernoblium formation gas reaction rate sanity clamping not accounting for the reduction factor. Fix hypernoblium formation gas reaction rate sanity clamping not accounting for the reduction factor. Also other sanity fixes. Jun 20, 2023
@github-actions github-actions bot requested a review from LemonInTheDark June 20, 2023 02:40
Fixes bz formation reaction rate sanity clamping to account for nitrous oxide decomposed factor.
Apply bitrous oxide decomposed factor to the stupid early return sanity if check.
@EliteCreature
Copy link
Contributor

When you say 'Sanity Clamping', what does that mean? [Just my first time hearing this phrase]

@Pickle-Coding
Copy link
Contributor Author

Clamp reaction rate to not consume more moles than there is, so no negative moles or creating gas from nothing bullshit.

@github-actions
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale Even the uncaring universe rejects you, why even go on label Jun 28, 2023
@dragomagol dragomagol merged commit 413aa82 into tgstation:master Jul 1, 2023
github-actions bot added a commit that referenced this pull request Jul 1, 2023
comfyorange added a commit that referenced this pull request Jul 1, 2023
Jolly-66 pushed a commit to TaleStation/TaleStation that referenced this pull request Jul 1, 2023
…nity clamping not accounting for the reduction factor. Also other sanity fixes. (#6562)

Original PR: tgstation/tgstation#76177
-----

## About The Pull Request
Fix hypernoblium formation not accounting for the reduction factor when
sanity clamping the reaction rate.

Fix N2O formation not using updated consumption rates for sanity checks.

Fix BZ formation not accounting for nitrous oxide decomposition factor
for reaction rate sanity clamping.
## Why It's Good For The Game
So the reactions are more natural.
## Changelog
:cl:
fix: Fix hypernoblium formation gas reaction rate sanity clamping not
accounting for the reduction factor.
fix: Fix N2O formation gas reaction rate clamping clamping for incorrect
consumption rates.
fix: Fix BZ formation reaction rate sanity clamping not accounting for
N2O decomposition factor.
/:cl:

---------

Co-authored-by: Pickle-Coding <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Rewrites a bug so it appears in different circumstances Stale Even the uncaring universe rejects you, why even go on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants