You are viewing a potentially older version of this package. View all versions.
DSPCraftingSpeed-CraftingSpeedMod-1.1.1 icon

CraftingSpeedMod

Limit the crafting speed of individual assemblers (0.1% to 100%). Limits are saved in blueprints.

Date uploaded 2 weeks ago
Version 1.1.1
Download link DSPCraftingSpeed-CraftingSpeedMod-1.1.1.zip
Downloads 44
Dependency string DSPCraftingSpeed-CraftingSpeedMod-1.1.1

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17
CommonAPI-DSPModSave-1.2.2 icon
CommonAPI-DSPModSave

Library that allows to store mod save data separately from vanilla saves

Preferred version: 1.2.2
kremnev8-BlueprintTweaks-1.6.13 icon
kremnev8-BlueprintTweaks

Improves Blueprint system with QoL changes, new features like force pasting, foundation blueprints and more

Preferred version: 1.6.13

README

Crafting Speed Mod

Limit the crafting speed of individual assemblers, from 0.1% to 100%. Handy for building-supermarket lines where some buildings should be produced slowly, so every product line can run at the same time.

  • Open an assembler: a "Speed limit" row sits above your inventory.
    • Drag the slider, use the - / + buttons or the mouse wheel over the row: steps of 1%, hold Shift for 10%, Ctrl for 0.1%.
    • Reset goes back to 100%.
    • Or type a target output per minute and the limit is worked out for you (0.1% precision).
    • The window's own "per minute" readout shows the limited rate (orange when limited), and the status line says "limited to …".
  • It never goes above 100%; there are other mods for that.
  • The limit scales both normal crafting progress and the proliferator "extra products" progress.
  • The row's position can be nudged in BepInEx/config/com.github.jiesiluo.assemblerspeed.cfg (RowNudgeX, RowNudgeY).
  • Blueprints keep the limits. Copy machines into a blueprint and the pasted machines get the same limits, including machines that are still ghosts waiting for drones.
  • The game's own copy / paste building settings also carries the limit.
  • Limits are stored in the save through DSPModSave. Saves from 1.0.x load as before.

Compatibility

  • Requires BlueprintTweaks for storing limits in blueprints. The data is appended after the game's own blueprint data, so these blueprints still paste in an unmodded game (at full speed), and older blueprints paste exactly as before.
  • Only assemblers (recipe type "Assemble") show the slider.

Building

The project references the game and the r2modman profile directly. Defaults are in Directory.Build.props; override them if your paths differ:

dotnet build CraftingSpeed/CraftingSpeed.csproj -c Release -p:DSPGameDir="..." -p:BepInExDir="..."
dotnet build CraftingSpeedPreloader/CraftingSpeedPreloader.csproj -c Release

Package layout: plugins/CraftingSpeed.dll, patchers/CraftingSpeedPreloader.dll, plus manifest.json, README.md, CHANGELOG.md and icon.png.

CHANGELOG

  • 1.1.1
    • Fix: the speed slider's handle now reaches both ends (100% at the right end, 0.1% at the left end).
  • 1.1.0
    • Speed limits are saved in blueprints (through BlueprintTweaks' custom blueprint data) and applied when pasting, also to machines that are still under construction.
    • Copy / paste building settings carries the speed limit.
    • New speed limit row in the assembler window: slider, -/+ buttons, mouse wheel (Shift 10%, Ctrl 0.1%), 100% reset, and a target-per-minute box. Limits now have 0.1% precision.
    • The window's "per minute" readout shows the limited rate, and the status line shows the limit.
    • Fix: a newly built assembler could inherit the speed limit of a dismantled one.
    • Fix: the proliferator "extra products" progress was not slowed down.
    • Fix: one bad entry in the save data no longer drops all limits after it.
    • Speed limiting no longer allocates memory every tick for every assembler.
    • Preloader source is now part of this repository.
  • 1.0.4 Fix slider position
  • 1.0.3 Fix preloader patch missing error
  • 1.0.0 Mod publish