From 866007bb730ac485a1fd76823411fd27ecd5189d Mon Sep 17 00:00:00 2001 From: Jason Hiatt Date: Wed, 22 Jan 2025 18:17:07 +1300 Subject: [PATCH] Fix startup crash with metal and stars --- lignumis/prototypes/integrations/vanilla-updates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lignumis/prototypes/integrations/vanilla-updates.lua b/lignumis/prototypes/integrations/vanilla-updates.lua index 2453157..84abf14 100644 --- a/lignumis/prototypes/integrations/vanilla-updates.lua +++ b/lignumis/prototypes/integrations/vanilla-updates.lua @@ -5,7 +5,7 @@ for _, technology in pairs(data.raw.technology) do if technology.unit and technology.unit.ingredients and not table.contains(Lignumis.science_blacklist, technology.name) then local ingredients = technology.unit.ingredients local noMatches = table.filter(ingredients, function(ingredient) - return table.contains({ "wood-science-pack", "steam-science-pack" }, ingredient[1]) + return table.contains({ "wood-science-pack", "steam-science-pack", "nanite-science-pack", "quantum-science-pack", "ring-science-pack" }, ingredient[1]) end) local yesMatches = table.filter(ingredients, function(ingredient) return table.contains({ "utility-science-pack", "production-science-pack", "space-science-pack" }, ingredient[1]) @@ -15,4 +15,4 @@ for _, technology in pairs(data.raw.technology) do table.insert(technology.unit.ingredients, { "steam-science-pack", 1 }) end end -end \ No newline at end of file +end