Delivery Cannon Everything


Allows all non-fluid items to be sent via Space Exploration's Delivery Cannon

Content
18 days ago
2.0
82
Logistics
Owner:
billiam106
Source:
https://github.com/weggert2/delivery-...
Homepage:
N/A
License:
MIT
Created:
a month ago
Latest Version:
0.6.0 (18 days ago)
Factorio version:
2.0
Downloaded by:
82 users

Delivery Cannon Everything

A Factorio mod for Space Exploration that allows you to send all non-fluid items via Delivery Cannon, not just the basic materials.

What it does

By default, Space Exploration only allows very basic items (ores, plates, basic materials) to be sent via Delivery Cannon. This mod removes that restriction and adds support for:

  • All items: circuits, assembling machines, inserters, belts, etc.
  • Ammo, weapons, and capsules: through the normal cargo Delivery Cannon workflow
  • All capsules: combat robots, construction robots, etc.
  • Delivery Cannon capsules: via a proxy item that can be converted before and after shipping
  • Equipment, modules, and tools
  • Items from other mods (automatically detected)
  • Circuit-controlled Delivery Cannons: including recipe selection by signal

How it works

The mod scans all item prototypes during the data-updates phase and adds them to Space Exploration's delivery cannon recipe tables. When Space Exploration processes these tables in data-final-fixes, it automatically creates:

  • Capsule items for packing (e.g., se-delivery-cannon-package-electronic-circuit)
  • Packing recipes in the delivery cannon assembler

Delivery Cannon capsules themselves are handled through a proxy item. You convert a Delivery Cannon capsule into a normal proxy item, ship that proxy through the cannon, then convert it back into a Delivery Cannon capsule at the destination.

This mod also patches Space Exploration's Delivery Cannons to behave more like Factorio 2.0 assemblers on the circuit network. They can be connected to red/green wire and set to a delivery cannon recipe by signal.

Delivery Cannon Capsule Proxy

Space Exploration's delivery cannon runtime expects a packed payload to contain one non-capsule item. Because of that, a Delivery Cannon capsule cannot be shipped directly as its own payload.

This mod solves that by adding a proxy item:

  • Convert se-delivery-cannon-capsule into the proxy item
  • Ship the proxy item through the normal Delivery Cannon workflow
  • Convert the proxy item back into se-delivery-cannon-capsule at the destination

This keeps the behavior compatible with Space Exploration while still letting Delivery Cannon capsules be transported between surfaces.

Reverse Factory Recovery

If you use Reverse Factory, it can also be used as a recovery path for finished Delivery Cannon payload capsules.

That is useful when a packed delivery payload has already been assembled but you no longer want to fire it. You can send the packed capsule through Reverse Factory and get its ingredients back automatically.

It is recommended to use the companion mod Reverse Factory DCE Compat alongside Reverse Factory. That small compatibility mod fixes Reverse Factory's item icon metadata, adds Reverse Factory recipes for completed delivery-cannon package items, and can override Reverse Factory efficiency.

Circuit Network Control

This mod enables circuit network connections on Space Exploration's Delivery Cannons and lets them be controlled by packed delivery-cannon item signals on the circuit network.

That means you can:

  • Wire a Delivery Cannon to the circuit network
  • Enable recipe control on the cannon
  • Send it a packed delivery-cannon item signal such as se-delivery-cannon-package-electronic-circuit
  • Let the cannon switch payload recipes automatically

Delivery Cannon Selector Combinator

To make recipe control practical, the mod adds a new combinator:

  • Name: Delivery Cannon Selector Combinator
  • Unlock: se-delivery-cannon
  • Purpose: converts normal item signals into the matching packed delivery-cannon item signals

Example:

  • Input electronic-circuit = 1
  • Output item: se-delivery-cannon-package-electronic-circuit = 1

Wire item demand into the bottom/input side of the combinator, then wire the top/output side to a Delivery Cannon configured for recipe control.

Notes:

  • If multiple supported item signals are present, the combinator will output all matching packed delivery-cannon item signals with the same counts.
  • The output signal can be used both for Delivery Cannon recipe control and for inserter filter control.
  • Factorio's hover tooltip for the combinator itself may still only show the input side instead of the translated output side.

Compatibility

  • Requires: Space Exploration 0.7.0 or higher
  • Factorio Version: 2.0
  • Mod Compatibility: Automatically detects and adds items from other mods
  • Reverse Factory: Optional, but useful for unpacking unwanted completed delivery-cannon payload capsules
  • Reverse Factory DCE Compat: Recommended when using Reverse Factory together with Delivery Cannon Everything

Technical Details

Load Order

  1. Space Exploration's data.lua defines the initial delivery cannon tables
  2. This mod's data-updates.lua adds all available items to those tables
  3. Space Exploration's data-final-fixes.lua processes the tables and creates recipes
  4. Delivery Cannon capsules use a proxy item so they follow Space Exploration's normal payload logic

Excluded Items

The following items are intentionally excluded to prevent issues:
- Delivery cannon items themselves
- Blueprint and planning tools (selection tools, copy-paste tools, etc.)
- Fluids (delivery cannons only support items)

Credits

Created in about 30 minutes using Claude. No human brains were utilized in making this work.