


A Dyson Sphere Program mod. When you click a building in the bottom build bar that you have none of in your inventory, and you do have the materials to make it, the mod queues the full craft into the mecha replicator instead of just flashing "insufficient materials."
The recursion (queue the gears and rods needed for the assembler, etc.), the affordability
check, material reservation and refund-on-cancel are all handled by the game's own
MechaForge.AddTask — this mod is only the trigger.
Clicking a building you own 0 of:
| Situation | Result |
|---|---|
| Full craft tree affordable from current inventory | Queued to the replicator (one craft). Tip + click sound. |
| Missing raw materials somewhere in the tree | Nothing queued; vanilla "insufficient materials" feedback. |
| Recipe locked / not handcraftable | Nothing queued; vanilla feedback. |
| You already own ≥1 | Unchanged — selects into your hand as normal. |
| Double-click | Unchanged — opens the replicator focused on the item. |
BepInEx/config/com.livinginstinkt.dsp.autoqueuebuild.cfg)Enabled (default true) — master switch.CraftsPerClick (default 1) — handcraft executions queued per click.ShowTip (default true) — on-screen "Queued to replicator" tip.PlaySound (default true) — build-menu click sound on queue.Requires the .NET SDK. Reference paths in AutoQueueBuild.csproj point at this machine's
game + r2modman "Singleplayer" profile — edit them if your install differs.
dotnet build -c Release
On success the DLL is copied to
...\r2modmanPlus-local\DysonSphereProgram\profiles\Singleplayer\BepInEx\plugins\LivingInstinkt-AutoQueueBuild\.
UIBuildMenu.OnChildButtonClick).manifest.json dependencies
and include an icon.png (256×256).