From 2fc1382609adedfeef3e7ef11691a3b6d0237863 Mon Sep 17 00:00:00 2001 From: Kejser Kagespiser Date: Sun, 5 Oct 2025 12:55:37 +0200 Subject: [PATCH] Fixed file path for graphics refences for new mod name. Changed Rocket Control Unit to be conditional. --- MDbobelectronics2/data-updates.lua | 4 +++- MDbobelectronics2/info.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MDbobelectronics2/data-updates.lua b/MDbobelectronics2/data-updates.lua index 04ab1b7..309567c 100644 --- a/MDbobelectronics2/data-updates.lua +++ b/MDbobelectronics2/data-updates.lua @@ -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 diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index d555c02..4134797 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -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": [ -- 2.39.5