In order to upgrade the mod Auto Equip (https://ludeon.com/forums/index.php?topic=16069.0) to the last version, is necessary change de the Def "Defs\ThinkTreeDefs\Humanlike.xml", to override the "JobGiver_OptimizeApparel" but, if I just copy and past this file to my mod, the game crashes when a Raid Occurs. How to I fix this?
You should look into CCL detours, you can simplify the whole thing by just detouring the vanilla 'score' functions for apparel.
Thanks.
New version using this method was released.