
You are viewing a potentially older version of this package. View Latest Version
BUG CalculatorPatch
Fixes for DSPCalculator 1.0.0, applied at runtime: GenesisBook machines, recipes and output maths (both solvers), directed-graph loops and surplus balancing, saved windows, BUG_OreEnrichment and BUG_Reclamation support. The calculator is not changed.BUG_CalculatorPatch
Fixes for DSPCalculator 1.0.0. The calculator's own file is not changed: the fixes are applied to it while the game runs, and removing this mod gives you the plain calculator back.
What it fixes
- Missing recipes and machines. Every valid recipe of the loaded game is in the calculator, and each recipe offers every building that can run it, including GenesisBook's furnaces, chemical plants and large factories.
- GenesisBook output and power (both solvers). The Negentropy Smelter's extra product is added to the proliferator bonus as the game does, not multiplied — in both the Linear Programming solver and the Directed Graph solver (also fixes the TCFV Inferior output ratio in the Linear Programming solver). Recipes with extra power draw show it. Context-dependent recipes (GenesisBook Material Recovery) are excluded from the Linear Programming solver as well.
- GenesisBook recipe picker. The picker uses GenesisBook's 17 by 7 grid, so recipes in the last columns can be picked.
- Proliferators. Any proliferator a spray coater of the loaded game accepts can be used, not only the vanilla three; a failed proliferator solve is reported.
- Directed Graph loops and surplus. When using the Directed Graph solver, shrinking loops are closed and settled, non-shrinking loops are supplied from outside instead of failing, and chosen recipe counts are balanced together so by-products replace other production. When using 1.0.0's Linear Programming solver, those directed-graph steps step aside automatically.
- Lists. An input fully covered by a by-product of the same line is not listed as a demand; a "sources" section shows where shared items come from. Right click on a product's icon counts it as raw again; X on a raw row that would close an unsolvable loop is undone instead of emptying the window. The proliferator mode switch of each row stays inside the list, and Main Info checkbox labels shrink to fit.
- Windows. Open calculator windows are stored in the save and come back after loading (alongside 1.0.0's Saved tab). The interstellar assembly button no longer sits on top of another button with GenesisBook and MoreMegaStructure.
- BUG_OreEnrichment. All of its recipes are known to the calculator: dusts and enriched smelting, catalysed copies, the gold and silver chain (copper refining, anode slime, dust, ingots) and the gold and silver copies of other recipes. They are listed after an item's normal recipes and left out of the Linear Programming solver's candidates unless picked (or the item has no normal recipe), so neither solver switches to an alternative until you choose it. A line with a gold or silver recipe is solved through the whole chain, with the leftover silver or gold and copper shown as by-products. Recipes it hides in a game where their product has no normal recipe (magnets under GenesisBook) are left out of the calculator too.
- BUG_Reclamation. Dark Fog items stay drops: they count as raw resources by default, and the trash converter is listed after any other recipe and left out of the Linear Programming solver's candidates unless picked (or the item has no other recipe). X on one of them in the raw list makes it from trash points instead.
Notes
- Written for DSPCalculator 1.0.0. With another version the mod checks every patch first and, if one does not fit, applies none and says so in the BepInEx log.
- Needs DSPModSave. The calculator writes
DSPCalculator-recipes.csvnext to its DLL at start: the list of recipes it knows.