typed-factorio 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +1721 -1721
- package/prototype/generated/types.d.ts +1418 -1418
- package/runtime/generated/builtin-types.d.ts +12 -12
- package/runtime/generated/classes.d.ts +3309 -3309
- package/runtime/generated/concepts.d.ts +174 -174
- package/runtime/generated/defines.d.ts +120 -120
- 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
@@ -62,7 +62,7 @@ declare module "factorio:runtime" {
|
|
62
62
|
* - `"none-to-south"`
|
63
63
|
* - `"south-to-none"`
|
64
64
|
* - `"none-to-north"`
|
65
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
65
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CliffOrientation Online documentation}
|
66
66
|
*/
|
67
67
|
export type CliffOrientation =
|
68
68
|
| "west-to-east"
|
@@ -107,7 +107,7 @@ declare module "factorio:runtime" {
|
|
107
107
|
* game.print({"", {"item-name.iron-plate"}, ": ", 60})
|
108
108
|
* @example As an example of a localised string with fallback, consider this:
|
109
109
|
* {"?", {"", {"entity-description.furnace"}, "\n"}, {"item-description.furnace"}, "optional fallback"}
|
110
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
110
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LocalisedString Online documentation}
|
111
111
|
*/
|
112
112
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
113
113
|
export interface DisplayResolution {
|
@@ -126,7 +126,7 @@ declare module "factorio:runtime" {
|
|
126
126
|
* 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".
|
127
127
|
*
|
128
128
|
* For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
|
129
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
129
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#RealOrientation Online documentation}
|
130
130
|
*/
|
131
131
|
export type RealOrientation = float
|
132
132
|
/**
|
@@ -139,7 +139,7 @@ declare module "factorio:runtime" {
|
|
139
139
|
* {y = 2.25, x = 5.125}
|
140
140
|
* @example Shorthand:
|
141
141
|
* {1.625, 2.375}
|
142
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
142
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapPosition Online documentation}
|
143
143
|
*/
|
144
144
|
export interface MapPosition {
|
145
145
|
readonly x: double
|
@@ -148,13 +148,13 @@ declare module "factorio:runtime" {
|
|
148
148
|
/**
|
149
149
|
* Array form of {@link MapPosition}.
|
150
150
|
* @see MapPosition
|
151
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
151
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapPosition Online documentation}
|
152
152
|
*/
|
153
153
|
export type MapPositionArray = readonly [x: double, y: double]
|
154
154
|
/**
|
155
155
|
* 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.
|
156
156
|
* @see ChunkPositionArray
|
157
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
157
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ChunkPosition Online documentation}
|
158
158
|
*/
|
159
159
|
export interface ChunkPosition {
|
160
160
|
readonly x: int
|
@@ -163,13 +163,13 @@ declare module "factorio:runtime" {
|
|
163
163
|
/**
|
164
164
|
* Array form of {@link ChunkPosition}.
|
165
165
|
* @see ChunkPosition
|
166
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
166
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ChunkPosition Online documentation}
|
167
167
|
*/
|
168
168
|
export type ChunkPositionArray = readonly [x: int, y: int]
|
169
169
|
/**
|
170
170
|
* 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.
|
171
171
|
* @see TilePositionArray
|
172
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
172
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TilePosition Online documentation}
|
173
173
|
*/
|
174
174
|
export interface TilePosition {
|
175
175
|
readonly x: int
|
@@ -178,7 +178,7 @@ declare module "factorio:runtime" {
|
|
178
178
|
/**
|
179
179
|
* Array form of {@link TilePosition}.
|
180
180
|
* @see TilePosition
|
181
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
181
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TilePosition Online documentation}
|
182
182
|
*/
|
183
183
|
export type TilePositionArray = readonly [x: int, y: int]
|
184
184
|
/**
|
@@ -189,7 +189,7 @@ declare module "factorio:runtime" {
|
|
189
189
|
* {y = 2, x = 5}
|
190
190
|
* @example Shorthand:
|
191
191
|
* {1, 2}
|
192
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
192
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EquipmentPosition Online documentation}
|
193
193
|
*/
|
194
194
|
export interface EquipmentPosition {
|
195
195
|
readonly x: int
|
@@ -198,13 +198,13 @@ declare module "factorio:runtime" {
|
|
198
198
|
/**
|
199
199
|
* Array form of {@link EquipmentPosition}.
|
200
200
|
* @see EquipmentPosition
|
201
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
201
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EquipmentPosition Online documentation}
|
202
202
|
*/
|
203
203
|
export type EquipmentPositionArray = readonly [x: int, y: int]
|
204
204
|
/**
|
205
205
|
* 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.
|
206
206
|
* @see GuiLocationArray
|
207
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
207
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GuiLocation Online documentation}
|
208
208
|
*/
|
209
209
|
export interface GuiLocation {
|
210
210
|
readonly x: int
|
@@ -213,12 +213,12 @@ declare module "factorio:runtime" {
|
|
213
213
|
/**
|
214
214
|
* Array form of {@link GuiLocation}.
|
215
215
|
* @see GuiLocation
|
216
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
216
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GuiLocation Online documentation}
|
217
217
|
*/
|
218
218
|
export type GuiLocationArray = readonly [x: int, y: int]
|
219
219
|
/**
|
220
220
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
221
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
221
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ChunkPositionAndArea Online documentation}
|
222
222
|
*/
|
223
223
|
export interface ChunkPositionAndArea {
|
224
224
|
readonly x: int
|
@@ -227,7 +227,7 @@ declare module "factorio:runtime" {
|
|
227
227
|
}
|
228
228
|
/**
|
229
229
|
* A table used to define a manual shape for a piece of equipment.
|
230
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
230
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EquipmentPoint Online documentation}
|
231
231
|
*/
|
232
232
|
export interface EquipmentPoint {
|
233
233
|
readonly x: uint
|
@@ -263,12 +263,12 @@ declare module "factorio:runtime" {
|
|
263
263
|
* 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.
|
264
264
|
* @example
|
265
265
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
266
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
266
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Tags Online documentation}
|
267
267
|
*/
|
268
268
|
export type Tags = Record<string, AnyBasic>
|
269
269
|
/**
|
270
270
|
* @remarks The vectors for all 5 position attributes are a table with `x` and `y` keys instead of an array.
|
271
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
271
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SmokeSource Online documentation}
|
272
272
|
*/
|
273
273
|
export interface SmokeSource {
|
274
274
|
readonly name: string
|
@@ -295,7 +295,7 @@ declare module "factorio:runtime" {
|
|
295
295
|
* 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.
|
296
296
|
* @example
|
297
297
|
* right = {1.0, 0.0}
|
298
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
298
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Vector Online documentation}
|
299
299
|
*/
|
300
300
|
export type Vector = MapPositionArray
|
301
301
|
/**
|
@@ -305,7 +305,7 @@ declare module "factorio:runtime" {
|
|
305
305
|
* {left_top = {x = -2, y = -3}, right_bottom = {x = 5, y = 8}}
|
306
306
|
* @example Shorthand:
|
307
307
|
* {{-2, -3}, {5, 8}}
|
308
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
308
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#BoundingBox Online documentation}
|
309
309
|
*/
|
310
310
|
export interface BoundingBox {
|
311
311
|
readonly left_top: MapPosition
|
@@ -323,7 +323,7 @@ declare module "factorio:runtime" {
|
|
323
323
|
/**
|
324
324
|
* Array form of {@link BoundingBox}.
|
325
325
|
* @see BoundingBox
|
326
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
326
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#BoundingBox Online documentation}
|
327
327
|
*/
|
328
328
|
export type BoundingBoxArray = readonly [
|
329
329
|
left_top: MapPosition | MapPositionArray,
|
@@ -333,7 +333,7 @@ declare module "factorio:runtime" {
|
|
333
333
|
/**
|
334
334
|
* An area defined using the map editor.
|
335
335
|
* @see ScriptAreaWrite
|
336
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
336
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ScriptArea Online documentation}
|
337
337
|
*/
|
338
338
|
export interface ScriptArea {
|
339
339
|
readonly area: BoundingBox
|
@@ -343,7 +343,7 @@ declare module "factorio:runtime" {
|
|
343
343
|
}
|
344
344
|
/**
|
345
345
|
* Write form of {@link ScriptArea}, where table-or-array concepts are allowed to take an array form.
|
346
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
346
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ScriptArea Online documentation}
|
347
347
|
*/
|
348
348
|
export interface ScriptAreaWrite {
|
349
349
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
@@ -354,7 +354,7 @@ declare module "factorio:runtime" {
|
|
354
354
|
/**
|
355
355
|
* A position defined using the map editor.
|
356
356
|
* @see ScriptPositionWrite
|
357
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
357
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ScriptPosition Online documentation}
|
358
358
|
*/
|
359
359
|
export interface ScriptPosition {
|
360
360
|
readonly position: MapPosition
|
@@ -364,7 +364,7 @@ declare module "factorio:runtime" {
|
|
364
364
|
}
|
365
365
|
/**
|
366
366
|
* Write form of {@link ScriptPosition}, where table-or-array concepts are allowed to take an array form.
|
367
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
367
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ScriptPosition Online documentation}
|
368
368
|
*/
|
369
369
|
export interface ScriptPositionWrite {
|
370
370
|
readonly position: MapPosition | MapPositionArray
|
@@ -382,7 +382,7 @@ declare module "factorio:runtime" {
|
|
382
382
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
383
383
|
* black = {} -- All channels omitted: black
|
384
384
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
385
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
385
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Color Online documentation}
|
386
386
|
*/
|
387
387
|
export interface Color {
|
388
388
|
readonly r?: float
|
@@ -393,13 +393,13 @@ declare module "factorio:runtime" {
|
|
393
393
|
/**
|
394
394
|
* Array form of {@link Color}.
|
395
395
|
* @see Color
|
396
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
396
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Color Online documentation}
|
397
397
|
*/
|
398
398
|
export type ColorArray = readonly [r?: float, g?: float, b?: float, a?: float]
|
399
399
|
/**
|
400
400
|
* 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].
|
401
401
|
* @see ColorModifierArray
|
402
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
402
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ColorModifier Online documentation}
|
403
403
|
*/
|
404
404
|
export interface ColorModifier {
|
405
405
|
readonly r?: float
|
@@ -410,7 +410,7 @@ declare module "factorio:runtime" {
|
|
410
410
|
/**
|
411
411
|
* Array form of {@link ColorModifier}.
|
412
412
|
* @see ColorModifier
|
413
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
413
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ColorModifier Online documentation}
|
414
414
|
*/
|
415
415
|
export type ColorModifierArray = readonly [r?: float, g?: float, b?: float, a?: float]
|
416
416
|
export interface CraftingQueueItem {
|
@@ -450,7 +450,7 @@ declare module "factorio:runtime" {
|
|
450
450
|
}
|
451
451
|
/**
|
452
452
|
* One vertex of a ScriptRenderPolygon.
|
453
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
453
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ScriptRenderVertexTarget Online documentation}
|
454
454
|
*/
|
455
455
|
export interface ScriptRenderVertexTarget {
|
456
456
|
readonly target: (MapPosition | MapPositionArray) | LuaEntity
|
@@ -516,7 +516,7 @@ declare module "factorio:runtime" {
|
|
516
516
|
}
|
517
517
|
/**
|
518
518
|
* @remarks Either `icon`, `text`, or both must be provided.
|
519
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
519
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ChartTagSpec Online documentation}
|
520
520
|
*/
|
521
521
|
export interface ChartTagSpec {
|
522
522
|
readonly position: MapPosition | MapPositionArray
|
@@ -526,88 +526,88 @@ declare module "factorio:runtime" {
|
|
526
526
|
}
|
527
527
|
/**
|
528
528
|
* 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.
|
529
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
529
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings Online documentation}
|
530
530
|
*/
|
531
531
|
export interface GameViewSettings {
|
532
532
|
/**
|
533
533
|
* Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
|
534
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
534
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_controller_gui Online documentation}
|
535
535
|
*/
|
536
536
|
show_controller_gui: boolean
|
537
537
|
/**
|
538
538
|
* Show the chart in the upper right-hand corner of the screen.
|
539
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
539
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_minimap Online documentation}
|
540
540
|
*/
|
541
541
|
show_minimap: boolean
|
542
542
|
/**
|
543
543
|
* Show research progress and name in the upper right-hand corner of the screen.
|
544
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
544
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_research_info Online documentation}
|
545
545
|
*/
|
546
546
|
show_research_info: boolean
|
547
547
|
/**
|
548
548
|
* Show overlay icons on entities. Also known as "alt-mode".
|
549
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
549
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_entity_info Online documentation}
|
550
550
|
*/
|
551
551
|
show_entity_info: boolean
|
552
552
|
/**
|
553
553
|
* Show the flashing alert icons next to the player's toolbar.
|
554
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
554
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_alert_gui Online documentation}
|
555
555
|
*/
|
556
556
|
show_alert_gui: boolean
|
557
557
|
/**
|
558
558
|
* When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
|
559
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
559
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.update_entity_selection Online documentation}
|
560
560
|
*/
|
561
561
|
update_entity_selection: boolean
|
562
562
|
/**
|
563
563
|
* When `true` (`false` is default), the rails will always show the rail block visualisation.
|
564
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
564
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_rail_block_visualisation Online documentation}
|
565
565
|
*/
|
566
566
|
show_rail_block_visualisation: boolean
|
567
567
|
/**
|
568
568
|
* Shows or hides the buttons row.
|
569
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
569
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_side_menu Online documentation}
|
570
570
|
*/
|
571
571
|
show_side_menu: boolean
|
572
572
|
/**
|
573
573
|
* Shows or hides the view options when map is opened.
|
574
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
574
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_map_view_options Online documentation}
|
575
575
|
*/
|
576
576
|
show_map_view_options: boolean
|
577
577
|
/**
|
578
578
|
* Shows or hides the tooltip that is displayed when selecting an entity.
|
579
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
579
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_entity_tooltip Online documentation}
|
580
580
|
*/
|
581
581
|
show_entity_tooltip: boolean
|
582
582
|
/**
|
583
583
|
* Shows or hides quickbar of shortcuts.
|
584
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
584
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_quickbar Online documentation}
|
585
585
|
*/
|
586
586
|
show_quickbar: boolean
|
587
587
|
/**
|
588
588
|
* Shows or hides the shortcut bar.
|
589
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
589
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_shortcut_bar Online documentation}
|
590
590
|
*/
|
591
591
|
show_shortcut_bar: boolean
|
592
592
|
/**
|
593
593
|
* Shows or hides the crafting queue.
|
594
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
594
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_crafting_queue Online documentation}
|
595
595
|
*/
|
596
596
|
show_crafting_queue: boolean
|
597
597
|
/**
|
598
598
|
* Shows or hides the tool window with the weapons and armor.
|
599
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
599
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_tool_bar Online documentation}
|
600
600
|
*/
|
601
601
|
show_tool_bar: boolean
|
602
602
|
/**
|
603
603
|
* Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
|
604
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
604
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GameViewSettings.show_hotkey_suggestions Online documentation}
|
605
605
|
*/
|
606
606
|
show_hotkey_suggestions: boolean
|
607
607
|
}
|
608
608
|
/**
|
609
609
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
610
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
610
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapViewSettings Online documentation}
|
611
611
|
*/
|
612
612
|
export interface MapViewSettings {
|
613
613
|
readonly "show-logistic-network"?: boolean
|
@@ -621,7 +621,7 @@ declare module "factorio:runtime" {
|
|
621
621
|
}
|
622
622
|
/**
|
623
623
|
* These values are for the time frame of one second (60 ticks).
|
624
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
624
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#PollutionMapSettings Online documentation}
|
625
625
|
*/
|
626
626
|
export interface PollutionMapSettings {
|
627
627
|
/**
|
@@ -675,7 +675,7 @@ declare module "factorio:runtime" {
|
|
675
675
|
}
|
676
676
|
/**
|
677
677
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
678
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
678
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EnemyEvolutionMapSettings Online documentation}
|
679
679
|
*/
|
680
680
|
export interface EnemyEvolutionMapSettings {
|
681
681
|
/**
|
@@ -715,7 +715,7 @@ declare module "factorio:runtime" {
|
|
715
715
|
*
|
716
716
|
* score(chunk) = 1 / (1 + player + base)
|
717
717
|
* ```
|
718
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
718
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EnemyExpansionMapSettings Online documentation}
|
719
719
|
*/
|
720
720
|
export interface EnemyExpansionMapSettings {
|
721
721
|
/**
|
@@ -976,7 +976,7 @@ declare module "factorio:runtime" {
|
|
976
976
|
* Various game-related settings. Updating any of the attributes will immediately take effect in the game engine.
|
977
977
|
* @example Increase the number of short paths the pathfinder can cache.
|
978
978
|
* game.map_settings.path_finder.short_cache_size = 15
|
979
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
979
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapSettings Online documentation}
|
980
980
|
*/
|
981
981
|
export interface MapSettings {
|
982
982
|
pollution: PollutionMapSettings
|
@@ -987,31 +987,31 @@ declare module "factorio:runtime" {
|
|
987
987
|
path_finder: PathFinderMapSettings
|
988
988
|
/**
|
989
989
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
990
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
990
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapSettings.max_failed_behavior_count Online documentation}
|
991
991
|
*/
|
992
992
|
max_failed_behavior_count: uint
|
993
993
|
}
|
994
994
|
/**
|
995
995
|
* Technology and recipe difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
996
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
996
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#DifficultySettings Online documentation}
|
997
997
|
*/
|
998
998
|
export interface DifficultySettings {
|
999
999
|
recipe_difficulty: defines.difficulty_settings.recipe_difficulty
|
1000
1000
|
technology_difficulty: defines.difficulty_settings.technology_difficulty
|
1001
1001
|
/**
|
1002
1002
|
* A value in range [0.001, 1000].
|
1003
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1003
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#DifficultySettings.technology_price_multiplier Online documentation}
|
1004
1004
|
*/
|
1005
1005
|
technology_price_multiplier: double
|
1006
1006
|
/**
|
1007
1007
|
* 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.
|
1008
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1008
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#DifficultySettings.research_queue_setting Online documentation}
|
1009
1009
|
*/
|
1010
1010
|
research_queue_setting: "after-victory" | "always" | "never"
|
1011
1011
|
}
|
1012
1012
|
/**
|
1013
1013
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
1014
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1014
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapAndDifficultySettings Online documentation}
|
1015
1015
|
*/
|
1016
1016
|
export interface MapAndDifficultySettings {
|
1017
1017
|
readonly pollution: PollutionMapSettings
|
@@ -1040,7 +1040,7 @@ declare module "factorio:runtime" {
|
|
1040
1040
|
}
|
1041
1041
|
/**
|
1042
1042
|
* The data that can be extracted from a map exchange string, as a plain table.
|
1043
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1043
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapExchangeStringData Online documentation}
|
1044
1044
|
*/
|
1045
1045
|
export interface MapExchangeStringData {
|
1046
1046
|
readonly map_settings: MapAndDifficultySettings
|
@@ -1059,7 +1059,7 @@ declare module "factorio:runtime" {
|
|
1059
1059
|
/**
|
1060
1060
|
* 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.
|
1061
1061
|
* @see BlueprintEntityWrite
|
1062
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1062
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#BlueprintEntity Online documentation}
|
1063
1063
|
*/
|
1064
1064
|
export interface BlueprintEntity {
|
1065
1065
|
/**
|
@@ -1238,7 +1238,7 @@ declare module "factorio:runtime" {
|
|
1238
1238
|
}
|
1239
1239
|
/**
|
1240
1240
|
* Write form of {@link BlueprintEntity}, where table-or-array concepts are allowed to take an array form.
|
1241
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1241
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#BlueprintEntity Online documentation}
|
1242
1242
|
*/
|
1243
1243
|
export interface BlueprintEntityWrite {
|
1244
1244
|
/**
|
@@ -1326,7 +1326,7 @@ declare module "factorio:runtime" {
|
|
1326
1326
|
}
|
1327
1327
|
/**
|
1328
1328
|
* @see TileWrite
|
1329
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1329
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Tile Online documentation}
|
1330
1330
|
*/
|
1331
1331
|
export interface Tile {
|
1332
1332
|
/**
|
@@ -1340,7 +1340,7 @@ declare module "factorio:runtime" {
|
|
1340
1340
|
}
|
1341
1341
|
/**
|
1342
1342
|
* Write form of {@link Tile}, where table-or-array concepts are allowed to take an array form.
|
1343
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1343
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Tile Online documentation}
|
1344
1344
|
*/
|
1345
1345
|
export interface TileWrite {
|
1346
1346
|
/**
|
@@ -1412,7 +1412,7 @@ declare module "factorio:runtime" {
|
|
1412
1412
|
*
|
1413
1413
|
* Other attributes may be specified depending on `type`:
|
1414
1414
|
* - `"fluid"`: {@link FluidIngredient}
|
1415
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1415
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Ingredient Online documentation}
|
1416
1416
|
*/
|
1417
1417
|
export type Ingredient = FluidIngredient | OtherIngredient
|
1418
1418
|
/**
|
@@ -1477,7 +1477,7 @@ declare module "factorio:runtime" {
|
|
1477
1477
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
1478
1478
|
* @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:
|
1479
1479
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
1480
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1480
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Product Online documentation}
|
1481
1481
|
*/
|
1482
1482
|
export type Product = FluidProduct | OtherProduct
|
1483
1483
|
export interface Loot {
|
@@ -1679,7 +1679,7 @@ declare module "factorio:runtime" {
|
|
1679
1679
|
* - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
|
1680
1680
|
* - `"nothing"`: {@link NothingTechnologyModifier}
|
1681
1681
|
* - Other types: {@link OtherTechnologyModifier}
|
1682
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1682
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TechnologyModifier Online documentation}
|
1683
1683
|
*/
|
1684
1684
|
export type TechnologyModifier =
|
1685
1685
|
| GunSpeedTechnologyModifier
|
@@ -1691,7 +1691,7 @@ declare module "factorio:runtime" {
|
|
1691
1691
|
| OtherTechnologyModifier
|
1692
1692
|
/**
|
1693
1693
|
* A single offer on a market entity.
|
1694
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1694
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Offer Online documentation}
|
1695
1695
|
*/
|
1696
1696
|
export interface Offer {
|
1697
1697
|
/**
|
@@ -1705,7 +1705,7 @@ declare module "factorio:runtime" {
|
|
1705
1705
|
}
|
1706
1706
|
/**
|
1707
1707
|
* 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.
|
1708
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1708
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AutoplaceSpecification Online documentation}
|
1709
1709
|
*/
|
1710
1710
|
export interface AutoplaceSpecification {
|
1711
1711
|
readonly probability_expression: NoiseExpression
|
@@ -1731,7 +1731,7 @@ declare module "factorio:runtime" {
|
|
1731
1731
|
}
|
1732
1732
|
/**
|
1733
1733
|
* 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}.
|
1734
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1734
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#NoiseExpression Online documentation}
|
1735
1735
|
*/
|
1736
1736
|
export interface NoiseExpression {
|
1737
1737
|
/**
|
@@ -1823,7 +1823,7 @@ declare module "factorio:runtime" {
|
|
1823
1823
|
* - `"very-big"`: equivalent to `2`.
|
1824
1824
|
* - `"very-good"`: equivalent to `2`.
|
1825
1825
|
* @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.
|
1826
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1826
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapGenSize Online documentation}
|
1827
1827
|
*/
|
1828
1828
|
export type MapGenSize =
|
1829
1829
|
| float
|
@@ -1845,7 +1845,7 @@ declare module "factorio:runtime" {
|
|
1845
1845
|
| "very-good"
|
1846
1846
|
/**
|
1847
1847
|
* @see AutoplaceControlWrite
|
1848
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1848
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AutoplaceControl Online documentation}
|
1849
1849
|
*/
|
1850
1850
|
export interface AutoplaceControl {
|
1851
1851
|
/**
|
@@ -1863,7 +1863,7 @@ declare module "factorio:runtime" {
|
|
1863
1863
|
}
|
1864
1864
|
/**
|
1865
1865
|
* Write form of {@link AutoplaceControl}, where table-or-array concepts are allowed to take an array form.
|
1866
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1866
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AutoplaceControl Online documentation}
|
1867
1867
|
*/
|
1868
1868
|
export interface AutoplaceControlWrite {
|
1869
1869
|
/**
|
@@ -1881,7 +1881,7 @@ declare module "factorio:runtime" {
|
|
1881
1881
|
}
|
1882
1882
|
/**
|
1883
1883
|
* @see AutoplaceSettingsWrite
|
1884
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1884
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AutoplaceSettings Online documentation}
|
1885
1885
|
*/
|
1886
1886
|
export interface AutoplaceSettings {
|
1887
1887
|
/**
|
@@ -1892,7 +1892,7 @@ declare module "factorio:runtime" {
|
|
1892
1892
|
}
|
1893
1893
|
/**
|
1894
1894
|
* Write form of {@link AutoplaceSettings}, where table-or-array concepts are allowed to take an array form.
|
1895
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1895
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AutoplaceSettings Online documentation}
|
1896
1896
|
*/
|
1897
1897
|
export interface AutoplaceSettingsWrite {
|
1898
1898
|
/**
|
@@ -1903,7 +1903,7 @@ declare module "factorio:runtime" {
|
|
1903
1903
|
}
|
1904
1904
|
/**
|
1905
1905
|
* @see CliffPlacementSettingsWrite
|
1906
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1906
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CliffPlacementSettings Online documentation}
|
1907
1907
|
*/
|
1908
1908
|
export interface CliffPlacementSettings {
|
1909
1909
|
/**
|
@@ -1925,7 +1925,7 @@ declare module "factorio:runtime" {
|
|
1925
1925
|
}
|
1926
1926
|
/**
|
1927
1927
|
* Write form of {@link CliffPlacementSettings}, where table-or-array concepts are allowed to take an array form.
|
1928
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1928
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CliffPlacementSettings Online documentation}
|
1929
1929
|
*/
|
1930
1930
|
export interface CliffPlacementSettingsWrite {
|
1931
1931
|
/**
|
@@ -1958,7 +1958,7 @@ declare module "factorio:runtime" {
|
|
1958
1958
|
* local mgs = surface.map_gen_settings
|
1959
1959
|
* mgs.property_expression_names["tile:deepwater:probability"] = -1000
|
1960
1960
|
* surface.map_gen_settings = mgs
|
1961
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
1961
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapGenSettings Online documentation}
|
1962
1962
|
*/
|
1963
1963
|
export interface MapGenSettings {
|
1964
1964
|
/**
|
@@ -2028,7 +2028,7 @@ declare module "factorio:runtime" {
|
|
2028
2028
|
}
|
2029
2029
|
/**
|
2030
2030
|
* Write form of {@link MapGenSettings}, where table-or-array concepts are allowed to take an array form.
|
2031
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2031
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MapGenSettings Online documentation}
|
2032
2032
|
*/
|
2033
2033
|
export interface MapGenSettingsWrite {
|
2034
2034
|
/**
|
@@ -2126,7 +2126,7 @@ declare module "factorio:runtime" {
|
|
2126
2126
|
}
|
2127
2127
|
/**
|
2128
2128
|
* An actual signal transmitted by the network.
|
2129
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2129
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Signal Online documentation}
|
2130
2130
|
*/
|
2131
2131
|
export interface Signal {
|
2132
2132
|
/**
|
@@ -2150,7 +2150,7 @@ declare module "factorio:runtime" {
|
|
2150
2150
|
}
|
2151
2151
|
/**
|
2152
2152
|
* A single filter used by an infinity-filters instance.
|
2153
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2153
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#InfinityInventoryFilter Online documentation}
|
2154
2154
|
*/
|
2155
2155
|
export interface InfinityInventoryFilter {
|
2156
2156
|
/**
|
@@ -2172,7 +2172,7 @@ declare module "factorio:runtime" {
|
|
2172
2172
|
}
|
2173
2173
|
/**
|
2174
2174
|
* A single filter used by an infinity-pipe type entity.
|
2175
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2175
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#InfinityPipeFilter Online documentation}
|
2176
2176
|
*/
|
2177
2177
|
export interface InfinityPipeFilter {
|
2178
2178
|
/**
|
@@ -2226,7 +2226,7 @@ declare module "factorio:runtime" {
|
|
2226
2226
|
}
|
2227
2227
|
/**
|
2228
2228
|
* The settings used by a heat-interface type entity.
|
2229
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2229
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#HeatSetting Online documentation}
|
2230
2230
|
*/
|
2231
2231
|
export interface HeatSetting {
|
2232
2232
|
/**
|
@@ -2244,7 +2244,7 @@ declare module "factorio:runtime" {
|
|
2244
2244
|
}
|
2245
2245
|
/**
|
2246
2246
|
* A definition of a fluidbox connection point.
|
2247
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2247
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#FluidBoxConnection Online documentation}
|
2248
2248
|
*/
|
2249
2249
|
export interface FluidBoxConnection {
|
2250
2250
|
/**
|
@@ -2262,7 +2262,7 @@ declare module "factorio:runtime" {
|
|
2262
2262
|
}
|
2263
2263
|
/**
|
2264
2264
|
* A single pipe connection for a given fluidbox.
|
2265
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2265
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#PipeConnection Online documentation}
|
2266
2266
|
*/
|
2267
2267
|
export interface PipeConnection {
|
2268
2268
|
/**
|
@@ -2348,14 +2348,14 @@ declare module "factorio:runtime" {
|
|
2348
2348
|
* - `"≠"`: "not equal to"
|
2349
2349
|
* - `"!="`: "not equal to"
|
2350
2350
|
* @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.
|
2351
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2351
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ComparatorString Online documentation}
|
2352
2352
|
*/
|
2353
2353
|
export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
|
2354
2354
|
/** @see ComparatorString */
|
2355
2355
|
export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
|
2356
2356
|
/**
|
2357
2357
|
* @see DeciderCombinatorParametersWrite
|
2358
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2358
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#DeciderCombinatorParameters Online documentation}
|
2359
2359
|
*/
|
2360
2360
|
export interface DeciderCombinatorParameters {
|
2361
2361
|
/**
|
@@ -2385,7 +2385,7 @@ declare module "factorio:runtime" {
|
|
2385
2385
|
}
|
2386
2386
|
/**
|
2387
2387
|
* Write form of {@link DeciderCombinatorParameters}, where table-or-array concepts are allowed to take an array form.
|
2388
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2388
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#DeciderCombinatorParameters Online documentation}
|
2389
2389
|
*/
|
2390
2390
|
export interface DeciderCombinatorParametersWrite {
|
2391
2391
|
/**
|
@@ -2419,7 +2419,7 @@ declare module "factorio:runtime" {
|
|
2419
2419
|
}
|
2420
2420
|
/**
|
2421
2421
|
* @see CircuitConditionWrite
|
2422
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2422
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CircuitCondition Online documentation}
|
2423
2423
|
*/
|
2424
2424
|
export interface CircuitCondition {
|
2425
2425
|
/**
|
@@ -2441,7 +2441,7 @@ declare module "factorio:runtime" {
|
|
2441
2441
|
}
|
2442
2442
|
/**
|
2443
2443
|
* Write form of {@link CircuitCondition}, where table-or-array concepts are allowed to take an array form.
|
2444
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2444
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CircuitCondition Online documentation}
|
2445
2445
|
*/
|
2446
2446
|
export interface CircuitConditionWrite {
|
2447
2447
|
/**
|
@@ -2463,7 +2463,7 @@ declare module "factorio:runtime" {
|
|
2463
2463
|
}
|
2464
2464
|
/**
|
2465
2465
|
* @see CircuitConditionDefinitionWrite
|
2466
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2466
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CircuitConditionDefinition Online documentation}
|
2467
2467
|
*/
|
2468
2468
|
export interface CircuitConditionDefinition {
|
2469
2469
|
readonly condition: CircuitCondition
|
@@ -2474,7 +2474,7 @@ declare module "factorio:runtime" {
|
|
2474
2474
|
}
|
2475
2475
|
/**
|
2476
2476
|
* Write form of {@link CircuitConditionDefinition}, where table-or-array concepts are allowed to take an array form.
|
2477
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2477
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CircuitConditionDefinition Online documentation}
|
2478
2478
|
*/
|
2479
2479
|
export interface CircuitConditionDefinitionWrite {
|
2480
2480
|
readonly condition: CircuitConditionWrite
|
@@ -2790,7 +2790,7 @@ declare module "factorio:runtime" {
|
|
2790
2790
|
* - {@link defines.command.stop}: {@link StopCommand}
|
2791
2791
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
2792
2792
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
2793
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2793
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Command Online documentation}
|
2794
2794
|
*/
|
2795
2795
|
export type Command =
|
2796
2796
|
| AttackCommand
|
@@ -2804,7 +2804,7 @@ declare module "factorio:runtime" {
|
|
2804
2804
|
| BuildBaseCommand
|
2805
2805
|
/**
|
2806
2806
|
* Write form of {@link Command}, where table-or-array concepts are allowed to take an array form.
|
2807
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2807
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Command Online documentation}
|
2808
2808
|
*/
|
2809
2809
|
export type CommandWrite =
|
2810
2810
|
| AttackCommand
|
@@ -2900,7 +2900,7 @@ declare module "factorio:runtime" {
|
|
2900
2900
|
* {name="copper-plate", count=47}
|
2901
2901
|
* @example These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates):
|
2902
2902
|
* "iron-plate"
|
2903
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2903
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SimpleItemStack Online documentation}
|
2904
2904
|
*/
|
2905
2905
|
export type SimpleItemStack = string | ItemStackDefinition
|
2906
2906
|
/**
|
@@ -2910,7 +2910,7 @@ declare module "factorio:runtime" {
|
|
2910
2910
|
* - `string`: The fluid name.
|
2911
2911
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
2912
2912
|
* - {@link Fluid}: The fluid.
|
2913
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2913
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#FluidIdentification Online documentation}
|
2914
2914
|
*/
|
2915
2915
|
export type FluidIdentification = string | LuaFluidPrototype | Fluid
|
2916
2916
|
/**
|
@@ -2920,7 +2920,7 @@ declare module "factorio:runtime" {
|
|
2920
2920
|
* - ForceIndex: The force index.
|
2921
2921
|
* - `string`: The force name.
|
2922
2922
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
2923
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2923
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ForceIdentification Online documentation}
|
2924
2924
|
*/
|
2925
2925
|
export type ForceIdentification = ForceIndex | string | LuaForce
|
2926
2926
|
/**
|
@@ -2930,7 +2930,7 @@ declare module "factorio:runtime" {
|
|
2930
2930
|
* - `string`: The technology name.
|
2931
2931
|
* - {@link LuaTechnology}: A reference to {@link LuaTechnology} may be passed directly.
|
2932
2932
|
* - {@link LuaTechnologyPrototype}: A reference to {@link LuaTechnologyPrototype} may be passed directly.
|
2933
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2933
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TechnologyIdentification Online documentation}
|
2934
2934
|
*/
|
2935
2935
|
export type TechnologyIdentification = string | LuaTechnology | LuaTechnologyPrototype
|
2936
2936
|
/**
|
@@ -2940,7 +2940,7 @@ declare module "factorio:runtime" {
|
|
2940
2940
|
* - 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.
|
2941
2941
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
2942
2942
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
2943
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2943
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SurfaceIdentification Online documentation}
|
2944
2944
|
*/
|
2945
2945
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
2946
2946
|
/**
|
@@ -2950,7 +2950,7 @@ declare module "factorio:runtime" {
|
|
2950
2950
|
* - PlayerIndex: The player index.
|
2951
2951
|
* - `string`: The player name.
|
2952
2952
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
2953
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2953
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#PlayerIdentification Online documentation}
|
2954
2954
|
*/
|
2955
2955
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
2956
2956
|
/**
|
@@ -2959,7 +2959,7 @@ declare module "factorio:runtime" {
|
|
2959
2959
|
* ## Union members
|
2960
2960
|
* - {@link SimpleItemStack}
|
2961
2961
|
* - {@link LuaItemStack}
|
2962
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2962
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ItemStackIdentification Online documentation}
|
2963
2963
|
*/
|
2964
2964
|
export type ItemStackIdentification = SimpleItemStack | LuaItemStack
|
2965
2965
|
/**
|
@@ -2969,7 +2969,7 @@ declare module "factorio:runtime" {
|
|
2969
2969
|
* - {@link LuaEntity}: The entity.
|
2970
2970
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
2971
2971
|
* - `string`: The prototype name.
|
2972
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2972
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EntityPrototypeIdentification Online documentation}
|
2973
2973
|
*/
|
2974
2974
|
export type EntityPrototypeIdentification = LuaEntity | LuaEntityPrototype | string
|
2975
2975
|
/**
|
@@ -2979,12 +2979,12 @@ declare module "factorio:runtime" {
|
|
2979
2979
|
* - {@link LuaItemStack}: The item.
|
2980
2980
|
* - {@link LuaItemPrototype}: The item prototype.
|
2981
2981
|
* - `string`: The prototype name.
|
2982
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2982
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ItemPrototypeIdentification Online documentation}
|
2983
2983
|
*/
|
2984
2984
|
export type ItemPrototypeIdentification = LuaItemStack | LuaItemPrototype | string
|
2985
2985
|
/**
|
2986
2986
|
* @see WaitConditionWrite
|
2987
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
2987
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#WaitCondition Online documentation}
|
2988
2988
|
*/
|
2989
2989
|
export interface WaitCondition {
|
2990
2990
|
/**
|
@@ -3016,7 +3016,7 @@ declare module "factorio:runtime" {
|
|
3016
3016
|
}
|
3017
3017
|
/**
|
3018
3018
|
* Write form of {@link WaitCondition}, where table-or-array concepts are allowed to take an array form.
|
3019
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3019
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#WaitCondition Online documentation}
|
3020
3020
|
*/
|
3021
3021
|
export interface WaitConditionWrite {
|
3022
3022
|
/**
|
@@ -3048,7 +3048,7 @@ declare module "factorio:runtime" {
|
|
3048
3048
|
}
|
3049
3049
|
/**
|
3050
3050
|
* @see TrainScheduleRecordWrite
|
3051
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3051
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TrainScheduleRecord Online documentation}
|
3052
3052
|
*/
|
3053
3053
|
export interface TrainScheduleRecord {
|
3054
3054
|
/**
|
@@ -3071,7 +3071,7 @@ declare module "factorio:runtime" {
|
|
3071
3071
|
}
|
3072
3072
|
/**
|
3073
3073
|
* Write form of {@link TrainScheduleRecord}, where table-or-array concepts are allowed to take an array form.
|
3074
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3074
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TrainScheduleRecord Online documentation}
|
3075
3075
|
*/
|
3076
3076
|
export interface TrainScheduleRecordWrite {
|
3077
3077
|
/**
|
@@ -3094,7 +3094,7 @@ declare module "factorio:runtime" {
|
|
3094
3094
|
}
|
3095
3095
|
/**
|
3096
3096
|
* @see TrainScheduleWrite
|
3097
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3097
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TrainSchedule Online documentation}
|
3098
3098
|
*/
|
3099
3099
|
export interface TrainSchedule {
|
3100
3100
|
/**
|
@@ -3105,7 +3105,7 @@ declare module "factorio:runtime" {
|
|
3105
3105
|
}
|
3106
3106
|
/**
|
3107
3107
|
* Write form of {@link TrainSchedule}, where table-or-array concepts are allowed to take an array form.
|
3108
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3108
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TrainSchedule Online documentation}
|
3109
3109
|
*/
|
3110
3110
|
export interface TrainScheduleWrite {
|
3111
3111
|
/**
|
@@ -3184,7 +3184,7 @@ declare module "factorio:runtime" {
|
|
3184
3184
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
3185
3185
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
3186
3186
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
3187
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3187
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GuiArrowSpecification Online documentation}
|
3188
3188
|
*/
|
3189
3189
|
export type GuiArrowSpecification =
|
3190
3190
|
| EntityGuiArrowSpecification
|
@@ -3259,7 +3259,7 @@ declare module "factorio:runtime" {
|
|
3259
3259
|
* - `"equipment"`
|
3260
3260
|
* - `"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.
|
3261
3261
|
* - `"utility"` - sprite defined in the utility-sprites object, these are the pictures used by the game internally for the UI.
|
3262
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3262
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SpritePath Online documentation}
|
3263
3263
|
*/
|
3264
3264
|
export type SpritePath =
|
3265
3265
|
| (string & {
|
@@ -3309,7 +3309,7 @@ declare module "factorio:runtime" {
|
|
3309
3309
|
* - `"entity-rotated"` - Uses {@link import("factorio:prototype").EntityPrototype#rotated_sound EntityPrototype::rotated_sound}
|
3310
3310
|
* - `"entity-open"` - Uses {@link import("factorio:prototype").EntityPrototype#open_sound Entity::open_sound}
|
3311
3311
|
* - `"entity-close"` - Uses {@link import("factorio:prototype").EntityPrototype#close_sound Entity::close_sound}
|
3312
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3312
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SoundPath Online documentation}
|
3313
3313
|
*/
|
3314
3314
|
export type SoundPath =
|
3315
3315
|
| (string & {
|
@@ -3328,7 +3328,7 @@ declare module "factorio:runtime" {
|
|
3328
3328
|
* speed={bonus=-0.15},
|
3329
3329
|
* productivity={bonus=0.06},
|
3330
3330
|
* pollution={bonus=0.075}}
|
3331
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3331
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ModuleEffects Online documentation}
|
3332
3332
|
*/
|
3333
3333
|
export interface ModuleEffects {
|
3334
3334
|
readonly consumption?: ModuleEffectValue
|
@@ -3368,7 +3368,7 @@ declare module "factorio:runtime" {
|
|
3368
3368
|
* - `"not-upgradable"`: Prevents the entity from being selected by the upgrade planner.
|
3369
3369
|
* - `"not-in-kill-statistics"`: Prevents the entity from being shown in the kill statistics.
|
3370
3370
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
3371
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3371
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EntityPrototypeFlags Online documentation}
|
3372
3372
|
*/
|
3373
3373
|
export interface EntityPrototypeFlags {
|
3374
3374
|
/**
|
@@ -3490,7 +3490,7 @@ declare module "factorio:runtime" {
|
|
3490
3490
|
* - `"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.
|
3491
3491
|
* - `"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.
|
3492
3492
|
* - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
|
3493
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3493
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ItemPrototypeFlags Online documentation}
|
3494
3494
|
*/
|
3495
3495
|
export interface ItemPrototypeFlags {
|
3496
3496
|
/**
|
@@ -3557,7 +3557,7 @@ declare module "factorio:runtime" {
|
|
3557
3557
|
* - `"rail-layer"`
|
3558
3558
|
* - `"transport-belt-layer"`
|
3559
3559
|
* - `"not-setup"`
|
3560
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3560
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CollisionMaskLayer Online documentation}
|
3561
3561
|
*/
|
3562
3562
|
export type CollisionMaskLayer =
|
3563
3563
|
| "ground-tile"
|
@@ -3576,7 +3576,7 @@ declare module "factorio:runtime" {
|
|
3576
3576
|
| `layer-${bigint}`
|
3577
3577
|
/**
|
3578
3578
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
3579
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3579
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CollisionMask Online documentation}
|
3580
3580
|
*/
|
3581
3581
|
export type CollisionMask = {
|
3582
3582
|
readonly [T in CollisionMaskLayer]?: true
|
@@ -3589,7 +3589,7 @@ declare module "factorio:runtime" {
|
|
3589
3589
|
* - `"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.
|
3590
3590
|
* - `"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.
|
3591
3591
|
* - `"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.
|
3592
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3592
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CollisionMaskWithFlags Online documentation}
|
3593
3593
|
*/
|
3594
3594
|
export type CollisionMaskWithFlags = {
|
3595
3595
|
/**
|
@@ -3609,7 +3609,7 @@ declare module "factorio:runtime" {
|
|
3609
3609
|
}
|
3610
3610
|
/**
|
3611
3611
|
* A set of trigger target masks.
|
3612
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3612
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TriggerTargetMask Online documentation}
|
3613
3613
|
*/
|
3614
3614
|
export type TriggerTargetMask = Record<string, boolean>
|
3615
3615
|
export interface TriggerEffectItem {
|
@@ -3798,7 +3798,7 @@ declare module "factorio:runtime" {
|
|
3798
3798
|
* Other attributes may be specified depending on `type`:
|
3799
3799
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
3800
3800
|
* - `"stream"`: {@link StreamAttackParameters}
|
3801
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3801
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AttackParameters Online documentation}
|
3802
3802
|
*/
|
3803
3803
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
3804
3804
|
export interface BaseCapsuleAction {
|
@@ -3861,7 +3861,7 @@ declare module "factorio:runtime" {
|
|
3861
3861
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
3862
3862
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
3863
3863
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
3864
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3864
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CapsuleAction Online documentation}
|
3865
3865
|
*/
|
3866
3866
|
export type CapsuleAction =
|
3867
3867
|
| ThrowCapsuleAction
|
@@ -3897,7 +3897,7 @@ declare module "factorio:runtime" {
|
|
3897
3897
|
* - `"avoid-rolling-stock"`: Selects entities that are not `rolling-stock`s.
|
3898
3898
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
3899
3899
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
3900
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
3900
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SelectionModeFlags Online documentation}
|
3901
3901
|
*/
|
3902
3902
|
export interface SelectionModeFlags {
|
3903
3903
|
/**
|
@@ -4022,12 +4022,12 @@ declare module "factorio:runtime" {
|
|
4022
4022
|
}
|
4023
4023
|
/**
|
4024
4024
|
* Any basic type (string, number, boolean) or table.
|
4025
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4025
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AnyBasic Online documentation}
|
4026
4026
|
*/
|
4027
4027
|
export type AnyBasic = string | boolean | number | table
|
4028
4028
|
/**
|
4029
4029
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
4030
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4030
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Any Online documentation}
|
4031
4031
|
*/
|
4032
4032
|
export type Any = string | boolean | number | table | LuaObject
|
4033
4033
|
export interface ProgrammableSpeakerParameters {
|
@@ -4065,7 +4065,7 @@ declare module "factorio:runtime" {
|
|
4065
4065
|
* - `"top-right"`
|
4066
4066
|
* - `"right"`: The same as `"middle-right"`
|
4067
4067
|
* - `"bottom-right"`
|
4068
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4068
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#Alignment Online documentation}
|
4069
4069
|
*/
|
4070
4070
|
export type Alignment =
|
4071
4071
|
| "top-left"
|
@@ -4080,8 +4080,8 @@ declare module "factorio:runtime" {
|
|
4080
4080
|
| "right"
|
4081
4081
|
| "bottom-right"
|
4082
4082
|
/**
|
4083
|
-
* 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.
|
4084
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4083
|
+
* 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.97/events.html the list of Factorio events} for more information on these.
|
4084
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EventData Online documentation}
|
4085
4085
|
*/
|
4086
4086
|
export interface EventData {
|
4087
4087
|
/**
|
@@ -4191,7 +4191,7 @@ declare module "factorio:runtime" {
|
|
4191
4191
|
* - `"button-7"`
|
4192
4192
|
* - `"button-8"`
|
4193
4193
|
* - `"button-9"`
|
4194
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4194
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#MouseButtonFlags Online documentation}
|
4195
4195
|
*/
|
4196
4196
|
export interface MouseButtonFlags {
|
4197
4197
|
readonly left?: true
|
@@ -4216,7 +4216,7 @@ declare module "factorio:runtime" {
|
|
4216
4216
|
* - `"train-visualization"`: White box.
|
4217
4217
|
* - `"logistics"`: Light blue box.
|
4218
4218
|
* - `"blueprint-snap-rectangle"`: Green box.
|
4219
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4219
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#CursorBoxRenderType Online documentation}
|
4220
4220
|
*/
|
4221
4221
|
export type CursorBoxRenderType =
|
4222
4222
|
| "entity"
|
@@ -4236,7 +4236,7 @@ declare module "factorio:runtime" {
|
|
4236
4236
|
* - `"not-friend"`: Forces which are not friends pass.
|
4237
4237
|
* - `"same"`: The same force pass.
|
4238
4238
|
* - `"not-same"`: The non-same forces pass.
|
4239
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4239
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ForceCondition Online documentation}
|
4240
4240
|
*/
|
4241
4241
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
4242
4242
|
/**
|
@@ -4287,7 +4287,7 @@ declare module "factorio:runtime" {
|
|
4287
4287
|
* - `"collision-selection-box"`: 189
|
4288
4288
|
* - `"arrow"`: 190
|
4289
4289
|
* - `"cursor"`: 210
|
4290
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4290
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#RenderLayer Online documentation}
|
4291
4291
|
*/
|
4292
4292
|
export type RenderLayer =
|
4293
4293
|
| `${bigint}`
|
@@ -4353,7 +4353,7 @@ declare module "factorio:runtime" {
|
|
4353
4353
|
* - `"walking"`
|
4354
4354
|
* - `"alert"`
|
4355
4355
|
* - `"wind"`
|
4356
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4356
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#SoundType Online documentation}
|
4357
4357
|
*/
|
4358
4358
|
export type SoundType = "game-effect" | "gui-effect" | "ambient" | "environment" | "walking" | "alert" | "wind"
|
4359
4359
|
/**
|
@@ -4383,7 +4383,7 @@ declare module "factorio:runtime" {
|
|
4383
4383
|
* - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
|
4384
4384
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
4385
4385
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
4386
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4386
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GuiElementType Online documentation}
|
4387
4387
|
*/
|
4388
4388
|
export type GuiElementType =
|
4389
4389
|
| "button"
|
@@ -4421,7 +4421,7 @@ declare module "factorio:runtime" {
|
|
4421
4421
|
* - `"position"`
|
4422
4422
|
* - `"crafting_queue"`
|
4423
4423
|
* - `"item_stack"`
|
4424
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4424
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#GuiArrowType Online documentation}
|
4425
4425
|
*/
|
4426
4426
|
export type GuiArrowType =
|
4427
4427
|
| "nowhere"
|
@@ -4447,7 +4447,7 @@ declare module "factorio:runtime" {
|
|
4447
4447
|
* - TechnologyPrototypeFilter: for type `"technology"`
|
4448
4448
|
* @see PrototypeFilterWrite
|
4449
4449
|
* @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.
|
4450
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4450
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#PrototypeFilter Online documentation}
|
4451
4451
|
*/
|
4452
4452
|
export type PrototypeFilter = (
|
4453
4453
|
| ItemPrototypeFilter
|
@@ -4462,7 +4462,7 @@ declare module "factorio:runtime" {
|
|
4462
4462
|
)[]
|
4463
4463
|
/**
|
4464
4464
|
* Write form of {@link PrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
4465
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4465
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#PrototypeFilter Online documentation}
|
4466
4466
|
*/
|
4467
4467
|
export type PrototypeFilterWrite = readonly (
|
4468
4468
|
| ItemPrototypeFilterWrite
|
@@ -4808,7 +4808,7 @@ declare module "factorio:runtime" {
|
|
4808
4808
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
4809
4809
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
4810
4810
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
4811
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4811
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ItemPrototypeFilter Online documentation}
|
4812
4812
|
*/
|
4813
4813
|
export type ItemPrototypeFilter =
|
4814
4814
|
| PlaceResultItemPrototypeFilter
|
@@ -4830,7 +4830,7 @@ declare module "factorio:runtime" {
|
|
4830
4830
|
| OtherItemPrototypeFilter
|
4831
4831
|
/**
|
4832
4832
|
* Write form of {@link ItemPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
4833
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4833
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ItemPrototypeFilter Online documentation}
|
4834
4834
|
*/
|
4835
4835
|
export type ItemPrototypeFilterWrite =
|
4836
4836
|
| PlaceResultItemPrototypeFilterWrite
|
@@ -4906,7 +4906,7 @@ declare module "factorio:runtime" {
|
|
4906
4906
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
4907
4907
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
4908
4908
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
4909
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
4909
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#ModSettingPrototypeFilter Online documentation}
|
4910
4910
|
*/
|
4911
4911
|
export type ModSettingPrototypeFilter =
|
4912
4912
|
| TypeModSettingPrototypeFilter
|
@@ -5034,7 +5034,7 @@ declare module "factorio:runtime" {
|
|
5034
5034
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
5035
5035
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
5036
5036
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
5037
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5037
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TechnologyPrototypeFilter Online documentation}
|
5038
5038
|
*/
|
5039
5039
|
export type TechnologyPrototypeFilter =
|
5040
5040
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -5045,7 +5045,7 @@ declare module "factorio:runtime" {
|
|
5045
5045
|
| OtherTechnologyPrototypeFilter
|
5046
5046
|
/**
|
5047
5047
|
* Write form of {@link TechnologyPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5048
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5048
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TechnologyPrototypeFilter Online documentation}
|
5049
5049
|
*/
|
5050
5050
|
export type TechnologyPrototypeFilterWrite =
|
5051
5051
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -5095,7 +5095,7 @@ declare module "factorio:runtime" {
|
|
5095
5095
|
*
|
5096
5096
|
* Other attributes may be specified depending on `filter`:
|
5097
5097
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
5098
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5098
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#DecorativePrototypeFilter Online documentation}
|
5099
5099
|
*/
|
5100
5100
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
5101
5101
|
/**
|
@@ -5138,7 +5138,7 @@ declare module "factorio:runtime" {
|
|
5138
5138
|
*
|
5139
5139
|
* Other attributes may be specified depending on `filter`:
|
5140
5140
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
5141
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5141
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#AchievementPrototypeFilter Online documentation}
|
5142
5142
|
*/
|
5143
5143
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
5144
5144
|
/**
|
@@ -5323,7 +5323,7 @@ declare module "factorio:runtime" {
|
|
5323
5323
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
5324
5324
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
5325
5325
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
5326
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5326
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#FluidPrototypeFilter Online documentation}
|
5327
5327
|
*/
|
5328
5328
|
export type FluidPrototypeFilter =
|
5329
5329
|
| NameFluidPrototypeFilter
|
@@ -5337,7 +5337,7 @@ declare module "factorio:runtime" {
|
|
5337
5337
|
| OtherFluidPrototypeFilter
|
5338
5338
|
/**
|
5339
5339
|
* Write form of {@link FluidPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5340
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5340
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#FluidPrototypeFilter Online documentation}
|
5341
5341
|
*/
|
5342
5342
|
export type FluidPrototypeFilterWrite =
|
5343
5343
|
| NameFluidPrototypeFilter
|
@@ -5389,7 +5389,7 @@ declare module "factorio:runtime" {
|
|
5389
5389
|
*
|
5390
5390
|
* Other attributes may be specified depending on `filter`:
|
5391
5391
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
5392
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5392
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EquipmentPrototypeFilter Online documentation}
|
5393
5393
|
*/
|
5394
5394
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
5395
5395
|
/**
|
@@ -5522,7 +5522,7 @@ declare module "factorio:runtime" {
|
|
5522
5522
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
5523
5523
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
5524
5524
|
* - `"emissions"`: {@link EmissionsTilePrototypeFilter}
|
5525
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5525
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TilePrototypeFilter Online documentation}
|
5526
5526
|
*/
|
5527
5527
|
export type TilePrototypeFilter =
|
5528
5528
|
| CollisionMaskTilePrototypeFilter
|
@@ -5533,7 +5533,7 @@ declare module "factorio:runtime" {
|
|
5533
5533
|
| OtherTilePrototypeFilter
|
5534
5534
|
/**
|
5535
5535
|
* Write form of {@link TilePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5536
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5536
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#TilePrototypeFilter Online documentation}
|
5537
5537
|
*/
|
5538
5538
|
export type TilePrototypeFilterWrite =
|
5539
5539
|
| CollisionMaskTilePrototypeFilter
|
@@ -5797,7 +5797,7 @@ declare module "factorio:runtime" {
|
|
5797
5797
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
5798
5798
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
5799
5799
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
5800
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5800
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#RecipePrototypeFilter Online documentation}
|
5801
5801
|
*/
|
5802
5802
|
export type RecipePrototypeFilter =
|
5803
5803
|
| HasIngredientItemRecipePrototypeFilter
|
@@ -5813,7 +5813,7 @@ declare module "factorio:runtime" {
|
|
5813
5813
|
| OtherRecipePrototypeFilter
|
5814
5814
|
/**
|
5815
5815
|
* Write form of {@link RecipePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
5816
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
5816
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#RecipePrototypeFilter Online documentation}
|
5817
5817
|
*/
|
5818
5818
|
export type RecipePrototypeFilterWrite =
|
5819
5819
|
| HasIngredientItemRecipePrototypeFilterWrite
|
@@ -6050,7 +6050,7 @@ declare module "factorio:runtime" {
|
|
6050
6050
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
6051
6051
|
* - `"emissions"`: {@link EmissionsEntityPrototypeFilter}
|
6052
6052
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
6053
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6053
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EntityPrototypeFilter Online documentation}
|
6054
6054
|
*/
|
6055
6055
|
export type EntityPrototypeFilter =
|
6056
6056
|
| NameEntityPrototypeFilter
|
@@ -6064,7 +6064,7 @@ declare module "factorio:runtime" {
|
|
6064
6064
|
| OtherEntityPrototypeFilter
|
6065
6065
|
/**
|
6066
6066
|
* Write form of {@link EntityPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
|
6067
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6067
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EntityPrototypeFilter Online documentation}
|
6068
6068
|
*/
|
6069
6069
|
export type EntityPrototypeFilterWrite =
|
6070
6070
|
| NameEntityPrototypeFilter
|
@@ -6103,7 +6103,7 @@ declare module "factorio:runtime" {
|
|
6103
6103
|
* - {@link LuaPlayerRepairedEntityEventFilter}
|
6104
6104
|
* @see EventFilterWrite
|
6105
6105
|
* @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.
|
6106
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6106
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EventFilter Online documentation}
|
6107
6107
|
*/
|
6108
6108
|
export type EventFilter = (
|
6109
6109
|
| LuaEntityClonedEventFilter
|
@@ -6130,7 +6130,7 @@ declare module "factorio:runtime" {
|
|
6130
6130
|
)[]
|
6131
6131
|
/**
|
6132
6132
|
* Write form of {@link EventFilter}, where table-or-array concepts are allowed to take an array form.
|
6133
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6133
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#EventFilter Online documentation}
|
6134
6134
|
*/
|
6135
6135
|
export type EventFilterWrite = readonly (
|
6136
6136
|
| LuaEntityClonedEventFilter
|
@@ -6258,7 +6258,7 @@ declare module "factorio:runtime" {
|
|
6258
6258
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
6259
6259
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
6260
6260
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
6261
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6261
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaScriptRaisedReviveEventFilter Online documentation}
|
6262
6262
|
*/
|
6263
6263
|
export type LuaScriptRaisedReviveEventFilter =
|
6264
6264
|
| TypeScriptRaisedReviveEventFilter
|
@@ -6365,7 +6365,7 @@ declare module "factorio:runtime" {
|
|
6365
6365
|
* - `"name"`: {@link NameEntityDiedEventFilter}
|
6366
6366
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
6367
6367
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
6368
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6368
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityDiedEventFilter Online documentation}
|
6369
6369
|
*/
|
6370
6370
|
export type LuaEntityDiedEventFilter =
|
6371
6371
|
| TypeEntityDiedEventFilter
|
@@ -6474,7 +6474,7 @@ declare module "factorio:runtime" {
|
|
6474
6474
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
6475
6475
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
6476
6476
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
6477
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6477
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityMarkedForDeconstructionEventFilter Online documentation}
|
6478
6478
|
*/
|
6479
6479
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
6480
6480
|
| TypeEntityMarkedForDeconstructionEventFilter
|
@@ -6581,7 +6581,7 @@ declare module "factorio:runtime" {
|
|
6581
6581
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
6582
6582
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
6583
6583
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
6584
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6584
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPreGhostDeconstructedEventFilter Online documentation}
|
6585
6585
|
*/
|
6586
6586
|
export type LuaPreGhostDeconstructedEventFilter =
|
6587
6587
|
| TypePreGhostDeconstructedEventFilter
|
@@ -6688,7 +6688,7 @@ declare module "factorio:runtime" {
|
|
6688
6688
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
6689
6689
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
6690
6690
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
6691
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6691
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaScriptRaisedDestroyEventFilter Online documentation}
|
6692
6692
|
*/
|
6693
6693
|
export type LuaScriptRaisedDestroyEventFilter =
|
6694
6694
|
| TypeScriptRaisedDestroyEventFilter
|
@@ -6795,7 +6795,7 @@ declare module "factorio:runtime" {
|
|
6795
6795
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
6796
6796
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
6797
6797
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
6798
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6798
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaUpgradeCancelledEventFilter Online documentation}
|
6799
6799
|
*/
|
6800
6800
|
export type LuaUpgradeCancelledEventFilter =
|
6801
6801
|
| TypeUpgradeCancelledEventFilter
|
@@ -6902,7 +6902,7 @@ declare module "factorio:runtime" {
|
|
6902
6902
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
6903
6903
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
6904
6904
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
6905
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
6905
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPlayerRepairedEntityEventFilter Online documentation}
|
6906
6906
|
*/
|
6907
6907
|
export type LuaPlayerRepairedEntityEventFilter =
|
6908
6908
|
| TypePlayerRepairedEntityEventFilter
|
@@ -7009,7 +7009,7 @@ declare module "factorio:runtime" {
|
|
7009
7009
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
7010
7010
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
7011
7011
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
7012
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7012
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaScriptRaisedTeleportedEventFilter Online documentation}
|
7013
7013
|
*/
|
7014
7014
|
export type LuaScriptRaisedTeleportedEventFilter =
|
7015
7015
|
| TypeScriptRaisedTeleportedEventFilter
|
@@ -7116,7 +7116,7 @@ declare module "factorio:runtime" {
|
|
7116
7116
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
7117
7117
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
7118
7118
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
7119
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7119
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityMarkedForUpgradeEventFilter Online documentation}
|
7120
7120
|
*/
|
7121
7121
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
7122
7122
|
| TypeEntityMarkedForUpgradeEventFilter
|
@@ -7158,7 +7158,7 @@ declare module "factorio:runtime" {
|
|
7158
7158
|
*
|
7159
7159
|
* Other attributes may be specified depending on `filter`:
|
7160
7160
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
7161
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7161
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPostEntityDiedEventFilter Online documentation}
|
7162
7162
|
*/
|
7163
7163
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
7164
7164
|
/**
|
@@ -7260,7 +7260,7 @@ declare module "factorio:runtime" {
|
|
7260
7260
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
7261
7261
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
7262
7262
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
7263
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7263
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPreRobotMinedEntityEventFilter Online documentation}
|
7264
7264
|
*/
|
7265
7265
|
export type LuaPreRobotMinedEntityEventFilter =
|
7266
7266
|
| TypePreRobotMinedEntityEventFilter
|
@@ -7367,7 +7367,7 @@ declare module "factorio:runtime" {
|
|
7367
7367
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
7368
7368
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
7369
7369
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
7370
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7370
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityClonedEventFilter Online documentation}
|
7371
7371
|
*/
|
7372
7372
|
export type LuaEntityClonedEventFilter =
|
7373
7373
|
| TypeEntityClonedEventFilter
|
@@ -7474,7 +7474,7 @@ declare module "factorio:runtime" {
|
|
7474
7474
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
7475
7475
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
7476
7476
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
7477
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7477
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaScriptRaisedBuiltEventFilter Online documentation}
|
7478
7478
|
*/
|
7479
7479
|
export type LuaScriptRaisedBuiltEventFilter =
|
7480
7480
|
| TypeScriptRaisedBuiltEventFilter
|
@@ -7581,7 +7581,7 @@ declare module "factorio:runtime" {
|
|
7581
7581
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
7582
7582
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
7583
7583
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
7584
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7584
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaRobotMinedEntityEventFilter Online documentation}
|
7585
7585
|
*/
|
7586
7586
|
export type LuaRobotMinedEntityEventFilter =
|
7587
7587
|
| TypeRobotMinedEntityEventFilter
|
@@ -7688,7 +7688,7 @@ declare module "factorio:runtime" {
|
|
7688
7688
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
7689
7689
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
7690
7690
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
7691
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7691
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPrePlayerMinedEntityEventFilter Online documentation}
|
7692
7692
|
*/
|
7693
7693
|
export type LuaPrePlayerMinedEntityEventFilter =
|
7694
7694
|
| TypePrePlayerMinedEntityEventFilter
|
@@ -7807,7 +7807,7 @@ declare module "factorio:runtime" {
|
|
7807
7807
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
7808
7808
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
7809
7809
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
7810
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7810
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaRobotBuiltEntityEventFilter Online documentation}
|
7811
7811
|
*/
|
7812
7812
|
export type LuaRobotBuiltEntityEventFilter =
|
7813
7813
|
| TypeRobotBuiltEntityEventFilter
|
@@ -7915,7 +7915,7 @@ declare module "factorio:runtime" {
|
|
7915
7915
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
7916
7916
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
7917
7917
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
7918
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
7918
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPreGhostUpgradedEventFilter Online documentation}
|
7919
7919
|
*/
|
7920
7920
|
export type LuaPreGhostUpgradedEventFilter =
|
7921
7921
|
| TypePreGhostUpgradedEventFilter
|
@@ -8024,7 +8024,7 @@ declare module "factorio:runtime" {
|
|
8024
8024
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
8025
8025
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
8026
8026
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
8027
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8027
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityDeconstructionCancelledEventFilter Online documentation}
|
8028
8028
|
*/
|
8029
8029
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
8030
8030
|
| TypeEntityDeconstructionCancelledEventFilter
|
@@ -8143,7 +8143,7 @@ declare module "factorio:runtime" {
|
|
8143
8143
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
8144
8144
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
8145
8145
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
8146
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8146
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPlayerBuiltEntityEventFilter Online documentation}
|
8147
8147
|
*/
|
8148
8148
|
export type LuaPlayerBuiltEntityEventFilter =
|
8149
8149
|
| TypePlayerBuiltEntityEventFilter
|
@@ -8251,7 +8251,7 @@ declare module "factorio:runtime" {
|
|
8251
8251
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
8252
8252
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
8253
8253
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
8254
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8254
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaPlayerMinedEntityEventFilter Online documentation}
|
8255
8255
|
*/
|
8256
8256
|
export type LuaPlayerMinedEntityEventFilter =
|
8257
8257
|
| TypePlayerMinedEntityEventFilter
|
@@ -8433,7 +8433,7 @@ declare module "factorio:runtime" {
|
|
8433
8433
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
8434
8434
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
8435
8435
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
8436
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8436
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityDamagedEventFilter Online documentation}
|
8437
8437
|
*/
|
8438
8438
|
export type LuaEntityDamagedEventFilter =
|
8439
8439
|
| TypeEntityDamagedEventFilter
|
@@ -8447,7 +8447,7 @@ declare module "factorio:runtime" {
|
|
8447
8447
|
| OtherEntityDamagedEventFilter
|
8448
8448
|
/**
|
8449
8449
|
* Write form of {@link LuaEntityDamagedEventFilter}, where table-or-array concepts are allowed to take an array form.
|
8450
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8450
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaEntityDamagedEventFilter Online documentation}
|
8451
8451
|
*/
|
8452
8452
|
export type LuaEntityDamagedEventFilterWrite =
|
8453
8453
|
| TypeEntityDamagedEventFilter
|
@@ -8558,7 +8558,7 @@ declare module "factorio:runtime" {
|
|
8558
8558
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
8559
8559
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
8560
8560
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
8561
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
8561
|
+
* @see {@link https://lua-api.factorio.com/1.1.97/concepts.html#LuaSectorScannedEventFilter Online documentation}
|
8562
8562
|
*/
|
8563
8563
|
export type LuaSectorScannedEventFilter =
|
8564
8564
|
| TypeSectorScannedEventFilter
|