fast replace
This commit is contained in:
parent
057ef471b1
commit
6ac3e26e74
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ plant_i.icons = {
|
|||
data.raw.item["basic-chemical-plant"] = plant_i
|
||||
-- end item
|
||||
|
||||
-- Replaceable group
|
||||
if not data.raw["assembling-machine"]["chemical-plant"].fast_replaceable_group then
|
||||
data.raw["assembling-machine"]["chemical-plant"].fast_replaceable_group = "chemical-plant"
|
||||
end
|
||||
-- entity
|
||||
local plant_e = futil.table.deepcopy(data.raw["assembling-machine"]["chemical-plant"])
|
||||
plant_e.name = "basic-chemical-plant"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue