Summary
PCPRedux (1.1.0) recipes reference the fluid angels-liquid-sulfuric-acid, which Angels Petrochem retired in its 2.0.2 migration (renamed to the base-game sulfuric-acid). On current angelspetrochem (2.0.2+) that fluid prototype no longer exists, so these recipes point at a non-existent ingredient and the game fails to load at the data stage.
Affected references
PCPRedux/prototypes/recipes.lua:131
PCPRedux/prototypes/recipes.lua:173
PCPRedux/prototypes/polylactic-acid.lua:57
PCPRedux/prototypes/polylactic-acid.lua:103
Fix (version-aware — keeps working on both old and new Angels)
Pick the fluid that exists at the data stage instead of hard-coding either name:
local sulfuric_acid = data.raw.fluid["angels-liquid-sulfuric-acid"] and "angels-liquid-sulfuric-acid" or "sulfuric-acid"
and use sulfuric_acid in the affected recipes. PR follows.
Environment
Factorio 2.0; angelspetrochem 2.0.3; PCPRedux 1.1.0.
Summary
PCPRedux (1.1.0) recipes reference the fluid
angels-liquid-sulfuric-acid, which Angels Petrochem retired in its 2.0.2 migration (renamed to the base-gamesulfuric-acid). On currentangelspetrochem(2.0.2+) that fluid prototype no longer exists, so these recipes point at a non-existent ingredient and the game fails to load at the data stage.Affected references
PCPRedux/prototypes/recipes.lua:131PCPRedux/prototypes/recipes.lua:173PCPRedux/prototypes/polylactic-acid.lua:57PCPRedux/prototypes/polylactic-acid.lua:103Fix (version-aware — keeps working on both old and new Angels)
Pick the fluid that exists at the data stage instead of hard-coding either name:
and use
sulfuric_acidin the affected recipes. PR follows.Environment
Factorio 2.0; angelspetrochem 2.0.3; PCPRedux 1.1.0.