Space Map Asteroid Belts


adds 2 asteroid belts to the starmap, doesnt add any gameplay

Utilities
10 months ago
2.0
3.74K
Environment

i PlanetsLib compatibility

a month ago
(updated a month 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

New response