Space Map Asteroid Belts


Adds 2 asteroid belts to the Starmap, doesn't add any gameplay. Now with PlanetsLib compatibility!

Tweaks
3 days ago
2.0 - 2.1
6.46K
Planets Transportation Environment

i PlanetsLib compatibility

1 year, 3 months ago
(updated 1 year, 3 months ago)

Hi, since I use your mod in my mod pack, I have a suggestion for making your mod compatible with PlanetsLib.

if mods["PlanetsLib"] then
    PlanetsLib:extend({
    {
        type = "space-location",
        name = "shattered-planet_Big",
        orbit = {
            parent = {
                type = "space-location",
                name = "shattered-planet"
            },
            distance = 0,
            orientation = 0,
            sprite = {
                type = "sprite",
                filename = "__factorio_hd_age_space_age_graphics_addon__/graphics/shattered-planet.png",
                size = 960,
                scale = 0.4,
            }
        },
        sprite_only = true
    },
        {
        type = "space-location",
        name = "asteroid_belt_1",
        orbit = {
            parent = {
                type = "space-location",
                name = "star"
            },
            distance = 0,
            orientation = 0,
            sprite = {
                type = "sprite",
                filename = "__custom-space-map__/graphics/starmap/Starmap_Solar_System_05.png",
                size = 2436,
                scale = 1,
            }
        },
        sprite_only = true
    },
        {
        type = "space-location",
        name = "asteroid_belt_2",
        orbit = {
            parent = {
                type = "space-location",
                name = "star"
            },
            distance = 0,
            orientation = 0,
            sprite = {
                type = "sprite",
                filename = "__custom-space-map__/graphics/starmap/Starmap_Solar_System_06.png",
                size = 2436,
                scale = 1.5
            }
        },
        sprite_only = true
    }
})
else

your original code from Stramap.lua

end
3 days ago

Thank you for your fix, and I'm very sorry it took so long to come out, i may have forgotten about this mods existence. Woops!

New response