Fixed file path for graphics refences for new mod name.
Changed Rocket Control Unit to be conditional.
This commit is contained in:
parent
c4d06d2a0f
commit
8253faf5e4
8 changed files with 34 additions and 32 deletions
|
@ -3,7 +3,9 @@ require("prototypes.technology-updates")
|
||||||
require("prototypes.productivity-limitations")
|
require("prototypes.productivity-limitations")
|
||||||
|
|
||||||
data.raw.recipe["copper-cable"].category = "electronics"
|
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-category"]["chemical-furnace"] then
|
||||||
if data.raw.recipe["carbon"] then
|
if data.raw.recipe["carbon"] then
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "MDbobelectronics2",
|
"name": "MDbobelectronics2",
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Bob's Electronics SE KR for 2.0",
|
"title": "Bob's Electronics SE KR for 2.0",
|
||||||
"author": "Bobingabout, MdRuz, cackling fiend",
|
"author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser",
|
||||||
"contact": "",
|
"contact": "",
|
||||||
"homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=95748",
|
"homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=95748",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
|
|
@ -17,7 +17,7 @@ data:extend(
|
||||||
name = "bob-intermediate-products",
|
name = "bob-intermediate-products",
|
||||||
order = "c-i",
|
order = "c-i",
|
||||||
inventory_order = "a-c",
|
inventory_order = "a-c",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/technology/intermediates.png",
|
icon = "__MDbobelectronics2__/graphics/icons/technology/intermediates.png",
|
||||||
icon_size = 64,
|
icon_size = 64,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "fluid",
|
type = "fluid",
|
||||||
name = "ferric-chloride-solution",
|
name = "ferric-chloride-solution",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/ferric-chloride-solution.png",
|
icon = "__MDbobelectronics2__/graphics/icons/ferric-chloride-solution.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
default_temperature = 25,
|
default_temperature = 25,
|
||||||
heat_capacity = "1kJ",
|
heat_capacity = "1kJ",
|
||||||
|
@ -18,7 +18,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "ferric-chloride-solution",
|
name = "ferric-chloride-solution",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/ferric-chloride-solution.png",
|
icon = "__MDbobelectronics2__/graphics/icons/ferric-chloride-solution.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-resource-chemical",
|
subgroup = "bob-resource-chemical",
|
||||||
order = "x[fluid-chemistry]-a[ferric-chloride-solution]",
|
order = "x[fluid-chemistry]-a[ferric-chloride-solution]",
|
||||||
|
|
|
@ -4,7 +4,7 @@ if data.raw.item["tin-plate"] then
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "tinned-copper-cable",
|
name = "tinned-copper-cable",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/tinned-copper-cable.png",
|
icon = "__MDbobelectronics2__/graphics/icons/tinned-copper-cable.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-a1[tinned-copper-cable]",
|
order = "0-a1[tinned-copper-cable]",
|
||||||
|
@ -34,7 +34,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "insulated-cable",
|
name = "insulated-cable",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/insulated-cable.png",
|
icon = "__MDbobelectronics2__/graphics/icons/insulated-cable.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-a2[insulated-cable]",
|
order = "0-a2[insulated-cable]",
|
||||||
|
@ -64,7 +64,7 @@ if data.raw.item["gold-plate"] then
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "gilded-copper-cable",
|
name = "gilded-copper-cable",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/gilded-copper-cable.png",
|
icon = "__MDbobelectronics2__/graphics/icons/gilded-copper-cable.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-a3[gilded-copper-cable]",
|
order = "0-a3[gilded-copper-cable]",
|
||||||
|
@ -95,7 +95,7 @@ if data.raw.item["solder-alloy"] then
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "solder",
|
name = "solder",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/solder.png",
|
icon = "__MDbobelectronics2__/graphics/icons/solder.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-a4[solder]",
|
order = "0-a4[solder]",
|
||||||
|
@ -127,7 +127,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "basic-electronic-components",
|
name = "basic-electronic-components",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/basic-electronic-components.png",
|
icon = "__MDbobelectronics2__/graphics/icons/basic-electronic-components.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-b1[basic-electronic-components]",
|
order = "0-b1[basic-electronic-components]",
|
||||||
|
@ -157,7 +157,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "BOBMD-electronic-components",
|
name = "BOBMD-electronic-components",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/electronic-components.png",
|
icon = "__MDbobelectronics2__/graphics/icons/electronic-components.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-b2[electronic-components]",
|
order = "0-b2[electronic-components]",
|
||||||
|
@ -187,7 +187,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "intergrated-electronics",
|
name = "intergrated-electronics",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/integrated-electronics.png",
|
icon = "__MDbobelectronics2__/graphics/icons/integrated-electronics.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-b3[integrated-electronics]",
|
order = "0-b3[integrated-electronics]",
|
||||||
|
@ -218,7 +218,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "processing-electronics",
|
name = "processing-electronics",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/cpu.png",
|
icon = "__MDbobelectronics2__/graphics/icons/cpu.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-components",
|
subgroup = "bob-electronic-components",
|
||||||
order = "0-b4[cpu]",
|
order = "0-b4[cpu]",
|
||||||
|
@ -248,7 +248,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "phenolic-board",
|
name = "phenolic-board",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/phenolic-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/phenolic-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-boards",
|
subgroup = "bob-boards",
|
||||||
order = "c-a2[phenolic-board]",
|
order = "c-a2[phenolic-board]",
|
||||||
|
@ -276,7 +276,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "fibreglass-board",
|
name = "fibreglass-board",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/fibreglass-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/fibreglass-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-boards",
|
subgroup = "bob-boards",
|
||||||
order = "c-a3[fibreglass-board]",
|
order = "c-a3[fibreglass-board]",
|
||||||
|
@ -304,7 +304,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "basic-circuit-board",
|
name = "basic-circuit-board",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/basic-circuit-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/basic-circuit-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-boards",
|
subgroup = "bob-boards",
|
||||||
order = "c-b1[basic-circuit-board]",
|
order = "c-b1[basic-circuit-board]",
|
||||||
|
@ -333,7 +333,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "circuit-board",
|
name = "circuit-board",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/circuit-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/circuit-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-boards",
|
subgroup = "bob-boards",
|
||||||
order = "c-b2[circuit-board]",
|
order = "c-b2[circuit-board]",
|
||||||
|
@ -364,7 +364,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "superior-circuit-board",
|
name = "superior-circuit-board",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/superior-circuit-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/superior-circuit-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-boards",
|
subgroup = "bob-boards",
|
||||||
order = "c-b2[superior-circuit-board]",
|
order = "c-b2[superior-circuit-board]",
|
||||||
|
@ -395,7 +395,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "multi-layer-circuit-board",
|
name = "multi-layer-circuit-board",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/multi-layer-circuit-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/multi-layer-circuit-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-boards",
|
subgroup = "bob-boards",
|
||||||
order = "c-b3[multi-layer-circuit-board]",
|
order = "c-b3[multi-layer-circuit-board]",
|
||||||
|
@ -427,7 +427,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "electronic-circuit",
|
name = "electronic-circuit",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/basic-electronic-circuit-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/basic-electronic-circuit-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-boards",
|
subgroup = "bob-electronic-boards",
|
||||||
order = "c-c1[basic-electronic-circuit-board]",
|
order = "c-c1[basic-electronic-circuit-board]",
|
||||||
|
@ -457,7 +457,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "advanced-circuit",
|
name = "advanced-circuit",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/electronic-circuit-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/electronic-circuit-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-boards",
|
subgroup = "bob-electronic-boards",
|
||||||
order = "c-c2[electronic-circuit-board]",
|
order = "c-c2[electronic-circuit-board]",
|
||||||
|
@ -488,7 +488,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "processing-unit",
|
name = "processing-unit",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/electronic-logic-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/electronic-logic-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-boards",
|
subgroup = "bob-electronic-boards",
|
||||||
order = "c-c3[electronic-logic-board]",
|
order = "c-c3[electronic-logic-board]",
|
||||||
|
@ -520,7 +520,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "advanced-processing-unit",
|
name = "advanced-processing-unit",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/electronic-processing-board.png",
|
icon = "__MDbobelectronics2__/graphics/icons/electronic-processing-board.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "bob-electronic-boards",
|
subgroup = "bob-electronic-boards",
|
||||||
order = "c-c4[electronic-processing-board]",
|
order = "c-c4[electronic-processing-board]",
|
||||||
|
|
|
@ -3,7 +3,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "resin",
|
name = "resin",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/resin.png",
|
icon = "__MDbobelectronics2__/graphics/icons/resin.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-resource-chemical",
|
subgroup = "bob-resource-chemical",
|
||||||
order = "f[resin]",
|
order = "f[resin]",
|
||||||
|
@ -53,7 +53,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "rubber",
|
name = "rubber",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/rubber.png",
|
icon = "__MDbobelectronics2__/graphics/icons/rubber.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-resource-chemical",
|
subgroup = "bob-resource-chemical",
|
||||||
order = "f[rubber]",
|
order = "f[rubber]",
|
||||||
|
@ -84,7 +84,7 @@ if not data.raw.item["silicon-wafer"] then
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "silicon-wafer",
|
name = "silicon-wafer",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/silicon-wafer.png",
|
icon = "__MDbobelectronics2__/graphics/icons/silicon-wafer.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-resource-chemical",
|
subgroup = "bob-resource-chemical",
|
||||||
order = "f[silicon-wafer]",
|
order = "f[silicon-wafer]",
|
||||||
|
@ -121,7 +121,7 @@ if data.raw.item["tin-plate"] then
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "solder-alloy",
|
name = "solder-alloy",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/solder-plate.png",
|
icon = "__MDbobelectronics2__/graphics/icons/solder-plate.png",
|
||||||
icon_size = 32,
|
icon_size = 32,
|
||||||
subgroup = "bob-alloy",
|
subgroup = "bob-alloy",
|
||||||
order = "c-b-h[solder]",
|
order = "c-b-h[solder]",
|
||||||
|
|
|
@ -94,9 +94,9 @@ if data.raw.technology["ceramics"] then
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
data.raw.technology["electronics"].icon = "__MDbobelectronics__/graphics/icons/technology/electronics.png"
|
data.raw.technology["electronics"].icon = "__MDbobelectronics2__/graphics/icons/technology/electronics.png"
|
||||||
data.raw.technology["advanced-circuit"].icon = "__MDbobelectronics__/graphics/icons/technology/advanced-electronics.png"
|
data.raw.technology["advanced-circuit"].icon = "__MDbobelectronics2__/graphics/icons/technology/advanced-electronics.png"
|
||||||
data.raw.technology["processing-unit"].icon = "__MDbobelectronics__/graphics/icons/technology/advanced-electronics-2.png"
|
data.raw.technology["processing-unit"].icon = "__MDbobelectronics2__/graphics/icons/technology/advanced-electronics-2.png"
|
||||||
|
|
||||||
data.raw.technology["electronics"].icon_size = 128
|
data.raw.technology["electronics"].icon_size = 128
|
||||||
data.raw.technology["advanced-circuit"].icon_size = 128
|
data.raw.technology["advanced-circuit"].icon_size = 128
|
||||||
|
|
|
@ -3,7 +3,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
type = "technology",
|
type = "technology",
|
||||||
name = "advanced-electronics-3",
|
name = "advanced-electronics-3",
|
||||||
icon = "__MDbobelectronics__/graphics/icons/technology/advanced-electronics-3.png",
|
icon = "__MDbobelectronics2__/graphics/icons/technology/advanced-electronics-3.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
prerequisites =
|
prerequisites =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue