diff --git a/cables.lua b/cables.lua new file mode 100644 index 0000000..59d9bd6 --- /dev/null +++ b/cables.lua @@ -0,0 +1,13 @@ +local util = require("data-util"); + +if not util.se6() and not data.raw["item-subgroup"]["cable"] then + data:extend({ + { + type = "item-subgroup", + name = "cable", + group = "intermediate-products", + order = "f-z", + } + }) + util.set_item_subgroup("silver-cable", "cable") +end diff --git a/data.lua b/data.lua index 0ebc99d..458198f 100644 --- a/data.lua +++ b/data.lua @@ -1,4 +1,6 @@ -require("prototypes/salt") +require("prototypes/gold") +require("prototypes/silver") +require("prototypes/cables") local util = require("data-util");