[1856] must sell in blocks when forced to sell #11312
Open
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.
Fixes #11311
Before clicking "Create"
master
pins
orarchive_alpha_games
label if this change will break existing gamesdocker compose exec rack rubocop -a
docker compose exec rack rake
Implementation Notes
Explanation of Change
in 1856 the rules state that forced sales must be done in blocks. While we could write more complicated code that only enforces this during forced sales, there's really zero reason anyone would not sell in blocks during an SR, since share price drops by share sold, not by block sold.
I've set MUST_SELL_IN_BLOCKS to true for the game, which would also impact 1836jr56. As a result, I had to remove one fixture game for 36jr56 which failed Rake.
Let me know if you disagree with this approach. Some games may need pinning.
Screenshots
Any Assumptions / Hacks