From cf59c02590a7419cacbd7975459aff5a8ff7c989 Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Sun, 29 Nov 2026 17:07:36 +0100 Subject: [PATCH] docs: roadmap follows the Zones and Defaults designs, any-DLC rule Payouts spawn their pod on the cell ZonesApi returns. Ownership lists Castes' full slot list and Blax Defaults. Every release works with any DLC combination. Current release line updated to 1.2 live, 1.2.1 waiting. --- docs/roadmap.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/roadmap.md b/docs/roadmap.md index ea4a70b..8d2d7e5 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -2,7 +2,9 @@ Blax Slaves replaces a dozen dead or conflicting slavery mods with one mod maintained for RimWorld 1.7. You choose slave or colonist when you buy, sell captives by quality or ransom them home, end the rebellion doom timer, and treat slaves in one hospital with control implants, a blood bank and health certificates, every feature with its own toggle. -Current release: 1.1 (allied outlanders and tribes send a slaver caravan on request) is built and waiting for upload to Workshop item 3847282171 (5+ subscribers). +Current release: 1.2 is live on Workshop item 3847282171. 1.2.1 (works with any DLC combination) is built and waiting for upload. + +Every release works with any DLC combination, core only included: features that need a DLC (most of them need Ideology) switch off cleanly without it, show "Needs " in the settings, and are tested with `-NoDlc` and every combination of the installed DLCs. ## At a glance @@ -188,11 +190,11 @@ PrisonerRansom (91k) has no 1.7 build: the largest economic opening on 1.7, so b #### Purchase ledger and payouts - **Players get:** Nothing visible on its own. It stops buy-and-ransom loops and delivers every silver payout from 1.4 on. -- **How:** New GameComponent_BlaxSlaveLedger, the per-pawn store later features reuse (Scribe references, nulls purged on load). A postfix on Tradeable_Pawn.ResolveTrade for PlayerBuys records seller faction, price and tick. This matters because PawnGroupKindWorker_Trader re-factions caravan slaves to the trader's faction and orbital or settlement stock gets a random visible faction, so a bought slave often has a friendly HomeFaction that would pay ransom. GameComponent_BlaxPayments queues silver with a delay. BlaxDelivery.DropSpot(Map, Thing) asks ZonesApi.TryFindDropSpot, falls back to DropCellFinder.TradeDropSpot, and drops with DropPodUtility.DropThingsNear. +- **How:** New GameComponent_BlaxSlaveLedger, the per-pawn store later features reuse (Scribe references, nulls purged on load). A postfix on Tradeable_Pawn.ResolveTrade for PlayerBuys records seller faction, price and tick. This matters because PawnGroupKindWorker_Trader re-factions caravan slaves to the trader's faction and orbital or settlement stock gets a random visible faction, so a bought slave often has a friendly HomeFaction that would pay ransom. GameComponent_BlaxPayments queues silver with a delay. BlaxDelivery.Drop(Map, Thing) asks ZonesApi.TryFindDropSpot and spawns the pod exactly on the returned cell with TradeUtility.SpawnDropPod, one thing per call; DropThingsNear would search a new random cell up to 5 cells away and miss a small zone. Without a zone cell it drops near DropCellFinder.TradeDropSpot with DropPodUtility.DropThingsNear. - **Settings:** none. - **Replaces:** none. - **Effort:** S. -- **Tests:** Buying a stock slave writes a ledger entry with seller faction and price. A queued payment lands after its delay. Without Zones the drop uses TradeDropSpot. Phase 2: ledger and pending payment survive reload. +- **Tests:** Buying a stock slave writes a ledger entry with seller faction and price. A queued payment lands after its delay. Without Zones the drop uses TradeDropSpot. With a Zones delivery zone, the pod falls on the returned zone cell. Phase 2: ledger and pending payment survive reload. - **Risks:** None for players; every payout feature depends on it. #### Slave ship on request @@ -516,9 +518,9 @@ An optional release. It is the riskiest feature and players barely ask for it, s - **Buying needs no call:** buy-mode only sets guest.joinStatus before vanilla Pawn.PreTraded, and Castes classifies by the final status in its own PreTraded scope. - **Not used yet:** CastesApi.CasteIdOf, CasteLabels and PrePick, for the trade-row caste picker in Backlog. -- **Calls into BlaxZones.ZonesApi:** TryFindDropSpot(map, thing, out cell) inside BlaxDelivery.DropSpot for every silver payout (ransom and buy-back in 1.4, order premiums in 2.2, wages in 2.3), with DropCellFinder.TradeDropSpot as fallback. Pawns are never routed into zones: returned runaways and hired-out slaves use the vanilla spot. HasSleepingZoneFor is not used; the shared infirmary only touches Medical beds. +- **Calls into BlaxZones.ZonesApi:** TryFindDropSpot(map, thing, out cell) inside BlaxDelivery.Drop for every silver payout (ransom and buy-back in 1.4, order premiums in 2.2, wages in 2.3). The pod spawns exactly on that cell with TradeUtility.SpawnDropPod, as the ZonesApi contract asks; DropCellFinder.TradeDropSpot with DropThingsNear is the fallback. Payouts follow the zone's orbital checkbox. Pawns are never routed into zones: returned runaways and hired-out slaves use the vanilla spot. TryFindDropSpot and Version are all of ZonesApi version 1; the shared infirmary only touches Medical beds. - **BlaxSlaves.SlavesApi (static):** Version from 1.3. IsSafe(Pawn) from 1.3. Loyalty(Pawn) and TermDaysLeft(Pawn) from 2.1. -- **Ownership:** Castes owns every per-pawn policy default (apparel, food, drug, reading, medical care, schedule, area, hostility, self-tend, carried medicine), so Slaves never sets a policy: the 1.3 medical-care keeper stands down when Castes is loaded, and blood donor and term have no "new slaves" default here. Zones owns sleeping spots, beds by zone and every friendly drop location. Slaves owns slave status, trade, prices, suppression, rebellion, slave medicine and the slave economy. +- **Ownership:** Castes owns every per-pawn policy default (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, area, hostility, self-tend, carried medicine, fire at will, prisoner interaction), so Slaves never sets a policy: the 1.3 medical-care keeper stands down when Castes is loaded, and blood donor and term have no "new slaves" default here. Zones owns sleeping spots, beds by zone and every friendly drop location. Defaults owns the starting settings of storage, bills, crops, buildings, animals and mechs, and what the game forbids when pawns drop gear or die. Slaves owns slave status, trade, prices, suppression, rebellion, slave medicine and the slave economy. - **Shared conventions:** patches applied one class at a time from a [StaticConstructorOnStartup] class with the "[Blax Slaves] N patches applied" log line (already in BlaxSlavesStartup); a ModSettings toggle for every feature; the headless test mod pattern (Tests/BlaxSlavesTests harness, run-tests.ps1), which Castes and Zones copy. ## Backlog