Files
institution/Defs/WorkGiverDefs/WorkGivers_Corrections.xml

50 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!--
New WorkGiver subclasses, not patches: they inherit WorkGiver_Warden.ShouldSkip (so they respect
Prison Commons areas for free) and are invisible to Custom Prisoner Interactions, which only
patches the named vanilla warden givers.
-->
<WorkGiverDef>
<defName>Institution_WardenRehabilitate</defName>
<label>rehabilitate prisoner</label>
<giverClass>Institution.WorkGiver_Warden_Rehabilitate</giverClass>
<workType>Warden</workType>
<verb>rehabilitate</verb>
<gerund>rehabilitating</gerund>
<priorityInType>65</priorityInType>
<requiredCapacities>
<li>Talking</li>
<li>Hearing</li>
</requiredCapacities>
</WorkGiverDef>
<WorkGiverDef>
<defName>Institution_WardenParole</defName>
<label>parole prisoner</label>
<giverClass>Institution.WorkGiver_Warden_Parole</giverClass>
<workType>Warden</workType>
<verb>parole</verb>
<gerund>paroling</gerund>
<priorityInType>85</priorityInType>
<requiredCapacities>
<li>Talking</li>
</requiredCapacities>
</WorkGiverDef>
<WorkGiverDef>
<defName>Institution_WardenDiscipline</defName>
<label>discipline prisoner</label>
<giverClass>Institution.WorkGiver_Warden_Discipline</giverClass>
<workType>Warden</workType>
<verb>discipline</verb>
<gerund>disciplining</gerund>
<priorityInType>75</priorityInType>
<requiredCapacities>
<li>Moving</li>
</requiredCapacities>
</WorkGiverDef>
</Defs>