🌐 Planetaris: Arig

by Syen_ce

Arig, a hot planet with vast deserts where only valuable resources can be found underground or in the sand.

Content
3 days ago
2.0
3.81K
Factorio: Space Age Icon Space Age Mod
Planets Transportation Logistics Environment Mining Fluids Logistic network Manufacturing Power Storage

b Crash with Crushing Industry when "crushed-coal" is disabled

19 days ago
(updated 19 days ago)

Hello, your mod planetaris-arig crashes on load if the "Crushed Coal" (crushing-industry-coal) startup setting in the crushing-industry mod is disabled.
Error: Error in assignID: item with name 'crushed-coal' does not exist. Source: planetaris-compression-rocket-fuel (recipe).

Reason: The file compat/crushing-industry.lua unconditionally changes the planetaris-compression-rocket-fuel recipe to use crushed-coal, but it does not check if that setting is enabled in Crushing Industry.

Possible fix: Wrap the recipe modification in compat/crushing-industry.lua in a settings check:

if settings.startup["crushing-industry-coal"] and settings.startup["crushing-industry-coal"].value then
  ...
end

Thank you!

19 days ago

Just as a follow-up:
I have tested the proposed fix myself by editing the compat/crushing-industry.lua file, and I can confirm that it completely solves the issue. The game now loads correctly when the "Crushed Coal" setting in the Crushing Industry mod is disabled.

18 days ago

Thanks! ill fix it for the next update

New response