typed-factorio 3.23.0 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@ declare module "factorio:runtime" {
38
38
  * - {@link FluidID}: Used with fluid production statistics.
39
39
  * - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
40
40
  * - {@link EntityID}: Used with pollution statistics.
41
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/FlowStatisticsID.html Online documentation}
41
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/FlowStatisticsID.html Online documentation}
42
42
  */
43
43
  export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
44
44
  export type ItemStackIndex = uint16
@@ -60,7 +60,7 @@ declare module "factorio:runtime" {
60
60
  * - `"<="`: "lesser than or equal to"
61
61
  * - `"≠"`: "not equal to"
62
62
  * - `"!="`: "not equal to"
63
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ComparatorString.html Online documentation}
63
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ComparatorString.html Online documentation}
64
64
  */
65
65
  export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
66
66
  export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
@@ -91,93 +91,93 @@ declare module "factorio:runtime" {
91
91
  *
92
92
  * The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
93
93
  *
94
- * {@link https://lua-api.factorio.com/2.0.52/concepts/SpritePath.html > The supported types are:}
95
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SpritePath.html Online documentation}
94
+ * {@link https://lua-api.factorio.com/2.0.54/concepts/SpritePath.html > The supported types are:}
95
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SpritePath.html Online documentation}
96
96
  */
97
97
  export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
98
98
  /**
99
99
  * 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.
100
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.html Online documentation}
100
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.html Online documentation}
101
101
  */
102
102
  export interface GameViewSettings {
103
103
  /**
104
104
  * Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
105
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_controller_gui.html Online documentation}
105
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_controller_gui.html Online documentation}
106
106
  */
107
107
  show_controller_gui: boolean
108
108
  /**
109
109
  * Show the chart in the upper right-hand corner of the screen.
110
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_minimap.html Online documentation}
110
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_minimap.html Online documentation}
111
111
  */
112
112
  show_minimap: boolean
113
113
  /**
114
114
  * Show research progress and name in the upper right-hand corner of the screen.
115
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_research_info.html Online documentation}
115
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_research_info.html Online documentation}
116
116
  */
117
117
  show_research_info: boolean
118
118
  /**
119
119
  * Show overlay icons on entities. Also known as "alt-mode".
120
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_entity_info.html Online documentation}
120
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_entity_info.html Online documentation}
121
121
  */
122
122
  show_entity_info: boolean
123
123
  /**
124
124
  * Show the flashing alert icons next to the player's toolbar.
125
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_alert_gui.html Online documentation}
125
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_alert_gui.html Online documentation}
126
126
  */
127
127
  show_alert_gui: boolean
128
128
  /**
129
129
  * When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
130
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.update_entity_selection.html Online documentation}
130
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.update_entity_selection.html Online documentation}
131
131
  */
132
132
  update_entity_selection: boolean
133
133
  /**
134
134
  * When `true` (`false` is default), the rails will always show the rail block visualisation.
135
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
135
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
136
136
  */
137
137
  show_rail_block_visualisation: boolean
138
138
  /**
139
139
  * Shows or hides the buttons row.
140
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_side_menu.html Online documentation}
140
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_side_menu.html Online documentation}
141
141
  */
142
142
  show_side_menu: boolean
143
143
  /**
144
144
  * Shows or hides the view options when map is opened.
145
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_map_view_options.html Online documentation}
145
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_map_view_options.html Online documentation}
146
146
  */
147
147
  show_map_view_options: boolean
148
148
  /**
149
149
  * Shows or hides the tooltip that is displayed when selecting an entity.
150
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
150
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
151
151
  */
152
152
  show_entity_tooltip: boolean
153
153
  /**
154
154
  * Shows or hides quickbar of shortcuts.
155
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_quickbar.html Online documentation}
155
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_quickbar.html Online documentation}
156
156
  */
157
157
  show_quickbar: boolean
158
158
  /**
159
159
  * Shows or hides the shortcut bar.
160
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
160
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
161
161
  */
162
162
  show_shortcut_bar: boolean
163
163
  /**
164
164
  * Shows or hides the crafting queue.
165
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
165
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
166
166
  */
167
167
  show_crafting_queue: boolean
168
168
  /**
169
169
  * Shows or hides the tool window with the weapons and armor.
170
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_tool_bar.html Online documentation}
170
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_tool_bar.html Online documentation}
171
171
  */
172
172
  show_tool_bar: boolean
173
173
  /**
174
174
  * Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
175
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
175
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
176
176
  */
177
177
  show_hotkey_suggestions: boolean
178
178
  /**
179
179
  * Shows or hides the surface list while in Remote View.
180
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GameViewSettings.show_surface_list.html Online documentation}
180
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GameViewSettings.show_surface_list.html Online documentation}
181
181
  */
182
182
  show_surface_list: boolean
183
183
  }
@@ -189,7 +189,7 @@ declare module "factorio:runtime" {
189
189
  * @example
190
190
  * -- Most common collision mask of buildings:
191
191
  * collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
192
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CollisionMask.html Online documentation}
192
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CollisionMask.html Online documentation}
193
193
  */
194
194
  export interface CollisionMask {
195
195
  /**
@@ -231,14 +231,14 @@ declare module "factorio:runtime" {
231
231
  * The percentual increase of the attribute. A value of `0.6` means a 60% increase.
232
232
  *
233
233
  * Quality values are divided by 10 internally, allowing for one more decimal of precision.
234
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ModuleEffectValue.html Online documentation}
234
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ModuleEffectValue.html Online documentation}
235
235
  */
236
236
  export type ModuleEffectValue = float
237
237
  /**
238
238
  * @example
239
239
  * -- These are the effects of the vanilla Speed Module 3
240
240
  * {speed = 0.5, consumption = 0.7, quality = -0.25}
241
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ModuleEffects.html Online documentation}
241
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ModuleEffects.html Online documentation}
242
242
  */
243
243
  export interface ModuleEffects {
244
244
  readonly consumption?: ModuleEffectValue
@@ -249,12 +249,12 @@ declare module "factorio:runtime" {
249
249
  }
250
250
  /**
251
251
  * `math.huge` represents the maximum possible tick.
252
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapTick.html Online documentation}
252
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapTick.html Online documentation}
253
253
  */
254
254
  export type MapTick = uint64
255
255
  /**
256
256
  * @see BlueprintSignalIconWrite
257
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintSignalIcon.html Online documentation}
257
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintSignalIcon.html Online documentation}
258
258
  */
259
259
  export interface BlueprintSignalIcon {
260
260
  /**
@@ -268,7 +268,7 @@ declare module "factorio:runtime" {
268
268
  }
269
269
  /**
270
270
  * Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
271
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintSignalIcon.html Online documentation}
271
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintSignalIcon.html Online documentation}
272
272
  */
273
273
  export interface BlueprintSignalIconWrite {
274
274
  /**
@@ -356,7 +356,7 @@ declare module "factorio:runtime" {
356
356
  * - `"collision-selection-box"`: 189
357
357
  * - `"arrow"`: 190
358
358
  * - `"cursor"`: 226
359
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RenderLayer.html Online documentation}
359
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RenderLayer.html Online documentation}
360
360
  */
361
361
  export type RenderLayer =
362
362
  | `${bigint}`
@@ -433,7 +433,7 @@ declare module "factorio:runtime" {
433
433
  | "cursor"
434
434
  /**
435
435
  * What is shown in the map view. If a field is not given, that setting will not be changed.
436
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapViewSettings.html Online documentation}
436
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapViewSettings.html Online documentation}
437
437
  */
438
438
  export interface MapViewSettings {
439
439
  readonly "show-logistic-network"?: boolean
@@ -463,7 +463,7 @@ declare module "factorio:runtime" {
463
463
  * - `"blueprint-snap-rectangle"`: Green by default.
464
464
  * - `"spidertron-remote-selected"`
465
465
  * - `"spidertron-remote-to-be-selected"`
466
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CursorBoxRenderType.html Online documentation}
466
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CursorBoxRenderType.html Online documentation}
467
467
  */
468
468
  export type CursorBoxRenderType =
469
469
  | "entity"
@@ -481,7 +481,7 @@ declare module "factorio:runtime" {
481
481
  * The name of a {@link LuaCollisionLayerPrototype}.
482
482
  * @example
483
483
  * "is_lower_object"
484
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CollisionLayerID.html Online documentation}
484
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CollisionLayerID.html Online documentation}
485
485
  */
486
486
  export type CollisionLayerID = string
487
487
  /**
@@ -493,7 +493,7 @@ declare module "factorio:runtime" {
493
493
  * - `"always"`
494
494
  * - `"auto"`
495
495
  * - `"auto-and-reserve-space"`
496
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScrollPolicy.html Online documentation}
496
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScrollPolicy.html Online documentation}
497
497
  */
498
498
  export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
499
499
  /**
@@ -511,7 +511,7 @@ declare module "factorio:runtime" {
511
511
  * - `"button-7"`
512
512
  * - `"button-8"`
513
513
  * - `"button-9"`
514
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MouseButtonFlags.html Online documentation}
514
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MouseButtonFlags.html Online documentation}
515
515
  */
516
516
  export interface MouseButtonFlags {
517
517
  readonly left?: true
@@ -532,7 +532,7 @@ declare module "factorio:runtime" {
532
532
  * - `"left"`
533
533
  * - `"right"`
534
534
  * - `"none"`
535
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SwitchState.html Online documentation}
535
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SwitchState.html Online documentation}
536
536
  */
537
537
  export type SwitchState = "left" | "right" | "none"
538
538
  /**
@@ -562,7 +562,7 @@ declare module "factorio:runtime" {
562
562
  * - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
563
563
  * - `"tab"`: A tab for use in a `tabbed-pane`.
564
564
  * - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
565
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GuiElementType.html Online documentation}
565
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GuiElementType.html Online documentation}
566
566
  */
567
567
  export type GuiElementType =
568
568
  | "button"
@@ -625,7 +625,7 @@ declare module "factorio:runtime" {
625
625
  * - `"entity-with-quality"`
626
626
  * - `"recipe-with-quality"`
627
627
  * - `"equipment-with-quality"`
628
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ElemType.html Online documentation}
628
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ElemType.html Online documentation}
629
629
  */
630
630
  export type ElemType =
631
631
  | "achievement"
@@ -660,13 +660,13 @@ declare module "factorio:runtime" {
660
660
  * 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.
661
661
  * @example
662
662
  * right = {1.0, 0.0}
663
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Vector.html Online documentation}
663
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Vector.html Online documentation}
664
664
  */
665
665
  export type Vector = MapPositionArray
666
666
  /**
667
667
  * 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.
668
668
  * @see ChunkPositionArray
669
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ChunkPosition.html Online documentation}
669
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ChunkPosition.html Online documentation}
670
670
  */
671
671
  export interface ChunkPosition {
672
672
  readonly x: int
@@ -675,7 +675,7 @@ declare module "factorio:runtime" {
675
675
  /**
676
676
  * Array form of {@link ChunkPosition}.
677
677
  * @see ChunkPosition
678
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ChunkPosition.html Online documentation}
678
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ChunkPosition.html Online documentation}
679
679
  */
680
680
  export type ChunkPositionArray = readonly [int, int]
681
681
  export interface ItemStackLocation {
@@ -700,13 +700,13 @@ declare module "factorio:runtime" {
700
700
  * --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
701
701
  * "iron-plate"
702
702
  * {name="iron-plate", count=100}
703
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SimpleItemStack.html Online documentation}
703
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SimpleItemStack.html Online documentation}
704
704
  */
705
705
  export type SimpleItemStack = string | ItemStackDefinition
706
706
  /**
707
707
  * An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
708
708
  * @see ItemFilterWrite
709
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemFilter.html Online documentation}
709
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemFilter.html Online documentation}
710
710
  */
711
711
  export type ItemFilter =
712
712
  | {
@@ -726,7 +726,7 @@ declare module "factorio:runtime" {
726
726
  | string
727
727
  /**
728
728
  * Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
729
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemFilter.html Online documentation}
729
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemFilter.html Online documentation}
730
730
  */
731
731
  export type ItemFilterWrite =
732
732
  | {
@@ -982,7 +982,7 @@ declare module "factorio:runtime" {
982
982
  * - {@link defines.command.stop}: {@link StopCommand}
983
983
  * - {@link defines.command.flee}: {@link FleeCommand}
984
984
  * - {@link defines.command.build_base}: {@link BuildBaseCommand}
985
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Command.html Online documentation}
985
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Command.html Online documentation}
986
986
  */
987
987
  export type Command =
988
988
  | AttackCommand
@@ -996,7 +996,7 @@ declare module "factorio:runtime" {
996
996
  | BuildBaseCommand
997
997
  /**
998
998
  * Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
999
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Command.html Online documentation}
999
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Command.html Online documentation}
1000
1000
  */
1001
1001
  export type CommandWrite =
1002
1002
  | AttackCommand
@@ -1073,7 +1073,7 @@ declare module "factorio:runtime" {
1073
1073
  * - `"position"`: {@link PositionGuiArrowSpecification}
1074
1074
  * - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
1075
1075
  * - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
1076
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GuiArrowSpecification.html Online documentation}
1076
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GuiArrowSpecification.html Online documentation}
1077
1077
  */
1078
1078
  export type GuiArrowSpecification =
1079
1079
  | EntityGuiArrowSpecification
@@ -1093,7 +1093,7 @@ declare module "factorio:runtime" {
1093
1093
  * - `"position"`
1094
1094
  * - `"crafting_queue"`
1095
1095
  * - `"item_stack"`: Will point to a given item stack in an inventory.
1096
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GuiArrowType.html Online documentation}
1096
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GuiArrowType.html Online documentation}
1097
1097
  */
1098
1098
  export type GuiArrowType =
1099
1099
  | "nowhere"
@@ -1109,7 +1109,7 @@ declare module "factorio:runtime" {
1109
1109
  *
1110
1110
  * If this is specified as a three-element array then the array items are x, y and z, in that order.
1111
1111
  * @see Vector3DArray
1112
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Vector3D.html Online documentation}
1112
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Vector3D.html Online documentation}
1113
1113
  */
1114
1114
  export interface Vector3D {
1115
1115
  readonly x: float
@@ -1119,7 +1119,7 @@ declare module "factorio:runtime" {
1119
1119
  /**
1120
1120
  * Array form of {@link Vector3D}.
1121
1121
  * @see Vector3D
1122
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Vector3D.html Online documentation}
1122
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Vector3D.html Online documentation}
1123
1123
  */
1124
1124
  export type Vector3DArray = readonly [float, float, float]
1125
1125
  export interface RidingState {
@@ -1156,7 +1156,7 @@ declare module "factorio:runtime" {
1156
1156
  }
1157
1157
  /**
1158
1158
  * @see TrainScheduleWrite
1159
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TrainSchedule.html Online documentation}
1159
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TrainSchedule.html Online documentation}
1160
1160
  */
1161
1161
  export interface TrainSchedule {
1162
1162
  /**
@@ -1167,7 +1167,7 @@ declare module "factorio:runtime" {
1167
1167
  }
1168
1168
  /**
1169
1169
  * Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
1170
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TrainSchedule.html Online documentation}
1170
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TrainSchedule.html Online documentation}
1171
1171
  */
1172
1172
  export interface TrainScheduleWrite {
1173
1173
  /**
@@ -1178,7 +1178,7 @@ declare module "factorio:runtime" {
1178
1178
  }
1179
1179
  /**
1180
1180
  * @see PlatformScheduleWrite
1181
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PlatformSchedule.html Online documentation}
1181
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PlatformSchedule.html Online documentation}
1182
1182
  */
1183
1183
  export interface PlatformSchedule {
1184
1184
  /**
@@ -1189,7 +1189,7 @@ declare module "factorio:runtime" {
1189
1189
  }
1190
1190
  /**
1191
1191
  * Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
1192
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PlatformSchedule.html Online documentation}
1192
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PlatformSchedule.html Online documentation}
1193
1193
  */
1194
1194
  export interface PlatformScheduleWrite {
1195
1195
  /**
@@ -1214,7 +1214,7 @@ declare module "factorio:runtime" {
1214
1214
  }
1215
1215
  /**
1216
1216
  * A recipe prototype with optional quality specification.
1217
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RecipeIDAndQualityIDPair.html Online documentation}
1217
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RecipeIDAndQualityIDPair.html Online documentation}
1218
1218
  */
1219
1219
  export interface RecipeIDAndQualityIDPair {
1220
1220
  /**
@@ -1263,7 +1263,7 @@ declare module "factorio:runtime" {
1263
1263
  * - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
1264
1264
  * - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
1265
1265
  * - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
1266
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ForceID.html Online documentation}
1266
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ForceID.html Online documentation}
1267
1267
  */
1268
1268
  export type ForceID = string | uint8 | LuaForce
1269
1269
  /**
@@ -1273,7 +1273,7 @@ declare module "factorio:runtime" {
1273
1273
  * - `string`: The fluid name.
1274
1274
  * - {@link LuaFluidPrototype}: The fluid prototype.
1275
1275
  * - {@link Fluid}: The fluid.
1276
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/FluidID.html Online documentation}
1276
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/FluidID.html Online documentation}
1277
1277
  */
1278
1278
  export type FluidID = string | LuaFluidPrototype | Fluid
1279
1279
  /**
@@ -1284,12 +1284,12 @@ declare module "factorio:runtime" {
1284
1284
  * - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
1285
1285
  * - `string`: The prototype name. Normal quality will be used.
1286
1286
  * - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
1287
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityWithQualityID.html Online documentation}
1287
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityWithQualityID.html Online documentation}
1288
1288
  */
1289
1289
  export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
1290
1290
  /**
1291
1291
  * An entity prototype with optional quality specification.
1292
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityIDAndQualityIDPair.html Online documentation}
1292
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityIDAndQualityIDPair.html Online documentation}
1293
1293
  */
1294
1294
  export interface EntityIDAndQualityIDPair {
1295
1295
  /**
@@ -1310,18 +1310,18 @@ declare module "factorio:runtime" {
1310
1310
  * - `string`: The prototype name. Normal quality will be used.
1311
1311
  * - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
1312
1312
  * @see ItemWithQualityIDWrite
1313
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemWithQualityID.html Online documentation}
1313
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemWithQualityID.html Online documentation}
1314
1314
  */
1315
1315
  export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPair
1316
1316
  /**
1317
1317
  * Write form of {@link ItemWithQualityID}, where some properties allow additional values as input compared to the read form.
1318
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemWithQualityID.html Online documentation}
1318
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemWithQualityID.html Online documentation}
1319
1319
  */
1320
1320
  export type ItemWithQualityIDWrite = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
1321
1321
  /**
1322
1322
  * An item prototype with optional quality specification.
1323
1323
  * @see ItemIDAndQualityIDPairWrite
1324
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemIDAndQualityIDPair.html Online documentation}
1324
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemIDAndQualityIDPair.html Online documentation}
1325
1325
  */
1326
1326
  export interface ItemIDAndQualityIDPair {
1327
1327
  /**
@@ -1335,7 +1335,7 @@ declare module "factorio:runtime" {
1335
1335
  }
1336
1336
  /**
1337
1337
  * Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
1338
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemIDAndQualityIDPair.html Online documentation}
1338
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemIDAndQualityIDPair.html Online documentation}
1339
1339
  */
1340
1340
  export interface ItemIDAndQualityIDPairWrite {
1341
1341
  /**
@@ -1355,7 +1355,7 @@ declare module "factorio:runtime" {
1355
1355
  * - {@link LuaItemStack}: Non empty item stack.
1356
1356
  * - {@link LuaItem}: The item.
1357
1357
  * - `string`: The prototype name.
1358
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemID.html Online documentation}
1358
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemID.html Online documentation}
1359
1359
  */
1360
1360
  export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
1361
1361
  /**
@@ -1365,7 +1365,7 @@ declare module "factorio:runtime" {
1365
1365
  * - {@link LuaEntityPrototype}: The entity prototype.
1366
1366
  * - {@link LuaEntity}: The entity.
1367
1367
  * - `string`: The prototype name.
1368
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityID.html Online documentation}
1368
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityID.html Online documentation}
1369
1369
  */
1370
1370
  export type EntityID = LuaEntityPrototype | LuaEntity | string
1371
1371
  /**
@@ -1375,7 +1375,7 @@ declare module "factorio:runtime" {
1375
1375
  * - {@link LuaTechnologyPrototype}: The technology prototype.
1376
1376
  * - {@link LuaTechnology}: Instance of the technology.
1377
1377
  * - `string`: The prototype name.
1378
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TechnologyID.html Online documentation}
1378
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TechnologyID.html Online documentation}
1379
1379
  */
1380
1380
  export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
1381
1381
  /**
@@ -1384,7 +1384,7 @@ declare module "factorio:runtime" {
1384
1384
  * ## Union members
1385
1385
  * - {@link LuaParticlePrototype}: The particle prototype.
1386
1386
  * - `string`: The prototype name.
1387
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ParticleID.html Online documentation}
1387
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ParticleID.html Online documentation}
1388
1388
  */
1389
1389
  export type ParticleID = LuaParticlePrototype | string
1390
1390
  /**
@@ -1393,7 +1393,7 @@ declare module "factorio:runtime" {
1393
1393
  * ## Union members
1394
1394
  * - {@link LuaDamagePrototype}: The damage type prototype.
1395
1395
  * - `string`: The prototype name.
1396
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DamageTypeID.html Online documentation}
1396
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DamageTypeID.html Online documentation}
1397
1397
  */
1398
1398
  export type DamageTypeID = LuaDamagePrototype | string
1399
1399
  /**
@@ -1402,7 +1402,7 @@ declare module "factorio:runtime" {
1402
1402
  * ## Union members
1403
1403
  * - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
1404
1404
  * - `string`: The prototype name.
1405
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TrivialSmokeID.html Online documentation}
1405
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TrivialSmokeID.html Online documentation}
1406
1406
  */
1407
1407
  export type TrivialSmokeID = LuaTrivialSmokePrototype | string
1408
1408
  /**
@@ -1414,7 +1414,7 @@ declare module "factorio:runtime" {
1414
1414
  * - `"left"`
1415
1415
  * - `"right"`
1416
1416
  * - `"center"`
1417
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TextAlign.html Online documentation}
1417
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TextAlign.html Online documentation}
1418
1418
  */
1419
1419
  export type TextAlign = "left" | "right" | "center"
1420
1420
  /**
@@ -1427,7 +1427,7 @@ declare module "factorio:runtime" {
1427
1427
  * - `"middle"`
1428
1428
  * - `"baseline"`
1429
1429
  * - `"bottom"`
1430
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/VerticalTextAlign.html Online documentation}
1430
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/VerticalTextAlign.html Online documentation}
1431
1431
  */
1432
1432
  export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
1433
1433
  /**
@@ -1436,7 +1436,7 @@ declare module "factorio:runtime" {
1436
1436
  * ## Union members
1437
1437
  * - {@link LuaQualityPrototype}: The quality prototype.
1438
1438
  * - `string`: The prototype name.
1439
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/QualityID.html Online documentation}
1439
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/QualityID.html Online documentation}
1440
1440
  */
1441
1441
  export type QualityID = LuaQualityPrototype | string
1442
1442
  /**
@@ -1445,7 +1445,7 @@ declare module "factorio:runtime" {
1445
1445
  * ## Union members
1446
1446
  * - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
1447
1447
  * - `string`: By name of the recipe category prototype.
1448
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RecipeCategoryID.html Online documentation}
1448
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RecipeCategoryID.html Online documentation}
1449
1449
  */
1450
1450
  export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
1451
1451
  /**
@@ -1455,7 +1455,7 @@ declare module "factorio:runtime" {
1455
1455
  * - {@link LuaRecipePrototype}: By recipe prototype.
1456
1456
  * - {@link LuaRecipe}: By instance of recipe.
1457
1457
  * - `string`: By name of the recipe prototype.
1458
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RecipeID.html Online documentation}
1458
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RecipeID.html Online documentation}
1459
1459
  */
1460
1460
  export type RecipeID = LuaRecipePrototype | LuaRecipe | string
1461
1461
  /**
@@ -1465,7 +1465,7 @@ declare module "factorio:runtime" {
1465
1465
  * - {@link LuaTilePrototype}: By tile prototype.
1466
1466
  * - {@link LuaTile}: By instance of tile.
1467
1467
  * - `string`: By name of the tile prototype.
1468
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TileID.html Online documentation}
1468
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TileID.html Online documentation}
1469
1469
  */
1470
1470
  export type TileID = LuaTilePrototype | LuaTile | string
1471
1471
  export interface Fluid {
@@ -1489,7 +1489,7 @@ declare module "factorio:runtime" {
1489
1489
  * - {@link LuaEquipmentPrototype}: The equipment prototype.
1490
1490
  * - {@link LuaEquipment}: The equipment.
1491
1491
  * - `string`: The prototype name.
1492
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentID.html Online documentation}
1492
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentID.html Online documentation}
1493
1493
  */
1494
1494
  export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
1495
1495
  /**
@@ -1500,12 +1500,12 @@ declare module "factorio:runtime" {
1500
1500
  * - {@link LuaEquipment}: The equipment. Both prototype and quality of the provided equipment will be used.
1501
1501
  * - `string`: The prototype name. Normal quality will be used.
1502
1502
  * - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
1503
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentWithQualityID.html Online documentation}
1503
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentWithQualityID.html Online documentation}
1504
1504
  */
1505
1505
  export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
1506
1506
  /**
1507
1507
  * An equipment prototype with optional quality specification.
1508
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
1508
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
1509
1509
  */
1510
1510
  export interface EquipmentIDAndQualityIDPair {
1511
1511
  /**
@@ -1552,7 +1552,7 @@ declare module "factorio:runtime" {
1552
1552
  * @example
1553
1553
  * -- Shorthand
1554
1554
  * {{-2, -3}, {5, 8}}
1555
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BoundingBox.html Online documentation}
1555
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BoundingBox.html Online documentation}
1556
1556
  */
1557
1557
  export interface BoundingBox {
1558
1558
  readonly left_top: MapPosition
@@ -1562,7 +1562,7 @@ declare module "factorio:runtime" {
1562
1562
  /**
1563
1563
  * Array form of {@link BoundingBox}.
1564
1564
  * @see BoundingBox
1565
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BoundingBox.html Online documentation}
1565
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BoundingBox.html Online documentation}
1566
1566
  */
1567
1567
  export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
1568
1568
  export interface BoundingBoxWrite {
@@ -1595,7 +1595,7 @@ declare module "factorio:runtime" {
1595
1595
  * - 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.
1596
1596
  * - `string`: It will be the surface name. E.g. `"nauvis"`.
1597
1597
  * - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
1598
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SurfaceIdentification.html Online documentation}
1598
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SurfaceIdentification.html Online documentation}
1599
1599
  */
1600
1600
  export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
1601
1601
  /**
@@ -1605,13 +1605,13 @@ declare module "factorio:runtime" {
1605
1605
  * - PlayerIndex: The player index.
1606
1606
  * - `string`: The player name.
1607
1607
  * - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
1608
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PlayerIdentification.html Online documentation}
1608
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PlayerIdentification.html Online documentation}
1609
1609
  */
1610
1610
  export type PlayerIdentification = PlayerIndex | string | LuaPlayer
1611
1611
  /**
1612
1612
  * ## Union members
1613
1613
  * - {@link LuaSpacePlatform}
1614
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SpacePlatformIdentification.html Online documentation}
1614
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SpacePlatformIdentification.html Online documentation}
1615
1615
  */
1616
1616
  export type SpacePlatformIdentification = LuaSpacePlatform
1617
1617
  /**
@@ -1621,12 +1621,12 @@ declare module "factorio:runtime" {
1621
1621
  * - {@link LuaForce}[]: Array of many forces.
1622
1622
  * - {@link LuaForce}: A single force.
1623
1623
  * @see ForceSetWrite
1624
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ForceSet.html Online documentation}
1624
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ForceSet.html Online documentation}
1625
1625
  */
1626
1626
  export type ForceSet = LuaForce[] | LuaForce
1627
1627
  /**
1628
1628
  * Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
1629
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ForceSet.html Online documentation}
1629
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ForceSet.html Online documentation}
1630
1630
  */
1631
1631
  export type ForceSetWrite = readonly ForceID[] | ForceID
1632
1632
  /**
@@ -1635,7 +1635,7 @@ declare module "factorio:runtime" {
1635
1635
  * ## Union members
1636
1636
  * - {@link LuaDecorativePrototype}: The decorative prototype.
1637
1637
  * - `string`: The prototype name.
1638
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DecorativeID.html Online documentation}
1638
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DecorativeID.html Online documentation}
1639
1639
  */
1640
1640
  export type DecorativeID = LuaDecorativePrototype | string
1641
1641
  /**
@@ -1644,7 +1644,7 @@ declare module "factorio:runtime" {
1644
1644
  * ## Union members
1645
1645
  * - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
1646
1646
  * - `string`: The prototype name.
1647
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AsteroidChunkID.html Online documentation}
1647
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AsteroidChunkID.html Online documentation}
1648
1648
  */
1649
1649
  export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
1650
1650
  /**
@@ -1653,13 +1653,13 @@ declare module "factorio:runtime" {
1653
1653
  * ## Union members
1654
1654
  * - {@link LuaSpaceLocationPrototype}: The space location prototype.
1655
1655
  * - `string`: The prototype name.
1656
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SpaceLocationID.html Online documentation}
1656
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SpaceLocationID.html Online documentation}
1657
1657
  */
1658
1658
  export type SpaceLocationID = LuaSpaceLocationPrototype | string
1659
1659
  /**
1660
1660
  * 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.
1661
1661
  * @see SignalFilterWrite
1662
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SignalFilter.html Online documentation}
1662
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SignalFilter.html Online documentation}
1663
1663
  */
1664
1664
  export type SignalFilter =
1665
1665
  | {
@@ -1683,7 +1683,7 @@ declare module "factorio:runtime" {
1683
1683
  | string
1684
1684
  /**
1685
1685
  * Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
1686
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SignalFilter.html Online documentation}
1686
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SignalFilter.html Online documentation}
1687
1687
  */
1688
1688
  export type SignalFilterWrite =
1689
1689
  | {
@@ -1707,7 +1707,7 @@ declare module "factorio:runtime" {
1707
1707
  | string
1708
1708
  /**
1709
1709
  * @see LogisticFilterWrite
1710
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LogisticFilter.html Online documentation}
1710
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LogisticFilter.html Online documentation}
1711
1711
  */
1712
1712
  export interface LogisticFilter {
1713
1713
  /**
@@ -1733,7 +1733,7 @@ declare module "factorio:runtime" {
1733
1733
  }
1734
1734
  /**
1735
1735
  * Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
1736
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LogisticFilter.html Online documentation}
1736
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LogisticFilter.html Online documentation}
1737
1737
  */
1738
1738
  export interface LogisticFilterWrite {
1739
1739
  /**
@@ -1796,23 +1796,23 @@ declare module "factorio:runtime" {
1796
1796
  * ## Union members
1797
1797
  * - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
1798
1798
  * - `string`: The prototype name.
1799
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SurfacePropertyID.html Online documentation}
1799
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SurfacePropertyID.html Online documentation}
1800
1800
  */
1801
1801
  export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
1802
1802
  /**
1803
1803
  * When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
1804
1804
  * @see ScriptRenderTargetWrite
1805
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptRenderTarget.html Online documentation}
1805
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptRenderTarget.html Online documentation}
1806
1806
  */
1807
1807
  export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
1808
1808
  /**
1809
1809
  * Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
1810
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptRenderTarget.html Online documentation}
1810
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptRenderTarget.html Online documentation}
1811
1811
  */
1812
1812
  export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
1813
1813
  /**
1814
1814
  * @see ScriptRenderTargetTableWrite
1815
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptRenderTargetTable.html Online documentation}
1815
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptRenderTargetTable.html Online documentation}
1816
1816
  */
1817
1817
  export interface ScriptRenderTargetTable {
1818
1818
  readonly entity?: LuaEntity
@@ -1827,7 +1827,7 @@ declare module "factorio:runtime" {
1827
1827
  }
1828
1828
  /**
1829
1829
  * Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
1830
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptRenderTargetTable.html Online documentation}
1830
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptRenderTargetTable.html Online documentation}
1831
1831
  */
1832
1832
  export interface ScriptRenderTargetTableWrite {
1833
1833
  readonly entity?: LuaEntity
@@ -1846,13 +1846,13 @@ declare module "factorio:runtime" {
1846
1846
  * ## Union members
1847
1847
  * - {@link SimpleItemStack}
1848
1848
  * - {@link LuaItemStack}
1849
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemStackIdentification.html Online documentation}
1849
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemStackIdentification.html Online documentation}
1850
1850
  */
1851
1851
  export type ItemStackIdentification = SimpleItemStack | LuaItemStack
1852
1852
  /**
1853
1853
  * An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
1854
1854
  * @see QualityConditionWrite
1855
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/QualityCondition.html Online documentation}
1855
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/QualityCondition.html Online documentation}
1856
1856
  */
1857
1857
  export type QualityCondition =
1858
1858
  | {
@@ -1868,7 +1868,7 @@ declare module "factorio:runtime" {
1868
1868
  | string
1869
1869
  /**
1870
1870
  * Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
1871
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/QualityCondition.html Online documentation}
1871
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/QualityCondition.html Online documentation}
1872
1872
  */
1873
1873
  export type QualityConditionWrite =
1874
1874
  | {
@@ -1885,7 +1885,7 @@ declare module "factorio:runtime" {
1885
1885
  /**
1886
1886
  * The destination of a cargo pod.
1887
1887
  * @see CargoDestinationWrite
1888
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CargoDestination.html Online documentation}
1888
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CargoDestination.html Online documentation}
1889
1889
  */
1890
1890
  export interface CargoDestination {
1891
1891
  /**
@@ -1923,7 +1923,7 @@ declare module "factorio:runtime" {
1923
1923
  }
1924
1924
  /**
1925
1925
  * Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
1926
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CargoDestination.html Online documentation}
1926
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CargoDestination.html Online documentation}
1927
1927
  */
1928
1928
  export interface CargoDestinationWrite {
1929
1929
  /**
@@ -1977,7 +1977,7 @@ declare module "factorio:runtime" {
1977
1977
  * furthest = { zoom = 1 / 16 },
1978
1978
  * furthest_game_view = { distance = 200, max_distance = 400 }
1979
1979
  * }
1980
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ZoomLimits.html Online documentation}
1980
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ZoomLimits.html Online documentation}
1981
1981
  */
1982
1982
  export interface ZoomLimits {
1983
1983
  /**
@@ -2007,7 +2007,7 @@ declare module "factorio:runtime" {
2007
2007
  *
2008
2008
  * -- Method 2: Specify a dynamic zoom level based on the window dimensions.
2009
2009
  * { distance = 200, max_distance = 500 }
2010
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ZoomSpecification.html Online documentation}
2010
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ZoomSpecification.html Online documentation}
2011
2011
  */
2012
2012
  export interface ZoomSpecification {
2013
2013
  /**
@@ -2031,13 +2031,13 @@ declare module "factorio:runtime" {
2031
2031
  * - {@link LuaCustomInputPrototype}: Custom input prototype.
2032
2032
  * - {@link defines.events}: Event identifier.
2033
2033
  * - `string`: Name of the event.
2034
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEventType.html Online documentation}
2034
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEventType.html Online documentation}
2035
2035
  */
2036
2036
  export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
2037
2037
  /**
2038
2038
  * 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.
2039
2039
  * @see TilePositionArray
2040
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TilePosition.html Online documentation}
2040
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TilePosition.html Online documentation}
2041
2041
  */
2042
2042
  export interface TilePosition {
2043
2043
  readonly x: int
@@ -2046,14 +2046,14 @@ declare module "factorio:runtime" {
2046
2046
  /**
2047
2047
  * Array form of {@link TilePosition}.
2048
2048
  * @see TilePosition
2049
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TilePosition.html Online documentation}
2049
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TilePosition.html Online documentation}
2050
2050
  */
2051
2051
  export type TilePositionArray = readonly [int, int]
2052
2052
  /**
2053
2053
  * The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
2054
2054
  *
2055
2055
  * This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
2056
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RealOrientation.html Online documentation}
2056
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RealOrientation.html Online documentation}
2057
2057
  */
2058
2058
  export type RealOrientation = float
2059
2059
  /**
@@ -2085,7 +2085,7 @@ declare module "factorio:runtime" {
2085
2085
  * -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
2086
2086
  * -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
2087
2087
  * -- translation result would be "Unknown key: 'item-description.furnace'".
2088
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LocalisedString.html Online documentation}
2088
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LocalisedString.html Online documentation}
2089
2089
  */
2090
2090
  export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
2091
2091
  /**
@@ -2100,7 +2100,7 @@ declare module "factorio:runtime" {
2100
2100
  * @example
2101
2101
  * -- Shorthand
2102
2102
  * {1.625, 2.375}
2103
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapPosition.html Online documentation}
2103
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapPosition.html Online documentation}
2104
2104
  */
2105
2105
  export interface MapPosition {
2106
2106
  readonly x: double
@@ -2109,7 +2109,7 @@ declare module "factorio:runtime" {
2109
2109
  /**
2110
2110
  * Array form of {@link MapPosition}.
2111
2111
  * @see MapPosition
2112
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapPosition.html Online documentation}
2112
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapPosition.html Online documentation}
2113
2113
  */
2114
2114
  export type MapPositionArray = readonly [double, double]
2115
2115
  /**
@@ -2122,7 +2122,7 @@ declare module "factorio:runtime" {
2122
2122
  * red2 = {r = 0.5, a = 0.5} -- Same color as red1
2123
2123
  * black = {} -- All channels omitted: black
2124
2124
  * red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
2125
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Color.html Online documentation}
2125
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Color.html Online documentation}
2126
2126
  */
2127
2127
  export interface Color {
2128
2128
  readonly r?: float
@@ -2133,7 +2133,7 @@ declare module "factorio:runtime" {
2133
2133
  /**
2134
2134
  * Array form of {@link Color}.
2135
2135
  * @see Color
2136
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Color.html Online documentation}
2136
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Color.html Online documentation}
2137
2137
  */
2138
2138
  export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
2139
2139
  /**
@@ -2141,13 +2141,13 @@ declare module "factorio:runtime" {
2141
2141
  * - `"center-to-center"`
2142
2142
  * - `"bounding-box-to-bounding-box"`
2143
2143
  * - `"center-to-bounding-box"`
2144
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RangeMode.html Online documentation}
2144
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RangeMode.html Online documentation}
2145
2145
  */
2146
2146
  export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
2147
2147
  /**
2148
2148
  * 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.
2149
2149
  * @see BlueprintEntityWrite
2150
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintEntity.html Online documentation}
2150
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintEntity.html Online documentation}
2151
2151
  */
2152
2152
  export interface BlueprintEntity {
2153
2153
  /**
@@ -2361,7 +2361,7 @@ declare module "factorio:runtime" {
2361
2361
  }
2362
2362
  /**
2363
2363
  * Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
2364
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintEntity.html Online documentation}
2364
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintEntity.html Online documentation}
2365
2365
  */
2366
2366
  export interface BlueprintEntityWrite {
2367
2367
  /**
@@ -2582,7 +2582,7 @@ declare module "factorio:runtime" {
2582
2582
  }
2583
2583
  /**
2584
2584
  * @see BlueprintEquipmentWrite
2585
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintEquipment.html Online documentation}
2585
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintEquipment.html Online documentation}
2586
2586
  */
2587
2587
  export interface BlueprintEquipment {
2588
2588
  readonly equipment: ItemIDAndQualityIDPair
@@ -2590,7 +2590,7 @@ declare module "factorio:runtime" {
2590
2590
  }
2591
2591
  /**
2592
2592
  * Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
2593
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintEquipment.html Online documentation}
2593
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintEquipment.html Online documentation}
2594
2594
  */
2595
2595
  export interface BlueprintEquipmentWrite {
2596
2596
  readonly equipment: ItemIDAndQualityIDPairWrite
@@ -2598,7 +2598,7 @@ declare module "factorio:runtime" {
2598
2598
  }
2599
2599
  /**
2600
2600
  * @see BlueprintInventoryWrite
2601
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintInventory.html Online documentation}
2601
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintInventory.html Online documentation}
2602
2602
  */
2603
2603
  export interface BlueprintInventory {
2604
2604
  readonly filters?: BlueprintLogisticFilter[]
@@ -2609,7 +2609,7 @@ declare module "factorio:runtime" {
2609
2609
  }
2610
2610
  /**
2611
2611
  * Write form of {@link BlueprintInventory}, where some properties allow additional values as input compared to the read form.
2612
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintInventory.html Online documentation}
2612
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintInventory.html Online documentation}
2613
2613
  */
2614
2614
  export interface BlueprintInventoryWrite {
2615
2615
  readonly filters?: readonly BlueprintLogisticFilterWrite[]
@@ -2630,7 +2630,7 @@ declare module "factorio:runtime" {
2630
2630
  }
2631
2631
  /**
2632
2632
  * @see BlueprintControlBehaviorWrite
2633
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintControlBehavior.html Online documentation}
2633
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintControlBehavior.html Online documentation}
2634
2634
  */
2635
2635
  export interface BlueprintControlBehavior {
2636
2636
  /**
@@ -2883,7 +2883,7 @@ declare module "factorio:runtime" {
2883
2883
  }
2884
2884
  /**
2885
2885
  * Write form of {@link BlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
2886
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintControlBehavior.html Online documentation}
2886
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintControlBehavior.html Online documentation}
2887
2887
  */
2888
2888
  export interface BlueprintControlBehaviorWrite {
2889
2889
  /**
@@ -3144,7 +3144,7 @@ declare module "factorio:runtime" {
3144
3144
  * - `target_entity_number`
3145
3145
  *
3146
3146
  * - `target_wire_connector_id`
3147
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintWire.html Online documentation}
3147
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintWire.html Online documentation}
3148
3148
  */
3149
3149
  export type BlueprintWire = readonly [uint, defines.wire_connector_id, uint, defines.wire_connector_id]
3150
3150
  /**
@@ -3177,7 +3177,7 @@ declare module "factorio:runtime" {
3177
3177
  * "2500 * (L - 3)"
3178
3178
  * @example
3179
3179
  * "(4e5 * (abs(speed) + 10.5)) / weight"
3180
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MathExpression.html Online documentation}
3180
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MathExpression.html Online documentation}
3181
3181
  */
3182
3182
  export type MathExpression = string
3183
3183
  /**
@@ -3360,7 +3360,7 @@ declare module "factorio:runtime" {
3360
3360
  * - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
3361
3361
  * - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
3362
3362
  * - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
3363
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/UndoRedoAction.html Online documentation}
3363
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/UndoRedoAction.html Online documentation}
3364
3364
  */
3365
3365
  export type UndoRedoAction =
3366
3366
  | BuiltEntityUndoRedoAction
@@ -3568,7 +3568,7 @@ declare module "factorio:runtime" {
3568
3568
  * - `"play-previous-track"`
3569
3569
  * - `"pause-resume-music"`
3570
3570
  * - `""`: Indicates no linked game control.
3571
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LinkedGameControl.html Online documentation}
3571
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LinkedGameControl.html Online documentation}
3572
3572
  */
3573
3573
  export type LinkedGameControl =
3574
3574
  | "move-up"
@@ -3767,7 +3767,7 @@ declare module "factorio:runtime" {
3767
3767
  * - `"not-friend"`: Forces which are not friends pass.
3768
3768
  * - `"same"`: The same force pass.
3769
3769
  * - `"not-same"`: The non-same forces pass.
3770
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ForceCondition.html Online documentation}
3770
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ForceCondition.html Online documentation}
3771
3771
  */
3772
3772
  export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
3773
3773
  export interface PipeConnectionDefinition {
@@ -3797,7 +3797,7 @@ declare module "factorio:runtime" {
3797
3797
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
3798
3798
  *
3799
3799
  * By default, none of these flags are set.
3800
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemPrototypeFlags.html Online documentation}
3800
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemPrototypeFlags.html Online documentation}
3801
3801
  */
3802
3802
  export type ItemPrototypeFlags = {
3803
3803
  readonly [T in ItemPrototypeFlag]?: true
@@ -3818,7 +3818,7 @@ declare module "factorio:runtime" {
3818
3818
  * - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
3819
3819
  * - `"spoil-result"`
3820
3820
  * - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
3821
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemPrototypeFlag.html Online documentation}
3821
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemPrototypeFlag.html Online documentation}
3822
3822
  */
3823
3823
  export type ItemPrototypeFlag =
3824
3824
  | "draw-logistic-overlay"
@@ -3835,12 +3835,12 @@ declare module "factorio:runtime" {
3835
3835
  | "ignore-spoil-time-modifier"
3836
3836
  /**
3837
3837
  * @see UpgradeMapperSourceWrite
3838
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/UpgradeMapperSource.html Online documentation}
3838
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/UpgradeMapperSource.html Online documentation}
3839
3839
  */
3840
3840
  export interface UpgradeMapperSource {
3841
3841
  readonly type: "item" | "entity"
3842
3842
  /**
3843
- * Name of the item, or entity.
3843
+ * Name of the item or entity.
3844
3844
  */
3845
3845
  readonly name?: string
3846
3846
  /**
@@ -3851,15 +3851,19 @@ declare module "factorio:runtime" {
3851
3851
  * The quality comparison type.
3852
3852
  */
3853
3853
  readonly comparator?: ComparatorStringRead
3854
+ /**
3855
+ * When upgrading modules, this defines the specific entities to apply the upgrade to. `nil` applies it to all entities.
3856
+ */
3857
+ readonly module_filter?: EntityIDFilter
3854
3858
  }
3855
3859
  /**
3856
3860
  * Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
3857
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/UpgradeMapperSource.html Online documentation}
3861
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/UpgradeMapperSource.html Online documentation}
3858
3862
  */
3859
3863
  export interface UpgradeMapperSourceWrite {
3860
3864
  readonly type: "item" | "entity"
3861
3865
  /**
3862
- * Name of the item, or entity.
3866
+ * Name of the item or entity.
3863
3867
  */
3864
3868
  readonly name?: string
3865
3869
  /**
@@ -3870,6 +3874,10 @@ declare module "factorio:runtime" {
3870
3874
  * The quality comparison type.
3871
3875
  */
3872
3876
  readonly comparator?: ComparatorString
3877
+ /**
3878
+ * When upgrading modules, this defines the specific entities to apply the upgrade to. `nil` applies it to all entities.
3879
+ */
3880
+ readonly module_filter?: EntityIDFilterWrite
3873
3881
  }
3874
3882
  export interface ItemStackDefinition {
3875
3883
  /**
@@ -3940,7 +3948,7 @@ declare module "factorio:runtime" {
3940
3948
  * - `"controllable-remove"`
3941
3949
  * - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
3942
3950
  * - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
3943
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SelectionModeFlags.html Online documentation}
3951
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SelectionModeFlags.html Online documentation}
3944
3952
  */
3945
3953
  export interface SelectionModeFlags {
3946
3954
  /**
@@ -4097,7 +4105,7 @@ declare module "factorio:runtime" {
4097
4105
  * - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
4098
4106
  * - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
4099
4107
  * - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
4100
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CapsuleAction.html Online documentation}
4108
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CapsuleAction.html Online documentation}
4101
4109
  */
4102
4110
  export type CapsuleAction =
4103
4111
  | ThrowCapsuleAction
@@ -4110,7 +4118,7 @@ declare module "factorio:runtime" {
4110
4118
  * - `"none"`
4111
4119
  * - `"whitelist"`
4112
4120
  * - `"blacklist"`
4113
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PrototypeFilterMode.html Online documentation}
4121
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PrototypeFilterMode.html Online documentation}
4114
4122
  */
4115
4123
  export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
4116
4124
  export interface SpoilToTriggerResult {
@@ -4123,23 +4131,51 @@ declare module "factorio:runtime" {
4123
4131
  */
4124
4132
  readonly items_per_trigger: uint
4125
4133
  }
4134
+ /**
4135
+ * @see UpgradeMapperDestinationWrite
4136
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/UpgradeMapperDestination.html Online documentation}
4137
+ */
4126
4138
  export interface UpgradeMapperDestination {
4139
+ readonly type: "item" | "entity"
4140
+ /**
4141
+ * Name of the item or entity.
4142
+ */
4143
+ readonly name?: string
4144
+ /**
4145
+ * Name of the quality prototype.
4146
+ */
4147
+ readonly quality?: string
4127
4148
  /**
4128
- * `"item"`, or `"entity"`.
4149
+ * When upgrading modules, this defines the maximum number of this module to be installed in the destination entity. `0` or `nil` means no limit.
4129
4150
  */
4151
+ readonly module_limit?: uint16
4152
+ /**
4153
+ * When upgrading entities, this defines explicit modules to be installed in the destination entity. Lists empty slots as `{}`.
4154
+ */
4155
+ readonly module_slots?: ItemIDAndQualityIDPair[]
4156
+ }
4157
+ /**
4158
+ * Write form of {@link UpgradeMapperDestination}, where some properties allow additional values as input compared to the read form.
4159
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/UpgradeMapperDestination.html Online documentation}
4160
+ */
4161
+ export interface UpgradeMapperDestinationWrite {
4130
4162
  readonly type: "item" | "entity"
4131
4163
  /**
4132
- * Name of the item, or entity.
4164
+ * Name of the item or entity.
4133
4165
  */
4134
4166
  readonly name?: string
4135
4167
  /**
4136
- * Name of the quality.
4168
+ * Name of the quality prototype.
4137
4169
  */
4138
4170
  readonly quality?: string
4139
4171
  /**
4140
- * when type is `"item"` and the mapper is configured to install modules the limit per machine. If `0` then no limit.
4172
+ * When upgrading modules, this defines the maximum number of this module to be installed in the destination entity. `0` or `nil` means no limit.
4141
4173
  */
4142
- readonly count?: uint
4174
+ readonly module_limit?: uint16
4175
+ /**
4176
+ * When upgrading entities, this defines explicit modules to be installed in the destination entity. Lists empty slots as `{}`.
4177
+ */
4178
+ readonly module_slots?: readonly ItemIDAndQualityIDPairWrite[]
4143
4179
  }
4144
4180
  /**
4145
4181
  * Target type of an {@link AmmoType}.
@@ -4148,7 +4184,7 @@ declare module "factorio:runtime" {
4148
4184
  * - `"entity"`: Fires at an entity.
4149
4185
  * - `"position"`: Fires directly at a position.
4150
4186
  * - `"direction"`: Fires in a direction.
4151
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TargetType.html Online documentation}
4187
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TargetType.html Online documentation}
4152
4188
  */
4153
4189
  export type TargetType = "entity" | "position" | "direction"
4154
4190
  export interface AmmoType {
@@ -4207,7 +4243,7 @@ declare module "factorio:runtime" {
4207
4243
  * @example
4208
4244
  * -- Shorthand
4209
4245
  * {1, 2}
4210
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentPosition.html Online documentation}
4246
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentPosition.html Online documentation}
4211
4247
  */
4212
4248
  export interface EquipmentPosition {
4213
4249
  readonly x: int
@@ -4216,7 +4252,7 @@ declare module "factorio:runtime" {
4216
4252
  /**
4217
4253
  * Array form of {@link EquipmentPosition}.
4218
4254
  * @see EquipmentPosition
4219
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentPosition.html Online documentation}
4255
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentPosition.html Online documentation}
4220
4256
  */
4221
4257
  export type EquipmentPositionArray = readonly [int, int]
4222
4258
  export interface ModSetting {
@@ -4227,7 +4263,7 @@ declare module "factorio:runtime" {
4227
4263
  }
4228
4264
  /**
4229
4265
  * An actual signal transmitted by the network.
4230
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Signal.html Online documentation}
4266
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Signal.html Online documentation}
4231
4267
  */
4232
4268
  export interface Signal {
4233
4269
  /**
@@ -4241,7 +4277,7 @@ declare module "factorio:runtime" {
4241
4277
  }
4242
4278
  /**
4243
4279
  * @see DisplayPanelMessageDefinitionWrite
4244
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DisplayPanelMessageDefinition.html Online documentation}
4280
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DisplayPanelMessageDefinition.html Online documentation}
4245
4281
  */
4246
4282
  export interface DisplayPanelMessageDefinition {
4247
4283
  /**
@@ -4259,7 +4295,7 @@ declare module "factorio:runtime" {
4259
4295
  }
4260
4296
  /**
4261
4297
  * Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
4262
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DisplayPanelMessageDefinition.html Online documentation}
4298
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DisplayPanelMessageDefinition.html Online documentation}
4263
4299
  */
4264
4300
  export interface DisplayPanelMessageDefinitionWrite {
4265
4301
  /**
@@ -4287,7 +4323,7 @@ declare module "factorio:runtime" {
4287
4323
  }
4288
4324
  /**
4289
4325
  * @see CircuitConditionWrite
4290
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CircuitCondition.html Online documentation}
4326
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CircuitCondition.html Online documentation}
4291
4327
  */
4292
4328
  export interface CircuitCondition {
4293
4329
  /**
@@ -4309,7 +4345,7 @@ declare module "factorio:runtime" {
4309
4345
  }
4310
4346
  /**
4311
4347
  * Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
4312
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CircuitCondition.html Online documentation}
4348
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CircuitCondition.html Online documentation}
4313
4349
  */
4314
4350
  export interface CircuitConditionWrite {
4315
4351
  /**
@@ -4331,7 +4367,7 @@ declare module "factorio:runtime" {
4331
4367
  }
4332
4368
  /**
4333
4369
  * @see SignalIDWrite
4334
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SignalID.html Online documentation}
4370
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SignalID.html Online documentation}
4335
4371
  */
4336
4372
  export interface SignalID {
4337
4373
  /**
@@ -4349,7 +4385,7 @@ declare module "factorio:runtime" {
4349
4385
  }
4350
4386
  /**
4351
4387
  * Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
4352
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SignalID.html Online documentation}
4388
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SignalID.html Online documentation}
4353
4389
  */
4354
4390
  export interface SignalIDWrite {
4355
4391
  /**
@@ -4385,7 +4421,7 @@ declare module "factorio:runtime" {
4385
4421
  * - `"space-location"`
4386
4422
  * - `"asteroid-chunk"`
4387
4423
  * - `"quality"`
4388
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SignalIDType.html Online documentation}
4424
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SignalIDType.html Online documentation}
4389
4425
  */
4390
4426
  export type SignalIDType =
4391
4427
  | "item"
@@ -4398,7 +4434,7 @@ declare module "factorio:runtime" {
4398
4434
  | "quality"
4399
4435
  /**
4400
4436
  * @see DeciderCombinatorParametersWrite
4401
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DeciderCombinatorParameters.html Online documentation}
4437
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DeciderCombinatorParameters.html Online documentation}
4402
4438
  */
4403
4439
  export interface DeciderCombinatorParameters {
4404
4440
  /**
@@ -4412,7 +4448,7 @@ declare module "factorio:runtime" {
4412
4448
  }
4413
4449
  /**
4414
4450
  * Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
4415
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DeciderCombinatorParameters.html Online documentation}
4451
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DeciderCombinatorParameters.html Online documentation}
4416
4452
  */
4417
4453
  export interface DeciderCombinatorParametersWrite {
4418
4454
  /**
@@ -4426,7 +4462,7 @@ declare module "factorio:runtime" {
4426
4462
  }
4427
4463
  /**
4428
4464
  * @see DeciderCombinatorConditionWrite
4429
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DeciderCombinatorCondition.html Online documentation}
4465
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DeciderCombinatorCondition.html Online documentation}
4430
4466
  */
4431
4467
  export interface DeciderCombinatorCondition {
4432
4468
  /**
@@ -4460,7 +4496,7 @@ declare module "factorio:runtime" {
4460
4496
  }
4461
4497
  /**
4462
4498
  * Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
4463
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DeciderCombinatorCondition.html Online documentation}
4499
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DeciderCombinatorCondition.html Online documentation}
4464
4500
  */
4465
4501
  export interface DeciderCombinatorConditionWrite {
4466
4502
  /**
@@ -4494,7 +4530,7 @@ declare module "factorio:runtime" {
4494
4530
  }
4495
4531
  /**
4496
4532
  * @see DeciderCombinatorOutputWrite
4497
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DeciderCombinatorOutput.html Online documentation}
4533
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DeciderCombinatorOutput.html Online documentation}
4498
4534
  */
4499
4535
  export interface DeciderCombinatorOutput {
4500
4536
  /**
@@ -4512,7 +4548,7 @@ declare module "factorio:runtime" {
4512
4548
  }
4513
4549
  /**
4514
4550
  * Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
4515
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DeciderCombinatorOutput.html Online documentation}
4551
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DeciderCombinatorOutput.html Online documentation}
4516
4552
  */
4517
4553
  export interface DeciderCombinatorOutputWrite {
4518
4554
  /**
@@ -4530,7 +4566,7 @@ declare module "factorio:runtime" {
4530
4566
  }
4531
4567
  /**
4532
4568
  * @see ArithmeticCombinatorParametersWrite
4533
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ArithmeticCombinatorParameters.html Online documentation}
4569
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ArithmeticCombinatorParameters.html Online documentation}
4534
4570
  */
4535
4571
  export interface ArithmeticCombinatorParameters {
4536
4572
  /**
@@ -4568,7 +4604,7 @@ declare module "factorio:runtime" {
4568
4604
  }
4569
4605
  /**
4570
4606
  * Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
4571
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ArithmeticCombinatorParameters.html Online documentation}
4607
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ArithmeticCombinatorParameters.html Online documentation}
4572
4608
  */
4573
4609
  export interface ArithmeticCombinatorParametersWrite {
4574
4610
  /**
@@ -4617,7 +4653,7 @@ declare module "factorio:runtime" {
4617
4653
  * - `"AND"`
4618
4654
  * - `"OR"`
4619
4655
  * - `"XOR"`
4620
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
4656
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
4621
4657
  */
4622
4658
  export type ArithmeticCombinatorParameterOperation =
4623
4659
  | "*"
@@ -4756,7 +4792,7 @@ declare module "factorio:runtime" {
4756
4792
  * - `"random"`: {@link RandomSelectorCombinatorParameters}
4757
4793
  * - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
4758
4794
  * - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
4759
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SelectorCombinatorParameters.html Online documentation}
4795
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SelectorCombinatorParameters.html Online documentation}
4760
4796
  */
4761
4797
  export type SelectorCombinatorParameters =
4762
4798
  | SelectSelectorCombinatorParameters
@@ -4767,7 +4803,7 @@ declare module "factorio:runtime" {
4767
4803
  | OtherSelectorCombinatorParameters
4768
4804
  /**
4769
4805
  * Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
4770
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SelectorCombinatorParameters.html Online documentation}
4806
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SelectorCombinatorParameters.html Online documentation}
4771
4807
  */
4772
4808
  export type SelectorCombinatorParametersWrite =
4773
4809
  | SelectSelectorCombinatorParametersWrite
@@ -4785,7 +4821,7 @@ declare module "factorio:runtime" {
4785
4821
  * - `"rocket-capacity"`
4786
4822
  * - `"stack-size"`
4787
4823
  * - `"quality-filter"`
4788
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SelectorCombinatorParameterOperation.html Online documentation}
4824
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SelectorCombinatorParameterOperation.html Online documentation}
4789
4825
  */
4790
4826
  export type SelectorCombinatorParameterOperation =
4791
4827
  | "select"
@@ -4826,7 +4862,7 @@ declare module "factorio:runtime" {
4826
4862
  }
4827
4863
  /**
4828
4864
  * An item thrown overboard on a space platform.
4829
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EjectedItem.html Online documentation}
4865
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EjectedItem.html Online documentation}
4830
4866
  */
4831
4867
  export interface EjectedItem {
4832
4868
  readonly item: LuaItemStack
@@ -4855,7 +4891,7 @@ declare module "factorio:runtime" {
4855
4891
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
4856
4892
  * -- minimum amount of 1 and a maximum amount of 5
4857
4893
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
4858
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Product.html Online documentation}
4894
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Product.html Online documentation}
4859
4895
  */
4860
4896
  export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
4861
4897
  /**
@@ -4866,7 +4902,7 @@ declare module "factorio:runtime" {
4866
4902
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
4867
4903
  * -- minimum amount of 1 and a maximum amount of 5
4868
4904
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
4869
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemProduct.html Online documentation}
4905
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemProduct.html Online documentation}
4870
4906
  */
4871
4907
  export interface ItemProduct {
4872
4908
  readonly type: "item"
@@ -4910,7 +4946,7 @@ declare module "factorio:runtime" {
4910
4946
  * {{type="fluid", name="heavy-oil", amount=1},
4911
4947
  * {type="fluid", name="light-oil", amount=4.5},
4912
4948
  * {type="fluid", name="petroleum-gas", amount=5.5}}
4913
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/FluidProduct.html Online documentation}
4949
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/FluidProduct.html Online documentation}
4914
4950
  */
4915
4951
  export interface FluidProduct {
4916
4952
  readonly type: "fluid"
@@ -4958,7 +4994,7 @@ declare module "factorio:runtime" {
4958
4994
  }
4959
4995
  /**
4960
4996
  * @see BlueprintScheduleRecordWrite
4961
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintScheduleRecord.html Online documentation}
4997
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintScheduleRecord.html Online documentation}
4962
4998
  */
4963
4999
  export interface BlueprintScheduleRecord {
4964
5000
  /**
@@ -4972,7 +5008,7 @@ declare module "factorio:runtime" {
4972
5008
  }
4973
5009
  /**
4974
5010
  * Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
4975
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintScheduleRecord.html Online documentation}
5011
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintScheduleRecord.html Online documentation}
4976
5012
  */
4977
5013
  export interface BlueprintScheduleRecordWrite {
4978
5014
  /**
@@ -4986,7 +5022,7 @@ declare module "factorio:runtime" {
4986
5022
  }
4987
5023
  /**
4988
5024
  * @see ScheduleRecordWrite
4989
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScheduleRecord.html Online documentation}
5025
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScheduleRecord.html Online documentation}
4990
5026
  */
4991
5027
  export interface ScheduleRecord {
4992
5028
  /**
@@ -5005,7 +5041,7 @@ declare module "factorio:runtime" {
5005
5041
  }
5006
5042
  /**
5007
5043
  * Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
5008
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScheduleRecord.html Online documentation}
5044
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScheduleRecord.html Online documentation}
5009
5045
  */
5010
5046
  export interface ScheduleRecordWrite {
5011
5047
  /**
@@ -5024,7 +5060,7 @@ declare module "factorio:runtime" {
5024
5060
  }
5025
5061
  /**
5026
5062
  * @see BlueprintScheduleInterruptWrite
5027
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintScheduleInterrupt.html Online documentation}
5063
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintScheduleInterrupt.html Online documentation}
5028
5064
  */
5029
5065
  export interface BlueprintScheduleInterrupt {
5030
5066
  /**
@@ -5040,7 +5076,7 @@ declare module "factorio:runtime" {
5040
5076
  }
5041
5077
  /**
5042
5078
  * Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
5043
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintScheduleInterrupt.html Online documentation}
5079
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintScheduleInterrupt.html Online documentation}
5044
5080
  */
5045
5081
  export interface BlueprintScheduleInterruptWrite {
5046
5082
  /**
@@ -5056,7 +5092,7 @@ declare module "factorio:runtime" {
5056
5092
  }
5057
5093
  /**
5058
5094
  * @see ScheduleInterruptWrite
5059
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScheduleInterrupt.html Online documentation}
5095
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScheduleInterrupt.html Online documentation}
5060
5096
  */
5061
5097
  export interface ScheduleInterrupt {
5062
5098
  /**
@@ -5072,7 +5108,7 @@ declare module "factorio:runtime" {
5072
5108
  }
5073
5109
  /**
5074
5110
  * Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
5075
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScheduleInterrupt.html Online documentation}
5111
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScheduleInterrupt.html Online documentation}
5076
5112
  */
5077
5113
  export interface ScheduleInterruptWrite {
5078
5114
  /**
@@ -5088,7 +5124,7 @@ declare module "factorio:runtime" {
5088
5124
  }
5089
5125
  /**
5090
5126
  * @see WaitConditionWrite
5091
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/WaitCondition.html Online documentation}
5127
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/WaitCondition.html Online documentation}
5092
5128
  */
5093
5129
  export interface WaitCondition {
5094
5130
  readonly type: WaitConditionType
@@ -5119,7 +5155,7 @@ declare module "factorio:runtime" {
5119
5155
  }
5120
5156
  /**
5121
5157
  * Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
5122
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/WaitCondition.html Online documentation}
5158
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/WaitCondition.html Online documentation}
5123
5159
  */
5124
5160
  export interface WaitConditionWrite {
5125
5161
  readonly type: WaitConditionType
@@ -5178,7 +5214,7 @@ declare module "factorio:runtime" {
5178
5214
  * - `"at_station"`
5179
5215
  * - `"not_at_station"`
5180
5216
  * - `"damage_taken"`
5181
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/WaitConditionType.html Online documentation}
5217
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/WaitConditionType.html Online documentation}
5182
5218
  */
5183
5219
  export type WaitConditionType =
5184
5220
  | "time"
@@ -5209,7 +5245,7 @@ declare module "factorio:runtime" {
5209
5245
  | "damage_taken"
5210
5246
  /**
5211
5247
  * @see BlueprintScheduleWrite
5212
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintSchedule.html Online documentation}
5248
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintSchedule.html Online documentation}
5213
5249
  */
5214
5250
  export interface BlueprintSchedule {
5215
5251
  readonly records?: BlueprintScheduleRecord[]
@@ -5218,7 +5254,7 @@ declare module "factorio:runtime" {
5218
5254
  }
5219
5255
  /**
5220
5256
  * Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
5221
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintSchedule.html Online documentation}
5257
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintSchedule.html Online documentation}
5222
5258
  */
5223
5259
  export interface BlueprintScheduleWrite {
5224
5260
  readonly records?: readonly BlueprintScheduleRecordWrite[]
@@ -5287,7 +5323,7 @@ declare module "factorio:runtime" {
5287
5323
  * - `"create-ghost-on-entity-death"`
5288
5324
  * - `"belt-stack-size-bonus"`
5289
5325
  * - `"vehicle-logistics"`
5290
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ModifierType.html Online documentation}
5326
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ModifierType.html Online documentation}
5291
5327
  */
5292
5328
  export type ModifierType =
5293
5329
  | "inserter-stack-size-bonus"
@@ -5483,7 +5519,7 @@ declare module "factorio:runtime" {
5483
5519
  * - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
5484
5520
  * - `"nothing"`: {@link NothingTechnologyModifier}
5485
5521
  * - Other types: {@link OtherTechnologyModifier}
5486
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TechnologyModifier.html Online documentation}
5522
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TechnologyModifier.html Online documentation}
5487
5523
  */
5488
5524
  export type TechnologyModifier =
5489
5525
  | GunSpeedTechnologyModifier
@@ -5561,7 +5597,7 @@ declare module "factorio:runtime" {
5561
5597
  * - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
5562
5598
  * - `"build-entity"`: {@link BuildEntityResearchTrigger}
5563
5599
  * - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
5564
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ResearchTrigger.html Online documentation}
5600
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ResearchTrigger.html Online documentation}
5565
5601
  */
5566
5602
  export type ResearchTrigger =
5567
5603
  | CraftItemResearchTrigger
@@ -5616,7 +5652,7 @@ declare module "factorio:runtime" {
5616
5652
  *
5617
5653
  * Other attributes may be specified depending on `type`:
5618
5654
  * - `"fluid"`: {@link FluidIngredient}
5619
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Ingredient.html Online documentation}
5655
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Ingredient.html Online documentation}
5620
5656
  */
5621
5657
  export type Ingredient = FluidIngredient | OtherIngredient
5622
5658
  /**
@@ -5637,7 +5673,7 @@ declare module "factorio:runtime" {
5637
5673
  * * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
5638
5674
  * score(chunk) = 1 / (1 + player + base)
5639
5675
  * ```
5640
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EnemyExpansionMapSettings.html Online documentation}
5676
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EnemyExpansionMapSettings.html Online documentation}
5641
5677
  */
5642
5678
  export interface EnemyExpansionMapSettings {
5643
5679
  /**
@@ -5693,10 +5729,6 @@ declare module "factorio:runtime" {
5693
5729
  */
5694
5730
  readonly max_expansion_cooldown: uint
5695
5731
  }
5696
- /**
5697
- * Used by {@link MapSettings} and {@link MapAndDifficultySettings}.
5698
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AsteroidMapSettings.html Online documentation}
5699
- */
5700
5732
  export interface AsteroidMapSettings {
5701
5733
  readonly spawning_rate: double
5702
5734
  readonly max_ray_portals_expanded_per_tick: uint
@@ -5914,7 +5946,7 @@ declare module "factorio:runtime" {
5914
5946
  }
5915
5947
  /**
5916
5948
  * A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
5917
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapAndDifficultySettings.html Online documentation}
5949
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapAndDifficultySettings.html Online documentation}
5918
5950
  */
5919
5951
  export interface MapAndDifficultySettings {
5920
5952
  readonly pollution: PollutionMapSettings
@@ -5935,7 +5967,7 @@ declare module "factorio:runtime" {
5935
5967
  * @example
5936
5968
  * -- Increase the number of short paths the pathfinder can cache.
5937
5969
  * game.map_settings.path_finder.short_cache_size = 15
5938
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapSettings.html Online documentation}
5970
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapSettings.html Online documentation}
5939
5971
  */
5940
5972
  export interface MapSettings {
5941
5973
  pollution: PollutionMapSettings
@@ -5947,7 +5979,7 @@ declare module "factorio:runtime" {
5947
5979
  asteroids: AsteroidMapSettings
5948
5980
  /**
5949
5981
  * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
5950
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
5982
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
5951
5983
  */
5952
5984
  max_failed_behavior_count: uint
5953
5985
  }
@@ -5976,7 +6008,7 @@ declare module "factorio:runtime" {
5976
6008
  * - `"very-high"`: equivalent to `2`.
5977
6009
  * - `"very-big"`: equivalent to `2`.
5978
6010
  * - `"very-good"`: equivalent to `2`.
5979
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapGenSize.html Online documentation}
6011
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapGenSize.html Online documentation}
5980
6012
  */
5981
6013
  export type MapGenSize =
5982
6014
  | float
@@ -5998,7 +6030,7 @@ declare module "factorio:runtime" {
5998
6030
  | "very-good"
5999
6031
  /**
6000
6032
  * These values are for the time frame of one second (60 ticks).
6001
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PollutionMapSettings.html Online documentation}
6033
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PollutionMapSettings.html Online documentation}
6002
6034
  */
6003
6035
  export interface PollutionMapSettings {
6004
6036
  /**
@@ -6052,7 +6084,7 @@ declare module "factorio:runtime" {
6052
6084
  }
6053
6085
  /**
6054
6086
  * These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
6055
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EnemyEvolutionMapSettings.html Online documentation}
6087
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EnemyEvolutionMapSettings.html Online documentation}
6056
6088
  */
6057
6089
  export interface EnemyEvolutionMapSettings {
6058
6090
  /**
@@ -6074,7 +6106,7 @@ declare module "factorio:runtime" {
6074
6106
  }
6075
6107
  /**
6076
6108
  * @see AutoplaceControlWrite
6077
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AutoplaceControl.html Online documentation}
6109
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AutoplaceControl.html Online documentation}
6078
6110
  */
6079
6111
  export interface AutoplaceControl {
6080
6112
  /**
@@ -6092,7 +6124,7 @@ declare module "factorio:runtime" {
6092
6124
  }
6093
6125
  /**
6094
6126
  * Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
6095
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AutoplaceControl.html Online documentation}
6127
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AutoplaceControl.html Online documentation}
6096
6128
  */
6097
6129
  export interface AutoplaceControlWrite {
6098
6130
  /**
@@ -6110,7 +6142,7 @@ declare module "factorio:runtime" {
6110
6142
  }
6111
6143
  /**
6112
6144
  * @see CliffPlacementSettingsWrite
6113
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CliffPlacementSettings.html Online documentation}
6145
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CliffPlacementSettings.html Online documentation}
6114
6146
  */
6115
6147
  export interface CliffPlacementSettings {
6116
6148
  /**
@@ -6140,7 +6172,7 @@ declare module "factorio:runtime" {
6140
6172
  }
6141
6173
  /**
6142
6174
  * Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
6143
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CliffPlacementSettings.html Online documentation}
6175
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CliffPlacementSettings.html Online documentation}
6144
6176
  */
6145
6177
  export interface CliffPlacementSettingsWrite {
6146
6178
  /**
@@ -6170,7 +6202,7 @@ declare module "factorio:runtime" {
6170
6202
  }
6171
6203
  /**
6172
6204
  * @see AutoplaceSettingsWrite
6173
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AutoplaceSettings.html Online documentation}
6205
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AutoplaceSettings.html Online documentation}
6174
6206
  */
6175
6207
  export interface AutoplaceSettings {
6176
6208
  /**
@@ -6184,7 +6216,7 @@ declare module "factorio:runtime" {
6184
6216
  }
6185
6217
  /**
6186
6218
  * Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
6187
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AutoplaceSettings.html Online documentation}
6219
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AutoplaceSettings.html Online documentation}
6188
6220
  */
6189
6221
  export interface AutoplaceSettingsWrite {
6190
6222
  /**
@@ -6219,7 +6251,7 @@ declare module "factorio:runtime" {
6219
6251
  * surface.map_gen_settings = mgs
6220
6252
  * -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
6221
6253
  * -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
6222
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapGenSettings.html Online documentation}
6254
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapGenSettings.html Online documentation}
6223
6255
  */
6224
6256
  export interface MapGenSettings {
6225
6257
  /**
@@ -6274,7 +6306,7 @@ declare module "factorio:runtime" {
6274
6306
  }
6275
6307
  /**
6276
6308
  * Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
6277
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapGenSettings.html Online documentation}
6309
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapGenSettings.html Online documentation}
6278
6310
  */
6279
6311
  export interface MapGenSettingsWrite {
6280
6312
  /**
@@ -6358,12 +6390,12 @@ declare module "factorio:runtime" {
6358
6390
  }
6359
6391
  /**
6360
6392
  * The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
6361
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/NoiseExpressionSourceString.html Online documentation}
6393
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/NoiseExpressionSourceString.html Online documentation}
6362
6394
  */
6363
6395
  export type NoiseExpressionSourceString = string
6364
6396
  /**
6365
6397
  * Specifies how probability and richness are calculated when placing something on the map.
6366
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AutoplaceSpecification.html Online documentation}
6398
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AutoplaceSpecification.html Online documentation}
6367
6399
  */
6368
6400
  export interface AutoplaceSpecification {
6369
6401
  readonly placement_density: uint
@@ -6443,8 +6475,8 @@ declare module "factorio:runtime" {
6443
6475
  _customEventIdBrand: any
6444
6476
  }
6445
6477
  /**
6446
- * 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.52/events.html the list of Factorio events} for more information on these.
6447
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EventData.html Online documentation}
6478
+ * 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.54/events.html the list of Factorio events} for more information on these.
6479
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EventData.html Online documentation}
6448
6480
  */
6449
6481
  export interface EventData {
6450
6482
  /**
@@ -6526,23 +6558,23 @@ declare module "factorio:runtime" {
6526
6558
  }
6527
6559
  /**
6528
6560
  * Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
6529
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DifficultySettings.html Online documentation}
6561
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DifficultySettings.html Online documentation}
6530
6562
  */
6531
6563
  export interface DifficultySettings {
6532
6564
  /**
6533
6565
  * A value in range [0.001, 1000].
6534
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
6566
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
6535
6567
  */
6536
6568
  technology_price_multiplier: double
6537
6569
  /**
6538
6570
  * A value in range [0.01, 100].
6539
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
6571
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
6540
6572
  */
6541
6573
  spoil_time_modifier: double
6542
6574
  }
6543
6575
  /**
6544
6576
  * A single pipe connection for a given fluidbox.
6545
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PipeConnection.html Online documentation}
6577
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PipeConnection.html Online documentation}
6546
6578
  */
6547
6579
  export interface PipeConnection {
6548
6580
  readonly flow_direction: "input" | "output" | "input-output"
@@ -6607,7 +6639,7 @@ declare module "factorio:runtime" {
6607
6639
  }
6608
6640
  /**
6609
6641
  * @see AsteroidChunkWrite
6610
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AsteroidChunk.html Online documentation}
6642
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AsteroidChunk.html Online documentation}
6611
6643
  */
6612
6644
  export interface AsteroidChunk {
6613
6645
  /**
@@ -6619,7 +6651,7 @@ declare module "factorio:runtime" {
6619
6651
  }
6620
6652
  /**
6621
6653
  * Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
6622
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AsteroidChunk.html Online documentation}
6654
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AsteroidChunk.html Online documentation}
6623
6655
  */
6624
6656
  export interface AsteroidChunkWrite {
6625
6657
  /**
@@ -6631,7 +6663,7 @@ declare module "factorio:runtime" {
6631
6663
  }
6632
6664
  /**
6633
6665
  * The data that can be extracted from a map exchange string, as a plain table.
6634
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/MapExchangeStringData.html Online documentation}
6666
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/MapExchangeStringData.html Online documentation}
6635
6667
  */
6636
6668
  export interface MapExchangeStringData {
6637
6669
  readonly map_settings: MapAndDifficultySettings
@@ -6657,7 +6689,7 @@ declare module "factorio:runtime" {
6657
6689
  }
6658
6690
  /**
6659
6691
  * A {@link ChunkPosition} with an added bounding box for the area of the chunk.
6660
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ChunkPositionAndArea.html Online documentation}
6692
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ChunkPositionAndArea.html Online documentation}
6661
6693
  */
6662
6694
  export interface ChunkPositionAndArea {
6663
6695
  readonly x: int
@@ -6705,7 +6737,7 @@ declare module "factorio:runtime" {
6705
6737
  * - `"check-box"`
6706
6738
  * - `"switch"`
6707
6739
  * - `"label"`
6708
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SimulationWidgetType.html Online documentation}
6740
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SimulationWidgetType.html Online documentation}
6709
6741
  */
6710
6742
  export type SimulationWidgetType =
6711
6743
  | "signal-id"
@@ -6873,7 +6905,7 @@ declare module "factorio:runtime" {
6873
6905
  /**
6874
6906
  * 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].
6875
6907
  * @see ColorModifierArray
6876
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ColorModifier.html Online documentation}
6908
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ColorModifier.html Online documentation}
6877
6909
  */
6878
6910
  export interface ColorModifier {
6879
6911
  readonly r?: float
@@ -6884,7 +6916,7 @@ declare module "factorio:runtime" {
6884
6916
  /**
6885
6917
  * Array form of {@link ColorModifier}.
6886
6918
  * @see ColorModifier
6887
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ColorModifier.html Online documentation}
6919
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ColorModifier.html Online documentation}
6888
6920
  */
6889
6921
  export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
6890
6922
  export interface Decorative {
@@ -6903,7 +6935,7 @@ declare module "factorio:runtime" {
6903
6935
  /**
6904
6936
  * An area defined using the map editor.
6905
6937
  * @see ScriptAreaWrite
6906
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptArea.html Online documentation}
6938
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptArea.html Online documentation}
6907
6939
  */
6908
6940
  export interface ScriptArea {
6909
6941
  readonly area: BoundingBox
@@ -6913,7 +6945,7 @@ declare module "factorio:runtime" {
6913
6945
  }
6914
6946
  /**
6915
6947
  * Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
6916
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptArea.html Online documentation}
6948
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptArea.html Online documentation}
6917
6949
  */
6918
6950
  export interface ScriptAreaWrite {
6919
6951
  readonly area: BoundingBoxWrite | BoundingBoxArray
@@ -6924,7 +6956,7 @@ declare module "factorio:runtime" {
6924
6956
  /**
6925
6957
  * A position defined using the map editor.
6926
6958
  * @see ScriptPositionWrite
6927
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptPosition.html Online documentation}
6959
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptPosition.html Online documentation}
6928
6960
  */
6929
6961
  export interface ScriptPosition {
6930
6962
  readonly position: MapPosition
@@ -6934,7 +6966,7 @@ declare module "factorio:runtime" {
6934
6966
  }
6935
6967
  /**
6936
6968
  * Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
6937
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ScriptPosition.html Online documentation}
6969
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ScriptPosition.html Online documentation}
6938
6970
  */
6939
6971
  export interface ScriptPositionWrite {
6940
6972
  readonly position: MapPosition | MapPositionArray
@@ -6944,7 +6976,7 @@ declare module "factorio:runtime" {
6944
6976
  }
6945
6977
  /**
6946
6978
  * A table used to define a manual shape for a piece of equipment.
6947
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentPoint.html Online documentation}
6979
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentPoint.html Online documentation}
6948
6980
  */
6949
6981
  export interface EquipmentPoint {
6950
6982
  readonly x: uint
@@ -6953,7 +6985,7 @@ declare module "factorio:runtime" {
6953
6985
  /**
6954
6986
  * 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.
6955
6987
  * @see GuiLocationArray
6956
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GuiLocation.html Online documentation}
6988
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GuiLocation.html Online documentation}
6957
6989
  */
6958
6990
  export interface GuiLocation {
6959
6991
  readonly x: int
@@ -6962,7 +6994,7 @@ declare module "factorio:runtime" {
6962
6994
  /**
6963
6995
  * Array form of {@link GuiLocation}.
6964
6996
  * @see GuiLocation
6965
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GuiLocation.html Online documentation}
6997
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GuiLocation.html Online documentation}
6966
6998
  */
6967
6999
  export type GuiLocationArray = readonly [int, int]
6968
7000
  export interface TabAndContent {
@@ -6987,7 +7019,7 @@ declare module "factorio:runtime" {
6987
7019
  }
6988
7020
  /**
6989
7021
  * Either `icon`, `text`, or both must be provided.
6990
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ChartTagSpec.html Online documentation}
7022
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ChartTagSpec.html Online documentation}
6991
7023
  */
6992
7024
  export interface ChartTagSpec {
6993
7025
  readonly position: MapPosition | MapPositionArray
@@ -7109,7 +7141,7 @@ declare module "factorio:runtime" {
7109
7141
  * - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
7110
7142
  * - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
7111
7143
  * - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
7112
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TrainPathRequestType.html Online documentation}
7144
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TrainPathRequestType.html Online documentation}
7113
7145
  */
7114
7146
  export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
7115
7147
  /**
@@ -7118,7 +7150,7 @@ declare module "factorio:runtime" {
7118
7150
  * - {@link RailEndGoal}
7119
7151
  * - {@link LuaRailEnd}
7120
7152
  * - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
7121
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TrainPathFinderGoal.html Online documentation}
7153
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TrainPathFinderGoal.html Online documentation}
7122
7154
  */
7123
7155
  export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
7124
7156
  export interface TrainStopGoal {
@@ -7308,7 +7340,7 @@ declare module "factorio:runtime" {
7308
7340
  * - {@link LuaEntityMarkedForUpgradeEventFilter}
7309
7341
  * - {@link LuaScriptRaisedDestroyEventFilter}
7310
7342
  * @see EventFilterWrite
7311
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EventFilter.html Online documentation}
7343
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EventFilter.html Online documentation}
7312
7344
  */
7313
7345
  export type EventFilter =
7314
7346
  | LuaScriptRaisedTeleportedEventFilter[]
@@ -7338,7 +7370,7 @@ declare module "factorio:runtime" {
7338
7370
  | LuaScriptRaisedDestroyEventFilter[]
7339
7371
  /**
7340
7372
  * Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
7341
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EventFilter.html Online documentation}
7373
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EventFilter.html Online documentation}
7342
7374
  */
7343
7375
  export type EventFilterWrite =
7344
7376
  | readonly LuaScriptRaisedTeleportedEventFilter[]
@@ -7368,7 +7400,7 @@ declare module "factorio:runtime" {
7368
7400
  | readonly LuaScriptRaisedDestroyEventFilter[]
7369
7401
  /**
7370
7402
  * @see CircuitConditionDefinitionWrite
7371
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CircuitConditionDefinition.html Online documentation}
7403
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CircuitConditionDefinition.html Online documentation}
7372
7404
  */
7373
7405
  export interface CircuitConditionDefinition {
7374
7406
  /**
@@ -7394,7 +7426,7 @@ declare module "factorio:runtime" {
7394
7426
  }
7395
7427
  /**
7396
7428
  * Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
7397
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CircuitConditionDefinition.html Online documentation}
7429
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CircuitConditionDefinition.html Online documentation}
7398
7430
  */
7399
7431
  export interface CircuitConditionDefinitionWrite {
7400
7432
  /**
@@ -7442,7 +7474,7 @@ declare module "factorio:runtime" {
7442
7474
  * - {@link LuaGuiElement}: Target type {@link defines.target_type.gui_element gui_element}; `useful_id` {@link LuaGuiElement#index LuaGuiElement::index}
7443
7475
  * - {@link LuaCargoHatch}: Target type {@link defines.target_type.cargo_hatch cargo_hatch}
7444
7476
  * - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
7445
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RegistrationTarget.html Online documentation}
7477
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RegistrationTarget.html Online documentation}
7446
7478
  */
7447
7479
  export type RegistrationTarget =
7448
7480
  | LuaEntity
@@ -7479,6 +7511,10 @@ declare module "factorio:runtime" {
7479
7511
  */
7480
7512
  readonly comparator?: ComparatorStringRead
7481
7513
  }
7514
+ /**
7515
+ * @see EntityIDFilterWrite
7516
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityIDFilter.html Online documentation}
7517
+ */
7482
7518
  export interface EntityIDFilter {
7483
7519
  /**
7484
7520
  * The entity name.
@@ -7493,6 +7529,24 @@ declare module "factorio:runtime" {
7493
7529
  */
7494
7530
  readonly comparator?: ComparatorStringRead
7495
7531
  }
7532
+ /**
7533
+ * Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
7534
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityIDFilter.html Online documentation}
7535
+ */
7536
+ export interface EntityIDFilterWrite {
7537
+ /**
7538
+ * The entity name.
7539
+ */
7540
+ readonly name: string
7541
+ /**
7542
+ * The name of the quality.
7543
+ */
7544
+ readonly quality?: string
7545
+ /**
7546
+ * The quality comparison type.
7547
+ */
7548
+ readonly comparator?: ComparatorString
7549
+ }
7496
7550
  /**
7497
7551
  * Types `"signal"` and `"item-group"` do not support filters.
7498
7552
  *
@@ -7512,7 +7566,7 @@ declare module "factorio:runtime" {
7512
7566
  * - {@link FluidPrototypeFilter}
7513
7567
  * - {@link EntityPrototypeFilter}
7514
7568
  * @see PrototypeFilterWrite
7515
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PrototypeFilter.html Online documentation}
7569
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PrototypeFilter.html Online documentation}
7516
7570
  */
7517
7571
  export type PrototypeFilter =
7518
7572
  | ModSettingPrototypeFilter[]
@@ -7529,7 +7583,7 @@ declare module "factorio:runtime" {
7529
7583
  | EntityPrototypeFilter[]
7530
7584
  /**
7531
7585
  * Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
7532
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PrototypeFilter.html Online documentation}
7586
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PrototypeFilter.html Online documentation}
7533
7587
  */
7534
7588
  export type PrototypeFilterWrite =
7535
7589
  | readonly ModSettingPrototypeFilter[]
@@ -7548,7 +7602,7 @@ declare module "factorio:runtime" {
7548
7602
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
7549
7603
  *
7550
7604
  * By default, none of these flags are set.
7551
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityPrototypeFlags.html Online documentation}
7605
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityPrototypeFlags.html Online documentation}
7552
7606
  */
7553
7607
  export type EntityPrototypeFlags = {
7554
7608
  readonly [T in EntityPrototypeFlag]?: true
@@ -7582,7 +7636,7 @@ declare module "factorio:runtime" {
7582
7636
  * - `"building-direction-16-way"`
7583
7637
  * - `"snap-to-rail-support-spot"`
7584
7638
  * - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
7585
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityPrototypeFlag.html Online documentation}
7639
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityPrototypeFlag.html Online documentation}
7586
7640
  */
7587
7641
  export type EntityPrototypeFlag =
7588
7642
  | "not-rotatable"
@@ -7612,7 +7666,7 @@ declare module "factorio:runtime" {
7612
7666
  | "not-in-made-in"
7613
7667
  /**
7614
7668
  * A single filter used by an infinity-pipe type entity.
7615
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/InfinityPipeFilter.html Online documentation}
7669
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/InfinityPipeFilter.html Online documentation}
7616
7670
  */
7617
7671
  export interface InfinityPipeFilter {
7618
7672
  /**
@@ -7638,7 +7692,7 @@ declare module "factorio:runtime" {
7638
7692
  }
7639
7693
  /**
7640
7694
  * @see ProgrammableSpeakerParametersWrite
7641
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ProgrammableSpeakerParameters.html Online documentation}
7695
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ProgrammableSpeakerParameters.html Online documentation}
7642
7696
  */
7643
7697
  export interface ProgrammableSpeakerParameters {
7644
7698
  readonly playback_volume: float
@@ -7649,7 +7703,7 @@ declare module "factorio:runtime" {
7649
7703
  }
7650
7704
  /**
7651
7705
  * Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
7652
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ProgrammableSpeakerParameters.html Online documentation}
7706
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ProgrammableSpeakerParameters.html Online documentation}
7653
7707
  */
7654
7708
  export interface ProgrammableSpeakerParametersWrite {
7655
7709
  readonly playback_volume: float
@@ -7665,12 +7719,12 @@ declare module "factorio:runtime" {
7665
7719
  * - `"local"`: The sound can be heard within the audible range around the speaker.
7666
7720
  * - `"surface"`: The sound can be heard anywhere on the speaker's surface.
7667
7721
  * - `"global"`: The sound can be heard everywhere.
7668
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
7722
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
7669
7723
  */
7670
7724
  export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
7671
7725
  /**
7672
7726
  * @see ProgrammableSpeakerAlertParametersWrite
7673
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7727
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7674
7728
  */
7675
7729
  export interface ProgrammableSpeakerAlertParameters {
7676
7730
  readonly show_alert: boolean
@@ -7680,7 +7734,7 @@ declare module "factorio:runtime" {
7680
7734
  }
7681
7735
  /**
7682
7736
  * Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
7683
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7737
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7684
7738
  */
7685
7739
  export interface ProgrammableSpeakerAlertParametersWrite {
7686
7740
  readonly show_alert: boolean
@@ -7696,7 +7750,7 @@ declare module "factorio:runtime" {
7696
7750
  }
7697
7751
  /**
7698
7752
  * The settings used by a heat-interface type entity.
7699
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/HeatSetting.html Online documentation}
7753
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/HeatSetting.html Online documentation}
7700
7754
  */
7701
7755
  export interface HeatSetting {
7702
7756
  /**
@@ -7730,7 +7784,7 @@ declare module "factorio:runtime" {
7730
7784
  * - `"none-to-south"`
7731
7785
  * - `"south-to-none"`
7732
7786
  * - `"none-to-north"`
7733
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/CliffOrientation.html Online documentation}
7787
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/CliffOrientation.html Online documentation}
7734
7788
  */
7735
7789
  export type CliffOrientation =
7736
7790
  | "west-to-east"
@@ -7760,12 +7814,30 @@ declare module "factorio:runtime" {
7760
7814
  * - `"one-way"`: Fluid will flow if input level > output level.
7761
7815
  * - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
7762
7816
  * - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
7763
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ValveMode.html Online documentation}
7817
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ValveMode.html Online documentation}
7764
7818
  */
7765
7819
  export type ValveMode = "one-way" | "overflow" | "top-up"
7820
+ export interface InserterItemFilter {
7821
+ /**
7822
+ * Position of the corresponding filter slot.
7823
+ */
7824
+ readonly index: uint
7825
+ /**
7826
+ * Item prototype name of the item to filter.
7827
+ */
7828
+ readonly name: string
7829
+ /**
7830
+ * Quality prototype name of the item to filter.
7831
+ */
7832
+ readonly quality?: string
7833
+ /**
7834
+ * Quality comparator to use for the quality filter.
7835
+ */
7836
+ readonly comparator?: string
7837
+ }
7766
7838
  /**
7767
7839
  * A single filter used by an infinity-filters instance.
7768
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/InfinityInventoryFilter.html Online documentation}
7840
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/InfinityInventoryFilter.html Online documentation}
7769
7841
  */
7770
7842
  export interface InfinityInventoryFilter {
7771
7843
  /**
@@ -7816,7 +7888,7 @@ declare module "factorio:runtime" {
7816
7888
  /**
7817
7889
  * Defines an item type that a blueprint entity will request.
7818
7890
  * @see BlueprintInsertPlanWrite
7819
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintInsertPlan.html Online documentation}
7891
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintInsertPlan.html Online documentation}
7820
7892
  */
7821
7893
  export interface BlueprintInsertPlan {
7822
7894
  /**
@@ -7830,7 +7902,7 @@ declare module "factorio:runtime" {
7830
7902
  }
7831
7903
  /**
7832
7904
  * Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
7833
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintInsertPlan.html Online documentation}
7905
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintInsertPlan.html Online documentation}
7834
7906
  */
7835
7907
  export interface BlueprintInsertPlanWrite {
7836
7908
  /**
@@ -7858,7 +7930,7 @@ declare module "factorio:runtime" {
7858
7930
  }
7859
7931
  /**
7860
7932
  * A single offer on a market entity.
7861
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Offer.html Online documentation}
7933
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Offer.html Online documentation}
7862
7934
  */
7863
7935
  export interface Offer {
7864
7936
  /**
@@ -7932,12 +8004,12 @@ declare module "factorio:runtime" {
7932
8004
  *
7933
8005
  * The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
7934
8006
  *
7935
- * {@link https://lua-api.factorio.com/2.0.52/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
8007
+ * {@link https://lua-api.factorio.com/2.0.54/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
7936
8008
  *
7937
- * {@link https://lua-api.factorio.com/2.0.52/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
8009
+ * {@link https://lua-api.factorio.com/2.0.54/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
7938
8010
  *
7939
- * {@link https://lua-api.factorio.com/2.0.52/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
7940
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SoundPath.html Online documentation}
8011
+ * {@link https://lua-api.factorio.com/2.0.54/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
8012
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SoundPath.html Online documentation}
7941
8013
  */
7942
8014
  export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
7943
8015
  /**
@@ -7955,7 +8027,7 @@ declare module "factorio:runtime" {
7955
8027
  * - `"weapon"`
7956
8028
  * - `"explosion"`
7957
8029
  * - `"enemy"`
7958
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SoundType.html Online documentation}
8030
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SoundType.html Online documentation}
7959
8031
  */
7960
8032
  export type SoundType =
7961
8033
  | "game-effect"
@@ -7996,7 +8068,7 @@ declare module "factorio:runtime" {
7996
8068
  }
7997
8069
  /**
7998
8070
  * @see BlueprintLogisticFilterWrite
7999
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintLogisticFilter.html Online documentation}
8071
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintLogisticFilter.html Online documentation}
8000
8072
  */
8001
8073
  export interface BlueprintLogisticFilter {
8002
8074
  readonly index: LogisticFilterIndex
@@ -8026,7 +8098,7 @@ declare module "factorio:runtime" {
8026
8098
  }
8027
8099
  /**
8028
8100
  * Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
8029
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/BlueprintLogisticFilter.html Online documentation}
8101
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/BlueprintLogisticFilter.html Online documentation}
8030
8102
  */
8031
8103
  export interface BlueprintLogisticFilterWrite {
8032
8104
  readonly index: LogisticFilterIndex
@@ -8056,7 +8128,7 @@ declare module "factorio:runtime" {
8056
8128
  }
8057
8129
  /**
8058
8130
  * @see LogisticSectionWrite
8059
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LogisticSection.html Online documentation}
8131
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LogisticSection.html Online documentation}
8060
8132
  */
8061
8133
  export interface LogisticSection {
8062
8134
  readonly index: uint8
@@ -8073,7 +8145,7 @@ declare module "factorio:runtime" {
8073
8145
  }
8074
8146
  /**
8075
8147
  * Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
8076
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LogisticSection.html Online documentation}
8148
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LogisticSection.html Online documentation}
8077
8149
  */
8078
8150
  export interface LogisticSectionWrite {
8079
8151
  readonly index: uint8
@@ -8090,7 +8162,7 @@ declare module "factorio:runtime" {
8090
8162
  }
8091
8163
  /**
8092
8164
  * @see LogisticSectionsWrite
8093
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LogisticSections.html Online documentation}
8165
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LogisticSections.html Online documentation}
8094
8166
  */
8095
8167
  export interface LogisticSections {
8096
8168
  readonly sections?: LogisticSection[]
@@ -8101,7 +8173,7 @@ declare module "factorio:runtime" {
8101
8173
  }
8102
8174
  /**
8103
8175
  * Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
8104
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LogisticSections.html Online documentation}
8176
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LogisticSections.html Online documentation}
8105
8177
  */
8106
8178
  export interface LogisticSectionsWrite {
8107
8179
  readonly sections?: readonly LogisticSectionWrite[]
@@ -8124,7 +8196,7 @@ declare module "factorio:runtime" {
8124
8196
  * - {@link LuaAsteroidChunkPrototype}
8125
8197
  * - {@link LuaVirtualSignalPrototype}
8126
8198
  * - {@link LuaSurfacePrototype}
8127
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/FactoriopediaID.html Online documentation}
8199
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/FactoriopediaID.html Online documentation}
8128
8200
  */
8129
8201
  export type FactoriopediaID =
8130
8202
  | LuaItemPrototype
@@ -8145,7 +8217,7 @@ declare module "factorio:runtime" {
8145
8217
  * ## Union members
8146
8218
  * - `"horizontal"`
8147
8219
  * - `"vertical"`
8148
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/GuiDirection.html Online documentation}
8220
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/GuiDirection.html Online documentation}
8149
8221
  */
8150
8222
  export type GuiDirection = "horizontal" | "vertical"
8151
8223
  /**
@@ -8163,7 +8235,7 @@ declare module "factorio:runtime" {
8163
8235
  * - `"top-right"`
8164
8236
  * - `"right"`: The same as `"middle-right"`
8165
8237
  * - `"bottom-right"`
8166
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Alignment.html Online documentation}
8238
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Alignment.html Online documentation}
8167
8239
  */
8168
8240
  export type Alignment =
8169
8241
  | "top-left"
@@ -8221,7 +8293,7 @@ declare module "factorio:runtime" {
8221
8293
  }
8222
8294
  /**
8223
8295
  * A set of trigger target masks.
8224
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TriggerTargetMask.html Online documentation}
8296
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TriggerTargetMask.html Online documentation}
8225
8297
  */
8226
8298
  export type TriggerTargetMask = Record<string, true>
8227
8299
  export interface TriggerDelivery {
@@ -8266,7 +8338,7 @@ declare module "factorio:runtime" {
8266
8338
  * - `"destroy-decoratives"`
8267
8339
  * - `"camera-effect"`
8268
8340
  * - `"activate-impact"`
8269
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TriggerEffectItemType.html Online documentation}
8341
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TriggerEffectItemType.html Online documentation}
8270
8342
  */
8271
8343
  export type TriggerEffectItemType =
8272
8344
  | "damage"
@@ -8399,7 +8471,7 @@ declare module "factorio:runtime" {
8399
8471
  * Other attributes may be specified depending on `type`:
8400
8472
  * - `"projectile"`: {@link ProjectileAttackParameters}
8401
8473
  * - `"stream"`: {@link StreamAttackParameters}
8402
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AttackParameters.html Online documentation}
8474
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AttackParameters.html Online documentation}
8403
8475
  */
8404
8476
  export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
8405
8477
  /**
@@ -8408,12 +8480,12 @@ declare module "factorio:runtime" {
8408
8480
  * 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.
8409
8481
  * @example
8410
8482
  * {a = 1, b = true, c = "three", d = {e = "f"}}
8411
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Tags.html Online documentation}
8483
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Tags.html Online documentation}
8412
8484
  */
8413
8485
  export type Tags = Record<string, AnyBasic>
8414
8486
  /**
8415
8487
  * @see TileWrite
8416
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Tile.html Online documentation}
8488
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Tile.html Online documentation}
8417
8489
  */
8418
8490
  export interface Tile {
8419
8491
  /**
@@ -8427,7 +8499,7 @@ declare module "factorio:runtime" {
8427
8499
  }
8428
8500
  /**
8429
8501
  * Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
8430
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Tile.html Online documentation}
8502
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Tile.html Online documentation}
8431
8503
  */
8432
8504
  export interface TileWrite {
8433
8505
  /**
@@ -8441,92 +8513,92 @@ declare module "factorio:runtime" {
8441
8513
  }
8442
8514
  /**
8443
8515
  * 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.
8444
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/float.html Online documentation}
8516
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/float.html Online documentation}
8445
8517
  */
8446
8518
  export type float = number
8447
8519
  /**
8448
8520
  * A double-precision floating-point number. This is the same data type as all Lua numbers use.
8449
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/double.html Online documentation}
8521
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/double.html Online documentation}
8450
8522
  */
8451
8523
  export type double = number
8452
8524
  /**
8453
8525
  * 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
8454
8526
  *
8455
8527
  * Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
8456
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/int.html Online documentation}
8528
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/int.html Online documentation}
8457
8529
  */
8458
8530
  export type int = number
8459
8531
  /**
8460
8532
  * 8-bit signed integer. Possible values are `-128` to `127`.
8461
8533
  *
8462
8534
  * Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
8463
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/int8.html Online documentation}
8535
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/int8.html Online documentation}
8464
8536
  */
8465
8537
  export type int8 = number
8466
8538
  /**
8467
8539
  * 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
8468
8540
  *
8469
8541
  * Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
8470
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/uint.html Online documentation}
8542
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/uint.html Online documentation}
8471
8543
  */
8472
8544
  export type uint = number
8473
8545
  /**
8474
8546
  * 8-bit unsigned integer. Possible values are `0` to `255`.
8475
8547
  *
8476
8548
  * Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
8477
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/uint8.html Online documentation}
8549
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/uint8.html Online documentation}
8478
8550
  */
8479
8551
  export type uint8 = number
8480
8552
  /**
8481
8553
  * 16-bit unsigned integer. Possible values are `0` to `65 535`.
8482
8554
  *
8483
8555
  * Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
8484
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/uint16.html Online documentation}
8556
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/uint16.html Online documentation}
8485
8557
  */
8486
8558
  export type uint16 = number
8487
8559
  /**
8488
8560
  * 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
8489
8561
  *
8490
8562
  * Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
8491
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/uint64.html Online documentation}
8563
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/uint64.html Online documentation}
8492
8564
  */
8493
8565
  export type uint64 = number
8494
8566
  /**
8495
8567
  * 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.
8496
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/nil.html Online documentation}
8568
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/nil.html Online documentation}
8497
8569
  */
8498
8570
  export type nil = undefined
8499
8571
  /**
8500
8572
  * Tables are enclosed in curly brackets, like this `{}`.
8501
8573
  *
8502
8574
  * 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.
8503
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/table.html Online documentation}
8575
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/table.html Online documentation}
8504
8576
  */
8505
8577
  export type table = object
8506
8578
  /**
8507
- * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.52/classes.html Classes} page.
8508
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaObject.html Online documentation}
8579
+ * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.54/classes.html Classes} page.
8580
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaObject.html Online documentation}
8509
8581
  */
8510
8582
  export interface LuaObject {
8511
8583
  readonly object_name: string
8512
8584
  }
8513
8585
  /**
8514
8586
  * Any basic type (string, number, boolean) or table.
8515
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AnyBasic.html Online documentation}
8587
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AnyBasic.html Online documentation}
8516
8588
  */
8517
8589
  export type AnyBasic = string | boolean | number | table
8518
8590
  /**
8519
8591
  * Any basic type (string, number, boolean), table, or LuaObject.
8520
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/Any.html Online documentation}
8592
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/Any.html Online documentation}
8521
8593
  */
8522
8594
  export type Any = string | boolean | number | table | LuaObject
8523
8595
  /**
8524
8596
  * 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}`.
8525
8597
  *
8526
- * {@link https://lua-api.factorio.com/2.0.52/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:}
8598
+ * {@link https://lua-api.factorio.com/2.0.54/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:}
8527
8599
  *
8528
- * {@link https://lua-api.factorio.com/2.0.52/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:}
8529
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/PropertyExpressionNames.html Online documentation}
8600
+ * {@link https://lua-api.factorio.com/2.0.54/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:}
8601
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/PropertyExpressionNames.html Online documentation}
8530
8602
  */
8531
8603
  export type PropertyExpressionNames = Record<string, string>
8532
8604
  /**
@@ -8583,7 +8655,7 @@ declare module "factorio:runtime" {
8583
8655
  * - `"type"`: {@link TypeModSettingPrototypeFilter}
8584
8656
  * - `"mod"`: {@link ModModSettingPrototypeFilter}
8585
8657
  * - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
8586
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ModSettingPrototypeFilter.html Online documentation}
8658
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ModSettingPrototypeFilter.html Online documentation}
8587
8659
  */
8588
8660
  export type ModSettingPrototypeFilter =
8589
8661
  | TypeModSettingPrototypeFilter
@@ -8647,7 +8719,7 @@ declare module "factorio:runtime" {
8647
8719
  * Other attributes may be specified depending on `filter`:
8648
8720
  * - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
8649
8721
  * - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
8650
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8722
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8651
8723
  */
8652
8724
  export type SpaceLocationPrototypeFilter =
8653
8725
  | TypeSpaceLocationPrototypeFilter
@@ -8655,7 +8727,7 @@ declare module "factorio:runtime" {
8655
8727
  | OtherSpaceLocationPrototypeFilter
8656
8728
  /**
8657
8729
  * Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8658
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8730
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8659
8731
  */
8660
8732
  export type SpaceLocationPrototypeFilterWrite =
8661
8733
  | TypeSpaceLocationPrototypeFilter
@@ -8703,7 +8775,7 @@ declare module "factorio:runtime" {
8703
8775
  *
8704
8776
  * Other attributes may be specified depending on `filter`:
8705
8777
  * - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
8706
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/DecorativePrototypeFilter.html Online documentation}
8778
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/DecorativePrototypeFilter.html Online documentation}
8707
8779
  */
8708
8780
  export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
8709
8781
  /**
@@ -8845,7 +8917,7 @@ declare module "factorio:runtime" {
8845
8917
  * - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
8846
8918
  * - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
8847
8919
  * - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
8848
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TilePrototypeFilter.html Online documentation}
8920
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TilePrototypeFilter.html Online documentation}
8849
8921
  */
8850
8922
  export type TilePrototypeFilter =
8851
8923
  | CollisionMaskTilePrototypeFilter
@@ -8856,7 +8928,7 @@ declare module "factorio:runtime" {
8856
8928
  | OtherTilePrototypeFilter
8857
8929
  /**
8858
8930
  * Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
8859
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TilePrototypeFilter.html Online documentation}
8931
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TilePrototypeFilter.html Online documentation}
8860
8932
  */
8861
8933
  export type TilePrototypeFilterWrite =
8862
8934
  | CollisionMaskTilePrototypeFilter
@@ -9211,7 +9283,7 @@ declare module "factorio:runtime" {
9211
9283
  * - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
9212
9284
  * - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
9213
9285
  * - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
9214
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemPrototypeFilter.html Online documentation}
9286
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemPrototypeFilter.html Online documentation}
9215
9287
  */
9216
9288
  export type ItemPrototypeFilter =
9217
9289
  | PlaceResultItemPrototypeFilter
@@ -9233,7 +9305,7 @@ declare module "factorio:runtime" {
9233
9305
  | OtherItemPrototypeFilter
9234
9306
  /**
9235
9307
  * Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9236
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/ItemPrototypeFilter.html Online documentation}
9308
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/ItemPrototypeFilter.html Online documentation}
9237
9309
  */
9238
9310
  export type ItemPrototypeFilterWrite =
9239
9311
  | PlaceResultItemPrototypeFilterWrite
@@ -9373,7 +9445,7 @@ declare module "factorio:runtime" {
9373
9445
  * - `"level"`: {@link LevelTechnologyPrototypeFilter}
9374
9446
  * - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
9375
9447
  * - `"time"`: {@link TimeTechnologyPrototypeFilter}
9376
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TechnologyPrototypeFilter.html Online documentation}
9448
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TechnologyPrototypeFilter.html Online documentation}
9377
9449
  */
9378
9450
  export type TechnologyPrototypeFilter =
9379
9451
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -9384,7 +9456,7 @@ declare module "factorio:runtime" {
9384
9456
  | OtherTechnologyPrototypeFilter
9385
9457
  /**
9386
9458
  * Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9387
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/TechnologyPrototypeFilter.html Online documentation}
9459
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/TechnologyPrototypeFilter.html Online documentation}
9388
9460
  */
9389
9461
  export type TechnologyPrototypeFilterWrite =
9390
9462
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -9644,7 +9716,7 @@ declare module "factorio:runtime" {
9644
9716
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
9645
9717
  * - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
9646
9718
  * - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
9647
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RecipePrototypeFilter.html Online documentation}
9719
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RecipePrototypeFilter.html Online documentation}
9648
9720
  */
9649
9721
  export type RecipePrototypeFilter =
9650
9722
  | HasIngredientItemRecipePrototypeFilter
@@ -9660,7 +9732,7 @@ declare module "factorio:runtime" {
9660
9732
  | OtherRecipePrototypeFilter
9661
9733
  /**
9662
9734
  * Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
9663
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/RecipePrototypeFilter.html Online documentation}
9735
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/RecipePrototypeFilter.html Online documentation}
9664
9736
  */
9665
9737
  export type RecipePrototypeFilterWrite =
9666
9738
  | HasIngredientItemRecipePrototypeFilterWrite
@@ -9712,7 +9784,7 @@ declare module "factorio:runtime" {
9712
9784
  *
9713
9785
  * Other attributes may be specified depending on `filter`:
9714
9786
  * - `"type"`: {@link TypeAchievementPrototypeFilter}
9715
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/AchievementPrototypeFilter.html Online documentation}
9787
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/AchievementPrototypeFilter.html Online documentation}
9716
9788
  */
9717
9789
  export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
9718
9790
  /**
@@ -9753,7 +9825,7 @@ declare module "factorio:runtime" {
9753
9825
  *
9754
9826
  * Other attributes may be specified depending on `filter`:
9755
9827
  * - `"type"`: {@link TypeEquipmentPrototypeFilter}
9756
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EquipmentPrototypeFilter.html Online documentation}
9828
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EquipmentPrototypeFilter.html Online documentation}
9757
9829
  */
9758
9830
  export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
9759
9831
  /**
@@ -9938,7 +10010,7 @@ declare module "factorio:runtime" {
9938
10010
  * - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
9939
10011
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
9940
10012
  * - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
9941
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/FluidPrototypeFilter.html Online documentation}
10013
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/FluidPrototypeFilter.html Online documentation}
9942
10014
  */
9943
10015
  export type FluidPrototypeFilter =
9944
10016
  | NameFluidPrototypeFilter
@@ -9952,7 +10024,7 @@ declare module "factorio:runtime" {
9952
10024
  | OtherFluidPrototypeFilter
9953
10025
  /**
9954
10026
  * Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9955
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/FluidPrototypeFilter.html Online documentation}
10027
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/FluidPrototypeFilter.html Online documentation}
9956
10028
  */
9957
10029
  export type FluidPrototypeFilterWrite =
9958
10030
  | NameFluidPrototypeFilter
@@ -10192,7 +10264,7 @@ declare module "factorio:runtime" {
10192
10264
  * - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
10193
10265
  * - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
10194
10266
  * - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
10195
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityPrototypeFilter.html Online documentation}
10267
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityPrototypeFilter.html Online documentation}
10196
10268
  */
10197
10269
  export type EntityPrototypeFilter =
10198
10270
  | NameEntityPrototypeFilter
@@ -10206,7 +10278,7 @@ declare module "factorio:runtime" {
10206
10278
  | OtherEntityPrototypeFilter
10207
10279
  /**
10208
10280
  * Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
10209
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/EntityPrototypeFilter.html Online documentation}
10281
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/EntityPrototypeFilter.html Online documentation}
10210
10282
  */
10211
10283
  export type EntityPrototypeFilterWrite =
10212
10284
  | NameEntityPrototypeFilter
@@ -10315,7 +10387,7 @@ declare module "factorio:runtime" {
10315
10387
  * - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
10316
10388
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
10317
10389
  * - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
10318
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
10390
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
10319
10391
  */
10320
10392
  export type LuaScriptRaisedTeleportedEventFilter =
10321
10393
  | TypeScriptRaisedTeleportedEventFilter
@@ -10420,7 +10492,7 @@ declare module "factorio:runtime" {
10420
10492
  * - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
10421
10493
  * - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
10422
10494
  * - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
10423
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
10495
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
10424
10496
  */
10425
10497
  export type LuaPreRobotMinedEntityEventFilter =
10426
10498
  | TypePreRobotMinedEntityEventFilter
@@ -10525,7 +10597,7 @@ declare module "factorio:runtime" {
10525
10597
  * - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
10526
10598
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
10527
10599
  * - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
10528
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
10600
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
10529
10601
  */
10530
10602
  export type LuaScriptRaisedBuiltEventFilter =
10531
10603
  | TypeScriptRaisedBuiltEventFilter
@@ -10630,7 +10702,7 @@ declare module "factorio:runtime" {
10630
10702
  * - `"name"`: {@link NamePlatformMinedEntityEventFilter}
10631
10703
  * - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
10632
10704
  * - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
10633
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10705
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10634
10706
  */
10635
10707
  export type LuaPlatformMinedEntityEventFilter =
10636
10708
  | TypePlatformMinedEntityEventFilter
@@ -10747,7 +10819,7 @@ declare module "factorio:runtime" {
10747
10819
  * - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
10748
10820
  * - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
10749
10821
  * - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
10750
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
10822
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
10751
10823
  */
10752
10824
  export type LuaRobotBuiltEntityEventFilter =
10753
10825
  | TypeRobotBuiltEntityEventFilter
@@ -10853,7 +10925,7 @@ declare module "factorio:runtime" {
10853
10925
  * - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
10854
10926
  * - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
10855
10927
  * - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
10856
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10928
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10857
10929
  */
10858
10930
  export type LuaPrePlayerMinedEntityEventFilter =
10859
10931
  | TypePrePlayerMinedEntityEventFilter
@@ -10960,7 +11032,7 @@ declare module "factorio:runtime" {
10960
11032
  * - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
10961
11033
  * - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
10962
11034
  * - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
10963
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
11035
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10964
11036
  */
10965
11037
  export type LuaEntityDeconstructionCancelledEventFilter =
10966
11038
  | TypeEntityDeconstructionCancelledEventFilter
@@ -11065,7 +11137,7 @@ declare module "factorio:runtime" {
11065
11137
  * - `"name"`: {@link NamePreGhostUpgradedEventFilter}
11066
11138
  * - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
11067
11139
  * - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
11068
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
11140
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
11069
11141
  */
11070
11142
  export type LuaPreGhostUpgradedEventFilter =
11071
11143
  | TypePreGhostUpgradedEventFilter
@@ -11182,7 +11254,7 @@ declare module "factorio:runtime" {
11182
11254
  * - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
11183
11255
  * - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
11184
11256
  * - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
11185
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
11257
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
11186
11258
  */
11187
11259
  export type LuaPlatformBuiltEntityEventFilter =
11188
11260
  | TypePlatformBuiltEntityEventFilter
@@ -11288,7 +11360,7 @@ declare module "factorio:runtime" {
11288
11360
  * - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
11289
11361
  * - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
11290
11362
  * - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
11291
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
11363
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
11292
11364
  */
11293
11365
  export type LuaPrePlatformMinedEntityEventFilter =
11294
11366
  | TypePrePlatformMinedEntityEventFilter
@@ -11393,7 +11465,7 @@ declare module "factorio:runtime" {
11393
11465
  * - `"name"`: {@link NameEntityClonedEventFilter}
11394
11466
  * - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
11395
11467
  * - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
11396
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityClonedEventFilter.html Online documentation}
11468
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityClonedEventFilter.html Online documentation}
11397
11469
  */
11398
11470
  export type LuaEntityClonedEventFilter =
11399
11471
  | TypeEntityClonedEventFilter
@@ -11498,7 +11570,7 @@ declare module "factorio:runtime" {
11498
11570
  * - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
11499
11571
  * - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
11500
11572
  * - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
11501
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11573
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11502
11574
  */
11503
11575
  export type LuaPlayerRepairedEntityEventFilter =
11504
11576
  | TypePlayerRepairedEntityEventFilter
@@ -11544,7 +11616,7 @@ declare module "factorio:runtime" {
11544
11616
  *
11545
11617
  * Other attributes may be specified depending on `filter`:
11546
11618
  * - `"type"`: {@link TypePostEntityDiedEventFilter}
11547
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11619
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11548
11620
  */
11549
11621
  export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter | OtherPostEntityDiedEventFilter
11550
11622
  /**
@@ -11644,7 +11716,7 @@ declare module "factorio:runtime" {
11644
11716
  * - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
11645
11717
  * - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
11646
11718
  * - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
11647
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
11719
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
11648
11720
  */
11649
11721
  export type LuaPreGhostDeconstructedEventFilter =
11650
11722
  | TypePreGhostDeconstructedEventFilter
@@ -11749,7 +11821,7 @@ declare module "factorio:runtime" {
11749
11821
  * - `"name"`: {@link NamePlayerMinedEntityEventFilter}
11750
11822
  * - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
11751
11823
  * - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
11752
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11824
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11753
11825
  */
11754
11826
  export type LuaPlayerMinedEntityEventFilter =
11755
11827
  | TypePlayerMinedEntityEventFilter
@@ -11854,7 +11926,7 @@ declare module "factorio:runtime" {
11854
11926
  * - `"name"`: {@link NameSectorScannedEventFilter}
11855
11927
  * - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
11856
11928
  * - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
11857
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaSectorScannedEventFilter.html Online documentation}
11929
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaSectorScannedEventFilter.html Online documentation}
11858
11930
  */
11859
11931
  export type LuaSectorScannedEventFilter =
11860
11932
  | TypeSectorScannedEventFilter
@@ -11959,7 +12031,7 @@ declare module "factorio:runtime" {
11959
12031
  * - `"name"`: {@link NameRobotMinedEntityEventFilter}
11960
12032
  * - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
11961
12033
  * - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
11962
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
12034
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
11963
12035
  */
11964
12036
  export type LuaRobotMinedEntityEventFilter =
11965
12037
  | TypeRobotMinedEntityEventFilter
@@ -12066,7 +12138,7 @@ declare module "factorio:runtime" {
12066
12138
  * - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
12067
12139
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
12068
12140
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
12069
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
12141
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
12070
12142
  */
12071
12143
  export type LuaEntityMarkedForDeconstructionEventFilter =
12072
12144
  | TypeEntityMarkedForDeconstructionEventFilter
@@ -12171,7 +12243,7 @@ declare module "factorio:runtime" {
12171
12243
  * - `"name"`: {@link NameScriptRaisedReviveEventFilter}
12172
12244
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
12173
12245
  * - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
12174
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
12246
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
12175
12247
  */
12176
12248
  export type LuaScriptRaisedReviveEventFilter =
12177
12249
  | TypeScriptRaisedReviveEventFilter
@@ -12288,7 +12360,7 @@ declare module "factorio:runtime" {
12288
12360
  * - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
12289
12361
  * - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
12290
12362
  * - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
12291
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
12363
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
12292
12364
  */
12293
12365
  export type LuaPlayerBuiltEntityEventFilter =
12294
12366
  | TypePlayerBuiltEntityEventFilter
@@ -12394,7 +12466,7 @@ declare module "factorio:runtime" {
12394
12466
  * - `"name"`: {@link NameUpgradeCancelledEventFilter}
12395
12467
  * - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
12396
12468
  * - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
12397
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
12469
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
12398
12470
  */
12399
12471
  export type LuaUpgradeCancelledEventFilter =
12400
12472
  | TypeUpgradeCancelledEventFilter
@@ -12574,7 +12646,7 @@ declare module "factorio:runtime" {
12574
12646
  * - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
12575
12647
  * - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
12576
12648
  * - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
12577
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12649
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12578
12650
  */
12579
12651
  export type LuaEntityDamagedEventFilter =
12580
12652
  | TypeEntityDamagedEventFilter
@@ -12588,7 +12660,7 @@ declare module "factorio:runtime" {
12588
12660
  | OtherEntityDamagedEventFilter
12589
12661
  /**
12590
12662
  * Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
12591
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12663
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12592
12664
  */
12593
12665
  export type LuaEntityDamagedEventFilterWrite =
12594
12666
  | TypeEntityDamagedEventFilter
@@ -12697,7 +12769,7 @@ declare module "factorio:runtime" {
12697
12769
  * - `"name"`: {@link NameEntityDiedEventFilter}
12698
12770
  * - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
12699
12771
  * - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
12700
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityDiedEventFilter.html Online documentation}
12772
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityDiedEventFilter.html Online documentation}
12701
12773
  */
12702
12774
  export type LuaEntityDiedEventFilter =
12703
12775
  | TypeEntityDiedEventFilter
@@ -12802,7 +12874,7 @@ declare module "factorio:runtime" {
12802
12874
  * - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
12803
12875
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
12804
12876
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
12805
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
12877
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
12806
12878
  */
12807
12879
  export type LuaEntityMarkedForUpgradeEventFilter =
12808
12880
  | TypeEntityMarkedForUpgradeEventFilter
@@ -12907,7 +12979,7 @@ declare module "factorio:runtime" {
12907
12979
  * - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
12908
12980
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
12909
12981
  * - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
12910
- * @see {@link https://lua-api.factorio.com/2.0.52/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
12982
+ * @see {@link https://lua-api.factorio.com/2.0.54/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
12911
12983
  */
12912
12984
  export type LuaScriptRaisedDestroyEventFilter =
12913
12985
  | TypeScriptRaisedDestroyEventFilter