Jump to content

"Check exposed" radiation diagnostic has inverted condition

  • Branch: Live Branch Version: Linux Pending

The "Check exposed" radiation diagnostic shows a warning when a duplicant is exposed to less than a minor exposure per cycle, instead of greater than. I.e. the warning will be shown when a duplicant has absored a dose but is no longer exposed and will not be shown if still exposed. The code in RadiationDiagnostic.CheckExpose() should use COMPARE_GTE_MINOR and not COMPARE_LT_MINOR.



Steps to Reproduce

- Make a duplicant absorb a dose, e.g. 20 rads on the highest radiation difficulty setting.

- Move the duplicant where not exposed => the radiation diagnostic shows a warning.

- Move the duplicant where exposed => the radiation diagnostic no longer shows a warning.

You can see this with Nails in the attached save, a warning is shown when not exposed, but if you want for Nails to start building a solar panel on the surface, the warning will go away.



User Feedback

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...