Krastorio 2 Quality Compatibility


Add quality to K2. Now doesn't require manually editing the files.

Content
5 months ago
2.0
975
Factorio: Space Age Icon Space Age Mod

b Brevven/BZ mod compatibility

10 days ago

Error Message reads:
Failed to load mods: core/lualib/util.lua:821: Recipe has no results: landfill-lead-ore
stack traceback:
[C]: in function 'error'
core/lualib/util.lua:821: in function 'normalize_recipe_products'
K2QualityCompat/prototypes/recycling.lua:78: in function 'add_recipe_values'
K2QualityCompat/prototypes/recycling.lua:208: in function 'generate_recycling_recipe'
K2QualityCompat/data-updates.lua:5: in main chunk

Mods to be disabled:
• K2QualityCompat (1.1.0)

Replace "landfill-'lead-ore'" with any of the other BZ mod ores.

Please and thank you.

This is certainly one of the errors of all time, as it's caused by the code I copy and pasted from the official quality mod for some reason. Taking a look right now.

This is caused by BZ mods. Recipe shorthands are not allowed in factorio 2.0 anymore but the mod still uses it. In regular situations it still loads, but quality mod does not work with it, resulting in an error.

6 days ago

Ok, thank you for the response. I'll just wait for BZ mods to update for my next run. -- They currently don't work with SE either, and your mod is more important to me.

6 days ago
(updated 6 days ago)

Ok, thank you for the response. I'll just wait for BZ mods to update for my next run. -- They currently don't work with SE either, and your mod is more important to me.

If you really want to play BZ mods, opening each and edit data-util.lua, search for ingredients = {{params.ore, 50}} and replace with ingredients = { {type = "item", name = params.ore, amount = 50} } should work. Looks like brevven's been busy in the past few months and didn't have time for modding, but I opened an issue on the github page regardless. https://github.com/brevven/lead/issues/34

5 days ago

Thank you for the hint on how to fix it. I very well may do so.

New response