Re-package with the corrections layer bundled; sync the wiki (Rehabilitation page, loop update)

This commit is contained in:
flan
2026-07-15 21:01:28 +00:00
parent 3530100ed5
commit 18a983b7cc
16 changed files with 298 additions and 6 deletions
@@ -0,0 +1,36 @@
<?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>Contraband.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>Contraband.WorkGiver_Warden_Parole</giverClass>
<workType>Warden</workType>
<verb>parole</verb>
<gerund>paroling</gerund>
<priorityInType>85</priorityInType>
<requiredCapacities>
<li>Talking</li>
</requiredCapacities>
</WorkGiverDef>
</Defs>