Fix bug with Astrponics 1.7.0

This commit is contained in:
Simon Brodtmann 2025-07-07 23:36:58 +02:00
parent 90a1805529
commit 82f882d920

View file

@ -1,2 +1,10 @@
data.raw.technology["tree-seeding"].hidden = false local Technology = require("__cf-lib__/data/Technology")
data.raw.technology["tree-seeding"].enabled = true
-- 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