Skip to content

PCPRedux: recipes use retired fluid "angels-liquid-sulfuric-acid" → load error on current Angels Petrochem #26

Description

@Lampotrias

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions