Altering priority of Work types help

Started by Asteru, March 31, 2017, 11:01:30 PM

Previous topic - Next topic

Asteru

Greetings,

I'm not a big fan of the order of subjobs for each work category, and want to move things around a bit, but thats obviously not able to be done in game, so i started poking around and i believe i found that its handled via the priority setting within the <WorkGiverDef> area of the xml file, and i want to verify that i'm not being dumb here in my thinking. In order to alter it, i'd have to gather up all the WorkGiverDef entries from all the various mods i have installed, and combine them in my own XML file, and play with the numbers for priority to adjust them to where i want them to be in the order i want them, then load that new "mod" with the new xml file at the lower end of the mod load list so it overrides the defaults?

Also, is it possible to actually move an entire category, or are they hard coded by the game itself. For example, i love the fluffy management mod, but since its typically a quick easy task, i'd rather just have it as a 1, and be done early on after say flicking. I wasn't sure if that is possible or not though like the sub jobs for each category.

Thanks for your help.

Granitecosmos

Quote from: rwurgley on March 31, 2017, 11:01:30 PM
In order to alter it, i'd have to gather up all the WorkGiverDef entries from all the various mods i have installed, and combine them in my own XML file, and play with the numbers for priority to adjust them to where i want them to be in the order i want them...
This is correct.

Quote from: rwurgley on March 31, 2017, 11:01:30 PM
...then load that new "mod" with the new xml file at the lower end of the mod load list so it overrides the defaults?
This isn't. List represents load order, the highest mod loads first. Any mod that loads after this one and changes stuff the first mod also changes will be simply ignored. Core is the exception. So put your mod right after Core.

Quote from: rwurgley on March 31, 2017, 11:01:30 PM
Also, is it possible to actually move an entire category, or are they hard coded by the game itself.
This is C# territory. Possible but you won't be able to do it easily if you're a beginner.