1. Create a new mod, with Quality and Base as the only dependencies.
2. In your data.lua, add the following code:
Code: Select all
data.raw.recipe["repair-pack"].ingredients = {
{ type = "fluid", name = "does-not-exist", amount = 1, }
}
Using a fluid that does exist, like water, correctly reports that fluids should not be in the crafting category, but a fluid not in the known list of fluids causes this error.Failed to load mods: __quality__/prototypes/recycling.lua:123: attempt to index field '?' (a nil value)