RimWorld
781 voti
Cleaning Speed
3
5
4
3
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Mod, 1.3, 1.4, 1.5
Dimensioni del file
Pubblicato in data
Aggiornato in data
514.763 KB
9 feb 2022, ore 8:37
14 mar, ore 20:36
4 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Cleaning Speed

In 1 collezione di Aelanna
The Eccentric's Angels [1.4]
148 elementi
Descrizione
Updated for Rimworld v1.4: Cleaning Speed is now a vanilla StatDef! However, the vanilla implementation is not affected by pawn capacities, so Cleaning Speed now simply adds the appropriate pawn capacity modifiers as well as the two traits that affect it.

A simple mini-mod that implements a Cleaning Speed stat and adds two traits that affect it. Without it, vanilla cleaning occurs at a fixed rate, with nothing positively or negatively affecting it.

Mod Contents

Cleaning Speed is multiplied by Global Work Speed (100%) and relies on Manipulation (100%) and Sight (50%). This means that the speed at which a pawn cleans will be affected by traits that modify Global Work Speed (such as Industrious, Hard Worker, Lazy, and Slothful) and implants that affect Manipulation (such as prosthetic or bionic limbs). At 100% Cleaning Speed, a pawn will clean filth at the same rate as vanilla.

Fastidious is a new trait that increases a pawn's Cleaning Speed by 50% and decreases the rate at which they generate filth by 50%.

Slovenly is a new trait that decreases a pawn's Cleaning Speed by 50% and increases the rate at which they generate filth by 50%.

Note: If you use Ideology's slavery system, Cleaning Speed will cause slaves to clean slightly slower due to their penalty to Global Work Speed.

Mod Compatibility

Cleaning Speed should be compatible with all other work-related mods unless they also attempt to modify the speed at which cleaning happens. At the time of writing, I am not aware of any mods that do so; please let me know if you encounter any issues!

Safe to Add

Cleaning Speed should be safe to add or remove from an existing save, but as always, it's in your best interest to make an extra save file just in case!

Technical Details

Cleaning Speed modifies the rate at which work is done by postfixing JobDriver_CleanFilth.MakeNewToils and replacing the tickAction of the actual work-performing Toil. CleaningSpeed values for individual pawns are cached in a static Dictionary with a lifetime of 60 ticks.

As Cleaning Speed is a fully implemented StatDef, bonuses to Cleaning Speed can be applied anywhere StatModifiers are allowed, including weapons (tools), apparel, traits, and hediffs:

<statOffsets> <CleaningSpeed MayRequire="Aelanna.CleaningSpeed">0.50</CleaningSpeed> </statOffsets>

For an example of a mod that has Cleaning Speed support, Eccentric Tech - Angel Apparel's worker uniforms and worker aprons each grant a cumulative 50% bonus to Cleaning Speed.
63 commenti
Wzl 25 mag, ore 15:14 
@Aelanna - I've a quick question about the harmony patch you were using prior to 1.4 & have sent you a friend invite. Please of course feel free to reject it!
Aelanna  [autore] 19 mar, ore 16:31 
@Stellar Harbour - Nothing has changed in 1.5: the vanilla StatDef is identical to 1.4, and this mod merely adds the appropriate StatParts, enables it for human colonists, and adds the two related traits.
Stellar Harbour 19 mar, ore 16:03 
What about 1.5? Any changes?
毫无干劲的芙琳 16 mar, ore 3:00 
great
Aelanna  [autore] 4 giu 2023, ore 19:21 
@happyBirthday - This seems highly unlikely, especially considering that Cleaning Speed is a vanilla StatDef in 1.4 and this mod merely adds two traits and modifies the way that that stat is calculated. Can you provide a log?
happyBirthday 4 giu 2023, ore 18:31 
I think this mod has incompatibility with CleaningArea
Amaychan ♥ 13 feb 2023, ore 13:33 
Does this apply to biotech's pollution cleaning?
Dr Jimothy 13 nov 2022, ore 17:04 
Awful idea:
Crossover between this and Vanilla Skills Expanded where characters with the fastidious trait get access to a special skill for increasing their cleaning speed over time.
T-Bone Shark 6 ott 2022, ore 15:42 
Had to remove and resubscribe, but seems to be solved now. Thank you!
Aelanna  [autore] 6 ott 2022, ore 13:24 
I pushed an update that should hopefully fix this issue, please let me know if it continues to happen. Apologies for the inconvenience!