Skip to content

Commit

Permalink
Added electrolysers to allow angels petrochem recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimVroom committed Feb 22, 2020
1 parent c44815b commit a79b500
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion angelspetrochem/prototypes/petrochem-global-override.lua
Expand Up @@ -381,7 +381,7 @@ if bobmods then
if data.raw.item["insulated-cable"] then -- bob electronics
data.raw.item["insulated-cable"].subgroup = "petrochem-solids"
data.raw.item["insulated-cable"].order = "a[petrochem-solids]-c[rubber]-b"
OV.patch_recipes({ { name = "insulated-cable", subgroup = "petrochem-solids-2", order = "b[rubber]-c[cable]-c"} })
OV.patch_recipes({{name = "insulated-cable", subgroup = "petrochem-solids-2", order = "b[rubber]-c[cable]-c"}})
end

if data.raw.recipe["pure-water-pump"] then
Expand All @@ -391,6 +391,11 @@ if bobmods then
end

table.insert(data.raw["assembling-machine"]["electrolyser"].crafting_categories, "petrochem-electrolyser")
if bobmods and bobmods.assembly then
table.insert(data.raw["assembling-machine"]["electrolyser-2"].crafting_categories, "petrochem-electrolyser")
table.insert(data.raw["assembling-machine"]["electrolyser-3"].crafting_categories, "petrochem-electrolyser")
table.insert(data.raw["assembling-machine"]["electrolyser-4"].crafting_categories, "petrochem-electrolyser")
end
data.raw.fluid["heavy-water"].subgroup = "water-treatment-fluid"
data.raw.fluid["heavy-water"].order = "eb"
data.raw.fluid["deuterium"].subgroup = "petrochem-basic-fluids"
Expand Down

0 comments on commit a79b500

Please sign in to comment.