After some tinkering I came up with this ratio. Due to the fact it is adding asteroids to the pool instead of replacing existing asteroids any amount of extra asteroids does increse difficulty but there is no better way since reducing vanilla asteroids would introduce a risk of resource shortages.
Edit: Further corrected values (I still find new asteroids excessive ond suggest a further /2 probability reducton as well as angle reduction for non-chunks) I leave fine tuning properties to others to increase sample size.
local planet = data.raw["planet"]["nauvis"]
if planet then
planet.asteroid_spawn_definitions = planet.asteroid_spawn_definitions or {}
table.insert(planet.asteroid_spawn_definitions, {
type = "asteroid-chunk", -- keep as-is
asteroid = "orbital-asteroid-chunk",
probability = 0.01, -- tweak spawn frequency relative to others
speed = 0.01, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
end
local planet = data.raw["planet"]["vulcanus"]
if planet then
planet.asteroid_spawn_definitions = planet.asteroid_spawn_definitions
table.insert(planet.asteroid_spawn_definitions, {
type = "asteroid-chunk", -- keep as-is
asteroid = "rocky-asteroid-chunk",
probability = 0.01, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
table.insert(planet.asteroid_spawn_definitions, {
type = "entity", -- keep as-is
asteroid = "medium-rocky-asteroid",
probability = 0.025, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
end
planet = data.raw["planet"]["fulgora"]
if planet then
planet.asteroid_spawn_definitions = planet.asteroid_spawn_definitions or {}
table.insert(planet.asteroid_spawn_definitions, {
type = "asteroid-chunk", -- keep as-is
asteroid = "scrap-asteroid-chunk",
probability = 0.01, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
table.insert(planet.asteroid_spawn_definitions, {
type = "entity", -- keep as-is
asteroid = "medium-scrap-asteroid",
probability = 0.025, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
end
planet = data.raw["planet"]["gleba"]
if planet then
planet.asteroid_spawn_definitions = planet.asteroid_spawn_definitions or {}
table.insert(planet.asteroid_spawn_definitions, {
type = "asteroid-chunk", -- keep as-is
asteroid = "alien-asteroid-chunk",
probability = 0.01, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
table.insert(planet.asteroid_spawn_definitions, {
type = "entity", -- keep as-is
asteroid = "medium-alien-asteroid",
probability = 0.025, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
end
planet = data.raw["planet"]["aquilo"]
if planet then
planet.asteroid_spawn_definitions = planet.asteroid_spawn_definitions or {}
table.insert(planet.asteroid_spawn_definitions, {
type = "asteroid-chunk", -- keep as-is
asteroid = "fluorite-asteroid-chunk",
probability = 0.001, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
table.insert(planet.asteroid_spawn_definitions, {
type = "entity", -- keep as-is
asteroid = "medium-fluorite-asteroid",
probability = 0.005, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
table.insert(planet.asteroid_spawn_definitions, {
type = "entity", -- keep as-is
asteroid = "big-fluorite-asteroid",
probability = 0.002, -- tweak spawn frequency relative to others
speed = 0.05, -- optional: orbital drift
angle_when_stopped = 1.0, -- optional
})
end