Add mod support for science packs and custom labs

And fix Cerys incompatibility
This commit is contained in:
Simon Brodtmann 2025-01-25 10:52:32 +01:00
parent 2596434131
commit ec8fe81d3e
4 changed files with 90 additions and 26 deletions

View file

@ -1,10 +1,27 @@
Lignumis = {
-- A technology having any of these science packs as ingredient will get wood and steam science packs added
science_pack_whitelist = { "utility-science-pack", "production-science-pack", "space-science-pack" },
-- A technology is skipped if it has any of these as ingredient
science_pack_blacklist = {
"wood-science-pack", "steam-science-pack", -- Lignumis
"nanite-science-pack", "quantum-science-pack", "ring-science-pack", -- Metal and Stars
"cerys-science-pack" -- Cerys
},
-- These technologies are skipped even if they are matches according to above lists
science_blacklist = {
"deep-miner",
"logistic-system",
"space-platform-thruster",
"kovarex-enrichment-process",
"astroponics"
},
-- Add wood and steam science packs to all labs' inputs except these
lab_blacklist = {
"wood-lab", -- Lignumis
"cerys-lab" -- Cerys
}
}
@ -12,4 +29,4 @@ require("__cf-lib__/util")
require("prototypes/content/data")
require("prototypes/integrations/data")
require("prototypes/compatibility/data")
require("prototypes/compatibility/data")