typed-factorio 3.24.0 → 3.25.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.
- package/common/helpers-global.d.ts +7 -0
- package/index.d.ts +1 -0
- package/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +2147 -2147
- package/prototype/generated/types.d.ts +2132 -2132
- package/runtime/generated/classes.d.ts +3783 -3760
- package/runtime/generated/concepts.d.ts +323 -323
- package/runtime/generated/defines.d.ts +201 -201
- package/runtime/generated/events.d.ts +205 -205
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +9 -14
@@ -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.
|
41
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
63
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
95
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
94
|
+
* {@link https://lua-api.factorio.com/2.0.55/concepts/SpritePath.html > The supported types are:}
|
95
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
100
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
105
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
110
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
115
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
120
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
125
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
130
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
135
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
140
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
145
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
150
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
155
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
160
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
165
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
170
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
175
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
180
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
192
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
234
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
241
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
252
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
257
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
271
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
359
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
436
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
466
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
484
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
496
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
514
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
535
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
565
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
628
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
663
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
669
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
678
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
703
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
709
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
729
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
985
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
999
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1076
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1096
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1112
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1122
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1159
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1170
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1181
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1192
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1217
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1266
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1276
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1287
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1292
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1313
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1318
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1324
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1338
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1358
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1368
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1378
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1387
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1396
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1405
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1417
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1430
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1439
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1448
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1458
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1468
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1492
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1503
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1508
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1555
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1565
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1598
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1608
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1614
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1624
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1629
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1638
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1647
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1656
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1662
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1686
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1710
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1736
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1799
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1805
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1810
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1815
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1830
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1849
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1855
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1871
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1888
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1926
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
1980
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2010
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2034
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2040
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2049
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2056
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2088
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2103
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2112
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2125
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2136
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2144
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2150
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2364
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2585
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2593
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2601
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2612
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2633
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
2886
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3147
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3180
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3363
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3571
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3770
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3800
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/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.
|
3821
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ItemPrototypeFlag.html Online documentation}
|
3822
3822
|
*/
|
3823
3823
|
export type ItemPrototypeFlag =
|
3824
3824
|
| "draw-logistic-overlay"
|
@@ -3835,7 +3835,7 @@ 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.
|
3838
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/UpgradeMapperSource.html Online documentation}
|
3839
3839
|
*/
|
3840
3840
|
export interface UpgradeMapperSource {
|
3841
3841
|
readonly type: "item" | "entity"
|
@@ -3858,7 +3858,7 @@ declare module "factorio:runtime" {
|
|
3858
3858
|
}
|
3859
3859
|
/**
|
3860
3860
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
3861
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3861
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/UpgradeMapperSource.html Online documentation}
|
3862
3862
|
*/
|
3863
3863
|
export interface UpgradeMapperSourceWrite {
|
3864
3864
|
readonly type: "item" | "entity"
|
@@ -3948,7 +3948,7 @@ declare module "factorio:runtime" {
|
|
3948
3948
|
* - `"controllable-remove"`
|
3949
3949
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
3950
3950
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
3951
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3951
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SelectionModeFlags.html Online documentation}
|
3952
3952
|
*/
|
3953
3953
|
export interface SelectionModeFlags {
|
3954
3954
|
/**
|
@@ -4105,7 +4105,7 @@ declare module "factorio:runtime" {
|
|
4105
4105
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
4106
4106
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
4107
4107
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
4108
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4108
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CapsuleAction.html Online documentation}
|
4109
4109
|
*/
|
4110
4110
|
export type CapsuleAction =
|
4111
4111
|
| ThrowCapsuleAction
|
@@ -4118,7 +4118,7 @@ declare module "factorio:runtime" {
|
|
4118
4118
|
* - `"none"`
|
4119
4119
|
* - `"whitelist"`
|
4120
4120
|
* - `"blacklist"`
|
4121
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4121
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/PrototypeFilterMode.html Online documentation}
|
4122
4122
|
*/
|
4123
4123
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
4124
4124
|
export interface SpoilToTriggerResult {
|
@@ -4133,7 +4133,7 @@ declare module "factorio:runtime" {
|
|
4133
4133
|
}
|
4134
4134
|
/**
|
4135
4135
|
* @see UpgradeMapperDestinationWrite
|
4136
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4136
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/UpgradeMapperDestination.html Online documentation}
|
4137
4137
|
*/
|
4138
4138
|
export interface UpgradeMapperDestination {
|
4139
4139
|
readonly type: "item" | "entity"
|
@@ -4156,7 +4156,7 @@ declare module "factorio:runtime" {
|
|
4156
4156
|
}
|
4157
4157
|
/**
|
4158
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.
|
4159
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/UpgradeMapperDestination.html Online documentation}
|
4160
4160
|
*/
|
4161
4161
|
export interface UpgradeMapperDestinationWrite {
|
4162
4162
|
readonly type: "item" | "entity"
|
@@ -4184,7 +4184,7 @@ declare module "factorio:runtime" {
|
|
4184
4184
|
* - `"entity"`: Fires at an entity.
|
4185
4185
|
* - `"position"`: Fires directly at a position.
|
4186
4186
|
* - `"direction"`: Fires in a direction.
|
4187
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4187
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TargetType.html Online documentation}
|
4188
4188
|
*/
|
4189
4189
|
export type TargetType = "entity" | "position" | "direction"
|
4190
4190
|
export interface AmmoType {
|
@@ -4243,7 +4243,7 @@ declare module "factorio:runtime" {
|
|
4243
4243
|
* @example
|
4244
4244
|
* -- Shorthand
|
4245
4245
|
* {1, 2}
|
4246
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4246
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EquipmentPosition.html Online documentation}
|
4247
4247
|
*/
|
4248
4248
|
export interface EquipmentPosition {
|
4249
4249
|
readonly x: int
|
@@ -4252,7 +4252,7 @@ declare module "factorio:runtime" {
|
|
4252
4252
|
/**
|
4253
4253
|
* Array form of {@link EquipmentPosition}.
|
4254
4254
|
* @see EquipmentPosition
|
4255
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4255
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EquipmentPosition.html Online documentation}
|
4256
4256
|
*/
|
4257
4257
|
export type EquipmentPositionArray = readonly [int, int]
|
4258
4258
|
export interface ModSetting {
|
@@ -4263,7 +4263,7 @@ declare module "factorio:runtime" {
|
|
4263
4263
|
}
|
4264
4264
|
/**
|
4265
4265
|
* An actual signal transmitted by the network.
|
4266
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4266
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Signal.html Online documentation}
|
4267
4267
|
*/
|
4268
4268
|
export interface Signal {
|
4269
4269
|
/**
|
@@ -4277,7 +4277,7 @@ declare module "factorio:runtime" {
|
|
4277
4277
|
}
|
4278
4278
|
/**
|
4279
4279
|
* @see DisplayPanelMessageDefinitionWrite
|
4280
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4280
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4281
4281
|
*/
|
4282
4282
|
export interface DisplayPanelMessageDefinition {
|
4283
4283
|
/**
|
@@ -4295,7 +4295,7 @@ declare module "factorio:runtime" {
|
|
4295
4295
|
}
|
4296
4296
|
/**
|
4297
4297
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
4298
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4298
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4299
4299
|
*/
|
4300
4300
|
export interface DisplayPanelMessageDefinitionWrite {
|
4301
4301
|
/**
|
@@ -4323,7 +4323,7 @@ declare module "factorio:runtime" {
|
|
4323
4323
|
}
|
4324
4324
|
/**
|
4325
4325
|
* @see CircuitConditionWrite
|
4326
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4326
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CircuitCondition.html Online documentation}
|
4327
4327
|
*/
|
4328
4328
|
export interface CircuitCondition {
|
4329
4329
|
/**
|
@@ -4345,7 +4345,7 @@ declare module "factorio:runtime" {
|
|
4345
4345
|
}
|
4346
4346
|
/**
|
4347
4347
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
4348
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4348
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CircuitCondition.html Online documentation}
|
4349
4349
|
*/
|
4350
4350
|
export interface CircuitConditionWrite {
|
4351
4351
|
/**
|
@@ -4367,7 +4367,7 @@ declare module "factorio:runtime" {
|
|
4367
4367
|
}
|
4368
4368
|
/**
|
4369
4369
|
* @see SignalIDWrite
|
4370
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4370
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SignalID.html Online documentation}
|
4371
4371
|
*/
|
4372
4372
|
export interface SignalID {
|
4373
4373
|
/**
|
@@ -4385,7 +4385,7 @@ declare module "factorio:runtime" {
|
|
4385
4385
|
}
|
4386
4386
|
/**
|
4387
4387
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
4388
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4388
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SignalID.html Online documentation}
|
4389
4389
|
*/
|
4390
4390
|
export interface SignalIDWrite {
|
4391
4391
|
/**
|
@@ -4421,7 +4421,7 @@ declare module "factorio:runtime" {
|
|
4421
4421
|
* - `"space-location"`
|
4422
4422
|
* - `"asteroid-chunk"`
|
4423
4423
|
* - `"quality"`
|
4424
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4424
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SignalIDType.html Online documentation}
|
4425
4425
|
*/
|
4426
4426
|
export type SignalIDType =
|
4427
4427
|
| "item"
|
@@ -4434,7 +4434,7 @@ declare module "factorio:runtime" {
|
|
4434
4434
|
| "quality"
|
4435
4435
|
/**
|
4436
4436
|
* @see DeciderCombinatorParametersWrite
|
4437
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4437
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DeciderCombinatorParameters.html Online documentation}
|
4438
4438
|
*/
|
4439
4439
|
export interface DeciderCombinatorParameters {
|
4440
4440
|
/**
|
@@ -4448,7 +4448,7 @@ declare module "factorio:runtime" {
|
|
4448
4448
|
}
|
4449
4449
|
/**
|
4450
4450
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4451
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4451
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DeciderCombinatorParameters.html Online documentation}
|
4452
4452
|
*/
|
4453
4453
|
export interface DeciderCombinatorParametersWrite {
|
4454
4454
|
/**
|
@@ -4462,7 +4462,7 @@ declare module "factorio:runtime" {
|
|
4462
4462
|
}
|
4463
4463
|
/**
|
4464
4464
|
* @see DeciderCombinatorConditionWrite
|
4465
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4465
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DeciderCombinatorCondition.html Online documentation}
|
4466
4466
|
*/
|
4467
4467
|
export interface DeciderCombinatorCondition {
|
4468
4468
|
/**
|
@@ -4496,7 +4496,7 @@ declare module "factorio:runtime" {
|
|
4496
4496
|
}
|
4497
4497
|
/**
|
4498
4498
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
4499
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4499
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DeciderCombinatorCondition.html Online documentation}
|
4500
4500
|
*/
|
4501
4501
|
export interface DeciderCombinatorConditionWrite {
|
4502
4502
|
/**
|
@@ -4530,7 +4530,7 @@ declare module "factorio:runtime" {
|
|
4530
4530
|
}
|
4531
4531
|
/**
|
4532
4532
|
* @see DeciderCombinatorOutputWrite
|
4533
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4533
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DeciderCombinatorOutput.html Online documentation}
|
4534
4534
|
*/
|
4535
4535
|
export interface DeciderCombinatorOutput {
|
4536
4536
|
/**
|
@@ -4548,7 +4548,7 @@ declare module "factorio:runtime" {
|
|
4548
4548
|
}
|
4549
4549
|
/**
|
4550
4550
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
4551
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4551
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DeciderCombinatorOutput.html Online documentation}
|
4552
4552
|
*/
|
4553
4553
|
export interface DeciderCombinatorOutputWrite {
|
4554
4554
|
/**
|
@@ -4566,7 +4566,7 @@ declare module "factorio:runtime" {
|
|
4566
4566
|
}
|
4567
4567
|
/**
|
4568
4568
|
* @see ArithmeticCombinatorParametersWrite
|
4569
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4569
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4570
4570
|
*/
|
4571
4571
|
export interface ArithmeticCombinatorParameters {
|
4572
4572
|
/**
|
@@ -4604,7 +4604,7 @@ declare module "factorio:runtime" {
|
|
4604
4604
|
}
|
4605
4605
|
/**
|
4606
4606
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4607
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4607
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4608
4608
|
*/
|
4609
4609
|
export interface ArithmeticCombinatorParametersWrite {
|
4610
4610
|
/**
|
@@ -4653,7 +4653,7 @@ declare module "factorio:runtime" {
|
|
4653
4653
|
* - `"AND"`
|
4654
4654
|
* - `"OR"`
|
4655
4655
|
* - `"XOR"`
|
4656
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4656
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
4657
4657
|
*/
|
4658
4658
|
export type ArithmeticCombinatorParameterOperation =
|
4659
4659
|
| "*"
|
@@ -4792,7 +4792,7 @@ declare module "factorio:runtime" {
|
|
4792
4792
|
* - `"random"`: {@link RandomSelectorCombinatorParameters}
|
4793
4793
|
* - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
|
4794
4794
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
4795
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4795
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SelectorCombinatorParameters.html Online documentation}
|
4796
4796
|
*/
|
4797
4797
|
export type SelectorCombinatorParameters =
|
4798
4798
|
| SelectSelectorCombinatorParameters
|
@@ -4803,7 +4803,7 @@ declare module "factorio:runtime" {
|
|
4803
4803
|
| OtherSelectorCombinatorParameters
|
4804
4804
|
/**
|
4805
4805
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4806
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4806
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SelectorCombinatorParameters.html Online documentation}
|
4807
4807
|
*/
|
4808
4808
|
export type SelectorCombinatorParametersWrite =
|
4809
4809
|
| SelectSelectorCombinatorParametersWrite
|
@@ -4821,7 +4821,7 @@ declare module "factorio:runtime" {
|
|
4821
4821
|
* - `"rocket-capacity"`
|
4822
4822
|
* - `"stack-size"`
|
4823
4823
|
* - `"quality-filter"`
|
4824
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4824
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
4825
4825
|
*/
|
4826
4826
|
export type SelectorCombinatorParameterOperation =
|
4827
4827
|
| "select"
|
@@ -4862,7 +4862,7 @@ declare module "factorio:runtime" {
|
|
4862
4862
|
}
|
4863
4863
|
/**
|
4864
4864
|
* An item thrown overboard on a space platform.
|
4865
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4865
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EjectedItem.html Online documentation}
|
4866
4866
|
*/
|
4867
4867
|
export interface EjectedItem {
|
4868
4868
|
readonly item: LuaItemStack
|
@@ -4891,7 +4891,7 @@ declare module "factorio:runtime" {
|
|
4891
4891
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
4892
4892
|
* -- minimum amount of 1 and a maximum amount of 5
|
4893
4893
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
4894
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4894
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Product.html Online documentation}
|
4895
4895
|
*/
|
4896
4896
|
export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
|
4897
4897
|
/**
|
@@ -4902,7 +4902,7 @@ declare module "factorio:runtime" {
|
|
4902
4902
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
4903
4903
|
* -- minimum amount of 1 and a maximum amount of 5
|
4904
4904
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
4905
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4905
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ItemProduct.html Online documentation}
|
4906
4906
|
*/
|
4907
4907
|
export interface ItemProduct {
|
4908
4908
|
readonly type: "item"
|
@@ -4946,7 +4946,7 @@ declare module "factorio:runtime" {
|
|
4946
4946
|
* {{type="fluid", name="heavy-oil", amount=1},
|
4947
4947
|
* {type="fluid", name="light-oil", amount=4.5},
|
4948
4948
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
4949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4949
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/FluidProduct.html Online documentation}
|
4950
4950
|
*/
|
4951
4951
|
export interface FluidProduct {
|
4952
4952
|
readonly type: "fluid"
|
@@ -4994,7 +4994,7 @@ declare module "factorio:runtime" {
|
|
4994
4994
|
}
|
4995
4995
|
/**
|
4996
4996
|
* @see BlueprintScheduleRecordWrite
|
4997
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4997
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintScheduleRecord.html Online documentation}
|
4998
4998
|
*/
|
4999
4999
|
export interface BlueprintScheduleRecord {
|
5000
5000
|
/**
|
@@ -5008,7 +5008,7 @@ declare module "factorio:runtime" {
|
|
5008
5008
|
}
|
5009
5009
|
/**
|
5010
5010
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
5011
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5011
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintScheduleRecord.html Online documentation}
|
5012
5012
|
*/
|
5013
5013
|
export interface BlueprintScheduleRecordWrite {
|
5014
5014
|
/**
|
@@ -5022,7 +5022,7 @@ declare module "factorio:runtime" {
|
|
5022
5022
|
}
|
5023
5023
|
/**
|
5024
5024
|
* @see ScheduleRecordWrite
|
5025
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5025
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScheduleRecord.html Online documentation}
|
5026
5026
|
*/
|
5027
5027
|
export interface ScheduleRecord {
|
5028
5028
|
/**
|
@@ -5041,7 +5041,7 @@ declare module "factorio:runtime" {
|
|
5041
5041
|
}
|
5042
5042
|
/**
|
5043
5043
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
5044
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5044
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScheduleRecord.html Online documentation}
|
5045
5045
|
*/
|
5046
5046
|
export interface ScheduleRecordWrite {
|
5047
5047
|
/**
|
@@ -5060,7 +5060,7 @@ declare module "factorio:runtime" {
|
|
5060
5060
|
}
|
5061
5061
|
/**
|
5062
5062
|
* @see BlueprintScheduleInterruptWrite
|
5063
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5063
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
5064
5064
|
*/
|
5065
5065
|
export interface BlueprintScheduleInterrupt {
|
5066
5066
|
/**
|
@@ -5076,7 +5076,7 @@ declare module "factorio:runtime" {
|
|
5076
5076
|
}
|
5077
5077
|
/**
|
5078
5078
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
5079
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5079
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
5080
5080
|
*/
|
5081
5081
|
export interface BlueprintScheduleInterruptWrite {
|
5082
5082
|
/**
|
@@ -5092,7 +5092,7 @@ declare module "factorio:runtime" {
|
|
5092
5092
|
}
|
5093
5093
|
/**
|
5094
5094
|
* @see ScheduleInterruptWrite
|
5095
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5095
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScheduleInterrupt.html Online documentation}
|
5096
5096
|
*/
|
5097
5097
|
export interface ScheduleInterrupt {
|
5098
5098
|
/**
|
@@ -5108,7 +5108,7 @@ declare module "factorio:runtime" {
|
|
5108
5108
|
}
|
5109
5109
|
/**
|
5110
5110
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
5111
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5111
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScheduleInterrupt.html Online documentation}
|
5112
5112
|
*/
|
5113
5113
|
export interface ScheduleInterruptWrite {
|
5114
5114
|
/**
|
@@ -5124,7 +5124,7 @@ declare module "factorio:runtime" {
|
|
5124
5124
|
}
|
5125
5125
|
/**
|
5126
5126
|
* @see WaitConditionWrite
|
5127
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5127
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/WaitCondition.html Online documentation}
|
5128
5128
|
*/
|
5129
5129
|
export interface WaitCondition {
|
5130
5130
|
readonly type: WaitConditionType
|
@@ -5155,7 +5155,7 @@ declare module "factorio:runtime" {
|
|
5155
5155
|
}
|
5156
5156
|
/**
|
5157
5157
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
5158
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5158
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/WaitCondition.html Online documentation}
|
5159
5159
|
*/
|
5160
5160
|
export interface WaitConditionWrite {
|
5161
5161
|
readonly type: WaitConditionType
|
@@ -5214,7 +5214,7 @@ declare module "factorio:runtime" {
|
|
5214
5214
|
* - `"at_station"`
|
5215
5215
|
* - `"not_at_station"`
|
5216
5216
|
* - `"damage_taken"`
|
5217
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5217
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/WaitConditionType.html Online documentation}
|
5218
5218
|
*/
|
5219
5219
|
export type WaitConditionType =
|
5220
5220
|
| "time"
|
@@ -5245,7 +5245,7 @@ declare module "factorio:runtime" {
|
|
5245
5245
|
| "damage_taken"
|
5246
5246
|
/**
|
5247
5247
|
* @see BlueprintScheduleWrite
|
5248
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5248
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintSchedule.html Online documentation}
|
5249
5249
|
*/
|
5250
5250
|
export interface BlueprintSchedule {
|
5251
5251
|
readonly records?: BlueprintScheduleRecord[]
|
@@ -5254,7 +5254,7 @@ declare module "factorio:runtime" {
|
|
5254
5254
|
}
|
5255
5255
|
/**
|
5256
5256
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
5257
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5257
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintSchedule.html Online documentation}
|
5258
5258
|
*/
|
5259
5259
|
export interface BlueprintScheduleWrite {
|
5260
5260
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
@@ -5323,7 +5323,7 @@ declare module "factorio:runtime" {
|
|
5323
5323
|
* - `"create-ghost-on-entity-death"`
|
5324
5324
|
* - `"belt-stack-size-bonus"`
|
5325
5325
|
* - `"vehicle-logistics"`
|
5326
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5326
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ModifierType.html Online documentation}
|
5327
5327
|
*/
|
5328
5328
|
export type ModifierType =
|
5329
5329
|
| "inserter-stack-size-bonus"
|
@@ -5519,7 +5519,7 @@ declare module "factorio:runtime" {
|
|
5519
5519
|
* - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
|
5520
5520
|
* - `"nothing"`: {@link NothingTechnologyModifier}
|
5521
5521
|
* - Other types: {@link OtherTechnologyModifier}
|
5522
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5522
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TechnologyModifier.html Online documentation}
|
5523
5523
|
*/
|
5524
5524
|
export type TechnologyModifier =
|
5525
5525
|
| GunSpeedTechnologyModifier
|
@@ -5597,7 +5597,7 @@ declare module "factorio:runtime" {
|
|
5597
5597
|
* - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
|
5598
5598
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
5599
5599
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
5600
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5600
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ResearchTrigger.html Online documentation}
|
5601
5601
|
*/
|
5602
5602
|
export type ResearchTrigger =
|
5603
5603
|
| CraftItemResearchTrigger
|
@@ -5652,7 +5652,7 @@ declare module "factorio:runtime" {
|
|
5652
5652
|
*
|
5653
5653
|
* Other attributes may be specified depending on `type`:
|
5654
5654
|
* - `"fluid"`: {@link FluidIngredient}
|
5655
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5655
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Ingredient.html Online documentation}
|
5656
5656
|
*/
|
5657
5657
|
export type Ingredient = FluidIngredient | OtherIngredient
|
5658
5658
|
/**
|
@@ -5673,7 +5673,7 @@ declare module "factorio:runtime" {
|
|
5673
5673
|
* * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
|
5674
5674
|
* score(chunk) = 1 / (1 + player + base)
|
5675
5675
|
* ```
|
5676
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5676
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EnemyExpansionMapSettings.html Online documentation}
|
5677
5677
|
*/
|
5678
5678
|
export interface EnemyExpansionMapSettings {
|
5679
5679
|
/**
|
@@ -5946,7 +5946,7 @@ declare module "factorio:runtime" {
|
|
5946
5946
|
}
|
5947
5947
|
/**
|
5948
5948
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
5949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5949
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapAndDifficultySettings.html Online documentation}
|
5950
5950
|
*/
|
5951
5951
|
export interface MapAndDifficultySettings {
|
5952
5952
|
readonly pollution: PollutionMapSettings
|
@@ -5967,7 +5967,7 @@ declare module "factorio:runtime" {
|
|
5967
5967
|
* @example
|
5968
5968
|
* -- Increase the number of short paths the pathfinder can cache.
|
5969
5969
|
* game.map_settings.path_finder.short_cache_size = 15
|
5970
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5970
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapSettings.html Online documentation}
|
5971
5971
|
*/
|
5972
5972
|
export interface MapSettings {
|
5973
5973
|
pollution: PollutionMapSettings
|
@@ -5979,7 +5979,7 @@ declare module "factorio:runtime" {
|
|
5979
5979
|
asteroids: AsteroidMapSettings
|
5980
5980
|
/**
|
5981
5981
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
5982
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5982
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
5983
5983
|
*/
|
5984
5984
|
max_failed_behavior_count: uint
|
5985
5985
|
}
|
@@ -6008,7 +6008,7 @@ declare module "factorio:runtime" {
|
|
6008
6008
|
* - `"very-high"`: equivalent to `2`.
|
6009
6009
|
* - `"very-big"`: equivalent to `2`.
|
6010
6010
|
* - `"very-good"`: equivalent to `2`.
|
6011
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6011
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapGenSize.html Online documentation}
|
6012
6012
|
*/
|
6013
6013
|
export type MapGenSize =
|
6014
6014
|
| float
|
@@ -6030,7 +6030,7 @@ declare module "factorio:runtime" {
|
|
6030
6030
|
| "very-good"
|
6031
6031
|
/**
|
6032
6032
|
* These values are for the time frame of one second (60 ticks).
|
6033
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6033
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/PollutionMapSettings.html Online documentation}
|
6034
6034
|
*/
|
6035
6035
|
export interface PollutionMapSettings {
|
6036
6036
|
/**
|
@@ -6084,7 +6084,7 @@ declare module "factorio:runtime" {
|
|
6084
6084
|
}
|
6085
6085
|
/**
|
6086
6086
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
6087
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6087
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
6088
6088
|
*/
|
6089
6089
|
export interface EnemyEvolutionMapSettings {
|
6090
6090
|
/**
|
@@ -6106,7 +6106,7 @@ declare module "factorio:runtime" {
|
|
6106
6106
|
}
|
6107
6107
|
/**
|
6108
6108
|
* @see AutoplaceControlWrite
|
6109
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6109
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AutoplaceControl.html Online documentation}
|
6110
6110
|
*/
|
6111
6111
|
export interface AutoplaceControl {
|
6112
6112
|
/**
|
@@ -6124,7 +6124,7 @@ declare module "factorio:runtime" {
|
|
6124
6124
|
}
|
6125
6125
|
/**
|
6126
6126
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
6127
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6127
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AutoplaceControl.html Online documentation}
|
6128
6128
|
*/
|
6129
6129
|
export interface AutoplaceControlWrite {
|
6130
6130
|
/**
|
@@ -6142,7 +6142,7 @@ declare module "factorio:runtime" {
|
|
6142
6142
|
}
|
6143
6143
|
/**
|
6144
6144
|
* @see CliffPlacementSettingsWrite
|
6145
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6145
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CliffPlacementSettings.html Online documentation}
|
6146
6146
|
*/
|
6147
6147
|
export interface CliffPlacementSettings {
|
6148
6148
|
/**
|
@@ -6172,7 +6172,7 @@ declare module "factorio:runtime" {
|
|
6172
6172
|
}
|
6173
6173
|
/**
|
6174
6174
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
6175
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6175
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CliffPlacementSettings.html Online documentation}
|
6176
6176
|
*/
|
6177
6177
|
export interface CliffPlacementSettingsWrite {
|
6178
6178
|
/**
|
@@ -6202,7 +6202,7 @@ declare module "factorio:runtime" {
|
|
6202
6202
|
}
|
6203
6203
|
/**
|
6204
6204
|
* @see AutoplaceSettingsWrite
|
6205
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6205
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AutoplaceSettings.html Online documentation}
|
6206
6206
|
*/
|
6207
6207
|
export interface AutoplaceSettings {
|
6208
6208
|
/**
|
@@ -6216,7 +6216,7 @@ declare module "factorio:runtime" {
|
|
6216
6216
|
}
|
6217
6217
|
/**
|
6218
6218
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
6219
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6219
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AutoplaceSettings.html Online documentation}
|
6220
6220
|
*/
|
6221
6221
|
export interface AutoplaceSettingsWrite {
|
6222
6222
|
/**
|
@@ -6251,7 +6251,7 @@ declare module "factorio:runtime" {
|
|
6251
6251
|
* surface.map_gen_settings = mgs
|
6252
6252
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
6253
6253
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
6254
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6254
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapGenSettings.html Online documentation}
|
6255
6255
|
*/
|
6256
6256
|
export interface MapGenSettings {
|
6257
6257
|
/**
|
@@ -6306,7 +6306,7 @@ declare module "factorio:runtime" {
|
|
6306
6306
|
}
|
6307
6307
|
/**
|
6308
6308
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
6309
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6309
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapGenSettings.html Online documentation}
|
6310
6310
|
*/
|
6311
6311
|
export interface MapGenSettingsWrite {
|
6312
6312
|
/**
|
@@ -6390,12 +6390,12 @@ declare module "factorio:runtime" {
|
|
6390
6390
|
}
|
6391
6391
|
/**
|
6392
6392
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
6393
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6393
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/NoiseExpressionSourceString.html Online documentation}
|
6394
6394
|
*/
|
6395
6395
|
export type NoiseExpressionSourceString = string
|
6396
6396
|
/**
|
6397
6397
|
* Specifies how probability and richness are calculated when placing something on the map.
|
6398
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6398
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AutoplaceSpecification.html Online documentation}
|
6399
6399
|
*/
|
6400
6400
|
export interface AutoplaceSpecification {
|
6401
6401
|
readonly placement_density: uint
|
@@ -6475,8 +6475,8 @@ declare module "factorio:runtime" {
|
|
6475
6475
|
_customEventIdBrand: any
|
6476
6476
|
}
|
6477
6477
|
/**
|
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.
|
6479
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
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.55/events.html the list of Factorio events} for more information on these.
|
6479
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EventData.html Online documentation}
|
6480
6480
|
*/
|
6481
6481
|
export interface EventData {
|
6482
6482
|
/**
|
@@ -6558,23 +6558,23 @@ declare module "factorio:runtime" {
|
|
6558
6558
|
}
|
6559
6559
|
/**
|
6560
6560
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
6561
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6561
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DifficultySettings.html Online documentation}
|
6562
6562
|
*/
|
6563
6563
|
export interface DifficultySettings {
|
6564
6564
|
/**
|
6565
6565
|
* A value in range [0.001, 1000].
|
6566
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6566
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
6567
6567
|
*/
|
6568
6568
|
technology_price_multiplier: double
|
6569
6569
|
/**
|
6570
6570
|
* A value in range [0.01, 100].
|
6571
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6571
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
6572
6572
|
*/
|
6573
6573
|
spoil_time_modifier: double
|
6574
6574
|
}
|
6575
6575
|
/**
|
6576
6576
|
* A single pipe connection for a given fluidbox.
|
6577
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6577
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/PipeConnection.html Online documentation}
|
6578
6578
|
*/
|
6579
6579
|
export interface PipeConnection {
|
6580
6580
|
readonly flow_direction: "input" | "output" | "input-output"
|
@@ -6639,7 +6639,7 @@ declare module "factorio:runtime" {
|
|
6639
6639
|
}
|
6640
6640
|
/**
|
6641
6641
|
* @see AsteroidChunkWrite
|
6642
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6642
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AsteroidChunk.html Online documentation}
|
6643
6643
|
*/
|
6644
6644
|
export interface AsteroidChunk {
|
6645
6645
|
/**
|
@@ -6651,7 +6651,7 @@ declare module "factorio:runtime" {
|
|
6651
6651
|
}
|
6652
6652
|
/**
|
6653
6653
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
6654
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6654
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AsteroidChunk.html Online documentation}
|
6655
6655
|
*/
|
6656
6656
|
export interface AsteroidChunkWrite {
|
6657
6657
|
/**
|
@@ -6663,7 +6663,7 @@ declare module "factorio:runtime" {
|
|
6663
6663
|
}
|
6664
6664
|
/**
|
6665
6665
|
* The data that can be extracted from a map exchange string, as a plain table.
|
6666
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6666
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/MapExchangeStringData.html Online documentation}
|
6667
6667
|
*/
|
6668
6668
|
export interface MapExchangeStringData {
|
6669
6669
|
readonly map_settings: MapAndDifficultySettings
|
@@ -6689,7 +6689,7 @@ declare module "factorio:runtime" {
|
|
6689
6689
|
}
|
6690
6690
|
/**
|
6691
6691
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
6692
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6692
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ChunkPositionAndArea.html Online documentation}
|
6693
6693
|
*/
|
6694
6694
|
export interface ChunkPositionAndArea {
|
6695
6695
|
readonly x: int
|
@@ -6737,7 +6737,7 @@ declare module "factorio:runtime" {
|
|
6737
6737
|
* - `"check-box"`
|
6738
6738
|
* - `"switch"`
|
6739
6739
|
* - `"label"`
|
6740
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6740
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SimulationWidgetType.html Online documentation}
|
6741
6741
|
*/
|
6742
6742
|
export type SimulationWidgetType =
|
6743
6743
|
| "signal-id"
|
@@ -6905,7 +6905,7 @@ declare module "factorio:runtime" {
|
|
6905
6905
|
/**
|
6906
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].
|
6907
6907
|
* @see ColorModifierArray
|
6908
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6908
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ColorModifier.html Online documentation}
|
6909
6909
|
*/
|
6910
6910
|
export interface ColorModifier {
|
6911
6911
|
readonly r?: float
|
@@ -6916,7 +6916,7 @@ declare module "factorio:runtime" {
|
|
6916
6916
|
/**
|
6917
6917
|
* Array form of {@link ColorModifier}.
|
6918
6918
|
* @see ColorModifier
|
6919
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6919
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ColorModifier.html Online documentation}
|
6920
6920
|
*/
|
6921
6921
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
6922
6922
|
export interface Decorative {
|
@@ -6935,7 +6935,7 @@ declare module "factorio:runtime" {
|
|
6935
6935
|
/**
|
6936
6936
|
* An area defined using the map editor.
|
6937
6937
|
* @see ScriptAreaWrite
|
6938
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6938
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScriptArea.html Online documentation}
|
6939
6939
|
*/
|
6940
6940
|
export interface ScriptArea {
|
6941
6941
|
readonly area: BoundingBox
|
@@ -6945,7 +6945,7 @@ declare module "factorio:runtime" {
|
|
6945
6945
|
}
|
6946
6946
|
/**
|
6947
6947
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
6948
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6948
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScriptArea.html Online documentation}
|
6949
6949
|
*/
|
6950
6950
|
export interface ScriptAreaWrite {
|
6951
6951
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
@@ -6956,7 +6956,7 @@ declare module "factorio:runtime" {
|
|
6956
6956
|
/**
|
6957
6957
|
* A position defined using the map editor.
|
6958
6958
|
* @see ScriptPositionWrite
|
6959
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6959
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScriptPosition.html Online documentation}
|
6960
6960
|
*/
|
6961
6961
|
export interface ScriptPosition {
|
6962
6962
|
readonly position: MapPosition
|
@@ -6966,7 +6966,7 @@ declare module "factorio:runtime" {
|
|
6966
6966
|
}
|
6967
6967
|
/**
|
6968
6968
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
6969
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6969
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ScriptPosition.html Online documentation}
|
6970
6970
|
*/
|
6971
6971
|
export interface ScriptPositionWrite {
|
6972
6972
|
readonly position: MapPosition | MapPositionArray
|
@@ -6976,7 +6976,7 @@ declare module "factorio:runtime" {
|
|
6976
6976
|
}
|
6977
6977
|
/**
|
6978
6978
|
* A table used to define a manual shape for a piece of equipment.
|
6979
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6979
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EquipmentPoint.html Online documentation}
|
6980
6980
|
*/
|
6981
6981
|
export interface EquipmentPoint {
|
6982
6982
|
readonly x: uint
|
@@ -6985,7 +6985,7 @@ declare module "factorio:runtime" {
|
|
6985
6985
|
/**
|
6986
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.
|
6987
6987
|
* @see GuiLocationArray
|
6988
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6988
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/GuiLocation.html Online documentation}
|
6989
6989
|
*/
|
6990
6990
|
export interface GuiLocation {
|
6991
6991
|
readonly x: int
|
@@ -6994,7 +6994,7 @@ declare module "factorio:runtime" {
|
|
6994
6994
|
/**
|
6995
6995
|
* Array form of {@link GuiLocation}.
|
6996
6996
|
* @see GuiLocation
|
6997
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6997
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/GuiLocation.html Online documentation}
|
6998
6998
|
*/
|
6999
6999
|
export type GuiLocationArray = readonly [int, int]
|
7000
7000
|
export interface TabAndContent {
|
@@ -7019,7 +7019,7 @@ declare module "factorio:runtime" {
|
|
7019
7019
|
}
|
7020
7020
|
/**
|
7021
7021
|
* Either `icon`, `text`, or both must be provided.
|
7022
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7022
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ChartTagSpec.html Online documentation}
|
7023
7023
|
*/
|
7024
7024
|
export interface ChartTagSpec {
|
7025
7025
|
readonly position: MapPosition | MapPositionArray
|
@@ -7141,7 +7141,7 @@ declare module "factorio:runtime" {
|
|
7141
7141
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
7142
7142
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
7143
7143
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
7144
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7144
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TrainPathRequestType.html Online documentation}
|
7145
7145
|
*/
|
7146
7146
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
7147
7147
|
/**
|
@@ -7150,7 +7150,7 @@ declare module "factorio:runtime" {
|
|
7150
7150
|
* - {@link RailEndGoal}
|
7151
7151
|
* - {@link LuaRailEnd}
|
7152
7152
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
7153
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7153
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TrainPathFinderGoal.html Online documentation}
|
7154
7154
|
*/
|
7155
7155
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
7156
7156
|
export interface TrainStopGoal {
|
@@ -7340,7 +7340,7 @@ declare module "factorio:runtime" {
|
|
7340
7340
|
* - {@link LuaEntityMarkedForUpgradeEventFilter}
|
7341
7341
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
7342
7342
|
* @see EventFilterWrite
|
7343
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7343
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EventFilter.html Online documentation}
|
7344
7344
|
*/
|
7345
7345
|
export type EventFilter =
|
7346
7346
|
| LuaScriptRaisedTeleportedEventFilter[]
|
@@ -7370,7 +7370,7 @@ declare module "factorio:runtime" {
|
|
7370
7370
|
| LuaScriptRaisedDestroyEventFilter[]
|
7371
7371
|
/**
|
7372
7372
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
7373
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7373
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EventFilter.html Online documentation}
|
7374
7374
|
*/
|
7375
7375
|
export type EventFilterWrite =
|
7376
7376
|
| readonly LuaScriptRaisedTeleportedEventFilter[]
|
@@ -7400,7 +7400,7 @@ declare module "factorio:runtime" {
|
|
7400
7400
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
7401
7401
|
/**
|
7402
7402
|
* @see CircuitConditionDefinitionWrite
|
7403
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7403
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CircuitConditionDefinition.html Online documentation}
|
7404
7404
|
*/
|
7405
7405
|
export interface CircuitConditionDefinition {
|
7406
7406
|
/**
|
@@ -7426,7 +7426,7 @@ declare module "factorio:runtime" {
|
|
7426
7426
|
}
|
7427
7427
|
/**
|
7428
7428
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
7429
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7429
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CircuitConditionDefinition.html Online documentation}
|
7430
7430
|
*/
|
7431
7431
|
export interface CircuitConditionDefinitionWrite {
|
7432
7432
|
/**
|
@@ -7474,7 +7474,7 @@ declare module "factorio:runtime" {
|
|
7474
7474
|
* - {@link LuaGuiElement}: Target type {@link defines.target_type.gui_element gui_element}; `useful_id` {@link LuaGuiElement#index LuaGuiElement::index}
|
7475
7475
|
* - {@link LuaCargoHatch}: Target type {@link defines.target_type.cargo_hatch cargo_hatch}
|
7476
7476
|
* - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
|
7477
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7477
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/RegistrationTarget.html Online documentation}
|
7478
7478
|
*/
|
7479
7479
|
export type RegistrationTarget =
|
7480
7480
|
| LuaEntity
|
@@ -7513,7 +7513,7 @@ declare module "factorio:runtime" {
|
|
7513
7513
|
}
|
7514
7514
|
/**
|
7515
7515
|
* @see EntityIDFilterWrite
|
7516
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7516
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EntityIDFilter.html Online documentation}
|
7517
7517
|
*/
|
7518
7518
|
export interface EntityIDFilter {
|
7519
7519
|
/**
|
@@ -7531,7 +7531,7 @@ declare module "factorio:runtime" {
|
|
7531
7531
|
}
|
7532
7532
|
/**
|
7533
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.
|
7534
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EntityIDFilter.html Online documentation}
|
7535
7535
|
*/
|
7536
7536
|
export interface EntityIDFilterWrite {
|
7537
7537
|
/**
|
@@ -7566,7 +7566,7 @@ declare module "factorio:runtime" {
|
|
7566
7566
|
* - {@link FluidPrototypeFilter}
|
7567
7567
|
* - {@link EntityPrototypeFilter}
|
7568
7568
|
* @see PrototypeFilterWrite
|
7569
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7569
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/PrototypeFilter.html Online documentation}
|
7570
7570
|
*/
|
7571
7571
|
export type PrototypeFilter =
|
7572
7572
|
| ModSettingPrototypeFilter[]
|
@@ -7583,7 +7583,7 @@ declare module "factorio:runtime" {
|
|
7583
7583
|
| EntityPrototypeFilter[]
|
7584
7584
|
/**
|
7585
7585
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
7586
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7586
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/PrototypeFilter.html Online documentation}
|
7587
7587
|
*/
|
7588
7588
|
export type PrototypeFilterWrite =
|
7589
7589
|
| readonly ModSettingPrototypeFilter[]
|
@@ -7602,7 +7602,7 @@ declare module "factorio:runtime" {
|
|
7602
7602
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
7603
7603
|
*
|
7604
7604
|
* By default, none of these flags are set.
|
7605
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7605
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EntityPrototypeFlags.html Online documentation}
|
7606
7606
|
*/
|
7607
7607
|
export type EntityPrototypeFlags = {
|
7608
7608
|
readonly [T in EntityPrototypeFlag]?: true
|
@@ -7636,7 +7636,7 @@ declare module "factorio:runtime" {
|
|
7636
7636
|
* - `"building-direction-16-way"`
|
7637
7637
|
* - `"snap-to-rail-support-spot"`
|
7638
7638
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
7639
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7639
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EntityPrototypeFlag.html Online documentation}
|
7640
7640
|
*/
|
7641
7641
|
export type EntityPrototypeFlag =
|
7642
7642
|
| "not-rotatable"
|
@@ -7666,7 +7666,7 @@ declare module "factorio:runtime" {
|
|
7666
7666
|
| "not-in-made-in"
|
7667
7667
|
/**
|
7668
7668
|
* A single filter used by an infinity-pipe type entity.
|
7669
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7669
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/InfinityPipeFilter.html Online documentation}
|
7670
7670
|
*/
|
7671
7671
|
export interface InfinityPipeFilter {
|
7672
7672
|
/**
|
@@ -7692,7 +7692,7 @@ declare module "factorio:runtime" {
|
|
7692
7692
|
}
|
7693
7693
|
/**
|
7694
7694
|
* @see ProgrammableSpeakerParametersWrite
|
7695
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7695
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
7696
7696
|
*/
|
7697
7697
|
export interface ProgrammableSpeakerParameters {
|
7698
7698
|
readonly playback_volume: float
|
@@ -7703,7 +7703,7 @@ declare module "factorio:runtime" {
|
|
7703
7703
|
}
|
7704
7704
|
/**
|
7705
7705
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
7706
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7706
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
7707
7707
|
*/
|
7708
7708
|
export interface ProgrammableSpeakerParametersWrite {
|
7709
7709
|
readonly playback_volume: float
|
@@ -7719,12 +7719,12 @@ declare module "factorio:runtime" {
|
|
7719
7719
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
7720
7720
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
7721
7721
|
* - `"global"`: The sound can be heard everywhere.
|
7722
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7722
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
7723
7723
|
*/
|
7724
7724
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
7725
7725
|
/**
|
7726
7726
|
* @see ProgrammableSpeakerAlertParametersWrite
|
7727
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7727
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
7728
7728
|
*/
|
7729
7729
|
export interface ProgrammableSpeakerAlertParameters {
|
7730
7730
|
readonly show_alert: boolean
|
@@ -7734,7 +7734,7 @@ declare module "factorio:runtime" {
|
|
7734
7734
|
}
|
7735
7735
|
/**
|
7736
7736
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
7737
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7737
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
7738
7738
|
*/
|
7739
7739
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
7740
7740
|
readonly show_alert: boolean
|
@@ -7750,7 +7750,7 @@ declare module "factorio:runtime" {
|
|
7750
7750
|
}
|
7751
7751
|
/**
|
7752
7752
|
* The settings used by a heat-interface type entity.
|
7753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7753
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/HeatSetting.html Online documentation}
|
7754
7754
|
*/
|
7755
7755
|
export interface HeatSetting {
|
7756
7756
|
/**
|
@@ -7784,7 +7784,7 @@ declare module "factorio:runtime" {
|
|
7784
7784
|
* - `"none-to-south"`
|
7785
7785
|
* - `"south-to-none"`
|
7786
7786
|
* - `"none-to-north"`
|
7787
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7787
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/CliffOrientation.html Online documentation}
|
7788
7788
|
*/
|
7789
7789
|
export type CliffOrientation =
|
7790
7790
|
| "west-to-east"
|
@@ -7814,7 +7814,7 @@ declare module "factorio:runtime" {
|
|
7814
7814
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
7815
7815
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
7816
7816
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
7817
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7817
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ValveMode.html Online documentation}
|
7818
7818
|
*/
|
7819
7819
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
7820
7820
|
export interface InserterItemFilter {
|
@@ -7837,7 +7837,7 @@ declare module "factorio:runtime" {
|
|
7837
7837
|
}
|
7838
7838
|
/**
|
7839
7839
|
* A single filter used by an infinity-filters instance.
|
7840
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7840
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/InfinityInventoryFilter.html Online documentation}
|
7841
7841
|
*/
|
7842
7842
|
export interface InfinityInventoryFilter {
|
7843
7843
|
/**
|
@@ -7888,7 +7888,7 @@ declare module "factorio:runtime" {
|
|
7888
7888
|
/**
|
7889
7889
|
* Defines an item type that a blueprint entity will request.
|
7890
7890
|
* @see BlueprintInsertPlanWrite
|
7891
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7891
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintInsertPlan.html Online documentation}
|
7892
7892
|
*/
|
7893
7893
|
export interface BlueprintInsertPlan {
|
7894
7894
|
/**
|
@@ -7902,7 +7902,7 @@ declare module "factorio:runtime" {
|
|
7902
7902
|
}
|
7903
7903
|
/**
|
7904
7904
|
* Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
|
7905
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7905
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintInsertPlan.html Online documentation}
|
7906
7906
|
*/
|
7907
7907
|
export interface BlueprintInsertPlanWrite {
|
7908
7908
|
/**
|
@@ -7930,7 +7930,7 @@ declare module "factorio:runtime" {
|
|
7930
7930
|
}
|
7931
7931
|
/**
|
7932
7932
|
* A single offer on a market entity.
|
7933
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7933
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Offer.html Online documentation}
|
7934
7934
|
*/
|
7935
7935
|
export interface Offer {
|
7936
7936
|
/**
|
@@ -8004,12 +8004,12 @@ declare module "factorio:runtime" {
|
|
8004
8004
|
*
|
8005
8005
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
8006
8006
|
*
|
8007
|
-
* {@link https://lua-api.factorio.com/2.0.
|
8007
|
+
* {@link https://lua-api.factorio.com/2.0.55/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
8008
8008
|
*
|
8009
|
-
* {@link https://lua-api.factorio.com/2.0.
|
8009
|
+
* {@link https://lua-api.factorio.com/2.0.55/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
8010
8010
|
*
|
8011
|
-
* {@link https://lua-api.factorio.com/2.0.
|
8012
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8011
|
+
* {@link https://lua-api.factorio.com/2.0.55/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.55/concepts/SoundPath.html Online documentation}
|
8013
8013
|
*/
|
8014
8014
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
8015
8015
|
/**
|
@@ -8027,7 +8027,7 @@ declare module "factorio:runtime" {
|
|
8027
8027
|
* - `"weapon"`
|
8028
8028
|
* - `"explosion"`
|
8029
8029
|
* - `"enemy"`
|
8030
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8030
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SoundType.html Online documentation}
|
8031
8031
|
*/
|
8032
8032
|
export type SoundType =
|
8033
8033
|
| "game-effect"
|
@@ -8068,7 +8068,7 @@ declare module "factorio:runtime" {
|
|
8068
8068
|
}
|
8069
8069
|
/**
|
8070
8070
|
* @see BlueprintLogisticFilterWrite
|
8071
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8071
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintLogisticFilter.html Online documentation}
|
8072
8072
|
*/
|
8073
8073
|
export interface BlueprintLogisticFilter {
|
8074
8074
|
readonly index: LogisticFilterIndex
|
@@ -8098,7 +8098,7 @@ declare module "factorio:runtime" {
|
|
8098
8098
|
}
|
8099
8099
|
/**
|
8100
8100
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
8101
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8101
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/BlueprintLogisticFilter.html Online documentation}
|
8102
8102
|
*/
|
8103
8103
|
export interface BlueprintLogisticFilterWrite {
|
8104
8104
|
readonly index: LogisticFilterIndex
|
@@ -8128,7 +8128,7 @@ declare module "factorio:runtime" {
|
|
8128
8128
|
}
|
8129
8129
|
/**
|
8130
8130
|
* @see LogisticSectionWrite
|
8131
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8131
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LogisticSection.html Online documentation}
|
8132
8132
|
*/
|
8133
8133
|
export interface LogisticSection {
|
8134
8134
|
readonly index: uint8
|
@@ -8145,7 +8145,7 @@ declare module "factorio:runtime" {
|
|
8145
8145
|
}
|
8146
8146
|
/**
|
8147
8147
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
8148
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8148
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LogisticSection.html Online documentation}
|
8149
8149
|
*/
|
8150
8150
|
export interface LogisticSectionWrite {
|
8151
8151
|
readonly index: uint8
|
@@ -8162,7 +8162,7 @@ declare module "factorio:runtime" {
|
|
8162
8162
|
}
|
8163
8163
|
/**
|
8164
8164
|
* @see LogisticSectionsWrite
|
8165
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8165
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LogisticSections.html Online documentation}
|
8166
8166
|
*/
|
8167
8167
|
export interface LogisticSections {
|
8168
8168
|
readonly sections?: LogisticSection[]
|
@@ -8173,7 +8173,7 @@ declare module "factorio:runtime" {
|
|
8173
8173
|
}
|
8174
8174
|
/**
|
8175
8175
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
8176
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8176
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LogisticSections.html Online documentation}
|
8177
8177
|
*/
|
8178
8178
|
export interface LogisticSectionsWrite {
|
8179
8179
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -8196,7 +8196,7 @@ declare module "factorio:runtime" {
|
|
8196
8196
|
* - {@link LuaAsteroidChunkPrototype}
|
8197
8197
|
* - {@link LuaVirtualSignalPrototype}
|
8198
8198
|
* - {@link LuaSurfacePrototype}
|
8199
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8199
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/FactoriopediaID.html Online documentation}
|
8200
8200
|
*/
|
8201
8201
|
export type FactoriopediaID =
|
8202
8202
|
| LuaItemPrototype
|
@@ -8217,7 +8217,7 @@ declare module "factorio:runtime" {
|
|
8217
8217
|
* ## Union members
|
8218
8218
|
* - `"horizontal"`
|
8219
8219
|
* - `"vertical"`
|
8220
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8220
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/GuiDirection.html Online documentation}
|
8221
8221
|
*/
|
8222
8222
|
export type GuiDirection = "horizontal" | "vertical"
|
8223
8223
|
/**
|
@@ -8235,7 +8235,7 @@ declare module "factorio:runtime" {
|
|
8235
8235
|
* - `"top-right"`
|
8236
8236
|
* - `"right"`: The same as `"middle-right"`
|
8237
8237
|
* - `"bottom-right"`
|
8238
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8238
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Alignment.html Online documentation}
|
8239
8239
|
*/
|
8240
8240
|
export type Alignment =
|
8241
8241
|
| "top-left"
|
@@ -8293,7 +8293,7 @@ declare module "factorio:runtime" {
|
|
8293
8293
|
}
|
8294
8294
|
/**
|
8295
8295
|
* A set of trigger target masks.
|
8296
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8296
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TriggerTargetMask.html Online documentation}
|
8297
8297
|
*/
|
8298
8298
|
export type TriggerTargetMask = Record<string, true>
|
8299
8299
|
export interface TriggerDelivery {
|
@@ -8338,7 +8338,7 @@ declare module "factorio:runtime" {
|
|
8338
8338
|
* - `"destroy-decoratives"`
|
8339
8339
|
* - `"camera-effect"`
|
8340
8340
|
* - `"activate-impact"`
|
8341
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8341
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TriggerEffectItemType.html Online documentation}
|
8342
8342
|
*/
|
8343
8343
|
export type TriggerEffectItemType =
|
8344
8344
|
| "damage"
|
@@ -8471,7 +8471,7 @@ declare module "factorio:runtime" {
|
|
8471
8471
|
* Other attributes may be specified depending on `type`:
|
8472
8472
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
8473
8473
|
* - `"stream"`: {@link StreamAttackParameters}
|
8474
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8474
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AttackParameters.html Online documentation}
|
8475
8475
|
*/
|
8476
8476
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
8477
8477
|
/**
|
@@ -8480,12 +8480,12 @@ declare module "factorio:runtime" {
|
|
8480
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.
|
8481
8481
|
* @example
|
8482
8482
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
8483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8483
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Tags.html Online documentation}
|
8484
8484
|
*/
|
8485
8485
|
export type Tags = Record<string, AnyBasic>
|
8486
8486
|
/**
|
8487
8487
|
* @see TileWrite
|
8488
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8488
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Tile.html Online documentation}
|
8489
8489
|
*/
|
8490
8490
|
export interface Tile {
|
8491
8491
|
/**
|
@@ -8499,7 +8499,7 @@ declare module "factorio:runtime" {
|
|
8499
8499
|
}
|
8500
8500
|
/**
|
8501
8501
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
8502
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8502
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Tile.html Online documentation}
|
8503
8503
|
*/
|
8504
8504
|
export interface TileWrite {
|
8505
8505
|
/**
|
@@ -8513,92 +8513,92 @@ declare module "factorio:runtime" {
|
|
8513
8513
|
}
|
8514
8514
|
/**
|
8515
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.
|
8516
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8516
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/float.html Online documentation}
|
8517
8517
|
*/
|
8518
8518
|
export type float = number
|
8519
8519
|
/**
|
8520
8520
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
8521
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8521
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/double.html Online documentation}
|
8522
8522
|
*/
|
8523
8523
|
export type double = number
|
8524
8524
|
/**
|
8525
8525
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
8526
8526
|
*
|
8527
8527
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
8528
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8528
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/int.html Online documentation}
|
8529
8529
|
*/
|
8530
8530
|
export type int = number
|
8531
8531
|
/**
|
8532
8532
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
8533
8533
|
*
|
8534
8534
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
8535
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8535
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/int8.html Online documentation}
|
8536
8536
|
*/
|
8537
8537
|
export type int8 = number
|
8538
8538
|
/**
|
8539
8539
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
8540
8540
|
*
|
8541
8541
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
8542
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8542
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/uint.html Online documentation}
|
8543
8543
|
*/
|
8544
8544
|
export type uint = number
|
8545
8545
|
/**
|
8546
8546
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
8547
8547
|
*
|
8548
8548
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
8549
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8549
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/uint8.html Online documentation}
|
8550
8550
|
*/
|
8551
8551
|
export type uint8 = number
|
8552
8552
|
/**
|
8553
8553
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
8554
8554
|
*
|
8555
8555
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
8556
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8556
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/uint16.html Online documentation}
|
8557
8557
|
*/
|
8558
8558
|
export type uint16 = number
|
8559
8559
|
/**
|
8560
8560
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
8561
8561
|
*
|
8562
8562
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
8563
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8563
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/uint64.html Online documentation}
|
8564
8564
|
*/
|
8565
8565
|
export type uint64 = number
|
8566
8566
|
/**
|
8567
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.
|
8568
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8568
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/nil.html Online documentation}
|
8569
8569
|
*/
|
8570
8570
|
export type nil = undefined
|
8571
8571
|
/**
|
8572
8572
|
* Tables are enclosed in curly brackets, like this `{}`.
|
8573
8573
|
*
|
8574
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.
|
8575
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8575
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/table.html Online documentation}
|
8576
8576
|
*/
|
8577
8577
|
export type table = object
|
8578
8578
|
/**
|
8579
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.
|
8580
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8579
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.55/classes.html Classes} page.
|
8580
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaObject.html Online documentation}
|
8581
8581
|
*/
|
8582
8582
|
export interface LuaObject {
|
8583
8583
|
readonly object_name: string
|
8584
8584
|
}
|
8585
8585
|
/**
|
8586
8586
|
* Any basic type (string, number, boolean) or table.
|
8587
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8587
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AnyBasic.html Online documentation}
|
8588
8588
|
*/
|
8589
8589
|
export type AnyBasic = string | boolean | number | table
|
8590
8590
|
/**
|
8591
8591
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
8592
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8592
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/Any.html Online documentation}
|
8593
8593
|
*/
|
8594
8594
|
export type Any = string | boolean | number | table | LuaObject
|
8595
8595
|
/**
|
8596
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}`.
|
8597
8597
|
*
|
8598
|
-
* {@link https://lua-api.factorio.com/2.0.
|
8598
|
+
* {@link https://lua-api.factorio.com/2.0.55/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:}
|
8599
8599
|
*
|
8600
|
-
* {@link https://lua-api.factorio.com/2.0.
|
8601
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8600
|
+
* {@link https://lua-api.factorio.com/2.0.55/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.55/concepts/PropertyExpressionNames.html Online documentation}
|
8602
8602
|
*/
|
8603
8603
|
export type PropertyExpressionNames = Record<string, string>
|
8604
8604
|
/**
|
@@ -8655,7 +8655,7 @@ declare module "factorio:runtime" {
|
|
8655
8655
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
8656
8656
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
8657
8657
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
8658
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8658
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ModSettingPrototypeFilter.html Online documentation}
|
8659
8659
|
*/
|
8660
8660
|
export type ModSettingPrototypeFilter =
|
8661
8661
|
| TypeModSettingPrototypeFilter
|
@@ -8719,7 +8719,7 @@ declare module "factorio:runtime" {
|
|
8719
8719
|
* Other attributes may be specified depending on `filter`:
|
8720
8720
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
8721
8721
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
8722
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8722
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
8723
8723
|
*/
|
8724
8724
|
export type SpaceLocationPrototypeFilter =
|
8725
8725
|
| TypeSpaceLocationPrototypeFilter
|
@@ -8727,7 +8727,7 @@ declare module "factorio:runtime" {
|
|
8727
8727
|
| OtherSpaceLocationPrototypeFilter
|
8728
8728
|
/**
|
8729
8729
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
8730
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8730
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
8731
8731
|
*/
|
8732
8732
|
export type SpaceLocationPrototypeFilterWrite =
|
8733
8733
|
| TypeSpaceLocationPrototypeFilter
|
@@ -8775,7 +8775,7 @@ declare module "factorio:runtime" {
|
|
8775
8775
|
*
|
8776
8776
|
* Other attributes may be specified depending on `filter`:
|
8777
8777
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
8778
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8778
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/DecorativePrototypeFilter.html Online documentation}
|
8779
8779
|
*/
|
8780
8780
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
8781
8781
|
/**
|
@@ -8917,7 +8917,7 @@ declare module "factorio:runtime" {
|
|
8917
8917
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
8918
8918
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
8919
8919
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
8920
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8920
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TilePrototypeFilter.html Online documentation}
|
8921
8921
|
*/
|
8922
8922
|
export type TilePrototypeFilter =
|
8923
8923
|
| CollisionMaskTilePrototypeFilter
|
@@ -8928,7 +8928,7 @@ declare module "factorio:runtime" {
|
|
8928
8928
|
| OtherTilePrototypeFilter
|
8929
8929
|
/**
|
8930
8930
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
8931
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8931
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TilePrototypeFilter.html Online documentation}
|
8932
8932
|
*/
|
8933
8933
|
export type TilePrototypeFilterWrite =
|
8934
8934
|
| CollisionMaskTilePrototypeFilter
|
@@ -9283,7 +9283,7 @@ declare module "factorio:runtime" {
|
|
9283
9283
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
9284
9284
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
9285
9285
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
9286
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9286
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ItemPrototypeFilter.html Online documentation}
|
9287
9287
|
*/
|
9288
9288
|
export type ItemPrototypeFilter =
|
9289
9289
|
| PlaceResultItemPrototypeFilter
|
@@ -9305,7 +9305,7 @@ declare module "factorio:runtime" {
|
|
9305
9305
|
| OtherItemPrototypeFilter
|
9306
9306
|
/**
|
9307
9307
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
9308
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9308
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/ItemPrototypeFilter.html Online documentation}
|
9309
9309
|
*/
|
9310
9310
|
export type ItemPrototypeFilterWrite =
|
9311
9311
|
| PlaceResultItemPrototypeFilterWrite
|
@@ -9445,7 +9445,7 @@ declare module "factorio:runtime" {
|
|
9445
9445
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
9446
9446
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
9447
9447
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
9448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9448
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TechnologyPrototypeFilter.html Online documentation}
|
9449
9449
|
*/
|
9450
9450
|
export type TechnologyPrototypeFilter =
|
9451
9451
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -9456,7 +9456,7 @@ declare module "factorio:runtime" {
|
|
9456
9456
|
| OtherTechnologyPrototypeFilter
|
9457
9457
|
/**
|
9458
9458
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
9459
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9459
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/TechnologyPrototypeFilter.html Online documentation}
|
9460
9460
|
*/
|
9461
9461
|
export type TechnologyPrototypeFilterWrite =
|
9462
9462
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -9716,7 +9716,7 @@ declare module "factorio:runtime" {
|
|
9716
9716
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
9717
9717
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
9718
9718
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
9719
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9719
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/RecipePrototypeFilter.html Online documentation}
|
9720
9720
|
*/
|
9721
9721
|
export type RecipePrototypeFilter =
|
9722
9722
|
| HasIngredientItemRecipePrototypeFilter
|
@@ -9732,7 +9732,7 @@ declare module "factorio:runtime" {
|
|
9732
9732
|
| OtherRecipePrototypeFilter
|
9733
9733
|
/**
|
9734
9734
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
9735
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9735
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/RecipePrototypeFilter.html Online documentation}
|
9736
9736
|
*/
|
9737
9737
|
export type RecipePrototypeFilterWrite =
|
9738
9738
|
| HasIngredientItemRecipePrototypeFilterWrite
|
@@ -9784,7 +9784,7 @@ declare module "factorio:runtime" {
|
|
9784
9784
|
*
|
9785
9785
|
* Other attributes may be specified depending on `filter`:
|
9786
9786
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
9787
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9787
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/AchievementPrototypeFilter.html Online documentation}
|
9788
9788
|
*/
|
9789
9789
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
9790
9790
|
/**
|
@@ -9825,7 +9825,7 @@ declare module "factorio:runtime" {
|
|
9825
9825
|
*
|
9826
9826
|
* Other attributes may be specified depending on `filter`:
|
9827
9827
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
9828
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9828
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EquipmentPrototypeFilter.html Online documentation}
|
9829
9829
|
*/
|
9830
9830
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
9831
9831
|
/**
|
@@ -10010,7 +10010,7 @@ declare module "factorio:runtime" {
|
|
10010
10010
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
10011
10011
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
10012
10012
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
10013
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10013
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/FluidPrototypeFilter.html Online documentation}
|
10014
10014
|
*/
|
10015
10015
|
export type FluidPrototypeFilter =
|
10016
10016
|
| NameFluidPrototypeFilter
|
@@ -10024,7 +10024,7 @@ declare module "factorio:runtime" {
|
|
10024
10024
|
| OtherFluidPrototypeFilter
|
10025
10025
|
/**
|
10026
10026
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
10027
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10027
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/FluidPrototypeFilter.html Online documentation}
|
10028
10028
|
*/
|
10029
10029
|
export type FluidPrototypeFilterWrite =
|
10030
10030
|
| NameFluidPrototypeFilter
|
@@ -10264,7 +10264,7 @@ declare module "factorio:runtime" {
|
|
10264
10264
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
10265
10265
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
10266
10266
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
10267
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10267
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EntityPrototypeFilter.html Online documentation}
|
10268
10268
|
*/
|
10269
10269
|
export type EntityPrototypeFilter =
|
10270
10270
|
| NameEntityPrototypeFilter
|
@@ -10278,7 +10278,7 @@ declare module "factorio:runtime" {
|
|
10278
10278
|
| OtherEntityPrototypeFilter
|
10279
10279
|
/**
|
10280
10280
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
10281
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10281
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/EntityPrototypeFilter.html Online documentation}
|
10282
10282
|
*/
|
10283
10283
|
export type EntityPrototypeFilterWrite =
|
10284
10284
|
| NameEntityPrototypeFilter
|
@@ -10387,7 +10387,7 @@ declare module "factorio:runtime" {
|
|
10387
10387
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
10388
10388
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
10389
10389
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
10390
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10390
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
10391
10391
|
*/
|
10392
10392
|
export type LuaScriptRaisedTeleportedEventFilter =
|
10393
10393
|
| TypeScriptRaisedTeleportedEventFilter
|
@@ -10492,7 +10492,7 @@ declare module "factorio:runtime" {
|
|
10492
10492
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
10493
10493
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
10494
10494
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
10495
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10495
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
10496
10496
|
*/
|
10497
10497
|
export type LuaPreRobotMinedEntityEventFilter =
|
10498
10498
|
| TypePreRobotMinedEntityEventFilter
|
@@ -10597,7 +10597,7 @@ declare module "factorio:runtime" {
|
|
10597
10597
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
10598
10598
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
10599
10599
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
10600
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10600
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
10601
10601
|
*/
|
10602
10602
|
export type LuaScriptRaisedBuiltEventFilter =
|
10603
10603
|
| TypeScriptRaisedBuiltEventFilter
|
@@ -10702,7 +10702,7 @@ declare module "factorio:runtime" {
|
|
10702
10702
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
10703
10703
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
10704
10704
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
10705
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10705
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
10706
10706
|
*/
|
10707
10707
|
export type LuaPlatformMinedEntityEventFilter =
|
10708
10708
|
| TypePlatformMinedEntityEventFilter
|
@@ -10819,7 +10819,7 @@ declare module "factorio:runtime" {
|
|
10819
10819
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
10820
10820
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
10821
10821
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
10822
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10822
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
10823
10823
|
*/
|
10824
10824
|
export type LuaRobotBuiltEntityEventFilter =
|
10825
10825
|
| TypeRobotBuiltEntityEventFilter
|
@@ -10925,7 +10925,7 @@ declare module "factorio:runtime" {
|
|
10925
10925
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
10926
10926
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
10927
10927
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
10928
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10928
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
10929
10929
|
*/
|
10930
10930
|
export type LuaPrePlayerMinedEntityEventFilter =
|
10931
10931
|
| TypePrePlayerMinedEntityEventFilter
|
@@ -11032,7 +11032,7 @@ declare module "factorio:runtime" {
|
|
11032
11032
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
11033
11033
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
11034
11034
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
11035
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11035
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
11036
11036
|
*/
|
11037
11037
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
11038
11038
|
| TypeEntityDeconstructionCancelledEventFilter
|
@@ -11137,7 +11137,7 @@ declare module "factorio:runtime" {
|
|
11137
11137
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
11138
11138
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
11139
11139
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
11140
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11140
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
11141
11141
|
*/
|
11142
11142
|
export type LuaPreGhostUpgradedEventFilter =
|
11143
11143
|
| TypePreGhostUpgradedEventFilter
|
@@ -11254,7 +11254,7 @@ declare module "factorio:runtime" {
|
|
11254
11254
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
11255
11255
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
11256
11256
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
11257
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11257
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
11258
11258
|
*/
|
11259
11259
|
export type LuaPlatformBuiltEntityEventFilter =
|
11260
11260
|
| TypePlatformBuiltEntityEventFilter
|
@@ -11360,7 +11360,7 @@ declare module "factorio:runtime" {
|
|
11360
11360
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
11361
11361
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
11362
11362
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
11363
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11363
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
11364
11364
|
*/
|
11365
11365
|
export type LuaPrePlatformMinedEntityEventFilter =
|
11366
11366
|
| TypePrePlatformMinedEntityEventFilter
|
@@ -11465,7 +11465,7 @@ declare module "factorio:runtime" {
|
|
11465
11465
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
11466
11466
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
11467
11467
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
11468
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11468
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
11469
11469
|
*/
|
11470
11470
|
export type LuaEntityClonedEventFilter =
|
11471
11471
|
| TypeEntityClonedEventFilter
|
@@ -11570,7 +11570,7 @@ declare module "factorio:runtime" {
|
|
11570
11570
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
11571
11571
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
11572
11572
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
11573
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11573
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
11574
11574
|
*/
|
11575
11575
|
export type LuaPlayerRepairedEntityEventFilter =
|
11576
11576
|
| TypePlayerRepairedEntityEventFilter
|
@@ -11616,7 +11616,7 @@ declare module "factorio:runtime" {
|
|
11616
11616
|
*
|
11617
11617
|
* Other attributes may be specified depending on `filter`:
|
11618
11618
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
11619
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11619
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
11620
11620
|
*/
|
11621
11621
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter | OtherPostEntityDiedEventFilter
|
11622
11622
|
/**
|
@@ -11716,7 +11716,7 @@ declare module "factorio:runtime" {
|
|
11716
11716
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
11717
11717
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
11718
11718
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
11719
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11719
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
11720
11720
|
*/
|
11721
11721
|
export type LuaPreGhostDeconstructedEventFilter =
|
11722
11722
|
| TypePreGhostDeconstructedEventFilter
|
@@ -11821,7 +11821,7 @@ declare module "factorio:runtime" {
|
|
11821
11821
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
11822
11822
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
11823
11823
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
11824
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11824
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
11825
11825
|
*/
|
11826
11826
|
export type LuaPlayerMinedEntityEventFilter =
|
11827
11827
|
| TypePlayerMinedEntityEventFilter
|
@@ -11926,7 +11926,7 @@ declare module "factorio:runtime" {
|
|
11926
11926
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
11927
11927
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
11928
11928
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
11929
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11929
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
11930
11930
|
*/
|
11931
11931
|
export type LuaSectorScannedEventFilter =
|
11932
11932
|
| TypeSectorScannedEventFilter
|
@@ -12031,7 +12031,7 @@ declare module "factorio:runtime" {
|
|
12031
12031
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
12032
12032
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
12033
12033
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
12034
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12034
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
12035
12035
|
*/
|
12036
12036
|
export type LuaRobotMinedEntityEventFilter =
|
12037
12037
|
| TypeRobotMinedEntityEventFilter
|
@@ -12138,7 +12138,7 @@ declare module "factorio:runtime" {
|
|
12138
12138
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
12139
12139
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
12140
12140
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
12141
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12141
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
12142
12142
|
*/
|
12143
12143
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
12144
12144
|
| TypeEntityMarkedForDeconstructionEventFilter
|
@@ -12243,7 +12243,7 @@ declare module "factorio:runtime" {
|
|
12243
12243
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
12244
12244
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
12245
12245
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
12246
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12246
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
12247
12247
|
*/
|
12248
12248
|
export type LuaScriptRaisedReviveEventFilter =
|
12249
12249
|
| TypeScriptRaisedReviveEventFilter
|
@@ -12360,7 +12360,7 @@ declare module "factorio:runtime" {
|
|
12360
12360
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
12361
12361
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
12362
12362
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
12363
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12363
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
12364
12364
|
*/
|
12365
12365
|
export type LuaPlayerBuiltEntityEventFilter =
|
12366
12366
|
| TypePlayerBuiltEntityEventFilter
|
@@ -12466,7 +12466,7 @@ declare module "factorio:runtime" {
|
|
12466
12466
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
12467
12467
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
12468
12468
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
12469
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12469
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
12470
12470
|
*/
|
12471
12471
|
export type LuaUpgradeCancelledEventFilter =
|
12472
12472
|
| TypeUpgradeCancelledEventFilter
|
@@ -12646,7 +12646,7 @@ declare module "factorio:runtime" {
|
|
12646
12646
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
12647
12647
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
12648
12648
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
12649
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12649
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
12650
12650
|
*/
|
12651
12651
|
export type LuaEntityDamagedEventFilter =
|
12652
12652
|
| TypeEntityDamagedEventFilter
|
@@ -12660,7 +12660,7 @@ declare module "factorio:runtime" {
|
|
12660
12660
|
| OtherEntityDamagedEventFilter
|
12661
12661
|
/**
|
12662
12662
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
12663
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12663
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
12664
12664
|
*/
|
12665
12665
|
export type LuaEntityDamagedEventFilterWrite =
|
12666
12666
|
| TypeEntityDamagedEventFilter
|
@@ -12769,7 +12769,7 @@ declare module "factorio:runtime" {
|
|
12769
12769
|
* - `"name"`: {@link NameEntityDiedEventFilter}
|
12770
12770
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
12771
12771
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
12772
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12772
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
12773
12773
|
*/
|
12774
12774
|
export type LuaEntityDiedEventFilter =
|
12775
12775
|
| TypeEntityDiedEventFilter
|
@@ -12874,7 +12874,7 @@ declare module "factorio:runtime" {
|
|
12874
12874
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
12875
12875
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
12876
12876
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
12877
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12877
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
12878
12878
|
*/
|
12879
12879
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
12880
12880
|
| TypeEntityMarkedForUpgradeEventFilter
|
@@ -12979,7 +12979,7 @@ declare module "factorio:runtime" {
|
|
12979
12979
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
12980
12980
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
12981
12981
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
12982
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12982
|
+
* @see {@link https://lua-api.factorio.com/2.0.55/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
12983
12983
|
*/
|
12984
12984
|
export type LuaScriptRaisedDestroyEventFilter =
|
12985
12985
|
| TypeScriptRaisedDestroyEventFilter
|