Code: Select all
  data:extend({
    {
      type = "technology",
      name = "ghost-entity-on-death-true-1",
      icon_size = 256,
      icon = "__base__/graphics/technology/construction-robotics.png",
      effects = { {
        type = "create-ghost-on-entity-death",
        modifier = true,
      } },
      unit =
      {
        count_formula = "L",
        ingredients =
        {
          { "automation-science-pack", 1 },
        },
        time = 1,
        max_level = "infinite",
      },
    },
  })
