Angel's Re-enabled Basic Ore Smelting and Kovarex Enrichment


Use this with Angel's Smelting to re-enable the smelting of basic vanilla/bob ores (iron, copper, tin and lead) in the furnace, as well as Kovarex Enrichment Process.

Content
25 days ago
1.1
4.04K
Manufacturing

g New update, broken mod?

a day ago

This is the error I get when I try to add. I also changed the factorio ver in info.json to "factorio_version": "2.0",

Failed to load mods: Angels_RBOS/data-updates.lua:2: attempt to index field 'normal' (a nil value)
stack traceback:
Angels_RBOS/data-updates.lua:2: in main chunk

a day ago

I got it to load with this in data-updates.lua. (replacing everything)

--iron--
local recipe = data.raw.recipe["iron-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
recipe.normal.enabled = true
recipe.normal.hidden = false
end

if recipe.expensive then
recipe.expensive.enabled = true
recipe.expensive.hidden = false
end
end

--copper--
recipe = data.raw.recipe["copper-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
recipe.normal.enabled = true
recipe.normal.hidden = false
end

if recipe.expensive then
recipe.expensive.enabled = true
recipe.expensive.hidden = false
end
end

if mods["bobplates"] then

--tin--
recipe = data.raw.recipe["tin-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
  recipe.normal.enabled = true
  recipe.normal.hidden = false
end

if recipe.expensive then
  recipe.expensive.enabled = true
  recipe.expensive.hidden = false
end

end

--lead--
recipe = data.raw.recipe["lead-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
  recipe.normal.enabled = true
  recipe.normal.hidden = false
end

if recipe.expensive then
  recipe.expensive.enabled = true
  recipe.expensive.hidden = false
end

end

end

a day ago

I got it to load with this in data-updates.lua. (replacing everything)

--iron--
local recipe = data.raw.recipe["iron-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
recipe.normal.enabled = true
recipe.normal.hidden = false
end

if recipe.expensive then
recipe.expensive.enabled = true
recipe.expensive.hidden = false
end
end

--copper--
recipe = data.raw.recipe["copper-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
recipe.normal.enabled = true
recipe.normal.hidden = false
end

if recipe.expensive then
recipe.expensive.enabled = true
recipe.expensive.hidden = false
end
end

if mods["bobplates"] then

--tin--
recipe = data.raw.recipe["tin-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
  recipe.normal.enabled = true
  recipe.normal.hidden = false
end

if recipe.expensive then
  recipe.expensive.enabled = true
  recipe.expensive.hidden = false
end

end

--lead--
recipe = data.raw.recipe["lead-plate"]
if recipe then
recipe.enabled = true
recipe.hidden = false

if recipe.normal then
  recipe.normal.enabled = true
  recipe.normal.hidden = false
end

if recipe.expensive then
  recipe.expensive.enabled = true
  recipe.expensive.hidden = false
end

end

end

a day ago

Sorry for double post I was trying to fix the formatting.

a day ago

This code does not work and I cant seem to edit this and delete it. This makes recipes shown but still uncraftable.

New response