RimWorld

RimWorld

191 ratings
World Pawn Cleaner
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
57.350 KB
12 Mar, 2024 @ 10:12pm
6 Aug @ 2:46am
6 Change Notes ( view )

Subscribe to download
World Pawn Cleaner

In 1 collection by Cedaro
cedaro's mods
37 items
Description
Clean up world pawns. I made this in a few hours to relief my 10 years save.

It's kinda like the "Remove World Pawn" function in RuntimeGC. I added some more checks to prevent cleaning important pawn.

Compatibility
- Biotech
- Vanilla Factions Expanded - Empire
- Vanilla Races Expanded - Archon
- [LTS]Tenants

Note that there's may be other mods that utilize world pawns I don't know. If you have a complex mod list, I highly recommend save a backup before trying this.

If you find anomaly when using with another mod, report to me.

How To Use
Enable Dev Mode, in debug actions menu there's a new section named "World Pawn Cleaner" providing 3 new actions.

Clean -> Clean up all world pawns which are not important or reserved, will skip colonist family in other factions.
Clean: Include Family -> Clean up, include colonist family in other factions.
Clean a selected pawn -> Pick a world pawn and forcely clean it up. Do understand what you're doing.

Bug report
A proper bug report should include the following part:
  • Description of what it should be and what it actually be
  • Console log
  • Your mod list
please control the length of your mod list. List longer than 10 (include DLC) will be ignored cause I'm really not spare enough to check one by one.

54 Comments
Cedaro  [author] 9 Oct @ 9:19pm 
@stups seems like steam mess up the version again, it distributed you with the 1.5 version. Try resub might fix it.
stups 8 Oct @ 11:48pm 
It doesn't work on 1.6. Even if I load it despite the warning I get this exception when I cloick on debug actions in dev mode.

Exception filling window for Verse.ImmediateWindow: System.MissingMethodException: Method not found: void LudeonTK.DebugActionAttribute..ctor(string,string,bool,bool,bool,bool,int,bool)
[Ref 6BC3D2BC]
(wrapper managed-to-native)

Mods are only Harmony and all published DLCs.
Cedaro  [author] 12 Sep @ 3:17am 
可以
gghhy 12 Sep @ 2:30am 
大佬可以和runtimegc一起用么:steamhappy:
o0Zeke0o 8 Sep @ 6:18am 
amazing
Cedaro  [author] 8 Sep @ 1:41am 
@o0Zeke0o all colonists won't be cleaned, so yes.
o0Zeke0o 7 Sep @ 6:29am 
does this work with settlements expanded? like, if i have a pawn on a settlement it's marked as important right?
Kuro-Noche 13 Aug @ 10:40am 
I dont really know what this mod does but every 1 or 2 years in game I use it and it regains me around 90tps so thamk yo so much
Cedaro  [author] 6 Aug @ 2:46am 
@WarKittyKat gotcha, should be fixed now
WarKittyKat 5 Aug @ 9:18am 
I found an issue - cleaning up world pawns cleans any prisoners that are in caravans. Tested with just harmony and this mod active to verify.