Add Space Age specific ingredient

This commit is contained in:
Simon Brodtmann 2026-01-27 22:28:05 +01:00
parent 885def2f3c
commit d6d3bfcd3f
2 changed files with 18 additions and 11 deletions

View file

@ -181,3 +181,9 @@ data:extend({
upgrade = true
}
})
if mods["space-age"] then
table.insert(data.raw.recipe["pollution-module-3"].ingredients, {type = "item", name = "carbon", amount = 5})
table.insert(data.raw.technology["pollution-module-3"].prerequisites, "space-science-pack")
table.insert(data.raw.technology["pollution-module-3"].unit.ingredients, { "space-science-pack", 1 })
end

View file

@ -1,12 +1,13 @@
{
"name": "pollution-module",
"version": "1.0.2",
"title": "Pollution module",
"description": "Adds pollution modules.",
"author": "cackling fiend",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
"dependencies": [
"base"
]
"name": "pollution-module",
"version": "1.0.2",
"title": "Pollution module",
"description": "Adds pollution modules.",
"author": "cackling fiend",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
"dependencies": [
"base",
"? space-age"
]
}