Krastorio 2 Spaced Out


Overhaul merging Krastorio 2 with Space Age.

Overhaul
a month ago
2.0
36.2K
Factorio: Space Age Icon Space Age Mod
Transportation Logistics Trains Combat Mining Fluids Logistic network Manufacturing Power Storage

b "tree-seeding" is set to nil instead of hidden in case of age-of-production

16 days ago

Hi,

I got this report, and checked it out:
https://mods.factorio.com/mod/zen-garden/discussion/699c0fd9a12f07714ed677c9

Based on your changelog and code:
Version: 1.6.15
Date: 2026-01-24
Compatibility:
- Tree seeding technology is now hidden instead of being removed for better mod compatability

The line that will remove prerequisits:
data_util.remove_prerequisite("fish-breeding", "tree-seeding")

In case "age of production" is enabled and lignumis is not, the tech will still be set to nil thus can cause a crash:

if not mods["Age-of-Production"] then
    return
end
local data_util = require("data-util")

data_util.add_prerequisite("aop-woodworking", "kr-greenhouse")
data_util.add_prerequisite("aop-woodworking", "agricultural-science-pack")

data_util.remove_prerequisite("aop-woodworking", "tree-seeding")
data_util.remove_prerequisite("aop-woodworking", "production-science-pack")
data.raw.technology["aop-woodworking"].research_trigger = { type = "mine-entity", entity = "kr-greenhouse" }

if not mods["lignumis"] then
    data.raw.technology["tree-seeding"] = nil
end

New response