<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Deep Colony updates (RimWorld)</title>
    <link>https://azraelsmods.com/rimworld/deep-colony</link>
    <description>New versions of Deep Colony for RimWorld.</description>
    <language>en</language>
    <lastBuildDate>Sun, 08 Nov 2026 21:32:49 GMT</lastBuildDate>
    <atom:link href="https://azraelsmods.com/rimworld/deep-colony/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Deep Colony 2.0.0</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@2.0.0</guid>
      <pubDate>Sun, 08 Nov 2026 21:32:49 GMT</pubDate>
      <category>RimWorld</category>
      <description>One Deep Colony tab — the Perks, Legacy, Reputation and Body &amp; Codex main buttons are now one DC_Hub button (MainTabWindow_DeepColony) with sub-tabs. Perks hides while perks are off, Reputation while reputation is off, Body &amp; Codex while both are off. The old windows are HubPanel…</description>
      <content:encoded><![CDATA[<ul><li><strong>One Deep Colony tab</strong> — the Perks, Legacy, Reputation and Body &amp; Codex main buttons are now one <code>DC_Hub</code> button (<code>MainTabWindow_DeepColony</code>) with sub-tabs. Perks hides while perks are off, Reputation while reputation is off, Body &amp; Codex while both are off. The old windows are <code>HubPanel_*</code> pages; their rows rebuild at most twice a second.</li><li><strong>Inspect lines</strong> — muscle memory (skills below their recorded peak, which learn at double speed;), the top three counselors by sessions, and the skill a rivalry formed over (<code>lastRivalSkill</code> / <code>lastRivalId</code> on the comp;).</li><li><strong>Past mentors in the family tree</strong> — the comp saves <code>pastMentorIds</code> (newest last, max 8) next to <code>teacherLineage</code>. The teaching row shows them after the current mentor (two in pedigree style) with a blue-grey node and a &quot;Past mentor&quot; label when they are not kin. Mentors recorded before 2.0.0 are names only and stay in the inspect chain.</li><li><strong>NPC perks setting</strong> — <code>npcPerks</code> (default on, so nothing changes unless you turn it off). Off: visitors, traders and raiders skip perk sync and perk hediffs, which is most of the cost when a big raid or caravan spawns; a pawn who joins the colony gets their perks then (<code>SetFaction</code> postfix).</li><li><strong>Soft Multiplayer</strong> — every player action (perk switch/forget/relearn, heir, divorce, envoy, mentor, retrain, tribute, Codex notebook) goes through <code>DeepColonyPlayerCommand.Submit(byte, int, int, string, string)</code>, registered with <code>Multiplayer.API.MP.RegisterSyncMethod</code> by reflection (no DLL). Counselling is a vanilla job, which Multiplayer already syncs. Mod settings are not synced: every player needs the host&#39;s settings. The &quot;MP-safer&quot; queue of 1.8.1/1.9.0 was client-local and did not sync. Two-client test still to do.</li><li><strong>Nemesis grudge</strong> — with Nemesis loaded, when the nemesis kills a colonist, colonists on that map who liked the victim (opinion 20+) or are related gain the new &quot;hunted&quot; trauma (<code>DC_Trauma_Hunted</code>, <code>MayRequire</code> Nemesis), whose thought names the nemesis, plus a grudge against its faction. Uses <code>Nemesis.NemesisCompatApi.IsNemesisPawn</code>, bound once to a delegate (fail-open).</li><li><strong><code>DeepColonyApi</code></strong> — public read-only signals for the Azrael storyteller and other sister mods: <code>ColonyTraumaLoad</code>, <code>IsColonyMourning</code> (5 days after a colonist death), <code>DaysSinceLastColonistDeath</code>. ApiVersion 1. Nothing reads it yet.</li><li><strong>Deep Roots in Chinese and Russian</strong> — the scenario&#39;s label, description, summary and opening text have ZH and RU DefInjected files.</li><li><strong>Compatibility matrix</strong> — <code>Deep Colony/COMPATIBILITY.md</code> lists every mod and DLC bridge with its 1.6 and 1.7 status (all untested in game).</li><li><strong>Save upgrade</strong> — <code>GameComp_DeepColony</code> saves <code>dcSchema</code> (2). A save without it (1.10.x and older) is upgraded once on load: every Deep Colony comp, world pawns included, drops comfort/reconcile/counsel entries for pawns that no longer exist, and the funeral set drops gone pawns; the counts go to the log. One-way: the pruned entries are not restored if the save goes back to 1.10.x. Class names, namespaces and scribe labels are unchanged.</li><li><strong>Default preset</strong> — Default no longer resets the display and compat switches (pedigree tree, perk hediffs, visitor announcements, NPC perks, diplomacy compat); it now behaves like Soft and Hard. No preset touches the birth safety net. &quot;Reset to defaults&quot; still resets everything. Before the mod is constructed, <code>DeepColonySettings.Get</code> returns one shared defaults instance instead of a new object per call.</li><li><strong>Odyssey crash trauma</strong> — patch <code>IncidentWorker.TryExecute</code>; allowlist Odyssey gravship-crash incidents (no bare <code>&quot;Crash&quot;</code> substring).</li><li><strong>Touch comfort save growth</strong> — seed only colonists/prisoners/guests; daily prune of stale pawn IDs; skip empty ID-keyed collections on save.</li><li><strong>Chronicle export on 1.7</strong> — the clipboard write is wrapped; if it fails the text file is still written, and if both fail a message says so (<code>DC_ChronicleFailed</code>).</li><li><strong>Birth safety net setting</strong> — turning <code>enableBirthSafetyNet</code> off now also turns off the failed-birth finalizers (labor teardown, <code>GeneratePawn</code> for newborns, <code>ApplyBirthOutcome</code>); before, only the newborn pawnkind clone obeyed it. <code>WorldPawns.RemovePreservedPawnHediff</code> also swallows <code>NullReferenceException</code>, which CoreCLR can throw where Mono threw <code>KeyNotFoundException</code>.</li><li><strong>Stale player commands after a load</strong> — the static command queue is cleared in the <code>GameComp_DeepColony</code> constructor (new game and load), so a perk, heir, divorce, envoy, mentor or tribute click queued just before loading can&#39;t hit the next save&#39;s pawns that reuse the same id numbers. <code>Drain</code> swaps two buffers instead of copying the list.</li><li><strong>Tribute with no map</strong> — silver tribute takes the silver from the first player home map that holds 200, instead of <code>Find.CurrentMap ?? Find.Maps[0]</code>, which threw with every map gone and depended on the viewed map.</li><li><strong>Wary trader block rate</strong> — <code>ShouldBlockTraderCaravan</code> uses <code>Rand.ChanceSeeded(0.35, HashCombineInt(faction.loadID, DaysPassed))</code>, so a wary faction blocks caravans on about 35% of days however often the storyteller re-checks.</li><li><strong>Ideology funeral</strong> — the funeral check reads <code>LordJob_Ritual.Ritual.def</code> (a field; the old <code>GetProperty(&quot;def&quot;)</code> never matched) and the corpse from the grave or casket in <code>selectedTarget</code>. The ritual has its own processed key, so burying the body first no longer uses up the funeral&#39;s ease.</li><li><strong>Strata firestorm and gas trauma</strong> — the firestorm check looked for a <code>Strata_Firestorm</code> game condition that Strata never had, and deep gas poisons through a hediff with no damage, so neither ever fired. A pawn burned while carrying <code>Strata_GasInhalation</code> now gets fire trauma (gas firestorm), and a pawn downed by deep gas poisoning gets toxic trauma.</li><li><strong>Birth safety net clone</strong> — the newborn <code>PawnKindDef</code> copy uses <code>object.MemberwiseClone</code>, which copies base-class private fields too. Force-detaching stuck labor calls <code>hediffSet.DirtyCache</code>.</li><li><strong>Settings grouped by system</strong> — Perks, Trauma and therapy, Mentoring, Family, Faction reputation, Body and Codex, Safety, Display. The &quot;Power systems&quot;, &quot;Later systems&quot;, &quot;Tuning&quot;, &quot;Family join&quot; and &quot;Touch traits&quot; headings are gone (keys removed in EN/ZH/RU). Settings stay global <code>ModSettings</code>; moving gameplay toggles into a per-save component was not done (Multiplayer needs the host&#39;s settings instead).</li><li><strong>Performance</strong> — <code>SkillRecord.Learn</code> looks the comp up once (passed Prefix → Postfix in <code>__state</code>) and the blackboard/classroom multiplier is cached per apprentice for 250 ticks, with the <code>Blackboard</code> def looked up once. Perk sync uses a startup <code>PerkIndex</code> (reverse exclusivity map, grant order) instead of rescanning every perk per perk. The rivalry sweep runs in ten slices every 250 ticks instead of one O(n²) pass an hour. One <code>PawnIdIndex</code> (built once per tick on demand) replaces six pawn-id scanners. The colonist inspect string is cached for 120 ticks or 2 s real time; the perk tree layout until the capstone/branching settings change; the family tree per pawn for 1 s. The hourly stuck-labor sweep covers only map and travelling pawns with a labor hediff (the full world sweep still runs on load). The perk gizmo icon loads once at startup.</li><li><strong>Multiplayer-safe state</strong> — the founder surname comes from player home maps in <code>Find.Maps</code> order and the envoy trade bonus from the negotiator&#39;s map, not <code>Find.CurrentMap</code> (per-client view). A child&#39;s pending &quot;left home&quot; beat and the failed-birth recovery letter set are saved (<code>pendingLeaves</code>, <code>birthRecoveryLettered</code>) instead of being lost on save. The daily prune builds one id set instead of scanning every pawn per key.</li><li><strong>Direct calls instead of reflection</strong> — <code>RecruitUtility.Recruit</code> and <code>ResearchManager.AddProgress</code> are public in both 1.6 and 1.7 and are called directly. Debug actions use internal accessors instead of reflecting into Deep Colony&#39;s own fields. <code>[ThreadStatic]</code> dropped from two main-thread counters. The tracker <code>pawn</code> fields stay on <code>AccessTools.FieldRefAccess</code> (a compiled accessor that also works on net472).</li><li><strong>RimWorld 1.7 build</strong> — <code>DeepColony.1.7.csproj</code> targets net10.0 against <code>Krafs.Rimworld.Ref 1.7.4998-unstable</code> and Harmony 3.0.0-rc.4. 1.6 keeps its net472 build from the same source. <code>LoadFolders.xml</code> loads <code>/</code> plus the version folder.</li><li><strong>1.7 patch targets checked</strong> — every string-named Harmony target (<code>CanFireNowSub</code>, <code>BirthdayBiological</code>, <code>TryExecuteWorker</code> ×2, <code>MakeDowned</code>, <code>PlantCollected</code>, <code>SuccessChance</code>), the tracker <code>pawn</code> fields, <code>ResearchManager.AddProgress</code>, <code>RecruitUtility.Recruit</code> and <code>LordJob_Ritual</code> members exist in both the 1.6.4871 and 1.7.4998 reference assemblies. No transpilers.</li><li><strong>Stormproof compat API</strong> — the ion-storm trauma check asks Stormproof&#39;s <code>StormproofCompatApi.IonStormActive</code> (ion storm or dry lightning front) through the shared <code>Common/Sibling/StormproofClient.cs</code> (fail-open) instead of looking conditions up by def name. Needs Stormproof 2.0.0; older Stormproof counts as absent.</li><li><strong>Bridge allocations</strong> — the RimPacts and Despicable 2 bridges cache their <code>ParameterInfo[]</code> when they bind instead of calling <code>GetParameters</code> per event. The Anomaly entity check matches against a <code>PawnKindDef</code> set built once instead of eight substring tests per hit. Living World stays on reflection until its compat API is released.</li><li><strong>Logic and translation tests</strong> — <code>Tests/DeepColony.Tests</code> (xUnit, run in CI) compiles <code>Deep Colony/Source/Pure</code>: touch-comfort tiers and gain (<code>TouchComfortMath</code>), unique hourly phase offsets (<code>TickPhaseOffsets</code>, which replace the magic numbers at each <code>TickPhase.Due</code> call; the prune offset 2689 is now 189, the same phase), attitude thresholds and ledger merging (<code>FactionRepMath</code>). It also fails if a Keyed key is missing or stale in ZH/RU, or a labelled def has no ZH/RU label. Not covered: presets (they live on <code>ModSettings</code>).</li><li><strong>Nullable reference types</strong> — on in <code>Data/</code>, <code>Patches/</code> and <code>Pure/</code>, with no warnings. The raid postfix drops a duplicate map check, and relearning a perk on a comp with no pawn returns early instead of throwing.</li><li><strong>Store copy</strong> — About.xml and the site card describe Deep Colony 2: one tab, both game versions, soft Multiplayer, the Nemesis trauma, the one-time save cleanup and <code>COMPATIBILITY.md</code>.</li><li><strong>Separate 1.6 and 1.7 assemblies.</strong> Official 1.6 loads <code>1.6/Assemblies</code>. Unstable 1.7 loads <code>1.7/Assemblies</code>.</li><li><strong>Changed:</strong> One Harmony patch class per vanilla method for <code>Pawn.Kill</code>, <code>SpawnSetup</code>, <code>MakeDowned</code>, <code>Ingested</code>, <code>SetFaction</code>, <code>AddDirectRelation</code>, and raid <code>TryExecuteWorker</code>. Same utility calls in the same order. Shared one <code>FieldRef</code> per tracker. Deleted leftover <code>Patch_BatchC</code> / <code>Patch_BatchD</code> dump files. Settings heading key is <code>DC_Settings_LaterSystems</code>. Odyssey crash hook lives in <code>Patch_Events</code> on <code>TryExecute</code>.</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.10.0</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.10.0</guid>
      <category>RimWorld</category>
      <description>Workshop preview — new About/Preview.png (perk-tree constellation over a hearth). Docs card synced. Changed: Declared RimWorld 1.7 in supportedVersions alongside 1.6. Existing 1.6 DLL; no gameplay change. Changed: Removed unused save flags, perk-alert bookkeeping, unused helpers,…</description>
      <content:encoded><![CDATA[<ul><li><strong>Workshop preview</strong> — new <code>About/Preview.png</code> (perk-tree constellation over a hearth). Docs card synced.</li><li><strong>Changed:</strong> Declared RimWorld <strong>1.7</strong> in <code>supportedVersions</code> alongside 1.6. Existing 1.6 DLL; no gameplay change.</li><li><strong>Changed:</strong> Removed unused save flags, perk-alert bookkeeping, unused helpers, unused NoisyRoom DefOf, and a stale build SHA. No gameplay change; old saves still load.</li><li><strong>Changed:</strong> Dropped unused <code>Thought_Trauma.rememberedFactionId</code> (grudges still use <code>GrudgeUtility</code> / <code>comp.grudgeFactionIds</code>; old saves ignore the removed scribe field) and unused <code>Comp_DeepColony.QualifiesFor</code>. Startup uses <code>ModVersionLog.Write</code> (stamp <code>colony-overview-v1</code>); the duplicate short version log in the Mod constructor is gone. Trimmed decorative <code>// ──</code> banners in Patch_BatchC, Patch_Events, DefOfs, and DebugActions.</li><li><strong>Changed:</strong> Dropped unused EN/RU/CN keyed leftovers (<code>DC_MentorSelf</code>, <code>DC_FamilyTree_PedigreeToggle</code>, <code>DC_InspectTouchAverseNone</code>, <code>DC_RomanceBlockedTouchAverse</code>, <code>DC_RepEnvoyShort</code>). Live copies remain (<code>DC_MentorInvalid</code>, <code>DC_FamilyTree_StylePedigree</code>, <code>DC_InspectTouchNeedNone</code>, <code>DC_RomanceBlockedTouchTier</code>, <code>DC_RepEnvoy</code>). Ticket-ID prefixes stripped from <code>Comp_DeepColony</code> field comments and a few utility headers. No gameplay change.</li><li><strong>Changed:</strong> Removed the leftover perk-points economy (always-zero Points column, Unspent filter, dead Recruits-arrive-pre-perked checkbox, unused point-grant debug). Perks still auto-grant at skill 5/10/15/20. Old saves still load: <code>availablePerkPoints</code> and <code>elderPerkGranted</code> are swallowed by dummy <code>Scribe_Values.Look</code> locals.</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.9.1</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.9.1</guid>
      <category>RimWorld</category>
      <description>Changed: Declared RimWorld 1.7 in supportedVersions alongside 1.6. Existing 1.6 DLL; no gameplay change.</description>
      <content:encoded><![CDATA[<ul><li><strong>Changed:</strong> Declared RimWorld <strong>1.7</strong> in <code>supportedVersions</code> alongside 1.6. Existing 1.6 DLL; no gameplay change.</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.9.0</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.9.0</guid>
      <category>RimWorld</category>
      <description>Body &amp; Codex tab — one colony-wide view of who is ill, convalescing, or weakened (and whether they are in an infirmary), archives per home map, researchers at risk, and what each notebook holds. Click a name or notebook to jump to it. Hidden while both systems are off. Research a…</description>
      <content:encoded><![CDATA[<ul><li><strong>Body &amp; Codex tab</strong> — one colony-wide view of who is ill, convalescing, or weakened (and whether they are in an infirmary), archives per home map, researchers at risk, and what each notebook holds. Click a name or notebook to jump to it. Hidden while both systems are off.</li><li><strong>Research at risk alert</strong> — with the Codex on, warns while a skilled researcher (Intellectual 8+) has no archive on their map and a project is in progress, before a death costs the colony progress.</li><li><strong>Forget a perk</strong> — the perk tree has a Forget button (with confirmation) when respec is on. The perk stays off until you press Relearn; auto-allocation no longer brings it back by itself. Turning respec off lets auto-allocation restore forgotten perks.</li><li><strong>Epitaphs</strong> — remembered colonists now show their age and how they died (killer, illness, or injury) in the Legacy tab and the chronicle export. Deaths recorded before this update keep just the name.</li><li><strong>Contagion only spreads real diseases</strong> — roommates now catch flu, plague, and other disease-incident illnesses only. Tumors and wound infections no longer jump to healthy colonists.</li><li><strong>Pawn death can no longer break on a Codex error</strong> — if the research-loss call fails on a future game build, Deep Colony logs one warning and the death goes through normally.</li><li><strong>Living World events fail open</strong> — a changed event field type in Living World is ignored with one warning instead of throwing on every event.</li><li><strong>Perk switch and heir choice apply on the next tick</strong> — the perk tree Switch button and the Legacy tab heir menu now go through the same queued command path as the other player actions (multiplayer-safer).</li><li><strong>Mod description</strong> lists all seven systems, including the optional body and Codex.</li><li><strong>Changed:</strong> Respec setting tooltip no longer mentions refunded points (perks auto-allocate).</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.8.1</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.8.1</guid>
      <category>RimWorld</category>
      <description>Added: CN/RU DefInjected for body hediffs, Codex notebook, counseling Ideology precepts/issue, 12 tier-1 perk hediffs, Horror + Isolation thoughts. Added: Reputation tab per-reason ledger totals. Added: Chronicle export includes faction reputation summary when enabled. Added: Cli…</description>
      <content:encoded><![CDATA[<ul><li><strong>Added:</strong> CN/RU DefInjected for body hediffs, Codex notebook, counseling Ideology precepts/issue, 12 tier-1 perk hediffs, Horror + Isolation thoughts.</li><li><strong>Added:</strong> Reputation tab per-reason ledger totals.</li><li><strong>Added:</strong> Chronicle export includes faction reputation summary when enabled.</li><li><strong>Added:</strong> Clickable pawn names on Legacy and Reputation tabs (Family Tree jump pattern).</li><li><strong>Changed:</strong> Player Codex / divorce / envoy / mentor / tribute actions enqueue and apply on the next game tick (MP-safer, no Multiplayer.API).</li><li><strong>Changed:</strong> Assembly InformationalVersion aligned to <code>1.8.1+body-codex-v4</code>.</li><li><strong>Fixed:</strong> Unspent perk points alert removed — perks auto-allocate; alert must never fire.</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.8.0</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.8.0</guid>
      <category>RimWorld</category>
      <description>Version baseline — minor bump to start the next ship cycle above current Steam / Nexus / GitHub releases. No Workshop/Nexus upload in this change.</description>
      <content:encoded><![CDATA[<ul><li><strong>Version baseline</strong> — minor bump to start the next ship cycle above current Steam / Nexus / GitHub releases. No Workshop/Nexus upload in this change.</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.7.0</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.7.0</guid>
      <category>RimWorld</category>
      <description>The body (body-codex-v1) — optional contagion in-room + convalescence hediff. Off by default. Infirmary / lingering weakness — medical-bed rooms (or vanilla hospital) slow contagion and ease convalescence; drafting outside can relapse; some recoveries leave a long-tail hediff. Co…</description>
      <content:encoded><![CDATA[<ul><li><strong>The body</strong> (<code>body-codex-v1</code>) — optional contagion in-room + convalescence hediff. Off by default.</li><li><strong>Infirmary / lingering weakness</strong> — medical-bed rooms (or vanilla hospital) slow contagion and ease convalescence; drafting outside can relapse; some recoveries leave a long-tail hediff.</li><li><strong>Codex</strong> — optional notebook that records the current research project. Off by default.</li><li><strong>Codex resume, graduation gift, archive</strong> — notebook can resume stored research; apprenticeship can drop a notebook; archive shelves keep the current project if a researcher dies (Codex on). CN/RU.</li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Deep Colony 1.6.8</title>
      <link>https://azraelsmods.com/rimworld/deep-colony#changelog</link>
      <guid isPermaLink="false">rimworld/deep-colony@1.6.8</guid>
      <category>RimWorld</category>
      <description>Stuck labor restores a healthy pregnancy (labor-restore-v1) — the load sweep force-removed every Hediff_Pregnant on colonists and animals. Recovery no longer aborts. Failed or wedged labor is detached without running birth teardown, then a late Hediff_Pregnant is put back with th…</description>
      <content:encoded><![CDATA[<ul><li><strong>Stuck labor restores a healthy pregnancy</strong> (<code>labor-restore-v1</code>) — the load sweep force-removed every <code>Hediff_Pregnant</code> on colonists and animals. Recovery no longer aborts. Failed or wedged labor is detached without running birth teardown, then a late <code>Hediff_Pregnant</code> is put back with the same parents/genes. Healthy pregnancies are left alone. Already-wiped pregnancies from a previous load cannot be reconstructed.</li></ul>]]></content:encoded>
    </item>
  </channel>
</rss>
