Code: Select all
data.raw.technology["power-cells"].prerequisites = {"electric-machinery"}
data.raw.technology["power-cells"].unit.ingredients = {count = 50, ingredients = "early-science-pack", 1, time = 10}
Code: Select all
Error
Failed to load mods: Error while loading technology prototype "power-cells" (technology): Difficulty normal: Value must be a dictionary in property tree at ROOT.technology.power-cells.unit.ingredients.1