Files
institution/Defs/HediffDefs/Hediffs_Corrections.xml
T

66 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!--
The visible reform track, on Core's shared treatment engine (the same one Ward's recovery rides).
A rehab session advances it; it decays without sustained sessions, so rehabilitation has to be
kept up. It is a readout and a pressure, not the parole gate itself: parole keys off the reform
SCORE and the security grade, and the "Ready for parole" alert fires from that.
-->
<HediffDef>
<defName>Institution_Reforming</defName>
<label>reforming</label>
<description>This prisoner is being rehabilitated — worked with toward turning a corner. Progress decays without sustained sessions. When they have reformed enough and their security grade is low enough, they can be paroled back into the colony.</description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.55, 0.85, 0.65)</defaultLabelColor>
<scenarioCanAdd>false</scenarioCanAdd>
<maxSeverity>1.0</maxSeverity>
<isBad>false</isBad>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-0.08</severityPerDay>
</li>
</comps>
<stages>
<li>
<minSeverity>0</minSeverity>
<label>reforming</label>
</li>
<li>
<minSeverity>0.999</minSeverity>
<label>reformed</label>
</li>
</stages>
</HediffDef>
<!--
The solitary status: a marker that the prisoner is serving a discipline term. It gates the warden
from re-disciplining while it lasts (roughly two days, decaying), carries the on-edge cost of
isolation, and shows on the inspect pane. The mood hit itself is the Institution_Disciplined memory.
-->
<HediffDef>
<defName>Institution_InSolitary</defName>
<label>in solitary</label>
<description>Held in solitary confinement, privileges revoked, as discipline. Isolation grates: they are closer to the edge, and they will not forget it.</description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.7, 0.5, 0.5)</defaultLabelColor>
<scenarioCanAdd>false</scenarioCanAdd>
<maxSeverity>1.0</maxSeverity>
<isBad>true</isBad>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-0.5</severityPerDay>
</li>
</comps>
<stages>
<li>
<minSeverity>0</minSeverity>
<statOffsets>
<MentalBreakThreshold>0.05</MentalBreakThreshold>
</statOffsets>
</li>
</stages>
</HediffDef>
</Defs>