RimWorld

RimWorld

64 ratings
Categorized Cleaning - Combo
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
335.548 KB
10 Jul @ 3:34am
12 Jul @ 6:16am
2 Change Notes ( view )

Subscribe to download
Categorized Cleaning - Combo

Description
Splits the cleaning filth work into three, in descending priority order:
  • Cleaning sterile rooms (kitchens, hospital and laboratories)
  • Cleaning indoors
  • Cleaning outdoors and in barns

There are already plenty of cleaning mods.
While there are certainly alternatives (for example: Cleaning Priority, Cleaning Area), they use player-configured areas. I wanted a more automated solution.

I want different rooms to be considered sterile.
Which rooms are considered sterile and which are considered outdoor rooms can be configured in settings.

Why two versions? What's the difference?
While it'd be possible to make the difference between the versions configurable in the settings insted, it'd require an approach more prone to causing issue with mod interoperability.
The combo version:
  • Splits the cleaning job into three, but puts them all under the same work type
  • Plug 'n play
  • Colonists will automatically prioritize cleaning by location
  • Will work with any other mods
The split version:
  • Splits the cleaning job into three, and puts them under separate work types
  • Requires configuring work priorities
  • Player can prioritize (or disallow) cleaning specific locations
  • May restrict modded cleaning robots to only cleaning outdoors depending on implementation

What's with the colorful squares in that screenshot?
It's a debug drawing mode that displays which category filth is sorted into. You can enable it with a dev command!

Non-steam version and old releases can be found here.
https://github.com/PeteTimesSix/CategorizedCleaning

If you want to express gratitude, support me or attempt to convert money into motivation, you can do so here: ko-fi.com/petetimessix

I've set up a Discord server[discord.gg], which is the preferred medium for discussion and bug reports.
15 Comments
PeteTimesSix  [author] 4 hours ago 
@Naturtok
I guess I did miss some cleaning mods when checking the workshop after all :]
Looking at the source, it patches GetPriority on the vanilla CleanFilth WorkGiver, whereas my mod works by pre-filtering filth into categories and adding two new work givers.
The end result ends up being pretty similar, though Cleanie seems to be more configurable. Someone'd have to profile the two mods to know for sure which has a bigger performance impact.
Naturtok 6 hours ago 
Is there any mechanical difference between this and Cleanie? Cleanie seems to do the same thing, but w/ cleanliness threshold sliders for each room instead of categories, but I have zero clue how mods work under the hood
Hightech 8 hours ago 
will give it a try :steamthumbsup:
If you have an issue of endless looping of cleaning > butchering, it's an issue with Common Sense + Categorized Cleaning. Both have been patched it looks like, just unsubscribe and resubscribe to the mods to redownload. Can confirm it works afterwards.

(Also shared by Author below, posting that I confirmed it works after updating both)
allbad 21 hours ago 
@petetimesix thank you for the education, I did not know this about workshop items
PeteTimesSix  [author] 23 hours ago 
@Dartvard @Veganismo
Compat with Common Sense should be in now. Make sure to also get the needed update to Common Sense.
Dartvadr 12 Jul @ 5:43am 
Im having the same issue. it might be related to Common sense mod too
Veganismo 11 Jul @ 3:47pm 
When it's activated, the colonists bug out. In the kitchen, they glitch and can't butcher or cook, but they also don't clean to make it possible, causing a loop.
PeteTimesSix  [author] 11 Jul @ 1:49pm 
@Skuffet I think I did a pretty good job optimizing things. Though its hard to comprehensively check that kind of thing without a full playthrough of a long-running colony.
Skuffet 11 Jul @ 12:56pm 
Lovely mod, is there any noticeable effect on performance compared to vanilla?