docs: decisions of 2026-12-01

This commit is contained in:
Fabian @ Blax Software 2026-12-01 19:48:12 +01:00
parent acba29ac1b
commit 5342f075eb
2 changed files with 16 additions and 11 deletions

View File

@ -4,6 +4,11 @@ Every new shelf starts at Preferred and pulls meals out of the freezer, every ne
Status: 1.0 and 1.1 (forbid rules) are on the Workshop, 1.1.0 since 2026-11-30. The other areas are designed, no code yet. [features.md](features.md) is the plan of record for scope and order and lists the features new in it. Checked against the RimWorld 1.7.5021 game code on 2026-11-29. RimWorld 1.7, package id `blax.defaults`. It keeps nothing in the save, so it can be added to or removed from a running colony at any time. Status: 1.0 and 1.1 (forbid rules) are on the Workshop, 1.1.0 since 2026-11-30. The other areas are designed, no code yet. [features.md](features.md) is the plan of record for scope and order and lists the features new in it. Checked against the RimWorld 1.7.5021 game code on 2026-11-29. RimWorld 1.7, package id `blax.defaults`. It keeps nothing in the save, so it can be added to or removed from a running colony at any time.
Changes on 2026-12-01, Fabian's decisions ([features.md](features.md), "Decided 2026-12-01"):
- No play settings for new colonies: they stay in Cut, and the New maps area keeps its one step.
- The ownership list drops its open-question marks: Castes keeps the slave interaction mode a new slave starts on and the per-caste values sibling mods register, Zones' line reads "per-cell work and path rules", and Laws gives back the slave status a sentence took. The Zones section below follows.
Changes on 2026-12-01, the five Blax plans checked against each other: Changes on 2026-12-01, the five Blax plans checked against each other:
- "Works with the other Blax mods" carries the full ownership list, the same in all five design docs, with a Laws line; the Castes paragraph names Laws' prisoner mode exception. The two open sibling doc changes from the plan review are done, and the Castes button rename is planned in Castes' features.md. - "Works with the other Blax mods" carries the full ownership list, the same in all five design docs, with a Laws line; the Castes paragraph names Laws' prisoner mode exception. The two open sibling doc changes from the plan review are done, and the Castes button rename is planned in Castes' features.md.
@ -704,12 +709,12 @@ Designed, no code yet.
- Package ids: `blax.slaves`, `blax.castes`, `blax.zones`, `blax.defaults`, `blax.laws` (Laws is designed, not built). No hard dependencies. Defaults lists no sibling in About.xml and no sibling lists Defaults, so the load order doesn't matter. Defaults offers no API in 1.x. - Package ids: `blax.slaves`, `blax.castes`, `blax.zones`, `blax.defaults`, `blax.laws` (Laws is designed, not built). No hard dependencies. Defaults lists no sibling in About.xml and no sibling lists Defaults, so the load order doesn't matter. Defaults offers no API in 1.x.
- Detection: one Compat helper, `ModLister.GetActiveModWithIdentifier(id, ignorePostfix: true)`. Sibling APIs are bound by reflection (`AccessTools.TypeByName`, `AccessTools.Method`) into cached delegates at startup; a missing sibling or method is a silent no-op. - Detection: one Compat helper, `ModLister.GetActiveModWithIdentifier(id, ignorePostfix: true)`. Sibling APIs are bound by reflection (`AccessTools.TypeByName`, `AccessTools.Method`) into cached delegates at startup; a missing sibling or method is a silent no-op.
- Ownership, the same list in all five Blax design docs; a part that waits on Fabian's answer names the open question: - Ownership, the same list in all five Blax design docs:
- Castes: every per-pawn policy default of colonists, slaves and prisoners (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction except the Maintain only and Release modes Laws sets on colonists it jailed), and the planned ones: the cold-weather apparel policy, the Combat Extended loadout, the Royalty and Biotech switches (room and apparel requirements, psyfocus target, entropy limit, hemogen pack use, deathrest auto-wake), the slave interaction mode a new slave starts on (Castes' open question 2) and per-caste values other Blax mods register, which those mods apply (Castes' open question 1). - Castes: every per-pawn policy default of colonists, slaves and prisoners (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction except the Maintain only and Release modes Laws sets on colonists it jailed), and the planned ones: the cold-weather apparel policy, the Combat Extended loadout, the Royalty and Biotech switches (room and apparel requirements, psyfocus target, entropy limit, hemogen pack use, deathrest auto-wake), the slave interaction mode a new slave starts on and per-caste values other Blax mods register, which those mods apply.
- Zones: sleeping spots, beds by zone, every friendly drop location and per-cell work rules (work rule areas), with path rules on those areas (Zones' open question 3); it never changes a pawn's work priorities or allowed area. - Zones: sleeping spots, beds by zone, every friendly drop location and per-cell work and path rules (work rule areas); it never changes a pawn's work priorities or allowed area.
- Slaves: slave status (except the status Laws gives back to a slave it jailed, Laws' open question 1), the slave interaction modes (vanilla's plus Recruit and Convert), trade, prices, suppression, rebellion, slave medicine and the slave economy. Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot`, with `DropCellFinder.TradeDropSpot` as fallback. Pawns are never routed into zones. - Slaves: slave status (except the status Laws gives back to a slave it jailed), the slave interaction modes (vanilla's plus Recruit and Convert), trade, prices, suppression, rebellion, slave medicine and the slave economy. Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot`, with `DropCellFinder.TradeDropSpot` as fallback. Pawns are never routed into zones.
- Defaults: starting settings of vanilla stockpiles and growing zones, storage buildings, production bills, workbenches, buildings, animals and mechs, the named areas a new map starts with, and what the game forbids when pawns go down, die or are stripped. It writes when something is made or joins, and through its opt-in forbid rules when a pawn goes down, dies or is stripped. It keeps nothing in the save. - Defaults: starting settings of vanilla stockpiles and growing zones, storage buildings, production bills, workbenches, buildings, animals and mechs, the named areas a new map starts with, and what the game forbids when pawns go down, die or are stripped. It writes when something is made or joins, and through its opt-in forbid rules when a pawn goes down, dies or is stripped. It keeps nothing in the save.
- Laws: the colony's lawbook (which acts are crimes, at which stage, how severe and how they are punished), cases, sentences, trials, judges, attorneys and law votes. It acts through vanilla arrest, capture, release and guilt plus its own non-lethal subdue job, and talks colonists and slaves out of a break, except slaves while Slaves' wardens calm breaks. For the colonists it jailed, and only for them, it writes the prisoner interaction mode (Maintain only after the arrest, Release when the sentence ends) and gives back what the sentence took: bed, grave, throne, deathrest casket, ideoligion role, mech work modes and the weapon the arrest dropped. It puts a slave it jailed back into slavery (Laws' open question 1). It never sets policies, work priorities, allowed areas, zones or suppression. It keeps its state in one GameComponent. - Laws: the colony's lawbook (which acts are crimes, at which stage, how severe and how they are punished), cases, sentences, trials, judges, attorneys and law votes. It acts through vanilla arrest, capture, release and guilt plus its own non-lethal subdue job, and talks colonists and slaves out of a break, except slaves while Slaves' wardens calm breaks. For the colonists it jailed, and only for them, it writes the prisoner interaction mode (Maintain only after the arrest, Release when the sentence ends) and gives back what the sentence took: bed, grave, throne, deathrest casket, ideoligion role, mech work modes and the weapon the arrest dropped. It puts a slave it jailed back into slavery. It never sets policies, work priorities, allowed areas, zones or suppression. It keeps its state in one GameComponent.
### Blax Castes: how Defaults defers ### Blax Castes: how Defaults defers
@ -725,7 +730,7 @@ Castes owns every humanlike player pawn: colonists, slaves and prisoners, their
### Blax Zones ### Blax Zones
- Ownership: Zones owns sleeping spots, beds by zone, every friendly drop location and per-cell work rules (work rule areas); it never changes a pawn's work priorities or allowed area. - Ownership: Zones owns sleeping spots, beds by zone, every friendly drop location and per-cell work and path rules (work rule areas); it never changes a pawn's work priorities or allowed area.
- Of the zone designators, Defaults hooks only `Designator_ZoneAddStockpile` (since 1.0) and `Designator_ZoneAdd_Growing` (growing). Zones' delivery and sleeping zones subclass `Zone` and `Designator_ZoneAdd` directly and use their own tabs (`ITab_Delivery` for delivery zones, the animal-zone and people-zone tabs for sleeping zones), so no Defaults hook or button reaches them. - Of the zone designators, Defaults hooks only `Designator_ZoneAddStockpile` (since 1.0) and `Designator_ZoneAdd_Growing` (growing). Zones' delivery and sleeping zones subclass `Zone` and `Designator_ZoneAdd` directly and use their own tabs (`ITab_Delivery` for delivery zones, the animal-zone and people-zone tabs for sleeping zones), so no Defaults hook or button reaches them.
- Zones' "Receive deliveries", sell and direct-delivery flags live in Zones' MapComponent, keyed by zone ID and ThingID. "Make default" never reads or copies them, and a new stockpile starts unflagged, as Zones decides. - Zones' "Receive deliveries", sell and direct-delivery flags live in Zones' MapComponent, keyed by zone ID and ThingID. "Make default" never reads or copies them, and a new stockpile starts unflagged, as Zones decides.
- Zone beds are spawned by Zones' `AddCell`, not by a frame, so the build scope never sees them. - Zone beds are spawned by Zones' `AddCell`, not by a frame, so the build scope never sees them.
@ -787,7 +792,7 @@ Laws is designed, not built. Its package id is `blax.laws`; Defaults lists it no
- A per-colony override ("this colony differs") and multiplayer, moved from the backlog on 2026-12-01: both need the active defaults in the save, and Defaults keeps nothing there. Multiplayer would also need a 1.7 build of the Multiplayer mod to test. - A per-colony override ("this colony differs") and multiplayer, moved from the backlog on 2026-12-01: both need the active defaults in the save, and Defaults keeps nothing there. Multiplayer would also need a 1.7 build of the Multiplayer mod to test.
- Storyteller, difficulty, world seed and faction presets for new colonies (2026-12-01): a new-game screen tool, not a starting setting of something the player makes, and the bulk that made players find 1trickPwnyta's Defaults too big (Castes' Cut). Save Storyteller Settings (3744418945, 31,979, no 1.7) covers the storyteller part. - Storyteller, difficulty, world seed and faction presets for new colonies (2026-12-01): a new-game screen tool, not a starting setting of something the player makes, and the bulk that made players find 1trickPwnyta's Defaults too big (Castes' Cut). Save Storyteller Settings (3744418945, 31,979, no 1.7) covers the storyteller part.
- Play settings and medical defaults for new colonies (cut after the plan review, 2026-12-01; features.md's open question 1 asks Fabian whether to take them back): auto home area, auto rebuild, zone visibility and the default medical care for tame animals, wildlife and entities are a new-game screen tool too, for the reason above, and pay off once per colony while our colonies run for years. Manual work priorities (`PlaySettings.useWorkPriorities`, RimWorld/PlaySettings.cs:48) changes how every colonist's work priorities work, which Castes' work slot reads, so it is Castes' ground. Medical care for other factions' pawns sets what humanlike guests and downed raiders get. Tame-animal care is the fallback of "Medical care per species". Save Storyteller Settings and New Game Plus (23k) show demand for new-game setup; the unofficial Defaults 1.7 repack (3836680679, 145, 1.7) still carries these settings. - Play settings and medical defaults for new colonies (cut after the plan review, 2026-12-01, and kept out by Fabian's decision the same day): auto home area, auto rebuild, zone visibility and the default medical care for tame animals, wildlife and entities are a new-game screen tool too, for the reason above, and pay off once per colony while our colonies run for years. Manual work priorities (`PlaySettings.useWorkPriorities`, RimWorld/PlaySettings.cs:48) changes how every colonist's work priorities work, which Castes' work slot reads, so it is Castes' ground. Medical care for other factions' pawns sets what humanlike guests and downed raiders get. Tame-animal care is the fallback of "Medical care per species". Save Storyteller Settings and New Game Plus (23k) show demand for new-game setup; the unofficial Defaults 1.7 repack (3836680679, 145, 1.7) still carries these settings.
- Anything for colonists, slaves or prisoners: policies, medical care, schedule, work priorities, weapon loadout, hostility, self-tend, carried medicine, fire at will, area, prisoner interaction. Those are Castes'. Pregnancy approach and the starting xenotype are per-pawn humanlike settings too; if anyone builds them, Castes' DLC switches are the place. Baby feeding is stored per baby and per feeder, and Castes cut its baby autofeed slot. - Anything for colonists, slaves or prisoners: policies, medical care, schedule, work priorities, weapon loadout, hostility, self-tend, carried medicine, fire at will, area, prisoner interaction. Those are Castes'. Pregnancy approach and the starting xenotype are per-pawn humanlike settings too; if anyone builds them, Castes' DLC switches are the place. Baby feeding is stored per baby and per feeder, and Castes cut its baby autofeed slot.
- Policy contents and default policies (the starting sets, what a new policy allows): policies are save objects that castes reference, and Castes' caste templates across saves move policies between colonies as files. - Policy contents and default policies (the starting sets, what a new policy allows): policies are save objects that castes reference, and Castes' caste templates across saves move policies between colonies as files.
- Editing defs at startup (`defaultStorageSettings`, `defaultPlantToGrow`, `defaultTargetTemperature`): it also hits ruins, map generation and trader stock, can't tell what the player built, breaks "Load the game's default", and must match across multiplayer clients. - Editing defs at startup (`defaultStorageSettings`, `defaultPlantToGrow`, `defaultTargetTemperature`): it also hits ruins, map generation and trader stock, can't tell what the player built, breaks "Load the game's default", and must match across multiplayer clients.

View File

@ -130,7 +130,7 @@ Every new map starts with the home area and one empty allowed area, "Area 1" (Ve
- Vanilla's area is the one `Area_Allowed` the base call made; it is renamed and recoloured with `Area_Allowed.SetLabel` and `SetColor` (RimWorld/Area_Allowed.cs:75-84). The others come from `TryMakeNewAllowed` (Verse/AreaManager.cs:147). A name `GetLabeled` already finds is skipped, and creating stops when `CanMakeNewAllowed` is false. A map holds at most 10 allowed areas (:13, :142-145), so the settings list takes at most 10 names and says why. - Vanilla's area is the one `Area_Allowed` the base call made; it is renamed and recoloured with `Area_Allowed.SetLabel` and `SetColor` (RimWorld/Area_Allowed.cs:75-84). The others come from `TryMakeNewAllowed` (Verse/AreaManager.cs:147). A name `GetLabeled` already finds is skipped, and creating stops when `CanMakeNewAllowed` is false. A map holds at most 10 allowed areas (:13, :142-145), so the settings list takes at most 10 names and says why.
- Gravship landing maps (Odyssey) are skipped, as vanilla skips its own "Area 1" there (:42). The ship brings its allowed areas and recreates them by label (RimWorld.Planet/MoveableArea_Allowed.cs:31-35), and named areas made first could fill the cap and lose one of the ship's areas with its pawn assignments. - Gravship landing maps (Odyssey) are skipped, as vanilla skips its own "Area 1" there (:42). The ship brings its allowed areas and recreates them by label (RimWorld.Planet/MoveableArea_Allowed.cs:31-35), and named areas made first could fill the cap and lose one of the ship's areas with its pawn assignments.
One step. If Fabian takes in play settings for new colonies (see "Open questions"), the area becomes "New maps and colonies" with that as its second step. One step.
### Growing ### Growing
@ -183,8 +183,8 @@ Reasons in [design.md](design.md#cut):
- Stack limits per stockpile: a storage mod's job, not a default. - Stack limits per stockpile: a storage mod's job, not a default.
- Per-colony override and multiplayer: both need state in the save, which this mod never writes (moved here from the backlog on 2026-12-01). - Per-colony override and multiplayer: both need state in the save, which this mod never writes (moved here from the backlog on 2026-12-01).
- Storyteller, difficulty and world presets: a new-game screen tool, and the bulk players called too much in 1trickPwnyta's Defaults (Castes' Cut). Save Storyteller Settings (32k) does the storyteller part. - Storyteller, difficulty and world presets: a new-game screen tool, and the bulk players called too much in 1trickPwnyta's Defaults (Castes' Cut). Save Storyteller Settings (32k) does the storyteller part.
- Play settings and medical defaults for new colonies (cut after review, 2026-12-01; open question 1 asks whether to take them back): what fits Defaults' rules is a new-game screen tool too, and the rest belongs to Castes or to "Medical care per species". - Play settings and medical defaults for new colonies (decided 2026-12-01): what fits Defaults' rules is a new-game screen tool too, and the rest belongs to Castes or to "Medical care per species".
## Open questions for Fabian ## Decided 2026-12-01
1. Should Blax Defaults take in play settings for new colonies after all? Recommendation: no, and it stays in Left out. Only part of it fits Defaults' rules: auto home area, auto rebuild, zone visibility, and the default medical care for tame animals, wildlife and entities, written once per new game. Manual work priorities (`PlaySettings.useWorkPriorities`, RimWorld/PlaySettings.cs:48) changes how every colonist's work priorities work, and Castes' work slot reads it, so it is Castes' ground. The medical defaults for other factions' pawns set what humanlike guests and downed raiders get, against "never humanlike pawns". Tame-animal care is already the fallback of "Medical care per species". What is left is a new-game screen tool, the reason storyteller presets are cut, and it pays off once per colony while your colonies run for years. The unofficial Defaults 1.7 repack (3836680679, 145 subscribers) still carries these settings for the few who want them. If yes: it becomes the second step of an area "New maps and colonies", without manual work priorities and without other factions' care, written in a prefix on `Game.InitNewGame` (Verse/Game.cs:492). That prefix is in time: starting animals are generated during the map generation inside that method and read `defaultCareForTamedAnimal` as they are made (RimWorld/ScenPart_StartingAnimal.cs:167, RimWorld/Pawn_PlayerSettings.cs:364), so a postfix or `GameComponent.StartedNewGame` comes too late. The ownership line then gains "and the play settings of a new game", and the subtitle "and new colonies". 1. **No play settings for new colonies.** Blax Defaults doesn't take them in and they stay in Left out, because what fits Defaults' rules (auto home area, auto rebuild, zone visibility, tame-animal, wildlife and entity care) is a new-game screen tool that pays off once per colony, manual work priorities are Castes' ground, and other factions' medical care would reach humanlike pawns.