[MIRROR] CRAB-17 will round down the credit amount it steals #673
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25052
Original PR: tgstation/tgstation#79761
About The Pull Request
When stealing credits, the CRAB-17 takes a between 5 and 15 percent of your current credit balance.
Due to how numbers work, this almost always ends up with a fractional amount being taken (ie 10% of 1015 is 101.5)
There is, as far as I'm aware, no way to get rid of this fractional amount, as you can only pull whole credits from your ID.
Why It's Good For The Game
CRAB-17 will now take between 5 and 15 percent of your current credits, rounded down.
No more 1/3 of a credit to stare at in abject horror.
Changelog
🆑 Shadow-Quill
fix: The CRAB-17 will now only take whole credits, as fractional credits were found to be worth less.
🆑