Repackage the aggregate onto the Policing + Corrections split

package.sh builds and vendors InstitutionPolicing + InstitutionCorrections (Policing first) instead
of InstitutionJustice, and merges both modules' Defs. The settings shim's 'Justice' checkbox becomes
'Corrections'; deterrence and riots move under the Policing toggle.
This commit is contained in:
flan
2026-07-16 00:45:41 +00:00
parent d44b7887d9
commit 7ce9c045c3
10 changed files with 35 additions and 29 deletions
+8 -8
View File
@@ -35,17 +35,17 @@ namespace InstitutionSuite
ref settings.contraband,
"Concealment and intake, improvised shivs, Prison-Architect tunnels, warden search, and warden corruption.");
l.Gap();
l.CheckboxLabeled("Justice",
ref settings.justice,
"Classification, the deterrence feedback loop, discipline and reform, parole, and prisoner recreation (Regime).");
l.CheckboxLabeled("Corrections",
ref settings.corrections,
"Classification, discipline and reform, parole, and prisoner recreation (Regime).");
l.Gap();
l.CheckboxLabeled("Gangs",
ref settings.gangs,
"Gangs as contraband economies: joining by disposition, smuggling networks, rivalry, and fights-as-crime. Leans on Contraband and Justice.");
"Gangs as contraband economies: joining by disposition, smuggling networks, rivalry, and fights-as-crime. Leans on Contraband and Corrections.");
l.Gap();
l.CheckboxLabeled("Policing (colony crime)",
ref settings.policing,
"The pre-arrest layer: your own colonists commit crimes on a spectrum (rarer in small, tight colonies), witnesses and a constable's work name the culprit, and a weighed arrest can end in a cell -- or a resisted breakout. A big behavioural change; turn it off to keep the rest of Justice without colony crime.");
"The enforcement and order layer: your own colonists commit crimes on a spectrum (rarer in small, tight colonies), witnesses and a constable's work name the culprit, and a weighed arrest can end in a cell -- or a resisted breakout. Also owns the deterrence feedback loop and prison riots. A big behavioural change; turn it off to run the rest of the suite without colony crime.");
l.Gap();
l.CheckboxLabeled("Ward (psychiatric care)",
ref settings.ward,
@@ -58,7 +58,7 @@ namespace InstitutionSuite
public class InstitutionModSettings : ModSettings
{
public bool contraband = true;
public bool justice = true;
public bool corrections = true;
public bool gangs = true;
public bool policing = true;
public bool ward = true;
@@ -67,7 +67,7 @@ namespace InstitutionSuite
public void Apply()
{
Contraband.InstitutionSettings.contraband = contraband;
Contraband.InstitutionSettings.justice = justice;
Contraband.InstitutionSettings.corrections = corrections;
Contraband.InstitutionSettings.gangs = gangs;
Contraband.InstitutionSettings.policing = policing;
Contraband.InstitutionSettings.ward = ward;
@@ -76,7 +76,7 @@ namespace InstitutionSuite
public override void ExposeData()
{
Scribe_Values.Look(ref contraband, "contraband", true);
Scribe_Values.Look(ref justice, "justice", true);
Scribe_Values.Look(ref corrections, "corrections", true);
Scribe_Values.Look(ref gangs, "gangs", true);
Scribe_Values.Look(ref policing, "policing", true);
Scribe_Values.Look(ref ward, "ward", true);