typed-factorio 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/prototype/generated/prototypes.d.ts +1731 -1724
- package/prototype/generated/types.d.ts +1420 -1420
- package/runtime/generated/builtin-types.d.ts +16 -16
- package/runtime/generated/classes.d.ts +3290 -3290
- package/runtime/generated/concepts.d.ts +181 -181
- package/runtime/generated/defines.d.ts +117 -117
- package/runtime/generated/events.d.ts +185 -185
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +6 -6
@@ -30,7 +30,7 @@ declare module "factorio:runtime" {
|
|
30
30
|
* game.print({"", {"item-name.iron-plate"}, ": ", 60})
|
31
31
|
* @example As an example of a localised string with fallback, consider this:
|
32
32
|
* {"?", {"", {"entity-description.furnace"}, "\n"}, {"item-description.furnace"}, "optional fallback"}
|
33
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
33
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LocalisedString Online documentation}
|
34
34
|
*/
|
35
35
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
36
36
|
export interface DisplayResolution {
|
@@ -49,7 +49,7 @@ declare module "factorio:runtime" {
|
|
49
49
|
* The smooth orientation. It is a {@link float} in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise. This means a value of `0` indicates "north", a value of `0.5` indicates "south".
|
50
50
|
*
|
51
51
|
* For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
|
52
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
52
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#RealOrientation Online documentation}
|
53
53
|
*/
|
54
54
|
export type RealOrientation = float
|
55
55
|
/**
|
@@ -62,7 +62,7 @@ declare module "factorio:runtime" {
|
|
62
62
|
* {y = 2.25, x = 5.125}
|
63
63
|
* @example Shorthand:
|
64
64
|
* {1.625, 2.375}
|
65
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
65
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapPosition Online documentation}
|
66
66
|
*/
|
67
67
|
export interface MapPosition {
|
68
68
|
readonly x: double
|
@@ -71,13 +71,13 @@ declare module "factorio:runtime" {
|
|
71
71
|
/**
|
72
72
|
* Array form of {@link MapPosition}.
|
73
73
|
* @see MapPosition
|
74
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
74
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapPosition Online documentation}
|
75
75
|
*/
|
76
76
|
export type MapPositionArray = readonly [x: double, y: double]
|
77
77
|
/**
|
78
78
|
* 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.
|
79
79
|
* @see ChunkPositionArray
|
80
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
80
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ChunkPosition Online documentation}
|
81
81
|
*/
|
82
82
|
export interface ChunkPosition {
|
83
83
|
readonly x: int
|
@@ -86,13 +86,13 @@ declare module "factorio:runtime" {
|
|
86
86
|
/**
|
87
87
|
* Array form of {@link ChunkPosition}.
|
88
88
|
* @see ChunkPosition
|
89
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
89
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ChunkPosition Online documentation}
|
90
90
|
*/
|
91
91
|
export type ChunkPositionArray = readonly [x: int, y: int]
|
92
92
|
/**
|
93
93
|
* 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.
|
94
94
|
* @see TilePositionArray
|
95
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
95
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TilePosition Online documentation}
|
96
96
|
*/
|
97
97
|
export interface TilePosition {
|
98
98
|
readonly x: int
|
@@ -101,7 +101,7 @@ declare module "factorio:runtime" {
|
|
101
101
|
/**
|
102
102
|
* Array form of {@link TilePosition}.
|
103
103
|
* @see TilePosition
|
104
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
104
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TilePosition Online documentation}
|
105
105
|
*/
|
106
106
|
export type TilePositionArray = readonly [x: int, y: int]
|
107
107
|
/**
|
@@ -112,7 +112,7 @@ declare module "factorio:runtime" {
|
|
112
112
|
* {y = 2, x = 5}
|
113
113
|
* @example Shorthand:
|
114
114
|
* {1, 2}
|
115
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
115
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EquipmentPosition Online documentation}
|
116
116
|
*/
|
117
117
|
export interface EquipmentPosition {
|
118
118
|
readonly x: int
|
@@ -121,13 +121,13 @@ declare module "factorio:runtime" {
|
|
121
121
|
/**
|
122
122
|
* Array form of {@link EquipmentPosition}.
|
123
123
|
* @see EquipmentPosition
|
124
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
124
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EquipmentPosition Online documentation}
|
125
125
|
*/
|
126
126
|
export type EquipmentPositionArray = readonly [x: int, y: int]
|
127
127
|
/**
|
128
128
|
* 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.
|
129
129
|
* @see GuiLocationArray
|
130
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
130
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GuiLocation Online documentation}
|
131
131
|
*/
|
132
132
|
export interface GuiLocation {
|
133
133
|
readonly x: int
|
@@ -136,12 +136,12 @@ declare module "factorio:runtime" {
|
|
136
136
|
/**
|
137
137
|
* Array form of {@link GuiLocation}.
|
138
138
|
* @see GuiLocation
|
139
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
139
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GuiLocation Online documentation}
|
140
140
|
*/
|
141
141
|
export type GuiLocationArray = readonly [x: int, y: int]
|
142
142
|
/**
|
143
143
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
144
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
144
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ChunkPositionAndArea Online documentation}
|
145
145
|
*/
|
146
146
|
export interface ChunkPositionAndArea {
|
147
147
|
readonly x: int
|
@@ -150,7 +150,7 @@ declare module "factorio:runtime" {
|
|
150
150
|
}
|
151
151
|
/**
|
152
152
|
* A table used to define a manual shape for a piece of equipment.
|
153
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
153
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EquipmentPoint Online documentation}
|
154
154
|
*/
|
155
155
|
export interface EquipmentPoint {
|
156
156
|
readonly x: uint
|
@@ -186,12 +186,12 @@ declare module "factorio:runtime" {
|
|
186
186
|
* 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.
|
187
187
|
* @example
|
188
188
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
189
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
189
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Tags Online documentation}
|
190
190
|
*/
|
191
191
|
export type Tags = Record<string, AnyBasic>
|
192
192
|
/**
|
193
193
|
* @remarks The vectors for all 5 position attributes are a table with `x` and `y` keys instead of an array.
|
194
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
194
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SmokeSource Online documentation}
|
195
195
|
*/
|
196
196
|
export interface SmokeSource {
|
197
197
|
readonly name: string
|
@@ -218,7 +218,7 @@ declare module "factorio:runtime" {
|
|
218
218
|
* A vector is a two-element array containing the `x` and `y` components. In some specific cases, the vector is a table with `x` and `y` keys instead, which the documentation will point out.
|
219
219
|
* @example
|
220
220
|
* right = {1.0, 0.0}
|
221
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
221
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Vector Online documentation}
|
222
222
|
*/
|
223
223
|
export type Vector = MapPositionArray
|
224
224
|
/**
|
@@ -228,7 +228,7 @@ declare module "factorio:runtime" {
|
|
228
228
|
* {left_top = {x = -2, y = -3}, right_bottom = {x = 5, y = 8}}
|
229
229
|
* @example Shorthand:
|
230
230
|
* {{-2, -3}, {5, 8}}
|
231
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
231
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#BoundingBox Online documentation}
|
232
232
|
*/
|
233
233
|
export interface BoundingBox {
|
234
234
|
readonly left_top: MapPosition
|
@@ -246,7 +246,7 @@ declare module "factorio:runtime" {
|
|
246
246
|
/**
|
247
247
|
* Array form of {@link BoundingBox}.
|
248
248
|
* @see BoundingBox
|
249
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
249
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#BoundingBox Online documentation}
|
250
250
|
*/
|
251
251
|
export type BoundingBoxArray = readonly [
|
252
252
|
left_top: MapPosition | MapPositionArray,
|
@@ -256,7 +256,7 @@ declare module "factorio:runtime" {
|
|
256
256
|
/**
|
257
257
|
* An area defined using the map editor.
|
258
258
|
* @see ScriptAreaWrite
|
259
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
259
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ScriptArea Online documentation}
|
260
260
|
*/
|
261
261
|
export interface ScriptArea {
|
262
262
|
readonly area: BoundingBox
|
@@ -266,7 +266,7 @@ declare module "factorio:runtime" {
|
|
266
266
|
}
|
267
267
|
/**
|
268
268
|
* Write form of {@link ScriptArea}, where table-or-array concepts are allowed to take an array form.
|
269
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
269
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ScriptArea Online documentation}
|
270
270
|
*/
|
271
271
|
export interface ScriptAreaWrite {
|
272
272
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
@@ -277,7 +277,7 @@ declare module "factorio:runtime" {
|
|
277
277
|
/**
|
278
278
|
* A position defined using the map editor.
|
279
279
|
* @see ScriptPositionWrite
|
280
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
280
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ScriptPosition Online documentation}
|
281
281
|
*/
|
282
282
|
export interface ScriptPosition {
|
283
283
|
readonly position: MapPosition
|
@@ -287,7 +287,7 @@ declare module "factorio:runtime" {
|
|
287
287
|
}
|
288
288
|
/**
|
289
289
|
* Write form of {@link ScriptPosition}, where table-or-array concepts are allowed to take an array form.
|
290
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
290
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ScriptPosition Online documentation}
|
291
291
|
*/
|
292
292
|
export interface ScriptPositionWrite {
|
293
293
|
readonly position: MapPosition | MapPositionArray
|
@@ -305,7 +305,7 @@ declare module "factorio:runtime" {
|
|
305
305
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
306
306
|
* black = {} -- All channels omitted: black
|
307
307
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
308
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
308
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Color Online documentation}
|
309
309
|
*/
|
310
310
|
export interface Color {
|
311
311
|
readonly r?: float
|
@@ -316,13 +316,13 @@ declare module "factorio:runtime" {
|
|
316
316
|
/**
|
317
317
|
* Array form of {@link Color}.
|
318
318
|
* @see Color
|
319
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
319
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Color Online documentation}
|
320
320
|
*/
|
321
321
|
export type ColorArray = readonly [r?: float, g?: float, b?: float, a?: float]
|
322
322
|
/**
|
323
323
|
* 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].
|
324
324
|
* @see ColorModifierArray
|
325
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
325
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ColorModifier Online documentation}
|
326
326
|
*/
|
327
327
|
export interface ColorModifier {
|
328
328
|
readonly r?: float
|
@@ -333,7 +333,7 @@ declare module "factorio:runtime" {
|
|
333
333
|
/**
|
334
334
|
* Array form of {@link ColorModifier}.
|
335
335
|
* @see ColorModifier
|
336
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
336
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ColorModifier Online documentation}
|
337
337
|
*/
|
338
338
|
export type ColorModifierArray = readonly [r?: float, g?: float, b?: float, a?: float]
|
339
339
|
export interface CraftingQueueItem {
|
@@ -373,7 +373,7 @@ declare module "factorio:runtime" {
|
|
373
373
|
}
|
374
374
|
/**
|
375
375
|
* One vertex of a ScriptRenderPolygon.
|
376
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
376
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ScriptRenderVertexTarget Online documentation}
|
377
377
|
*/
|
378
378
|
export interface ScriptRenderVertexTarget {
|
379
379
|
readonly target: (MapPosition | MapPositionArray) | LuaEntity
|
@@ -439,7 +439,7 @@ declare module "factorio:runtime" {
|
|
439
439
|
}
|
440
440
|
/**
|
441
441
|
* @remarks Either `icon`, `text`, or both must be provided.
|
442
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
442
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ChartTagSpec Online documentation}
|
443
443
|
*/
|
444
444
|
export interface ChartTagSpec {
|
445
445
|
readonly position: MapPosition | MapPositionArray
|
@@ -449,88 +449,88 @@ declare module "factorio:runtime" {
|
|
449
449
|
}
|
450
450
|
/**
|
451
451
|
* 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.
|
452
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
452
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings Online documentation}
|
453
453
|
*/
|
454
454
|
export interface GameViewSettings {
|
455
455
|
/**
|
456
456
|
* Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
|
457
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
457
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_controller_gui Online documentation}
|
458
458
|
*/
|
459
459
|
show_controller_gui: boolean
|
460
460
|
/**
|
461
461
|
* Show the chart in the upper right-hand corner of the screen.
|
462
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
462
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_minimap Online documentation}
|
463
463
|
*/
|
464
464
|
show_minimap: boolean
|
465
465
|
/**
|
466
466
|
* Show research progress and name in the upper right-hand corner of the screen.
|
467
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
467
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_research_info Online documentation}
|
468
468
|
*/
|
469
469
|
show_research_info: boolean
|
470
470
|
/**
|
471
471
|
* Show overlay icons on entities. Also known as "alt-mode".
|
472
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
472
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_entity_info Online documentation}
|
473
473
|
*/
|
474
474
|
show_entity_info: boolean
|
475
475
|
/**
|
476
476
|
* Show the flashing alert icons next to the player's toolbar.
|
477
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
477
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_alert_gui Online documentation}
|
478
478
|
*/
|
479
479
|
show_alert_gui: boolean
|
480
480
|
/**
|
481
481
|
* When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
|
482
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
482
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.update_entity_selection Online documentation}
|
483
483
|
*/
|
484
484
|
update_entity_selection: boolean
|
485
485
|
/**
|
486
486
|
* When `true` (`false` is default), the rails will always show the rail block visualisation.
|
487
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
487
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_rail_block_visualisation Online documentation}
|
488
488
|
*/
|
489
489
|
show_rail_block_visualisation: boolean
|
490
490
|
/**
|
491
491
|
* Shows or hides the buttons row.
|
492
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
492
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_side_menu Online documentation}
|
493
493
|
*/
|
494
494
|
show_side_menu: boolean
|
495
495
|
/**
|
496
496
|
* Shows or hides the view options when map is opened.
|
497
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
497
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_map_view_options Online documentation}
|
498
498
|
*/
|
499
499
|
show_map_view_options: boolean
|
500
500
|
/**
|
501
501
|
* Shows or hides the tooltip that is displayed when selecting an entity.
|
502
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
502
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_entity_tooltip Online documentation}
|
503
503
|
*/
|
504
504
|
show_entity_tooltip: boolean
|
505
505
|
/**
|
506
506
|
* Shows or hides quickbar of shortcuts.
|
507
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
507
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_quickbar Online documentation}
|
508
508
|
*/
|
509
509
|
show_quickbar: boolean
|
510
510
|
/**
|
511
511
|
* Shows or hides the shortcut bar.
|
512
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
512
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_shortcut_bar Online documentation}
|
513
513
|
*/
|
514
514
|
show_shortcut_bar: boolean
|
515
515
|
/**
|
516
516
|
* Shows or hides the crafting queue.
|
517
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
517
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_crafting_queue Online documentation}
|
518
518
|
*/
|
519
519
|
show_crafting_queue: boolean
|
520
520
|
/**
|
521
521
|
* Shows or hides the tool window with the weapons and armor.
|
522
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
522
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_tool_bar Online documentation}
|
523
523
|
*/
|
524
524
|
show_tool_bar: boolean
|
525
525
|
/**
|
526
526
|
* Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
|
527
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
527
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GameViewSettings.show_hotkey_suggestions Online documentation}
|
528
528
|
*/
|
529
529
|
show_hotkey_suggestions: boolean
|
530
530
|
}
|
531
531
|
/**
|
532
532
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
533
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
533
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapViewSettings Online documentation}
|
534
534
|
*/
|
535
535
|
export interface MapViewSettings {
|
536
536
|
readonly "show-logistic-network"?: boolean
|
@@ -544,7 +544,7 @@ declare module "factorio:runtime" {
|
|
544
544
|
}
|
545
545
|
/**
|
546
546
|
* These values are for the time frame of one second (60 ticks).
|
547
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
547
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#PollutionMapSettings Online documentation}
|
548
548
|
*/
|
549
549
|
export interface PollutionMapSettings {
|
550
550
|
/**
|
@@ -598,7 +598,7 @@ declare module "factorio:runtime" {
|
|
598
598
|
}
|
599
599
|
/**
|
600
600
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
601
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
601
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EnemyEvolutionMapSettings Online documentation}
|
602
602
|
*/
|
603
603
|
export interface EnemyEvolutionMapSettings {
|
604
604
|
/**
|
@@ -638,7 +638,7 @@ declare module "factorio:runtime" {
|
|
638
638
|
*
|
639
639
|
* score(chunk) = 1 / (1 + player + base)
|
640
640
|
* ```
|
641
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
641
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EnemyExpansionMapSettings Online documentation}
|
642
642
|
*/
|
643
643
|
export interface EnemyExpansionMapSettings {
|
644
644
|
/**
|
@@ -686,25 +686,25 @@ declare module "factorio:runtime" {
|
|
686
686
|
*/
|
687
687
|
readonly settler_group_max_size: uint
|
688
688
|
/**
|
689
|
-
* The minimum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `4*3
|
689
|
+
* The minimum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `4*3 600=14 400` ticks.
|
690
690
|
*/
|
691
691
|
readonly min_expansion_cooldown: uint
|
692
692
|
/**
|
693
|
-
* The maximum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `60*3
|
693
|
+
* The maximum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `60*3 600=216 000` ticks.
|
694
694
|
*/
|
695
695
|
readonly max_expansion_cooldown: uint
|
696
696
|
}
|
697
697
|
export interface UnitGroupMapSettings {
|
698
698
|
/**
|
699
|
-
* The minimum amount of time in ticks a group will spend gathering before setting off. The actual time is a random time between the minimum and maximum times. Defaults to `3
|
699
|
+
* The minimum amount of time in ticks a group will spend gathering before setting off. The actual time is a random time between the minimum and maximum times. Defaults to `3 600` ticks.
|
700
700
|
*/
|
701
701
|
readonly min_group_gathering_time: uint
|
702
702
|
/**
|
703
|
-
* The maximum amount of time in ticks a group will spend gathering before setting off. The actual time is a random time between the minimum and maximum times. Defaults to `10*3
|
703
|
+
* The maximum amount of time in ticks a group will spend gathering before setting off. The actual time is a random time between the minimum and maximum times. Defaults to `10*3 600=36 000` ticks.
|
704
704
|
*/
|
705
705
|
readonly max_group_gathering_time: uint
|
706
706
|
/**
|
707
|
-
* After gathering has finished, the group is allowed to wait this long in ticks for delayed members. New members are not accepted anymore however. Defaults to `2*3
|
707
|
+
* After gathering has finished, the group is allowed to wait this long in ticks for delayed members. New members are not accepted anymore however. Defaults to `2*3 600=7 200` ticks.
|
708
708
|
*/
|
709
709
|
readonly max_wait_time_for_late_members: uint
|
710
710
|
/**
|
@@ -771,11 +771,11 @@ declare module "factorio:runtime" {
|
|
771
771
|
*/
|
772
772
|
readonly goal_pressure_ratio: double
|
773
773
|
/**
|
774
|
-
* The maximum number of nodes that are expanded per tick. Defaults to `1
|
774
|
+
* The maximum number of nodes that are expanded per tick. Defaults to `1 000`.
|
775
775
|
*/
|
776
776
|
readonly max_steps_worked_per_tick: double
|
777
777
|
/**
|
778
|
-
* The maximum amount of work each pathfinding job is allowed to do per tick. Defaults to `8
|
778
|
+
* The maximum amount of work each pathfinding job is allowed to do per tick. Defaults to `8 000`.
|
779
779
|
*/
|
780
780
|
readonly max_work_done_per_tick: uint
|
781
781
|
/**
|
@@ -899,7 +899,7 @@ declare module "factorio:runtime" {
|
|
899
899
|
* Various game-related settings. Updating any of the attributes will immediately take effect in the game engine.
|
900
900
|
* @example Increase the number of short paths the pathfinder can cache.
|
901
901
|
* game.map_settings.path_finder.short_cache_size = 15
|
902
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
902
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapSettings Online documentation}
|
903
903
|
*/
|
904
904
|
export interface MapSettings {
|
905
905
|
pollution: PollutionMapSettings
|
@@ -910,31 +910,31 @@ declare module "factorio:runtime" {
|
|
910
910
|
path_finder: PathFinderMapSettings
|
911
911
|
/**
|
912
912
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
913
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
913
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapSettings.max_failed_behavior_count Online documentation}
|
914
914
|
*/
|
915
915
|
max_failed_behavior_count: uint
|
916
916
|
}
|
917
917
|
/**
|
918
918
|
* Technology and recipe difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
919
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
919
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#DifficultySettings Online documentation}
|
920
920
|
*/
|
921
921
|
export interface DifficultySettings {
|
922
922
|
recipe_difficulty: defines.difficulty_settings.recipe_difficulty
|
923
923
|
technology_difficulty: defines.difficulty_settings.technology_difficulty
|
924
924
|
/**
|
925
925
|
* A value in range [0.001, 1000].
|
926
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
926
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#DifficultySettings.technology_price_multiplier Online documentation}
|
927
927
|
*/
|
928
928
|
technology_price_multiplier: double
|
929
929
|
/**
|
930
930
|
* Either `"after-victory"`, `"always"` or `"never"`. Changing this to `"always"` or `"after-victory"` does not automatically unlock the research queue. See {@link LuaForce} for that.
|
931
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
931
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#DifficultySettings.research_queue_setting Online documentation}
|
932
932
|
*/
|
933
933
|
research_queue_setting: "after-victory" | "always" | "never"
|
934
934
|
}
|
935
935
|
/**
|
936
936
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
937
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
937
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapAndDifficultySettings Online documentation}
|
938
938
|
*/
|
939
939
|
export interface MapAndDifficultySettings {
|
940
940
|
readonly pollution: PollutionMapSettings
|
@@ -963,7 +963,7 @@ declare module "factorio:runtime" {
|
|
963
963
|
}
|
964
964
|
/**
|
965
965
|
* The data that can be extracted from a map exchange string, as a plain table.
|
966
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
966
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapExchangeStringData Online documentation}
|
967
967
|
*/
|
968
968
|
export interface MapExchangeStringData {
|
969
969
|
readonly map_settings: MapAndDifficultySettings
|
@@ -982,7 +982,7 @@ declare module "factorio:runtime" {
|
|
982
982
|
/**
|
983
983
|
* 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.
|
984
984
|
* @see BlueprintEntityWrite
|
985
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
985
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#BlueprintEntity Online documentation}
|
986
986
|
*/
|
987
987
|
export interface BlueprintEntity {
|
988
988
|
/**
|
@@ -1161,7 +1161,7 @@ declare module "factorio:runtime" {
|
|
1161
1161
|
}
|
1162
1162
|
/**
|
1163
1163
|
* Write form of {@link BlueprintEntity}, where table-or-array concepts are allowed to take an array form.
|
1164
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1164
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#BlueprintEntity Online documentation}
|
1165
1165
|
*/
|
1166
1166
|
export interface BlueprintEntityWrite {
|
1167
1167
|
/**
|
@@ -1249,7 +1249,7 @@ declare module "factorio:runtime" {
|
|
1249
1249
|
}
|
1250
1250
|
/**
|
1251
1251
|
* @see TileWrite
|
1252
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1252
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Tile Online documentation}
|
1253
1253
|
*/
|
1254
1254
|
export interface Tile {
|
1255
1255
|
/**
|
@@ -1263,7 +1263,7 @@ declare module "factorio:runtime" {
|
|
1263
1263
|
}
|
1264
1264
|
/**
|
1265
1265
|
* Write form of {@link Tile}, where table-or-array concepts are allowed to take an array form.
|
1266
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1266
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Tile Online documentation}
|
1267
1267
|
*/
|
1268
1268
|
export interface TileWrite {
|
1269
1269
|
/**
|
@@ -1335,7 +1335,7 @@ declare module "factorio:runtime" {
|
|
1335
1335
|
*
|
1336
1336
|
* Other attributes may be specified depending on `type`:
|
1337
1337
|
* - `"fluid"`: {@link FluidIngredient}
|
1338
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1338
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Ingredient Online documentation}
|
1339
1339
|
*/
|
1340
1340
|
export type Ingredient = FluidIngredient | OtherIngredient
|
1341
1341
|
/**
|
@@ -1400,7 +1400,7 @@ declare module "factorio:runtime" {
|
|
1400
1400
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
1401
1401
|
* @example What a custom recipe would look like that had a probability of 0.5 to return a minimum amount of 1 and a maximum amount of 5:
|
1402
1402
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
1403
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1403
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Product Online documentation}
|
1404
1404
|
*/
|
1405
1405
|
export type Product = FluidProduct | OtherProduct
|
1406
1406
|
export interface Loot {
|
@@ -1602,7 +1602,7 @@ declare module "factorio:runtime" {
|
|
1602
1602
|
* - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
|
1603
1603
|
* - `"nothing"`: {@link NothingTechnologyModifier}
|
1604
1604
|
* - Other types: {@link OtherTechnologyModifier}
|
1605
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1605
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TechnologyModifier Online documentation}
|
1606
1606
|
*/
|
1607
1607
|
export type TechnologyModifier =
|
1608
1608
|
| GunSpeedTechnologyModifier
|
@@ -1614,7 +1614,7 @@ declare module "factorio:runtime" {
|
|
1614
1614
|
| OtherTechnologyModifier
|
1615
1615
|
/**
|
1616
1616
|
* A single offer on a market entity.
|
1617
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1617
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Offer Online documentation}
|
1618
1618
|
*/
|
1619
1619
|
export interface Offer {
|
1620
1620
|
/**
|
@@ -1628,7 +1628,7 @@ declare module "factorio:runtime" {
|
|
1628
1628
|
}
|
1629
1629
|
/**
|
1630
1630
|
* Specifies how probability and richness are calculated when placing something on the map. Can be specified either using `probability_expression` and `richness_expression` or by using all the other fields.
|
1631
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1631
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AutoplaceSpecification Online documentation}
|
1632
1632
|
*/
|
1633
1633
|
export interface AutoplaceSpecification {
|
1634
1634
|
readonly probability_expression: NoiseExpression
|
@@ -1654,7 +1654,7 @@ declare module "factorio:runtime" {
|
|
1654
1654
|
}
|
1655
1655
|
/**
|
1656
1656
|
* A fragment of a functional program used to generate coherent noise, probably for purposes related to terrain generation. These can only be meaningfully written/modified during the data load phase. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
1657
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1657
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#NoiseExpression Online documentation}
|
1658
1658
|
*/
|
1659
1659
|
export interface NoiseExpression {
|
1660
1660
|
/**
|
@@ -1746,7 +1746,7 @@ declare module "factorio:runtime" {
|
|
1746
1746
|
* - `"very-big"`: equivalent to `2`.
|
1747
1747
|
* - `"very-good"`: equivalent to `2`.
|
1748
1748
|
* @remarks The map generation algorithm officially supports the range of values the in-game map generation screen shows (specifically `0` and values from `1/6` to `6`). Values outside this range are not guaranteed to work as expected.
|
1749
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1749
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapGenSize Online documentation}
|
1750
1750
|
*/
|
1751
1751
|
export type MapGenSize =
|
1752
1752
|
| float
|
@@ -1768,7 +1768,7 @@ declare module "factorio:runtime" {
|
|
1768
1768
|
| "very-good"
|
1769
1769
|
/**
|
1770
1770
|
* @see AutoplaceControlWrite
|
1771
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1771
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AutoplaceControl Online documentation}
|
1772
1772
|
*/
|
1773
1773
|
export interface AutoplaceControl {
|
1774
1774
|
/**
|
@@ -1786,7 +1786,7 @@ declare module "factorio:runtime" {
|
|
1786
1786
|
}
|
1787
1787
|
/**
|
1788
1788
|
* Write form of {@link AutoplaceControl}, where table-or-array concepts are allowed to take an array form.
|
1789
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1789
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AutoplaceControl Online documentation}
|
1790
1790
|
*/
|
1791
1791
|
export interface AutoplaceControlWrite {
|
1792
1792
|
/**
|
@@ -1804,7 +1804,7 @@ declare module "factorio:runtime" {
|
|
1804
1804
|
}
|
1805
1805
|
/**
|
1806
1806
|
* @see AutoplaceSettingsWrite
|
1807
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1807
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AutoplaceSettings Online documentation}
|
1808
1808
|
*/
|
1809
1809
|
export interface AutoplaceSettings {
|
1810
1810
|
/**
|
@@ -1815,7 +1815,7 @@ declare module "factorio:runtime" {
|
|
1815
1815
|
}
|
1816
1816
|
/**
|
1817
1817
|
* Write form of {@link AutoplaceSettings}, where table-or-array concepts are allowed to take an array form.
|
1818
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1818
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AutoplaceSettings Online documentation}
|
1819
1819
|
*/
|
1820
1820
|
export interface AutoplaceSettingsWrite {
|
1821
1821
|
/**
|
@@ -1826,7 +1826,7 @@ declare module "factorio:runtime" {
|
|
1826
1826
|
}
|
1827
1827
|
/**
|
1828
1828
|
* @see CliffPlacementSettingsWrite
|
1829
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1829
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CliffPlacementSettings Online documentation}
|
1830
1830
|
*/
|
1831
1831
|
export interface CliffPlacementSettings {
|
1832
1832
|
/**
|
@@ -1848,7 +1848,7 @@ declare module "factorio:runtime" {
|
|
1848
1848
|
}
|
1849
1849
|
/**
|
1850
1850
|
* Write form of {@link CliffPlacementSettings}, where table-or-array concepts are allowed to take an array form.
|
1851
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1851
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CliffPlacementSettings Online documentation}
|
1852
1852
|
*/
|
1853
1853
|
export interface CliffPlacementSettingsWrite {
|
1854
1854
|
/**
|
@@ -1881,7 +1881,7 @@ declare module "factorio:runtime" {
|
|
1881
1881
|
* local mgs = surface.map_gen_settings
|
1882
1882
|
* mgs.property_expression_names["tile:deepwater:probability"] = -1000
|
1883
1883
|
* surface.map_gen_settings = mgs
|
1884
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1884
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapGenSettings Online documentation}
|
1885
1885
|
*/
|
1886
1886
|
export interface MapGenSettings {
|
1887
1887
|
/**
|
@@ -1951,7 +1951,7 @@ declare module "factorio:runtime" {
|
|
1951
1951
|
}
|
1952
1952
|
/**
|
1953
1953
|
* Write form of {@link MapGenSettings}, where table-or-array concepts are allowed to take an array form.
|
1954
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1954
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MapGenSettings Online documentation}
|
1955
1955
|
*/
|
1956
1956
|
export interface MapGenSettingsWrite {
|
1957
1957
|
/**
|
@@ -2049,7 +2049,7 @@ declare module "factorio:runtime" {
|
|
2049
2049
|
}
|
2050
2050
|
/**
|
2051
2051
|
* An actual signal transmitted by the network.
|
2052
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2052
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Signal Online documentation}
|
2053
2053
|
*/
|
2054
2054
|
export interface Signal {
|
2055
2055
|
/**
|
@@ -2073,7 +2073,7 @@ declare module "factorio:runtime" {
|
|
2073
2073
|
}
|
2074
2074
|
/**
|
2075
2075
|
* A single filter used by an infinity-filters instance.
|
2076
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2076
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#InfinityInventoryFilter Online documentation}
|
2077
2077
|
*/
|
2078
2078
|
export interface InfinityInventoryFilter {
|
2079
2079
|
/**
|
@@ -2095,7 +2095,7 @@ declare module "factorio:runtime" {
|
|
2095
2095
|
}
|
2096
2096
|
/**
|
2097
2097
|
* A single filter used by an infinity-pipe type entity.
|
2098
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2098
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#InfinityPipeFilter Online documentation}
|
2099
2099
|
*/
|
2100
2100
|
export interface InfinityPipeFilter {
|
2101
2101
|
/**
|
@@ -2149,7 +2149,7 @@ declare module "factorio:runtime" {
|
|
2149
2149
|
}
|
2150
2150
|
/**
|
2151
2151
|
* The settings used by a heat-interface type entity.
|
2152
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2152
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#HeatSetting Online documentation}
|
2153
2153
|
*/
|
2154
2154
|
export interface HeatSetting {
|
2155
2155
|
/**
|
@@ -2167,7 +2167,7 @@ declare module "factorio:runtime" {
|
|
2167
2167
|
}
|
2168
2168
|
/**
|
2169
2169
|
* A definition of a fluidbox connection point.
|
2170
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2170
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#FluidBoxConnection Online documentation}
|
2171
2171
|
*/
|
2172
2172
|
export interface FluidBoxConnection {
|
2173
2173
|
/**
|
@@ -2185,7 +2185,7 @@ declare module "factorio:runtime" {
|
|
2185
2185
|
}
|
2186
2186
|
/**
|
2187
2187
|
* A single pipe connection for a given fluidbox.
|
2188
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2188
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#PipeConnection Online documentation}
|
2189
2189
|
*/
|
2190
2190
|
export interface PipeConnection {
|
2191
2191
|
/**
|
@@ -2271,14 +2271,14 @@ declare module "factorio:runtime" {
|
|
2271
2271
|
* - `"≠"`: "not equal to"
|
2272
2272
|
* - `"!="`: "not equal to"
|
2273
2273
|
* @remarks While the API accepts both versions for `"less/greater than or equal to"` and `"not equal"`, it'll always return `"≥"`, `"≤"` or `"≠"` respectively when reading them back.
|
2274
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2274
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ComparatorString Online documentation}
|
2275
2275
|
*/
|
2276
2276
|
export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
|
2277
2277
|
/** @see ComparatorString */
|
2278
2278
|
export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
|
2279
2279
|
/**
|
2280
2280
|
* @see DeciderCombinatorParametersWrite
|
2281
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2281
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#DeciderCombinatorParameters Online documentation}
|
2282
2282
|
*/
|
2283
2283
|
export interface DeciderCombinatorParameters {
|
2284
2284
|
/**
|
@@ -2308,7 +2308,7 @@ declare module "factorio:runtime" {
|
|
2308
2308
|
}
|
2309
2309
|
/**
|
2310
2310
|
* Write form of {@link DeciderCombinatorParameters}, where table-or-array concepts are allowed to take an array form.
|
2311
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2311
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#DeciderCombinatorParameters Online documentation}
|
2312
2312
|
*/
|
2313
2313
|
export interface DeciderCombinatorParametersWrite {
|
2314
2314
|
/**
|
@@ -2342,7 +2342,7 @@ declare module "factorio:runtime" {
|
|
2342
2342
|
}
|
2343
2343
|
/**
|
2344
2344
|
* @see CircuitConditionWrite
|
2345
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2345
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CircuitCondition Online documentation}
|
2346
2346
|
*/
|
2347
2347
|
export interface CircuitCondition {
|
2348
2348
|
/**
|
@@ -2364,7 +2364,7 @@ declare module "factorio:runtime" {
|
|
2364
2364
|
}
|
2365
2365
|
/**
|
2366
2366
|
* Write form of {@link CircuitCondition}, where table-or-array concepts are allowed to take an array form.
|
2367
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2367
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CircuitCondition Online documentation}
|
2368
2368
|
*/
|
2369
2369
|
export interface CircuitConditionWrite {
|
2370
2370
|
/**
|
@@ -2386,7 +2386,7 @@ declare module "factorio:runtime" {
|
|
2386
2386
|
}
|
2387
2387
|
/**
|
2388
2388
|
* @see CircuitConditionDefinitionWrite
|
2389
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2389
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CircuitConditionDefinition Online documentation}
|
2390
2390
|
*/
|
2391
2391
|
export interface CircuitConditionDefinition {
|
2392
2392
|
readonly condition: CircuitCondition
|
@@ -2397,7 +2397,7 @@ declare module "factorio:runtime" {
|
|
2397
2397
|
}
|
2398
2398
|
/**
|
2399
2399
|
* Write form of {@link CircuitConditionDefinition}, where table-or-array concepts are allowed to take an array form.
|
2400
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2400
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CircuitConditionDefinition Online documentation}
|
2401
2401
|
*/
|
2402
2402
|
export interface CircuitConditionDefinitionWrite {
|
2403
2403
|
readonly condition: CircuitConditionWrite
|
@@ -2713,7 +2713,7 @@ declare module "factorio:runtime" {
|
|
2713
2713
|
* - {@link defines.command.stop}: {@link StopCommand}
|
2714
2714
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
2715
2715
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
2716
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2716
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Command Online documentation}
|
2717
2717
|
*/
|
2718
2718
|
export type Command =
|
2719
2719
|
| AttackCommand
|
@@ -2727,7 +2727,7 @@ declare module "factorio:runtime" {
|
|
2727
2727
|
| BuildBaseCommand
|
2728
2728
|
/**
|
2729
2729
|
* Write form of {@link Command}, where table-or-array concepts are allowed to take an array form.
|
2730
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2730
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Command Online documentation}
|
2731
2731
|
*/
|
2732
2732
|
export type CommandWrite =
|
2733
2733
|
| AttackCommand
|
@@ -2823,7 +2823,7 @@ declare module "factorio:runtime" {
|
|
2823
2823
|
* {name="copper-plate", count=47}
|
2824
2824
|
* @example These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates):
|
2825
2825
|
* "iron-plate"
|
2826
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2826
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SimpleItemStack Online documentation}
|
2827
2827
|
*/
|
2828
2828
|
export type SimpleItemStack = string | ItemStackDefinition
|
2829
2829
|
/**
|
@@ -2833,7 +2833,7 @@ declare module "factorio:runtime" {
|
|
2833
2833
|
* - `string`: The fluid name.
|
2834
2834
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
2835
2835
|
* - {@link Fluid}: The fluid.
|
2836
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2836
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#FluidIdentification Online documentation}
|
2837
2837
|
*/
|
2838
2838
|
export type FluidIdentification = string | LuaFluidPrototype | Fluid
|
2839
2839
|
/**
|
@@ -2843,7 +2843,7 @@ declare module "factorio:runtime" {
|
|
2843
2843
|
* - ForceIndex: The force index.
|
2844
2844
|
* - `string`: The force name.
|
2845
2845
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
2846
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2846
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ForceIdentification Online documentation}
|
2847
2847
|
*/
|
2848
2848
|
export type ForceIdentification = ForceIndex | string | LuaForce
|
2849
2849
|
/**
|
@@ -2853,7 +2853,7 @@ declare module "factorio:runtime" {
|
|
2853
2853
|
* - `string`: The technology name.
|
2854
2854
|
* - {@link LuaTechnology}: A reference to {@link LuaTechnology} may be passed directly.
|
2855
2855
|
* - {@link LuaTechnologyPrototype}: A reference to {@link LuaTechnologyPrototype} may be passed directly.
|
2856
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2856
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TechnologyIdentification Online documentation}
|
2857
2857
|
*/
|
2858
2858
|
export type TechnologyIdentification = string | LuaTechnology | LuaTechnologyPrototype
|
2859
2859
|
/**
|
@@ -2863,7 +2863,7 @@ declare module "factorio:runtime" {
|
|
2863
2863
|
* - 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.
|
2864
2864
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
2865
2865
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
2866
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2866
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SurfaceIdentification Online documentation}
|
2867
2867
|
*/
|
2868
2868
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
2869
2869
|
/**
|
@@ -2873,7 +2873,7 @@ declare module "factorio:runtime" {
|
|
2873
2873
|
* - PlayerIndex: The player index.
|
2874
2874
|
* - `string`: The player name.
|
2875
2875
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
2876
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2876
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#PlayerIdentification Online documentation}
|
2877
2877
|
*/
|
2878
2878
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
2879
2879
|
/**
|
@@ -2882,7 +2882,7 @@ declare module "factorio:runtime" {
|
|
2882
2882
|
* ## Union members
|
2883
2883
|
* - {@link SimpleItemStack}
|
2884
2884
|
* - {@link LuaItemStack}
|
2885
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2885
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ItemStackIdentification Online documentation}
|
2886
2886
|
*/
|
2887
2887
|
export type ItemStackIdentification = SimpleItemStack | LuaItemStack
|
2888
2888
|
/**
|
@@ -2892,7 +2892,7 @@ declare module "factorio:runtime" {
|
|
2892
2892
|
* - {@link LuaEntity}: The entity.
|
2893
2893
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
2894
2894
|
* - `string`: The prototype name.
|
2895
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2895
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EntityPrototypeIdentification Online documentation}
|
2896
2896
|
*/
|
2897
2897
|
export type EntityPrototypeIdentification = LuaEntity | LuaEntityPrototype | string
|
2898
2898
|
/**
|
@@ -2902,12 +2902,12 @@ declare module "factorio:runtime" {
|
|
2902
2902
|
* - {@link LuaItemStack}: The item.
|
2903
2903
|
* - {@link LuaItemPrototype}: The item prototype.
|
2904
2904
|
* - `string`: The prototype name.
|
2905
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2905
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ItemPrototypeIdentification Online documentation}
|
2906
2906
|
*/
|
2907
2907
|
export type ItemPrototypeIdentification = LuaItemStack | LuaItemPrototype | string
|
2908
2908
|
/**
|
2909
2909
|
* @see WaitConditionWrite
|
2910
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2910
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#WaitCondition Online documentation}
|
2911
2911
|
*/
|
2912
2912
|
export interface WaitCondition {
|
2913
2913
|
/**
|
@@ -2939,7 +2939,7 @@ declare module "factorio:runtime" {
|
|
2939
2939
|
}
|
2940
2940
|
/**
|
2941
2941
|
* Write form of {@link WaitCondition}, where table-or-array concepts are allowed to take an array form.
|
2942
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2942
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#WaitCondition Online documentation}
|
2943
2943
|
*/
|
2944
2944
|
export interface WaitConditionWrite {
|
2945
2945
|
/**
|
@@ -2971,7 +2971,7 @@ declare module "factorio:runtime" {
|
|
2971
2971
|
}
|
2972
2972
|
/**
|
2973
2973
|
* @see TrainScheduleRecordWrite
|
2974
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2974
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TrainScheduleRecord Online documentation}
|
2975
2975
|
*/
|
2976
2976
|
export interface TrainScheduleRecord {
|
2977
2977
|
/**
|
@@ -2994,7 +2994,7 @@ declare module "factorio:runtime" {
|
|
2994
2994
|
}
|
2995
2995
|
/**
|
2996
2996
|
* Write form of {@link TrainScheduleRecord}, where table-or-array concepts are allowed to take an array form.
|
2997
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2997
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TrainScheduleRecord Online documentation}
|
2998
2998
|
*/
|
2999
2999
|
export interface TrainScheduleRecordWrite {
|
3000
3000
|
/**
|
@@ -3017,7 +3017,7 @@ declare module "factorio:runtime" {
|
|
3017
3017
|
}
|
3018
3018
|
/**
|
3019
3019
|
* @see TrainScheduleWrite
|
3020
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3020
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TrainSchedule Online documentation}
|
3021
3021
|
*/
|
3022
3022
|
export interface TrainSchedule {
|
3023
3023
|
/**
|
@@ -3028,7 +3028,7 @@ declare module "factorio:runtime" {
|
|
3028
3028
|
}
|
3029
3029
|
/**
|
3030
3030
|
* Write form of {@link TrainSchedule}, where table-or-array concepts are allowed to take an array form.
|
3031
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3031
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TrainSchedule Online documentation}
|
3032
3032
|
*/
|
3033
3033
|
export interface TrainScheduleWrite {
|
3034
3034
|
/**
|
@@ -3107,7 +3107,7 @@ declare module "factorio:runtime" {
|
|
3107
3107
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
3108
3108
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
3109
3109
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
3110
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3110
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GuiArrowSpecification Online documentation}
|
3111
3111
|
*/
|
3112
3112
|
export type GuiArrowSpecification =
|
3113
3113
|
| EntityGuiArrowSpecification
|
@@ -3182,7 +3182,7 @@ declare module "factorio:runtime" {
|
|
3182
3182
|
* - `"equipment"`
|
3183
3183
|
* - `"file"` - path to an image file located inside the current scenario. This file is not preloaded so it will be slower; for frequently used sprites, it is better to define sprite prototype and use it instead.
|
3184
3184
|
* - `"utility"` - sprite defined in the utility-sprites object, these are the pictures used by the game internally for the UI.
|
3185
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3185
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SpritePath Online documentation}
|
3186
3186
|
*/
|
3187
3187
|
export type SpritePath =
|
3188
3188
|
| (string & {
|
@@ -3232,7 +3232,7 @@ declare module "factorio:runtime" {
|
|
3232
3232
|
* - `"entity-rotated"` - Uses {@link import("factorio:prototype").EntityPrototype#rotated_sound EntityPrototype::rotated_sound}
|
3233
3233
|
* - `"entity-open"` - Uses {@link import("factorio:prototype").EntityPrototype#open_sound Entity::open_sound}
|
3234
3234
|
* - `"entity-close"` - Uses {@link import("factorio:prototype").EntityPrototype#close_sound Entity::close_sound}
|
3235
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3235
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SoundPath Online documentation}
|
3236
3236
|
*/
|
3237
3237
|
export type SoundPath =
|
3238
3238
|
| (string & {
|
@@ -3251,7 +3251,7 @@ declare module "factorio:runtime" {
|
|
3251
3251
|
* speed={bonus=-0.15},
|
3252
3252
|
* productivity={bonus=0.06},
|
3253
3253
|
* pollution={bonus=0.075}}
|
3254
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3254
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ModuleEffects Online documentation}
|
3255
3255
|
*/
|
3256
3256
|
export interface ModuleEffects {
|
3257
3257
|
readonly consumption?: ModuleEffectValue
|
@@ -3291,7 +3291,7 @@ declare module "factorio:runtime" {
|
|
3291
3291
|
* - `"not-upgradable"`: Prevents the entity from being selected by the upgrade planner.
|
3292
3292
|
* - `"not-in-kill-statistics"`: Prevents the entity from being shown in the kill statistics.
|
3293
3293
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
3294
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3294
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EntityPrototypeFlags Online documentation}
|
3295
3295
|
*/
|
3296
3296
|
export interface EntityPrototypeFlags {
|
3297
3297
|
/**
|
@@ -3413,7 +3413,7 @@ declare module "factorio:runtime" {
|
|
3413
3413
|
* - `"mod-openable"`: Allows the item to be opened by the player, firing the `on_mod_item_opened` event. Only has an effect for selection tool items.
|
3414
3414
|
* - `"only-in-cursor"`: Makes it so the item is deleted when clearing the cursor, instead of being put into the player's inventory. The copy-paste tools use this by default, for example.
|
3415
3415
|
* - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
|
3416
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3416
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ItemPrototypeFlags Online documentation}
|
3417
3417
|
*/
|
3418
3418
|
export interface ItemPrototypeFlags {
|
3419
3419
|
/**
|
@@ -3480,7 +3480,7 @@ declare module "factorio:runtime" {
|
|
3480
3480
|
* - `"rail-layer"`
|
3481
3481
|
* - `"transport-belt-layer"`
|
3482
3482
|
* - `"not-setup"`
|
3483
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3483
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CollisionMaskLayer Online documentation}
|
3484
3484
|
*/
|
3485
3485
|
export type CollisionMaskLayer =
|
3486
3486
|
| "ground-tile"
|
@@ -3499,7 +3499,7 @@ declare module "factorio:runtime" {
|
|
3499
3499
|
| `layer-${bigint}`
|
3500
3500
|
/**
|
3501
3501
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
3502
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3502
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CollisionMask Online documentation}
|
3503
3503
|
*/
|
3504
3504
|
export type CollisionMask = {
|
3505
3505
|
readonly [T in CollisionMaskLayer]?: true
|
@@ -3512,7 +3512,7 @@ declare module "factorio:runtime" {
|
|
3512
3512
|
* - `"not-colliding-with-itself"`: Any two entities that both have this option enabled on their prototype and have an identical collision mask layers list will not collide. Other collision mask options are not included in the identical layer list check. This does mean that two different prototypes with the same collision mask layers and this option enabled will not collide.
|
3513
3513
|
* - `"consider-tile-transitions"`: Uses the prototypes position rather than its collision box when doing collision checks with tile prototypes. Allows the prototype to overlap colliding tiles up until its center point. This is only respected for character movement and cars driven by players.
|
3514
3514
|
* - `"colliding-with-tiles-only"`: Any prototype with this collision option will only be checked for collision with other prototype's collision masks if they are a tile.
|
3515
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3515
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CollisionMaskWithFlags Online documentation}
|
3516
3516
|
*/
|
3517
3517
|
export type CollisionMaskWithFlags = {
|
3518
3518
|
/**
|
@@ -3532,7 +3532,7 @@ declare module "factorio:runtime" {
|
|
3532
3532
|
}
|
3533
3533
|
/**
|
3534
3534
|
* A set of trigger target masks.
|
3535
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3535
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TriggerTargetMask Online documentation}
|
3536
3536
|
*/
|
3537
3537
|
export type TriggerTargetMask = Record<string, boolean>
|
3538
3538
|
export interface TriggerEffectItem {
|
@@ -3721,7 +3721,7 @@ declare module "factorio:runtime" {
|
|
3721
3721
|
* Other attributes may be specified depending on `type`:
|
3722
3722
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
3723
3723
|
* - `"stream"`: {@link StreamAttackParameters}
|
3724
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3724
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AttackParameters Online documentation}
|
3725
3725
|
*/
|
3726
3726
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
3727
3727
|
export interface BaseCapsuleAction {
|
@@ -3784,7 +3784,7 @@ declare module "factorio:runtime" {
|
|
3784
3784
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
3785
3785
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
3786
3786
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
3787
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3787
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CapsuleAction Online documentation}
|
3788
3788
|
*/
|
3789
3789
|
export type CapsuleAction =
|
3790
3790
|
| ThrowCapsuleAction
|
@@ -3820,7 +3820,7 @@ declare module "factorio:runtime" {
|
|
3820
3820
|
* - `"avoid-rolling-stock"`: Selects entities that are not `rolling-stock`s.
|
3821
3821
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
3822
3822
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
3823
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3823
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SelectionModeFlags Online documentation}
|
3824
3824
|
*/
|
3825
3825
|
export interface SelectionModeFlags {
|
3826
3826
|
/**
|
@@ -3945,12 +3945,12 @@ declare module "factorio:runtime" {
|
|
3945
3945
|
}
|
3946
3946
|
/**
|
3947
3947
|
* Any basic type (string, number, boolean) or table.
|
3948
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3948
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AnyBasic Online documentation}
|
3949
3949
|
*/
|
3950
3950
|
export type AnyBasic = string | boolean | number | table
|
3951
3951
|
/**
|
3952
3952
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
3953
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3953
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Any Online documentation}
|
3954
3954
|
*/
|
3955
3955
|
export type Any = string | boolean | number | table | LuaObject
|
3956
3956
|
export interface ProgrammableSpeakerParameters {
|
@@ -3988,7 +3988,7 @@ declare module "factorio:runtime" {
|
|
3988
3988
|
* - `"top-right"`
|
3989
3989
|
* - `"right"`: The same as `"middle-right"`
|
3990
3990
|
* - `"bottom-right"`
|
3991
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3991
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#Alignment Online documentation}
|
3992
3992
|
*/
|
3993
3993
|
export type Alignment =
|
3994
3994
|
| "top-left"
|
@@ -4003,8 +4003,8 @@ declare module "factorio:runtime" {
|
|
4003
4003
|
| "right"
|
4004
4004
|
| "bottom-right"
|
4005
4005
|
/**
|
4006
|
-
* 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/1.1.
|
4007
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4006
|
+
* 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/1.1.92/events.html the list of Factorio events} for more information on these.
|
4007
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EventData Online documentation}
|
4008
4008
|
*/
|
4009
4009
|
export interface EventData {
|
4010
4010
|
/**
|
@@ -4114,7 +4114,7 @@ declare module "factorio:runtime" {
|
|
4114
4114
|
* - `"button-7"`
|
4115
4115
|
* - `"button-8"`
|
4116
4116
|
* - `"button-9"`
|
4117
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4117
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#MouseButtonFlags Online documentation}
|
4118
4118
|
*/
|
4119
4119
|
export interface MouseButtonFlags {
|
4120
4120
|
readonly left?: true
|
@@ -4139,7 +4139,7 @@ declare module "factorio:runtime" {
|
|
4139
4139
|
* - `"train-visualization"`: White box.
|
4140
4140
|
* - `"logistics"`: Light blue box.
|
4141
4141
|
* - `"blueprint-snap-rectangle"`: Green box.
|
4142
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4142
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CursorBoxRenderType Online documentation}
|
4143
4143
|
*/
|
4144
4144
|
export type CursorBoxRenderType =
|
4145
4145
|
| "entity"
|
@@ -4159,7 +4159,7 @@ declare module "factorio:runtime" {
|
|
4159
4159
|
* - `"not-friend"`: Forces which are not friends pass.
|
4160
4160
|
* - `"same"`: The same force pass.
|
4161
4161
|
* - `"not-same"`: The non-same forces pass.
|
4162
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4162
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ForceCondition Online documentation}
|
4163
4163
|
*/
|
4164
4164
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
4165
4165
|
/**
|
@@ -4210,7 +4210,7 @@ declare module "factorio:runtime" {
|
|
4210
4210
|
* - `"collision-selection-box"`: 189
|
4211
4211
|
* - `"arrow"`: 190
|
4212
4212
|
* - `"cursor"`: 210
|
4213
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4213
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#RenderLayer Online documentation}
|
4214
4214
|
*/
|
4215
4215
|
export type RenderLayer =
|
4216
4216
|
| `${bigint}`
|
@@ -4279,7 +4279,7 @@ declare module "factorio:runtime" {
|
|
4279
4279
|
* - `"none-to-south"`
|
4280
4280
|
* - `"south-to-none"`
|
4281
4281
|
* - `"none-to-north"`
|
4282
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4282
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#CliffOrientation Online documentation}
|
4283
4283
|
*/
|
4284
4284
|
export type CliffOrientation =
|
4285
4285
|
| "west-to-east"
|
@@ -4321,7 +4321,7 @@ declare module "factorio:runtime" {
|
|
4321
4321
|
* - `"walking"`
|
4322
4322
|
* - `"alert"`
|
4323
4323
|
* - `"wind"`
|
4324
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4324
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#SoundType Online documentation}
|
4325
4325
|
*/
|
4326
4326
|
export type SoundType = "game-effect" | "gui-effect" | "ambient" | "environment" | "walking" | "alert" | "wind"
|
4327
4327
|
/**
|
@@ -4351,7 +4351,7 @@ declare module "factorio:runtime" {
|
|
4351
4351
|
* - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
|
4352
4352
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
4353
4353
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
4354
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4354
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GuiElementType Online documentation}
|
4355
4355
|
*/
|
4356
4356
|
export type GuiElementType =
|
4357
4357
|
| "button"
|
@@ -4389,7 +4389,7 @@ declare module "factorio:runtime" {
|
|
4389
4389
|
* - `"position"`
|
4390
4390
|
* - `"crafting_queue"`
|
4391
4391
|
* - `"item_stack"`
|
4392
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4392
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#GuiArrowType Online documentation}
|
4393
4393
|
*/
|
4394
4394
|
export type GuiArrowType =
|
4395
4395
|
| "nowhere"
|
@@ -4415,7 +4415,7 @@ declare module "factorio:runtime" {
|
|
4415
4415
|
* - TechnologyPrototypeFilter: for type `"technology"`
|
4416
4416
|
* @see PrototypeFilterWrite
|
4417
4417
|
* @remarks Filters are always used as an array of filters of a specific type. Every filter can only be used with its corresponding event, and different types of event filters can not be mixed.
|
4418
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4418
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#PrototypeFilter Online documentation}
|
4419
4419
|
*/
|
4420
4420
|
export type PrototypeFilter = (
|
4421
4421
|
| ItemPrototypeFilter
|
@@ -4430,7 +4430,7 @@ declare module "factorio:runtime" {
|
|
4430
4430
|
)[]
|
4431
4431
|
/**
|
4432
4432
|
* Write form of {@link PrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
4433
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4433
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#PrototypeFilter Online documentation}
|
4434
4434
|
*/
|
4435
4435
|
export type PrototypeFilterWrite = readonly (
|
4436
4436
|
| ItemPrototypeFilterWrite
|
@@ -4776,7 +4776,7 @@ declare module "factorio:runtime" {
|
|
4776
4776
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
4777
4777
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
4778
4778
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
4779
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4779
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ItemPrototypeFilter Online documentation}
|
4780
4780
|
*/
|
4781
4781
|
export type ItemPrototypeFilter =
|
4782
4782
|
| PlaceResultItemPrototypeFilter
|
@@ -4798,7 +4798,7 @@ declare module "factorio:runtime" {
|
|
4798
4798
|
| OtherItemPrototypeFilter
|
4799
4799
|
/**
|
4800
4800
|
* Write form of {@link ItemPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
4801
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4801
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ItemPrototypeFilter Online documentation}
|
4802
4802
|
*/
|
4803
4803
|
export type ItemPrototypeFilterWrite =
|
4804
4804
|
| PlaceResultItemPrototypeFilterWrite
|
@@ -4874,7 +4874,7 @@ declare module "factorio:runtime" {
|
|
4874
4874
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
4875
4875
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
4876
4876
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
4877
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4877
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#ModSettingPrototypeFilter Online documentation}
|
4878
4878
|
*/
|
4879
4879
|
export type ModSettingPrototypeFilter =
|
4880
4880
|
| TypeModSettingPrototypeFilter
|
@@ -5002,7 +5002,7 @@ declare module "factorio:runtime" {
|
|
5002
5002
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
5003
5003
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
5004
5004
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
5005
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5005
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TechnologyPrototypeFilter Online documentation}
|
5006
5006
|
*/
|
5007
5007
|
export type TechnologyPrototypeFilter =
|
5008
5008
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -5013,7 +5013,7 @@ declare module "factorio:runtime" {
|
|
5013
5013
|
| OtherTechnologyPrototypeFilter
|
5014
5014
|
/**
|
5015
5015
|
* Write form of {@link TechnologyPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5016
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5016
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TechnologyPrototypeFilter Online documentation}
|
5017
5017
|
*/
|
5018
5018
|
export type TechnologyPrototypeFilterWrite =
|
5019
5019
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -5063,7 +5063,7 @@ declare module "factorio:runtime" {
|
|
5063
5063
|
*
|
5064
5064
|
* Other attributes may be specified depending on `filter`:
|
5065
5065
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
5066
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5066
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#DecorativePrototypeFilter Online documentation}
|
5067
5067
|
*/
|
5068
5068
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
5069
5069
|
/**
|
@@ -5106,7 +5106,7 @@ declare module "factorio:runtime" {
|
|
5106
5106
|
*
|
5107
5107
|
* Other attributes may be specified depending on `filter`:
|
5108
5108
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
5109
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5109
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#AchievementPrototypeFilter Online documentation}
|
5110
5110
|
*/
|
5111
5111
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
5112
5112
|
/**
|
@@ -5291,7 +5291,7 @@ declare module "factorio:runtime" {
|
|
5291
5291
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
5292
5292
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
5293
5293
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
5294
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5294
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#FluidPrototypeFilter Online documentation}
|
5295
5295
|
*/
|
5296
5296
|
export type FluidPrototypeFilter =
|
5297
5297
|
| NameFluidPrototypeFilter
|
@@ -5305,7 +5305,7 @@ declare module "factorio:runtime" {
|
|
5305
5305
|
| OtherFluidPrototypeFilter
|
5306
5306
|
/**
|
5307
5307
|
* Write form of {@link FluidPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5308
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5308
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#FluidPrototypeFilter Online documentation}
|
5309
5309
|
*/
|
5310
5310
|
export type FluidPrototypeFilterWrite =
|
5311
5311
|
| NameFluidPrototypeFilter
|
@@ -5357,7 +5357,7 @@ declare module "factorio:runtime" {
|
|
5357
5357
|
*
|
5358
5358
|
* Other attributes may be specified depending on `filter`:
|
5359
5359
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
5360
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5360
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EquipmentPrototypeFilter Online documentation}
|
5361
5361
|
*/
|
5362
5362
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
5363
5363
|
/**
|
@@ -5490,7 +5490,7 @@ declare module "factorio:runtime" {
|
|
5490
5490
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
5491
5491
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
5492
5492
|
* - `"emissions"`: {@link EmissionsTilePrototypeFilter}
|
5493
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5493
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TilePrototypeFilter Online documentation}
|
5494
5494
|
*/
|
5495
5495
|
export type TilePrototypeFilter =
|
5496
5496
|
| CollisionMaskTilePrototypeFilter
|
@@ -5501,7 +5501,7 @@ declare module "factorio:runtime" {
|
|
5501
5501
|
| OtherTilePrototypeFilter
|
5502
5502
|
/**
|
5503
5503
|
* Write form of {@link TilePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5504
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5504
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#TilePrototypeFilter Online documentation}
|
5505
5505
|
*/
|
5506
5506
|
export type TilePrototypeFilterWrite =
|
5507
5507
|
| CollisionMaskTilePrototypeFilter
|
@@ -5765,7 +5765,7 @@ declare module "factorio:runtime" {
|
|
5765
5765
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
5766
5766
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
5767
5767
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
5768
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5768
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#RecipePrototypeFilter Online documentation}
|
5769
5769
|
*/
|
5770
5770
|
export type RecipePrototypeFilter =
|
5771
5771
|
| HasIngredientItemRecipePrototypeFilter
|
@@ -5781,7 +5781,7 @@ declare module "factorio:runtime" {
|
|
5781
5781
|
| OtherRecipePrototypeFilter
|
5782
5782
|
/**
|
5783
5783
|
* Write form of {@link RecipePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5784
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5784
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#RecipePrototypeFilter Online documentation}
|
5785
5785
|
*/
|
5786
5786
|
export type RecipePrototypeFilterWrite =
|
5787
5787
|
| HasIngredientItemRecipePrototypeFilterWrite
|
@@ -6018,7 +6018,7 @@ declare module "factorio:runtime" {
|
|
6018
6018
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
6019
6019
|
* - `"emissions"`: {@link EmissionsEntityPrototypeFilter}
|
6020
6020
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
6021
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6021
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EntityPrototypeFilter Online documentation}
|
6022
6022
|
*/
|
6023
6023
|
export type EntityPrototypeFilter =
|
6024
6024
|
| NameEntityPrototypeFilter
|
@@ -6032,7 +6032,7 @@ declare module "factorio:runtime" {
|
|
6032
6032
|
| OtherEntityPrototypeFilter
|
6033
6033
|
/**
|
6034
6034
|
* Write form of {@link EntityPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
6035
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6035
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EntityPrototypeFilter Online documentation}
|
6036
6036
|
*/
|
6037
6037
|
export type EntityPrototypeFilterWrite =
|
6038
6038
|
| NameEntityPrototypeFilter
|
@@ -6071,7 +6071,7 @@ declare module "factorio:runtime" {
|
|
6071
6071
|
* - {@link LuaPlayerRepairedEntityEventFilter}
|
6072
6072
|
* @see EventFilterWrite
|
6073
6073
|
* @remarks Filters are always used as an array of filters of a specific type. Every filter can only be used with its corresponding event, and different types of event filters can not be mixed.
|
6074
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6074
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EventFilter Online documentation}
|
6075
6075
|
*/
|
6076
6076
|
export type EventFilter = (
|
6077
6077
|
| LuaEntityClonedEventFilter
|
@@ -6098,7 +6098,7 @@ declare module "factorio:runtime" {
|
|
6098
6098
|
)[]
|
6099
6099
|
/**
|
6100
6100
|
* Write form of {@link EventFilter}, where table-or-array concepts are allowed to take an array form.
|
6101
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6101
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#EventFilter Online documentation}
|
6102
6102
|
*/
|
6103
6103
|
export type EventFilterWrite = readonly (
|
6104
6104
|
| LuaEntityClonedEventFilter
|
@@ -6226,7 +6226,7 @@ declare module "factorio:runtime" {
|
|
6226
6226
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
6227
6227
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
6228
6228
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
6229
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6229
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaScriptRaisedReviveEventFilter Online documentation}
|
6230
6230
|
*/
|
6231
6231
|
export type LuaScriptRaisedReviveEventFilter =
|
6232
6232
|
| TypeScriptRaisedReviveEventFilter
|
@@ -6333,7 +6333,7 @@ declare module "factorio:runtime" {
|
|
6333
6333
|
* - `"name"`: {@link NameEntityDiedEventFilter}
|
6334
6334
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
6335
6335
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
6336
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6336
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityDiedEventFilter Online documentation}
|
6337
6337
|
*/
|
6338
6338
|
export type LuaEntityDiedEventFilter =
|
6339
6339
|
| TypeEntityDiedEventFilter
|
@@ -6442,7 +6442,7 @@ declare module "factorio:runtime" {
|
|
6442
6442
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
6443
6443
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
6444
6444
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
6445
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6445
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityMarkedForDeconstructionEventFilter Online documentation}
|
6446
6446
|
*/
|
6447
6447
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
6448
6448
|
| TypeEntityMarkedForDeconstructionEventFilter
|
@@ -6549,7 +6549,7 @@ declare module "factorio:runtime" {
|
|
6549
6549
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
6550
6550
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
6551
6551
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
6552
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6552
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPreGhostDeconstructedEventFilter Online documentation}
|
6553
6553
|
*/
|
6554
6554
|
export type LuaPreGhostDeconstructedEventFilter =
|
6555
6555
|
| TypePreGhostDeconstructedEventFilter
|
@@ -6656,7 +6656,7 @@ declare module "factorio:runtime" {
|
|
6656
6656
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
6657
6657
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
6658
6658
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
6659
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6659
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaScriptRaisedDestroyEventFilter Online documentation}
|
6660
6660
|
*/
|
6661
6661
|
export type LuaScriptRaisedDestroyEventFilter =
|
6662
6662
|
| TypeScriptRaisedDestroyEventFilter
|
@@ -6763,7 +6763,7 @@ declare module "factorio:runtime" {
|
|
6763
6763
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
6764
6764
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
6765
6765
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
6766
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6766
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaUpgradeCancelledEventFilter Online documentation}
|
6767
6767
|
*/
|
6768
6768
|
export type LuaUpgradeCancelledEventFilter =
|
6769
6769
|
| TypeUpgradeCancelledEventFilter
|
@@ -6870,7 +6870,7 @@ declare module "factorio:runtime" {
|
|
6870
6870
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
6871
6871
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
6872
6872
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
6873
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6873
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPlayerRepairedEntityEventFilter Online documentation}
|
6874
6874
|
*/
|
6875
6875
|
export type LuaPlayerRepairedEntityEventFilter =
|
6876
6876
|
| TypePlayerRepairedEntityEventFilter
|
@@ -6977,7 +6977,7 @@ declare module "factorio:runtime" {
|
|
6977
6977
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
6978
6978
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
6979
6979
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
6980
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6980
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaScriptRaisedTeleportedEventFilter Online documentation}
|
6981
6981
|
*/
|
6982
6982
|
export type LuaScriptRaisedTeleportedEventFilter =
|
6983
6983
|
| TypeScriptRaisedTeleportedEventFilter
|
@@ -7084,7 +7084,7 @@ declare module "factorio:runtime" {
|
|
7084
7084
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
7085
7085
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
7086
7086
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
7087
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7087
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityMarkedForUpgradeEventFilter Online documentation}
|
7088
7088
|
*/
|
7089
7089
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
7090
7090
|
| TypeEntityMarkedForUpgradeEventFilter
|
@@ -7126,7 +7126,7 @@ declare module "factorio:runtime" {
|
|
7126
7126
|
*
|
7127
7127
|
* Other attributes may be specified depending on `filter`:
|
7128
7128
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
7129
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7129
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPostEntityDiedEventFilter Online documentation}
|
7130
7130
|
*/
|
7131
7131
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
7132
7132
|
/**
|
@@ -7228,7 +7228,7 @@ declare module "factorio:runtime" {
|
|
7228
7228
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
7229
7229
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
7230
7230
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
7231
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7231
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPreRobotMinedEntityEventFilter Online documentation}
|
7232
7232
|
*/
|
7233
7233
|
export type LuaPreRobotMinedEntityEventFilter =
|
7234
7234
|
| TypePreRobotMinedEntityEventFilter
|
@@ -7335,7 +7335,7 @@ declare module "factorio:runtime" {
|
|
7335
7335
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
7336
7336
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
7337
7337
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
7338
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7338
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityClonedEventFilter Online documentation}
|
7339
7339
|
*/
|
7340
7340
|
export type LuaEntityClonedEventFilter =
|
7341
7341
|
| TypeEntityClonedEventFilter
|
@@ -7442,7 +7442,7 @@ declare module "factorio:runtime" {
|
|
7442
7442
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
7443
7443
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
7444
7444
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
7445
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7445
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaScriptRaisedBuiltEventFilter Online documentation}
|
7446
7446
|
*/
|
7447
7447
|
export type LuaScriptRaisedBuiltEventFilter =
|
7448
7448
|
| TypeScriptRaisedBuiltEventFilter
|
@@ -7549,7 +7549,7 @@ declare module "factorio:runtime" {
|
|
7549
7549
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
7550
7550
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
7551
7551
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
7552
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7552
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaRobotMinedEntityEventFilter Online documentation}
|
7553
7553
|
*/
|
7554
7554
|
export type LuaRobotMinedEntityEventFilter =
|
7555
7555
|
| TypeRobotMinedEntityEventFilter
|
@@ -7656,7 +7656,7 @@ declare module "factorio:runtime" {
|
|
7656
7656
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
7657
7657
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
7658
7658
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
7659
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7659
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPrePlayerMinedEntityEventFilter Online documentation}
|
7660
7660
|
*/
|
7661
7661
|
export type LuaPrePlayerMinedEntityEventFilter =
|
7662
7662
|
| TypePrePlayerMinedEntityEventFilter
|
@@ -7775,7 +7775,7 @@ declare module "factorio:runtime" {
|
|
7775
7775
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
7776
7776
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
7777
7777
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
7778
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7778
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaRobotBuiltEntityEventFilter Online documentation}
|
7779
7779
|
*/
|
7780
7780
|
export type LuaRobotBuiltEntityEventFilter =
|
7781
7781
|
| TypeRobotBuiltEntityEventFilter
|
@@ -7883,7 +7883,7 @@ declare module "factorio:runtime" {
|
|
7883
7883
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
7884
7884
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
7885
7885
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
7886
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7886
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPreGhostUpgradedEventFilter Online documentation}
|
7887
7887
|
*/
|
7888
7888
|
export type LuaPreGhostUpgradedEventFilter =
|
7889
7889
|
| TypePreGhostUpgradedEventFilter
|
@@ -7992,7 +7992,7 @@ declare module "factorio:runtime" {
|
|
7992
7992
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
7993
7993
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
7994
7994
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
7995
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7995
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityDeconstructionCancelledEventFilter Online documentation}
|
7996
7996
|
*/
|
7997
7997
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
7998
7998
|
| TypeEntityDeconstructionCancelledEventFilter
|
@@ -8111,7 +8111,7 @@ declare module "factorio:runtime" {
|
|
8111
8111
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
8112
8112
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
8113
8113
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
8114
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8114
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPlayerBuiltEntityEventFilter Online documentation}
|
8115
8115
|
*/
|
8116
8116
|
export type LuaPlayerBuiltEntityEventFilter =
|
8117
8117
|
| TypePlayerBuiltEntityEventFilter
|
@@ -8219,7 +8219,7 @@ declare module "factorio:runtime" {
|
|
8219
8219
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
8220
8220
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
8221
8221
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
8222
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8222
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaPlayerMinedEntityEventFilter Online documentation}
|
8223
8223
|
*/
|
8224
8224
|
export type LuaPlayerMinedEntityEventFilter =
|
8225
8225
|
| TypePlayerMinedEntityEventFilter
|
@@ -8401,7 +8401,7 @@ declare module "factorio:runtime" {
|
|
8401
8401
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
8402
8402
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
8403
8403
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
8404
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8404
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityDamagedEventFilter Online documentation}
|
8405
8405
|
*/
|
8406
8406
|
export type LuaEntityDamagedEventFilter =
|
8407
8407
|
| TypeEntityDamagedEventFilter
|
@@ -8415,7 +8415,7 @@ declare module "factorio:runtime" {
|
|
8415
8415
|
| OtherEntityDamagedEventFilter
|
8416
8416
|
/**
|
8417
8417
|
* Write form of {@link LuaEntityDamagedEventFilter}, where table-or-array concepts are allowed to take an array form.
|
8418
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8418
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaEntityDamagedEventFilter Online documentation}
|
8419
8419
|
*/
|
8420
8420
|
export type LuaEntityDamagedEventFilterWrite =
|
8421
8421
|
| TypeEntityDamagedEventFilter
|
@@ -8526,7 +8526,7 @@ declare module "factorio:runtime" {
|
|
8526
8526
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
8527
8527
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
8528
8528
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
8529
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8529
|
+
* @see {@link https://lua-api.factorio.com/1.1.92/concepts.html#LuaSectorScannedEventFilter Online documentation}
|
8530
8530
|
*/
|
8531
8531
|
export type LuaSectorScannedEventFilter =
|
8532
8532
|
| TypeSectorScannedEventFilter
|