Orbital Cannon


Adds an alternative space transport system.

Internal
10 days ago
2.0
1.20K
Logistics
Owner:
Frontrider
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
4 months ago
Latest Version:
0.5.2 (10 days ago)
Factorio version:
2.0
Downloaded by:
1.20K users

Adds an alternative system to rockets, but mods need to set it up themselves, provides no functionality on its own. I repeat, without other mods supporting it, it will not do anything.

This was originally a part of Dea Dia (above 0.4, got extracted so I can make some progress). I wanted to change up a few things.
This is designed for planets that are very tightly linked together, avoid deadlocks and softlocks, and also to not have a situation where you have several
rocket part recipes to account for that specific planet. I also spent way too long looking for edge cases that may break it.

The recipes for the cannon itself should not have any recycling recipes to avoid material transmutations! This can't matter for gameplay as the cannon does not respond to quality.

The Orbital Cannon can be used to fully replace or complement vanilla space connections. You can have both or just one of them between two planets.

Usage:
The mod loads this "prototype" from the normal data:extend list. DO NOT register this unless the cannon is loaded as well, else the game will crash.

The link is ONE WAY. If you want it to go both ways you need two of them. If you use two links, only one should have the graphics hint for the desired effect.

data:extend {
 {
-- the type that this mod loads
        type = "orbital-cannon-link",
-- a unique name for the connection
        name = "paracelsin-aquilo",
-- the planet that we launch to and from.
-- you need 2 connections for the link to work both ways
        source = "paracelsin",
        target = "aquilo",
-- prepared, but currently unused. Designed to allow links that only move items or players instead of both.
        link_type = "transport",
-- same format as an orbit, if the link is between a planet and its moon then this is the same as the planetslib orbit of that planet.
-- defines a point that the cannon's graphics will point at.
-- for a two way link, only provide one of these.
        graphics_hint = {
            orientation = .7,
            distance = 6,
        }
    }
}