# Blax Defaults feature plan When Blax Defaults is complete, everything you designate, build, tame or gestate starts the way you set it up once: stockpiles and shelves, bills and workbenches, crops, doors, lamps and heaters, animals and mechs, and the named areas of a new map. Its forbid rules decide what stays forbidden after a fight. Colonists, slaves and prisoners stay with Blax Castes, and nothing ever goes into a save. Status: 1.0 (storage defaults, values for every new bill) and 1.1 (forbid rules) are on the Workshop as item 3848261264, 1.1.0 since 2026-11-30. Everything else is designed in [design.md](design.md) or new in this plan, with no code yet. Planned 2026-12-01. This file is the plan of record for what the mod covers and in which order the areas come. [design.md](design.md) holds the spec of every designed feature. ## Scope Blax Defaults covers: - the starting settings of what the player makes or acquires: stockpiles, growing zones, storage buildings, bills, workbenches, other buildings, animals and mechs; - the named areas every new map starts with; - what the game forbids when a pawn goes down, dies or is stripped (opt-in forbid rules); - one defaults file per player, shared by every save. Every feature keeps the design's rules: nothing changes until you save a default or turn a rule on; a default applies once, when the thing is made or joins, never to what you already have; nothing goes into the save; any DLC combination works, core only included; every feature has a toggle; no new art. Left to the other Blax mods: - Blax Castes: every humanlike player pawn and its per-pawn settings (policies, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction), and caste templates across saves. Defaults never writes to a humanlike pawn. - Blax Zones: delivery and sleeping zones, beds by zone, drop spots and work rule areas. "Make default" for its own zones lives in Zones, in its own file. - Blax Slaves: slave status, trade, prices, suppression, slave medicine and the surgery bills it keeps through status changes. - Blax Laws (designed on branch `design/act-catalogue`, not accepted yet): lawbook, cases, punishments and court. Its "lawbook templates shared across saves" stay in Laws: Laws keeps its own file under the game's Config folder and copies Defaults' write, read-back and backup rules. Defaults' file never holds a lawbook. Laws' arrests and subdue meet the forbid rules only through vanilla calls (design.md, "Blax Laws"). ## Areas Status words: **Shipped x.y**; **Designed** (spec in design.md); **New** (in this plan, no spec yet; its hook is not checked against the game code unless the line says so); **Idea** (waits for players to ask). ### Defaults file and settings page Defaults are only worth setting up if they survive mod updates, broken files and removed mods, and if you can edit them from the main menu. Every other area adds its rows to this page. - **Defaults library and settings page.** One file shared by every save, written through a temporary file, read back and backed up; every saved default with Edit and Forget. Shipped 1.0. - **Overlap warnings.** Mods that set the same things are named on the settings page and once per session, with "Don't remind me". Shipped 1.0; each area adds the mods of its category. - **Add a default and drop inactive names.** Make a default from the main menu, and clear the names a removed mod left in an entry. Designed ([spec](design.md#add-a-default-and-drop-inactive-names)). - **Several named defaults per kind.** "Meals shelf" and "Medicine shelf" for the same shelf kind, loaded from the Defaults menu; new shelves still take the main one. Idea, asked once on 1trickPwnyta's Defaults page (2026-01-31). - **Export and import of the defaults file.** Share a setup with another player. Idea; 1trickPwnyta's Defaults has backup and restore. Steps: "Add a default and drop inactive names" ships with the rest of storage, because its picker lists the storage kinds that step adds. The two ideas follow demand. ### Storage Every new shelf starts at Preferred and pulls meals out of the freezer, and every new stockpile allows nearly everything. - **New stockpiles start from your default**, per stockpile type. Shipped 1.0. - **New storage buildings start from your default**: shelves, bookcases, hoppers, fridges, weapon racks and other storage with a storage blueprint. Shipped 1.0. - **Defaults button in the storage tab**: make, load, load the game's default, forget. Shipped 1.0. - **Quick setup: new shelves start empty**, per kind, leaving hoppers and single-purpose storage alone. Shipped 1.0. - **Graves, mortars and other storage start from your default**: graves, sarcophagi, mortars, growth vats, biosculpter pods and modded storage without a storage blueprint. Designed ([spec](design.md#graves-mortars-and-other-storage-start-from-your-default)). Needs: growth vats Biotech, biosculpter pods Ideology. It brings the build scope, the hook that bills for new workbenches, growers and building settings use. - **Your own stockpile types.** Save a stockpile setup under a name ("Freezer", "Armory", "Medicine") and it appears in the Zone menu as a stockpile designator of its own; dragging it makes a plain vanilla stockpile with that setup. Removing the mod keeps every stockpile. New. Demand: custom stockpile types in 1trickPwnyta's Defaults (75k, no official 1.7 build), Preset Filtered Zones (Continued) (16k, 1.7), Simple Stockpile Presets (Continued) (16k, 1.7), and the manual save and load of [KV] Save Storage (109k, 1.7). Hook: one `Designator_ZoneAddStockpile` subclass instance per saved type, added to the Zone category's private `resolvedDesignators` list (`DesignationCategoryDef`; the field and the `AllResolvedDesignators` getter are checked in the 1.7.5021 reference assembly). The shipped stockpile hook applies the type's template. Vanilla stockpile icon, no art. - **Preset Filtered Zones support.** Its zones get the Defaults button and its designators a default. Idea, only if the mod enters the tested list. - **Gravship-start shelves** (Odyssey). Idea; Odyssey isn't installed on the test machine. Steps, in order: 1. Shipped in 1.0. 2. Graves, mortars and other storage, with "Add a default and drop inactive names". 3. Your own stockpile types. It reuses the editor "Add a default" opens. ### Bills Every new bill searches the whole map, takes any ingredient and sends products to the best stockpile, and a new or rebuilt workbench comes empty. - **Values for every new bill**: repeat mode, counts, radius, skill range, where products go, counting options. Shipped 1.0. - **Defaults per recipe from the bill window.** "Make these the default for new simple meal bills", ingredient filter and restrictions included. Designed ([spec](design.md#defaults-per-recipe-from-the-bill-window)). Needs: "slaves only" Ideology, the mech restrictions Biotech. - **Bills for new workbenches.** A new or rebuilt electric stove comes with the bills you saved for stoves, in order. Designed ([spec](design.md#bills-for-new-workbenches)). Needs the build scope from storage. - **Materials no new bill uses.** A list of materials (hyperweave, thrumbofur, gold, jade) that every new bill refuses where its recipe would take them, unless that recipe's own default allows them. A bill never ends up with no allowed ingredient. New. Demand: Material Filter (11k, no 1.7 build) lets players filter bills by material by hand, one bill at a time. Hook: the shipped `MakeNewBill` postfix, after the recipe default, `ingredientFilter.SetAllow(def, false)` for each listed def the recipe's fixed ingredient filter allows. Steps, in order: 1. Shipped in 1.0. 2. Defaults per recipe. It needs no build scope. 3. Bills for new workbenches. Each set entry is a full recipe default, and the bench hook needs the build scope. 4. Materials no new bill uses. Its precedence rule ("unless the recipe default allows it") needs recipe defaults. ### Forbid rules After a raid the good loot lies forbidden all over the map, and allowing it by hand drags the junk in too. - **Gear rules for your colony and for enemies**, a vanilla item filter with hit points and quality ranges each. Shipped 1.1. - **Wait until the fight is over.** Shipped 1.1. - **Stripping forbids what doesn't match.** Shipped 1.1. - **Corpses outside the home area stay allowed**, per animal, enemy and other. Shipped 1.1. - **Gear of neutral pawns who died or were carried off.** A third rule for visitors and traders, whose gear nobody comes back for. Idea. - **Use this stockpile's filter for a forbid rule**, from the storage tab's Defaults menu. Idea. No step is planned. The area is complete for now; the two ideas wait for players to ask. ### Animals Every tamed husky starts with no area and no training, every animal gets the same medical care as a thrumbo, and a species new to a map has no slaughter limits. - **Species defaults when an animal joins**: area by name, follow when drafted, follow during fieldwork, training, per species and for every animal. Designed ([spec](design.md#species-defaults-when-an-animal-joins)). It brings the join funnel, which mechs reuse. - **Born animals copy their mother**, or take the species default per a switch. Designed ([spec](design.md#born-animals-copy-their-mother)). - **Defaults button in the Training tab.** Designed ([spec](design.md#defaults-button-in-the-training-tab)). - **Medical care per species.** The species and every-animal rows gain medical care: chickens get no medicine, the thrumbo the best. Born animals copy their mother's. New. Demand: vanilla's "Default medical care" window has one setting for every tame animal, and Animal Controls (57k, no 1.7 build) copies medical care to newborns. Hook: `Pawn_PlayerSettings.medCare` (checked in the 1.7.5021 reference assembly), written in the join funnel after the game's own faction change. - **Auto-slaughter limits for new species and new maps.** Designed ([spec](design.md#auto-slaughter-limits-for-new-species-and-new-maps)). - **Young animals learn what they outgrew.** Training the species default wants, which a pup was too small for, is wanted when it reaches the next life stage. Without it, a species default never gives a newborn Haul or Rescue. New (from the backlog). Hook: a postfix on `LifeStageWorker.Notify_LifeStageStarted`, with its own switch, since it also reaches animals that predate the default. - **New pens start with your settings.** A pen marker you build takes the animal filter and auto-cut setting you saved for pens. Idea. Hook: `CompAnimalPenMarker.AnimalFilter`, `CompAutoCut.autoCut` and `AutoCutFilter` (checked in the reference assembly), through the build scope. Steps, in order: 1. Species defaults, born animals, the Training tab button and medical care per species. They share one species row, one edit window and the join funnel. 2. Auto-slaughter limits. Same funnel, its own window button. 3. Young animals learn what they outgrew. It completes the training wishes step 1 had to skip. ### Mechs Needs Biotech. Every gestated mech starts with auto-repair off and lands in group 1, and the player sets both by hand on each new mech. - **Auto-repair for new mechs**, per mech kind and for every mech. Designed ([spec](design.md#auto-repair-for-new-mechs)). - **New mechs start with your settings**: the work mode of the control group a new mech joins, its area by name, and a Defaults gizmo on mechs. Designed ([spec](design.md#new-mechs-start-with-your-settings)). - **Control groups added later start in a work mode by group number.** Idea. One step: auto-repair, work mode, area and the gizmo share the mech row, the join funnel and the gizmo. The old release plan split them across two releases by size; they ship together. Needs the join funnel from animals. ### New maps Every new map starts with only the home area, so the defaults that pick an area by name (animals, mechs, Castes' allowed area slot) find nothing until you paint one. - **Areas every new map starts with.** Named, coloured areas ("Barn", "Inside", "Fields") created empty on every new player home map, ready to paint. New (from the backlog; asked on 1trickPwnyta's Defaults page on 2025-06-17 and 2025-07-27). Hook: `AreaManager.TryMakeNewAllowed` in a `MapGenerator.GenerateMap` postfix. One step. ### Growing Every new growing zone and hydroponics basin starts on potatoes. - **Growing zones and plant growers start with your crop**: an ordered list of three crops per grower kind, allow sowing and cutting for zones, "Make default" on the vanilla plant button's right-click. Designed ([spec](design.md#growing-zones-and-plant-growers-start-with-your-crop)). Needs the build scope for growers. - **Fishing zones** (Odyssey). Idea; Odyssey isn't installed on the test machine. One step. ### Buildings Every new door, table, trap, heater and lamp starts with the game's setting, and a copied building forgets what its source had. - **Building settings for new buildings**: door hold-open, gather spot, trap auto-rearm, target temperature and lamp colour, per building or for every door, lamp, or heater and cooler, with a Defaults gizmo. Designed ([spec](design.md#building-settings-for-new-buildings)). - **Build copy carries the source's settings.** A building placed with Build copy starts with the copied building's storage filter, bills, crop and building settings instead of your default. New (from the backlog; asked in the Steam thread "Why does 'build copy' not copy the settings too?", 2021-10-10). Needs an unsaved link from the blueprint to its source and every applier above. - **Beds in a hospital room start as medical beds.** Idea. Hook: the `Building_Bed.Medical` setter (checked in the reference assembly) in the build scope's built hook. Zone beds stay Zones'. - **Fuel settings for new buildings**: auto-refuel on or off and the target fuel level per building (torches, campfires, generators). Idea. Hook: `CompRefuelable.allowAutoRefuel` and `TargetFuelLevel` (checked in the reference assembly). Steps, in order: 1. Building settings. 2. Build copy carries the source's settings. It comes last of all building work, because it reuses the storage, bill, crop and building appliers. ### New colonies Every new colony starts with the game's play settings and default medical care. This area waits for Fabian's call (see "Open questions"). - **Play settings and medical defaults for new colonies**: auto home area, auto rebuild, manual work priorities, zone visibility, and the default medical care for tame animals, wildlife, entities and other factions' pawns, written once when a new game starts. Colonist, slave, prisoner and ghoul care stay as the game sets them, since humanlike player pawns are Castes'. Idea. Demand: 1trickPwnyta's Defaults sets both (75k, no official 1.7 build). Hook: the `PlaySettings` fields (checked in the reference assembly); the game-start hook is not checked. ## Order 1. **Storage**, steps 2 and 3, with "Add a default and drop inactive names". It brings the build scope that workbench bills, growers and buildings need, and finishes the storage the README already sells. 2. **Bills.** The most asked-for area: 36 of about 650 comments on 1trickPwnyta's Defaults mention bills or workbenches, 24 storage. Its per-recipe and per-workbench bills are the last reason players keep that mod and Set my Defaults next to Blax Defaults. 3. **Animals.** It brings the join funnel. Animal Controls (57k) has no 1.7 build, and slaughter limits per species were asked for on 1trickPwnyta's Defaults page (2026-01-26). 4. **Mechs.** It reuses the join funnel. Auto-repair On (61k) has no 1.7 build. Biotech only, so after animals. 5. **New maps.** With animals and mechs in place, area names that resolve on a new map make their area defaults and Castes' allowed area slot work from day one. 6. **Growing**, then **Buildings.** The mods they replace are small (8.4k and less). Build copy closes the building work. 7. **New colonies**, if Fabian takes it in. It pays off once per colony. The file area's ideas and the forbid ideas come when players ask. ## Left out Reasons in [design.md](design.md#cut): - Anything on colonists, slaves or prisoners, policy contents and default policies: Castes. - An animal food policy: vanilla has none, so it would be a new system, not a default. - Editing defs at startup, re-applying defaults on load or to things you already have. - Surgery bill defaults: Slaves keeps those bills. Bills on benches you didn't build. - Forbid rules for downed visitors, traders and quest lodgers. Forbidding drops the game left allowed (only the strip switch does). - 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). - 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. ## Open questions for Fabian 1. Should Blax Defaults take in "New colonies" (play settings and the medical defaults for animals, wildlife, entities and other factions' pawns at game start)? Recommendation: yes, as the last area, without storyteller or world presets. It is the part of 1trickPwnyta's Defaults with no 1.7 home besides Castes' pawn defaults, and it stays one settings section. Against it: it pays off once per colony, and your colonies run for years. If yes, the subtitle "Starting settings for storage, bills, crops, buildings, animals and mechs" gains "and new colonies".