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:
flan
2026-07-15 20:27:57 +00:00
parent 2d46fef192
commit 25eb3a77db
5 changed files with 177 additions and 2 deletions
+8 -2
View File
@@ -50,8 +50,10 @@ if [[ -e "$JUST/Defs" ]]; then
mkdir -p "$HERE/Defs"
cp -r "$JUST/Defs/." "$HERE/Defs/"
fi
# Ward ships defs (interaction mode, hediffs, treatment station, room role) and its own textures.
# All its files are *_Ward.xml or under a Ward/ texture subdir, so nothing collides with the others.
# Ward ships defs (interaction mode, hediffs, treatment station, room role), its own textures, AND a
# Patches/ dir -- the Rim Disorders integration that marks disorders treatable (conditional, so it
# no-ops without that mod). Miss the Patches/ and treatment silently does nothing to the illness. All
# its files are *_Ward*.xml or under a Ward/ texture subdir, so nothing collides with the others.
if [[ -e "$WARD/Defs" ]]; then
mkdir -p "$HERE/Defs"
cp -r "$WARD/Defs/." "$HERE/Defs/"
@@ -60,6 +62,10 @@ if [[ -e "$WARD/Textures" ]]; then
mkdir -p "$HERE/Textures"
cp -r "$WARD/Textures/." "$HERE/Textures/"
fi
if [[ -e "$WARD/Patches" ]]; then
mkdir -p "$HERE/Patches"
cp -r "$WARD/Patches/." "$HERE/Patches/"
fi
echo "==> done. Assemblies:"
ls -1 "$HERE/Assemblies/" | sed 's/^/ /'