Change directory structure
This commit is contained in:
parent
07deb55ec4
commit
ef03e2da6c
48 changed files with 0 additions and 0 deletions
30
MDbobelectronics2/data-updates.lua
Normal file
30
MDbobelectronics2/data-updates.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
require("prototypes.recipe-updates")
|
||||
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["recipe-category"]["chemical-furnace"] then
|
||||
if data.raw.recipe["carbon"] then
|
||||
data.raw.recipe["carbon"].category = "chemical-furnace"
|
||||
end
|
||||
end
|
||||
|
||||
if data.raw["recipe-category"]["mixing-furnace"] then
|
||||
if data.raw.recipe["solder-alloy"] then
|
||||
data.raw.recipe["solder-alloy"].category = "mixing-furnace"
|
||||
end
|
||||
if data.raw.recipe["solder-alloy-lead"] then
|
||||
data.raw.recipe["solder-alloy-lead"].category = "mixing-furnace"
|
||||
end
|
||||
end
|
||||
|
||||
-- add Assembling Machine catagory.
|
||||
bobmods.lib.machine.type_if_add_category("assembling-machine", "crafting", "crafting-machine")
|
||||
|
||||
-- add new electronics crafting categories
|
||||
bobmods.lib.machine.type_if_add_category("character", "crafting", "electronics")
|
||||
bobmods.lib.machine.type_if_add_category("god-controller", "crafting", "electronics")
|
||||
bobmods.lib.machine.type_if_add_category("assembling-machine", "crafting", "electronics")
|
||||
bobmods.lib.machine.type_if_add_category("assembling-machine", "crafting", "electronics-machine")
|
Loading…
Add table
Add a link
Reference in a new issue