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

# Factorio Runtime Docs Version 2.0.77

# Concepts - Runtime Docs

## Concepts

Commonly used conventions for passing data between mods and Factorio.

Weight | double | Weight of an object. [...]
Weight of an object. [...]
CircularParticleCreationSpecification | table |
BeltConnectionType | union |
FlowStatisticsID | union | Identifies a statistics prototype, depending on the statistics type.
Identifies a statistics prototype, depending on the statistics type.
ItemStackIndex | uint16 |
LogisticFilterIndex | uint16 |
ItemCountType | uint32 |
InventoryIndex | uint8 |
ComparatorString | union | A string that specifies how the inputs should be compared. [...]
A string that specifies how the inputs should be compared. [...]
SpritePath | string | It can be either the name of a SpritePrototype defined in the data stage, or a path in form "type/name" or "type.name". [...]
It can be either the name of a SpritePrototype defined in the data stage, or a path in form "type/name" or "type.name". [...]
GameViewSettings | LuaStruct | Parameters that affect the look and control of the game. [...]
Parameters that affect the look and control of the game. [...]
HeatConnection | table |
CollisionMask | table |
Loot | table |
ModuleEffectValue | float | The percentual increase of the attribute. [...]
The percentual increase of the attribute. [...]
ModuleEffects | table |
MapTick | uint64 | `math.huge` represents the maximum possible tick.
`math.huge` represents the maximum possible tick.
BlueprintSignalIcon | table |
RenderLayer | union | A number between 0 and 255 inclusive, represented by one of the following named strings or the string version of the number. [...]
A number between 0 and 255 inclusive, represented by one of the following named strings or the string version of the number. [...]
IconDrawSpecification | table |
MapViewSettings | table | What is shown in the map view. [...]
What is shown in the map view. [...]
CursorBoxRenderType | union |
IconSequencePositioning | table |
CollisionLayerID | string | The name of a LuaCollisionLayerPrototype.
The name of a LuaCollisionLayerPrototype.
ScrollPolicy | union | Scroll policy of a scroll pane.
Scroll policy of a scroll pane.
MouseButtonFlags | dictionary[union → `true`] | A set of flags. [...]
A set of flags. [...]
SwitchState | union | State of a GUI switch.
State of a GUI switch.
GuiElementType | union |
PrototypeWithQuality | table |
ElemType | union | A string specifying a type for choose elem buttons. [...]
A string specifying a type for choose elem buttons. [...]
ElemID | table |
Vector | table or {float, float} | A vector is a two-element array or dictionary containing the `x` and `y` components. [...]
A vector is a two-element array or dictionary containing the `x` and `y` components. [...]
ChunkPosition | table or {int32, int32} | Coordinates of a chunk in a LuaSurface where each integer `x`/`y` represents a different chunk. [...]
Coordinates of a chunk in a LuaSurface where each integer `x`/`y` represents a different chunk. [...]
ItemStackLocation | table |
ItemWithQualityCount | table |
ItemFilter | table or string | An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
LocalisedString | string or number or boolean or LuaObject or nil or array[LocalisedString] | Localised strings are a way to support translation of in-game text. [...]
Localised strings are a way to support translation of in-game text. [...]
Command | table | Commands can be given to enemies and unit groups.
Commands can be given to enemies and unit groups.
GuiArrowSpecification | table | Used for specifying where a GUI arrow should point to.
Used for specifying where a GUI arrow should point to.
GuiArrowType | union | Used by GuiArrowSpecification.
Used by GuiArrowSpecification.
Vector3D | table or {float, float, float} | Reading this always returns the table with the named keys. [...]
Reading this always returns the table with the named keys. [...]
RidingState | table |
EquipmentWithQualityCounts | table |
ItemToPlace | table |
TrainSchedule | table |
PlatformSchedule | table |
RailLocation | table |
EffectReceiver | table |
RecipeIDAndQualityIDPair | table | A recipe prototype with optional quality specification.
A recipe prototype with optional quality specification.
WorkerRobotOrder | table |
SegmentEngineSpecification | table | A runtime representation of SegmentEngineSpecification.
A runtime representation of SegmentEngineSpecification.
SegmentSpecification | table | A runtime representation of SegmentSpecification.
A runtime representation of SegmentSpecification.
TileBuildabilityRule | table | A runtime representation of TileBuildabilityRule.
A runtime representation of TileBuildabilityRule.
CustomTooltipField | table |
ForceID | union | A force may be specified in one of three ways.
A force may be specified in one of three ways.
FluidID | union | A fluid may be specified in one of three ways.
A fluid may be specified in one of three ways.
EntityWithQualityID | union | An entity prototype with optional quality specification. [...]
An entity prototype with optional quality specification. [...]
EntityIDAndQualityIDPair | table | An entity prototype with optional quality specification.
An entity prototype with optional quality specification.
ItemWithQualityID | union | An item prototype with optional quality specification. [...]
An item prototype with optional quality specification. [...]
ItemIDAndQualityIDPair | table | An item prototype with optional quality specification.
An item prototype with optional quality specification.
ItemID | union | An item prototype may be specified in one of four ways.
An item prototype may be specified in one of four ways.
EntityID | union | An entity prototype may be specified in one of three ways.
An entity prototype may be specified in one of three ways.
VirtualSignalID | union | A virtual signal prototype may be specified in one of two ways.
A virtual signal prototype may be specified in one of two ways.
TechnologyID | union | An technology prototype may be specified in one of three ways.
An technology prototype may be specified in one of three ways.
ParticleID | union | A particle prototype may be specified in one of two ways.
A particle prototype may be specified in one of two ways.
DamageTypeID | union | A damage type prototype may be specified in one of two ways.
A damage type prototype may be specified in one of two ways.
TrivialSmokeID | union | A trivial smoke prototype may be specified in one of two ways.
A trivial smoke prototype may be specified in one of two ways.
TextAlign | union | The text is aligned so that the target position is at the given side of the text. [...]
The text is aligned so that the target position is at the given side of the text. [...]
VerticalTextAlign | union | The text is aligned so that the target position is at the given side of the text. [...]
The text is aligned so that the target position is at the given side of the text. [...]
QualityID | union | A quality prototype may be specified in one of two ways.
A quality prototype may be specified in one of two ways.
RecipeCategoryID | union | A recipe category may be specified in one of two ways.
A recipe category may be specified in one of two ways.
RecipeID | union | A recipe may be specified in one of three ways.
A recipe may be specified in one of three ways.
TileID | union | A tile may be specified in one of three ways.
A tile may be specified in one of three ways.
Fluid | table |
EquipmentID | union | An equipment prototype may be specified in one of three ways.
An equipment prototype may be specified in one of three ways.
EquipmentWithQualityID | union | An equipment prototype with optional quality specification.
An equipment prototype with optional quality specification.
EquipmentIDAndQualityIDPair | table | An equipment prototype with optional quality specification.
An equipment prototype with optional quality specification.
PathfinderFlags | table |
BoundingBox | table or {MapPosition, MapPosition} | Two positions, specifying the top-left and bottom-right corner of the box respectively. [...]
Two positions, specifying the top-left and bottom-right corner of the box respectively. [...]
PlaySoundSpecification | table |
SurfaceIdentification | union | A surface may be specified in one of three ways.
A surface may be specified in one of three ways.
PlayerIdentification | union | A player may be specified in one of three ways.
A player may be specified in one of three ways.
ForceSet | union | Set of forces. [...]
Set of forces. [...]
DecorativeID | union | A decorative prototype may be specified in one of two ways.
A decorative prototype may be specified in one of two ways.
AsteroidChunkID | union | An asteroid chunk prototype may be specified in one of two ways.
An asteroid chunk prototype may be specified in one of two ways.
SpaceConnectionID | union | A space connection prototype may be specified in one of two ways.
A space connection prototype may be specified in one of two ways.
SpaceLocationID | union | A space location prototype may be specified in one of two ways.
A space location prototype may be specified in one of two ways.
SignalFilter | table or string | A signal filter may be specified in two ways, either as a string which is a virtual signal name or item prototype name or as a table. [...]
A signal filter may be specified in two ways, either as a string which is a virtual signal name or item prototype name or as a table. [...]
LogisticFilter | table |
WireConnection | table |
PrintSettings | table |
SurfacePropertyID | union | Surface property prototype may be specified in one of two ways.
Surface property prototype may be specified in one of two ways.
ScriptRenderTarget | LuaEntity or MapPosition or ScriptRenderTargetTable | When writing it is possible to give LuaEntity or MapPosition directly. [...]
When writing it is possible to give LuaEntity or MapPosition directly. [...]
ScriptRenderTargetTable | table |
ItemStackIdentification | union | An item may be specified in one of three ways.
An item may be specified in one of three ways.
QualityCondition | table or string | An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
CargoDestination | table | The destination of a cargo pod.
The destination of a cargo pod.
ScheduleRecordPosition | table |
ZoomLimits | table | A set of limitations for the player zoom level.
A set of limitations for the player zoom level.
ZoomSpecification | table | A table specifying a fixed or dynamically-computed zoom level using one of the supported methods. [...]
A table specifying a fixed or dynamically-computed zoom level using one of the supported methods. [...]
ScriptRenderMode | union |
LuaEventType | union | Event name may be specified in one of four ways.
Event name may be specified in one of four ways.
TilePosition | table or {int32, int32} | Coordinates of a tile on a LuaSurface where each integer `x`/`y` represents a different tile. [...]
Coordinates of a tile on a LuaSurface where each integer `x`/`y` represents a different tile. [...]
RealOrientation | float | The smooth orientation. [...]
The smooth orientation. [...]
MapLocation | table |
MapPosition | table or {double, double} | Coordinates on a surface, for example of an entity. [...]
Coordinates on a surface, for example of an entity. [...]
Color | table or {float, float, float, float} | Red, green, blue and alpha values, all in range [0, 1] or all in range [0, 255] if any value is > 1. [...]
Red, green, blue and alpha values, all in range [0, 1] or all in range [0, 255] if any value is > 1. [...]
RangeMode | union |
BlueprintRollingStockConnection | table |
PowerSwitchBlueprintControlBehavior | table |
BlueprintEntity | table | The representation of an entity inside of a blueprint.
The representation of an entity inside of a blueprint.
BlueprintWire | {uint32, defines.wire_connector_id, uint32, defines.wire_connector_id} | Describes a single wire in the blueprint. [...]
Describes a single wire in the blueprint. [...]
UndoRedoAction | table |
BlueprintWireEnd | table |
LinkedGameControl | union | The internal name of a game control (key binding).
The internal name of a game control (key binding).
PipetteID | union |
ForceCondition | union |
FluidFlowDirection | union |
PipeConnectionType | union |
PipeConnectionDefinition | table |
FluidAmount | double | A fluid amount. [...]
A fluid amount. [...]
ProductionType | union | Specifies how the entity will utilize this fluidbox. [...]
Specifies how the entity will utilize this fluidbox. [...]
SurfaceCondition | table |
ItemPrototypeFlags | dictionary[ItemPrototypeFlag → `true`] | A set of flags. [...]
A set of flags. [...]
ItemPrototypeFlag | union | A string specifying an item prototype flag.
A string specifying an item prototype flag.
UpgradeMapperSource | table |
ItemStackDefinition | table |
SelectionModeFlags | dictionary[union → `true`] | A set of flags on a selection tool that define how entities and tiles are selected. [...]
A set of flags on a selection tool that define how entities and tiles are selected. [...]
CapsuleAction | table |
PrototypeFilterMode | union |
SpoilToTriggerResult | table |
UpgradeMapperDestination | table |
TargetType | union | Target type of an AmmoType.
Target type of an AmmoType.
AmmoType | table |
BlueprintItemFilter | table |
BlueprintInventoryWithFilters | table |
BlueprintInventory | table |
SpacePlatformTileDefinition | table |
MineableProperties | table |
BlueprintEquipment | table |
EquipmentPosition | table or {int32, int32} | Position inside an equipment grid. [...]
Position inside an equipment grid. [...]
Signal | table | An actual signal transmitted by the network.
An actual signal transmitted by the network.
DisplayPanelMessageDefinition | table |
CircuitNetworkSelection | table |
CircuitCondition | table |
SignalID | table |
SignalIDBase | table |
SignalIDType | union |
DeciderCombinatorParameters | table |
DeciderCombinatorCondition | table |
DeciderCombinatorOutput | table |
ArithmeticCombinatorParameters | table |
ArithmeticCombinatorParameterOperation | union |
SelectorCombinatorParameters | table |
SelectorCombinatorParameterOperation | union |
SpaceConnectionAsteroidSpawnDefinition | table |
SpaceConnectionAsteroidSpawnPoint | table |
SpaceLocationAsteroidSpawnDefinition | table |
Product | union | Returns one of the subtypes, depending on the value of `type`.
Returns one of the subtypes, depending on the value of `type`.
ItemProduct | table |
FluidProduct | table |
BlueprintScheduleRecord | table |
ScheduleRecord | table |
BlueprintScheduleInterrupt | table |
ScheduleInterrupt | table |
WaitCondition | table |
WaitConditionType | union | Type of a WaitCondition.
Type of a WaitCondition.
BlueprintSchedule | table |
ResearchIngredient | table |
ModifierType | union | Used by TechnologyModifier.
Used by TechnologyModifier.
TechnologyModifier | table | The effect that is applied when a technology is researched.
The effect that is applied when a technology is researched.
Ingredient | table |
EnemyExpansionMapSettings | table | Candidate chunks are given scores to determine which one of them should be expanded into. [...]
Candidate chunks are given scores to determine which one of them should be expanded into. [...]
AsteroidMapSettings | table |
SteeringMapSetting | table |
SteeringMapSettings | table |
UnitGroupMapSettings | table |
PathFinderMapSettings | table |
MapDifficultySettings | table |
MapAndDifficultySettings | table | A standard table containing all MapSettings attributes plus an additional table that contains all DifficultySettings properties.
A standard table containing all MapSettings attributes plus an additional table that contains all DifficultySettings properties.
MapSettings | LuaStruct | Various game-related settings. [...]
Various game-related settings. [...]
MapGenSize | union | A floating point number specifying an amount. [...]
A floating point number specifying an amount. [...]
PollutionMapSettings | table | These values are for the time frame of one second (60 ticks).
These values are for the time frame of one second (60 ticks).
EnemyEvolutionMapSettings | table | These values represent a percentual increase in evolution. [...]
These values represent a percentual increase in evolution. [...]
AutoplaceControl | table |
CliffPlacementSettings | table |
AutoplaceSettings | table |
TerritorySettings | table |
MapGenSettings | table | When reading MapGenSettings, all properties will always be present, but they can be omitted when writing.
When reading MapGenSettings, all properties will always be present, but they can be omitted when writing.
MapGenPreset | table |
AdvancedMapGenSettings | table |
AutoplaceSpecificationRestriction | table |
NoiseExpressionSourceString | string | The string representation of a noise expression. [...]
The string representation of a noise expression. [...]
AutoplaceSpecification | table | Specifies how probability and richness are calculated when placing something on the map.
Specifies how probability and richness are calculated when placing something on the map.
RailExtensionData | table |
CraftingQueueItem | table |
NthTickEventData | table |
EventData | table | Information about the event that has been raised. [...]
Information about the event that has been raised. [...]
PostSegmentDiedData | table | Information about an individual segment in a segmented unit when the unit died.
Information about an individual segment in a segmented unit when the unit died.
OldTileAndPosition | table |
PathfinderWaypoint | table |
SelectedPrototypeData | table |
ModChangeData | table |
ConfigurationChangedData | table |
DifficultySettings | LuaStruct | Technology difficulty settings. [...]
Technology difficulty settings. [...]
PipeConnection | table | A single pipe connection for a given fluidbox.
A single pipe connection for a given fluidbox.
FluidBoxFilter | table |
FluidBoxFilterSpec | table |
FluidBoxConnectionRecord | table |
AsteroidChunk | table |
EjectedItem | table | An item thrown overboard on a space platform.
An item thrown overboard on a space platform.
MapExchangeStringData | table | The data that can be extracted from a map exchange string, as a plain table.
The data that can be extracted from a map exchange string, as a plain table.
DetailedItemOnLine | table |
ItemLocationData | table |
ChunkPositionAndArea | table | A ChunkPosition with an added bounding box for the area of the chunk.
A ChunkPosition with an added bounding box for the area of the chunk.
CustomCommandData | table |
SimulationWidgetType | union |
SegmentedUnitAIState | table | A structure describing the state of a LuaSegmentedUnit's AI.
A structure describing the state of a LuaSegmentedUnit's AI.
LogisticsNetworkSupplyCounts | table |
LogisticsNetworkSupplyPoints | table |
PlaceAsTileResult | table |
AddRecordData | table |
EntitySearchFilters | table |
TileSearchFilters | table |
ColorModifier | table or {float, float, float, float} | Same as Color, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].
Same as Color, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].
Decorative | table |
DecorativeResult | table |
ScriptArea | table | An area defined using the map editor.
An area defined using the map editor.
ScriptPosition | table | A position defined using the map editor.
A position defined using the map editor.
EquipmentPoint | table | A table used to define a manual shape for a piece of equipment.
A table used to define a manual shape for a piece of equipment.
GuiLocation | table or {int32, int32} | Screen coordinates of a GUI element in a LuaGui. [...]
Screen coordinates of a GUI element in a LuaGui. [...]
TabAndContent | table |
GuiAnchor | table |
ChartTagSpec | table | Either `icon`, `text`, or both must be provided.
Either `icon`, `text`, or both must be provided.
PrototypeHistory | table |
SpawnPointDefinition | table |
UnitSpawnDefinition | table |
InventoryWithCustomStackSizeSpecification | table |
TrainFilter | table |
TrainStopFilter | table |
TrainPathRequestType | union | A string specifying the type of request for LuaTrainManager::request_train_path.
A string specifying the type of request for LuaTrainManager::request_train_path.
TrainPathFinderGoal | union |
TrainStopGoal | table |
RailEndGoal | table |
RailEndStart | table |
TrainPathFinderOneGoalResult | table |
TrainPathAllGoalsResult | table |
CutsceneWaypoint | table |
Alert | table |
DragTarget | table |
DisplayResolution | table |
BeamTarget | table |
RollingStockDrawData | table |
IDType | union | All base prototype types.
All base prototype types.
BlueprintQualityID | table |
BlueprintItemIDAndQualityIDPair | table | An item prototype with optional quality specification.
An item prototype with optional quality specification.
ItemIDFilter | table |
EntityIDFilter | table |
EntityPrototypeFlags | dictionary[EntityPrototypeFlag → `true`] | A set of flags. [...]
A set of flags. [...]
EntityPrototypeFlag | union | A string specifying an entity prototype flag.
A string specifying an entity prototype flag.
InfinityPipeFilter | table | A single filter used by an infinity-pipe type entity.
A single filter used by an infinity-pipe type entity.
ProgrammableSpeakerInstrument | table |
ExplosionDefinition | table |
ProgrammableSpeakerParameters | table |
ProgrammableSpeakerPlaybackMode | union | Specifies from where the programmable speaker's sound will be heard.
Specifies from where the programmable speaker's sound will be heard.
ProgrammableSpeakerAlertParameters | table |
ProgrammableSpeakerCircuitParameters | table |
BlueprintMiningDrillFilter | table |
HeatSettingMode | union |
HeatSetting | table | The settings used by a heat-interface type entity.
The settings used by a heat-interface type entity.
CliffOrientation | union |
ValveMode | union | Defines the mode of operation for a ValvePrototype.
Defines the mode of operation for a ValvePrototype.
BlueprintSpoilPriority | union |
SpoilPriority | union |
SpiderLegSpecification | table |
SpiderEngineSpecification | table |
BlueprintInfinityInventorySettings | table |
VehicleAutomaticTargetingParameters | table |
ItemInventoryPositions | table |
InventoryPosition | table |
ThrusterPerformancePoint | table |
BlueprintInsertPlan | table | Defines an item type that a blueprint entity will request.
Defines an item type that a blueprint entity will request.
NeighbourConnectableConnectionDefinition | table |
NeighbourConnectable | table |
MarketIngredient | table |
Offer | table | A single offer on a market entity.
A single offer on a market entity.
CustomEntityStatus | table |
SmokeSource | table |
PerceivedPerformance | table |
InfinityInventoryFilter | table | A single filter used by an infinity-filters instance.
A single filter used by an infinity-filters instance.
RadiusVisualisationSpecification | table |
Resistance | table |
DamageParameters | table | Used to specify what type of damage and how much damage something deals.
Used to specify what type of damage and how much damage something deals.
SoundPath | string | It can be either the name of a SoundPrototype defined in the data stage, or a path in the form `"type/name"`. [...]
It can be either the name of a SoundPrototype defined in the data stage, or a path in the form `"type/name"`. [...]
SoundType | union | Defines which slider in the game's sound settings affects the volume of this sound. [...]
Defines which slider in the game's sound settings affects the volume of this sound. [...]
CompiledLogisticFilter | table |
BlueprintLogisticFilter | table |
BlueprintLogisticSections | table |
LogisticSection | table |
LogisticGroup | table |
LogisticSections | table |
FactoriopediaID | union |
GuiDirection | union | Direction of a LuaGuiElement's layout.
Direction of a LuaGuiElement's layout.
AttackParameterFluid | table |
GunShift4Way | table |
TriggerItem | table |
CircularProjectileCreationSpecification | array[{RealOrientation, Vector}] |
TriggerModifierData | table |
ApplyTileTint | union | Refers to tints defined in TilePrototype::particle_tints.
Refers to tints defined in TilePrototype::particle_tints.
TriggerTargetMask | dictionary[string → `true`] | A set of trigger target masks.
A set of trigger target masks.
AttackReactionItem | table |
TriggerDelivery | table |
TriggerEffectWithCooldown | table |
DamageTypeFilters | table |
TriggerEffectItemType | union | Used by TriggerEffectItem.
Used by TriggerEffectItem.
TriggerEffectItem | table |
AttackParameters | table |
SplitterPriority | union |
Alignment | union | A string that specifies where a GUI element should be.
A string that specifies where a GUI element should be.
PrototypeFilter | array[union] | Types `"signal"` and `"item-group"` do not support filters. [...]
Types `"signal"` and `"item-group"` do not support filters. [...]
EventFilter | array[union] | Used to filter out irrelevant event callbacks in a performant way. [...]
Used to filter out irrelevant event callbacks in a performant way. [...]
CircuitConditionDefinition | table |
RegistrationTarget | union | Represents an object that can be registered for the on_object_destroyed event. [...]
Represents an object that can be registered for the on_object_destroyed event. [...]
ResearchTrigger | table |
DeciderCombinatorBlueprintControlBehavior | table |
RocketSiloBlueprintControlBehavior | table |
SpacePlatformHubBlueprintControlBehavior | table |
RailSignalBaseBlueprintControlBehavior | table |
FurnaceBlueprintControlBehavior | table |
ArithmeticCombinatorBlueprintControlBehavior | table |
CargoLandingPadBlueprintControlBehavior | table |
LampBlueprintControlBehavior | table |
ProxyContainerBlueprintControlBehavior | table |
MiningDrillBlueprintControlBehavior | table |
LoaderBlueprintControlBehavior | table |
WallBlueprintControlBehavior | table |
ContainerBlueprintControlBehavior | table |
PumpBlueprintControlBehavior | table |
TrainStopBlueprintControlBehavior | table |
ProgrammableSpeakerBlueprintControlBehavior | table |
SplitterBlueprintControlBehavior | table |
TransportBeltBlueprintControlBehavior | table |
LogisticContainerBlueprintControlBehavior | table |
ReactorBlueprintControlBehavior | table |
ConstantCombinatorBlueprintControlBehavior | table |
ArtilleryTurretBlueprintControlBehavior | table |
AccumulatorBlueprintControlBehavior | table |
TurretBlueprintControlBehavior | table |
AsteroidCollectorBlueprintControlBehavior | table |
StorageTankBlueprintControlBehavior | table |
InserterBlueprintControlBehavior | table |
DisplayPanelBlueprintControlBehavior | table |
RoboportBlueprintControlBehavior | table |
AssemblingMachineBlueprintControlBehavior | table |
AgriculturalTowerBlueprintControlBehavior | table |
ModSetting | table |
MathExpression | string | A string that represents a math expression. [...]
A string that represents a math expression. [...]
Tags | dictionary[string → AnyBasic] | A dictionary of string to the four basic Lua types: `string`, `boolean`, `number`, `table`. [...]
A dictionary of string to the four basic Lua types: `string`, `boolean`, `number`, `table`. [...]
Tile | table |
SlotFilter | table |
float | builtin | A floating-point number. [...]
A floating-point number. [...]
double | builtin | A double-precision floating-point number. [...]
A double-precision floating-point number. [...]
uint8 | builtin | 8-bit unsigned integer. [...]
8-bit unsigned integer. [...]
int8 | builtin | 8-bit signed integer. [...]
8-bit signed integer. [...]
uint16 | builtin | 16-bit unsigned integer. [...]
16-bit unsigned integer. [...]
int16 | builtin | 16 bit signed integer. [...]
16 bit signed integer. [...]
uint32 | builtin | 32-bit unsigned integer. [...]
32-bit unsigned integer. [...]
int32 | builtin | 32-bit signed integer. [...]
32-bit signed integer. [...]
uint64 | builtin | 64-bit unsigned integer. [...]
64-bit unsigned integer. [...]
number | builtin | Any kind of integer or floating point number.
Any kind of integer or floating point number.
string | builtin | Strings are enclosed in double-quotes, like this `"hi"`.
Strings are enclosed in double-quotes, like this `"hi"`.
boolean | builtin | Either `true` or `false`.
Either `true` or `false`.
nil | builtin | Nil is the type of the value `nil`, whose main property is to be different from any other value. [...]
Nil is the type of the value `nil`, whose main property is to be different from any other value. [...]
table | builtin | Tables are enclosed in curly brackets, like this `{}`. [...]
Tables are enclosed in curly brackets, like this `{}`. [...]
LuaObject | builtin | Any LuaObject listed on the Classes page.
Any LuaObject listed on the Classes page.
AnyBasic | string or boolean or number or table | Any basic type (string, number, boolean) or table.
Any basic type (string, number, boolean) or table.
Any | string or boolean or number or table or LuaObject | Any basic type (string, number, boolean), table, or LuaObject.
Any basic type (string, number, boolean), table, or LuaObject.
PropertyExpressionNames | dictionary[string → string] | All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. [...]
All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. [...]
ModSettingPrototypeFilter | table |
SpaceLocationPrototypeFilter | table |
DecorativePrototypeFilter | table |
TilePrototypeFilter | table |
AsteroidChunkPrototypeFilter | table |
ItemPrototypeFilter | table |
TechnologyPrototypeFilter | table |
RecipePrototypeFilter | table |
AchievementPrototypeFilter | table |
EquipmentPrototypeFilter | table |
FluidPrototypeFilter | table |
EntityPrototypeFilter | table |
LuaSegmentedUnitDiedEventFilter | table |
LuaScriptRaisedTeleportedEventFilter | table |
LuaPreRobotMinedEntityEventFilter | table |
LuaScriptRaisedBuiltEventFilter | table |
LuaPlatformMinedEntityEventFilter | table |
LuaRobotBuiltEntityEventFilter | table |
LuaPrePlayerMinedEntityEventFilter | table |
LuaEntityDeconstructionCancelledEventFilter | table |
LuaPreGhostUpgradedEventFilter | table |
LuaPlatformBuiltEntityEventFilter | table |
LuaPrePlatformMinedEntityEventFilter | table |
LuaEntityClonedEventFilter | table |
LuaPlayerRepairedEntityEventFilter | table |
LuaPostEntityDiedEventFilter | table |
LuaScriptRaisedDestroySegmentedUnitEventFilter | table |
LuaSegmentedUnitDamagedEventFilter | table |
LuaPreGhostDeconstructedEventFilter | table |
LuaPlayerMinedEntityEventFilter | table |
LuaSectorScannedEventFilter | table |
LuaRobotMinedEntityEventFilter | table |
LuaEntityMarkedForDeconstructionEventFilter | table |
LuaPostSegmentedUnitDiedEventFilter | table |
LuaScriptRaisedReviveEventFilter | table |
LuaPlayerBuiltEntityEventFilter | table |
LuaUpgradeCancelledEventFilter | table |
LuaEntityDamagedEventFilter | table |
LuaEntityDiedEventFilter | table |
LuaEntityMarkedForUpgradeEventFilter | table |
LuaSegmentedUnitCreatedEventFilter | table |
LuaScriptRaisedDestroyEventFilter | table |