I tried out the following, but couldn't even find any inputs, even tho there is nor error:
Code: Select all
table.insert( data.raw["lab"]["lab"].inputs, { type = fluid, name = "sulfuric-acid" } )
data.raw.lab['lab'].inputs =
{
"science-pack-1",
"science-pack-2",
"science-pack-3",
"military-science-pack",
"production-science-pack",
"high-tech-science-pack",
"space-science-pack",
}
data.raw.lab['lab'].input_fluid_box =
{
production_type = "input-output",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
base_area = 1,
height = 2,
base_level = -1,
pipe_connections =
{
{ position = {-2, 0} },
{ position = {2, 0} },
{ position = {0, 2} },
{ position = {0, -2} },
}
}