Data Raw Serpent

by Bilka

Prints the entire data.raw table to the log on run. Useful for modders and tool devs.

Utilities
a month ago
0.15 - 2.0
375

g I don't know who is wrong

a month ago

Here is the recipe for processing unit recycling as listed by your exporter:

  name = "processing-unit-recycling",
  results = {
    {
      amount = 5,
      extra_count_fraction = 0,
      name = "electronic-circuit",
      type = "item"
    },
    {
      amount = 0.5,
      extra_count_fraction = 0.5,
      name = "advanced-circuit",
      type = "item"
    }
  }

We see that the red circuit amount is listed as 0.5. However, according to the documentation here:
https://lua-api.factorio.com/latest/types/ItemProductPrototype.html
the amount must equal an integer, so something is going on but I don't know what.

New response