Contamination features and washing machine rework#3577
Merged
Conversation
MistakeNot4892
approved these changes
Jan 10, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
A variety of features useful for dealing with contamination.
Washing machines
Reworks the washing machine, improving code cleanliness and removing the requirement to use a specific detergent. Washing machines can now take in any chemicals as detergent, and applies them by touch to its contained items.
Adds a autoclave subtype to the washing machine (no unique sprites yet) which can sterilize and decontaminate larger items.
Washing machines now apply the strongest scent of its detergent to clothing items it cleans. Removed extraneous clothing "smell" variables.
Chemicals
Adds a new tier of chem cleanliness
DIRTINESS_DECONTAMINATEwhich can decontaminate items. Adds akaline detergent which can remove contamination, but will release ammonia vapors if used in open air. Designed to be used in the washing machine, or in a spray bottle if players are feeling adventurous.Contaminants
Contaminants now check head coverings for
head and facecovering rather thanhead and eyecovering, which is more intuitive. Ideally this would include the covering from the mask, but since there's no easy way to tell if a hat is covering the entire head or just the top, this will have to do for now unless more flags are added.Eye covering is still checked for irritation elsewhere in contaminant code
Misc
Adds a missing covering flag to the chemical suit, and gives ironing irons and boards recipes.
Why and what will this PR improve
Makes dealing with contamination for accessible, and not rely on unobtainable items. Allows the washing machine and autoclave to be used for sterilization and decontamination of clothes and tools respectively. The washing machine could also potentially be used for more exotic chemical applications.
Authorship
Myself
Changelog
🆑
add: Adds akaline detergent, which can be used to clean contaminants. Use in well ventilated areas!
add: Adds an autoclave, which can be used to sterilize and decontaminate tools and bulky clothing.
refactor: Reworks the washing machine
tweak: Eases contamination protection requirements slightly
/:cl: