mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-14 02:43:16 +00:00
* Biomass overlay thresholds use sine function (#71859) In recent PRs, biogen cap got raised to 5000 units, which is far more than people usually have during most shifts. This makes the biomass overlay icons pointless, because it will always have the same icon untill you go above 714 biomass, which is higher than the previous cap and more than anyone needs for normal tasks. I made the overlay use sine interpolation to make the icon change faster at lower levels, but slower when the visual cap is near. Linear thresholds (Old): Min biomass at 1, 714, 1428, 2142, 2856, 3570, 4285 Sine thresholds (new): Min biomass at 1, 440, 930, 1420, 1940, 2560, 3300 * Biomass overlay thresholds use sine function Co-authored-by: Andrew <mt.forspam@gmail.com>