Sice we are starting today and I'm not sure when the update will be (we probably won't be researching it untill tomorrow). I looked at it a bit and since the recipe seems to want it:
if settings.startup["deep_oil"].value then
data:extend{
{
type = "technology",
name = "deep_sea_oil_extraction",
icon = GRAPHICSPATH .. "technology/deep_sea_oil_extraction.png",
icon_size = 256,
effects = {
unlock("oil_rig"),
},
prerequisites = {"tank_ship", "oil-processing"},
unit = {
count = 200,
ingredients = {
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
},
time = 30
},
order = "c-g-b",
},
}
I would assume the mistake is somewhere in here:
if settings.startup["deep_oil"].value and (settings.startup["no_oil_on_land"] or settings.startup["no_oil_for_oil_rig"].value) then
data.raw.technology["deep_sea_oil_extraction"].unit = {
count = 300,
ingredients = {
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
},
time = 30
}
end
Could I change this:
if settings.startup["deep_oil"].value and (settings.startup["no_oil_on_land"] or settings.startup["no_oil_for_oil_rig"].value) then
to this:
if settings.startup["no_oil_for_oil_rig"].value then
Will that fix it or will it just cause problems.