Local Drone Network


Adds a compact 2x2 local roboport whose logistic robots form a separate network layered on top of the global one. Logistic chests can be set to Global, Local or Both.

Utilities
2 hours ago
2.1
10
Logistics Logistic network
Owner:
ocelus_ftnl
Source:
https://github.com/OcelusPRO/LocalDro...
Homepage:
N/A
License:
GNU LGPLv3
Created:
4 hours ago
Latest Version:
0.1.2 (2 hours ago)
Factorio version:
2.1
Downloaded by:
10 users

Local Drone Network

Run a second, independent logistic network on top of your main one.

Local roboports are compact 2x2 roboports whose logistic robots form their own network. It never merges with your main (global) network, even where both cover the same ground. Keep a mall, a train station or a production block served by its own fleet, and stop your main bots wandering across the base to feed it.

Features

  • Local roboport (2x2)
  • Logistic only, holds up to 50 robots, 2 charging pads.
  • Logistic area adjustable from 25×25 down to 5×5 in steps of 5, from its window or with the hotkey.
  • Choose the network of each logistic chest
  • Global: served by your main network (vanilla behaviour).
  • Local: served only by local roboports.
  • Both: served by both networks. Deliveries from either side are merged into the chest. Provided and stored items are split evenly so both networks can take them.
  • Works with modded chests: every buildable logistic chest from other mods (warehouses and so on) gets the selector automatically.
  • Settings are kept in blueprints and with copy/paste (Shift + right/left click).
  • Deconstruction planners work on local chests and roboports. Cancelling the mark restores them.
  • Placement overlay: while you hold a local roboport or a logistic chest, local logistic areas are shown in purple, with dashed links between connected local roboports.
  • Native robot AI: pathing, charging and deliveries are left entirely to the engine.

How to use

  1. Research Local drone network (requires Logistic robotics).
  2. Craft a Local roboport (1 roboport + 10 advanced circuits) and fill it with logistic robots.
  3. Open any logistic chest and pick Global / Local / Both in the side panel, or hover it and press Alt + N to cycle.
  4. Open a local roboport to change its logistic area, or hover it and press Alt + N.

Performance

  • Global and Local chests cost nothing at runtime.
  • Both chests are synchronised in a round-robin sweep that processes a bounded number of chests per tick (configurable, 10 by default). The cost stays flat however many you build.
  • Items are moved stack by stack, so spoilage and item data are kept.

Compatibility

  • Factorio 2.1, base game
  • Space Age: local roboports follow the vanilla roboport surface conditions. A startup setting allows them on space platforms (off by default).
  • Krastorio 2: the technology cost follows Logistic robotics, whatever overhaul is installed.

Settings

Setting Type Default
Allow local roboports on space platforms Startup Off
"Both" chests synchronised per tick Map 10

Known limitations

  • A Both requester that is empty can be served by both networks at once and may receive slightly more than requested.
  • The upgrade planner does not handle Local chests yet.
  • Placing a local roboport with the pipette resets it to the 25×25 area.
  • Personal logistics (character requests and trash) only use the global network.

Remote interface

Other mods can use the local-drone-network remote interface:
- get_mode(entity) and set_mode(entity, mode)
- set_range(entity, range)
- mark_for_deconstruction(entity, player?)
- get_local_force(force)

How it works (for the curious)

Factorio merges every overlapping roboport that belongs to the same force. Each player force therefore gets an allied "local" force. Local roboports and Local chests live on it, so the engine keeps the two networks apart by itself.

A Both chest stays on your force and gets an invisible twin chest on the local force at the same position.