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

Inconsistent rounding in displays #34

Open
d0sboots opened this issue Oct 28, 2023 · 2 comments
Open

Inconsistent rounding in displays #34

d0sboots opened this issue Oct 28, 2023 · 2 comments

Comments

@d0sboots
Copy link

image

As discussed in another issue, the actual level of this upgrade is 9. Thus, the cost of this upgrade is 12500*1.35^9 ~= 186171.8.
The gold coin gain being upgraded to is level 10. Thus, the value is 1.12^10 ~= 3.105848.

The cost is being rounded, while the stats are being truncated. (Rounding would be preferable consistently.) AFAICT, this affects a number of displays (certainly all the upgrade displays), the next-level upgrade was just the easiest to demonstrate it with.

@edbrannin
Copy link

(Rounding would be preferable consistently.)

Counterpoint: it's mildly annoying to see I have "3" tin ore, but actually it's 2.6 and it'll be a few minutes before it's enough for my 3-tin crafting attempt.

@d0sboots
Copy link
Author

That's a related-but-different issue, which is not having enough displayed digits for the given task.

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

No branches or pull requests

2 participants