Data Exporter to JSON


Outputs|Exports a JSON file to /script-output/recipe-lister that lists all recipes, crafting machines, mining drills, belts, inserters, resources, items, fluids, and technologies loaded on player creation. Settings for split files and toggles for each category

Utilities
3 years ago
0.16 - 1.1
772

b Energy usage?

5 years ago
(updated 5 years ago)

The energy usage data for machines is weird. For example, Assembling machine 1 uses 75kW, yet the dump says 1250? what are the units there, why are the numbers different?
Similarly for AM2, ingame uses 150kW, yet the file says 2500. Which is both for some reason 16.6666 times the energy usage in kW.

EDIT: Belts are also not written, that part is empty for me.

5 years ago

Ah, it seems like the energy usage unit is joule per tick in the prototype, not joule per second (watt). The currently reported numbers are exactly 60x less the expected number in watt, so the unit of time here is clearly ticks, not second.

I'll look into the missing belts. Seems like it's not the correct type to look for.

5 years ago

I have updated the mod to output energy usage values in watt.

New response