Fix: bundle Ward's Patches into the aggregate (Rim Disorders integration)
The re-package vendored Ward's Defs and Textures but not its Patches/ dir, so the disorder-treatable marking never applied -- psychiatric treatment silently did nothing to the illness a patient was committed for. package.sh now vendors Ward's Patches too. The folded-suite compat harness confirms it: integration.disorderMarkedTreatable now passes with Ward bundled in the aggregate. Add the suite-overview wiki (Wiki/Home.md).
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Soft integration with [RF] Rim Disorders (Continued). The README's whole pitch is that its chronic
|
||||
hediffs are Ward's admission criteria; this is what makes that true in the game rather than on
|
||||
paper. Each operation is CONDITIONAL on the hediff existing, so the file is a silent no-op when Rim
|
||||
Disorders is not loaded — Ward never hard-depends on it.
|
||||
|
||||
Attached only to the clinical, distress-causing conditions: major depression, generalized anxiety,
|
||||
PTSD, cleanliness-OCD. Deliberately NOT Autism or ADHD — those are neurotypes, and a ward that
|
||||
"treats away" who someone is would be a worse mod, not a more featureful one.
|
||||
|
||||
A player or another mod can opt any hediff in the same way: add the Contraband.TreatableConditionExtension extension.
|
||||
-->
|
||||
<Patch>
|
||||
|
||||
<Operation Class="PatchOperationConditional">
|
||||
<xpath>/Defs/HediffDef[defName="MajorDepression"]</xpath>
|
||||
<match Class="PatchOperationAdd">
|
||||
<xpath>/Defs/HediffDef[defName="MajorDepression"]</xpath>
|
||||
<value>
|
||||
<modExtensions>
|
||||
<li Class="Contraband.TreatableConditionExtension">
|
||||
<reductionPerSession>0.10</reductionPerSession>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</value>
|
||||
</match>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationConditional">
|
||||
<xpath>/Defs/HediffDef[defName="GeneralizedAnxiety"]</xpath>
|
||||
<match Class="PatchOperationAdd">
|
||||
<xpath>/Defs/HediffDef[defName="GeneralizedAnxiety"]</xpath>
|
||||
<value>
|
||||
<modExtensions>
|
||||
<li Class="Contraband.TreatableConditionExtension">
|
||||
<reductionPerSession>0.12</reductionPerSession>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</value>
|
||||
</match>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationConditional">
|
||||
<xpath>/Defs/HediffDef[defName="PTSD"]</xpath>
|
||||
<match Class="PatchOperationAdd">
|
||||
<xpath>/Defs/HediffDef[defName="PTSD"]</xpath>
|
||||
<value>
|
||||
<modExtensions>
|
||||
<li Class="Contraband.TreatableConditionExtension">
|
||||
<reductionPerSession>0.08</reductionPerSession>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</value>
|
||||
</match>
|
||||
</Operation>
|
||||
|
||||
<Operation Class="PatchOperationConditional">
|
||||
<xpath>/Defs/HediffDef[defName="COCD"]</xpath>
|
||||
<match Class="PatchOperationAdd">
|
||||
<xpath>/Defs/HediffDef[defName="COCD"]</xpath>
|
||||
<value>
|
||||
<modExtensions>
|
||||
<li Class="Contraband.TreatableConditionExtension">
|
||||
<reductionPerSession>0.10</reductionPerSession>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</value>
|
||||
</match>
|
||||
</Operation>
|
||||
|
||||
</Patch>
|
||||
Reference in New Issue
Block a user