// Management · RimWorld Mod

Pawn Sanitizer Framework

Pawn Sanitizer Framework mod preview for RimWorld

To Non-modders Just ignore this unless your modder asked you to add this into the list.

To Non-modders

Just ignore this unless your modder asked you to add this into the list.

Summary

A small QoL mod for modders. This mod provides a flexible framework for sanitizing pawns. Use it to:
  • Remove unwanted thoughts, needs, or hediffs (including needs forcefully added by other mods like Hygiene)
  • Prevent inspiration and mental breaks
  • Wipe memories, stop mental states, and clear inspiration
Apply via:
  • Hediffs (HediffComp_PawnSanitizer)
  • ThingDef/Race (CompPawnSanitizer)
  • ThingDef/Apparel or ThingDef/Equipment (CompPawnSanitizerApparel)
  • ThingDef/Consumables (CompUseEffect_PawnSanitizerConsumables)

Use Cases

  • Mindwiping brain chips
  • Synthetic lobotomies
  • Chaos corruption suppressors
  • Servitor override masks
  • Addiction cleansing drugs
  • Cult deprogramming kits
  • Nerve stabilizers

Core Features: For modders

🧠 Thought, Inspiration, and Mental State Blocking

Dynamically block specific or all ThoughtDef, InspirationDef, and MentalStateDef values at runtime. Includes full compatibility with Biotech moods and modded traits.

💉 Need & Hediff Removal

Strip hygiene, addiction, or custom modded needs/hediffs — perfect for cleansing implants, synthetic brains, or sterilization rituals.

🧥 Modular Triggers: Apparel, Consumables, Hediffs

Effects can be applied via: Worn gear (CompPawnSanitizerApparel) Ingested items (CompUseEffect_PawnSanitizerConsumables) Hediff implants or injections (HediffComp_PawnSanitizer)

🧩 Fully Keyed Localization

All UI and tag strings are translation-ready (PawnSanitizer_XXX keys).

🗂️ Taggable Thought Categorization

Thoughts are grouped by , , , , or — or overridden with XML.

🛠️ Restoration Logic

When a source is removed (e.g., the hediff ends or apparel is dropped), the pawn’s original needs, hediffs, and mood behaviors are fully restored.

Examples

Main Functions

Thought Category Tagging (Optional)

You can tagging thought category for Global Thought Blocker (Experimental) uses.

Recent Update

16/4/2025: Fixed XML error for sample hediff.