RimWorld

RimWorld

Ei tarpeeksi arvosteluja
Categorized Cleaning - Split
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod, 1.6
Tiedostokoko
Julkaistu
Päivitetty
340.522 KB
10.7. klo 4.04
12.7. klo 6.15
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Categorized Cleaning - Split

Kuvaus
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.
11 kommenttia
MosaPudica 6.10. klo 9.35 
I can get an NRE to appear if:

- I have the split version of the mod
- I have three different priorities for the three jobs (with the outside 3rd one turned off)
- I tear down a wall to replace it (vanilla behavior)
- Which changes the rooms.

Exception while rebuilding dirty regions: System.NullReferenceException: Object reference not set to an instance of an object

at PeteTimesSix.CategorizedCleaning.HarmonyPatches.Room_Notify_RoomShapeChanged_Patches.Room_Notify_RoomShapeChanged_Prefix (Verse.Room __instance) [0x00001]

CategorizedCleaningSplit\Source\HarmonyPatches\Room_Patches.cs:22
PeteTimesSix  [tekijä] 20.7. klo 0.43 
@Dark there are links, the workshop formatting just makes them hard to see.
@Boleta that's a duplicate stacktrace. I'd need to see the first one to know if its coming from my mod.
Boleta 19.7. klo 20.26 
I'm having some errors in the console using the mod, I don't know if it's normal. They're all like this https://pastebin.com/qtNgYDPS
Dark 19.7. klo 17.40 
You should add a link to the other version of this mod in each one's description
Mrassassin12 13.7. klo 8.26 
Thank you kind modder for great mod now I wont need to micromanage so much.
TheBlindPilot 12.7. klo 19.14 
Great mod idea, and beautifully executed! No bugs to report(as of yet). :)
PeteTimesSix  [tekijä] 12.7. klo 14.50 
@The Atomic Option We've fixed that earlier today. Make sure both mods are up to date.
The Atomic Option 12.7. klo 14.23 
When used with Common Sense mod that makes pawns clean things before starting a job, this prevents them from doing the job. Can you make this compatible with Common Sense or does he need to make his mod compatible with yours?
Bunuffin 10.7. klo 14.41 
Mech Work Tab will help you fix problems with mechs work priority
RocketRacoon 10.7. klo 11.26 
Damn, I think this is what I've been wishing for! I can finally keep my hospitals clean easily. Thanks!