Factory Inspector


Measures per-recipe consumption and production for all items. Want to know which recipe is consuming all your green circuits? This mod can tell you. Designed for complex modded games where each item has many producers and consumers.

Utilities
3 days ago
1.1
3.31K
Owner:
Aurensar
Source:
https://github.com/Aurensar/factorio-...
Homepage:
N/A
License:
MIT
Created:
3 years ago
Latest Version:
1.1.24 (3 days ago)
Factorio version:
1.1
Downloaded by:
3.31K users

Factory Inspector

Update April 2024 - this mod is still a prototype and it may crash, although hopefully a lot less than before. Save regularly!

Most of the big crashes should be fixed as of 1.1.23, but there are still some crashes when entities get created or removed in unusual ways e.g. Pyanodon's oil industry.

If you're using this mod - is it helpful? Does it work? Please submit bug fixes and feature requests in the discussions tab.

Mod overview

This mod measures per-activity consumption and production for every item currently being produced or consumed in your factory.

It's designed primarily for heavily modded games where each item has many producers and consumers. Even in vanilla, it may be useful for high-volume items that get consumed in multiple places, such as green circuits and low density structures.

Open the mod UI using the shortcut bar ("FI" icon)

The mod was created for use with Pyanodon's mod suite, but in theory it should work with any mod pack or with vanilla. I haven't tested it with anything except the Py suite.

Most consumption and production types are supported:

  • Consumption as recipe ingredient
  • Consumption as solid fuel (in furnace, assembling machine or mining drill)
  • Consumption as fluid fuel (in furnace or assembling machine, heavily used in some mod packs)
  • Consumption as mining fluid
  • Production as recipe product
  • Production as mining product

Top known issues as of 1.1.19

  • The method currently being used to detect when burner entities switch to different fuel types may not be reliable.
  • Consumption of fluids or solids by boiler-type entities is completely unsupported
  • There are still a few crashes unresolved, the biggest one I'm aware of relates to the Pymods oil derricks when the drilling fluid process completes.

Longer-term fixes planned

  • The displayed figures for production and consumption per minute and per second are all averaged over the last 120 seconds; this will become an option in a future version
  • Likely to be computationally expensive in large factories. More performance work coming including making some of the performance management configurable
  • Support for added speed and productivity (via modules or other sources) works but likely has accuracy issues
  • Split fluids into different "items" by temperature (for example, so production of 500C coke oven gas can be measured independently of production of 250C coke oven gas)

Acknowledgements

  • This mod is inspired by the "Usage Detector" mod by zomis. The concept is the same, but this mod is always measuring every item and tracks additional production and consumption types. Many thanks to the mod author for demonstrating the concept.