Add Space Age specific ingredient

This commit is contained in:
Simon Brodtmann 2026-01-27 22:28:16 +01:00
parent cd960204c2
commit 08d70706b5
2 changed files with 18 additions and 11 deletions

View file

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

View file

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