basic founding fix for other machines
This commit is contained in:
parent
ae2c68379d
commit
699c6fb155
4 changed files with 27 additions and 11 deletions
|
|
@ -1,14 +1,16 @@
|
|||
local util = require("data-util")
|
||||
|
||||
data:extend({
|
||||
{ type = "recipe-category", name = "founding"},
|
||||
{ type = "item-subgroup", name = "founding-machines", group = "production"},
|
||||
{ type = "item-subgroup", name = "foundry-intermediate", group = "intermediate-products"},
|
||||
})
|
||||
|
||||
if mods.bztin or mods.bzaluminum then
|
||||
data:extend({
|
||||
{ type = "recipe-category", name = "basic-founding"},
|
||||
})
|
||||
for i, character in pairs(data.raw.character) do
|
||||
table.insert(character.crafting_categories, "basic-founding")
|
||||
end
|
||||
if util.me.basic_founding() then
|
||||
data:extend({
|
||||
{ type = "recipe-category", name = "basic-founding"},
|
||||
})
|
||||
for i, character in pairs(data.raw.character) do
|
||||
table.insert(character.crafting_categories, "basic-founding")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue