Bob's Assembling machines


Adds assembling machines 4, 5 and 6. And other machine higher tiers too.

Content
9 months ago
0.13 - 1.1
262K
Manufacturing

b cross mod compatibility breaks recipes with Darkstar Utilities

6 years ago
(updated 6 years ago)

technology within bob's assembly overwrites technology effects for darkstar utilities, preventing crafting of Dark Matter (fluid) and Antithetical Matter (fluid).

https://mods.factorio.com/mod/Darkstar_utilities/discussion/5af5e5fe36d423000aa64e9d

verified by adding bob's assembly as an optional dependency within darkstar utilities's info.json to force it to load after bob's assembly (resulting in same sort of issue popping up in bob's assembly items, but it did re-enable those missing recipes mentioned above)

to resolve: one mod needs to set an optional dependency pointed at the other, and change the way they add/edit technology effects.

6 years ago

--oil-refinery.lua edit by usafphoenix below fixes specific issue

if not data.raw.technology["oil-processing-2"] then
data:extend(
{
{
type = "technology",
name = "oil-processing-2",
icon = "base/graphics/technology/oil-processing.png",
icon_size = 128,
prerequisites =
{
"oil-processing",
"advanced-electronics"
},
order = "d-a2",
upgrade = true,
unit =
{
count = 75,
time = 30,
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 1},
{"science-pack-3", 1}
}
},
--[[ --commented out. we'll add the recipe unlock later
effects =
{
{
type = "unlock-recipe",
recipe = "oil-refinery-2"
},
},
--]]
}
}
)
end
--add effect: unlock recipe regardless of which mod is adding "oil-processing-2" technology
bobmods.lib.tech.add_recipe_unlock("oil-processing-2", "oil-refinery-2")

New response