Factorio Prototype DocsVersion 2.0.21

SpaceLocationPrototype 'space-location' new

A space location, such as a planet.

Inherits from Prototype « PrototypeBase
Children

Properties

gravity_pull :: double

A value which modifies platform speed; is subtracted when traveling from this location and added when traveling to this location.

A value which modifies platform speed; is subtracted when traveling from this location and added when traveling to this location.

distance :: double

Distance from the location's parent body in map coordinates.

Distance from the location's parent body in map coordinates.

orientation :: RealOrientation

Angle in relation to the parent body.

Angle in relation to the parent body.

magnitude optional :: double

The apparent size of the space location in map coordinates.

The apparent size of the space location in map coordinates.

parked_platforms_orientation optional :: RealOrientation

The orientation where parked space platforms will be drawn.

The orientation where parked space platforms will be drawn.

label_orientation optional :: RealOrientation

The orientation where the location's name will be drawn.

The orientation where the location's name will be drawn.

draw_orbit optional :: bool

If false, an orbital ring will not be drawn for this location.

If false, an orbital ring will not be drawn for this location.

solar_power_in_space optional :: double
asteroid_spawn_influence optional :: double

If greater than 0, asteroid_spawn_definitions will be used on space connections of this location, interpolated based on distance. [...]

If greater than 0, asteroid_spawn_definitions will be used on space connections of this location, interpolated based on distance. [...]

fly_condition optional :: bool

When set to true, it means that this connection offers fly condition rather than wait condition at the destination

When set to true, it means that this connection offers fly condition rather than wait condition at the destination

auto_save_on_first_trip optional :: bool
procession_graphic_catalogue optional :: ProcessionGraphicCatalogue
procession_audio_catalogue optional :: ProcessionAudioCatalogue
platform_procession_set optional :: ProcessionSet

These transitions are used for any platform stopped at this location.

These transitions are used for any platform stopped at this location.

planet_procession_set optional :: ProcessionSet

These transitions are used for anything traveling from the surface associated with this location.

These transitions are used for anything traveling from the surface associated with this location.

icons optional :: array[IconData]

Can't be an empty array.

Can't be an empty array.

icon optional :: FileName

Path to the icon file. [...]

Path to the icon file. [...]

icon_size optional :: SpriteSizeType

The size of the square icon, in pixels. [...]

The size of the square icon, in pixels. [...]

starmap_icons optional :: array[IconData]

Can't be an empty array.

Can't be an empty array.

starmap_icon optional :: FileName

Path to the icon file. [...]

Path to the icon file. [...]

starmap_icon_size optional :: SpriteSizeType

The size of the starmap icon, in pixels. [...]

The size of the starmap icon, in pixels. [...]

asteroid_spawn_definitions optional :: array[SpaceLocationAsteroidSpawnDefinition]

Inherited from Prototype
factoriopedia_alternative optional :: string

The ID type corresponding to the prototype that inherits from this. [...]

The ID type corresponding to the prototype that inherits from this. [...]

Inherited from PrototypeBase
type :: string

Specifies the kind of prototype this is. [...]

Specifies the kind of prototype this is. [...]

name :: string

Unique textual identification of the prototype. [...]

Unique textual identification of the prototype. [...]

order optional :: Order

Used to order prototypes in inventory, recipes and GUIs. [...]

Used to order prototypes in inventory, recipes and GUIs. [...]

localised_name optional :: LocalisedString

Overwrites the name set in the locale file. [...]

Overwrites the name set in the locale file. [...]

localised_description optional :: LocalisedString

Overwrites the description set in the locale file. [...]

Overwrites the description set in the locale file. [...]

factoriopedia_descriptionnew optional :: LocalisedString

Provides additional description used in factoriopedia.

Provides additional description used in factoriopedia.

subgroupnew optional :: ItemSubGroupID

The name of an ItemSubGroup.

The name of an ItemSubGroup.

hiddennew optional :: bool
hidden_in_factoriopedianew optional :: bool
parameternew optional :: bool

Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.

Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.

factoriopedia_simulationnew optional :: SimulationDefinition

The simulation shown when looking at this prototype in the Factoriopedia GUI.

The simulation shown when looking at this prototype in the Factoriopedia GUI.

Properties

gravity_pull :: double

A value which modifies platform speed; is subtracted when traveling from this location and added when traveling to this location.

distance :: double

Distance from the location's parent body in map coordinates.

orientation :: RealOrientation

Angle in relation to the parent body.

magnitude :: double optional

Default: 1.0

The apparent size of the space location in map coordinates.

parked_platforms_orientation :: RealOrientation optional

Default: same as orientation

The orientation where parked space platforms will be drawn.

label_orientation :: RealOrientation optional

Default: 0.25

The orientation where the location's name will be drawn.

draw_orbit :: bool optional

Default: true

If false, an orbital ring will not be drawn for this location.

solar_power_in_space :: double optional

Default: 1.0

asteroid_spawn_influence :: double optional

Default: 0.1

If greater than 0, asteroid_spawn_definitions will be used on space connections of this location, interpolated based on distance. The number specifies the percentage of the route where the location stops spawning its asteroids.

fly_condition :: bool optional

Default: false

When set to true, it means that this connection offers fly condition rather than wait condition at the destination

auto_save_on_first_trip :: bool optional

Default: true

procession_graphic_catalogue :: ProcessionGraphicCatalogue optional

procession_audio_catalogue :: ProcessionAudioCatalogue optional

platform_procession_set :: ProcessionSet optional

These transitions are used for any platform stopped at this location.

planet_procession_set :: ProcessionSet optional

These transitions are used for anything traveling from the surface associated with this location.

icons :: array[IconData] optional

Can't be an empty array.

icon :: FileName optional

Path to the icon file.

Mandatory if icons is not defined.

icon_size :: SpriteSizeType optional

Default: 64

The size of the square icon, in pixels. E.g. 32 for a 32px by 32px icon. Must be larger than 0.

Only loaded if icons is not defined.

starmap_icons :: array[IconData] optional

Can't be an empty array.

starmap_icon :: FileName optional

Path to the icon file.

Only loaded if starmap_icons is not defined.

starmap_icon_size :: SpriteSizeType optional

Default: 64

The size of the starmap icon, in pixels. E.g. 32 for a 32px by 32px icon. Must be larger than 0.

Only loaded if starmap_icons is not defined.

asteroid_spawn_definitions :: array[SpaceLocationAsteroidSpawnDefinition] optional

Prototypes

Types

Defines