Skip to content

Contamination features and washing machine rework#3577

Merged
MistakeNot4892 merged 5 commits into
NebulaSS13:devfrom
NataKilar:contamination-features
Jan 11, 2024
Merged

Contamination features and washing machine rework#3577
MistakeNot4892 merged 5 commits into
NebulaSS13:devfrom
NataKilar:contamination-features

Conversation

@NataKilar
Copy link
Copy Markdown
Contributor

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_DECONTAMINATE which 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 face covering rather than head and eye covering, 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:

@MistakeNot4892 MistakeNot4892 added the ready for review This PR is ready for review and merge. label Jan 10, 2024
@MistakeNot4892 MistakeNot4892 merged commit ec30ffa into NebulaSS13:dev Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review This PR is ready for review and merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants