local itemGroup = table.deepcopy(data.raw["item-group"]["logistics"]) itemGroup.name = "bio-chemistry" itemGroup.icon = "__bio-chemistry__/bio-chemistry.png" itemGroup.icon_size = 64 itemGroup.order = "z" local itemSubgroup = table.deepcopy(data.raw["item-subgroup"]["belt"]) itemSubgroup.name = "biostuff1" itemSubgroup.group = "bio-chemistry" data:extend{itemGroup, itemSubgroup} local sunflower = table.deepcopy(data.raw["item"]["iron-plate"]) sunflower.name = "sunflower" sunflower.subgroup = "biostuff1" sunflower.icon = "__bio-chemistry__/Sonnenblumenfeld.png" sunflower.icon_size = 64 data:extend{sunflower} local resource = table.deepcopy(data.raw["resource"]["iron-ore"]) resource.name = "sunflower" resource.icon = "__bio-chemistry__/Sonnenblumenfeld.png" --What is this for? resource.icon_size = 64 resource.map_color = {1, 1, 0} resource.stage_counts = {0} resource.stages = { sheet = { filename = "__bio-chemistry__/Sonnenblumenfeld.png", priority = "extra-high", width = 64, height = 64, frame_count = 1, variation_count = 1, } } resource.minable.result = "sunflower" data:extend{resource} data:extend( { { type = "autoplace-control", name = "sunflower", richness = true, can_be_disabled = true, order = "z-a", category = "resource" } })