Page 1 of 1

[2.0.76] data dump recipes without required energy

Posted: Sun Jun 07, 2026 12:08 am
by jean-lopes
When exporting data, some recipes are exported without a value for energy_required.

What I did:

Code: Select all

mkdir -p empty-dir

factorio --mod-directory ./empty-dir --dump-data

DATA="$HOME/.factorio/script-output/data-raw-dump.json"

jq -r '.recipe[] | select(.energy_required == null) | .name' $DATA > recipes-missing-energy-required.txt

wc -l recipes-missing-energy-required.txt
63 recipes have no energy_required, some (11) of than are expected of course (i.e. parameter-0), but the other (52) should have it, or at least I expected than to have.

recipes-missing-energy-required.txt
(915 Bytes) Downloaded 2 times

dump command stdout

Code: Select all

   0.000 2026-06-06 20:56:26; Factorio 2.0.76 (build 84451, linux64, steam, space-age)
   0.007 Operating system: Linux (Arch rolling)
   0.007 Program arguments: "factorio" "--mod-directory" "./empty-dir" "--dump-data"
   0.007 Config path: /home/jean-lopes/.factorio/config/config.ini
   0.007 Read data path: /home/jean-lopes/.local/share/Steam/steamapps/common/Factorio/data
   0.007 Write data path: /home/jean-lopes/.factorio [239683/373548MB]
   0.007 Binaries path: /home/jean-lopes/.local/share/Steam/steamapps/common/Factorio/bin
   0.014 System info: [CPU: AMD Ryzen 7 5700X3D 8-Core Processor, 16 cores, RAM: 32009 MB]
   0.014 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=GNOME SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.014 Running in headless mode
   0.014 Audio is disabled
   0.023 Info ModManager.cpp:449: FeatureFlag expansion-shaders = true
   0.023 Info ModManager.cpp:449: FeatureFlag freezing = true
   0.023 Info ModManager.cpp:449: FeatureFlag quality = true
   0.023 Info ModManager.cpp:449: FeatureFlag rail-bridges = true
   0.023 Info ModManager.cpp:449: FeatureFlag segmented-units = true
   0.023 Info ModManager.cpp:449: FeatureFlag space-travel = true
   0.023 Info ModManager.cpp:449: FeatureFlag spoiling = true
   0.025 Loading mod core 0.0.0 (data.lua)
   0.034 Loading mod base 2.0.76 (data.lua)
   0.126 Loading mod elevated-rails 2.0.76 (data.lua)
   0.141 Loading mod quality 2.0.76 (data.lua)
   0.148 Loading mod space-age 2.0.76 (data.lua)
   0.274 Loading mod base 2.0.76 (data-updates.lua)
   0.282 Loading mod quality 2.0.76 (data-updates.lua)
   0.295 Loading mod space-age 2.0.76 (data-updates.lua)
   0.357 Checksum for core: 4187927925
   0.357 Checksum of base: 1879415942
   0.357 Checksum of elevated-rails: 70351106
   0.357 Checksum of quality: 1142589254
   0.357 Checksum of space-age: 1510664043
   0.637 Prototype list checksum: 3295867752
   1.603 Info PlayerData.cpp:66: Local player-data.json unavailable
   1.603 Info PlayerData.cpp:71: Cloud player-data.json unavailable
   1.604 Factorio initialised
   1.632 Goodbye

Re: [2.0.76] data dump recipes without required energy

Posted: Sun Jun 07, 2026 1:24 am
by Rseding91
Thanks for the report however this is working correctly. The field is optional and so isn't required to be set.