Asteroid Belt

by MrLumme

Adds an asteroid belt, dividing the solar system into inner planets, and the outer planets. Inner planets are Nauvis, Vulcanus, Fulgora, Gleba (Mods: Castra, Rubia, Moshine, Igrys, Corrundum). Outer planets are Aquillo, (Mods: Maraxsis, Tenebris, Cubium, Secretas & Frozeta, Paracelsin). The edges of the belt are very resource rich. Traveling through the belt is a short but difficult trip, required either a well armed and armoured vessel or one that can moderate it's speed.

Content
12 days ago
2.0
2.00K
Factorio: Space Age Icon Space Age Mod
Planets Logistics

b Redrawn Space Connections

2 months ago

Failed to load mods: AsteroidBelt/data.lua:8:

Redrawn Space Connections is not compatible with Asteroid Belt without Interstellar Travel installed.
Please install Interstellar Travel from the Mod Portal.

stack traceback:
[C]: in function 'error'
AsteroidBelt/data.lua:8: in main chunk

2 months ago

Have you installed the Interstellar Travel mod?

16 days ago

Is there any particular reason that Asteroid Belt doesn't work with Redrawn Space Connections, without Interstellar Travel? I use RSC just to comb through and clean up the messy planetary space routes, since they can't all check for each other's existence, and but otherwise keeps the planets in the same locations as the original mod author. Interstellar Travel completely changes where the planets are located and changes a lot of the game's progression, more than I would personally be comfortable with

16 days ago

I don't exactly remember how it looks without it, but this is the changelog message from before interstellar travel was added;

"Added incompatibility with Interstellar Travel, Organized Solar System and Redrawn Space Connections as they mess with this and seem to have conflicting ideas with this"

16 days ago
(updated 16 days ago)

I ended up removing all of the checks for other mods (Redrawn Space Connections, Dea Dia System, and Metal and Stars) in data.lua, and the game loaded up just fine, despite having all 3 of those mods that supposedly require Interstellar Travel, plus several other planet/planetary system mods.

Checking the space map, and it seems like all you really need to do is prune all of the routes from the inner planets to the outer planets, while leaving only the routes to/from the "asteroid belt", which shouldn't be that difficult in theory.

There are already some minor nitpicks I had with RSC's auto-routing, that I was planning to release a "minor compat fixes" patch mod to help alleviate. I could probably make it support Asteroid Belt as well, if some of the checks requiring Interstellar Travel were removed. I'll play around with it and get back to you on that front.

(pictured above, many unnecessary routes to be pruned)

15 days ago
(updated 15 days ago)

First pass, looks much better imo. This is RDC with Asteroid Belt (all restrictions temporarily removed for testing), Dea Dia, Metal and Stars, and my RDC patch mod.

Just need to do a little more testing to ensure it works with different configurations of mods, instead of just "all of the above"

(I ended up removing Vesta from my testing because I have no idea what to do with it, since it's physically closer to the inner planets, but requires Aquilo science to unlock, so it's definitely outer planet material)

(Lunar Legacy might also need some compatibility fixes, since one of its planets, Crymora, overlaps the asteroid belt)

15 days ago
(updated 15 days ago)

I have released the compatibility patch mod, that will remove any and all connections between the inner and outer planets when Asteroid Belt is detected, and should allow players to use Redrawn Space Connections, without requiring Interstellar Travel.

In order to work with Asteroid Belt officially though, you'd have to modify some of the checks in data.lua, to allow the game to load (if RSC and the compatibility patch are both enabled). Should also theoretically allow for the use of Dea Dia System and Metal and Stars, without requiring Interstellar Travel, unless you just don't like the connections from Fulgora to the Dea Dia System, or the spacegate connection to the Metal and Stars system

14 days ago

Ah, neat! I will do that later today :)

13 days ago

I've updated the mod, and removed the restrictions on Interstellar Travel being installed :)

13 days ago
(updated 13 days ago)

Hmm, thanks for the update, though it's currently causing a Circular Dependency error on load, since my mod has an optional dependency on yours, and yours now has an optional dependency on mine. I could technically remove it from my side, but I think you might want to remove it from yours, since it isn't necessary (probably isn't necessary for me either though...)

Also, you might have wanted to keep some of those soft requirements in data.lua, since I think the intention was that the player should not load the game with Redrawn Space Connections unless either Interstellar Travel OR Redrawn Space Compatibility is also installed (same with Dea Dia System and Metal and Stars?)

EDIT: Testing with just Asteroid Belt and Dea Dia/Metal and Stars, and I'm not entirely sure why these mods were originally made incompatible without Interstellar Travel? There doesn't seem to be anything inherently wrong with having a spacegate connection from Nauvis to Metal and Stars, or having a similar route from Fulgora to Dea Dia, even if it visibly bypasses the belt, I assumed it was wormhole logic

If you want, I could provide you with an updated data.lua to make it work this way again. Although in theory, you could just replace this line from here):

local has_interstellar_travel = mods["interstellar-travel"]

to something like this:

local has_redrawn_space_compat = mods["redrawn-space-compat-fixes"]

and then update the checks and error messages accordingly (or just add it to the list of checks)

13 days ago
(updated 13 days ago)

Uploaded to Google Drive, a version of 1.2.9 that re-adds the soft restrictions against Redrawn Space Connections, unless Redrawn Space Compatibility or Interstellar Travel is also installed (since the space map doesn't look correct with Asteroid Belt and RDC enabled, without also having one of those two mods), and also removes the optional dependency to Redrawn Space Compatibility (since it's not needed)

Here's the only important change that was made to data.lua, at the top of the file:

-- Check if RDC is enabled
if mods["Redrawn-Space-Connections"] then
    -- Check for either of these mods that allow compatibility
    local compatible_mods = mods["redrawn-space-compat-fixes"] or mods["interstellar-travel"]
    if not compatible_mods then
        error("\n\nRedrawn Space Connections is not compatible with Asteroid Belt without Redrawn Space Compatibility or Interstellar Travel installed.\nPlease install one of these mods from the Mod Portal.\n")
    end
end
12 days ago

I've uploaded a new version with this :)

12 days ago

Can confirm, latest update works perfectly!

New response