typed-factorio 3.0.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,12 +12,12 @@ import type { VersionString } from "factorio:common"
12
12
  declare module "factorio:runtime" {
13
13
  /**
14
14
  * `math.huge` represents the maximum possible tick.
15
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapTick.html Online documentation}
15
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapTick.html Online documentation}
16
16
  */
17
17
  export type MapTick = uint64
18
18
  /**
19
19
  * The percentual increase of the attribute. A value of `0.6` means a 60% increase.
20
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ModuleEffectValue.html Online documentation}
20
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ModuleEffectValue.html Online documentation}
21
21
  */
22
22
  export type ModuleEffectValue = float
23
23
  /**
@@ -27,7 +27,7 @@ declare module "factorio:runtime" {
27
27
  * speed=-0.15,
28
28
  * productivity=0.06,
29
29
  * pollution=0.075}
30
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ModuleEffects.html Online documentation}
30
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ModuleEffects.html Online documentation}
31
31
  */
32
32
  export interface ModuleEffects {
33
33
  readonly consumption?: ModuleEffectValue
@@ -51,7 +51,7 @@ declare module "factorio:runtime" {
51
51
  * - `"<="`: "lesser than or equal to"
52
52
  * - `"≠"`: "not equal to"
53
53
  * - `"!="`: "not equal to"
54
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ComparatorString.html Online documentation}
54
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ComparatorString.html Online documentation}
55
55
  */
56
56
  export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
57
57
  /** @see ComparatorString */
@@ -83,8 +83,8 @@ declare module "factorio:runtime" {
83
83
  *
84
84
  * The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
85
85
  *
86
- * {@link https://lua-api.factorio.com/2.0.12/concepts/SpritePath.html > The supported types are:}
87
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SpritePath.html Online documentation}
86
+ * {@link https://lua-api.factorio.com/2.0.16/concepts/SpritePath.html > The supported types are:}
87
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SpritePath.html Online documentation}
88
88
  */
89
89
  export type SpritePath =
90
90
  | (string & {
@@ -95,7 +95,7 @@ declare module "factorio:runtime" {
95
95
  * @example
96
96
  * -- Most common collision mask of buildings:
97
97
  * collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
98
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CollisionMask.html Online documentation}
98
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CollisionMask.html Online documentation}
99
99
  */
100
100
  export interface CollisionMask {
101
101
  /**
@@ -223,7 +223,7 @@ declare module "factorio:runtime" {
223
223
  * - `"check-box"`
224
224
  * - `"switch"`
225
225
  * - `"label"`
226
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SimulationWidgetType.html Online documentation}
226
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SimulationWidgetType.html Online documentation}
227
227
  */
228
228
  export type SimulationWidgetType =
229
229
  | "signal-id"
@@ -345,7 +345,7 @@ declare module "factorio:runtime" {
345
345
  * - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
346
346
  * - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
347
347
  * - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
348
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TrainPathRequestType.html Online documentation}
348
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TrainPathRequestType.html Online documentation}
349
349
  */
350
350
  export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
351
351
  /**
@@ -354,7 +354,7 @@ declare module "factorio:runtime" {
354
354
  * - {@link RailEndGoal}
355
355
  * - {@link LuaRailEnd}
356
356
  * - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
357
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TrainPathFinderGoal.html Online documentation}
357
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TrainPathFinderGoal.html Online documentation}
358
358
  */
359
359
  export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
360
360
  export interface TrainStopGoal {
@@ -459,7 +459,7 @@ declare module "factorio:runtime" {
459
459
  }
460
460
  /**
461
461
  * A single pipe connection for a given fluidbox.
462
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PipeConnection.html Online documentation}
462
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PipeConnection.html Online documentation}
463
463
  */
464
464
  export interface PipeConnection {
465
465
  readonly flow_direction: "input" | "output" | "input-output"
@@ -522,7 +522,7 @@ declare module "factorio:runtime" {
522
522
  * - {@link LuaEntityDiedEventFilter}
523
523
  * - {@link LuaPreRobotMinedEntityEventFilter}
524
524
  * @see EventFilterWrite
525
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EventFilter.html Online documentation}
525
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EventFilter.html Online documentation}
526
526
  */
527
527
  export type EventFilter =
528
528
  | LuaPrePlatformMinedEntityEventFilter[]
@@ -552,7 +552,7 @@ declare module "factorio:runtime" {
552
552
  | LuaPreRobotMinedEntityEventFilter[]
553
553
  /**
554
554
  * Write form of {@link EventFilter}, where table-or-array concepts are allowed to take an array form.
555
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EventFilter.html Online documentation}
555
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EventFilter.html Online documentation}
556
556
  */
557
557
  export type EventFilterWrite =
558
558
  | readonly LuaPrePlatformMinedEntityEventFilter[]
@@ -602,7 +602,7 @@ declare module "factorio:runtime" {
602
602
  * - {@link LuaCommandable}: Target type {@link defines.target_type.commandable commandable}; `useful_id` {@link LuaCommandable#unique_id LuaCommandable::unique_id}
603
603
  * - {@link LuaCustomChartTag}: Target type {@link defines.target_type.custom_chart_tag custom_chart_tag}; `useful_id` {@link LuaCustomChartTag#tag_number LuaCustomChartTag::tag_number}
604
604
  * - {@link LuaGuiElement}: Target type {@link defines.target_type.gui_element gui_element}; `useful_id` {@link LuaGuiElement#index LuaGuiElement::index}
605
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RegistrationTarget.html Online documentation}
605
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RegistrationTarget.html Online documentation}
606
606
  */
607
607
  export type RegistrationTarget =
608
608
  | LuaEntity
@@ -803,7 +803,7 @@ declare module "factorio:runtime" {
803
803
  * - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
804
804
  * - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
805
805
  * - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
806
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/UndoRedoAction.html Online documentation}
806
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/UndoRedoAction.html Online documentation}
807
807
  */
808
808
  export type UndoRedoAction =
809
809
  | BuiltEntityUndoRedoAction
@@ -835,7 +835,7 @@ declare module "factorio:runtime" {
835
835
  * - `"weapon"`
836
836
  * - `"explosion"`
837
837
  * - `"enemy"`
838
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SoundType.html Online documentation}
838
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SoundType.html Online documentation}
839
839
  */
840
840
  export type SoundType =
841
841
  | "game-effect"
@@ -918,7 +918,7 @@ declare module "factorio:runtime" {
918
918
  * - `"controllable-remove"`
919
919
  * - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
920
920
  * - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
921
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SelectionModeFlags.html Online documentation}
921
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SelectionModeFlags.html Online documentation}
922
922
  */
923
923
  export interface SelectionModeFlags {
924
924
  /**
@@ -1037,7 +1037,7 @@ declare module "factorio:runtime" {
1037
1037
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
1038
1038
  *
1039
1039
  * By default, none of these flags are set.
1040
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemPrototypeFlags.html Online documentation}
1040
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemPrototypeFlags.html Online documentation}
1041
1041
  */
1042
1042
  export type ItemPrototypeFlags = {
1043
1043
  readonly [T in ItemPrototypeFlag]?: true
@@ -1058,7 +1058,7 @@ declare module "factorio:runtime" {
1058
1058
  * - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
1059
1059
  * - `"spoil-result"`
1060
1060
  * - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
1061
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemPrototypeFlag.html Online documentation}
1061
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemPrototypeFlag.html Online documentation}
1062
1062
  */
1063
1063
  export type ItemPrototypeFlag =
1064
1064
  | "draw-logistic-overlay"
@@ -1078,10 +1078,11 @@ declare module "factorio:runtime" {
1078
1078
  * - `"none"`
1079
1079
  * - `"whitelist"`
1080
1080
  * - `"blacklist"`
1081
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PrototypeFilterMode.html Online documentation}
1081
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PrototypeFilterMode.html Online documentation}
1082
1082
  */
1083
1083
  export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
1084
1084
  export interface PipeConnectionDefinition {
1085
+ readonly connection_type: "normal" | "underground" | "linked"
1085
1086
  /**
1086
1087
  * The 4 cardinal direction connection points for this pipe.
1087
1088
  */
@@ -1092,12 +1093,16 @@ declare module "factorio:runtime" {
1092
1093
  readonly max_underground_distance?: uint
1093
1094
  readonly flow_direction: "input-output" | "input" | "output"
1094
1095
  readonly direction: defines.direction
1096
+ /**
1097
+ * Only supplied if `connection_type` is `"linked"`.
1098
+ */
1099
+ linked_connection_id: uint
1095
1100
  }
1096
1101
  /**
1097
1102
  * The name of a {@link LuaCollisionLayerPrototype}.
1098
1103
  * @example
1099
1104
  * "is_lower_object"
1100
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CollisionLayerID.html Online documentation}
1105
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CollisionLayerID.html Online documentation}
1101
1106
  */
1102
1107
  export type CollisionLayerID = string
1103
1108
  export interface ItemIDFilter {
@@ -1147,7 +1152,7 @@ declare module "factorio:runtime" {
1147
1152
  * - SpaceLocationPrototypeFilter
1148
1153
  * - FluidPrototypeFilter
1149
1154
  * @see PrototypeFilterWrite
1150
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PrototypeFilter.html Online documentation}
1155
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PrototypeFilter.html Online documentation}
1151
1156
  */
1152
1157
  export type PrototypeFilter =
1153
1158
  | ModSettingPrototypeFilter[]
@@ -1164,7 +1169,7 @@ declare module "factorio:runtime" {
1164
1169
  | FluidPrototypeFilter[]
1165
1170
  /**
1166
1171
  * Write form of {@link PrototypeFilter}, where table-or-array concepts are allowed to take an array form.
1167
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PrototypeFilter.html Online documentation}
1172
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PrototypeFilter.html Online documentation}
1168
1173
  */
1169
1174
  export type PrototypeFilterWrite =
1170
1175
  | readonly ModSettingPrototypeFilter[]
@@ -1181,7 +1186,7 @@ declare module "factorio:runtime" {
1181
1186
  | readonly FluidPrototypeFilterWrite[]
1182
1187
  /**
1183
1188
  * @see DisplayPanelMessageDefinitionWrite
1184
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DisplayPanelMessageDefinition.html Online documentation}
1189
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DisplayPanelMessageDefinition.html Online documentation}
1185
1190
  */
1186
1191
  export interface DisplayPanelMessageDefinition {
1187
1192
  /**
@@ -1199,7 +1204,7 @@ declare module "factorio:runtime" {
1199
1204
  }
1200
1205
  /**
1201
1206
  * Write form of {@link DisplayPanelMessageDefinition}, where table-or-array concepts are allowed to take an array form.
1202
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DisplayPanelMessageDefinition.html Online documentation}
1207
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DisplayPanelMessageDefinition.html Online documentation}
1203
1208
  */
1204
1209
  export interface DisplayPanelMessageDefinitionWrite {
1205
1210
  /**
@@ -1225,7 +1230,7 @@ declare module "factorio:runtime" {
1225
1230
  * - `"space-location"`
1226
1231
  * - `"asteroid-chunk"`
1227
1232
  * - `"quality"`
1228
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SignalIDType.html Online documentation}
1233
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SignalIDType.html Online documentation}
1229
1234
  */
1230
1235
  export type SignalIDType =
1231
1236
  | "item"
@@ -1426,7 +1431,7 @@ declare module "factorio:runtime" {
1426
1431
  * - `"play-next-track"`
1427
1432
  * - `"play-previous-track"`
1428
1433
  * - `"pause-resume-music"`
1429
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LinkedGameControl.html Online documentation}
1434
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LinkedGameControl.html Online documentation}
1430
1435
  */
1431
1436
  export type LinkedGameControl =
1432
1437
  | "move-up"
@@ -1677,7 +1682,7 @@ declare module "factorio:runtime" {
1677
1682
  * - `"create-ghost-on-entity-death"`
1678
1683
  * - `"belt-stack-size-bonus"`
1679
1684
  * - `"vehicle-logistics"`
1680
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ModifierType.html Online documentation}
1685
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ModifierType.html Online documentation}
1681
1686
  */
1682
1687
  export type ModifierType =
1683
1688
  | "inserter-stack-size-bonus"
@@ -1796,7 +1801,7 @@ declare module "factorio:runtime" {
1796
1801
  * - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
1797
1802
  * - `"build-entity"`: {@link BuildEntityResearchTrigger}
1798
1803
  * - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
1799
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ResearchTrigger.html Online documentation}
1804
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ResearchTrigger.html Online documentation}
1800
1805
  */
1801
1806
  export type ResearchTrigger =
1802
1807
  | CraftItemResearchTrigger
@@ -1810,7 +1815,7 @@ declare module "factorio:runtime" {
1810
1815
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
1811
1816
  *
1812
1817
  * By default, none of these flags are set.
1813
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityPrototypeFlags.html Online documentation}
1818
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityPrototypeFlags.html Online documentation}
1814
1819
  */
1815
1820
  export type EntityPrototypeFlags = {
1816
1821
  readonly [T in EntityPrototypeFlag]?: true
@@ -1845,7 +1850,7 @@ declare module "factorio:runtime" {
1845
1850
  * - `"building-direction-16-way"`
1846
1851
  * - `"snap-to-rail-support-spot"`
1847
1852
  * - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
1848
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityPrototypeFlag.html Online documentation}
1853
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityPrototypeFlag.html Online documentation}
1849
1854
  */
1850
1855
  export type EntityPrototypeFlag =
1851
1856
  | "not-rotatable"
@@ -1915,7 +1920,7 @@ declare module "factorio:runtime" {
1915
1920
  * - `"local"`: The sound can be heard within the audible range around the speaker.
1916
1921
  * - `"surface"`: The sound can be heard anywhere on the speaker's surface.
1917
1922
  * - `"global"`: The sound can be heard everywhere.
1918
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
1923
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
1919
1924
  */
1920
1925
  export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
1921
1926
  /**
@@ -1940,7 +1945,7 @@ declare module "factorio:runtime" {
1940
1945
  * - `"none-to-south"`
1941
1946
  * - `"south-to-none"`
1942
1947
  * - `"none-to-north"`
1943
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CliffOrientation.html Online documentation}
1948
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CliffOrientation.html Online documentation}
1944
1949
  */
1945
1950
  export type CliffOrientation =
1946
1951
  | "west-to-east"
@@ -1965,7 +1970,7 @@ declare module "factorio:runtime" {
1965
1970
  | "none-to-north"
1966
1971
  /**
1967
1972
  * Defines an item type that a blueprint entity will request.
1968
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintInsertPlan.html Online documentation}
1973
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintInsertPlan.html Online documentation}
1969
1974
  */
1970
1975
  export interface BlueprintInsertPlan {
1971
1976
  /**
@@ -1993,7 +1998,7 @@ declare module "factorio:runtime" {
1993
1998
  }
1994
1999
  /**
1995
2000
  * A single offer on a market entity.
1996
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Offer.html Online documentation}
2001
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Offer.html Online documentation}
1997
2002
  */
1998
2003
  export interface Offer {
1999
2004
  /**
@@ -2008,7 +2013,7 @@ declare module "factorio:runtime" {
2008
2013
  /**
2009
2014
  * An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
2010
2015
  * @see ItemFilterWrite
2011
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemFilter.html Online documentation}
2016
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemFilter.html Online documentation}
2012
2017
  */
2013
2018
  export type ItemFilter =
2014
2019
  | {
@@ -2028,7 +2033,7 @@ declare module "factorio:runtime" {
2028
2033
  | string
2029
2034
  /**
2030
2035
  * Write form of {@link ItemFilter}, where table-or-array concepts are allowed to take an array form.
2031
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemFilter.html Online documentation}
2036
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemFilter.html Online documentation}
2032
2037
  */
2033
2038
  export type ItemFilterWrite =
2034
2039
  | {
@@ -2048,7 +2053,7 @@ declare module "factorio:runtime" {
2048
2053
  | string
2049
2054
  /**
2050
2055
  * @see ScheduleRecordWrite
2051
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScheduleRecord.html Online documentation}
2056
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScheduleRecord.html Online documentation}
2052
2057
  */
2053
2058
  export interface ScheduleRecord {
2054
2059
  /**
@@ -2071,7 +2076,7 @@ declare module "factorio:runtime" {
2071
2076
  }
2072
2077
  /**
2073
2078
  * Write form of {@link ScheduleRecord}, where table-or-array concepts are allowed to take an array form.
2074
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScheduleRecord.html Online documentation}
2079
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScheduleRecord.html Online documentation}
2075
2080
  */
2076
2081
  export interface ScheduleRecordWrite {
2077
2082
  /**
@@ -2157,7 +2162,7 @@ declare module "factorio:runtime" {
2157
2162
  * - `"position"`: {@link PositionGuiArrowSpecification}
2158
2163
  * - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
2159
2164
  * - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
2160
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GuiArrowSpecification.html Online documentation}
2165
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GuiArrowSpecification.html Online documentation}
2161
2166
  */
2162
2167
  export type GuiArrowSpecification =
2163
2168
  | EntityGuiArrowSpecification
@@ -2170,7 +2175,7 @@ declare module "factorio:runtime" {
2170
2175
  *
2171
2176
  * If this is specified as a three-element array then the array items are x, y and z, in that order.
2172
2177
  * @see Vector3DArray
2173
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Vector3D.html Online documentation}
2178
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Vector3D.html Online documentation}
2174
2179
  */
2175
2180
  export interface Vector3D {
2176
2181
  readonly x: float
@@ -2180,12 +2185,12 @@ declare module "factorio:runtime" {
2180
2185
  /**
2181
2186
  * Array form of {@link Vector3D}.
2182
2187
  * @see Vector3D
2183
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Vector3D.html Online documentation}
2188
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Vector3D.html Online documentation}
2184
2189
  */
2185
2190
  export type Vector3DArray = readonly [float, float, float]
2186
2191
  /**
2187
2192
  * @see TrainScheduleWrite
2188
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TrainSchedule.html Online documentation}
2193
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TrainSchedule.html Online documentation}
2189
2194
  */
2190
2195
  export interface TrainSchedule {
2191
2196
  /**
@@ -2196,7 +2201,7 @@ declare module "factorio:runtime" {
2196
2201
  }
2197
2202
  /**
2198
2203
  * Write form of {@link TrainSchedule}, where table-or-array concepts are allowed to take an array form.
2199
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TrainSchedule.html Online documentation}
2204
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TrainSchedule.html Online documentation}
2200
2205
  */
2201
2206
  export interface TrainScheduleWrite {
2202
2207
  /**
@@ -2207,7 +2212,7 @@ declare module "factorio:runtime" {
2207
2212
  }
2208
2213
  /**
2209
2214
  * @see PlatformScheduleWrite
2210
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PlatformSchedule.html Online documentation}
2215
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PlatformSchedule.html Online documentation}
2211
2216
  */
2212
2217
  export interface PlatformSchedule {
2213
2218
  /**
@@ -2218,7 +2223,7 @@ declare module "factorio:runtime" {
2218
2223
  }
2219
2224
  /**
2220
2225
  * Write form of {@link PlatformSchedule}, where table-or-array concepts are allowed to take an array form.
2221
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PlatformSchedule.html Online documentation}
2226
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PlatformSchedule.html Online documentation}
2222
2227
  */
2223
2228
  export interface PlatformScheduleWrite {
2224
2229
  /**
@@ -2235,7 +2240,7 @@ declare module "factorio:runtime" {
2235
2240
  }
2236
2241
  /**
2237
2242
  * A recipe prototype with optional quality specification.
2238
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RecipeIDAndQualityIDPair.html Online documentation}
2243
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RecipeIDAndQualityIDPair.html Online documentation}
2239
2244
  */
2240
2245
  export interface RecipeIDAndQualityIDPair {
2241
2246
  /**
@@ -2284,7 +2289,7 @@ declare module "factorio:runtime" {
2284
2289
  * - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
2285
2290
  * - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
2286
2291
  * - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
2287
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ForceID.html Online documentation}
2292
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ForceID.html Online documentation}
2288
2293
  */
2289
2294
  export type ForceID = string | uint8 | LuaForce
2290
2295
  /**
@@ -2294,7 +2299,7 @@ declare module "factorio:runtime" {
2294
2299
  * - `string`: The fluid name.
2295
2300
  * - {@link LuaFluidPrototype}: The fluid prototype.
2296
2301
  * - {@link Fluid}: The fluid.
2297
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/FluidID.html Online documentation}
2302
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/FluidID.html Online documentation}
2298
2303
  */
2299
2304
  export type FluidID = string | LuaFluidPrototype | Fluid
2300
2305
  /**
@@ -2305,12 +2310,12 @@ declare module "factorio:runtime" {
2305
2310
  * - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
2306
2311
  * - `string`: The prototype name. Normal quality will be used.
2307
2312
  * - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
2308
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityWithQualityID.html Online documentation}
2313
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityWithQualityID.html Online documentation}
2309
2314
  */
2310
2315
  export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
2311
2316
  /**
2312
2317
  * An entity prototype with optional quality specification.
2313
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityIDAndQualityIDPair.html Online documentation}
2318
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityIDAndQualityIDPair.html Online documentation}
2314
2319
  */
2315
2320
  export interface EntityIDAndQualityIDPair {
2316
2321
  /**
@@ -2330,12 +2335,12 @@ declare module "factorio:runtime" {
2330
2335
  * - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
2331
2336
  * - `string`: The prototype name. Normal quality will be used.
2332
2337
  * - {@link ItemIDAndQualityIDPair}: A table of entity prototype and quality.
2333
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemWithQualityID.html Online documentation}
2338
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemWithQualityID.html Online documentation}
2334
2339
  */
2335
2340
  export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPair
2336
2341
  /**
2337
2342
  * An item prototype with optional quality specification.
2338
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemIDAndQualityIDPair.html Online documentation}
2343
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemIDAndQualityIDPair.html Online documentation}
2339
2344
  */
2340
2345
  export interface ItemIDAndQualityIDPair {
2341
2346
  /**
@@ -2355,7 +2360,7 @@ declare module "factorio:runtime" {
2355
2360
  * - {@link LuaItemStack}: Non empty item stack.
2356
2361
  * - {@link LuaItem}: The item.
2357
2362
  * - `string`: The prototype name.
2358
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemID.html Online documentation}
2363
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemID.html Online documentation}
2359
2364
  */
2360
2365
  export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
2361
2366
  /**
@@ -2365,7 +2370,7 @@ declare module "factorio:runtime" {
2365
2370
  * - {@link LuaEntityPrototype}: The entity prototype.
2366
2371
  * - {@link LuaEntity}: The entity.
2367
2372
  * - `string`: The prototype name.
2368
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityID.html Online documentation}
2373
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityID.html Online documentation}
2369
2374
  */
2370
2375
  export type EntityID = LuaEntityPrototype | LuaEntity | string
2371
2376
  /**
@@ -2375,7 +2380,7 @@ declare module "factorio:runtime" {
2375
2380
  * - {@link LuaTechnologyPrototype}: The technology prototype.
2376
2381
  * - {@link LuaTechnology}: Instance of the technology.
2377
2382
  * - `string`: The prototype name.
2378
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TechnologyID.html Online documentation}
2383
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TechnologyID.html Online documentation}
2379
2384
  */
2380
2385
  export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
2381
2386
  /**
@@ -2384,7 +2389,7 @@ declare module "factorio:runtime" {
2384
2389
  * ## Union members
2385
2390
  * - {@link LuaParticlePrototype}: The particle prototype.
2386
2391
  * - `string`: The prototype name.
2387
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ParticleID.html Online documentation}
2392
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ParticleID.html Online documentation}
2388
2393
  */
2389
2394
  export type ParticleID = LuaParticlePrototype | string
2390
2395
  /**
@@ -2393,7 +2398,7 @@ declare module "factorio:runtime" {
2393
2398
  * ## Union members
2394
2399
  * - {@link LuaDamagePrototype}: The damage type prototype.
2395
2400
  * - `string`: The prototype name.
2396
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DamageTypeID.html Online documentation}
2401
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DamageTypeID.html Online documentation}
2397
2402
  */
2398
2403
  export type DamageTypeID = LuaDamagePrototype | string
2399
2404
  /**
@@ -2402,7 +2407,7 @@ declare module "factorio:runtime" {
2402
2407
  * ## Union members
2403
2408
  * - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
2404
2409
  * - `string`: The prototype name.
2405
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TrivialSmokeID.html Online documentation}
2410
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TrivialSmokeID.html Online documentation}
2406
2411
  */
2407
2412
  export type TrivialSmokeID = LuaTrivialSmokePrototype | string
2408
2413
  /**
@@ -2414,7 +2419,7 @@ declare module "factorio:runtime" {
2414
2419
  * - `"left"`
2415
2420
  * - `"right"`
2416
2421
  * - `"center"`
2417
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TextAlign.html Online documentation}
2422
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TextAlign.html Online documentation}
2418
2423
  */
2419
2424
  export type TextAlign = "left" | "right" | "center"
2420
2425
  /**
@@ -2427,7 +2432,7 @@ declare module "factorio:runtime" {
2427
2432
  * - `"middle"`
2428
2433
  * - `"baseline"`
2429
2434
  * - `"bottom"`
2430
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/VerticalTextAlign.html Online documentation}
2435
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/VerticalTextAlign.html Online documentation}
2431
2436
  */
2432
2437
  export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
2433
2438
  /**
@@ -2436,7 +2441,7 @@ declare module "factorio:runtime" {
2436
2441
  * ## Union members
2437
2442
  * - {@link LuaQualityPrototype}: The quality prototype.
2438
2443
  * - `string`: The prototype name.
2439
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/QualityID.html Online documentation}
2444
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/QualityID.html Online documentation}
2440
2445
  */
2441
2446
  export type QualityID = LuaQualityPrototype | string
2442
2447
  /**
@@ -2446,7 +2451,7 @@ declare module "factorio:runtime" {
2446
2451
  * - {@link LuaRecipePrototype}: By recipe prototype.
2447
2452
  * - {@link LuaRecipe}: By instance of recipe.
2448
2453
  * - `string`: By name of the recipe prototype.
2449
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RecipeID.html Online documentation}
2454
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RecipeID.html Online documentation}
2450
2455
  */
2451
2456
  export type RecipeID = LuaRecipePrototype | LuaRecipe | string
2452
2457
  /**
@@ -2456,7 +2461,7 @@ declare module "factorio:runtime" {
2456
2461
  * - {@link LuaTilePrototype}: By tile prototype.
2457
2462
  * - {@link LuaTile}: By instance of tile.
2458
2463
  * - `string`: By name of the tile prototype.
2459
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TileID.html Online documentation}
2464
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TileID.html Online documentation}
2460
2465
  */
2461
2466
  export type TileID = LuaTilePrototype | LuaTile | string
2462
2467
  export interface Fluid {
@@ -2480,7 +2485,7 @@ declare module "factorio:runtime" {
2480
2485
  * - {@link LuaEquipmentPrototype}: The equipment prototype.
2481
2486
  * - {@link LuaEquipment}: The equipment.
2482
2487
  * - `string`: The prototype name.
2483
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentID.html Online documentation}
2488
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentID.html Online documentation}
2484
2489
  */
2485
2490
  export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
2486
2491
  /**
@@ -2491,12 +2496,12 @@ declare module "factorio:runtime" {
2491
2496
  * - {@link LuaEquipment}: The equipment. Both prototype and quality of the provided equipment will be used.
2492
2497
  * - `string`: The prototype name. Normal quality will be used.
2493
2498
  * - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
2494
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentWithQualityID.html Online documentation}
2499
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentWithQualityID.html Online documentation}
2495
2500
  */
2496
2501
  export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
2497
2502
  /**
2498
2503
  * An equipment prototype with optional quality specification.
2499
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
2504
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
2500
2505
  */
2501
2506
  export interface EquipmentIDAndQualityIDPair {
2502
2507
  /**
@@ -2517,7 +2522,7 @@ declare module "factorio:runtime" {
2517
2522
  * @example
2518
2523
  * -- Shorthand
2519
2524
  * {{-2, -3}, {5, 8}}
2520
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BoundingBox.html Online documentation}
2525
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BoundingBox.html Online documentation}
2521
2526
  */
2522
2527
  export interface BoundingBox {
2523
2528
  readonly left_top: MapPosition
@@ -2535,7 +2540,7 @@ declare module "factorio:runtime" {
2535
2540
  /**
2536
2541
  * Array form of {@link BoundingBox}.
2537
2542
  * @see BoundingBox
2538
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BoundingBox.html Online documentation}
2543
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BoundingBox.html Online documentation}
2539
2544
  */
2540
2545
  export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
2541
2546
  /**
@@ -2543,7 +2548,7 @@ declare module "factorio:runtime" {
2543
2548
  *
2544
2549
  * ## Union members
2545
2550
  * - {@link LuaSpacePlatform}
2546
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SpacePlatformIdentification.html Online documentation}
2551
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SpacePlatformIdentification.html Online documentation}
2547
2552
  */
2548
2553
  export type SpacePlatformIdentification = LuaSpacePlatform
2549
2554
  /**
@@ -2553,12 +2558,12 @@ declare module "factorio:runtime" {
2553
2558
  * - LuaForce[]: Array of many forces.
2554
2559
  * - LuaForce: A single force.
2555
2560
  * @see ForceSetWrite
2556
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ForceSet.html Online documentation}
2561
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ForceSet.html Online documentation}
2557
2562
  */
2558
2563
  export type ForceSet = LuaForce[] | LuaForce
2559
2564
  /**
2560
2565
  * Write form of {@link ForceSet}, where table-or-array concepts are allowed to take an array form.
2561
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ForceSet.html Online documentation}
2566
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ForceSet.html Online documentation}
2562
2567
  */
2563
2568
  export type ForceSetWrite = readonly ForceID[] | ForceID
2564
2569
  /**
@@ -2567,7 +2572,7 @@ declare module "factorio:runtime" {
2567
2572
  * ## Union members
2568
2573
  * - {@link LuaDecorativePrototype}: The decorative prototype.
2569
2574
  * - `string`: The prototype name.
2570
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DecorativeID.html Online documentation}
2575
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DecorativeID.html Online documentation}
2571
2576
  */
2572
2577
  export type DecorativeID = LuaDecorativePrototype | string
2573
2578
  /**
@@ -2576,7 +2581,7 @@ declare module "factorio:runtime" {
2576
2581
  * ## Union members
2577
2582
  * - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
2578
2583
  * - `string`: The prototype name.
2579
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AsteroidChunkID.html Online documentation}
2584
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AsteroidChunkID.html Online documentation}
2580
2585
  */
2581
2586
  export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
2582
2587
  /**
@@ -2585,13 +2590,13 @@ declare module "factorio:runtime" {
2585
2590
  * ## Union members
2586
2591
  * - {@link LuaSpaceLocationPrototype}: The space location prototype.
2587
2592
  * - `string`: The prototype name.
2588
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SpaceLocationID.html Online documentation}
2593
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SpaceLocationID.html Online documentation}
2589
2594
  */
2590
2595
  export type SpaceLocationID = LuaSpaceLocationPrototype | string
2591
2596
  /**
2592
2597
  * 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.
2593
2598
  * @see SignalFilterWrite
2594
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SignalFilter.html Online documentation}
2599
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SignalFilter.html Online documentation}
2595
2600
  */
2596
2601
  export type SignalFilter =
2597
2602
  | {
@@ -2615,7 +2620,7 @@ declare module "factorio:runtime" {
2615
2620
  | string
2616
2621
  /**
2617
2622
  * Write form of {@link SignalFilter}, where table-or-array concepts are allowed to take an array form.
2618
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SignalFilter.html Online documentation}
2623
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SignalFilter.html Online documentation}
2619
2624
  */
2620
2625
  export type SignalFilterWrite =
2621
2626
  | {
@@ -2639,7 +2644,7 @@ declare module "factorio:runtime" {
2639
2644
  | string
2640
2645
  /**
2641
2646
  * @see LogisticFilterWrite
2642
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LogisticFilter.html Online documentation}
2647
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LogisticFilter.html Online documentation}
2643
2648
  */
2644
2649
  export interface LogisticFilter {
2645
2650
  /**
@@ -2665,7 +2670,7 @@ declare module "factorio:runtime" {
2665
2670
  }
2666
2671
  /**
2667
2672
  * Write form of {@link LogisticFilter}, where table-or-array concepts are allowed to take an array form.
2668
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LogisticFilter.html Online documentation}
2673
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LogisticFilter.html Online documentation}
2669
2674
  */
2670
2675
  export interface LogisticFilterWrite {
2671
2676
  /**
@@ -2721,23 +2726,23 @@ declare module "factorio:runtime" {
2721
2726
  * ## Union members
2722
2727
  * - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
2723
2728
  * - `string`: The prototype name.
2724
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SurfacePropertyID.html Online documentation}
2729
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SurfacePropertyID.html Online documentation}
2725
2730
  */
2726
2731
  export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
2727
2732
  /**
2728
2733
  * When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
2729
2734
  * @see ScriptRenderTargetWrite
2730
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptRenderTarget.html Online documentation}
2735
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptRenderTarget.html Online documentation}
2731
2736
  */
2732
2737
  export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
2733
2738
  /**
2734
2739
  * Write form of {@link ScriptRenderTarget}, where table-or-array concepts are allowed to take an array form.
2735
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptRenderTarget.html Online documentation}
2740
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptRenderTarget.html Online documentation}
2736
2741
  */
2737
2742
  export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
2738
2743
  /**
2739
2744
  * @see ScriptRenderTargetTableWrite
2740
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptRenderTargetTable.html Online documentation}
2745
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptRenderTargetTable.html Online documentation}
2741
2746
  */
2742
2747
  export interface ScriptRenderTargetTable {
2743
2748
  readonly entity?: LuaEntity
@@ -2752,7 +2757,7 @@ declare module "factorio:runtime" {
2752
2757
  }
2753
2758
  /**
2754
2759
  * Write form of {@link ScriptRenderTargetTable}, where table-or-array concepts are allowed to take an array form.
2755
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptRenderTargetTable.html Online documentation}
2760
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptRenderTargetTable.html Online documentation}
2756
2761
  */
2757
2762
  export interface ScriptRenderTargetTableWrite {
2758
2763
  readonly entity?: LuaEntity
@@ -2767,7 +2772,7 @@ declare module "factorio:runtime" {
2767
2772
  }
2768
2773
  /**
2769
2774
  * An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
2770
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/QualityCondition.html Online documentation}
2775
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/QualityCondition.html Online documentation}
2771
2776
  */
2772
2777
  export type QualityCondition =
2773
2778
  | {
@@ -2786,13 +2791,13 @@ declare module "factorio:runtime" {
2786
2791
  * - `"center-to-center"`
2787
2792
  * - `"bounding-box-to-bounding-box"`
2788
2793
  * - `"center-to-bounding-box"`
2789
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RangeMode.html Online documentation}
2794
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RangeMode.html Online documentation}
2790
2795
  */
2791
2796
  export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
2792
2797
  /**
2793
2798
  * The representation of an entity inside of a blueprint. It has at least these fields, but can contain additional ones depending on the kind of entity.
2794
2799
  * @see BlueprintEntityWrite
2795
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintEntity.html Online documentation}
2800
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintEntity.html Online documentation}
2796
2801
  */
2797
2802
  export interface BlueprintEntity {
2798
2803
  /**
@@ -2978,7 +2983,7 @@ declare module "factorio:runtime" {
2978
2983
  }
2979
2984
  /**
2980
2985
  * Write form of {@link BlueprintEntity}, where table-or-array concepts are allowed to take an array form.
2981
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintEntity.html Online documentation}
2986
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintEntity.html Online documentation}
2982
2987
  */
2983
2988
  export interface BlueprintEntityWrite {
2984
2989
  /**
@@ -3102,7 +3107,7 @@ declare module "factorio:runtime" {
3102
3107
  * "2500 * (L - 3)"
3103
3108
  * @example
3104
3109
  * "(4e5 * (abs(speed) + 10.5)) / weight"
3105
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MathExpression.html Online documentation}
3110
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MathExpression.html Online documentation}
3106
3111
  */
3107
3112
  export type MathExpression = string
3108
3113
  /**
@@ -3124,7 +3129,7 @@ declare module "factorio:runtime" {
3124
3129
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
3125
3130
  * -- minimum amount of 1 and a maximum amount of 5
3126
3131
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
3127
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Product.html Online documentation}
3132
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Product.html Online documentation}
3128
3133
  */
3129
3134
  export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
3130
3135
  /**
@@ -3135,7 +3140,7 @@ declare module "factorio:runtime" {
3135
3140
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
3136
3141
  * -- minimum amount of 1 and a maximum amount of 5
3137
3142
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
3138
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemProduct.html Online documentation}
3143
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemProduct.html Online documentation}
3139
3144
  */
3140
3145
  export interface ItemProduct {
3141
3146
  readonly type: "item"
@@ -3179,7 +3184,7 @@ declare module "factorio:runtime" {
3179
3184
  * {{type="fluid", name="heavy-oil", amount=1},
3180
3185
  * {type="fluid", name="light-oil", amount=4.5},
3181
3186
  * {type="fluid", name="petroleum-gas", amount=5.5}}
3182
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/FluidProduct.html Online documentation}
3187
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/FluidProduct.html Online documentation}
3183
3188
  */
3184
3189
  export interface FluidProduct {
3185
3190
  readonly type: "fluid"
@@ -3252,7 +3257,7 @@ declare module "factorio:runtime" {
3252
3257
  }
3253
3258
  /**
3254
3259
  * Specifies how probability and richness are calculated when placing something on the map.
3255
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AutoplaceSpecification.html Online documentation}
3260
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AutoplaceSpecification.html Online documentation}
3256
3261
  */
3257
3262
  export interface AutoplaceSpecification {
3258
3263
  /**
@@ -3269,7 +3274,7 @@ declare module "factorio:runtime" {
3269
3274
  }
3270
3275
  /**
3271
3276
  * @see CliffPlacementSettingsWrite
3272
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CliffPlacementSettings.html Online documentation}
3277
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CliffPlacementSettings.html Online documentation}
3273
3278
  */
3274
3279
  export interface CliffPlacementSettings {
3275
3280
  /**
@@ -3299,7 +3304,7 @@ declare module "factorio:runtime" {
3299
3304
  }
3300
3305
  /**
3301
3306
  * Write form of {@link CliffPlacementSettings}, where table-or-array concepts are allowed to take an array form.
3302
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CliffPlacementSettings.html Online documentation}
3307
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CliffPlacementSettings.html Online documentation}
3303
3308
  */
3304
3309
  export interface CliffPlacementSettingsWrite {
3305
3310
  /**
@@ -3329,7 +3334,7 @@ declare module "factorio:runtime" {
3329
3334
  }
3330
3335
  /**
3331
3336
  * @see AutoplaceSettingsWrite
3332
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AutoplaceSettings.html Online documentation}
3337
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AutoplaceSettings.html Online documentation}
3333
3338
  */
3334
3339
  export interface AutoplaceSettings {
3335
3340
  /**
@@ -3343,7 +3348,7 @@ declare module "factorio:runtime" {
3343
3348
  }
3344
3349
  /**
3345
3350
  * Write form of {@link AutoplaceSettings}, where table-or-array concepts are allowed to take an array form.
3346
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AutoplaceSettings.html Online documentation}
3351
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AutoplaceSettings.html Online documentation}
3347
3352
  */
3348
3353
  export interface AutoplaceSettingsWrite {
3349
3354
  /**
@@ -3378,7 +3383,7 @@ declare module "factorio:runtime" {
3378
3383
  * surface.map_gen_settings = mgs
3379
3384
  * -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
3380
3385
  * -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
3381
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapGenSettings.html Online documentation}
3386
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapGenSettings.html Online documentation}
3382
3387
  */
3383
3388
  export interface MapGenSettings {
3384
3389
  /**
@@ -3433,7 +3438,7 @@ declare module "factorio:runtime" {
3433
3438
  }
3434
3439
  /**
3435
3440
  * Write form of {@link MapGenSettings}, where table-or-array concepts are allowed to take an array form.
3436
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapGenSettings.html Online documentation}
3441
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapGenSettings.html Online documentation}
3437
3442
  */
3438
3443
  export interface MapGenSettingsWrite {
3439
3444
  /**
@@ -3492,7 +3497,7 @@ declare module "factorio:runtime" {
3492
3497
  }
3493
3498
  /**
3494
3499
  * These values are for the time frame of one second (60 ticks).
3495
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PollutionMapSettings.html Online documentation}
3500
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PollutionMapSettings.html Online documentation}
3496
3501
  */
3497
3502
  export interface PollutionMapSettings {
3498
3503
  /**
@@ -3546,7 +3551,7 @@ declare module "factorio:runtime" {
3546
3551
  }
3547
3552
  /**
3548
3553
  * These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
3549
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EnemyEvolutionMapSettings.html Online documentation}
3554
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EnemyEvolutionMapSettings.html Online documentation}
3550
3555
  */
3551
3556
  export interface EnemyEvolutionMapSettings {
3552
3557
  /**
@@ -3584,7 +3589,7 @@ declare module "factorio:runtime" {
3584
3589
  * * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
3585
3590
  * score(chunk) = 1 / (1 + player + base)
3586
3591
  * ```
3587
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EnemyExpansionMapSettings.html Online documentation}
3592
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EnemyExpansionMapSettings.html Online documentation}
3588
3593
  */
3589
3594
  export interface EnemyExpansionMapSettings {
3590
3595
  /**
@@ -3843,17 +3848,17 @@ declare module "factorio:runtime" {
3843
3848
  }
3844
3849
  /**
3845
3850
  * Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
3846
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DifficultySettings.html Online documentation}
3851
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DifficultySettings.html Online documentation}
3847
3852
  */
3848
3853
  export interface DifficultySettings {
3849
3854
  /**
3850
3855
  * A value in range [0.001, 1000].
3851
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
3856
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
3852
3857
  */
3853
3858
  technology_price_multiplier: double
3854
3859
  /**
3855
3860
  * A value in range [0.01, 100].
3856
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
3861
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
3857
3862
  */
3858
3863
  spoil_time_modifier: double
3859
3864
  }
@@ -3869,7 +3874,7 @@ declare module "factorio:runtime" {
3869
3874
  }
3870
3875
  /**
3871
3876
  * A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
3872
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapAndDifficultySettings.html Online documentation}
3877
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapAndDifficultySettings.html Online documentation}
3873
3878
  */
3874
3879
  export interface MapAndDifficultySettings {
3875
3880
  readonly pollution: PollutionMapSettings
@@ -3890,7 +3895,7 @@ declare module "factorio:runtime" {
3890
3895
  * @example
3891
3896
  * -- Increase the number of short paths the pathfinder can cache.
3892
3897
  * game.map_settings.path_finder.short_cache_size = 15
3893
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapSettings.html Online documentation}
3898
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapSettings.html Online documentation}
3894
3899
  */
3895
3900
  export interface MapSettings {
3896
3901
  pollution: PollutionMapSettings
@@ -3902,13 +3907,13 @@ declare module "factorio:runtime" {
3902
3907
  asteroids: AsteroidMapSettings
3903
3908
  /**
3904
3909
  * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
3905
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
3910
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
3906
3911
  */
3907
3912
  max_failed_behavior_count: uint
3908
3913
  }
3909
3914
  /**
3910
3915
  * @see BlueprintScheduleRecordWrite
3911
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintScheduleRecord.html Online documentation}
3916
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintScheduleRecord.html Online documentation}
3912
3917
  */
3913
3918
  export interface BlueprintScheduleRecord {
3914
3919
  /**
@@ -3925,7 +3930,7 @@ declare module "factorio:runtime" {
3925
3930
  }
3926
3931
  /**
3927
3932
  * Write form of {@link BlueprintScheduleRecord}, where table-or-array concepts are allowed to take an array form.
3928
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintScheduleRecord.html Online documentation}
3933
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintScheduleRecord.html Online documentation}
3929
3934
  */
3930
3935
  export interface BlueprintScheduleRecordWrite {
3931
3936
  /**
@@ -3942,7 +3947,7 @@ declare module "factorio:runtime" {
3942
3947
  }
3943
3948
  /**
3944
3949
  * @see BlueprintScheduleInterruptWrite
3945
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintScheduleInterrupt.html Online documentation}
3950
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintScheduleInterrupt.html Online documentation}
3946
3951
  */
3947
3952
  export interface BlueprintScheduleInterrupt {
3948
3953
  readonly name?: string
@@ -3952,7 +3957,7 @@ declare module "factorio:runtime" {
3952
3957
  }
3953
3958
  /**
3954
3959
  * Write form of {@link BlueprintScheduleInterrupt}, where table-or-array concepts are allowed to take an array form.
3955
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintScheduleInterrupt.html Online documentation}
3960
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintScheduleInterrupt.html Online documentation}
3956
3961
  */
3957
3962
  export interface BlueprintScheduleInterruptWrite {
3958
3963
  readonly name?: string
@@ -3962,7 +3967,7 @@ declare module "factorio:runtime" {
3962
3967
  }
3963
3968
  /**
3964
3969
  * @see BlueprintScheduleWrite
3965
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintSchedule.html Online documentation}
3970
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintSchedule.html Online documentation}
3966
3971
  */
3967
3972
  export interface BlueprintSchedule {
3968
3973
  readonly records?: BlueprintScheduleRecord[]
@@ -3971,7 +3976,7 @@ declare module "factorio:runtime" {
3971
3976
  }
3972
3977
  /**
3973
3978
  * Write form of {@link BlueprintSchedule}, where table-or-array concepts are allowed to take an array form.
3974
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintSchedule.html Online documentation}
3979
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintSchedule.html Online documentation}
3975
3980
  */
3976
3981
  export interface BlueprintScheduleWrite {
3977
3982
  readonly records?: readonly BlueprintScheduleRecordWrite[]
@@ -3980,7 +3985,7 @@ declare module "factorio:runtime" {
3980
3985
  }
3981
3986
  /**
3982
3987
  * @see WaitConditionWrite
3983
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/WaitCondition.html Online documentation}
3988
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/WaitCondition.html Online documentation}
3984
3989
  */
3985
3990
  export interface WaitCondition {
3986
3991
  readonly type: WaitConditionType
@@ -4011,7 +4016,7 @@ declare module "factorio:runtime" {
4011
4016
  }
4012
4017
  /**
4013
4018
  * Write form of {@link WaitCondition}, where table-or-array concepts are allowed to take an array form.
4014
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/WaitCondition.html Online documentation}
4019
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/WaitCondition.html Online documentation}
4015
4020
  */
4016
4021
  export interface WaitConditionWrite {
4017
4022
  readonly type: WaitConditionType
@@ -4070,7 +4075,7 @@ declare module "factorio:runtime" {
4070
4075
  * - `"at_station"`
4071
4076
  * - `"not_at_station"`
4072
4077
  * - `"damage_taken"`
4073
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/WaitConditionType.html Online documentation}
4078
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/WaitConditionType.html Online documentation}
4074
4079
  */
4075
4080
  export type WaitConditionType =
4076
4081
  | "time"
@@ -4112,7 +4117,7 @@ declare module "factorio:runtime" {
4112
4117
  * - `"blueprint-snap-rectangle"`: Green by default.
4113
4118
  * - `"spidertron-remote-selected"`
4114
4119
  * - `"spidertron-remote-to-be-selected"`
4115
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CursorBoxRenderType.html Online documentation}
4120
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CursorBoxRenderType.html Online documentation}
4116
4121
  */
4117
4122
  export type CursorBoxRenderType =
4118
4123
  | "entity"
@@ -4128,7 +4133,7 @@ declare module "factorio:runtime" {
4128
4133
  | "spidertron-remote-to-be-selected"
4129
4134
  /**
4130
4135
  * What is shown in the map view. If a field is not given, that setting will not be changed.
4131
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapViewSettings.html Online documentation}
4136
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapViewSettings.html Online documentation}
4132
4137
  */
4133
4138
  export interface MapViewSettings {
4134
4139
  readonly "show-logistic-network"?: boolean
@@ -4221,7 +4226,7 @@ declare module "factorio:runtime" {
4221
4226
  * - `"collision-selection-box"`: 189
4222
4227
  * - `"arrow"`: 190
4223
4228
  * - `"cursor"`: 226
4224
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RenderLayer.html Online documentation}
4229
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RenderLayer.html Online documentation}
4225
4230
  */
4226
4231
  export type RenderLayer =
4227
4232
  | `${bigint}`
@@ -4317,7 +4322,7 @@ declare module "factorio:runtime" {
4317
4322
  * - `"entity-with-quality"`
4318
4323
  * - `"recipe-with-quality"`
4319
4324
  * - `"equipment-with-quality"`
4320
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ElemType.html Online documentation}
4325
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ElemType.html Online documentation}
4321
4326
  */
4322
4327
  export type ElemType =
4323
4328
  | "achievement"
@@ -4344,7 +4349,7 @@ declare module "factorio:runtime" {
4344
4349
  * - `"left"`
4345
4350
  * - `"right"`
4346
4351
  * - `"none"`
4347
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SwitchState.html Online documentation}
4352
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SwitchState.html Online documentation}
4348
4353
  */
4349
4354
  export type SwitchState = "left" | "right" | "none"
4350
4355
  export interface ElemID {
@@ -4384,7 +4389,7 @@ declare module "factorio:runtime" {
4384
4389
  * - `"destroy-decoratives"`
4385
4390
  * - `"camera-effect"`
4386
4391
  * - `"activate-impact"`
4387
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TriggerEffectItemType.html Online documentation}
4392
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TriggerEffectItemType.html Online documentation}
4388
4393
  */
4389
4394
  export type TriggerEffectItemType =
4390
4395
  | "damage"
@@ -4420,7 +4425,7 @@ declare module "factorio:runtime" {
4420
4425
  }
4421
4426
  /**
4422
4427
  * A set of trigger target masks.
4423
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TriggerTargetMask.html Online documentation}
4428
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TriggerTargetMask.html Online documentation}
4424
4429
  */
4425
4430
  export type TriggerTargetMask = Record<string, true>
4426
4431
  export interface TriggerItem {
@@ -4487,7 +4492,7 @@ declare module "factorio:runtime" {
4487
4492
  * -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
4488
4493
  * -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
4489
4494
  * -- translation result would be "Unknown key: 'item-description.furnace'".
4490
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LocalisedString.html Online documentation}
4495
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LocalisedString.html Online documentation}
4491
4496
  */
4492
4497
  export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
4493
4498
  export interface DisplayResolution {
@@ -4498,7 +4503,7 @@ declare module "factorio:runtime" {
4498
4503
  * The smooth orientation. It is a {@link float} in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise. This means a value of `0` indicates "north", a value of `0.5` indicates "south".
4499
4504
  *
4500
4505
  * For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
4501
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RealOrientation.html Online documentation}
4506
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RealOrientation.html Online documentation}
4502
4507
  */
4503
4508
  export type RealOrientation = float
4504
4509
  /**
@@ -4513,7 +4518,7 @@ declare module "factorio:runtime" {
4513
4518
  * @example
4514
4519
  * -- Shorthand
4515
4520
  * {1.625, 2.375}
4516
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapPosition.html Online documentation}
4521
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapPosition.html Online documentation}
4517
4522
  */
4518
4523
  export interface MapPosition {
4519
4524
  readonly x: double
@@ -4522,13 +4527,13 @@ declare module "factorio:runtime" {
4522
4527
  /**
4523
4528
  * Array form of {@link MapPosition}.
4524
4529
  * @see MapPosition
4525
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapPosition.html Online documentation}
4530
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapPosition.html Online documentation}
4526
4531
  */
4527
4532
  export type MapPositionArray = readonly [double, double]
4528
4533
  /**
4529
4534
  * Coordinates of a chunk in a {@link LuaSurface} where each integer `x`/`y` represents a different chunk. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys. A {@link MapPosition} can be translated to a ChunkPosition by dividing the `x`/`y` values by 32.
4530
4535
  * @see ChunkPositionArray
4531
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ChunkPosition.html Online documentation}
4536
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ChunkPosition.html Online documentation}
4532
4537
  */
4533
4538
  export interface ChunkPosition {
4534
4539
  readonly x: int
@@ -4537,13 +4542,13 @@ declare module "factorio:runtime" {
4537
4542
  /**
4538
4543
  * Array form of {@link ChunkPosition}.
4539
4544
  * @see ChunkPosition
4540
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ChunkPosition.html Online documentation}
4545
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ChunkPosition.html Online documentation}
4541
4546
  */
4542
4547
  export type ChunkPositionArray = readonly [int, int]
4543
4548
  /**
4544
4549
  * Coordinates of a tile on a {@link LuaSurface} where each integer `x`/`y` represents a different tile. This uses the same format as {@link MapPosition}, except it rounds any non-integer `x`/`y` down to whole numbers. It can be specified either with or without explicit keys.
4545
4550
  * @see TilePositionArray
4546
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TilePosition.html Online documentation}
4551
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TilePosition.html Online documentation}
4547
4552
  */
4548
4553
  export interface TilePosition {
4549
4554
  readonly x: int
@@ -4552,7 +4557,7 @@ declare module "factorio:runtime" {
4552
4557
  /**
4553
4558
  * Array form of {@link TilePosition}.
4554
4559
  * @see TilePosition
4555
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TilePosition.html Online documentation}
4560
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TilePosition.html Online documentation}
4556
4561
  */
4557
4562
  export type TilePositionArray = readonly [int, int]
4558
4563
  /**
@@ -4565,7 +4570,7 @@ declare module "factorio:runtime" {
4565
4570
  * @example
4566
4571
  * -- Shorthand
4567
4572
  * {1, 2}
4568
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentPosition.html Online documentation}
4573
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentPosition.html Online documentation}
4569
4574
  */
4570
4575
  export interface EquipmentPosition {
4571
4576
  readonly x: int
@@ -4574,13 +4579,13 @@ declare module "factorio:runtime" {
4574
4579
  /**
4575
4580
  * Array form of {@link EquipmentPosition}.
4576
4581
  * @see EquipmentPosition
4577
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentPosition.html Online documentation}
4582
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentPosition.html Online documentation}
4578
4583
  */
4579
4584
  export type EquipmentPositionArray = readonly [int, int]
4580
4585
  /**
4581
4586
  * Screen coordinates of a GUI element in a {@link LuaGui}. This uses the same format as {@link TilePosition}, meaning it can be specified either with or without explicit keys.
4582
4587
  * @see GuiLocationArray
4583
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GuiLocation.html Online documentation}
4588
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GuiLocation.html Online documentation}
4584
4589
  */
4585
4590
  export interface GuiLocation {
4586
4591
  readonly x: int
@@ -4589,12 +4594,12 @@ declare module "factorio:runtime" {
4589
4594
  /**
4590
4595
  * Array form of {@link GuiLocation}.
4591
4596
  * @see GuiLocation
4592
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GuiLocation.html Online documentation}
4597
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GuiLocation.html Online documentation}
4593
4598
  */
4594
4599
  export type GuiLocationArray = readonly [int, int]
4595
4600
  /**
4596
4601
  * A {@link ChunkPosition} with an added bounding box for the area of the chunk.
4597
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ChunkPositionAndArea.html Online documentation}
4602
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ChunkPositionAndArea.html Online documentation}
4598
4603
  */
4599
4604
  export interface ChunkPositionAndArea {
4600
4605
  readonly x: int
@@ -4603,7 +4608,7 @@ declare module "factorio:runtime" {
4603
4608
  }
4604
4609
  /**
4605
4610
  * A table used to define a manual shape for a piece of equipment.
4606
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentPoint.html Online documentation}
4611
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentPoint.html Online documentation}
4607
4612
  */
4608
4613
  export interface EquipmentPoint {
4609
4614
  readonly x: uint
@@ -4639,7 +4644,7 @@ declare module "factorio:runtime" {
4639
4644
  * Note that the API returns tags as a simple table, meaning any modifications to it will not propagate back to the game. Thus, to modify a set of tags, the whole table needs to be written back to the respective property.
4640
4645
  * @example
4641
4646
  * {a = 1, b = true, c = "three", d = {e = "f"}}
4642
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Tags.html Online documentation}
4647
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Tags.html Online documentation}
4643
4648
  */
4644
4649
  export type Tags = Record<string, AnyBasic>
4645
4650
  export interface SurfaceCondition {
@@ -4673,13 +4678,13 @@ declare module "factorio:runtime" {
4673
4678
  * A vector is a two-element array or dictionary containing the `x` and `y` components. The game will always provide the array format. Positive x goes east, positive y goes south.
4674
4679
  * @example
4675
4680
  * right = {1.0, 0.0}
4676
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Vector.html Online documentation}
4681
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Vector.html Online documentation}
4677
4682
  */
4678
4683
  export type Vector = MapPositionArray
4679
4684
  /**
4680
4685
  * An area defined using the map editor.
4681
4686
  * @see ScriptAreaWrite
4682
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptArea.html Online documentation}
4687
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptArea.html Online documentation}
4683
4688
  */
4684
4689
  export interface ScriptArea {
4685
4690
  readonly area: BoundingBox
@@ -4689,7 +4694,7 @@ declare module "factorio:runtime" {
4689
4694
  }
4690
4695
  /**
4691
4696
  * Write form of {@link ScriptArea}, where table-or-array concepts are allowed to take an array form.
4692
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptArea.html Online documentation}
4697
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptArea.html Online documentation}
4693
4698
  */
4694
4699
  export interface ScriptAreaWrite {
4695
4700
  readonly area: BoundingBoxWrite | BoundingBoxArray
@@ -4700,7 +4705,7 @@ declare module "factorio:runtime" {
4700
4705
  /**
4701
4706
  * A position defined using the map editor.
4702
4707
  * @see ScriptPositionWrite
4703
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptPosition.html Online documentation}
4708
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptPosition.html Online documentation}
4704
4709
  */
4705
4710
  export interface ScriptPosition {
4706
4711
  readonly position: MapPosition
@@ -4710,7 +4715,7 @@ declare module "factorio:runtime" {
4710
4715
  }
4711
4716
  /**
4712
4717
  * Write form of {@link ScriptPosition}, where table-or-array concepts are allowed to take an array form.
4713
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScriptPosition.html Online documentation}
4718
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScriptPosition.html Online documentation}
4714
4719
  */
4715
4720
  export interface ScriptPositionWrite {
4716
4721
  readonly position: MapPosition | MapPositionArray
@@ -4728,7 +4733,7 @@ declare module "factorio:runtime" {
4728
4733
  * red2 = {r = 0.5, a = 0.5} -- Same color as red1
4729
4734
  * black = {} -- All channels omitted: black
4730
4735
  * red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
4731
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Color.html Online documentation}
4736
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Color.html Online documentation}
4732
4737
  */
4733
4738
  export interface Color {
4734
4739
  readonly r?: float
@@ -4739,13 +4744,13 @@ declare module "factorio:runtime" {
4739
4744
  /**
4740
4745
  * Array form of {@link Color}.
4741
4746
  * @see Color
4742
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Color.html Online documentation}
4747
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Color.html Online documentation}
4743
4748
  */
4744
4749
  export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
4745
4750
  /**
4746
4751
  * Same as {@link Color}, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].
4747
4752
  * @see ColorModifierArray
4748
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ColorModifier.html Online documentation}
4753
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ColorModifier.html Online documentation}
4749
4754
  */
4750
4755
  export interface ColorModifier {
4751
4756
  readonly r?: float
@@ -4756,7 +4761,7 @@ declare module "factorio:runtime" {
4756
4761
  /**
4757
4762
  * Array form of {@link ColorModifier}.
4758
4763
  * @see ColorModifier
4759
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ColorModifier.html Online documentation}
4764
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ColorModifier.html Online documentation}
4760
4765
  */
4761
4766
  export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
4762
4767
  export interface CraftingQueueItem {
@@ -4899,7 +4904,7 @@ declare module "factorio:runtime" {
4899
4904
  }
4900
4905
  /**
4901
4906
  * @see AsteroidChunkWrite
4902
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AsteroidChunk.html Online documentation}
4907
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AsteroidChunk.html Online documentation}
4903
4908
  */
4904
4909
  export interface AsteroidChunk {
4905
4910
  /**
@@ -4911,7 +4916,7 @@ declare module "factorio:runtime" {
4911
4916
  }
4912
4917
  /**
4913
4918
  * Write form of {@link AsteroidChunk}, where table-or-array concepts are allowed to take an array form.
4914
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AsteroidChunk.html Online documentation}
4919
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AsteroidChunk.html Online documentation}
4915
4920
  */
4916
4921
  export interface AsteroidChunkWrite {
4917
4922
  /**
@@ -4933,7 +4938,7 @@ declare module "factorio:runtime" {
4933
4938
  }
4934
4939
  /**
4935
4940
  * Either `icon`, `text`, or both must be provided.
4936
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ChartTagSpec.html Online documentation}
4941
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ChartTagSpec.html Online documentation}
4937
4942
  */
4938
4943
  export interface ChartTagSpec {
4939
4944
  readonly position: MapPosition | MapPositionArray
@@ -4943,88 +4948,88 @@ declare module "factorio:runtime" {
4943
4948
  }
4944
4949
  /**
4945
4950
  * Parameters that affect the look and control of the game. Updating any of the member attributes here will immediately take effect in the game engine.
4946
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.html Online documentation}
4951
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.html Online documentation}
4947
4952
  */
4948
4953
  export interface GameViewSettings {
4949
4954
  /**
4950
4955
  * Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
4951
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_controller_gui.html Online documentation}
4956
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_controller_gui.html Online documentation}
4952
4957
  */
4953
4958
  show_controller_gui: boolean
4954
4959
  /**
4955
4960
  * Show the chart in the upper right-hand corner of the screen.
4956
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_minimap.html Online documentation}
4961
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_minimap.html Online documentation}
4957
4962
  */
4958
4963
  show_minimap: boolean
4959
4964
  /**
4960
4965
  * Show research progress and name in the upper right-hand corner of the screen.
4961
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_research_info.html Online documentation}
4966
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_research_info.html Online documentation}
4962
4967
  */
4963
4968
  show_research_info: boolean
4964
4969
  /**
4965
4970
  * Show overlay icons on entities. Also known as "alt-mode".
4966
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_entity_info.html Online documentation}
4971
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_entity_info.html Online documentation}
4967
4972
  */
4968
4973
  show_entity_info: boolean
4969
4974
  /**
4970
4975
  * Show the flashing alert icons next to the player's toolbar.
4971
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_alert_gui.html Online documentation}
4976
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_alert_gui.html Online documentation}
4972
4977
  */
4973
4978
  show_alert_gui: boolean
4974
4979
  /**
4975
4980
  * When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
4976
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.update_entity_selection.html Online documentation}
4981
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.update_entity_selection.html Online documentation}
4977
4982
  */
4978
4983
  update_entity_selection: boolean
4979
4984
  /**
4980
4985
  * When `true` (`false` is default), the rails will always show the rail block visualisation.
4981
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
4986
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
4982
4987
  */
4983
4988
  show_rail_block_visualisation: boolean
4984
4989
  /**
4985
4990
  * Shows or hides the buttons row.
4986
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_side_menu.html Online documentation}
4991
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_side_menu.html Online documentation}
4987
4992
  */
4988
4993
  show_side_menu: boolean
4989
4994
  /**
4990
4995
  * Shows or hides the view options when map is opened.
4991
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_map_view_options.html Online documentation}
4996
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_map_view_options.html Online documentation}
4992
4997
  */
4993
4998
  show_map_view_options: boolean
4994
4999
  /**
4995
5000
  * Shows or hides the tooltip that is displayed when selecting an entity.
4996
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
5001
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
4997
5002
  */
4998
5003
  show_entity_tooltip: boolean
4999
5004
  /**
5000
5005
  * Shows or hides quickbar of shortcuts.
5001
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_quickbar.html Online documentation}
5006
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_quickbar.html Online documentation}
5002
5007
  */
5003
5008
  show_quickbar: boolean
5004
5009
  /**
5005
5010
  * Shows or hides the shortcut bar.
5006
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
5011
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
5007
5012
  */
5008
5013
  show_shortcut_bar: boolean
5009
5014
  /**
5010
5015
  * Shows or hides the crafting queue.
5011
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
5016
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
5012
5017
  */
5013
5018
  show_crafting_queue: boolean
5014
5019
  /**
5015
5020
  * Shows or hides the tool window with the weapons and armor.
5016
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_tool_bar.html Online documentation}
5021
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_tool_bar.html Online documentation}
5017
5022
  */
5018
5023
  show_tool_bar: boolean
5019
5024
  /**
5020
5025
  * hows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
5021
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
5026
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
5022
5027
  */
5023
5028
  show_hotkey_suggestions: boolean
5024
5029
  }
5025
5030
  /**
5026
5031
  * The data that can be extracted from a map exchange string, as a plain table.
5027
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapExchangeStringData.html Online documentation}
5032
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapExchangeStringData.html Online documentation}
5028
5033
  */
5029
5034
  export interface MapExchangeStringData {
5030
5035
  readonly map_settings: MapAndDifficultySettings
@@ -5057,12 +5062,12 @@ declare module "factorio:runtime" {
5057
5062
  * - `target_entity_number`
5058
5063
  *
5059
5064
  * - `target_wire_connector_id`
5060
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/BlueprintWire.html Online documentation}
5065
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/BlueprintWire.html Online documentation}
5061
5066
  */
5062
5067
  export type BlueprintWire = readonly [uint, defines.wire_connector_id, uint, defines.wire_connector_id]
5063
5068
  /**
5064
5069
  * @see TileWrite
5065
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Tile.html Online documentation}
5070
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Tile.html Online documentation}
5066
5071
  */
5067
5072
  export interface Tile {
5068
5073
  /**
@@ -5076,7 +5081,7 @@ declare module "factorio:runtime" {
5076
5081
  }
5077
5082
  /**
5078
5083
  * Write form of {@link Tile}, where table-or-array concepts are allowed to take an array form.
5079
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Tile.html Online documentation}
5084
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Tile.html Online documentation}
5080
5085
  */
5081
5086
  export interface TileWrite {
5082
5087
  /**
@@ -5131,7 +5136,7 @@ declare module "factorio:runtime" {
5131
5136
  *
5132
5137
  * Other attributes may be specified depending on `type`:
5133
5138
  * - `"fluid"`: {@link FluidIngredient}
5134
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Ingredient.html Online documentation}
5139
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Ingredient.html Online documentation}
5135
5140
  */
5136
5141
  export type Ingredient = FluidIngredient | OtherIngredient
5137
5142
  export interface Loot {
@@ -5297,7 +5302,7 @@ declare module "factorio:runtime" {
5297
5302
  * - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
5298
5303
  * - `"nothing"`: {@link NothingTechnologyModifier}
5299
5304
  * - Other types: {@link OtherTechnologyModifier}
5300
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TechnologyModifier.html Online documentation}
5305
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TechnologyModifier.html Online documentation}
5301
5306
  */
5302
5307
  export type TechnologyModifier =
5303
5308
  | GunSpeedTechnologyModifier
@@ -5309,7 +5314,7 @@ declare module "factorio:runtime" {
5309
5314
  | OtherTechnologyModifier
5310
5315
  /**
5311
5316
  * A fragment of a functional program used to generate coherent noise, probably for purposes related to terrain generation. These can only be meaningfully written/modified during the data load phase. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
5312
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/NoiseExpression.html Online documentation}
5317
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/NoiseExpression.html Online documentation}
5313
5318
  */
5314
5319
  export interface NoiseExpression {
5315
5320
  /**
@@ -5362,7 +5367,7 @@ declare module "factorio:runtime" {
5362
5367
  * - `"very-high"`: equivalent to `2`.
5363
5368
  * - `"very-big"`: equivalent to `2`.
5364
5369
  * - `"very-good"`: equivalent to `2`.
5365
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MapGenSize.html Online documentation}
5370
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MapGenSize.html Online documentation}
5366
5371
  */
5367
5372
  export type MapGenSize =
5368
5373
  | float
@@ -5384,7 +5389,7 @@ declare module "factorio:runtime" {
5384
5389
  | "very-good"
5385
5390
  /**
5386
5391
  * @see AutoplaceControlWrite
5387
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AutoplaceControl.html Online documentation}
5392
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AutoplaceControl.html Online documentation}
5388
5393
  */
5389
5394
  export interface AutoplaceControl {
5390
5395
  /**
@@ -5402,7 +5407,7 @@ declare module "factorio:runtime" {
5402
5407
  }
5403
5408
  /**
5404
5409
  * Write form of {@link AutoplaceControl}, where table-or-array concepts are allowed to take an array form.
5405
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AutoplaceControl.html Online documentation}
5410
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AutoplaceControl.html Online documentation}
5406
5411
  */
5407
5412
  export interface AutoplaceControlWrite {
5408
5413
  /**
@@ -5421,10 +5426,10 @@ declare module "factorio:runtime" {
5421
5426
  /**
5422
5427
  * All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. The probability and richness functions for placing specific tiles, entities, and decoratives can be overridden by including an entry named `{tile|entity|decorative}:(prototype name):{probability|richness}`.
5423
5428
  *
5424
- * {@link https://lua-api.factorio.com/2.0.12/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:}
5429
+ * {@link https://lua-api.factorio.com/2.0.16/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:}
5425
5430
  *
5426
- * {@link https://lua-api.factorio.com/2.0.12/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:}
5427
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PropertyExpressionNames.html Online documentation}
5431
+ * {@link https://lua-api.factorio.com/2.0.16/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:}
5432
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PropertyExpressionNames.html Online documentation}
5428
5433
  */
5429
5434
  export type PropertyExpressionNames = Record<string, string>
5430
5435
  export interface AdvancedMapGenSettings {
@@ -5457,7 +5462,7 @@ declare module "factorio:runtime" {
5457
5462
  }
5458
5463
  /**
5459
5464
  * An actual signal transmitted by the network.
5460
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Signal.html Online documentation}
5465
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Signal.html Online documentation}
5461
5466
  */
5462
5467
  export interface Signal {
5463
5468
  /**
@@ -5471,7 +5476,7 @@ declare module "factorio:runtime" {
5471
5476
  }
5472
5477
  /**
5473
5478
  * @see UpgradeMapperSourceWrite
5474
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/UpgradeMapperSource.html Online documentation}
5479
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/UpgradeMapperSource.html Online documentation}
5475
5480
  */
5476
5481
  export interface UpgradeMapperSource {
5477
5482
  readonly type: "item" | "entity"
@@ -5490,7 +5495,7 @@ declare module "factorio:runtime" {
5490
5495
  }
5491
5496
  /**
5492
5497
  * Write form of {@link UpgradeMapperSource}, where table-or-array concepts are allowed to take an array form.
5493
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/UpgradeMapperSource.html Online documentation}
5498
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/UpgradeMapperSource.html Online documentation}
5494
5499
  */
5495
5500
  export interface UpgradeMapperSourceWrite {
5496
5501
  readonly type: "item" | "entity"
@@ -5527,7 +5532,7 @@ declare module "factorio:runtime" {
5527
5532
  }
5528
5533
  /**
5529
5534
  * A single filter used by an infinity-filters instance.
5530
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/InfinityInventoryFilter.html Online documentation}
5535
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/InfinityInventoryFilter.html Online documentation}
5531
5536
  */
5532
5537
  export interface InfinityInventoryFilter {
5533
5538
  /**
@@ -5549,7 +5554,7 @@ declare module "factorio:runtime" {
5549
5554
  }
5550
5555
  /**
5551
5556
  * A single filter used by an infinity-pipe type entity.
5552
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/InfinityPipeFilter.html Online documentation}
5557
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/InfinityPipeFilter.html Online documentation}
5553
5558
  */
5554
5559
  export interface InfinityPipeFilter {
5555
5560
  /**
@@ -5603,7 +5608,7 @@ declare module "factorio:runtime" {
5603
5608
  }
5604
5609
  /**
5605
5610
  * The settings used by a heat-interface type entity.
5606
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/HeatSetting.html Online documentation}
5611
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/HeatSetting.html Online documentation}
5607
5612
  */
5608
5613
  export interface HeatSetting {
5609
5614
  /**
@@ -5685,7 +5690,7 @@ declare module "factorio:runtime" {
5685
5690
  }
5686
5691
  /**
5687
5692
  * @see CircuitConditionWrite
5688
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CircuitCondition.html Online documentation}
5693
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CircuitCondition.html Online documentation}
5689
5694
  */
5690
5695
  export interface CircuitCondition {
5691
5696
  /**
@@ -5707,7 +5712,7 @@ declare module "factorio:runtime" {
5707
5712
  }
5708
5713
  /**
5709
5714
  * Write form of {@link CircuitCondition}, where table-or-array concepts are allowed to take an array form.
5710
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CircuitCondition.html Online documentation}
5715
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CircuitCondition.html Online documentation}
5711
5716
  */
5712
5717
  export interface CircuitConditionWrite {
5713
5718
  /**
@@ -5729,7 +5734,7 @@ declare module "factorio:runtime" {
5729
5734
  }
5730
5735
  /**
5731
5736
  * @see CircuitConditionDefinitionWrite
5732
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CircuitConditionDefinition.html Online documentation}
5737
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CircuitConditionDefinition.html Online documentation}
5733
5738
  */
5734
5739
  export interface CircuitConditionDefinition {
5735
5740
  /**
@@ -5743,7 +5748,7 @@ declare module "factorio:runtime" {
5743
5748
  }
5744
5749
  /**
5745
5750
  * Write form of {@link CircuitConditionDefinition}, where table-or-array concepts are allowed to take an array form.
5746
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CircuitConditionDefinition.html Online documentation}
5751
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CircuitConditionDefinition.html Online documentation}
5747
5752
  */
5748
5753
  export interface CircuitConditionDefinitionWrite {
5749
5754
  /**
@@ -6032,7 +6037,7 @@ declare module "factorio:runtime" {
6032
6037
  * - {@link defines.command.stop}: {@link StopCommand}
6033
6038
  * - {@link defines.command.flee}: {@link FleeCommand}
6034
6039
  * - {@link defines.command.build_base}: {@link BuildBaseCommand}
6035
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Command.html Online documentation}
6040
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Command.html Online documentation}
6036
6041
  */
6037
6042
  export type Command =
6038
6043
  | AttackCommand
@@ -6046,7 +6051,7 @@ declare module "factorio:runtime" {
6046
6051
  | BuildBaseCommand
6047
6052
  /**
6048
6053
  * Write form of {@link Command}, where table-or-array concepts are allowed to take an array form.
6049
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Command.html Online documentation}
6054
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Command.html Online documentation}
6050
6055
  */
6051
6056
  export type CommandWrite =
6052
6057
  | AttackCommand
@@ -6131,7 +6136,7 @@ declare module "factorio:runtime" {
6131
6136
  * These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
6132
6137
  * "iron-plate"
6133
6138
  * {name="iron-plate", count=100}
6134
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SimpleItemStack.html Online documentation}
6139
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SimpleItemStack.html Online documentation}
6135
6140
  */
6136
6141
  export type SimpleItemStack = string | ItemStackDefinition
6137
6142
  /**
@@ -6141,7 +6146,7 @@ declare module "factorio:runtime" {
6141
6146
  * - SurfaceIndex: It will be the index of the surface. `nauvis` has index `1`, the first surface-created surface will have index `2` and so on.
6142
6147
  * - `string`: It will be the surface name. E.g. `"nauvis"`.
6143
6148
  * - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
6144
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SurfaceIdentification.html Online documentation}
6149
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SurfaceIdentification.html Online documentation}
6145
6150
  */
6146
6151
  export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
6147
6152
  /**
@@ -6151,7 +6156,7 @@ declare module "factorio:runtime" {
6151
6156
  * - PlayerIndex: The player index.
6152
6157
  * - `string`: The player name.
6153
6158
  * - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
6154
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/PlayerIdentification.html Online documentation}
6159
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/PlayerIdentification.html Online documentation}
6155
6160
  */
6156
6161
  export type PlayerIdentification = PlayerIndex | string | LuaPlayer
6157
6162
  /**
@@ -6160,7 +6165,7 @@ declare module "factorio:runtime" {
6160
6165
  * ## Union members
6161
6166
  * - {@link SimpleItemStack}
6162
6167
  * - {@link LuaItemStack}
6163
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemStackIdentification.html Online documentation}
6168
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemStackIdentification.html Online documentation}
6164
6169
  */
6165
6170
  export type ItemStackIdentification = SimpleItemStack | LuaItemStack
6166
6171
  /**
@@ -6170,7 +6175,7 @@ declare module "factorio:runtime" {
6170
6175
  * - `"entity"`: Fires at an entity.
6171
6176
  * - `"position"`: Fires directly at a position.
6172
6177
  * - `"direction"`: Fires in a direction.
6173
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TargetType.html Online documentation}
6178
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TargetType.html Online documentation}
6174
6179
  */
6175
6180
  export type TargetType = "entity" | "position" | "direction"
6176
6181
  export interface BeamTarget {
@@ -6207,8 +6212,8 @@ declare module "factorio:runtime" {
6207
6212
  *
6208
6213
  * The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
6209
6214
  *
6210
- * {@link https://lua-api.factorio.com/2.0.12/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
6211
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SoundPath.html Online documentation}
6215
+ * {@link https://lua-api.factorio.com/2.0.16/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
6216
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SoundPath.html Online documentation}
6212
6217
  */
6213
6218
  export type SoundPath =
6214
6219
  | (string & {
@@ -6344,7 +6349,7 @@ declare module "factorio:runtime" {
6344
6349
  * Other attributes may be specified depending on `type`:
6345
6350
  * - `"projectile"`: {@link ProjectileAttackParameters}
6346
6351
  * - `"stream"`: {@link StreamAttackParameters}
6347
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AttackParameters.html Online documentation}
6352
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AttackParameters.html Online documentation}
6348
6353
  */
6349
6354
  export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
6350
6355
  export interface GunShift4Way {
@@ -6410,7 +6415,7 @@ declare module "factorio:runtime" {
6410
6415
  * - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
6411
6416
  * - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
6412
6417
  * - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
6413
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/CapsuleAction.html Online documentation}
6418
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/CapsuleAction.html Online documentation}
6414
6419
  */
6415
6420
  export type CapsuleAction =
6416
6421
  | ThrowCapsuleAction
@@ -6450,12 +6455,12 @@ declare module "factorio:runtime" {
6450
6455
  }
6451
6456
  /**
6452
6457
  * Any basic type (string, number, boolean) or table.
6453
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AnyBasic.html Online documentation}
6458
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AnyBasic.html Online documentation}
6454
6459
  */
6455
6460
  export type AnyBasic = string | boolean | number | table
6456
6461
  /**
6457
6462
  * Any basic type (string, number, boolean), table, or LuaObject.
6458
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Any.html Online documentation}
6463
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Any.html Online documentation}
6459
6464
  */
6460
6465
  export type Any = string | boolean | number | table | LuaObject
6461
6466
  export interface ProgrammableSpeakerParameters {
@@ -6493,7 +6498,7 @@ declare module "factorio:runtime" {
6493
6498
  * - `"top-right"`
6494
6499
  * - `"right"`: The same as `"middle-right"`
6495
6500
  * - `"bottom-right"`
6496
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/Alignment.html Online documentation}
6501
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/Alignment.html Online documentation}
6497
6502
  */
6498
6503
  export type Alignment =
6499
6504
  | "top-left"
@@ -6508,8 +6513,8 @@ declare module "factorio:runtime" {
6508
6513
  | "right"
6509
6514
  | "bottom-right"
6510
6515
  /**
6511
- * Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.12/events.html the list of Factorio events} for more information on these.
6512
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EventData.html Online documentation}
6516
+ * Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.16/events.html the list of Factorio events} for more information on these.
6517
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EventData.html Online documentation}
6513
6518
  */
6514
6519
  export interface EventData {
6515
6520
  /**
@@ -6614,7 +6619,7 @@ declare module "factorio:runtime" {
6614
6619
  * - `"button-7"`
6615
6620
  * - `"button-8"`
6616
6621
  * - `"button-9"`
6617
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/MouseButtonFlags.html Online documentation}
6622
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/MouseButtonFlags.html Online documentation}
6618
6623
  */
6619
6624
  export interface MouseButtonFlags {
6620
6625
  readonly left?: true
@@ -6638,7 +6643,7 @@ declare module "factorio:runtime" {
6638
6643
  * - `"not-friend"`: Forces which are not friends pass.
6639
6644
  * - `"same"`: The same force pass.
6640
6645
  * - `"not-same"`: The non-same forces pass.
6641
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ForceCondition.html Online documentation}
6646
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ForceCondition.html Online documentation}
6642
6647
  */
6643
6648
  export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
6644
6649
  export interface ItemStackLocation {
@@ -6676,7 +6681,7 @@ declare module "factorio:runtime" {
6676
6681
  * - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
6677
6682
  * - `"tab"`: A tab for use in a `tabbed-pane`.
6678
6683
  * - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
6679
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GuiElementType.html Online documentation}
6684
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GuiElementType.html Online documentation}
6680
6685
  */
6681
6686
  export type GuiElementType =
6682
6687
  | "button"
@@ -6716,7 +6721,7 @@ declare module "factorio:runtime" {
6716
6721
  * - `"position"`
6717
6722
  * - `"crafting_queue"`
6718
6723
  * - `"item_stack"`: Will point to a given item stack in an inventory.
6719
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GuiArrowType.html Online documentation}
6724
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GuiArrowType.html Online documentation}
6720
6725
  */
6721
6726
  export type GuiArrowType =
6722
6727
  | "nowhere"
@@ -6733,7 +6738,7 @@ declare module "factorio:runtime" {
6733
6738
  * ## Union members
6734
6739
  * - `"horizontal"`
6735
6740
  * - `"vertical"`
6736
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/GuiDirection.html Online documentation}
6741
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/GuiDirection.html Online documentation}
6737
6742
  */
6738
6743
  export type GuiDirection = "horizontal" | "vertical"
6739
6744
  /**
@@ -6745,7 +6750,7 @@ declare module "factorio:runtime" {
6745
6750
  * - `"always"`
6746
6751
  * - `"auto"`
6747
6752
  * - `"auto-and-reserve-space"`
6748
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ScrollPolicy.html Online documentation}
6753
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ScrollPolicy.html Online documentation}
6749
6754
  */
6750
6755
  export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
6751
6756
  export interface RailLocation {
@@ -6762,71 +6767,71 @@ declare module "factorio:runtime" {
6762
6767
  }
6763
6768
  /**
6764
6769
  * A floating-point number. This is a single-precision floating point number. Whilst Lua only uses double-precision numbers, when a function takes a float, the game engine will immediately convert the double-precision number to single-precision.
6765
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/float.html Online documentation}
6770
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/float.html Online documentation}
6766
6771
  */
6767
6772
  export type float = number
6768
6773
  /**
6769
6774
  * A double-precision floating-point number. This is the same data type as all Lua numbers use.
6770
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/double.html Online documentation}
6775
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/double.html Online documentation}
6771
6776
  */
6772
6777
  export type double = number
6773
6778
  /**
6774
6779
  * 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
6775
6780
  *
6776
6781
  * Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
6777
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/int.html Online documentation}
6782
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/int.html Online documentation}
6778
6783
  */
6779
6784
  export type int = number
6780
6785
  /**
6781
6786
  * 8-bit signed integer. Possible values are `-128` to `127`.
6782
6787
  *
6783
6788
  * Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
6784
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/int8.html Online documentation}
6789
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/int8.html Online documentation}
6785
6790
  */
6786
6791
  export type int8 = number
6787
6792
  /**
6788
6793
  * 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
6789
6794
  *
6790
6795
  * Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
6791
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/uint.html Online documentation}
6796
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/uint.html Online documentation}
6792
6797
  */
6793
6798
  export type uint = number
6794
6799
  /**
6795
6800
  * 8-bit unsigned integer. Possible values are `0` to `255`.
6796
6801
  *
6797
6802
  * Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
6798
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/uint8.html Online documentation}
6803
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/uint8.html Online documentation}
6799
6804
  */
6800
6805
  export type uint8 = number
6801
6806
  /**
6802
6807
  * 16-bit unsigned integer. Possible values are `0` to `65 535`.
6803
6808
  *
6804
6809
  * Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
6805
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/uint16.html Online documentation}
6810
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/uint16.html Online documentation}
6806
6811
  */
6807
6812
  export type uint16 = number
6808
6813
  /**
6809
6814
  * 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
6810
6815
  *
6811
6816
  * Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
6812
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/uint64.html Online documentation}
6817
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/uint64.html Online documentation}
6813
6818
  */
6814
6819
  export type uint64 = number
6815
6820
  /**
6816
6821
  * Nil is the type of the value `nil`, whose main property is to be different from any other value. It usually represents the absence of a useful value.
6817
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/nil.html Online documentation}
6822
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/nil.html Online documentation}
6818
6823
  */
6819
6824
  export type nil = undefined
6820
6825
  /**
6821
6826
  * Tables are enclosed in curly brackets, like this `{}`.
6822
6827
  *
6823
6828
  * Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain http://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination.
6824
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/table.html Online documentation}
6829
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/table.html Online documentation}
6825
6830
  */
6826
6831
  export type table = object
6827
6832
  /**
6828
- * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.12/classes.html Classes} page.
6829
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaObject.html Online documentation}
6833
+ * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.16/classes.html Classes} page.
6834
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaObject.html Online documentation}
6830
6835
  */
6831
6836
  export interface LuaObject {
6832
6837
  readonly object_name: string
@@ -6885,7 +6890,7 @@ declare module "factorio:runtime" {
6885
6890
  * - `"type"`: {@link TypeModSettingPrototypeFilter}
6886
6891
  * - `"mod"`: {@link ModModSettingPrototypeFilter}
6887
6892
  * - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
6888
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ModSettingPrototypeFilter.html Online documentation}
6893
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ModSettingPrototypeFilter.html Online documentation}
6889
6894
  */
6890
6895
  export type ModSettingPrototypeFilter =
6891
6896
  | TypeModSettingPrototypeFilter
@@ -7030,7 +7035,7 @@ declare module "factorio:runtime" {
7030
7035
  * - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
7031
7036
  * - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
7032
7037
  * - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
7033
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TilePrototypeFilter.html Online documentation}
7038
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TilePrototypeFilter.html Online documentation}
7034
7039
  */
7035
7040
  export type TilePrototypeFilter =
7036
7041
  | CollisionMaskTilePrototypeFilter
@@ -7041,7 +7046,7 @@ declare module "factorio:runtime" {
7041
7046
  | OtherTilePrototypeFilter
7042
7047
  /**
7043
7048
  * Write form of {@link TilePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7044
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TilePrototypeFilter.html Online documentation}
7049
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TilePrototypeFilter.html Online documentation}
7045
7050
  */
7046
7051
  export type TilePrototypeFilterWrite =
7047
7052
  | CollisionMaskTilePrototypeFilter
@@ -7092,7 +7097,7 @@ declare module "factorio:runtime" {
7092
7097
  *
7093
7098
  * Other attributes may be specified depending on `filter`:
7094
7099
  * - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
7095
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/DecorativePrototypeFilter.html Online documentation}
7100
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/DecorativePrototypeFilter.html Online documentation}
7096
7101
  */
7097
7102
  export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
7098
7103
  /**
@@ -7346,7 +7351,7 @@ declare module "factorio:runtime" {
7346
7351
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
7347
7352
  * - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
7348
7353
  * - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
7349
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RecipePrototypeFilter.html Online documentation}
7354
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RecipePrototypeFilter.html Online documentation}
7350
7355
  */
7351
7356
  export type RecipePrototypeFilter =
7352
7357
  | HasIngredientItemRecipePrototypeFilter
@@ -7362,7 +7367,7 @@ declare module "factorio:runtime" {
7362
7367
  | OtherRecipePrototypeFilter
7363
7368
  /**
7364
7369
  * Write form of {@link RecipePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7365
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/RecipePrototypeFilter.html Online documentation}
7370
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/RecipePrototypeFilter.html Online documentation}
7366
7371
  */
7367
7372
  export type RecipePrototypeFilterWrite =
7368
7373
  | HasIngredientItemRecipePrototypeFilterWrite
@@ -7414,7 +7419,7 @@ declare module "factorio:runtime" {
7414
7419
  *
7415
7420
  * Other attributes may be specified depending on `filter`:
7416
7421
  * - `"type"`: {@link TypeAchievementPrototypeFilter}
7417
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/AchievementPrototypeFilter.html Online documentation}
7422
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/AchievementPrototypeFilter.html Online documentation}
7418
7423
  */
7419
7424
  export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
7420
7425
  /**
@@ -7537,7 +7542,7 @@ declare module "factorio:runtime" {
7537
7542
  * - `"level"`: {@link LevelTechnologyPrototypeFilter}
7538
7543
  * - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
7539
7544
  * - `"time"`: {@link TimeTechnologyPrototypeFilter}
7540
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TechnologyPrototypeFilter.html Online documentation}
7545
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TechnologyPrototypeFilter.html Online documentation}
7541
7546
  */
7542
7547
  export type TechnologyPrototypeFilter =
7543
7548
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -7548,7 +7553,7 @@ declare module "factorio:runtime" {
7548
7553
  | OtherTechnologyPrototypeFilter
7549
7554
  /**
7550
7555
  * Write form of {@link TechnologyPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7551
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/TechnologyPrototypeFilter.html Online documentation}
7556
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/TechnologyPrototypeFilter.html Online documentation}
7552
7557
  */
7553
7558
  export type TechnologyPrototypeFilterWrite =
7554
7559
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -7678,7 +7683,7 @@ declare module "factorio:runtime" {
7678
7683
  *
7679
7684
  * For use within nested filters such as the `has-product-item` filter of array[{@link RecipePrototypeFilter}].
7680
7685
  *
7681
- * To get a specific prototype by name, see {@link LuaGameScript#item_prototypes LuaGameScript::item_prototypes}.
7686
+ * To get a specific prototype by name, see {@link LuaPrototypes#item LuaPrototypes::item}.
7682
7687
  */
7683
7688
  export interface NameItemPrototypeFilter extends BaseItemPrototypeFilter {
7684
7689
  readonly filter: "name"
@@ -7865,7 +7870,7 @@ declare module "factorio:runtime" {
7865
7870
  * - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
7866
7871
  * - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
7867
7872
  * - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
7868
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemPrototypeFilter.html Online documentation}
7873
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemPrototypeFilter.html Online documentation}
7869
7874
  */
7870
7875
  export type ItemPrototypeFilter =
7871
7876
  | PlaceResultItemPrototypeFilter
@@ -7885,7 +7890,7 @@ declare module "factorio:runtime" {
7885
7890
  | OtherItemPrototypeFilter
7886
7891
  /**
7887
7892
  * Write form of {@link ItemPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7888
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/ItemPrototypeFilter.html Online documentation}
7893
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/ItemPrototypeFilter.html Online documentation}
7889
7894
  */
7890
7895
  export type ItemPrototypeFilterWrite =
7891
7896
  | PlaceResultItemPrototypeFilterWrite
@@ -7941,7 +7946,7 @@ declare module "factorio:runtime" {
7941
7946
  *
7942
7947
  * Other attributes may be specified depending on `filter`:
7943
7948
  * - `"type"`: {@link TypeEquipmentPrototypeFilter}
7944
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EquipmentPrototypeFilter.html Online documentation}
7949
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EquipmentPrototypeFilter.html Online documentation}
7945
7950
  */
7946
7951
  export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
7947
7952
  /**
@@ -7999,7 +8004,7 @@ declare module "factorio:runtime" {
7999
8004
  *
8000
8005
  * For use within nested filters such as the `place-result` filter of array[{@link ItemPrototypeFilter}].
8001
8006
  *
8002
- * To get a specific prototype by name, see {@link LuaGameScript#entity_prototypes LuaGameScript::entity_prototypes}.
8007
+ * To get a specific prototype by name, see {@link LuaPrototypes#entity LuaPrototypes::entity}.
8003
8008
  */
8004
8009
  export interface NameEntityPrototypeFilter extends BaseEntityPrototypeFilter {
8005
8010
  readonly filter: "name"
@@ -8172,7 +8177,7 @@ declare module "factorio:runtime" {
8172
8177
  * - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
8173
8178
  * - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
8174
8179
  * - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
8175
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityPrototypeFilter.html Online documentation}
8180
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityPrototypeFilter.html Online documentation}
8176
8181
  */
8177
8182
  export type EntityPrototypeFilter =
8178
8183
  | NameEntityPrototypeFilter
@@ -8186,7 +8191,7 @@ declare module "factorio:runtime" {
8186
8191
  | OtherEntityPrototypeFilter
8187
8192
  /**
8188
8193
  * Write form of {@link EntityPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
8189
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/EntityPrototypeFilter.html Online documentation}
8194
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/EntityPrototypeFilter.html Online documentation}
8190
8195
  */
8191
8196
  export type EntityPrototypeFilterWrite =
8192
8197
  | NameEntityPrototypeFilter
@@ -8256,7 +8261,7 @@ declare module "factorio:runtime" {
8256
8261
  * Other attributes may be specified depending on `filter`:
8257
8262
  * - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
8258
8263
  * - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
8259
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8264
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8260
8265
  */
8261
8266
  export type SpaceLocationPrototypeFilter =
8262
8267
  | TypeSpaceLocationPrototypeFilter
@@ -8264,7 +8269,7 @@ declare module "factorio:runtime" {
8264
8269
  | OtherSpaceLocationPrototypeFilter
8265
8270
  /**
8266
8271
  * Write form of {@link SpaceLocationPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
8267
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8272
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8268
8273
  */
8269
8274
  export type SpaceLocationPrototypeFilterWrite =
8270
8275
  | TypeSpaceLocationPrototypeFilter
@@ -8301,7 +8306,7 @@ declare module "factorio:runtime" {
8301
8306
  *
8302
8307
  * For use within nested filters such as the `has-product-fluid` filter of array[{@link RecipePrototypeFilter}].
8303
8308
  *
8304
- * To get a specific prototype by name, see {@link LuaGameScript#fluid_prototypes LuaGameScript::fluid_prototypes}.
8309
+ * To get a specific prototype by name, see {@link LuaPrototypes#fluid LuaPrototypes::fluid}.
8305
8310
  */
8306
8311
  export interface NameFluidPrototypeFilter extends BaseFluidPrototypeFilter {
8307
8312
  readonly filter: "name"
@@ -8452,7 +8457,7 @@ declare module "factorio:runtime" {
8452
8457
  * - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
8453
8458
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
8454
8459
  * - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
8455
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/FluidPrototypeFilter.html Online documentation}
8460
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/FluidPrototypeFilter.html Online documentation}
8456
8461
  */
8457
8462
  export type FluidPrototypeFilter =
8458
8463
  | NameFluidPrototypeFilter
@@ -8466,7 +8471,7 @@ declare module "factorio:runtime" {
8466
8471
  | OtherFluidPrototypeFilter
8467
8472
  /**
8468
8473
  * Write form of {@link FluidPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
8469
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/FluidPrototypeFilter.html Online documentation}
8474
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/FluidPrototypeFilter.html Online documentation}
8470
8475
  */
8471
8476
  export type FluidPrototypeFilterWrite =
8472
8477
  | NameFluidPrototypeFilter
@@ -8575,7 +8580,7 @@ declare module "factorio:runtime" {
8575
8580
  * - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
8576
8581
  * - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
8577
8582
  * - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
8578
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
8583
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
8579
8584
  */
8580
8585
  export type LuaPrePlatformMinedEntityEventFilter =
8581
8586
  | TypePrePlatformMinedEntityEventFilter
@@ -8680,7 +8685,7 @@ declare module "factorio:runtime" {
8680
8685
  * - `"name"`: {@link NameRobotMinedEntityEventFilter}
8681
8686
  * - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
8682
8687
  * - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
8683
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
8688
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
8684
8689
  */
8685
8690
  export type LuaRobotMinedEntityEventFilter =
8686
8691
  | TypeRobotMinedEntityEventFilter
@@ -8785,7 +8790,7 @@ declare module "factorio:runtime" {
8785
8790
  * - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
8786
8791
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
8787
8792
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
8788
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
8793
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
8789
8794
  */
8790
8795
  export type LuaEntityMarkedForUpgradeEventFilter =
8791
8796
  | TypeEntityMarkedForUpgradeEventFilter
@@ -8890,7 +8895,7 @@ declare module "factorio:runtime" {
8890
8895
  * - `"name"`: {@link NamePreGhostUpgradedEventFilter}
8891
8896
  * - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
8892
8897
  * - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
8893
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
8898
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
8894
8899
  */
8895
8900
  export type LuaPreGhostUpgradedEventFilter =
8896
8901
  | TypePreGhostUpgradedEventFilter
@@ -8995,7 +9000,7 @@ declare module "factorio:runtime" {
8995
9000
  * - `"name"`: {@link NamePlatformMinedEntityEventFilter}
8996
9001
  * - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
8997
9002
  * - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
8998
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
9003
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
8999
9004
  */
9000
9005
  export type LuaPlatformMinedEntityEventFilter =
9001
9006
  | TypePlatformMinedEntityEventFilter
@@ -9100,7 +9105,7 @@ declare module "factorio:runtime" {
9100
9105
  * - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
9101
9106
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
9102
9107
  * - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
9103
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
9108
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
9104
9109
  */
9105
9110
  export type LuaScriptRaisedDestroyEventFilter =
9106
9111
  | TypeScriptRaisedDestroyEventFilter
@@ -9217,7 +9222,7 @@ declare module "factorio:runtime" {
9217
9222
  * - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
9218
9223
  * - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
9219
9224
  * - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
9220
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
9225
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
9221
9226
  */
9222
9227
  export type LuaPlayerBuiltEntityEventFilter =
9223
9228
  | TypePlayerBuiltEntityEventFilter
@@ -9335,7 +9340,7 @@ declare module "factorio:runtime" {
9335
9340
  * - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
9336
9341
  * - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
9337
9342
  * - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
9338
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
9343
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
9339
9344
  */
9340
9345
  export type LuaPlatformBuiltEntityEventFilter =
9341
9346
  | TypePlatformBuiltEntityEventFilter
@@ -9441,7 +9446,7 @@ declare module "factorio:runtime" {
9441
9446
  * - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
9442
9447
  * - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
9443
9448
  * - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
9444
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
9449
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
9445
9450
  */
9446
9451
  export type LuaPreGhostDeconstructedEventFilter =
9447
9452
  | TypePreGhostDeconstructedEventFilter
@@ -9546,7 +9551,7 @@ declare module "factorio:runtime" {
9546
9551
  * - `"name"`: {@link NameEntityClonedEventFilter}
9547
9552
  * - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
9548
9553
  * - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
9549
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityClonedEventFilter.html Online documentation}
9554
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityClonedEventFilter.html Online documentation}
9550
9555
  */
9551
9556
  export type LuaEntityClonedEventFilter =
9552
9557
  | TypeEntityClonedEventFilter
@@ -9651,7 +9656,7 @@ declare module "factorio:runtime" {
9651
9656
  * - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
9652
9657
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
9653
9658
  * - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
9654
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
9659
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
9655
9660
  */
9656
9661
  export type LuaScriptRaisedTeleportedEventFilter =
9657
9662
  | TypeScriptRaisedTeleportedEventFilter
@@ -9758,7 +9763,7 @@ declare module "factorio:runtime" {
9758
9763
  * - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
9759
9764
  * - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
9760
9765
  * - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
9761
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
9766
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
9762
9767
  */
9763
9768
  export type LuaEntityDeconstructionCancelledEventFilter =
9764
9769
  | TypeEntityDeconstructionCancelledEventFilter
@@ -9875,7 +9880,7 @@ declare module "factorio:runtime" {
9875
9880
  * - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
9876
9881
  * - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
9877
9882
  * - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
9878
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
9883
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
9879
9884
  */
9880
9885
  export type LuaRobotBuiltEntityEventFilter =
9881
9886
  | TypeRobotBuiltEntityEventFilter
@@ -9981,7 +9986,7 @@ declare module "factorio:runtime" {
9981
9986
  * - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
9982
9987
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
9983
9988
  * - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
9984
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
9989
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
9985
9990
  */
9986
9991
  export type LuaScriptRaisedBuiltEventFilter =
9987
9992
  | TypeScriptRaisedBuiltEventFilter
@@ -10086,7 +10091,7 @@ declare module "factorio:runtime" {
10086
10091
  * - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
10087
10092
  * - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
10088
10093
  * - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
10089
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10094
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10090
10095
  */
10091
10096
  export type LuaPrePlayerMinedEntityEventFilter =
10092
10097
  | TypePrePlayerMinedEntityEventFilter
@@ -10191,7 +10196,7 @@ declare module "factorio:runtime" {
10191
10196
  * - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
10192
10197
  * - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
10193
10198
  * - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
10194
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
10199
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
10195
10200
  */
10196
10201
  export type LuaPlayerRepairedEntityEventFilter =
10197
10202
  | TypePlayerRepairedEntityEventFilter
@@ -10296,7 +10301,7 @@ declare module "factorio:runtime" {
10296
10301
  * - `"name"`: {@link NameUpgradeCancelledEventFilter}
10297
10302
  * - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
10298
10303
  * - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
10299
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
10304
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
10300
10305
  */
10301
10306
  export type LuaUpgradeCancelledEventFilter =
10302
10307
  | TypeUpgradeCancelledEventFilter
@@ -10401,7 +10406,7 @@ declare module "factorio:runtime" {
10401
10406
  * - `"name"`: {@link NameSectorScannedEventFilter}
10402
10407
  * - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
10403
10408
  * - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
10404
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaSectorScannedEventFilter.html Online documentation}
10409
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaSectorScannedEventFilter.html Online documentation}
10405
10410
  */
10406
10411
  export type LuaSectorScannedEventFilter =
10407
10412
  | TypeSectorScannedEventFilter
@@ -10447,7 +10452,7 @@ declare module "factorio:runtime" {
10447
10452
  *
10448
10453
  * Other attributes may be specified depending on `filter`:
10449
10454
  * - `"type"`: {@link TypePostEntityDiedEventFilter}
10450
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
10455
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
10451
10456
  */
10452
10457
  export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter | OtherPostEntityDiedEventFilter
10453
10458
  /**
@@ -10549,7 +10554,7 @@ declare module "factorio:runtime" {
10549
10554
  * - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
10550
10555
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
10551
10556
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
10552
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
10557
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
10553
10558
  */
10554
10559
  export type LuaEntityMarkedForDeconstructionEventFilter =
10555
10560
  | TypeEntityMarkedForDeconstructionEventFilter
@@ -10654,7 +10659,7 @@ declare module "factorio:runtime" {
10654
10659
  * - `"name"`: {@link NamePlayerMinedEntityEventFilter}
10655
10660
  * - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
10656
10661
  * - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
10657
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
10662
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
10658
10663
  */
10659
10664
  export type LuaPlayerMinedEntityEventFilter =
10660
10665
  | TypePlayerMinedEntityEventFilter
@@ -10834,7 +10839,7 @@ declare module "factorio:runtime" {
10834
10839
  * - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
10835
10840
  * - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
10836
10841
  * - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
10837
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityDamagedEventFilter.html Online documentation}
10842
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityDamagedEventFilter.html Online documentation}
10838
10843
  */
10839
10844
  export type LuaEntityDamagedEventFilter =
10840
10845
  | TypeEntityDamagedEventFilter
@@ -10848,7 +10853,7 @@ declare module "factorio:runtime" {
10848
10853
  | OtherEntityDamagedEventFilter
10849
10854
  /**
10850
10855
  * Write form of {@link LuaEntityDamagedEventFilter}, where table-or-array concepts are allowed to take an array form.
10851
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityDamagedEventFilter.html Online documentation}
10856
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityDamagedEventFilter.html Online documentation}
10852
10857
  */
10853
10858
  export type LuaEntityDamagedEventFilterWrite =
10854
10859
  | TypeEntityDamagedEventFilter
@@ -10957,7 +10962,7 @@ declare module "factorio:runtime" {
10957
10962
  * - `"name"`: {@link NameScriptRaisedReviveEventFilter}
10958
10963
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
10959
10964
  * - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
10960
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
10965
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
10961
10966
  */
10962
10967
  export type LuaScriptRaisedReviveEventFilter =
10963
10968
  | TypeScriptRaisedReviveEventFilter
@@ -11062,7 +11067,7 @@ declare module "factorio:runtime" {
11062
11067
  * - `"name"`: {@link NameEntityDiedEventFilter}
11063
11068
  * - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
11064
11069
  * - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
11065
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaEntityDiedEventFilter.html Online documentation}
11070
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaEntityDiedEventFilter.html Online documentation}
11066
11071
  */
11067
11072
  export type LuaEntityDiedEventFilter =
11068
11073
  | TypeEntityDiedEventFilter
@@ -11167,7 +11172,7 @@ declare module "factorio:runtime" {
11167
11172
  * - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
11168
11173
  * - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
11169
11174
  * - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
11170
- * @see {@link https://lua-api.factorio.com/2.0.12/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
11175
+ * @see {@link https://lua-api.factorio.com/2.0.16/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
11171
11176
  */
11172
11177
  export type LuaPreRobotMinedEntityEventFilter =
11173
11178
  | TypePreRobotMinedEntityEventFilter