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

@ -181,3 +181,9 @@ 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

@ -7,6 +7,7 @@
"homepage": "https://discord.gg/ufvFUJtVwk", "homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0", "factorio_version": "2.0",
"dependencies": [ "dependencies": [
"base" "base",
"? space-age"
] ]
} }