[SA] Imrove module effect rounding when affected by quality

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 851
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

[SA] Imrove module effect rounding when affected by quality

Post by Hares »

TL;DR
Module effect's rounding should happen before applying quality.
What?
The rounding precision should be done for all prototypes before applying quality, and always apply full quality bonus for module effect. The prototypes API & display values may be kept with the old level precision (i.e., rounding when displayed).
Why?
Currently, rounding happens both before and after applying quality. Since each level of quality adds +30% bonus, the later digits are usually lost even if even number of modules would round it to a valid integer percent.

Example: Tier 3 Quality module has +2.5% quality for common quality. With 4 of these, you get +10% Quality. Legendary quality increases this by x2.5, to a nice rounded number of +25% quality per machine. However, due to strict rounding before multiplying by the number of modules, we end up with upggly +24.8%.
04-28-2025, 21-55-40.png
04-28-2025, 21-55-40.png (157.97 KiB) Viewed 117 times
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
Post Reply

Return to “Ideas and Suggestions”