diff --git a/1.7/Assemblies/BlaxCastes.dll b/1.7/Assemblies/BlaxCastes.dll
index 268d9fe..3459a6c 100644
Binary files a/1.7/Assemblies/BlaxCastes.dll and b/1.7/Assemblies/BlaxCastes.dll differ
diff --git a/1.7/Assemblies/BlaxCastes.pdb b/1.7/Assemblies/BlaxCastes.pdb
index faf6b2f..3706e1b 100644
Binary files a/1.7/Assemblies/BlaxCastes.pdb and b/1.7/Assemblies/BlaxCastes.pdb differ
diff --git a/About/About.xml b/About/About.xml
index b87808b..cc9352b 100644
--- a/About/About.xml
+++ b/About/About.xml
@@ -20,15 +20,21 @@
Policy bundles and join defaults. Works without DLCs; slaves need Ideology.
-- A caste bundles an apparel, food, drug and reading policy and a medical care level. Putting a pawn in a caste sets all five in one step.
-- Change a caste's policy and its members follow, except pawns you changed by hand.
+- A caste bundles an apparel, food, drug and reading policy, a medical care level, a daily schedule and work priorities. Putting a pawn in a caste sets every slot the caste manages in one step.
+- Work priorities: set only the work types you pick, such as Firefighting 1 for everyone or Growing 1 for field slaves. Work a pawn cannot do is skipped. Off while an automatic work manager (Work Tab, Free Will, Work Manager, AutoPriorities, WorkRoles) is active.
+- With [1001] Weapons Tab Reborn, a caste can also set the weapon loadout.
+- Change a caste's setting and its members follow, except pawns you changed by hand.
+- Ready-made Colonist, Slave and Prisoner castes, already picked for the ways pawns join. Colonist copies your default policies, so in a new game colonists see no change. An existing save gets them too, and nobody moves until you click "Assign by status".
+- Every status change uses its join row: bought, recruited, enslaved, freed, arrested, released or captured. A pawn you buy arrives with its caste's outfit and food policy already set, and a message names the caste.
+- A colonist or slave that comes back within 60 days (released, bought back) gets its old caste back, with the changes you made by hand.
- Prisoners in a caste get its food policy and medical care only.
-- Assign tab: a Caste column (click a cell, or drag down the column to give several pawns the same caste), and the "Manage castes" and "Defaults" buttons above it. The caste manager works like the vanilla policy windows.
-- Join defaults: pick a caste for bought slaves, bought colonists, new colonists, new slaves and new prisoners. A pawn you buy arrives already wearing its caste's outfit and eating its food, and a message names the caste. Every row starts at No caste, so nothing changes until you pick one.
-- A recruited prisoner can leave the prisoner caste and go back to your default policies.
+- Assign, Schedule and Work tabs: a Caste column (click a cell, or drag down the column to give several pawns the same caste), with a "Manage castes" button above it and, in the Assign and Schedule tabs, "Defaults". The caste manager works like the vanilla policy windows, with a schedule painted like the Schedule tab, a member count, "Apply to all members" and "Assign by status".
- A pawn that leaves your faction leaves its caste.
-- Covers Automatic Slave Outfit, PrisonerDefaults and the join defaults of Better Pawn Control and 1trickPwnyta's Defaults.
-- Turn it off in the mod settings and castes stop changing policies. Removing the mod leaves every pawn on its last policies.
+- Covers Automatic Slave Outfit, PrisonerDefaults and the join, schedule and work defaults of Better Pawn Control and 1trickPwnyta's Defaults, and warns while one of them is active.
+- Turn it off in the mod settings and castes stop changing pawns. Removing the mod leaves every pawn on its last settings.
-Multiplayer: not supported yet.
+Multiplayer: not supported yet.
+
+<color=#19C63C>Made by Blax</color>
+Blax Gaming is a project of Blax Software, an Austrian software practice. We write Austrian-quality code in many fields: web platforms, mobile apps, backends, infrastructure, and the mods we play in our own colonies. www.blax.at
diff --git a/About/Preview.png b/About/Preview.png
index e78c51a..2a4f996 100644
Binary files a/About/Preview.png and b/About/Preview.png differ
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 93b4611..350d061 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,10 +2,16 @@
## 1.0.0
-- Castes: a caste bundles an apparel, food, drug and reading policy and a medical care level. Putting a pawn in a caste sets all five in one step. Prisoners get the food policy and medical care only; quest lodgers skip apparel, drugs and reading; babies skip food.
-- Change a caste's slot and its members follow, except pawns you changed by hand.
-- Caste manager (Assign tab > Manage castes), built on the vanilla policy window: new, duplicate, rename, delete, make default, and per slot a managed checkbox, a dropdown and a pencil that opens the vanilla editor.
-- Caste column in the Assign tab: click a cell or drag down the column to assign. Shows "*" and a tooltip when a pawn's policies differ from its caste, and "(pending)" until a join is applied.
-- Join defaults (Assign tab > Defaults): pick No caste, the default caste or a specific caste for bought slaves, bought colonists, new colonists, new slaves and new prisoners. Every row starts at No caste. A bought slave arrives in its caste, and a message names it. A No caste row takes a pawn out of its old caste and resets its policies. Replaces Automatic Slave Outfit and PrisonerDefaults, and the join defaults of Better Pawn Control, Better Pawn Control Forked and 1trickPwnyta's Defaults.
-- A pawn that leaves your faction leaves its caste. Deleting a caste leaves its members casteless on their current policies.
-- Settings: castes on or off, join defaults, join messages, reset policies when a join removes a caste, the Assign column. While a game is loaded, the settings page also opens the caste manager and the join defaults.
+- Castes: a caste bundles an apparel, food, drug and reading policy, a medical care level, a schedule, work priorities and, with [1001] Weapons Tab Reborn, a weapon loadout. Putting a pawn in a caste sets every slot the caste manages in one step. Prisoners get the food policy and medical care only; quest lodgers skip apparel, drugs, reading and the schedule; babies skip food.
+- Schedule: paint a caste's 24 hours in the caste manager like the vanilla Schedule tab, or copy them from a pawn. Colonists and slaves get it; prisoners keep theirs until they become colonists or slaves.
+- Work priorities: a caste sets only the work types you pick (1 to 4 or off), so every caste can set Firefighting to 1. Work a pawn cannot do is skipped; with manual priorities off, any number means on, and the number is kept for when you turn them on. "Start from nothing" turns all other work off except Patient and Bed rest, so hurt and sick pawns still go to bed. Clicking a work type's button through several values moves only the members that followed it before the first click. Off while Work Tab, Free Will, Work Manager, AutoPriorities or WorkRoles is active.
+- Weapon loadout: with Weapons Tab Reborn active, a caste can hand out a loadout to its colonists and slaves. A loadout deleted in Weapons Tab Reborn becomes unmanaged. Without the mod the row is hidden.
+- Change a caste's slot and its members follow, except pawns you changed by hand. Schedules follow as a whole day, work priorities per work type.
+- Starter castes: a new game starts with Colonist (your default policies), Slave (Slave outfit, Simple food, No drugs) and Prisoner (Simple food), already picked in the join defaults, and the starting colonists in Colonist. Their schedule, work priorities and loadout start unmanaged: set them once on the caste and every member follows. A save without castes gets them once, on load; nobody moves until you click "Assign by status", which asks first because it replaces those pawns' own policies. Without Ideology there is no Slave caste.
+- Caste manager (Assign tab > Manage castes), built on the vanilla policy window: new, duplicate, rename, delete, make default, and per policy a managed checkbox, a dropdown and a pencil that opens the vanilla editor, plus the schedule grid, the work priority buttons and the loadout. Below the slots: the member count and "Apply to all members" (asks first). "Assign by status" puts pawns without a caste into the caste of their status. "Create Slave outfit" shows when the game has none, and a caste with the Slave outfit warns that it has no cold protection.
+- Caste column in the Assign, Schedule and Work tabs (in the Schedule tab right of the timetable, in the Work tab left of the work columns): click a cell or drag down the column to assign; dragging keeps the hand changes of pawns already in that caste. Shows "*" and a tooltip when a pawn's settings differ from its caste, and "(pending)" until a join that changes its caste is applied.
+- Join defaults (Assign tab > Defaults): pick No caste, the default caste or a specific caste for bought slaves, bought colonists, new colonists, new slaves and new prisoners. Every status change goes through these rows: buying, recruiting, enslaving, freeing, arresting, releasing, imprisoning a slave and capturing. A bought slave arrives with its caste's outfit and food policy already set, and a message names the caste. A No caste row takes a pawn out of a caste a join row put it in (a caste you picked by hand stays) and, with Reset policies on, resets the policies it still has from that caste; so does a row that moves it on to a caste that leaves those policies alone. Replaces Automatic Slave Outfit and PrisonerDefaults, and the join, schedule and work defaults of Better Pawn Control, Better Pawn Control Forked and 1trickPwnyta's Defaults.
+- A colonist or slave that leaves, is sold or becomes a prisoner and comes back within 60 days with the same status gets its old caste (or No caste) back, with the changes you made by hand; what the caste it had while away set goes back to how it was.
+- Warnings on the settings page and one message per save when Better Pawn Control, its fork, 1trickPwnyta's Defaults, Automatic Slave Outfit or PrisonerDefaults is active.
+- A pawn that leaves your faction leaves its caste. Deleting a caste leaves its members casteless on their current settings.
+- Settings: castes on or off, work priorities, weapon loadout, join defaults, join messages, reset policies a caste set when a join moves the pawn on, old caste on return and for how many days, starter castes, overlap warnings, the Caste column. While a game is loaded, the settings page also opens the caste manager and the join defaults.
diff --git a/Defs/BlaxCastes_PawnColumns.xml b/Defs/BlaxCastes_PawnColumns.xml
index 07f9e28..75010e0 100644
--- a/Defs/BlaxCastes_PawnColumns.xml
+++ b/Defs/BlaxCastes_PawnColumns.xml
@@ -1,11 +1,11 @@
-
+
BlaxCastes_Caste
- The pawn's caste. A caste sets apparel, food, drug and reading policy and medical care at once. Click a cell to pick a caste, or drag down the column to give several pawns the same one.
+ The pawn's caste. A caste sets apparel, food, drug and reading policy, medical care, schedule, work priorities and weapon loadout at once. Click a cell to pick a caste, or drag down the column to give several pawns the same one.BlaxCastes.PawnColumnWorker_BlaxCastetrue
diff --git a/Languages/English/Keyed/BlaxCastes.xml b/Languages/English/Keyed/BlaxCastes.xml
index 789db8d..4d436f3 100644
--- a/Languages/English/Keyed/BlaxCastes.xml
+++ b/Languages/English/Keyed/BlaxCastes.xml
@@ -9,10 +9,34 @@
DrugsReadingMedical care
+ Schedule
+ Work priorities
+ Weapon loadout
+ Loadout {0} (missing)
+ off
+ -
+ {0} is active and changes work priorities itself, so castes leave work priorities alone.
+
+
+ Colonist
+ Slave
+ Prisoner
+ Blax Castes added the {CASTES} castes and picked them in the join defaults. Nobody moved yet: open Assign > Manage castes and click "Assign by status" to put your pawns into them. Each pawn then gets its caste's policies in place of its own.
+ Blax Castes added the {CASTES} castes and picked them in the join defaults. Nobody moved yet. The Caste column is turned off, so open the Blax Castes mod settings, click Manage castes and then "Assign by status" to put your pawns into them. Each pawn then gets its caste's policies in place of its own.
+ The Slave outfit has no cold protection. In a cold biome, add warm clothes to it or pick another outfit.
+
+
+ These active mods also set policies when a pawn joins:
+ {MOD}: {WHAT}
+ Castes applies a join one tick after it happens, so its caste wins. Turn those options off in the other mod so two mods don't set the same policies.
+ Blax Castes: other active mods also set policies when a pawn joins: {MODS}. Castes applies its caste a tick later, so it wins. Turn those options off in the other mod; see the Blax Castes mod settings.
+ The policies it gives pawns that join
+ Default policies, medical care, schedule and work priorities for new colonists, slaves and prisoners
+ The Slave outfit on new slaves
+ The food policy of new prisonersNo caste
- Default casteBought as slaveBought as colonistNew colonist
@@ -25,15 +49,27 @@
Castes set policies
- Off: castes never change a pawn's apparel, food, drug or reading policy or medical care. Castes and memberships stay in the save.
+ Off: castes never change a pawn's apparel, food, drug or reading policy, medical care, schedule, work priorities or weapon loadout. Castes and memberships stay in the save.
+ Castes set work priorities
+ A caste sets the work priorities you list for it in the caste manager, on its colonists and slaves. Off: castes never change work priorities. Work Tab, Free Will, Work Manager, AutoPriorities and WorkRoles change priorities themselves, so while one of them is active castes leave work priorities alone.
+ Castes set the weapon loadout (Weapons Tab Reborn)
+ A caste can set the Weapons Tab Reborn loadout of its colonists and slaves. A caste that sets it writes it one tick after a pawn joins, so its choice wins over Weapons Tab Reborn's default loadout; a caste that leaves it alone leaves Weapons Tab Reborn in charge. Off: castes never change loadouts.Join defaults
- A pawn that joins (bought, recruited, enslaved or captured) goes into the caste its join row picks. Every row starts at No caste.
+ A pawn that joins or changes status (bought, recruited, enslaved, freed, arrested, released or captured) goes into the caste its join row picks.Message when a joining pawn gets a casteA message names the pawn and its new caste.
- Reset policies when a join takes a pawn out of its caste
- When a pawn's join row is No caste and it was in a caste, its managed policies go back to the defaults and its medical care is reset. Off: it keeps them.
- Caste column in the Assign tab (needs a restart)
- Shows each pawn's caste left of the policy columns. Click a cell to assign a caste.
+ Reset policies a caste set when a join moves the pawn on
+ When a join row takes a pawn out of a caste a join row had put it in, to No caste or to a caste that leaves some policies alone, the policies it still has from the old caste go back to the defaults, and its medical care is reset if the old caste set it. A recruited prisoner then does not keep the prisoner food. Policies you changed by hand stay. Off: it keeps them all. A caste you picked by hand is never taken away by a No caste row.
+ A pawn that comes back gets its old caste
+ When a colonist or slave leaves your faction, is sold or becomes a prisoner, Castes remembers its caste (or No caste) and its own settings. If it comes back with the same status within the days below (a released colonist, a slave you buy back), it gets that caste back instead of its join row's, and keeps what you had changed by hand on it. What the caste it had while it was away set goes back to how it was. An arrested colonist who is then enslaved goes to the new slave row.
+ Days to remember the old caste: {0}
+ After this many days a pawn that comes back uses its join row again.
+ Starter castes: Colonist, Slave and Prisoner
+ A new game starts with Colonist, Slave and Prisoner castes, already picked in the join defaults, and the starting colonists in the Colonist caste. The Colonist caste copies your default policies, so in a new game colonists see no change. A save without castes gets them once, on load, and nobody moves until you click "Assign by status" in the caste manager; that gives each pawn its caste's policies in place of its own. Without Ideology there is no Slave caste.
+ Warn about mods that also set join defaults
+ Names active mods that also set policies when a pawn joins, here and in one message per save.
+ Caste column in the Assign, Schedule and Work tabs (needs a restart)
+ Shows each pawn's caste left of the policy columns, the schedule and the work priorities. Click a cell to assign a caste.Slaves need the Ideology DLC. Without it, castes still work for colonists and prisoners.Reset to defaults
diff --git a/Languages/English/Keyed/BlaxCastes_Join.xml b/Languages/English/Keyed/BlaxCastes_Join.xml
index caae237..455b29b 100644
--- a/Languages/English/Keyed/BlaxCastes_Join.xml
+++ b/Languages/English/Keyed/BlaxCastes_Join.xml
@@ -4,15 +4,15 @@
Pick the caste a pawn goes into when it joins your colony this way. Default caste uses the caste marked as default in the caste manager.Join defaults are off in the mod settings. These picks do nothing until you turn them back on.
- There are no castes yet. Make one in the Assign tab with Manage castes.
+ There are no castes yet. Make one in the Assign tab with Manage castes (or in the mod settings).Default caste ({CASTE})Default caste (none set)A pawn you buy from a trader that joins as a slave.A pawn you buy from a trader that joins as a colonist.
- Any other pawn that becomes a colonist: recruited prisoners, freed slaves, rescued pawns, wanderers and quest joiners.\n\nNo caste: a pawn that was in a caste leaves it, for example a recruited prisoner leaves the prisoner caste.
- Any other pawn that becomes a slave: enslaved prisoners, children raised as slaves and returned runaways.\n\nNo caste: a pawn that was in a caste leaves it.
- Any pawn that becomes your prisoner: captured enemies, quest prisoners and arrested colonists. Prisoners only take the food policy and medical care of a caste.\n\nNo caste: a pawn that was in a caste leaves it.
+ Any other pawn that becomes a colonist: recruited prisoners, freed slaves, released colonists, rescued pawns, wanderers and quest joiners. A pawn that comes back within the days set in the mod settings gets its old caste (or No caste) back instead, with the changes you made by hand.\n\nNo caste: a pawn a join row had put in a caste leaves it, for example a recruited prisoner leaves the prisoner caste.
+ Any other pawn that becomes a slave: enslaved prisoners, children raised as slaves and returned runaways. A slave that comes back within the days set in the mod settings gets its old caste (or No caste) back instead, with the changes you made by hand.\n\nNo caste: a pawn a join row had put in a caste leaves it.
+ Any pawn that becomes your prisoner: captured enemies, quest prisoners, arrested colonists and imprisoned slaves. Prisoners only take the food policy and medical care of a caste.\n\nNo caste: a pawn a join row had put in a caste leaves it.{PAWN_labelShort} joined the {CASTE} caste.
diff --git a/Languages/English/Keyed/BlaxCastes_UI.xml b/Languages/English/Keyed/BlaxCastes_UI.xml
index 8d4f539..72a5a01 100644
--- a/Languages/English/Keyed/BlaxCastes_UI.xml
+++ b/Languages/English/Keyed/BlaxCastes_UI.xml
@@ -2,26 +2,63 @@
- A caste sets several policies at once. Join rows set to "Default caste" use the default caste.
+ A caste sets several policies, the schedule and work priorities at once. Join rows set to "Default caste" use the default caste.Checked: members of this caste get this setting. Unchecked: the caste leaves it alone.
- Changing a setting here also changes it for members that still have the old value. Pawns you changed by hand keep their own.
+ Changing a setting here also changes it for members that still have the old value. Pawns you changed by hand keep their own. Setting something the caste left alone sets it on every member.Could not delete {0}.
- Blax Castes: make castes in Assign > Manage castes, then use the Defaults button to pick the caste new pawns join.
+ Blax Castes: edit your castes in Assign > Manage castes, and use the Defaults button to pick the caste new pawns join.
+ Create Slave outfit
+ The game has no Slave outfit (it was renamed or deleted). Creates one that allows the clothes made for slaves, and sets it as this caste's apparel.
+ Make this the default caste. Join rows set to Default caste use it.
+ Members: {0}
+ Apply to all members
+ Sets every setting this caste manages on every member, including pawns you changed by hand.
+ Set everything {CASTE} manages on every member ({COUNT})? Changes you made by hand on those pawns are lost.
+ Assign by status ({0})
+ Puts every pawn without a caste ({0}) into the caste of its status row in the join defaults: new colonist, new slave or new prisoner. Each pawn gets everything its caste manages, in place of its own policies. Pawns you set to No caste are skipped.
+ Put every pawn without a caste ({COUNT}) into the caste of its status row? Each pawn gets everything its caste manages, such as apparel, food, drug and reading policy, in place of what it has now, including changes you made by hand. This cannot be undone.
+ Pawns put into the caste of their status: {0}.
-
+
+ The Weapons Tab Reborn loadout members get. Members you gave another loadout by hand keep theirs.
+ Weapons Tab Reborn's loadouts could not be read, so castes leave loadouts alone. The game log has the details.
+ Weapon loadouts are turned off in the Blax Castes mod settings.
+
+
+ Pick an activity above, then click or drag over the hours. Members whose schedule matches the caste's follow each change; pawns you changed by hand keep theirs.
+ The caste leaves the schedule alone. Paint an hour, or copy a pawn's schedule, to set one. Painting starts from the game's default schedule, and the first hour you paint gives every member the whole day, in place of its own schedule.
+ Copy from pawn
+ Gives this caste the schedule of one of your colonists or slaves. Members on the caste's old schedule get it too; while the caste left the schedule alone, every member gets it, in place of its own.
+ Stop setting the schedule. Every pawn keeps the schedule it has now.
+ No colonists or slaves with a schedule
+
+
+ Start from nothing
+ When a pawn joins this caste, or you use Reset to caste or Apply to all members, every other work type is turned off first, so the pawn does only the work listed here. These stay as they are, so hurt and sick pawns still go to bed: {KEPT}. List Firefighting if members should still fight fires. It needs at least one work type set below. Ticking the box moves nobody right away.
+ {WORK}: {DESC}
+
+Click to cycle: leave alone (-), 1, 2, 3, 4, off. Members whose priority matched the caste's before your first click follow each click; pawns you changed by hand keep theirs. Pawns that cannot do this work are skipped.
+ Work priorities are turned off in the Blax Castes mod settings.
+ Manual priorities are off in the Work tab, so any number turns the work on. Members keep the number for when you turn manual priorities on.
+
+
Manage castes
- Make castes and choose the policies each one sets.
+ Make castes and choose the policies, schedule and work priorities each one sets.DefaultsChoose the caste a pawn joins when it is bought, recruited, enslaved or captured.NoneNot in a caste.No caste, set by hand. The pawn keeps its current policies.
+ No caste: its caste was deleted. The pawn keeps its current policies.(pending)
- Just joined. Gets its caste on the next tick.
+ Just joined or changed status. Its caste changes on the next tick.Cannot change the caste of temporary faction members.Caste: {0}Different from the caste (changed by hand or by the game):{0}: {1} (caste: {2})
+ {0}: some hours differ
+ {0}: {1}
+ {0} {1} (caste: {2})Click to pick a caste. Drag down the column to give several pawns the same caste.Reset to casteEdit caste
diff --git a/Patches/BlaxCastes_Assign.xml b/Patches/BlaxCastes_Assign.xml
index 8596c73..dc5f8fc 100644
--- a/Patches/BlaxCastes_Assign.xml
+++ b/Patches/BlaxCastes_Assign.xml
@@ -3,7 +3,7 @@
+ taken out again at startup when the Caste column setting is off (CasteColumns.cs). -->
Defs/PawnTableDef[defName="Assign"]/columns/li[text()="HostilityResponse"]
diff --git a/Patches/BlaxCastes_ScheduleWork.xml b/Patches/BlaxCastes_ScheduleWork.xml
new file mode 100644
index 0000000..3a2621c
--- /dev/null
+++ b/Patches/BlaxCastes_ScheduleWork.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+ Defs/PawnTableDef[defName="Restrict"]/columns/li[text()="Timetable"]
+
+ Defs/PawnTableDef[defName="Restrict"]/columns/li[text()="Timetable"]
+ Append
+
+
+
+
+
+
+
+
diff --git a/README.md b/README.md
index 7dcb017..f138690 100644
--- a/README.md
+++ b/README.md
@@ -1,39 +1,54 @@
+
+
# Blax Castes
-RimWorld mod (1.7) by Blax Gaming: policy bundles and join defaults. Every slave you buy needs its apparel, food, drug and reading policy set by hand. Blax Castes bundles those policies into castes such as Slave or Miner slave, and puts each new pawn into the right caste the moment it joins. Needs Harmony. Works without DLCs; slaves need Ideology.
+[](https://rimworldgame.com)
+[](https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077)
+[](#features-10)
+[](docs/design.md)
+
+RimWorld mod (1.7) by Blax Gaming: policy bundles and join defaults. Every slave you buy needs its apparel, food, drug and reading policy, its schedule and its work priorities set by hand. Blax Castes bundles those settings into castes such as Slave or Miner slave, and puts each pawn into the right caste the moment it joins or changes status. Needs Harmony. Works without DLCs; slaves need Ideology.
Design and roadmap: `docs/design.md`.
## Features (1.0)
-- **Castes.** A caste manages up to five slots: apparel, food, drug and reading policy, and medical care. Each slot is either a vanilla policy (or a medical care level) or left alone. Putting a pawn in a caste writes every managed slot through the vanilla setters. `Source/BlaxCastes/Caste.cs`, `CasteUtility.cs`
-- **Per-slot checks.** Apparel, drugs and reading need the pawn's tracker and skip quest lodgers, prisoners and mutants without policies. Food needs a configurable food tracker and skips babies. Medical care needs player settings and a flesh pawn. So a prisoner in a caste gets its food policy and medical care only.
-- **Members follow their caste.** Change a caste's slot and every member still on the old value gets the new one. Members you changed by hand keep theirs. A slot that was left alone and becomes managed reaches every member; a slot that stops being managed changes nobody. Edits inside a policy (the Slave outfit's filter) reach members through the vanilla reference. `Source/BlaxCastes/CasteManager.cs`
-- **Caste manager.** Assign tab > "Manage castes" above the Caste column. It is the vanilla policy manager: the caste list with new, duplicate, rename, delete and make default on the left, and one row per slot on the right with a "managed" checkbox, a dropdown and a pencil that opens the vanilla editor for that policy. Ticking a slot starts it at the game's default policy (or the colonist default medical care). Deleting a caste leaves its members casteless on their current policies, and join rows that pointed at it fall back to No caste. `Source/BlaxCastes/Dialog_ManageCastes.cs`
-- **Caste column.** A Caste column in the Assign tab, left of hostility, medical care and the policy columns. Click a cell for the menu (No caste, every caste, Reset to caste, Edit caste), or drag down the column to give several pawns the same caste. The cell shows the caste, the caste with "*" when one of the pawn's managed policies differs (the tooltip names each slot with both values), "No caste" when you took the pawn out by hand, "None" when it never had one, "(pending)" while a join waits for the next tick, and "Unchangeable" for quest lodgers. The column sorts by caste, pawns without one last. `Source/BlaxCastes/PawnColumnWorker_BlaxCaste.cs`, `Patches/BlaxCastes_Assign.xml`
-- **Join defaults.** Assign tab > "Defaults" above the Caste column. Five rows pick a caste for bought as slave, bought as colonist, new colonist, new slave and new prisoner: No caste, Default caste (the one marked default in the manager) or a specific caste. Every row starts at No caste, so nothing changes until you pick one. Without Ideology the two slave rows are hidden. `Source/BlaxCastes/JoinDefaults.cs`, `Dialog_JoinDefaults.cs`
- - Buying a pawn from a trader uses the bought rows; the pawn's final status picks slave or colonist. Everything else goes by final status: recruiting and freeing to new colonist, enslaving and returned runaways to new slave, capturing, quest prisoners and arrests to new prisoner.
- - Castes applies a join one tick after it happens, after the game's own status-change resets, so its choice wins over mods that set policies in the same call. A bought slave arrives wearing its caste's outfit and eating its food, and a message names the caste.
+- đĻ **Castes.** A caste manages up to eight slots: apparel, food, drug and reading policy, medical care, schedule, work priorities and, with [1001] Weapons Tab Reborn, the weapon loadout. Each slot is set or left alone. Putting a pawn in a caste writes every managed slot through the vanilla setters (and Weapons Tab Reborn's own API for the loadout). `Source/BlaxCastes/Caste.cs`, `CasteUtility.cs`
+- â **Per-slot checks.** Apparel, drugs, reading and the schedule need the pawn's tracker and skip quest lodgers, prisoners and mutants without policies; apparel also skips mutants that wear no apparel, and the schedule skips the mutants the Schedule tab leaves out. Food needs a configurable food tracker and skips babies and mutants without policies. Medical care needs player settings and a flesh pawn. Work priorities and the loadout are for colonists and slaves only. So a prisoner in a caste gets its food policy and medical care only.
+- đ **Schedule.** A caste can carry a full day: 24 hours of anything, work, recreation, sleep or meditate. The manager paints it like the vanilla Schedule tab: pick the activity with the vanilla selector, then click or drag over the hours. "Copy from pawn" takes the schedule of one of your colonists or slaves, and "Leave alone" stops managing it. While the caste leaves the schedule alone, the first painted hour (or a copy) gives every member the whole day; the tooltips say so. A pawn whose whole day matches the caste follows every change; one hour changed by hand and the pawn keeps its own. An hour whose activity no longer exists (Meditate without Royalty, a removed mod) becomes Anything. `Source/BlaxCastes/ScheduleSlot.cs`
+- đ ī¸ **Work priorities.** A caste sets only the work types you pick, each to 1, 2, 3, 4 or off; the rest stay as they are. So every caste can set Firefighting to 1, and a Field slave caste Growing 1 and Plant cutting 2. Work types a pawn cannot do are skipped. With manual priorities off, any number means on; Castes still stores the caste's number, so turning manual priorities on later leaves every member following its caste. "Start from nothing" turns every other work type off first, for castes that should do only their listed work; Patient and Bed rest stay as they are, because they are how a hurt or sick colonist or slave goes to bed. The Follow rule works per work type. The slot turns itself off while Work Tab, Free Will, Work Manager, AutoPriorities or WorkRoles is active, because those set priorities all the time. `Source/BlaxCastes/WorkSlot.cs`
+- đĄī¸ **Weapon loadout.** With [1001] Weapons Tab Reborn active, a caste can set the pawn's weapon loadout: a Guard caste the rifle loadout, a Slave caste the unarmed one. Without the mod the row is hidden. Castes calls the API Weapons Tab Reborn publishes for Better Pawn Control, found by reflection; if that API is missing or fails, the slot turns itself off with one warning in the log. A loadout deleted in Weapons Tab Reborn becomes unmanaged in the caste, with one warning. `Source/BlaxCastes/WeaponsTab.cs`
+- đ **Members follow their caste.** Change a caste's slot and every member still on the old value gets the new one. Members you changed by hand keep theirs. A slot that was left alone and becomes managed reaches every member; a slot that stops being managed changes nobody. Edits inside a policy (the Slave outfit's filter) reach members through the vanilla reference. `Source/BlaxCastes/CasteManager.cs`
+- đą **Starter castes.** A new game starts with three castes, already picked in the join defaults: Colonist (your current default apparel, food, drug and reading policy, medical care left alone), Slave (the Slave outfit, Simple food, No drugs; reading and medical care left alone) and Prisoner (Simple food). Bought and new colonists use Default caste, which is Colonist; bought and new slaves use Slave; new prisoners use Prisoner. The starting colonists go into Colonist, so their policies do not change. Policies are found by their starting names (No drugs by its source def); one that was renamed or deleted leaves its slot alone. Without Ideology there is no Slave caste and the slave rows stay at No caste. A save without castes gets the starter castes once, on load, with one message (it points to the mod settings while the Caste column is off); nobody moves until you click "Assign by status", which gives each pawn its caste's policies in place of its own. `Source/BlaxCastes/StarterCastes.cs`
+- đī¸ **Caste manager.** Assign tab > "Manage castes" above the Caste column. It is the vanilla policy manager: the caste list with new, duplicate, rename, delete and make default on the left, and on the right a scrolling list of the slots: one row per policy with a "managed" checkbox, a dropdown and a pencil that opens the vanilla editor for that policy, the weapon loadout row while Weapons Tab Reborn is active, the schedule grid and a cycle button per work type (leave alone, 1, 2, 3, 4, off) with "Start from nothing". Clicking a cycle button several times in a row moves only the members that followed the work type before the first click, so a pawn you set by hand to a value the cycle passes through keeps it. Ticking a slot starts it at the game's default policy (or the colonist default medical care, or Weapons Tab Reborn's default loadout). The work priorities are greyed out, with a note, while the setting is off or an automatic work manager is active. Below the slots: the member count and "Apply to all members", which asks first, naming the count, and then sets every managed slot on every member, hand changes included. Next to the close button, "Assign by status (N)" shows while pawns without a caste exist: it asks first, because it replaces those pawns' own policies with their caste's, then puts each into the caste of its new colonist, new slave or new prisoner row, and skips pawns you set to No caste. "Make default" explains the default caste in its tooltip. When the game has no Slave outfit, a "Create Slave outfit" button makes one. A caste using the Slave outfit warns that it has no cold protection. Deleting a caste leaves its members casteless on their current policies, and join rows that pointed at it fall back to No caste. `Source/BlaxCastes/Dialog_ManageCastes.cs`
+- đ **Caste column.** A Caste column in the Assign tab, left of hostility, medical care and the policy columns; the same column sits right of the timetable in the Schedule tab (clear of the tab's activity selector) and left of the work columns in the Work tab. In the Work tab only "Manage castes" sits above it, so the header keeps the work columns' height. Click a cell for the menu (No caste, every caste, Reset to caste, Edit caste), or drag down the column to give several pawns the same caste; pawns already in that caste keep their hand changes while you drag. The cell shows the caste, the caste with "*" when one of the pawn's managed slots differs (the tooltip names each slot with both values; for the schedule it says "Schedule", for work priorities it names each work type that differs), "No caste" when you took the pawn out by hand or its caste was deleted, "None" when it is not in a caste, "(pending)" while a join will change its caste on the next tick, and "Unchangeable" for quest lodgers. The first click on the header sorts by caste, pawns without one last; the second click reverses it. `Source/BlaxCastes/PawnColumnWorker_BlaxCaste.cs`, `CasteColumns.cs`, `Patches/BlaxCastes_Assign.xml`, `Patches/BlaxCastes_ScheduleWork.xml`
+- đĒ **Join defaults and status changes.** Assign tab > "Defaults" above the Caste column. Five rows pick a caste for bought as slave, bought as colonist, new colonist, new slave and new prisoner: No caste, Default caste (the one marked default in the manager) or a specific caste. Without Ideology the two slave rows are hidden. `Source/BlaxCastes/JoinDefaults.cs`, `Dialog_JoinDefaults.cs`
+ - Buying a pawn from a trader uses the bought rows; the pawn's final status picks slave or colonist. Every other change between colonist, slave and prisoner goes by the final status: recruiting, freeing a slave and releasing an arrested colonist to new colonist; enslaving and returned runaways to new slave; capturing, quest prisoners, arresting a colonist and imprisoning a slave to new prisoner.
+ - Castes applies a join one tick after it happens, after the game's own status-change resets, so its choice wins over mods that set policies in the same call. A bought slave arrives with its caste's outfit and food policy already set, and a message names the caste.
- A caste you pick by hand before the join is applied wins over the row. A pawn sold or released before then is dropped.
- - A No caste row takes a pawn out of the caste it was in. With "Reset policies" on, the caste's managed policies go back to the game defaults and medical care is reset, so a recruited prisoner does not keep the prisoner food. This also applies to an arrested colonist while the new prisoner row is No caste.
+ - A No caste row takes a pawn out of a caste a join row had put it in; a caste you picked by hand stays. With "Reset policies" on, the policies it still has from that caste go back to the game defaults (medical care to the game's default for its status, if the caste set it); policies you changed by hand stay. The same happens when a row moves a pawn on from a row-set caste to a caste that leaves some of those policies alone, so a recruited prisoner does not keep the prisoner food. The schedule, work priorities and loadout have no game default and stay as they are.
- Babies, quest lodgers and mutants without policies are skipped.
-- **Leaving.** A pawn that leaves your faction (sold, released, gone to another faction) leaves its caste on the next tick, and a check every 2500 ticks catches the rest. Its policies stay as they are.
-- **First load.** A new game, or the first load of a save with Castes, posts one message that points to Assign > Manage castes.
-- **Settings.** `enabled` (off: castes never write a policy; castes and memberships stay in the save), `enableJoinDefaults`, `joinMessages`, `revertOnLeave` ("Reset policies when a join takes a pawn out of its caste"), `showAssignColumn` (needs a restart). All on by default. While a game is loaded, the settings page also has "Manage castes" and "Join defaults" buttons, the way in while the column is off. `Source/BlaxCastes/BlaxCastesMod.cs`
+- âŠī¸ **The old caste comes back.** When a colonist or slave leaves your faction, is sold or becomes a prisoner, Castes remembers its caste (or No caste, if you set that) and its own settings from just before the change. If it comes back within 60 days (a setting) with the same status, it gets that caste back instead of its row's: an arrested Miner who is released is a Miner again, a Miner slave you sell and buy back is a Miner slave again, and a pawn you set to No caste is back at No caste. It keeps what you had changed by hand: settings that followed the caste get the caste's current value, settings you had changed get your value back. What the caste it had while it was away set (the prisoner caste's food) goes back to how it was. An arrested colonist who is then enslaved goes to the new slave row. Records are saved with the game, keyed by the pawn's ID, and dropped when they are older than the setting or their caste is deleted.
+- đ **Leaving.** A pawn that leaves your faction (sold, released, gone to another faction) leaves its caste on the next tick, and a check every 2500 ticks catches the rest. Its policies stay as they are.
+- â ī¸ **Overlap warnings.** If Better Pawn Control, Better Pawn Control Forked, 1trickPwnyta's Defaults, Automatic Slave Outfit or PrisonerDefaults is active, the settings page names it and what it sets, and one message per save suggests turning those options off. Castes still wins, because it applies a tick later. Detection only; Castes patches none of them. `Source/BlaxCastes/OverlapWarnings.cs`, `Compat.cs`
+- đŦ **First load.** A new game, or the first load of a save that already has castes, posts one message that points to Assign > Manage castes.
+- âī¸ **Settings.** `enabled` (off: castes never write a policy, schedule, work priority or loadout; castes and memberships stay in the save), `manageWorkPriorities`, `manageWeaponLoadout` (shown while Weapons Tab Reborn is active), `enableJoinDefaults`, `joinMessages`, `revertOnLeave` ("Reset policies a caste set when a join moves the pawn on"; only governs that revert), `returnToPreviousCaste` and `formerCasteDays` (60), `seedStarterCastes`, `warnOverlaps`, `showAssignColumn` (the Caste column in the Assign, Schedule and Work tabs; needs a restart). All toggles are on by default. While a game is loaded, the settings page also has "Manage castes" and "Join defaults" buttons, the way in while the column is off. `Source/BlaxCastes/BlaxCastesMod.cs`
-Save safety: all state lives in one game component (`GameComponent_BlaxCastes`), nothing is stored on vanilla objects, and the only vanilla data Castes writes is each pawn's own policy fields. Memberships drop pawns that are discarded or destroyed without being dead, on every save and after loading. A policy that left its database (a mod deleting it without `TryDelete`, or a delete in a vanilla editor opened from the manager) becomes unmanaged with one warning per caste. Joins waiting for the next tick are saved with the game. Adding the mod to a running save works; removing it leaves every pawn on its last policies and one "type not found" line for the component.
+đž Save safety: all state lives in one game component (`GameComponent_BlaxCastes`), nothing is stored on vanilla objects, and the only vanilla data Castes writes is each pawn's own policies, medical care, timetable and work priorities (and its Weapons Tab Reborn loadout, through that mod's API). Schedules and work priorities are saved as def names and loadouts as ids, never as references. Memberships drop pawns that are discarded or destroyed without being dead, on every save and after loading. A policy that left its database (a mod deleting it without `TryDelete`, or a delete in a vanilla editor opened from the manager) or a loadout Weapons Tab Reborn no longer has becomes unmanaged with one warning per caste; a schedule hour whose activity is gone becomes Anything, and a work type that is gone is dropped, each with one warning. Without Weapons Tab Reborn a caste keeps its loadout id for when the mod comes back. Joins waiting for the next tick are saved with the game. Former-caste records are keyed by the pawn's ID, not by reference. Adding the mod to a running save works. Removing it leaves every pawn on its last policies; the next load logs two red errors for the missing component ("Could not find class BlaxCastes.GameComponent_BlaxCastes" and "Can't load abstract class Verse.GameComponent"). They do no harm and go away once the game is saved again.
-Replaces: Automatic Slave Outfit and PrisonerDefaults, the join defaults of Better Pawn Control, Better Pawn Control Forked and 1trickPwnyta's Defaults, and partly Save My Settings (clothing and food presets per pawn).
+Replaces: Automatic Slave Outfit and PrisonerDefaults, the join, schedule and work defaults of Better Pawn Control, Better Pawn Control Forked and 1trickPwnyta's Defaults, the joiner work priorities of Plug and Play Joiner, and partly Save My Settings (clothing and food presets per pawn).
Compat:
-- Blax Slaves: its buy-as-slave-or-colonist button lands in the right bought row, and returned runaways land in the new slave row. Castes calls nothing in Blax Slaves.
-- Trade as Slave or Colonist: same as Blax Slaves' buy mode.
-- Better Pawn Control, its fork and 1trickPwnyta's Defaults have join defaults of their own. Castes applies a tick after the join, so its row wins. Turn theirs off so two mods don't write the same policies.
-- Tested next to Hospitality, Custom Prisoner Interactions and Prisoner Realism.
-- Numbers builds its own tables, so the Caste column shows only in the vanilla Assign tab.
+- Blax Slaves: its buy-as-slave-or-colonist button lands in the right bought row, and returned runaways land in the new slave row (or their old caste). Castes calls nothing in Blax Slaves.
+- Trade as Slave or Colonist: same as Blax Slaves' buy mode. Blax Slaves' buy mode stands down while it is active.
+- Better Pawn Control, its fork, 1trickPwnyta's Defaults, Automatic Slave Outfit and PrisonerDefaults set policies of their own when a pawn joins. Castes applies a tick after the join, so its row wins, and it warns while one of them is active. Turn theirs off so two mods don't write the same policies.
+- [1001] Weapons Tab Reborn: the weapon loadout slot. It has no 1.7 build; 1.7 loads its 1.6 assembly, and its loadout API works there. A caste that sets the loadout writes it a tick after a join, so it wins over Weapons Tab Reborn's default loadout; a caste that leaves it alone leaves Weapons Tab Reborn in charge.
+- Work Tab, Free Will, Work Manager, AutoPriorities and WorkRoles set work priorities themselves, so while one of them is active the work priorities slot is off and greyed out in the manager.
+- Tested next to Hospitality, Custom Prisoner Interactions, Prisoner Realism and Weapons Tab Reborn.
+- Numbers builds its own tables, so the Caste column shows only in the vanilla Assign, Schedule and Work tabs.
-Not supported yet: multiplayer, animal castes. Ready-made castes, a caste button on selected pawns and overlap warnings come in 1.1.
+Not supported yet: multiplayer, animal castes. A caste button on selected pawns comes in 1.1.
## Development
@@ -65,20 +80,37 @@ Workshop art (`About/Preview.png`, `About/ModIcon.png`) is rendered from `Source
### Tests
-`Tests/BlaxCastesTests` is a separate test mod. `Tests/run-tests.ps1` builds both projects, links the test mod into the game's Mods folder for the run, and starts RimWorld headless (`-headless -quicktest -blaxcastestests`, no window) with its own save data folder in `%TEMP%\BlaxCastesTest`, so your mod list, saves and settings stay untouched. The suite runs in a quick-test colony, saves and reloads the game, runs the persistence tests, writes `BlaxCastesTestResults.txt` and quits. It takes under a minute and needs Steam running.
+`Tests/BlaxCastesTests` is a separate test mod. `Tests/run-tests.ps1` builds both projects, links the test mod into the game's Mods folder for the run, and starts RimWorld headless (`-headless -quicktest -blaxcastestests`, no window) with its own save data folder in `%TEMP%\BlaxCastesTest`, so your mod list, saves and settings stay untouched. Every run starts from default mod settings. The suite runs in a quick-test colony, saves and reloads the game, runs the persistence tests, writes `BlaxCastesTestResults.txt` and quits. It takes under a minute and needs Steam running.
```powershell
.\Tests\run-tests.ps1 # refuses while RimWorld is open
.\Tests\run-tests.ps1 -AllowWhileRunning # runs next to an open game, at below-normal priority
.\Tests\run-tests.ps1 -AllowWhileRunning -Compat -NoBuild
+.\Tests\run-tests.ps1 -AllowWhileRunning -Compat -Tasoc -NoBuild
+.\Tests\run-tests.ps1 -AllowWhileRunning -NoDlc -NoBuild
```
If PowerShell blocks scripts, run it as `powershell -ExecutionPolicy Bypass -File .\Tests\run-tests.ps1 -AllowWhileRunning`.
-`-Compat` also loads Blax Slaves and the installed mods Castes overlaps with (Hospitality, Trade as Slave or Colonist, Custom Prisoner Interactions, Prisoner Realism), in the load order Castes, then Slaves. `-NoBuild` skips the build. Only one run at a time: a lock file in the data folder holds the running script's process id, and a lock left by a dead process is taken over. `Mods\BlaxCastes` must be a junction to this repo; the script creates it if missing and stops if a real folder is in the way. Exit code 0 means all passed, 1 failures, 2 the run didn't finish (see `game.log` and `game.err.log` in the data folder).
+- `-Compat` also loads Blax Slaves and the installed mods Castes is tested next to (Hospitality, Custom Prisoner Interactions, Prisoner Realism, Weapons Tab Reborn), in the load order Castes, then Slaves. Trade as Slave or Colonist stays out, so the buy-mode test drives Blax Slaves' own buy mode. The loadout tests run only here; without Weapons Tab Reborn they skip, and one test checks the slot stays off.
+- `-Tasoc` adds Trade as Slave or Colonist; Blax Slaves' buy mode stands down for it, and the buy-mode test drives that mod instead.
+- `-NoDlc` runs on the core game alone; `-Dlc Royalty,Biotech` loads only the named installed DLCs. Every installed DLC is still listed as known, so the game does not switch a left-out one on.
+- `-NoBuild` skips the build.
-Tests are `public static void` methods marked `[BlaxTest("area: what", phase: 1)]`, using `T` for assertions and `Fixtures` for colonists, prisoners, slaves, quest lodgers, babies, castes, policies and ticks. Phase 2 runs after the save and reload; carry ids through `T.Carry`, or `T.CarryAtSave` for values later phase-1 tests may still change. Without Ideology the slave tests skip; without Biotech the baby tests skip. The buy-mode compat test needs `-Compat`. Headless runs have no GUI, so the tests drive the logic behind the windows and the column; drawing is checked by hand.
+The mods whose join defaults overlap with Castes (Better Pawn Control, its fork, 1trickPwnyta's Defaults, Automatic Slave Outfit, PrisonerDefaults) and the automatic work managers are not installed on the test machine. Their package ids were read from each mod's About.xml in its public source repository (listed in `Source/BlaxCastes/Compat.cs`), and the overlap and work manager tests inject an id into the detection list.
+
+A test fails when Blax Castes logs an error, or when an error's stack passes through the mod or the test code. Errors another mod logs from its own code while a test ticks the game are listed as `LOGERR` lines instead; the harness keeps a short list of them (`KnownForeignErrors` in `Harness.cs`). Today that is Weapons Tab Reborn's "tried to equip loadout" error, which it logs once for the first pawn of another faction that thinks.
+
+Only one run at a time: a lock file in the data folder holds the running script's process id, and a lock left by a dead process is taken over. `Mods\BlaxCastes` must be a junction to this repo; the script creates it if missing and stops if a real folder is in the way. Exit code 0 means all passed, 1 failures, 2 the run didn't finish (see `game.log` and `game.err.log` in the data folder).
+
+Tests are `public static void` methods marked `[BlaxTest("area: what", phase: 1)]`, using `T` for assertions and `Fixtures` for colonists, prisoners, slaves, quest lodgers, babies, castes, policies, ticks and queued joins. Phase 2 runs after the save and reload; carry ids through `T.Carry`, or `T.CarryAtSave` for values later phase-1 tests may still change. Without Ideology the slave tests skip; without Biotech the baby tests skip. The buy-mode compat test needs `-Compat` or `-Tasoc`, the loadout tests `-Compat`. Headless runs have no GUI, so the tests drive the logic behind the windows and the column; drawing is checked by hand.
Useful 1.7 switches for manual runs: `-quicktest` (straight into a generated colony), `-headless`, `-savedatafolder=`, `-QuitAfterBoot`, `-NoFileLog`.
-A decompiled copy of the 1.7 game code for reference lives outside the repo in `..\rimworld-src-1.7` (never commit or publish it).
+---
+
+## Made by Blax
+
+[](https://www.blax.at)
+
+đ ī¸ **Blax Gaming** is a project of **[Blax Software](https://www.blax.at)**, an Austrian software practice. We write Austrian-quality code in many fields: web platforms, mobile apps, backends, infrastructure, and the mods we play in our own colonies. Need something built? đ [www.blax.at](https://www.blax.at)
diff --git a/Source/Art/README.md b/Source/Art/README.md
index 9b910a3..4ef5cf3 100644
--- a/Source/Art/README.md
+++ b/Source/Art/README.md
@@ -1,6 +1,6 @@
# Preview art
-`preview.html` renders `About/Preview.png` (1280x720) and `icon.html` renders `About/ModIcon.png` (256x256) from `icon.svg`. Both follow the Blax CI from https://www.blax.at/ui-ci and match Blax Slaves' art, so the mods read as one label: Blax black `#050805`, Blax green `#19C63C`, logo gray `#CDCDCD`, Geist for the title and subtitle. `geist.woff2` is the file blax.at self-hosts (SIL Open Font License); icons are lucide (ISC license).
+`preview.html` renders `About/Preview.png` (1280x720) and `icon.html` renders `About/ModIcon.png` (256x256) from `icon.svg`. Both follow the Blax CI from https://www.blax.at/ui-ci and match Blax Slaves' art, so the mods read as one label: Blax black `#050805`, Blax green `#19C63C`, logo gray `#CDCDCD`, Geist for the title and subtitle, Rajdhani for the "Blax Gaming" wordmark. `geist.woff2` and `rajdhani-700.woff2` are the files blax.at self-hosts (SIL Open Font License); icons are lucide (ISC license).
The preview's right column shows three join rows (new colonist, bought slave, new prisoner), each pointing at the policy bundle its caste sets: apparel, food, drugs, reading and medical care. Green slots are managed, gray ones are left alone. The icon is the Blax monogram with a green "layers" badge, so it stands apart from Blax Slaves' plain monogram in the mod list.
diff --git a/Source/Art/fonts/rajdhani-700.woff2 b/Source/Art/fonts/rajdhani-700.woff2
new file mode 100644
index 0000000..59012d4
Binary files /dev/null and b/Source/Art/fonts/rajdhani-700.woff2 differ
diff --git a/Source/Art/preview.html b/Source/Art/preview.html
index f699f77..2217d50 100644
--- a/Source/Art/preview.html
+++ b/Source/Art/preview.html
@@ -4,6 +4,7 @@