Recursive Resource Calculator

by Herddex

An in-game calculator that can be used to automatically compute the information you need to build a final product at a given rate of production: precise number of machines for each intermediate product, required production rates for all said intermediate products, pollution and energy costs, with options for specifying module configurations, as well as machine types.

Utilities
2 years ago
1.1
5.12K

Changelog

Version: 1.0.8
Date: 2021.12.30
  Bugfixes:
    - Fixed a crash triggered by the removal of mods that add new crafting categories to the game.
Version: 1.0.7
Date: 2021.11.30
  Bugfixes:
    - Empty input textfields in the calculator's sheets will no longer trigger an
      "Invalid production rate" error on (re)calculation. They will just be interpreted as
      production rates of zero.
  Changes:
    - Default module counts are now set to 1 instead of 0.
    - Byproducts in reports no longer have a choose-recipe-button in their row, since it is
      redundant in that case anyway.
  Locale:
    - Added Czech and Romanian localizations.
Version: 1.0.6
Date: 2021.11.25
  Minor Features:
    - The time unit for the target production rates can now be chosen between "/m" and "/s"
      using a drop-down to the right of the production rate textfield, which replaces the previous
      "/m" static label.
Version: 1.0.5
Date: 2021.11.22
  Bugfixes:
    - Fixed a crash caused by the on_player_removed event handler. Moreover, the handler should now
      do the proper cleanup whenever a player is removed from the game.
Version: 1.0.4
Date: 2021.11.19
  Changes:
    - Numbers shown in the report now use a fixed decimal precision instead of the default
      behaviour of displaying all the representable decimal digits of the number, except for
      trailing zeroes (which caused really long and ugly numbers to be shown in many cases,
      especially when using modules). Precision is set to 3 by default, but it can be set between 1
      and 6 inclusive in the Mod Settings. The setting is per save.
Version: 1.0.3
Date: 2021.11.14
  Bugfixes:
    - Fixed a crash related to items/fluids that had production rates of zero, usually caused by
      "barelling" and "unbarelling" recipes. Entries with production rates of zero will be
      eliminated from now on.
Version: 1.0.2
Date: 2021.10.21
  Bugfixes:
    - Fixed a crash caused by recipes which can only be crafted manually.
  Locale:
    - Added a label for recipes which can only be crafted manually.
    - Changed the label "Undecomposable" to "Not decomposable".
Version: 1.0.1
Date: 2021.10.18
  Bugfixes:
    - Fixed the infinite recursion crash that occured with some recipes of some
      overhaul mods, by no longer allowing the Decomposer to enter cycles.
  Minor Features:
    - Recipes with the allow_decomposition property set to false can now be used by the mod too.
  Locale:
    - Added a tooltip to the choose_recipe_button to better inform the player about how the recipe
      can be unselected. This replaces the default tooltip (which displays the recipe itself).
  Changes:
    - Removed the keybind for "completely" resetting the calculator (CTRL + ALT + C by default),
      because it was only useful for debugging and it's not needed anymore.
Version: 1.0.0
Date: 2021.10.15
  Info:
    - Initial release