Aggregate: vendored Defs follow the namespace rename (Class=Institution.*)

This commit is contained in:
flan
2026-07-16 01:51:20 +00:00
parent d0a4c001fa
commit 1b3403efff
9 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -5,21 +5,21 @@
shared one name could not both be reached. --> shared one name could not both be reached. -->
<JobDef> <JobDef>
<defName>Institution_RehabilitateJob</defName> <defName>Institution_RehabilitateJob</defName>
<driverClass>Contraband.JobDriver_Rehabilitate</driverClass> <driverClass>Institution.JobDriver_Rehabilitate</driverClass>
<reportString>rehabilitating TargetA.</reportString> <reportString>rehabilitating TargetA.</reportString>
<casualInterruptible>false</casualInterruptible> <casualInterruptible>false</casualInterruptible>
</JobDef> </JobDef>
<JobDef> <JobDef>
<defName>Institution_ParoleJob</defName> <defName>Institution_ParoleJob</defName>
<driverClass>Contraband.JobDriver_Parole</driverClass> <driverClass>Institution.JobDriver_Parole</driverClass>
<reportString>paroling TargetA.</reportString> <reportString>paroling TargetA.</reportString>
<casualInterruptible>false</casualInterruptible> <casualInterruptible>false</casualInterruptible>
</JobDef> </JobDef>
<JobDef> <JobDef>
<defName>Institution_DisciplineJob</defName> <defName>Institution_DisciplineJob</defName>
<driverClass>Contraband.JobDriver_Discipline</driverClass> <driverClass>Institution.JobDriver_Discipline</driverClass>
<reportString>disciplining TargetA.</reportString> <reportString>disciplining TargetA.</reportString>
<casualInterruptible>false</casualInterruptible> <casualInterruptible>false</casualInterruptible>
</JobDef> </JobDef>
+1 -1
View File
@@ -3,7 +3,7 @@
<JobDef> <JobDef>
<defName>Institution_Investigate</defName> <defName>Institution_Investigate</defName>
<driverClass>Contraband.JobDriver_Investigate</driverClass> <driverClass>Institution.JobDriver_Investigate</driverClass>
<reportString>investigating a crime scene.</reportString> <reportString>investigating a crime scene.</reportString>
<casualInterruptible>true</casualInterruptible> <casualInterruptible>true</casualInterruptible>
</JobDef> </JobDef>
+2 -2
View File
@@ -3,7 +3,7 @@
<JobDef> <JobDef>
<defName>Contraband_SearchPawn</defName> <defName>Contraband_SearchPawn</defName>
<driverClass>Contraband.JobDriver_SearchPawn</driverClass> <driverClass>Institution.JobDriver_SearchPawn</driverClass>
<reportString>searching TargetA.</reportString> <reportString>searching TargetA.</reportString>
</JobDef> </JobDef>
@@ -21,7 +21,7 @@
<WorkGiverDef> <WorkGiverDef>
<defName>Contraband_WardenSearch</defName> <defName>Contraband_WardenSearch</defName>
<label>search prisoners for contraband</label> <label>search prisoners for contraband</label>
<giverClass>Contraband.WorkGiver_Warden_Search</giverClass> <giverClass>Institution.WorkGiver_Warden_Search</giverClass>
<workType>Warden</workType> <workType>Warden</workType>
<verb>search</verb> <verb>search</verb>
<gerund>searching</gerund> <gerund>searching</gerund>
+1 -1
View File
@@ -34,7 +34,7 @@
<Steel>15</Steel> <Steel>15</Steel>
</costList> </costList>
<comps> <comps>
<li Class="Contraband.CompProperties_SecurityGrade" /> <li Class="Institution.CompProperties_SecurityGrade" />
</comps> </comps>
<building> <building>
<isEdifice>false</isEdifice> <isEdifice>false</isEdifice>
+3 -3
View File
@@ -29,11 +29,11 @@
</statBases> </statBases>
<stackLimit>1</stackLimit> <stackLimit>1</stackLimit>
<comps> <comps>
<li Class="Contraband.CompProperties_Contraband"> <li Class="Institution.CompProperties_Contraband">
<concealability>0.5</concealability> <concealability>0.5</concealability>
<hideIn>InCell</hideIn> <hideIn>InCell</hideIn>
<acquireWorker>Contraband.AcquireWorker_Improvise</acquireWorker> <acquireWorker>Institution.AcquireWorker_Improvise</acquireWorker>
<escapeWorker>Contraband.EscapeTunnelWorker</escapeWorker> <escapeWorker>Institution.EscapeTunnelWorker</escapeWorker>
</li> </li>
</comps> </comps>
</ThingDef> </ThingDef>
+2 -2
View File
@@ -34,10 +34,10 @@
<li>Melee</li> <li>Melee</li>
</weaponClasses> </weaponClasses>
<comps> <comps>
<li Class="Contraband.CompProperties_Contraband"> <li Class="Institution.CompProperties_Contraband">
<concealability>0.75</concealability> <concealability>0.75</concealability>
<hideIn>OnBody, InCell</hideIn> <hideIn>OnBody, InCell</hideIn>
<acquireWorker>Contraband.AcquireWorker_Improvise</acquireWorker> <acquireWorker>Institution.AcquireWorker_Improvise</acquireWorker>
</li> </li>
</comps> </comps>
<tools> <tools>
@@ -9,7 +9,7 @@
<WorkGiverDef> <WorkGiverDef>
<defName>Institution_WardenRehabilitate</defName> <defName>Institution_WardenRehabilitate</defName>
<label>rehabilitate prisoner</label> <label>rehabilitate prisoner</label>
<giverClass>Contraband.WorkGiver_Warden_Rehabilitate</giverClass> <giverClass>Institution.WorkGiver_Warden_Rehabilitate</giverClass>
<workType>Warden</workType> <workType>Warden</workType>
<verb>rehabilitate</verb> <verb>rehabilitate</verb>
<gerund>rehabilitating</gerund> <gerund>rehabilitating</gerund>
@@ -23,7 +23,7 @@
<WorkGiverDef> <WorkGiverDef>
<defName>Institution_WardenParole</defName> <defName>Institution_WardenParole</defName>
<label>parole prisoner</label> <label>parole prisoner</label>
<giverClass>Contraband.WorkGiver_Warden_Parole</giverClass> <giverClass>Institution.WorkGiver_Warden_Parole</giverClass>
<workType>Warden</workType> <workType>Warden</workType>
<verb>parole</verb> <verb>parole</verb>
<gerund>paroling</gerund> <gerund>paroling</gerund>
@@ -36,7 +36,7 @@
<WorkGiverDef> <WorkGiverDef>
<defName>Institution_WardenDiscipline</defName> <defName>Institution_WardenDiscipline</defName>
<label>discipline prisoner</label> <label>discipline prisoner</label>
<giverClass>Contraband.WorkGiver_Warden_Discipline</giverClass> <giverClass>Institution.WorkGiver_Warden_Discipline</giverClass>
<workType>Warden</workType> <workType>Warden</workType>
<verb>discipline</verb> <verb>discipline</verb>
<gerund>disciplining</gerund> <gerund>disciplining</gerund>
+1 -1
View File
@@ -4,7 +4,7 @@
<WorkGiverDef> <WorkGiverDef>
<defName>Institution_Investigate</defName> <defName>Institution_Investigate</defName>
<label>investigate crimes</label> <label>investigate crimes</label>
<giverClass>Contraband.WorkGiver_Investigate</giverClass> <giverClass>Institution.WorkGiver_Investigate</giverClass>
<workType>Institution_Investigating</workType> <workType>Institution_Investigating</workType>
<verb>investigate</verb> <verb>investigate</verb>
<gerund>investigating</gerund> <gerund>investigating</gerund>
+5 -5
View File
@@ -9,7 +9,7 @@
PTSD, cleanliness-OCD. Deliberately NOT Autism or ADHD — those are neurotypes, and a ward that 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. "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. A player or another mod can opt any hediff in the same way: add the Institution.TreatableConditionExtension extension.
--> -->
<Patch> <Patch>
@@ -19,7 +19,7 @@
<xpath>/Defs/HediffDef[defName="MajorDepression"]</xpath> <xpath>/Defs/HediffDef[defName="MajorDepression"]</xpath>
<value> <value>
<modExtensions> <modExtensions>
<li Class="Contraband.TreatableConditionExtension"> <li Class="Institution.TreatableConditionExtension">
<reductionPerSession>0.10</reductionPerSession> <reductionPerSession>0.10</reductionPerSession>
</li> </li>
</modExtensions> </modExtensions>
@@ -33,7 +33,7 @@
<xpath>/Defs/HediffDef[defName="GeneralizedAnxiety"]</xpath> <xpath>/Defs/HediffDef[defName="GeneralizedAnxiety"]</xpath>
<value> <value>
<modExtensions> <modExtensions>
<li Class="Contraband.TreatableConditionExtension"> <li Class="Institution.TreatableConditionExtension">
<reductionPerSession>0.12</reductionPerSession> <reductionPerSession>0.12</reductionPerSession>
</li> </li>
</modExtensions> </modExtensions>
@@ -47,7 +47,7 @@
<xpath>/Defs/HediffDef[defName="PTSD"]</xpath> <xpath>/Defs/HediffDef[defName="PTSD"]</xpath>
<value> <value>
<modExtensions> <modExtensions>
<li Class="Contraband.TreatableConditionExtension"> <li Class="Institution.TreatableConditionExtension">
<reductionPerSession>0.08</reductionPerSession> <reductionPerSession>0.08</reductionPerSession>
</li> </li>
</modExtensions> </modExtensions>
@@ -61,7 +61,7 @@
<xpath>/Defs/HediffDef[defName="COCD"]</xpath> <xpath>/Defs/HediffDef[defName="COCD"]</xpath>
<value> <value>
<modExtensions> <modExtensions>
<li Class="Contraband.TreatableConditionExtension"> <li Class="Institution.TreatableConditionExtension">
<reductionPerSession>0.10</reductionPerSession> <reductionPerSession>0.10</reductionPerSession>
</li> </li>
</modExtensions> </modExtensions>