Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 1 addition & 48 deletions Defs/WorkGiverDefs/WorkGivers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,37 +32,7 @@
<prioritizeSustains>true</prioritizeSustains>
</WorkGiverDef>

<WorkGiverDef>
<defName>JS_NurseFeedHumanlikes</defName>
<label>feed patients</label>
<giverClass>WorkGiver_FeedPatient</giverClass>
<workType>Nursing</workType>
<verb>feed</verb>
<gerund>feeding</gerund>
<priorityInType>60</priorityInType>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<prioritizeSustains>true</prioritizeSustains>
<feedHumanlikesOnly>true</feedHumanlikesOnly>
</WorkGiverDef>

<WorkGiverDef>
<defName>JS_NurseFeedAnimals</defName>
<label>feed animals</label>
<giverClass>WorkGiver_FeedPatient</giverClass>
<workType>Nursing</workType>
<verb>feed</verb>
<gerund>feeding</gerund>
<priorityInType>30</priorityInType>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<prioritizeSustains>true</prioritizeSustains>
<feedAnimalsOnly>true</feedAnimalsOnly>
</WorkGiverDef>

<WorkGiverDef>
<WorkGiverDef>
<defName>JS_NurseVisitSickPawn</defName>
<label>visit sick people</label>
<giverClass>WorkGiver_VisitSickPawn</giverClass>
Expand Down Expand Up @@ -117,23 +87,6 @@
</requiredCapacities>
</WorkGiverDef>

<WorkGiverDef>
<defName>JS_ButcherDoBillsButcherFlesh</defName>
<label>butcher creatures</label>
<giverClass>WorkGiver_DoBill</giverClass>
<workType>Butchering</workType>
<priorityInType>88</priorityInType>
<fixedBillGiverDefs>
<li>TableButcher</li>
</fixedBillGiverDefs>
<verb>butcher</verb>
<gerund>butchering at</gerund>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<prioritizeSustains>true</prioritizeSustains>
</WorkGiverDef>

<!-- Repairing -->

<WorkGiverDef>
Expand Down
29 changes: 27 additions & 2 deletions Patches/WorkGivers_Patch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,33 @@
<workType>Surgeon</workType>
</value>
</Operation>

<!-- Rearming -->

<!-- Nursing -->

<Operation Class="PatchOperationReplace">
<xpath>*/WorkGiverDef[defName = "DoctorFeedHumanlikes"]/workType</xpath>
<value>
<workType>Nursing</workType>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>*/WorkGiverDef[defName = "DoctorFeedAnimals"]/workType</xpath>
<value>
<workType>Nursing</workType>
</value>
</Operation>

<!-- Butchering -->

<Operation Class="PatchOperationReplace">
<xpath>*/WorkGiverDef[defName = "DoBillsButcherFlesh"]/workType</xpath>
<value>
<workType>Butchering</workType>
</value>
</Operation>

<!-- Rearming -->

<Operation Class="PatchOperationReplace">
<xpath>*/WorkGiverDef[defName = "RearmTurrets"]/workType</xpath>
Expand Down