cables
This commit is contained in:
parent
609b1a4a1d
commit
6fbd9f53f2
2 changed files with 16 additions and 1 deletions
13
cables.lua
Normal file
13
cables.lua
Normal 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
|
||||||
4
data.lua
4
data.lua
|
|
@ -1,4 +1,6 @@
|
||||||
require("prototypes/salt")
|
require("prototypes/gold")
|
||||||
|
require("prototypes/silver")
|
||||||
|
require("prototypes/cables")
|
||||||
|
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue