EarendelDevelopers / factorio-mods

This is a public repository for tracking issues with Earendel's factorio mods.
18 stars 3 forks source link

Recipe prototype error #237

Closed iTitus closed 2 years ago

iTitus commented 2 years ago

SE Version 0.6.85

I have found an error in one lua recipe prototype that I'd like to report: In space-exploration/prototypes/phase-1/recipe/recipe.lua:737 (the se-processed-fuel-from-solid-fuel recipe prototype)

current:

  {
    type = "recipe",
    name = data_util.mod_prefix .. "processed-fuel-from-solid-fuel",
    category = "fuel-refining",
    enabled = false,
    energy_required = 5,
    ingredients = {
      { "solid-fuel", 2 },
      { type = "fluid", name = data_util.mod_prefix .. "methane-gas", amount = 20 },
    },
    results = {
      { "processed-fuel", 5 },
    },
    data_util.sub_icons(data.raw.item["processed-fuel"].icon,
                                data.raw.fluid[data_util.mod_prefix .. "methane-gas"].icon),
    icon_size = 64,
    requester_paste_multiplier = 1,
    allow_decomposition = false,
    always_show_made_in = true,
    subgroup = "fuel",
  }

fixed:

  {
    type = "recipe",
    name = data_util.mod_prefix .. "processed-fuel-from-solid-fuel",
    category = "fuel-refining",
    enabled = false,
    energy_required = 5,
    ingredients = {
      { "solid-fuel", 2 },
      { type = "fluid", name = data_util.mod_prefix .. "methane-gas", amount = 20 },
    },
    results = {
      { "processed-fuel", 5 },
    },
    icons = data_util.sub_icons(data.raw.item["processed-fuel"].icon,
                                data.raw.fluid[data_util.mod_prefix .. "methane-gas"].icon),
    icon_size = 64,
    requester_paste_multiplier = 1,
    allow_decomposition = false,
    always_show_made_in = true,
    subgroup = "fuel",
  }

There is an icons = missing