Deadlock's Stacking Beltboxes & Compact Loaders


Adds minimalist 1x1 loaders and stacking beltboxes for 5x belt compression for ores, plates and some intermediate products

Content
7 months ago
0.17 - 2.0
116K
Logistics

i Circuit Connections

2 months ago

With 2.0, loaders now have circuit connections, and other loader mods have implemented that. Can that functionality be added to these loaders as well? This is my favorite loader mod :)

8 days ago

FWIW all that is needed for this is to set circuit_connector and circuit_wire_max_distance. A not properly aligned fix (create your own mod to load afterwards) with the code copied from AAI loaders:

for name, loader in pairs(data.raw["loader-1x1"]) do
  if not loader.circuit_connector then
    loader.circuit_connector = circuit_connector_definitions.create_vector(
      universal_connector_template,
      {
        { variation = 4, main_offset = util.by_pixel(3, 2),    shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 2, main_offset = util.by_pixel(-11, -5), shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 0, main_offset = util.by_pixel(-3, -23), shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 6, main_offset = util.by_pixel(10, -17), shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 0, main_offset = util.by_pixel(-3, -23), shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 6, main_offset = util.by_pixel(10, -17), shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 4, main_offset = util.by_pixel(3, 2),    shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
        { variation = 2, main_offset = util.by_pixel(-11, -5), shadow_offset = util.by_pixel(7.5, 7.5), show_shadow = false },
      }
    )
    loader.circuit_wire_max_distance = transport_belt_circuit_wire_max_distance
  end
end

New response