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

# Factorio Prototype Docs Version 2.0.77

# SpawnPoint - Prototype Docs

## SpawnPoint :: struct or {double, double}

The definition of a evolution and probability weights for a spawnable unit for a EnemySpawnerPrototype.

It can be specified as a table with named or numbered keys, but not a mix of both. If this is specified as a table with numbered keys then the first value is the evolution factor and the second is the spawn weight.

## Properties

- default
- sorted

evolution_factor | :: double |
spawn_weight | :: double | Must be `>= 0`.
Must be `>= 0`.

evolution_factor | :: double |
spawn_weight | :: double | Must be `>= 0`.
Must be `>= 0`.

## Properties

### evolution_factor :: double

### spawn_weight :: double

Must be `>= 0`.

Type used in

- UnitSpawnDefinition::spawn_points
- UnitSpawnDefinition