This mod prevents pawns from automatically removing clothing if it's unsafe.
I've now gotten heat/cold implemented as well as vacuum protection, next will be toxic protection checks.
If the pawn is supposed to remove an item of clothing via apparel policy (i.e. worn out):
* It checks if they are in a vacuum and if the item is a vacuum item, if so it cancels the job.
* It checks to see if after removing an item will the wearer be outside the comfortable range, if so it cancels the job.
The pawn will retry this after a few ticks and eventually change the item when safe.
This does not stop them from being forced to remove something, you can still make them drop protective gear manually.
Should be safe to add or remove at any point, it's only C# code.
Version History:
v0.2 - Added temperature protection checks
v0.1 - First release