Code: Select all
local assemblingMachineEntity = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"])
assemblingMachineEntity.item = "hot-garbage-assembling-machine"
assemblingMachineEntity.name = "hot-garbage-assembling-machine"
assemblingMachineEntity.heat_buffer =
{
max_temperature = 100,
specific_heat = "1MJ",
max_transfer = "10MW",
connections =
{
{
position = {0, 0},
direction = defines.direction.north
.....
}