Azrael's Mods

← All RimWorld mods

NanoHive Reforged

Mod

RimWorld 1.6 / 1.7No HarmonyMultiplayer (soft)

Build a regenerator nanohive into a wall and it quietly repairs everything of yours in range: walls and furniture, items under a roof, and the apparel, weapons and inventory of colonists who walk past.

NanoHive Reforged 2 gives every hive its own buttons, a capped repair budget that fixes the most damaged things first, idle power when there is nothing to fix, and a ring that shows the real radius. A faithful-plus rebuild of the Nanohive2 mod.

Download nanohive-reforged-2.0.0.zipSteam

NanoHive Reforged preview

What it does

What it repairs

Your buildings in range (the hive always repairs itself), items lying under a roof, colonists' apparel and equipment, and items in their inventories. Each one is a button on the hive.

Repair budget

Each repair cycle (about every 4 seconds) every target gets up to the hive's rate, 1 to 10 HP. The hive spends at most 40 times its rate in total, most damaged first, so overlapping hives and huge bases stay predictable.

Buildings first

Optional: spend the budget on buildings before items and gear.

Only stored items

Optional: leave loot and junk alone and repair only items in a stockpile or storage that are not forbidden.

v2.0.0Current

  • Per-hive buttons — Repair buildings / items / gear / inventory, Only stored items, Buildings first, Radius (1 to 30), Rate (1 to 10 HP per target), Use as colony default, and Copy to all hives. Each hive saves a HiveConfig (nanoHive node); GameComponent_NanoHive saves the colony default that new hives copy.
  • Repair budget — per cycle a hive spends at most rate × budgetTargets (40) HP, most damaged first (HP%, then thingIDNumber), optionally buildings first. With the default rate and 40 or fewer damaged things in range, repair is the same as 1.x.
  • Idle power — 200 W while nothing in range is damaged, the full basePowerConsumption (1600 W) while repairing. NanoHiveProps mod extension: defaultRange, idlePowerConsumption, budgetTargets.
  • Inspect pane — radius, rate, budget, things in range, damaged count and HP repaired last cycle, or idle / no power.
  • Repair shimmer — pulsing glow on a repairing hive and fading sparks on what it fixed, drawn from MapComponent_NanoHive. Vanilla MoteGlow shader on both 1.6 and 1.7, draw-only and Rand-free. Setting repairShimmer. A custom 1.7 GLSL shader is not done.
  • Soft Multiplayer support — SetToggle, SetRange, SetRepairRate, MakeColonyDefault and CopyToAllHives are registered with Multiplayer.API.MP.RegisterSyncMethod by reflection. No Multiplayer DLL is shipped.
9 more changes in v2.0.0
  • Translations — Chinese Simplified and Russian Keyed and DefInjected.
  • Launch assets — About/ModIcon.png, <url>, credit to the original Nanohive2, this page.
  • Two builds, one source — official 1.6 loads 1.6/Assemblies (net472, 1.6 refs). 1.7 loads 1.7/Assemblies, now a.NET 10 build against the 1.7 refs (Krafs.Rimworld.Ref 1.7.4998-unstable). Both link Common/ModPack.cs and Common/ModVersionLog.cs; startup logs [NanoHive Reforged] v2.0.0...; nanohive2-net10.
  • Settings are starting values — NanoHiveSettings keeps its class and field names so the 1.x file reads, but only seeds a new save (or a 1.x save on first load). The window no longer calls Write every frame.
  • Radius ring — DrawExtraSelectionOverlays and PlaceWorker_NanoHiveRange draw the real radius; specialDisplayRadius is removed from the def.
  • Stuff — Metallic only. Hives already built from wood or stone keep their stuff.
  • Repair cycle — radial cells cached per hive, static scratch lists, pawns from SpawnedPawnsInFaction; no per-cycle allocations. Profiler scope NanoHiveReforged.TickRare.
  • CI — ModChecks covers NanoHive (DLLs, defs, Keyed keys) and checks that every NanoHive texPath has a texture. Release zips include NanoHive.
  • Repair list — repaired buildings call listerBuildingsRepairable.Notify_BuildingRepaired, so colonists stop queuing repair jobs on walls the hive already fixed.
Older versions (v1.1.0)

v1.1.0

  • New Workshop preview. Declared RimWorld 1.7 in supportedVersions (1.6 DLL).

Good to know

  • No Harmony needed.
  • Saves from NanoHive 1.x keep working: your old mod settings become the colony's starting values.
  • Soft Multiplayer support: hive settings live in the save and every hive button is synced.
  • Chinese Simplified and Russian are included.
  • Built from metal only since 2.0.0. Hives already built from wood or stone keep working.

Works with

  • MultiplayerSoft support — hive buttons are synced by reflection

Uses only vanilla repair and power APIs, so it works next to other repair mods; overlapping repairers just finish sooner.

Report a problem

This report is for NanoHive Reforged on RimWorld.