Changed Rocket Control Unit to be conditional

This commit is contained in:
Kejser Kagespiser 2025-10-05 12:55:37 +02:00 committed by Simon Brodtmann
parent d43b11c40e
commit 7a0a71f583
2 changed files with 4 additions and 2 deletions

View file

@ -3,7 +3,9 @@ require("prototypes.technology-updates")
require("prototypes.productivity-limitations")
data.raw.recipe["copper-cable"].category = "electronics"
data.raw.recipe["rocket-control-unit"].category = "electronics"
if data.raw.technology["rocket-control-unit"] then
data.raw.recipe["rocket-control-unit"].category = "electronics"
end
if data.raw["recipe-category"]["chemical-furnace"] then
if data.raw.recipe["carbon"] then