// Management · RimWorld Mod
[WG] Facial Animation Duplicate Comp Fix
Using Facial Animation and finding settlement traders almost out of stock, or a red error when a statue is made?
Using Facial Animation and finding settlement traders almost out of stock, or a red error when a statue is made?
When several mods each register the same Facial Animation face comps on the same race data, that comp ends up on the race twice.
The moment a statue copies that race's appearance the error is thrown, and if it happened while trader stock was being generated, that stock is destroyed entirely.
This mod cleans up those duplicates at startup and the problem is gone.
Features
- Cleans up comps registered twice on race data
- Leaves duplicates alone when their settings actually differ
- Logs which mods created the duplication
- No Harmony patches, does nothing at all without Facial Animation
- Safe to add to or remove from an ongoing save
Q1. Can I add it to an existing save?
Yes. There is no saved data and no new Def, so adding and removing are both free.
Trader stock that was already wiped stays that way, but it fills up normally once the stock refresh comes around.
Q2. Can I find out which mod is responsible?
When duplicates are found, the game log records which race had which comp duplicated, along with a list of mods that patch that race.
Passing that on to the mod's author is the real fix.
Q3. What happens if there are no duplicates?
It writes one line saying there was nothing to clean up, and stops.
It does nothing at all, so there is no cost to keeping it enabled in advance.
AI usage notice
This mod used some AI assistance for writing code only.
The final implementation, review and testing were done by me.