Mod: Bob's Ores 3.0.0
Factorio: 2.1.x
DLC: Space Age enabled
Other relevant mods:
AngelBob 2.1.0
Angel's Infinite Ores 2.1.0
OmniAB Space Age Compatibility 1.4.16
Error message
Failed to load mods:
Error while running setup for space-location prototype
"vulcanus" (planet):
tungsten-ore (entity) does not have an autoplace specification.
Description
When loading Factorio with Bob's Ores, Angel's Mods, and Space Age enabled, the game fails during prototype validation because the tungsten ore resource is missing its autoplace specification.
While investigating the issue, I noticed that bobores_3.0.0/prototypes/tungsten-ore.lua contains the following function:
function bobmods.ores.tungsten.create_autoplace()
if not mods["space-age"] then
data.raw.resource["tungsten-ore"].autoplace =
bobmods.lib.resource_autoplace.resource_autoplace_settings({
name = "tungsten-ore",
order = "c",
base_density = 8,
has_starting_area_placement = false,
regular_rq_factor_multiplier = 1,
})
bobmods.ores.tungsten.enabled = true
end
end
The conditional prevents this function from assigning an autoplace specification when Space Age is installed.
This may contribute to the crash if another mod removes or replaces the default tungsten ore autoplace specification.
Troubleshooting performed
Disabled omniab-space-age-compat — same error.
Disabled angelsrefining — same error.
Inspected the installed mod files and identified the Space Age conditional in Bob's tungsten ore definition.
Possible solution
Ensure tungsten ore retains a valid autoplace specification when Space Age is enabled, even when Bob's Ores and Angel's Mods modify resource generation.
This may require a compatibility adjustment rather than a change to Bob's Ores alone.
Additional information
I have created a small compatibility patch that attempts to restore the missing tungsten ore autoplace specification. The patch has not yet been confirmed to resolve the issue.
I can provide my full mod list and additional logs if needed. I also made a temp pach (https://mods.factorio.com/mod/vulcanus-tungsten-autoplace-fix)