-- settings.lua
data:extend({
{
type = "bool-setting",
name = "logistic-science-with-pipes",
setting_type = "startup",
default_value = true
}
})
-- data-final-fixes.lua
if settings.startup["logistic-science-with-pipes"].value then
data.raw["recipe"]["science-pack-2"].ingredients = {{"transport-belt", 1}, {"inserter", 1}, {"pipe", 1}}
end
-- science.cfg
[mod-setting-name]
logistic-science-with-pipes=Use Pipes in Logistic science pack?