local basic_signals =
{
  empty_straight =
  {
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 2,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -27,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 3,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 4,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 5,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 6,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 7,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -17,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 8,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 9,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 10,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 11,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 12,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 13,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -5,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 15,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 17,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 5,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 20,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 21,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 22,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 23,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 24,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 25,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 17,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 27,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 28,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 29,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 30,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 31,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 27,
        y = 1
      },
      rotatable = true
    }
  },
  straight_crash =
  {
    {
      backer_name = "Red Destination",
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 1,
      minable = true,
      name = "train-stop",
      operable = true,
      position = {
        x = -25,
        y = -1
      },
      rotatable = true,
      station = ""
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 2,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -27,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 3,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 4,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 5,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 6,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 7,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -17,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 8,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 9,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 10,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 11,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 12,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 13,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -5,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Cyan",
      color = {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 14,
      inventory = {
        {},
        [6] = {}
      },
      manual_mode = true,
      minable = true,
      name = "locomotive",
      operable = true,
      position = {
        x = -0.8125,
        y = 1
      },
      rotatable = true,
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 15,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 17,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 5,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 20,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 21,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 22,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 23,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 24,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 25,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 17,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Red",
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 26,
      inventory = {
        {
          coal = 50
        },
        [6] = {}
      },
      manual_mode = false,
      minable = true,
      name = "locomotive",
      operable = true,
      position = {
        x = 20.65625,
        y = 1
      },
      rotatable = true,
      schedule = {
        current = 1,
        records = {
          {
            station = "Red Destination"
          }
        }
      },
      speed = 0
    },
    {
    destructible = true,
    direction = defines.direction.east,
    force = "player",
    index = 27,
    minable = false,
    name = "straight-rail",
    operable = true,
    position = {
      x = 19,
      y = 1
    },
    rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 28,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 29,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 30,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 31,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 27,
        y = 1
      },
      rotatable = true
    }
  },
  oncoming =
  {
    {
      backer_name = "Cyan Destination",
      label = 'cyan-destination',
      label_offset = {0,-2.5},
      color = {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
    },
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 1,
      minable = true,
      name = "train-stop",
      operable = true,
      position = {
        x = -25,
        y = -1
      },
      rotatable = true,
      station = ""
    },

    {
      direction = 12,
      entity_number = 1,
      name = "curved-rail-a",
      position = {
        x = -4,
        y = -3
      }
    },
    {
      direction = 4,
      entity_number = 2,
      name = "straight-rail",
      position = {
        x = -1,
        y = -3
      }
    },
    {
      direction = 6,
      entity_number = 3,
      name = "curved-rail-a",
      position = {
        x = 2,
        y = -3
      }
    },
    {
      direction = 4,
      entity_number = 4,
      name = "half-diagonal-rail",
      position = {
        x = -9,
        y = -1
      }
    },
    {
      direction = 6,
      entity_number = 5,
      name = "half-diagonal-rail",
      position = {
        x = 7,
        y = -1
      }
    },
    {
      direction = 4,
      entity_number = 6,
      name = "curved-rail-a",
      position = {
        x = -14,
        y = 1
      }
    },
    {
      direction = 14,
      entity_number = 7,
      name = "curved-rail-a",
      position = {
        x = 12,
        y = 1
      }
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 6,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -27,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Red",
      label = 'red-train',
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 7,
      inventory = {
        {
          coal = 49
        },
        [6] = {}
      },
      manual_mode = true,
      minable = true,
      name = "locomotive",
      operable = true,
      position = {
        x = -22,
        y = 1
      },
      rotatable = true,
      schedule = {
        current = 1,
        records = {
          {
            station = "Red Destination"
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 8,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 9,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 10,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 11,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 12,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -17,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 13,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 14,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 15,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 17,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -5,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 20,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 24,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 25,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 26,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 5,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 27,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 28,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 29,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 30,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 31,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 32,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 17,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Cyan",
      label = 'cyan-train',
      color = {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 33,
      inventory = {
        {
          coal = 49
        },
        [6] = {}
      },
      manual_mode = true,
      minable = true,
      name = "locomotive",
      operable = true,
      position = {
        x = 22.03125,
        y = 1
      },
      rotatable = true,
      schedule = {
        current = 1,
        records = {
          {
            station = "Cyan Destination"
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 34,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 35,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 36,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 37,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 38,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 27,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Red Destination",
      label = 'red-destination',
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 39,
      minable = true,
      name = "train-stop",
      operable = true,
      position = {
        x = 27,
        y = 3
      },
      rotatable = true,
      station = ""
    }
  },
  isolate_train =
  {
    {
      backer_name = "Red Destination",
      label = 'red-destination',
      label_offset = {0,-2.5},
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 1,
      minable = true,
      name = "train-stop",
      operable = true,
      position = {
        x = -25,
        y = -1
      },
      rotatable = true,
      station = ""
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 2,
      minable = true,
      name = "rail-signal",
      operable = true,
      position = {
        x = 14.5,
        y = -0.5
      }
    },

    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 5,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -27,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 6,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 7,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 8,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 9,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 10,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -17,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 11,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 12,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 13,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 14,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 15,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = -5,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Cyan",
      color = {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 17,
      inventory = {
        {},
        [6] = {}
      },
      manual_mode = true,
      minable = true,
      name = "locomotive",
      operable = true,
      position = {
        x = -0.8125,
        y = 1
      },
      rotatable = true,
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -3,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = -1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 1,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 3,
        y = 1
      },
      rotatable = true
    },

    {
      direction = 12,
      entity_number = 1,
      name = "curved-rail-a",
      position = {
        x = -4,
        y = -3
      }
    },
    {
      direction = 4,
      entity_number = 2,
      name = "straight-rail",
      position = {
        x = -1,
        y = -3
      }
    },
    {
      direction = 6,
      entity_number = 3,
      name = "curved-rail-a",
      position = {
        x = 2,
        y = -3
      }
    },
    {
      direction = 4,
      entity_number = 4,
      name = "half-diagonal-rail",
      position = {
        x = -9,
        y = -1
      }
    },
    {
      direction = 6,
      entity_number = 5,
      name = "half-diagonal-rail",
      position = {
        x = 7,
        y = -1
      }
    },
    {
      direction = 4,
      entity_number = 6,
      name = "curved-rail-a",
      position = {
        x = -14,
        y = 1
      }
    },
    {
      direction = 14,
      entity_number = 7,
      name = "curved-rail-a",
      position = {
        x = 12,
        y = 1
      }
    },

    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 24,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 5,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 25,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 7,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 26,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 9,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 27,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 11,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 28,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 13,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 29,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 15,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 30,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 17,
        y = 1
      },
      rotatable = true
    },
    {
      backer_name = "Red",
      label = 'red-train',
      destructible = true,
      direction = defines.direction.west,
      force = "player",
      index = 31,
      inventory = {
        {
          coal = 50
        },
        [6] = {}
      },
      manual_mode = true,
      minable = true,
      name = "locomotive",
      operable = true,
      position = {
        x = 20.65625,
        y = 1
      },
      rotatable = true,
      schedule = {
        current = 1,
        records = {
          {
            station = "Red Destination"
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 32,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 19,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 33,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 21,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 34,
      minable = false,
      name = "straight-rail",
      operable = true,
      position = {
        x = 23,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 35,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 25,
        y = 1
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 36,
      minable = true,
      name = "straight-rail",
      operable = true,
      position = {
        x = 27,
        y = 1
      },
      rotatable = true
    }
  },
  lower_track =
  {
    {
      backer_name = "Cyan Destination",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = true,
      direction = defines.direction.west,
      entity_number = 1,
      force = "player",
      index = 1,
      inventory = {},
      minable = false,
      name = "train-stop",
      operable = false,
      position =
      {
        x = -3,
        y = 3
      },
      rotatable = false
    },
    {
      direction = 12,
      entity_number = 1,
      name = "curved-rail-a",
      position = {
        x = -6,
        y = 8 + -3
      }
    },
    {
      direction = 4,
      entity_number = 2,
      name = "straight-rail",
      position = {
        x = -1,
        y = 8 + -3
      }
    },
    {
      direction = 6,
      entity_number = 3,
      name = "curved-rail-a",
      position = {
        x = 2,
        y = 8 + -3
      }
    },
    {
      direction = 4,
      entity_number = 4,
      name = "half-diagonal-rail",
      position = {
        x = -11,
        y = 8 + -1
      }
    },
    {
      direction = 6,
      entity_number = 5,
      name = "half-diagonal-rail",
      position = {
        x = 7,
        y = 8 + -1
      }
    },
    {
      direction = 4,
      entity_number = 6,
      name = "curved-rail-a",
      position = {
        x = -16,
        y = 8 + 1
      }
    },
    {
      direction = 14,
      entity_number = 7,
      name = "curved-rail-a",
      position = {
        x = 12,
        y = 8 + 1
      }
    },

    {
      backer_name = "Cyan",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = false,
      direction = defines.direction.west,
      force = "player",
      index = 3,
      inventory =
      {
        {
          coal = 49
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = false,
      position =
      {
        x = 0.00390625,
        y = 5
      },
      rotatable = false,
      schedule =
      {
        current = 1,
        records =
        {
          {
            station = "Cyan Destination",
            wait_conditions =
            {
              {
                compare_type = "or",
                type = "full"
              }
            }
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 4,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -3,
        y = 5
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 5,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = 5
      },
      rotatable = true
    },
    {
      backer_name = "Red Destination",
      destructible = true,
      direction = defines.direction.west,
      entity_number = 1,
      force = "player",
      index = 11,
      inventory = {},
      minable = false,
      name = "train-stop",
      operable = false,
      position =
      {
        x = -27,
        y = 7
      },
      rotatable = false
    },
    {
      destructible = true,
      direction = defines.direction.east,
      entity_number = 1,
      force = "player",
      index = 12,
      inventory = {},
      minable = false,
      name = "rail-signal",
      operable = true,
      position =
      {
        x = -19.5,
        y = 7.5
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      entity_number = 1,
      force = "player",
      index = 13,
      inventory = {},
      minable = false,
      name = "rail-signal",
      operable = true,
      position =
      {
        x = 18.5,
        y = 7.5
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 14,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -27,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 15,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -25,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -23,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 17,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -21,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -19,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -17,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 20,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -15,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 21,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -13,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 22,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -11,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 23,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -9,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 24,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -7,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 25,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 26,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -3,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 27,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 28,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 1,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 29,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 3,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 30,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 5,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 31,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 7,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 32,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 9,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 33,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 11,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 34,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 13,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 35,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 15,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 36,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 17,
        y = 9
      },
      rotatable = true
    },
    {
      backer_name = "Red",
      destructible = false,
      direction = defines.direction.west,
      force = "player",
      index = 37,
      inventory =
      {
        {
          coal = 49
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = true,
      position =
      {
        x = 22.00390625,
        y = 9
      },
      rotatable = false,
      schedule =
      {
        current = 1,
        records =
        {
          {
            station = "Red Destination",
            wait_conditions =
            {
              {
                compare_type = "or",
                ticks = 1800,
                type = "time"
              }
            }
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 38,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 19,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 39,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 21,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 40,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 23,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 41,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 25,
        y = 9
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 42,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 27,
        y = 9
      },
      rotatable = true
    }
  },
  two_way =
  {
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 1,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -25,
        y = 17
      },
      rotatable = true
    },
    {
      backer_name = "Red",
      destructible = false,
      direction = defines.direction.east,
      force = "player",
      index = 2,
      inventory =
      {
        {
          coal = 49
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = false,
      position =
      {
        x = -24,
        y = 17
      },
      rotatable = false,
      schedule =
      {
        current = 1,
        records =
        {
          {
            station = "Red Destination",
            wait_conditions =
            {
              {
                compare_type = "or",
                ticks = 1800,
                type = "time"
              }
            }
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 3,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -23,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 4,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -21,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 5,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -19,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 6,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -17,
        y = 17
      },
      rotatable = true
    },
    {
      direction = 6,
      entity_number = 1,
      name = "curved-rail-a",
      position = {
        x = -6 + -10,
        y = 16 + 1
      }
    },
    {
      direction = 12,
      entity_number = 2,
      name = "curved-rail-a",
      position = {
        x = -6 + 12,
        y = 16 + 1
      }
    },
    {
      direction = 12,
      entity_number = 3,
      name = "rail-signal",
      position = {
        x = -6 + -12.5,
        y = 16 + 2.5
      }
    },
    {
      direction = 6,
      entity_number = 4,
      name = "curved-rail-b",
      position = {
        x = -6 + -5,
        y = 16 + 3
      }
    },
    {
      direction = 12,
      entity_number = 5,
      name = "curved-rail-b",
      position = {
        x = -6 + 7,
        y = 16 + 3
      }
    },
    {
      direction = 12,
      entity_number = 6,
      name = "rail-signal",
      position = {
        x = -6 + 13.5,
        y = 16 + 2.5
      }
    },
    {
      entity_number = 7,
      name = "curved-rail-b",
      position = {
        x = -6 + -1,
        y = 16 + 7
      }
    },
    {
      direction = 2,
      entity_number = 8,
      name = "curved-rail-b",
      position = {
        x = -6 + 3,
        y = 16 + 7
      }
    },
    {
      direction = 2,
      entity_number = 9,
      name = "curved-rail-a",
      position = {
        x = -6 + 1,
        y = 16 + 12
      }
    },
    {
      entity_number = 10,
      name = "curved-rail-a",
      position = {
        x = -6 + 1,
        y = 16 + 12
      }
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 8,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -15,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 9,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -13,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 10,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -11,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 11,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -9,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 12,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -7,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 13,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 14,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -3,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 17,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 1,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 3,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 5,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 20,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 7,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 21,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 9,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 22,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 11,
        y = 17
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 23,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 13,
        y = 17
      },
      rotatable = true
    },
    {
      backer_name = "Red Destination",
      destructible = false,
      direction = defines.direction.east,
      entity_number = 1,
      force = "player",
      index = 28,
      inventory = {},
      minable = false,
      name = "train-stop",
      operable = false,
      position =
      {
        x = 13,
        y = 19
      },
      rotatable = false
    },
    {
      backer_name = "Cyan 2",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = false,
      direction = defines.direction.north,
      force = "player",
      index = 31,
      inventory =
      {
        {
          coal = 50
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = false,
      position =
      {
        x = -5,
        y = 32.99609375
      },
      rotatable = false,
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 33,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 31
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 34,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 33
      },
      rotatable = true
    },
    {
      backer_name = "Cyan",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = false,
      direction = defines.direction.south,
      force = "player",
      index = 35,
      inventory =
      {
        {
          coal = 49
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = false,
      position =
      {
        x = -5,
        y = 39.99609375
      },
      rotatable = false,
      schedule =
      {
        current = 1,
        records =
        {
          {
            station = "Cyan Destination",
            wait_conditions =
            {
              {
                compare_type = "or",
                ticks = 1800,
                type = "time"
              }
            }
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 36,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 35
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 37,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 37
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 38,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 39
      },
      rotatable = true
    },
    {
      backer_name = "Cyan Destination",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = false,
      direction = defines.direction.south,
      entity_number = 1,
      force = "player",
      index = 39,
      inventory = {},
      minable = false,
      name = "train-stop",
      operable = false,
      position =
      {
        x = -7,
        y = 43
      },
      rotatable = false
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 40,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 41
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 38,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = 43
      },
      rotatable = true
    }
  },
  crossroads =
  {
    {
      backer_name = "Cyan",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = false,
      direction = defines.direction.north,
      force = "player",
      index = 1,
      inventory =
      {
        {
          coal = 49
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = false,
      position =
      {
        x = -1,
        y = -54.125
      },
      rotatable = false,
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 2,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -57
      },
      rotatable = true
    },
    {
      backer_name = "Cyan Destination",
      color =
      {
        a = 0.49803921580314636,
        b = 0.68627452850341797,
        g = 0.68627452850341797,
        r = 0.19607843458652496
      },
      destructible = false,
      direction = defines.direction.north,
      entity_number = 1,
      force = "player",
      index = 3,
      inventory = {},
      minable = false,
      name = "train-stop",
      operable = false,
      position =
      {
        x = 1,
        y = -57
      },
      rotatable = false
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 4,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -55
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 5,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -53
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 6,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -51
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 7,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -49
      },
      rotatable = true
    },
    {
      backer_name = "Red",
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 8,
      inventory =
      {
        {
          coal = 49
        }
      },
      manual_mode = false,
      minable = false,
      name = "locomotive",
      operable = true,
      position =
      {
        x = -8,
        y = -47
      },
      rotatable = true,
      schedule =
      {
        current = 1,
        records =
        {
          {
            station = "Red Destination",
            wait_conditions =
            {
              {
                compare_type = "or",
                ticks = 1800,
                type = "time"
              }
            }
          }
        }
      },
      speed = 0
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 9,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -11,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 10,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -9,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 11,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -7,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 12,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -5,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 13,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -3,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 14,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 15,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 16,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 1,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 17,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 3,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 18,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 5,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 19,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 7,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.east,
      force = "player",
      index = 20,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = 9,
        y = -47
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.west,
      entity_number = 1,
      force = "player",
      index = 21,
      inventory = {},
      minable = false,
      name = "rail-signal",
      operable = true,
      position =
      {
        x = -3.5,
        y = -45.5
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 22,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -45
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.south,
      entity_number = 1,
      force = "player",
      index = 23,
      inventory = {},
      minable = false,
      name = "rail-signal",
      operable = true,
      position =
      {
        x = 0.5,
        y = -44.5
      },
      rotatable = true
    },
    {
      backer_name = "Red Destination",
      destructible = false,
      direction = defines.direction.east,
      entity_number = 1,
      force = "player",
      index = 24,
      inventory = {},
      minable = false,
      name = "train-stop",
      operable = false,
      position =
      {
        x = 9,
        y = -45
      },
      rotatable = false
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 25,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -43
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 26,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -41
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 27,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -39
      },
      rotatable = true
    },
    {
      destructible = true,
      direction = defines.direction.north,
      force = "player",
      index = 28,
      inventory = {},
      minable = false,
      name = "straight-rail",
      operable = true,
      position =
      {
        x = -1,
        y = -37
      },
      rotatable = true
    }
  }
}

return basic_signals