Factorio-Stdlib
Factorio-Stdlib copied to clipboard
add_ingredient cant find items that are modules
Describe the Bug
have a recipe with add_ingredient attempting to add an module type object as an ingredient even though the module is valid and exists in data.raw before the data-updates phase where the code is attempting to add it.
To Reproduce
load the latest version of pyalienlife.
Save file & Username
n/a data stage issue and nothing to show in a save file.
Log file
10.360 Script @__stdlib__/stdlib/data/data.lua:39: Item item/seaweed does not exist. [__stdlib__/stdlib/data/data.lua:490 in Item, __stdlib__/stdlib/data/recipe.lua:28 in format, __stdlib__/stdlib/data/recipe.lua:62 in get_difficulties, __stdlib__/stdlib/data/recipe.lua:102 in add_ingredient, @__pyalienlife__/prototypes/updates/pyfusionenergy-updates.lua:40 in ???] 10.360 Script @__stdlib__/stdlib/data/data.lua:39: Item item/moss does not exist. [__stdlib__/stdlib/data/data.lua:490 in Item, __stdlib__/stdlib/data/recipe.lua:28 in format, __stdlib__/stdlib/data/recipe.lua:62 in get_difficulties, __stdlib__/stdlib/data/recipe.lua:102 in add_ingredient, @__pyalienlife__/prototypes/updates/pyfusionenergy-updates.lua:40 in ???]