[A13] Mods adding new job roles causes wrong assignments

Started by Orion, May 28, 2016, 04:07:28 AM

Previous topic - Next topic

Orion

If a mod is added to an existing savegame, which adds a new jobrole, all job priority assignments shift one to the right. So for example if a new role is added left to hunting, priorities shift and a pawn that can't actually hunt will be assigned for hunting, which in turn can't be disabled by the player because the checkbox is hidden.

RimWorld should do a consistency check at the start to make sure the job priorities are valid (jobs that can't be performed are set to 0).

Tynan

I'm afraid we don't really support adding mods to running games. The number of ways it can fail is astronomical, so it's really up to the mod author to do something to make this work. If we tried to solve every problem like this the code would be littered with almost-never-used and nearly impossible to test code.
Tynan Sylvester - @TynanSylvester - Tynan's Blog