The code still needs a lot of cleanup (and there’s currently some oddness with the tooltips), but this should serve as a prototype for the proposed changes to pressure and temperature tolerances.
master ← environmental-tolerances-rebalance
opened 02:36PM - 18 Sep 26 UTC
**Brief Description of What This PR Does**
(Heavily WIP)
Changes the bonus… es from being well-adapted in temperature/pressure to scale with tolerance width.
**Related Issues**
https://forum.revolutionarygamesstudio.com/t/environmental-tolerance-polish-microbe-and-multicellular-polish/1280
**Progress Checklist**
Note: before starting this checklist the PR should be marked as non-draft.
- [ ] PR author has checked that this PR works as intended and doesn't
break existing features:
https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
(this is important as to not waste the time of Thrive team
members reviewing this PR). This includes **gameplay** testing by the PR author.
- [ ] Initial code review passed (this and further items should not be checked by the PR author)
- [ ] Functionality is confirmed working by another person (see above checklist link)
- [ ] Final code review is passed and code conforms to the
[styleguide](https://github.com/Revolutionary-Games/Thrive/blob/master/doc/style_guide.md).
Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
[styleguide](https://github.com/Revolutionary-Games/Thrive/blob/master/doc/style_guide.md#git).
## Summary by CodeRabbit
## Balancing
- Rebalanced temperature tolerance speed bonuses and pressure tolerance health bonuses.
- Environmental tolerance effects now scale progressively with adaptation quality, providing smoother bonuses as microbes approach ideal conditions.
- Perfect temperature and pressure adaptation now grants the maximum adaptation score.
- Temperature and pressure tolerance ranges have been adjusted for more accurate environmental adaptation.
- Temperature calculations now correctly respect settings that exclude positive bonuses.
## Editor
- Updated tolerance sliders to reflect the revised temperature and pressure ranges.
1 Like