RimWorld

RimWorld

ActiveResponseTraining
BetaHDream 19 Jul, 2020 @ 2:31pm
[GUIDE] How to add separate jobs / work type
I had to modify this mod to separate jobs. I hope this will be put in, but as of now if someone needs it this is how to do it:

1- Go in ...steamapps\workshop\content\294100\1228227243\1.1\Defs and create a folder called "WorkTypeDefs"


2- Create inside the new folder "WorkTypes.xml" and paste this code:

<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<WorkTypeDef>
<defName>Shooting</defName>
<labelShort>Shooting</labelShort>
<pawnLabel>Shooting</pawnLabel>
<gerundLabel>shooting</gerundLabel>
<description>Shooting</description>
<verb>Shooting</verb>
<naturalPriority>901</naturalPriority>
<relevantSkills>
<li>Shooting</li>
</relevantSkills>
<workTags>
<li>Violent</li>
<li>Hunting</li>
<li>Commoner</li>
<li>AllWork</li>
</workTags>
</WorkTypeDef>

<WorkTypeDef>
<defName>Melee</defName>
<labelShort>Melee</labelShort>
<pawnLabel>Melee</pawnLabel>
<gerundLabel>melee</gerundLabel>
<description>melee</description>
<verb>Melee</verb>
<naturalPriority>901</naturalPriority>
<relevantSkills>
<li>Melee</li>
</relevantSkills>
<workTags>
<li>Violent</li>
<li>Hunting</li>
<li>Commoner</li>
<li>AllWork</li>
</workTags>
</WorkTypeDef>

</Defs>

3- Open ...\steamapps\workshop\content\294100\1228227243\1.1\Defs\WorkGiverDefs and open the file called "AR-TrainingDef.xml"

4- Change<workType>Hunting</workType> in <workType>Shooting</workType> for the first and <workType>Melee</workType> for the second.

Description etc sucks, but it works.
Last edited by BetaHDream; 19 Jul, 2020 @ 2:35pm