/tg/ Station 13 - Modules - Types

code/datums/components/cleaner.dm

/datum/component/cleanerComponent that can be used to clean things. Takes care of duration, cleaning skill and special cleaning interactions. A callback can be set by the datum holding the cleaner to add custom functionality. Soap uses a callback to decrease the amount of uses it has left after cleaning for example.