This commit is contained in:
Brevven 2023-01-03 00:18:55 -08:00
parent 609b1a4a1d
commit 6fbd9f53f2
2 changed files with 16 additions and 1 deletions

13
cables.lua Normal file
View file

@ -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

View file

@ -1,4 +1,6 @@
require("prototypes/salt")
require("prototypes/gold")
require("prototypes/silver")
require("prototypes/cables")
local util = require("data-util");