Semar-Bottleneck icon

Bottleneck

Adds production/consumption planet list to statistics panel. Also shows missing precursor items (aka bottlenecks) and supports filtering list by only precursor (or consumer) items

Last updated 2 years ago
Total downloads 29382
Total rating 8 
Categories Info Nebula Compatible Quality of Life
Dependency string Semar-Bottleneck-1.0.15
Dependants 0 other packages depend on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.5 icon
xiaoye97-BepInEx

BepInEx5.4.5 mod plugin framework, Mod框架

Preferred version: 5.4.5
CommonAPI-CommonAPI-1.5.1 icon
CommonAPI-CommonAPI

A modding library for Dyson Sphere Program. Currently is under development.

Preferred version: 1.5.1

README

Bottleneck

You can find readme files in other languages here

English / 中文

This mod adds some information to the stats panel to help find production bottlenecks. It will show the top 5 (configurable) planets an item is made on and also try to assess what your assemblers are stuck on (needing items, no power, stacking). It also adds some filter buttons for limiting the items shown to only the precursor (or dependent) items to narrow down the search for bottlenecks

Example

BetterStats with Proliferator

This plugin contains a fork of BetterStats with support for Proliferator. To use it, you'll have to disable the actual BetterStats plugin, unfortunately. The forked BetterStats is completely optional, the Bottleneck plugin should work just fine when BetterStats is installed, the proliferator enhancements just won't be present. Note: If brokenmass merges the changes into BetterStats then this fork will go away

For production items that can be proliferated, buttons are added next to each item where you can choose between:

  • Disable - don't consider Profilerator when determining Theoretical max production for the item
  • Assembler setting - Use the assemblers current setting (more products or more speed) when calculating theoretical max
  • Force speed - Calculate theoretical max assuming every assembler is in Production Speedup mode
  • Force productivity - Calculate theoretical max assuming every assembler is in Extra Products mode. Only available for recipes that support extra products

Proliferator

Config

  • ProductionPlanetCount allows showing more "Produced on" planets in tooltip (max 15)
  • 'Disable Bottleneck' lets you disable the Bottleneck functionality of this mod and just focus on stats
  • 'Disable Proliferator Calculation' removes Proliferator from Theoretical max calculations completely
  • 'Planet Filter' removes non-production (or non-consumption) planets from list when a precursor/consumer item filter is active
  • 'System Filter' when Planet Filter is active add a "Star System" item the list for system with producers
  • 'Include Second Level Items' when a precursor/consumer item filter is active also include grandparent / grandchild precursor/consumer

Notes

This mod was originally planned as an enhancement to BetterStats by brokenmass.

Planetary consumption/production is only calculated one time after the statistics window is opened. If you add machines to your factory while the stats window is open (maybe you're running at a very high resolution?) then you'll have to close and re-open the window to see those values update to reflect the change

Installation

For now installation is only supported through a mod manager, but, in general these mods must be installed first

  • CommonAPI-CommonAPI
  • xiaoye97-LDBTool

Changelog

v1.0.15

  • Update: add translated readme provided by Ximu-Luya on Github (thanks for contribution)

v1.0.14

  • Update: add zhCn translations provided by Ximu-Luya on Github (thanks for contribution)

v1.0.13

  • Update: change fractionator theoretical max calculation to account for stacked belts & spray

v1.0.12

  • Update: adjust item tooltip to get rid of cannot craft in replicator message

v1.0.11

  • Update: add item tooltip when item icon is hovered in stats window (disable with "Disable Item Hover Tip" config property)

v1.0.10

  • Bugfix: Fix bug with planet filtering when matched planet count is smaller than 2
  • Update: Add config property to disable filtering of planet list by precursor/consumer target
  • Update: Add config property to control whether 2nd level precursor/consumers are shown

v1.0.9

  • Update: Add support for Nebula (thanks starfi5h)
  • Bugfix: Fix issue where Local System is added to astro list twice

v1.0.8

  • Update: change so that when pre-cursor or successor filter is enabled, planet list is filtered to only planets that are producers or consumers of the item
  • Add "Local System" to planet dropdown

v1.0.7

Update: update to sync with latest changes in game.

v1.0.6

Bugfix: fix labs not detecting stacking condition

v1.0.5

Bugfix: fix detection of non-productive assembler recipe default mode. Assemblers for antimatter treated as if they supported productivity mode

v1.0.4

Bugfix: fix initialization issue with enhanced stats version

v1.0.3

Bugfix: resolve issue with initialization of Proliferator info when using BetterStats official was enabled

v1.0.2

  • Update: combined stats collection with bottleneck calculations
  • Update: added 'Disable Bottleneck' config to allow only BetterStats functionality to be used. Removes precursors, made on, etc.
  • Update: added detection for unsprayed items in bottleneck calculation

v1.0.1

Bugfix: handle modded items that are created after this plugin is initted

v1.0.0

  • Update: removed dependency on BetterStats. Now when that plugin is not installed a local fork of it will be used instead
  • Update: Account for usage of proliferator in local BetterStats fork
  • Update: Detect stacking for Ray Receivers generating critical photons

v0.1.4

Update: Sync with update in game code that removed the 'outputing' field on assemblers and labs

v0.1.3

Bugfix: Changed low power check to be less sensitive. Should give fewer false positives

v0.1.2

Bugfix: Fixed issue where stats for modded items would not show up properly

v0.1.1

Bugfix: reduced the frequency of computation for planetary production/consumption to address some reported UI lag (thanks to thedoc31 for report)

v0.1.0

Feature: added support for filtering only precursors that are needed (hold control when clicking the precursor filter) Feature: added popup warning when a planet with too little power are detected (one popup per planet per game), use config property to disable Increased ProductionPlanetCount config property max to 35.

v0.0.4

Bugfix: fixed issue where multiple clear filter buttons would be added to stats window.
Bugfix: updated logic for determining whether assemblers/labs are currently stacking to match game better

v0.0.3

Bugfix: fixed exception in stats view when no tech is currently being researched. (Thanks Valoneu for report)

v0.0.2

Stopgap bugfix, ended up being useless

v0.0.1

Initial version

Contact

Bugs? Contact me on discord: Semar#1983 or create an issue in the github repository.

Icons made by dDara from www.flaticon.com