data.raw["item-with-entity-data"]["locomotive"].stack_size = 10
data.raw["item-with-entity-data"]["locomotive"].order = "a[train-system]-e[locomotive-1]"
data.raw["item-with-entity-data"]["locomotive"].subgroup = "bob-locomotive"

data.raw["item-with-entity-data"]["cargo-wagon"].stack_size = 10
data.raw["item-with-entity-data"]["cargo-wagon"].order = "a[train-system]-f[cargo-wagon-1]"
data.raw["item-with-entity-data"]["cargo-wagon"].subgroup = "bob-cargo-wagon"

data.raw["item-with-entity-data"]["fluid-wagon"].stack_size = 10
data.raw["item-with-entity-data"]["fluid-wagon"].order = "a[train-system]-h[fluid-wagon-1]"
data.raw["item-with-entity-data"]["fluid-wagon"].subgroup = "bob-fluid-wagon"

data:extend(
{
  {
    type = "item-with-entity-data",
    name = "bob-locomotive-2",
    icon = "__base__/graphics/icons/diesel-locomotive.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-locomotive",
    order = "a[train-system]-e[locomotive-2]",
    place_result = "bob-locomotive-2",
    stack_size = 10
  },

  {
    type = "item-with-entity-data",
    name = "bob-locomotive-3",
    icon = "__base__/graphics/icons/diesel-locomotive.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-locomotive",
    order = "a[train-system]-e[locomotive-3]",
    place_result = "bob-locomotive-3",
    stack_size = 10
  },


  {
    type = "item-with-entity-data",
    name = "bob-armoured-locomotive",
    icon = "__base__/graphics/icons/diesel-locomotive.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-locomotive",
    order = "a[train-system]-e[locomotive-a-1]",
    place_result = "bob-armoured-locomotive",
    stack_size = 10
  },

  {
    type = "item-with-entity-data",
    name = "bob-armoured-locomotive-2",
    icon = "__base__/graphics/icons/diesel-locomotive.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-locomotive",
    order = "a[train-system]-e[locomotive-a-2]",
    place_result = "bob-armoured-locomotive-2",
    stack_size = 10
  },


  {
    type = "item-with-entity-data",
    name = "bob-cargo-wagon-2",
    icon = "__base__/graphics/icons/cargo-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-cargo-wagon",
    order = "a[train-system]-f[cargo-wagon-2]",
    place_result = "bob-cargo-wagon-2",
    stack_size = 10
  },

  {
    type = "item-with-entity-data",
    name = "bob-cargo-wagon-3",
    icon = "__base__/graphics/icons/cargo-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-cargo-wagon",
    order = "a[train-system]-f[cargo-wagon-3]",
    place_result = "bob-cargo-wagon-3",
    stack_size = 10
  },


  {
    type = "item-with-entity-data",
    name = "bob-armoured-cargo-wagon",
    icon = "__base__/graphics/icons/cargo-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-cargo-wagon",
    order = "a[train-system]-f[cargo-wagon-a-1]",
    place_result = "bob-armoured-cargo-wagon",
    stack_size = 10
  },

  {
    type = "item-with-entity-data",
    name = "bob-armoured-cargo-wagon-2",
    icon = "__base__/graphics/icons/cargo-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-cargo-wagon",
    order = "a[train-system]-f[cargo-wagon-a-2]",
    place_result = "bob-armoured-cargo-wagon-2",
    stack_size = 10
  },


  {
    type = "item-with-entity-data",
    name = "bob-fluid-wagon-2",
    icon = "__base__/graphics/icons/fluid-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-fluid-wagon",
    order = "a[train-system]-h[fluid-wagon-2]",
    place_result = "bob-fluid-wagon-2",
    stack_size = 10
  },

  {
    type = "item-with-entity-data",
    name = "bob-fluid-wagon-3",
    icon = "__base__/graphics/icons/fluid-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-fluid-wagon",
    order = "a[train-system]-h[fluid-wagon-3]",
    place_result = "bob-fluid-wagon-3",
    stack_size = 10
  },


  {
    type = "item-with-entity-data",
    name = "bob-armoured-fluid-wagon",
    icon = "__base__/graphics/icons/fluid-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-fluid-wagon",
    order = "a[train-system]-h[fluid-wagon-a-1]",
    place_result = "bob-armoured-fluid-wagon",
    stack_size = 10
  },

  {
    type = "item-with-entity-data",
    name = "bob-armoured-fluid-wagon-2",
    icon = "__base__/graphics/icons/fluid-wagon.png",
    icon_size = 32,
    flags = {"goes-to-quickbar"},
    subgroup = "bob-fluid-wagon",
    order = "a[train-system]-h[fluid-wagon-a-2]",
    place_result = "bob-armoured-fluid-wagon-2",
    stack_size = 10
  },
}
)


