fix for k2so
This commit is contained in:
parent
63324114b2
commit
5c66df5a8d
2 changed files with 14 additions and 7 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.26
|
||||
Date: 2025-06-15
|
||||
Fixes:
|
||||
- Fix load error in certain mod loadouts, especially with K2SO
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.25
|
||||
Date: 2025-05-04
|
||||
Changes:
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ function util.se_matter(params)
|
|||
{"se-astronomic-science-pack-4", 1},
|
||||
{"se-energy-science-pack-4", 1},
|
||||
{"se-material-science-pack-4", 1},
|
||||
{"matter-tech-card", 1},
|
||||
{"kr-matter-tech-card", 1},
|
||||
{"se-deep-space-science-pack-1", 1},
|
||||
}
|
||||
|
||||
|
|
@ -1896,6 +1896,7 @@ function util.redo_recycling()
|
|||
-- Find all recycling recipes that result in armor and make sure not to output more than 1
|
||||
for _, recipe in pairs(data.raw.recipe) do
|
||||
if recipe.name:find("recycling") then
|
||||
if recipe.results then
|
||||
for _, product in pairs(recipe.results) do
|
||||
if data.raw.armor[product.name] then
|
||||
if product.amount then
|
||||
|
|
@ -1910,6 +1911,7 @@ function util.redo_recycling()
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Preps the recipe to have recycling recalculated. Expects the recipe exists.
|
||||
function prepare_redo_recycling(recipe_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue