diff --git a/lignumis/prototypes/integrations/astroponics-updates.lua b/lignumis/prototypes/integrations/astroponics-updates.lua index 72bc125..c0ef83f 100644 --- a/lignumis/prototypes/integrations/astroponics-updates.lua +++ b/lignumis/prototypes/integrations/astroponics-updates.lua @@ -1,2 +1,10 @@ -data.raw.technology["tree-seeding"].hidden = false -data.raw.technology["tree-seeding"].enabled = true +local Technology = require("__cf-lib__/data/Technology") + +-- This just undoes what astroponics changes to tree seeding +Technology:new("tree-seeding"):addRecipe("wood-processing") +Technology:new("astroponics"):removeRecipe("wood-processing") +for i, effect in pairs(data.raw.technology["tree-seeding"].effects) do + if effect.type == "change-recipe-productivity" and effect.recipe == "wood-processing" then + table.remove(data.raw.technology["tree-seeding"].effects, i) + end +end \ No newline at end of file