Cargo Cannon


Fire capsules of cargo between surfaces: up to space platforms in orbit, back down to the planet, and later across space to receivers on other planets. Each shot needs a capsule and a big charge of power. Circuit-controlled - and a capsule that lands on a full receiver, or on nothing at all, explodes and its cargo is lost. Inspired by the delivery cannon in Earendel's Space Exploration (an independent mod, not a port).

Content
9 hours ago
2.1
99
Factorio: Space Age Icon Space Age Mod
Transportation Logistics Circuit network

Changelog

Version: 0.2.2
Date: 2026-11-25
  Bugfixes:
    - Capsules of uncommon or better quality couldn't be put in the cannon (by hand, inserters or robots). Any quality works now.
    - A capsule on its way to a space platform that was deleted could land, and explode, on a new platform that took
      over the deleted one's surface. It is now lost with a message, as it should be.
    - Cannons and receivers copied by another mod (e.g. a spaceship mod moving a ship) were plain chests, and the copy
      of a cannon's hidden parts was left behind. The copies now work like the originals.
    - A new receiver could get a channel number another receiver was already set to by hand.
    - A rebuilt receiver only takes over the cannons and capsules of the receiver that stood on the same spot; old
      settings in a blueprint or ghost can no longer pull cannons away from a receiver that's still standing.
    - Cannons and receivers another mod placed without telling other mods now work (when the game loads, or when opened).
    - With many cannons the game stuttered every sixth of a second, because every cannon was checked on the same tick
      (300 cannons: 5 to 7 ms every 10th tick). They're now checked a tenth at a time, and each check is cheaper:
      the same 300 cannons cost about 0.4 ms a tick, with no spikes.
  Changes:
    - Blueprints keep a receiver's name and channel (a new channel if another receiver already uses it), and copy /
      paste between receivers copies the name.
    - With "Pick the target by signal" ticked but no signal picked yet, the status now asks for the signal (it said no
      receiver had the channel).
Version: 0.2.1
Date: 2026-11-20
  Changes:
    - The mod now declares the Space Age features it uses, so it shows up when the mod portal's
      "Space Age" filter is ticked.
Version: 0.2.0
Date: 2026-11-05
  Changes:
    - The cannon now fires by the game's own Enable if condition, in the Circuit connection panel. The second
      condition in the Cargo cannon panel is gone; conditions from older saves and blueprints move across automatically.
    - The condition can compare against a second signal, and while it's false robots stop loading the cannon.
    - The Cargo cannon panel now shows Receiver space and Cannon charge by name, with their current values.
    - Receiver space has its own icon, so it can't be mistaken for the cargo receiver item.
    - The cannon's signals now go on one wire: the one you connected, or red if both are connected.
    - The panel's status messages now say what to do next: where to build a receiver, how many capsules a shot needs,
      and when the cannon has no power.
  Features:
    - The cannon's tooltip shows its maximum charging power.
    - Higher quality cannons charge faster, with a higher maximum power draw: up to 6x at legendary.
  Bugfixes:
    - Fixed a crash when a cannon's cargo or target signal came from a mod that has since been removed.
    - Upgrading a cannon or receiver to a higher quality now keeps its settings. Cannons stay aimed at an upgraded
      receiver, and capsules already on their way still land in it.
    - A cannon or receiver destroyed and rebuilt from its ghost keeps its settings.
    - The Receiver space and Cannon charge signals are no longer counted twice by the cannon's own condition.
    - Higher quality cannons no longer get extra slots, which trapped cargo the cannon could never fire. A cannon
      always has 2 slots. Anything already in the extra slots of a rare or better cannon is lost in this update.
Version: 0.1.0
Date: 2026-11-04
  Features:
    - Cargo cannon and cargo receiver: fire one stack of cargo per capsule between a planet and the space
      platforms above it (orbit shots), and after research across space to other planets (interplanetary shots).
    - Pick the cargo in the cannon's window: slot 2 only accepts that item (locked until one is picked), so
      inserters and robots can't fill it with capsules.
    - Each shot needs capsules and a full charge of power; costs and flight times are mod settings.
    - A capsule that lands on a full receiver, or where there's no receiver, explodes like a grenade and the cargo
      is lost. Capsules aimed at a platform that has left orbit miss.
    - Circuit control: an enable / disable condition like an inserter's (one signal, Anything or Everything), or
      pick the target by signal (receiver channels). The cannon reports Receiver space and Cannon charge to its
      circuit network, and its contents like a chest.
    - The cannon is a requester chest and the receiver a passive provider for robots; inserters work with both.
    - Settings are copied by copy / paste and kept in blueprints.
    - Optional: with Space Exploration's graphics mods installed (space-exploration-graphics and
      space-exploration-graphics-5), the buildings, capsules and icons use Earendel's delivery cannon art, with his
      permission. A startup setting turns it off. Building sizes stay the same either way.