Code: Select all
script.on_init(function()
if settings.global["earlierlogisticsmainsetting"].value == "merge" then
table.insert(data.raw["technology"]["logistic-robotics"].effects, {type = "unlock-recipe",recipe = "logistic-chest-active-provider"})
table.insert(data.raw["technology"]["logistic-robotics"].effects, {type = "unlock-recipe",recipe = "logistic-chest-buffer"})
table.insert(data.raw["technology"]["logistic-robotics"].effects, {type = "unlock-recipe",recipe = "logistic-chest-requester"})
if data.raw.technology["logistic-system"] then
data.raw.technology["logistic-system"] = null
end
end
end)
script.on_init(function()
if settings.global["earlierlogisticsmainsetting"].value == "changepack" then
if data.raw.technology["logistic-system"] then
data.raw.technology["logistic-system"].prerequisites =
{
"logistic-robotics",
"chemical-science-pack",
}
data.raw.technology["logistic-system"].unit.count = 150
data.raw.technology["logistic-system"].unit.ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
}
end
end
end)