Subterrania


Dig beneath your planets. Freight Elevators sink shafts to caves three levels deep under Nauvis (four with Space Age, plus one under Gleba and one under Fulgora, and 2 under Aquilo!) The ore above runs on below; deeper down come granite, quartz, feldspar, geothermal heat, and higher pressure, guarded by Underground Horrors. New buildings, new enemies/combat, new defenses! Supplementary to Space Age, no required technologies but lots of less expensive alternatives. Build deep, defend, expand!

Overhaul
15 hours ago
2.1
360
Planets Transportation Logistics Combat Enemies Environment Mining Manufacturing Power

b Compatibility issue with Corrundum

7 days ago

I'm actually not sure which mod is at fault or if you're interested in compatibility so I'm posting it on both mods. When I try to load this with planet Corrundum (https://mods.factorio.com/mod/corrundum) It gives me this error: "Failed to load mods: Error while loading recipe prototype "dilute-acid-neutralization" (recipe): Localised string key is too large: 239 > 200 (limit). in property tree at ROOT.recipe.dilute-acid-neutralization.custom_tooltip_fields[0].value
Modifications: ○🌐Corrundum › Subterrania"

7 days ago

Oo, good catch. That is on me; fix incoming.

7 days ago

Wow, that was fast. The fix works fine!

7 days ago

Looks like Muluna (https://mods.factorio.com/mod/planet-muluna) is having trouble too. "Failed to load mods: PlanetsLib/lib/surface-property-lib.lua:24: attempt to index field 'surface_property' (a nil value)
stack traceback:
PlanetsLib/lib/surface-property-lib.lua:24: in function 'fits_surface_conditions'
...-muluna__/prototypes/final-fixes/oxygenated-vehicles.lua:31: in main chunk
[C]: in function 'require'
planet-muluna/data-final-fixes.lua:39: in main chunk"

7 days ago

Interesting, that's only half-related to Subterrania, but I still have a fix incoming.
The bug: Muluna's oxygenated-vehicles.lua checks whether each vehicle with surface conditions can be used on Muluna. It does this with PlanetsLib's fits_surface_conditions in lib/surface-property-lib.lua. Line 24 handles a condition on a property that Muluna's planet doesn't set. It looks up the default value in data.raw.surface_property, but the game files that type under data.raw["surface-property"], with a hyphen. So that lookup is always nil and crashes.

Why subt. triggers it: the Boring Vehicle and the Bulldozer carry a subterrania-depth >= 1 condition. Muluna doesn't set that property, so the check falls into a broken line. Any mod that adds a vehicle with a condition on its own property would crash the same way, so PlanetLib might need a fix.

That fix is a one-character change in PlanetsLib (data.raw["surface-property"]). For its author.

7 days ago

Thanks! I'll link this thread on their discord. I've been spending the last few hours trying to track down all the compatibility problems in my load order.

New response