Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# SpaceLocationAsteroidSpawnDefinition - Prototype Docs

## SpaceLocationAsteroidSpawnDefinition :: struct

Inherits from AsteroidSpawnPoint

## Properties

- default
- sorted

type optional | :: `"entity"` or `"asteroid-chunk"` |
asteroid | :: EntityID or AsteroidChunkID | The type this is loaded as depends on `type`.
The type this is loaded as depends on `type`.

Inherited from AsteroidSpawnPoint

probability | :: double | Must be >= 0.
Must be >= 0.
speed | :: double | Must be > 0.
Must be > 0.
angle_when_stopped optional | :: float | Facing the north. [...]
Facing the north. [...]

asteroid | :: EntityID or AsteroidChunkID | The type this is loaded as depends on `type`.
The type this is loaded as depends on `type`.
type optional | :: `"entity"` or `"asteroid-chunk"` |

Inherited from AsteroidSpawnPoint

probability | :: double | Must be >= 0.
Must be >= 0.
speed | :: double | Must be > 0.
Must be > 0.
angle_when_stopped optional | :: float | Facing the north. [...]
Facing the north. [...]

## Properties

### type :: `"entity"` or `"asteroid-chunk"` optional

Default: `"entity"`

### asteroid :: EntityID or AsteroidChunkID

The type this is loaded as depends on `type`.

Type used in

- SpaceLocationPrototype::asteroid_spawn_definitions