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

Adding option to sort buildings by price until next achievement #848

Merged
merged 2 commits into from
Jun 8, 2021
Merged

Adding option to sort buildings by price until next achievement #848

merged 2 commits into from
Jun 8, 2021

Conversation

tsr488
Copy link
Contributor

@tsr488 tsr488 commented Jun 6, 2021

Closes #833.

Adds an option to sort buildings by price until next achievement. Buildings that aren't within 100 of an achievement are all placed at the end.

I moved some of the sorting logic around, apologies for the hard-to-read diff.

Changes can be previewed by loading the mod from my fork of the repo:
https://tsr488.github.io/CookieMonster/dist/CookieMonsterDev.js

@tsr488 tsr488 requested a review from DanielNoord June 7, 2021 23:40
@DanielNoord DanielNoord merged commit 9252d10 into CookieMonsterTeam:dev Jun 8, 2021
@tsr488 tsr488 deleted the achievementsort branch June 17, 2021 01:18
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.

Allow sorting by cost till next achievement / include info in statistics page
2 participants