Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Date: ????
- Add compatibility with AAI Signal Transmission. Now researched after logistics science and uses contemporary ingredients
- Adjusted logic that determines the amount and name of a product to display with the "Add recipe signals" startup setting.
- Fix a crash with Schall Machine Scaling
- Fixed a crash when cleaning up recycling recipes created by quality that had no results. Resolves https://github.com/pyanodon/pybugreports/issues/1284
---------------------------------------------------------------------------------------------------
Version: 3.0.39
Date: 2025-09-15
Expand Down
2 changes: 1 addition & 1 deletion prototypes/quality.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local RECYCLING_ICON_FILEPATH = "__quality__/graphics/icons/recycling.png"

local deadrecipes = {}
for r, recipe in pairs(data.raw.recipe) do
if string.match(recipe.name, "recycling") and recipe.icons and recipe.icons[1] and recipe.icons[1].icon == RECYCLING_ICON_FILEPATH then
if string.match(recipe.name, "recycling") and recipe.icons and recipe.icons[1] and recipe.icons[1].icon == RECYCLING_ICON_FILEPATH and #(recipe.results or {}) > 0 then
if data.raw.item[recipe.ingredients[1].name] == nil or data.raw.item[recipe.results[1].name] == nil then
table.insert(deadrecipes, recipe.name)
end
Expand Down