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

View file

@ -3,7 +3,7 @@
"version": "4.0.1",
"factorio_version": "2.0",
"title": "Bob's Electronics SE KR for 2.0",
"author": "Bobingabout, MdRuz, cackling fiend",
"author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser",
"contact": "",
"homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=95748",
"dependencies": [