Quarry

by Shylie

Mine ores without an ore patch. Probably compatible with any mod.

Content
5 years ago
0.14 - 0.17
121
Mining

b Mod conflict

5 years ago

Conflict with mod "Deep core mining"

5 years ago

Hello,

I couldn't find the reason for this bug with my mod (https://mods.factorio.com/mod/vtk-deep-core-mining), it also crash with YAIOM (https://mods.factorio.com/mod/yaiom) , but it's in there :

https://media.discordapp.net/attachments/306402592265732098/495617104062578688/unknown.png

local recipeName = "quarry-"..resource.name
-- generate recipe
local recipe = {
  type = "recipe",
  name = recipeName,
  localised_name = {"recipe-name.quarry-recipe", {"autoplace-control-names." .. resource.name}},
  category = "quarry",
  ingredients = ingredients,
  icon = resource.icon,
  icon_size = resource.icon_size,
  energy_required = energy,
  subgroup = "raw-resource",
  order = "a"
}

if resource.minable.required_fluid then
  if resource.minable.result then
    recipe.results = { {type = "item", name = resource.minable.result, amount = resource.minable.fluid_amount, probability = 1 } }
  end
elseif resource.minable.results then
  recipe.results = table.deepcopy(resource.minable.results)
elseif resource.minable.result then
  recipe.results = { {type = "item", name = resource.minable.result, amount = 1, probability = 1} } -- fluids always are results?
else
  goto skipResource
end

Only reason would be that it fails to goto somehow.

New response