typed-factorio 3.20.0 → 3.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ declare module "factorio:runtime" {
18
18
  * - {@link FluidID}: Used with fluid production statistics.
19
19
  * - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
20
20
  * - {@link EntityID}: Used with pollution statistics.
21
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FlowStatisticsID.html Online documentation}
21
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/FlowStatisticsID.html Online documentation}
22
22
  */
23
23
  export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
24
24
  export type ItemStackIndex = uint16
@@ -40,7 +40,7 @@ declare module "factorio:runtime" {
40
40
  * - `"<="`: "lesser than or equal to"
41
41
  * - `"≠"`: "not equal to"
42
42
  * - `"!="`: "not equal to"
43
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ComparatorString.html Online documentation}
43
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ComparatorString.html Online documentation}
44
44
  */
45
45
  export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
46
46
  export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
@@ -71,15 +71,15 @@ declare module "factorio:runtime" {
71
71
  *
72
72
  * The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
73
73
  *
74
- * {@link https://lua-api.factorio.com/2.0.45/concepts/SpritePath.html > The supported types are:}
75
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpritePath.html Online documentation}
74
+ * {@link https://lua-api.factorio.com/2.0.47/concepts/SpritePath.html > The supported types are:}
75
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SpritePath.html Online documentation}
76
76
  */
77
77
  export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
78
78
  /**
79
79
  * @example
80
80
  * -- Most common collision mask of buildings:
81
81
  * collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
82
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CollisionMask.html Online documentation}
82
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CollisionMask.html Online documentation}
83
83
  */
84
84
  export interface CollisionMask {
85
85
  /**
@@ -103,14 +103,14 @@ declare module "factorio:runtime" {
103
103
  * The percentual increase of the attribute. A value of `0.6` means a 60% increase.
104
104
  *
105
105
  * Quality values are divided by 10 internally, allowing for one more decimal of precision.
106
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ModuleEffectValue.html Online documentation}
106
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ModuleEffectValue.html Online documentation}
107
107
  */
108
108
  export type ModuleEffectValue = float
109
109
  /**
110
110
  * @example
111
111
  * -- These are the effects of the vanilla Speed Module 3
112
112
  * {speed = 0.5, consumption = 0.7, quality = -0.25}
113
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ModuleEffects.html Online documentation}
113
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ModuleEffects.html Online documentation}
114
114
  */
115
115
  export interface ModuleEffects {
116
116
  readonly consumption?: ModuleEffectValue
@@ -121,7 +121,7 @@ declare module "factorio:runtime" {
121
121
  }
122
122
  /**
123
123
  * `math.huge` represents the maximum possible tick.
124
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapTick.html Online documentation}
124
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapTick.html Online documentation}
125
125
  */
126
126
  export type MapTick = uint64
127
127
  /**
@@ -200,7 +200,7 @@ declare module "factorio:runtime" {
200
200
  * - `"collision-selection-box"`: 189
201
201
  * - `"arrow"`: 190
202
202
  * - `"cursor"`: 226
203
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RenderLayer.html Online documentation}
203
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RenderLayer.html Online documentation}
204
204
  */
205
205
  export type RenderLayer =
206
206
  | `${bigint}`
@@ -277,7 +277,7 @@ declare module "factorio:runtime" {
277
277
  | "cursor"
278
278
  /**
279
279
  * What is shown in the map view. If a field is not given, that setting will not be changed.
280
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapViewSettings.html Online documentation}
280
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapViewSettings.html Online documentation}
281
281
  */
282
282
  export interface MapViewSettings {
283
283
  readonly "show-logistic-network"?: boolean
@@ -307,7 +307,7 @@ declare module "factorio:runtime" {
307
307
  * - `"blueprint-snap-rectangle"`: Green by default.
308
308
  * - `"spidertron-remote-selected"`
309
309
  * - `"spidertron-remote-to-be-selected"`
310
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CursorBoxRenderType.html Online documentation}
310
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CursorBoxRenderType.html Online documentation}
311
311
  */
312
312
  export type CursorBoxRenderType =
313
313
  | "entity"
@@ -325,7 +325,7 @@ declare module "factorio:runtime" {
325
325
  * The name of a {@link LuaCollisionLayerPrototype}.
326
326
  * @example
327
327
  * "is_lower_object"
328
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CollisionLayerID.html Online documentation}
328
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CollisionLayerID.html Online documentation}
329
329
  */
330
330
  export type CollisionLayerID = string
331
331
  /**
@@ -335,7 +335,7 @@ declare module "factorio:runtime" {
335
335
  * - `"left"`
336
336
  * - `"right"`
337
337
  * - `"none"`
338
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SwitchState.html Online documentation}
338
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SwitchState.html Online documentation}
339
339
  */
340
340
  export type SwitchState = "left" | "right" | "none"
341
341
  export interface PrototypeWithQuality {
@@ -373,7 +373,7 @@ declare module "factorio:runtime" {
373
373
  * - `"entity-with-quality"`
374
374
  * - `"recipe-with-quality"`
375
375
  * - `"equipment-with-quality"`
376
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ElemType.html Online documentation}
376
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ElemType.html Online documentation}
377
377
  */
378
378
  export type ElemType =
379
379
  | "achievement"
@@ -407,7 +407,7 @@ declare module "factorio:runtime" {
407
407
  /**
408
408
  * An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
409
409
  * @see ItemFilterWrite
410
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemFilter.html Online documentation}
410
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemFilter.html Online documentation}
411
411
  */
412
412
  export type ItemFilter =
413
413
  | {
@@ -427,7 +427,7 @@ declare module "factorio:runtime" {
427
427
  | string
428
428
  /**
429
429
  * Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
430
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemFilter.html Online documentation}
430
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemFilter.html Online documentation}
431
431
  */
432
432
  export type ItemFilterWrite =
433
433
  | {
@@ -510,7 +510,7 @@ declare module "factorio:runtime" {
510
510
  * - `"position"`: {@link PositionGuiArrowSpecification}
511
511
  * - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
512
512
  * - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
513
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiArrowSpecification.html Online documentation}
513
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GuiArrowSpecification.html Online documentation}
514
514
  */
515
515
  export type GuiArrowSpecification =
516
516
  | EntityGuiArrowSpecification
@@ -523,7 +523,7 @@ declare module "factorio:runtime" {
523
523
  *
524
524
  * If this is specified as a three-element array then the array items are x, y and z, in that order.
525
525
  * @see Vector3DArray
526
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Vector3D.html Online documentation}
526
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Vector3D.html Online documentation}
527
527
  */
528
528
  export interface Vector3D {
529
529
  readonly x: float
@@ -533,7 +533,7 @@ declare module "factorio:runtime" {
533
533
  /**
534
534
  * Array form of {@link Vector3D}.
535
535
  * @see Vector3D
536
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Vector3D.html Online documentation}
536
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Vector3D.html Online documentation}
537
537
  */
538
538
  export type Vector3DArray = readonly [float, float, float]
539
539
  export interface ItemWithQualityCounts {
@@ -566,7 +566,7 @@ declare module "factorio:runtime" {
566
566
  }
567
567
  /**
568
568
  * @see TrainScheduleWrite
569
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrainSchedule.html Online documentation}
569
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TrainSchedule.html Online documentation}
570
570
  */
571
571
  export interface TrainSchedule {
572
572
  /**
@@ -577,7 +577,7 @@ declare module "factorio:runtime" {
577
577
  }
578
578
  /**
579
579
  * Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
580
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrainSchedule.html Online documentation}
580
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TrainSchedule.html Online documentation}
581
581
  */
582
582
  export interface TrainScheduleWrite {
583
583
  /**
@@ -588,7 +588,7 @@ declare module "factorio:runtime" {
588
588
  }
589
589
  /**
590
590
  * @see PlatformScheduleWrite
591
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PlatformSchedule.html Online documentation}
591
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PlatformSchedule.html Online documentation}
592
592
  */
593
593
  export interface PlatformSchedule {
594
594
  /**
@@ -599,7 +599,7 @@ declare module "factorio:runtime" {
599
599
  }
600
600
  /**
601
601
  * Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
602
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PlatformSchedule.html Online documentation}
602
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PlatformSchedule.html Online documentation}
603
603
  */
604
604
  export interface PlatformScheduleWrite {
605
605
  /**
@@ -616,7 +616,7 @@ declare module "factorio:runtime" {
616
616
  }
617
617
  /**
618
618
  * A recipe prototype with optional quality specification.
619
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RecipeIDAndQualityIDPair.html Online documentation}
619
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RecipeIDAndQualityIDPair.html Online documentation}
620
620
  */
621
621
  export interface RecipeIDAndQualityIDPair {
622
622
  /**
@@ -665,7 +665,7 @@ declare module "factorio:runtime" {
665
665
  * - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
666
666
  * - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
667
667
  * - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
668
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ForceID.html Online documentation}
668
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ForceID.html Online documentation}
669
669
  */
670
670
  export type ForceID = string | uint8 | LuaForce
671
671
  /**
@@ -675,7 +675,7 @@ declare module "factorio:runtime" {
675
675
  * - `string`: The fluid name.
676
676
  * - {@link LuaFluidPrototype}: The fluid prototype.
677
677
  * - {@link Fluid}: The fluid.
678
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidID.html Online documentation}
678
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/FluidID.html Online documentation}
679
679
  */
680
680
  export type FluidID = string | LuaFluidPrototype | Fluid
681
681
  /**
@@ -686,12 +686,12 @@ declare module "factorio:runtime" {
686
686
  * - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
687
687
  * - `string`: The prototype name. Normal quality will be used.
688
688
  * - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
689
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityWithQualityID.html Online documentation}
689
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityWithQualityID.html Online documentation}
690
690
  */
691
691
  export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
692
692
  /**
693
693
  * An entity prototype with optional quality specification.
694
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityIDAndQualityIDPair.html Online documentation}
694
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityIDAndQualityIDPair.html Online documentation}
695
695
  */
696
696
  export interface EntityIDAndQualityIDPair {
697
697
  /**
@@ -711,13 +711,13 @@ declare module "factorio:runtime" {
711
711
  * - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
712
712
  * - `string`: The prototype name. Normal quality will be used.
713
713
  * - {@link ItemIDAndQualityIDPair}: A table of entity prototype and quality.
714
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemWithQualityID.html Online documentation}
714
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemWithQualityID.html Online documentation}
715
715
  */
716
716
  export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
717
717
  /**
718
718
  * An item prototype with optional quality specification.
719
719
  * @see ItemIDAndQualityIDPairWrite
720
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemIDAndQualityIDPair.html Online documentation}
720
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemIDAndQualityIDPair.html Online documentation}
721
721
  */
722
722
  export interface ItemIDAndQualityIDPair {
723
723
  /**
@@ -731,7 +731,7 @@ declare module "factorio:runtime" {
731
731
  }
732
732
  /**
733
733
  * Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
734
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemIDAndQualityIDPair.html Online documentation}
734
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemIDAndQualityIDPair.html Online documentation}
735
735
  */
736
736
  export interface ItemIDAndQualityIDPairWrite {
737
737
  /**
@@ -751,7 +751,7 @@ declare module "factorio:runtime" {
751
751
  * - {@link LuaItemStack}: Non empty item stack.
752
752
  * - {@link LuaItem}: The item.
753
753
  * - `string`: The prototype name.
754
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemID.html Online documentation}
754
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemID.html Online documentation}
755
755
  */
756
756
  export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
757
757
  /**
@@ -761,7 +761,7 @@ declare module "factorio:runtime" {
761
761
  * - {@link LuaEntityPrototype}: The entity prototype.
762
762
  * - {@link LuaEntity}: The entity.
763
763
  * - `string`: The prototype name.
764
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityID.html Online documentation}
764
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityID.html Online documentation}
765
765
  */
766
766
  export type EntityID = LuaEntityPrototype | LuaEntity | string
767
767
  /**
@@ -771,7 +771,7 @@ declare module "factorio:runtime" {
771
771
  * - {@link LuaTechnologyPrototype}: The technology prototype.
772
772
  * - {@link LuaTechnology}: Instance of the technology.
773
773
  * - `string`: The prototype name.
774
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyID.html Online documentation}
774
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TechnologyID.html Online documentation}
775
775
  */
776
776
  export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
777
777
  /**
@@ -780,7 +780,7 @@ declare module "factorio:runtime" {
780
780
  * ## Union members
781
781
  * - {@link LuaParticlePrototype}: The particle prototype.
782
782
  * - `string`: The prototype name.
783
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ParticleID.html Online documentation}
783
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ParticleID.html Online documentation}
784
784
  */
785
785
  export type ParticleID = LuaParticlePrototype | string
786
786
  /**
@@ -789,7 +789,7 @@ declare module "factorio:runtime" {
789
789
  * ## Union members
790
790
  * - {@link LuaDamagePrototype}: The damage type prototype.
791
791
  * - `string`: The prototype name.
792
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DamageTypeID.html Online documentation}
792
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DamageTypeID.html Online documentation}
793
793
  */
794
794
  export type DamageTypeID = LuaDamagePrototype | string
795
795
  /**
@@ -798,7 +798,7 @@ declare module "factorio:runtime" {
798
798
  * ## Union members
799
799
  * - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
800
800
  * - `string`: The prototype name.
801
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrivialSmokeID.html Online documentation}
801
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TrivialSmokeID.html Online documentation}
802
802
  */
803
803
  export type TrivialSmokeID = LuaTrivialSmokePrototype | string
804
804
  /**
@@ -810,7 +810,7 @@ declare module "factorio:runtime" {
810
810
  * - `"left"`
811
811
  * - `"right"`
812
812
  * - `"center"`
813
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TextAlign.html Online documentation}
813
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TextAlign.html Online documentation}
814
814
  */
815
815
  export type TextAlign = "left" | "right" | "center"
816
816
  /**
@@ -823,7 +823,7 @@ declare module "factorio:runtime" {
823
823
  * - `"middle"`
824
824
  * - `"baseline"`
825
825
  * - `"bottom"`
826
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/VerticalTextAlign.html Online documentation}
826
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/VerticalTextAlign.html Online documentation}
827
827
  */
828
828
  export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
829
829
  /**
@@ -832,7 +832,7 @@ declare module "factorio:runtime" {
832
832
  * ## Union members
833
833
  * - {@link LuaQualityPrototype}: The quality prototype.
834
834
  * - `string`: The prototype name.
835
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/QualityID.html Online documentation}
835
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/QualityID.html Online documentation}
836
836
  */
837
837
  export type QualityID = LuaQualityPrototype | string
838
838
  /**
@@ -842,7 +842,7 @@ declare module "factorio:runtime" {
842
842
  * - {@link LuaRecipePrototype}: By recipe prototype.
843
843
  * - {@link LuaRecipe}: By instance of recipe.
844
844
  * - `string`: By name of the recipe prototype.
845
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RecipeID.html Online documentation}
845
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RecipeID.html Online documentation}
846
846
  */
847
847
  export type RecipeID = LuaRecipePrototype | LuaRecipe | string
848
848
  /**
@@ -852,7 +852,7 @@ declare module "factorio:runtime" {
852
852
  * - {@link LuaTilePrototype}: By tile prototype.
853
853
  * - {@link LuaTile}: By instance of tile.
854
854
  * - `string`: By name of the tile prototype.
855
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TileID.html Online documentation}
855
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TileID.html Online documentation}
856
856
  */
857
857
  export type TileID = LuaTilePrototype | LuaTile | string
858
858
  export interface Fluid {
@@ -876,7 +876,7 @@ declare module "factorio:runtime" {
876
876
  * - {@link LuaEquipmentPrototype}: The equipment prototype.
877
877
  * - {@link LuaEquipment}: The equipment.
878
878
  * - `string`: The prototype name.
879
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentID.html Online documentation}
879
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentID.html Online documentation}
880
880
  */
881
881
  export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
882
882
  /**
@@ -887,12 +887,12 @@ declare module "factorio:runtime" {
887
887
  * - {@link LuaEquipment}: The equipment. Both prototype and quality of the provided equipment will be used.
888
888
  * - `string`: The prototype name. Normal quality will be used.
889
889
  * - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
890
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentWithQualityID.html Online documentation}
890
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentWithQualityID.html Online documentation}
891
891
  */
892
892
  export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
893
893
  /**
894
894
  * An equipment prototype with optional quality specification.
895
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
895
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
896
896
  */
897
897
  export interface EquipmentIDAndQualityIDPair {
898
898
  /**
@@ -913,7 +913,7 @@ declare module "factorio:runtime" {
913
913
  * @example
914
914
  * -- Shorthand
915
915
  * {{-2, -3}, {5, 8}}
916
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BoundingBox.html Online documentation}
916
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BoundingBox.html Online documentation}
917
917
  */
918
918
  export interface BoundingBox {
919
919
  readonly left_top: MapPosition
@@ -923,7 +923,7 @@ declare module "factorio:runtime" {
923
923
  /**
924
924
  * Array form of {@link BoundingBox}.
925
925
  * @see BoundingBox
926
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BoundingBox.html Online documentation}
926
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BoundingBox.html Online documentation}
927
927
  */
928
928
  export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
929
929
  export interface BoundingBoxWrite {
@@ -936,7 +936,7 @@ declare module "factorio:runtime" {
936
936
  *
937
937
  * ## Union members
938
938
  * - {@link LuaSpacePlatform}
939
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpacePlatformIdentification.html Online documentation}
939
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SpacePlatformIdentification.html Online documentation}
940
940
  */
941
941
  export type SpacePlatformIdentification = LuaSpacePlatform
942
942
  /**
@@ -946,12 +946,12 @@ declare module "factorio:runtime" {
946
946
  * - {@link LuaForce}[]: Array of many forces.
947
947
  * - {@link LuaForce}: A single force.
948
948
  * @see ForceSetWrite
949
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ForceSet.html Online documentation}
949
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ForceSet.html Online documentation}
950
950
  */
951
951
  export type ForceSet = LuaForce[] | LuaForce
952
952
  /**
953
953
  * Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
954
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ForceSet.html Online documentation}
954
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ForceSet.html Online documentation}
955
955
  */
956
956
  export type ForceSetWrite = readonly ForceID[] | ForceID
957
957
  /**
@@ -960,7 +960,7 @@ declare module "factorio:runtime" {
960
960
  * ## Union members
961
961
  * - {@link LuaDecorativePrototype}: The decorative prototype.
962
962
  * - `string`: The prototype name.
963
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DecorativeID.html Online documentation}
963
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DecorativeID.html Online documentation}
964
964
  */
965
965
  export type DecorativeID = LuaDecorativePrototype | string
966
966
  /**
@@ -969,7 +969,7 @@ declare module "factorio:runtime" {
969
969
  * ## Union members
970
970
  * - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
971
971
  * - `string`: The prototype name.
972
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidChunkID.html Online documentation}
972
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AsteroidChunkID.html Online documentation}
973
973
  */
974
974
  export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
975
975
  /**
@@ -978,13 +978,13 @@ declare module "factorio:runtime" {
978
978
  * ## Union members
979
979
  * - {@link LuaSpaceLocationPrototype}: The space location prototype.
980
980
  * - `string`: The prototype name.
981
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpaceLocationID.html Online documentation}
981
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SpaceLocationID.html Online documentation}
982
982
  */
983
983
  export type SpaceLocationID = LuaSpaceLocationPrototype | string
984
984
  /**
985
985
  * A signal filter may be specified in two ways, either as a string which is a virtual signal name or item prototype name or as a table.
986
986
  * @see SignalFilterWrite
987
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalFilter.html Online documentation}
987
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SignalFilter.html Online documentation}
988
988
  */
989
989
  export type SignalFilter =
990
990
  | {
@@ -1008,7 +1008,7 @@ declare module "factorio:runtime" {
1008
1008
  | string
1009
1009
  /**
1010
1010
  * Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
1011
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalFilter.html Online documentation}
1011
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SignalFilter.html Online documentation}
1012
1012
  */
1013
1013
  export type SignalFilterWrite =
1014
1014
  | {
@@ -1032,7 +1032,7 @@ declare module "factorio:runtime" {
1032
1032
  | string
1033
1033
  /**
1034
1034
  * @see LogisticFilterWrite
1035
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticFilter.html Online documentation}
1035
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LogisticFilter.html Online documentation}
1036
1036
  */
1037
1037
  export interface LogisticFilter {
1038
1038
  /**
@@ -1058,7 +1058,7 @@ declare module "factorio:runtime" {
1058
1058
  }
1059
1059
  /**
1060
1060
  * Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
1061
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticFilter.html Online documentation}
1061
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LogisticFilter.html Online documentation}
1062
1062
  */
1063
1063
  export interface LogisticFilterWrite {
1064
1064
  /**
@@ -1114,23 +1114,23 @@ declare module "factorio:runtime" {
1114
1114
  * ## Union members
1115
1115
  * - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
1116
1116
  * - `string`: The prototype name.
1117
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SurfacePropertyID.html Online documentation}
1117
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SurfacePropertyID.html Online documentation}
1118
1118
  */
1119
1119
  export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
1120
1120
  /**
1121
1121
  * When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
1122
1122
  * @see ScriptRenderTargetWrite
1123
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptRenderTarget.html Online documentation}
1123
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptRenderTarget.html Online documentation}
1124
1124
  */
1125
1125
  export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
1126
1126
  /**
1127
1127
  * Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
1128
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptRenderTarget.html Online documentation}
1128
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptRenderTarget.html Online documentation}
1129
1129
  */
1130
1130
  export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
1131
1131
  /**
1132
1132
  * @see ScriptRenderTargetTableWrite
1133
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptRenderTargetTable.html Online documentation}
1133
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptRenderTargetTable.html Online documentation}
1134
1134
  */
1135
1135
  export interface ScriptRenderTargetTable {
1136
1136
  readonly entity?: LuaEntity
@@ -1145,7 +1145,7 @@ declare module "factorio:runtime" {
1145
1145
  }
1146
1146
  /**
1147
1147
  * Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
1148
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptRenderTargetTable.html Online documentation}
1148
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptRenderTargetTable.html Online documentation}
1149
1149
  */
1150
1150
  export interface ScriptRenderTargetTableWrite {
1151
1151
  readonly entity?: LuaEntity
@@ -1160,7 +1160,7 @@ declare module "factorio:runtime" {
1160
1160
  }
1161
1161
  /**
1162
1162
  * An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
1163
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/QualityCondition.html Online documentation}
1163
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/QualityCondition.html Online documentation}
1164
1164
  */
1165
1165
  export type QualityCondition =
1166
1166
  | {
@@ -1177,7 +1177,7 @@ declare module "factorio:runtime" {
1177
1177
  /**
1178
1178
  * The destination of a cargo pod.
1179
1179
  * @see CargoDestinationWrite
1180
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CargoDestination.html Online documentation}
1180
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CargoDestination.html Online documentation}
1181
1181
  */
1182
1182
  export interface CargoDestination {
1183
1183
  /**
@@ -1215,7 +1215,7 @@ declare module "factorio:runtime" {
1215
1215
  }
1216
1216
  /**
1217
1217
  * Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
1218
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CargoDestination.html Online documentation}
1218
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CargoDestination.html Online documentation}
1219
1219
  */
1220
1220
  export interface CargoDestinationWrite {
1221
1221
  /**
@@ -1261,6 +1261,60 @@ declare module "factorio:runtime" {
1261
1261
  */
1262
1262
  readonly interrupt_index?: uint
1263
1263
  }
1264
+ /**
1265
+ * A set of limitations for the player zoom level.
1266
+ * @example
1267
+ * {
1268
+ * closest = { zoom = 4 },
1269
+ * furthest = { zoom = 1 / 16 },
1270
+ * furthest_game_view = { distance = 200, max_distance = 400 }
1271
+ * }
1272
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ZoomLimits.html Online documentation}
1273
+ */
1274
+ export interface ZoomLimits {
1275
+ /**
1276
+ * The closest zoom level that the player's current controller can have. If not defined when overwriting {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}, then the default value for the current controller as defined by the engine will be used instead. When reading from {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}, this field will contain the value previously set by a script or the default value defined by the engine.
1277
+ */
1278
+ readonly closest?: ZoomSpecification
1279
+ /**
1280
+ * The furthest zoom level that the player's current controller can have. If for any reason the `furthest` limit is closer than `closest`, then the player's zoom will be locked to the closer of the two values. If not defined when overwriting {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}, then the default value for the current controller as defined by the engine will be used instead. When reading from {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}, this field will contain the value previously set by a script or the default value defined by the engine.
1281
+ */
1282
+ readonly furthest?: ZoomSpecification
1283
+ /**
1284
+ * The furthest zoom level at which the engine will render the game view. Zoom levels further than this limit will render using chart (map) view. Set this to the same value as `furthest` to force the game view at all zoom levels. Set this to some value closer than `closest` to force chart view at all zoom levels. If not defined when overwriting {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}, then the default value for the current controller as defined by the engine will be used instead. When reading from {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}, this field will contain the value previously set by a script or the default value defined by the engine.
1285
+ */
1286
+ readonly furthest_game_view?: ZoomSpecification
1287
+ }
1288
+ /**
1289
+ * A table specifying a fixed or dynamically-computed zoom level using one of the supported methods. Used by {@link ZoomLimits}.
1290
+ *
1291
+ * Method 1 only uses the `zoom` field. The zoom level is fixed and will not change at runtime. Directly correlates to the perceived size of objects in the game world.
1292
+ *
1293
+ * Method 2 only uses `distance` and optionally `max_distance`. The zoom level is computed dynamically based on the player's window dimensions and aspect ratio. This method is ideal for limiting how far the player can see.
1294
+ *
1295
+ * If there is ambiguity in which method should be used (i.e. both `zoom` and `distance` fields are provided), an error will be thrown during parsing.
1296
+ * @example
1297
+ * -- Method 1: Specify a fixed zoom level.
1298
+ * { zoom = 3.0 }
1299
+ *
1300
+ * -- Method 2: Specify a dynamic zoom level based on the window dimensions.
1301
+ * { distance = 200, max_distance = 500 }
1302
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ZoomSpecification.html Online documentation}
1303
+ */
1304
+ export interface ZoomSpecification {
1305
+ /**
1306
+ * A fixed zoom level. Must be a positive value. 1.0 is the default zoom level. Mutually exclusive with `distance`.
1307
+ */
1308
+ readonly zoom?: double
1309
+ /**
1310
+ * The number of game tiles across the horizontal axis at the game's default 16:9 aspect ratio. Must be a positive number. This specification is designed to comfortably accommodate displays with extreme aspect ratios such as ultrawide monitors. The exact zoom level is calculated at dynamically as follows. For aspect ratios between 16:9 and 9:16, the zoom level is computed so that `distance` number of tiles are visible along the game window's longer axis. For aspect ratios between 16:9 and 1:1, this is the window's width. For aspect ratios between 1:1 and 9:16, this is the window's height. For aspect ratios greater than 16:9 or smaller than 9:16, then the zoom level is actually computed so that `distance * 9 / 16` number of tiles are visible along the game window's shorter axis. So for aspect ratios greater than 16:9, this is the window's height. For aspect ratios smaller than 9:16, this is the window's height. Mutually exclusive with `zoom`. Used with `max_distance`.
1311
+ */
1312
+ readonly distance?: double
1313
+ /**
1314
+ * The absolute maximum number of game tiles permitted along the window's longest axis, setting a hard limit on how far a player can see by simply manipulating the game window. Must be a positive number. Values greater than the default may allow players to see ungenerated chunks while exploring. The "closest" zoom level calculated from `distance` and `max_distance` is always used. Optionally used with `distance`. Defaults to `500`.
1315
+ */
1316
+ readonly max_distance?: double
1317
+ }
1264
1318
  /**
1265
1319
  * Event name may be specified in one of four ways.
1266
1320
  *
@@ -1269,7 +1323,7 @@ declare module "factorio:runtime" {
1269
1323
  * - {@link LuaCustomInputPrototype}: Custom input prototype.
1270
1324
  * - {@link defines.events}: Event identifier.
1271
1325
  * - `string`: Name of the event.
1272
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEventType.html Online documentation}
1326
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEventType.html Online documentation}
1273
1327
  */
1274
1328
  export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
1275
1329
  /**
@@ -1277,13 +1331,13 @@ declare module "factorio:runtime" {
1277
1331
  * - `"center-to-center"`
1278
1332
  * - `"bounding-box-to-bounding-box"`
1279
1333
  * - `"center-to-bounding-box"`
1280
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RangeMode.html Online documentation}
1334
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RangeMode.html Online documentation}
1281
1335
  */
1282
1336
  export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
1283
1337
  /**
1284
1338
  * 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.
1285
1339
  * @see BlueprintEntityWrite
1286
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEntity.html Online documentation}
1340
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintEntity.html Online documentation}
1287
1341
  */
1288
1342
  export interface BlueprintEntity {
1289
1343
  /**
@@ -1497,7 +1551,7 @@ declare module "factorio:runtime" {
1497
1551
  }
1498
1552
  /**
1499
1553
  * Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
1500
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEntity.html Online documentation}
1554
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintEntity.html Online documentation}
1501
1555
  */
1502
1556
  export interface BlueprintEntityWrite {
1503
1557
  /**
@@ -1718,7 +1772,7 @@ declare module "factorio:runtime" {
1718
1772
  }
1719
1773
  /**
1720
1774
  * @see BlueprintEquipmentWrite
1721
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEquipment.html Online documentation}
1775
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintEquipment.html Online documentation}
1722
1776
  */
1723
1777
  export interface BlueprintEquipment {
1724
1778
  readonly equipment: ItemIDAndQualityIDPair
@@ -1726,7 +1780,7 @@ declare module "factorio:runtime" {
1726
1780
  }
1727
1781
  /**
1728
1782
  * Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
1729
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEquipment.html Online documentation}
1783
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintEquipment.html Online documentation}
1730
1784
  */
1731
1785
  export interface BlueprintEquipmentWrite {
1732
1786
  readonly equipment: ItemIDAndQualityIDPairWrite
@@ -1734,7 +1788,7 @@ declare module "factorio:runtime" {
1734
1788
  }
1735
1789
  /**
1736
1790
  * @see BlueprintInventoryWrite
1737
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInventory.html Online documentation}
1791
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintInventory.html Online documentation}
1738
1792
  */
1739
1793
  export interface BlueprintInventory {
1740
1794
  readonly filters?: BlueprintLogisticFilter[]
@@ -1745,7 +1799,7 @@ declare module "factorio:runtime" {
1745
1799
  }
1746
1800
  /**
1747
1801
  * Write form of {@link BlueprintInventory}, where some properties allow additional values as input compared to the read form.
1748
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInventory.html Online documentation}
1802
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintInventory.html Online documentation}
1749
1803
  */
1750
1804
  export interface BlueprintInventoryWrite {
1751
1805
  readonly filters?: readonly BlueprintLogisticFilterWrite[]
@@ -1766,7 +1820,7 @@ declare module "factorio:runtime" {
1766
1820
  }
1767
1821
  /**
1768
1822
  * @see BlueprintControlBehaviorWrite
1769
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintControlBehavior.html Online documentation}
1823
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintControlBehavior.html Online documentation}
1770
1824
  */
1771
1825
  export interface BlueprintControlBehavior {
1772
1826
  /**
@@ -2019,7 +2073,7 @@ declare module "factorio:runtime" {
2019
2073
  }
2020
2074
  /**
2021
2075
  * Write form of {@link BlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
2022
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintControlBehavior.html Online documentation}
2076
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintControlBehavior.html Online documentation}
2023
2077
  */
2024
2078
  export interface BlueprintControlBehaviorWrite {
2025
2079
  /**
@@ -2300,7 +2354,7 @@ declare module "factorio:runtime" {
2300
2354
  * "2500 * (L - 3)"
2301
2355
  * @example
2302
2356
  * "(4e5 * (abs(speed) + 10.5)) / weight"
2303
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MathExpression.html Online documentation}
2357
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MathExpression.html Online documentation}
2304
2358
  */
2305
2359
  export type MathExpression = string
2306
2360
  /**
@@ -2483,7 +2537,7 @@ declare module "factorio:runtime" {
2483
2537
  * - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
2484
2538
  * - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
2485
2539
  * - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
2486
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/UndoRedoAction.html Online documentation}
2540
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/UndoRedoAction.html Online documentation}
2487
2541
  */
2488
2542
  export type UndoRedoAction =
2489
2543
  | BuiltEntityUndoRedoAction
@@ -2690,7 +2744,7 @@ declare module "factorio:runtime" {
2690
2744
  * - `"play-next-track"`
2691
2745
  * - `"play-previous-track"`
2692
2746
  * - `"pause-resume-music"`
2693
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LinkedGameControl.html Online documentation}
2747
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LinkedGameControl.html Online documentation}
2694
2748
  */
2695
2749
  export type LinkedGameControl =
2696
2750
  | "move-up"
@@ -2901,7 +2955,7 @@ declare module "factorio:runtime" {
2901
2955
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
2902
2956
  *
2903
2957
  * By default, none of these flags are set.
2904
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFlags.html Online documentation}
2958
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemPrototypeFlags.html Online documentation}
2905
2959
  */
2906
2960
  export type ItemPrototypeFlags = {
2907
2961
  readonly [T in ItemPrototypeFlag]?: true
@@ -2922,7 +2976,7 @@ declare module "factorio:runtime" {
2922
2976
  * - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
2923
2977
  * - `"spoil-result"`
2924
2978
  * - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
2925
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFlag.html Online documentation}
2979
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemPrototypeFlag.html Online documentation}
2926
2980
  */
2927
2981
  export type ItemPrototypeFlag =
2928
2982
  | "draw-logistic-overlay"
@@ -2939,7 +2993,7 @@ declare module "factorio:runtime" {
2939
2993
  | "ignore-spoil-time-modifier"
2940
2994
  /**
2941
2995
  * @see UpgradeMapperSourceWrite
2942
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/UpgradeMapperSource.html Online documentation}
2996
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/UpgradeMapperSource.html Online documentation}
2943
2997
  */
2944
2998
  export interface UpgradeMapperSource {
2945
2999
  readonly type: "item" | "entity"
@@ -2958,7 +3012,7 @@ declare module "factorio:runtime" {
2958
3012
  }
2959
3013
  /**
2960
3014
  * Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
2961
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/UpgradeMapperSource.html Online documentation}
3015
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/UpgradeMapperSource.html Online documentation}
2962
3016
  */
2963
3017
  export interface UpgradeMapperSourceWrite {
2964
3018
  readonly type: "item" | "entity"
@@ -3044,7 +3098,7 @@ declare module "factorio:runtime" {
3044
3098
  * - `"controllable-remove"`
3045
3099
  * - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
3046
3100
  * - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
3047
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SelectionModeFlags.html Online documentation}
3101
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SelectionModeFlags.html Online documentation}
3048
3102
  */
3049
3103
  export interface SelectionModeFlags {
3050
3104
  /**
@@ -3149,7 +3203,7 @@ declare module "factorio:runtime" {
3149
3203
  * - `"none"`
3150
3204
  * - `"whitelist"`
3151
3205
  * - `"blacklist"`
3152
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PrototypeFilterMode.html Online documentation}
3206
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PrototypeFilterMode.html Online documentation}
3153
3207
  */
3154
3208
  export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
3155
3209
  export interface UpgradeMapperDestination {
@@ -3187,7 +3241,7 @@ declare module "factorio:runtime" {
3187
3241
  }
3188
3242
  /**
3189
3243
  * @see DisplayPanelMessageDefinitionWrite
3190
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DisplayPanelMessageDefinition.html Online documentation}
3244
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DisplayPanelMessageDefinition.html Online documentation}
3191
3245
  */
3192
3246
  export interface DisplayPanelMessageDefinition {
3193
3247
  /**
@@ -3205,7 +3259,7 @@ declare module "factorio:runtime" {
3205
3259
  }
3206
3260
  /**
3207
3261
  * Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
3208
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DisplayPanelMessageDefinition.html Online documentation}
3262
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DisplayPanelMessageDefinition.html Online documentation}
3209
3263
  */
3210
3264
  export interface DisplayPanelMessageDefinitionWrite {
3211
3265
  /**
@@ -3223,7 +3277,7 @@ declare module "factorio:runtime" {
3223
3277
  }
3224
3278
  /**
3225
3279
  * @see SignalIDWrite
3226
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalID.html Online documentation}
3280
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SignalID.html Online documentation}
3227
3281
  */
3228
3282
  export interface SignalID {
3229
3283
  /**
@@ -3241,7 +3295,7 @@ declare module "factorio:runtime" {
3241
3295
  }
3242
3296
  /**
3243
3297
  * Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
3244
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalID.html Online documentation}
3298
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SignalID.html Online documentation}
3245
3299
  */
3246
3300
  export interface SignalIDWrite {
3247
3301
  /**
@@ -3267,7 +3321,7 @@ declare module "factorio:runtime" {
3267
3321
  * - `"space-location"`
3268
3322
  * - `"asteroid-chunk"`
3269
3323
  * - `"quality"`
3270
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalIDType.html Online documentation}
3324
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SignalIDType.html Online documentation}
3271
3325
  */
3272
3326
  export type SignalIDType =
3273
3327
  | "item"
@@ -3297,7 +3351,7 @@ declare module "factorio:runtime" {
3297
3351
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
3298
3352
  * -- minimum amount of 1 and a maximum amount of 5
3299
3353
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
3300
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Product.html Online documentation}
3354
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Product.html Online documentation}
3301
3355
  */
3302
3356
  export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
3303
3357
  /**
@@ -3308,7 +3362,7 @@ declare module "factorio:runtime" {
3308
3362
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
3309
3363
  * -- minimum amount of 1 and a maximum amount of 5
3310
3364
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
3311
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemProduct.html Online documentation}
3365
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemProduct.html Online documentation}
3312
3366
  */
3313
3367
  export interface ItemProduct {
3314
3368
  readonly type: "item"
@@ -3352,7 +3406,7 @@ declare module "factorio:runtime" {
3352
3406
  * {{type="fluid", name="heavy-oil", amount=1},
3353
3407
  * {type="fluid", name="light-oil", amount=4.5},
3354
3408
  * {type="fluid", name="petroleum-gas", amount=5.5}}
3355
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidProduct.html Online documentation}
3409
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/FluidProduct.html Online documentation}
3356
3410
  */
3357
3411
  export interface FluidProduct {
3358
3412
  readonly type: "fluid"
@@ -3400,7 +3454,7 @@ declare module "factorio:runtime" {
3400
3454
  }
3401
3455
  /**
3402
3456
  * @see BlueprintScheduleRecordWrite
3403
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleRecord.html Online documentation}
3457
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintScheduleRecord.html Online documentation}
3404
3458
  */
3405
3459
  export interface BlueprintScheduleRecord {
3406
3460
  /**
@@ -3414,7 +3468,7 @@ declare module "factorio:runtime" {
3414
3468
  }
3415
3469
  /**
3416
3470
  * Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
3417
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleRecord.html Online documentation}
3471
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintScheduleRecord.html Online documentation}
3418
3472
  */
3419
3473
  export interface BlueprintScheduleRecordWrite {
3420
3474
  /**
@@ -3428,7 +3482,7 @@ declare module "factorio:runtime" {
3428
3482
  }
3429
3483
  /**
3430
3484
  * @see ScheduleRecordWrite
3431
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleRecord.html Online documentation}
3485
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScheduleRecord.html Online documentation}
3432
3486
  */
3433
3487
  export interface ScheduleRecord {
3434
3488
  /**
@@ -3447,7 +3501,7 @@ declare module "factorio:runtime" {
3447
3501
  }
3448
3502
  /**
3449
3503
  * Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
3450
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleRecord.html Online documentation}
3504
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScheduleRecord.html Online documentation}
3451
3505
  */
3452
3506
  export interface ScheduleRecordWrite {
3453
3507
  /**
@@ -3466,7 +3520,7 @@ declare module "factorio:runtime" {
3466
3520
  }
3467
3521
  /**
3468
3522
  * @see BlueprintScheduleInterruptWrite
3469
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleInterrupt.html Online documentation}
3523
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintScheduleInterrupt.html Online documentation}
3470
3524
  */
3471
3525
  export interface BlueprintScheduleInterrupt {
3472
3526
  readonly name?: string
@@ -3476,7 +3530,7 @@ declare module "factorio:runtime" {
3476
3530
  }
3477
3531
  /**
3478
3532
  * Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
3479
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleInterrupt.html Online documentation}
3533
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintScheduleInterrupt.html Online documentation}
3480
3534
  */
3481
3535
  export interface BlueprintScheduleInterruptWrite {
3482
3536
  readonly name?: string
@@ -3486,7 +3540,7 @@ declare module "factorio:runtime" {
3486
3540
  }
3487
3541
  /**
3488
3542
  * @see ScheduleInterruptWrite
3489
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleInterrupt.html Online documentation}
3543
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScheduleInterrupt.html Online documentation}
3490
3544
  */
3491
3545
  export interface ScheduleInterrupt {
3492
3546
  readonly name?: string
@@ -3496,7 +3550,7 @@ declare module "factorio:runtime" {
3496
3550
  }
3497
3551
  /**
3498
3552
  * Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
3499
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleInterrupt.html Online documentation}
3553
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScheduleInterrupt.html Online documentation}
3500
3554
  */
3501
3555
  export interface ScheduleInterruptWrite {
3502
3556
  readonly name?: string
@@ -3506,7 +3560,7 @@ declare module "factorio:runtime" {
3506
3560
  }
3507
3561
  /**
3508
3562
  * @see WaitConditionWrite
3509
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/WaitCondition.html Online documentation}
3563
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/WaitCondition.html Online documentation}
3510
3564
  */
3511
3565
  export interface WaitCondition {
3512
3566
  readonly type: WaitConditionType
@@ -3537,7 +3591,7 @@ declare module "factorio:runtime" {
3537
3591
  }
3538
3592
  /**
3539
3593
  * Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
3540
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/WaitCondition.html Online documentation}
3594
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/WaitCondition.html Online documentation}
3541
3595
  */
3542
3596
  export interface WaitConditionWrite {
3543
3597
  readonly type: WaitConditionType
@@ -3596,7 +3650,7 @@ declare module "factorio:runtime" {
3596
3650
  * - `"at_station"`
3597
3651
  * - `"not_at_station"`
3598
3652
  * - `"damage_taken"`
3599
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/WaitConditionType.html Online documentation}
3653
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/WaitConditionType.html Online documentation}
3600
3654
  */
3601
3655
  export type WaitConditionType =
3602
3656
  | "time"
@@ -3627,7 +3681,7 @@ declare module "factorio:runtime" {
3627
3681
  | "damage_taken"
3628
3682
  /**
3629
3683
  * @see BlueprintScheduleWrite
3630
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSchedule.html Online documentation}
3684
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintSchedule.html Online documentation}
3631
3685
  */
3632
3686
  export interface BlueprintSchedule {
3633
3687
  readonly records?: BlueprintScheduleRecord[]
@@ -3636,7 +3690,7 @@ declare module "factorio:runtime" {
3636
3690
  }
3637
3691
  /**
3638
3692
  * Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
3639
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSchedule.html Online documentation}
3693
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintSchedule.html Online documentation}
3640
3694
  */
3641
3695
  export interface BlueprintScheduleWrite {
3642
3696
  readonly records?: readonly BlueprintScheduleRecordWrite[]
@@ -3705,7 +3759,7 @@ declare module "factorio:runtime" {
3705
3759
  * - `"create-ghost-on-entity-death"`
3706
3760
  * - `"belt-stack-size-bonus"`
3707
3761
  * - `"vehicle-logistics"`
3708
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ModifierType.html Online documentation}
3762
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ModifierType.html Online documentation}
3709
3763
  */
3710
3764
  export type ModifierType =
3711
3765
  | "inserter-stack-size-bonus"
@@ -3824,7 +3878,7 @@ declare module "factorio:runtime" {
3824
3878
  * - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
3825
3879
  * - `"build-entity"`: {@link BuildEntityResearchTrigger}
3826
3880
  * - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
3827
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ResearchTrigger.html Online documentation}
3881
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ResearchTrigger.html Online documentation}
3828
3882
  */
3829
3883
  export type ResearchTrigger =
3830
3884
  | CraftItemResearchTrigger
@@ -3852,7 +3906,7 @@ declare module "factorio:runtime" {
3852
3906
  * * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
3853
3907
  * score(chunk) = 1 / (1 + player + base)
3854
3908
  * ```
3855
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EnemyExpansionMapSettings.html Online documentation}
3909
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EnemyExpansionMapSettings.html Online documentation}
3856
3910
  */
3857
3911
  export interface EnemyExpansionMapSettings {
3858
3912
  /**
@@ -3910,7 +3964,7 @@ declare module "factorio:runtime" {
3910
3964
  }
3911
3965
  /**
3912
3966
  * Used by {@link MapSettings} and {@link MapAndDifficultySettings}.
3913
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidMapSettings.html Online documentation}
3967
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AsteroidMapSettings.html Online documentation}
3914
3968
  */
3915
3969
  export interface AsteroidMapSettings {
3916
3970
  readonly spawning_rate: double
@@ -4119,17 +4173,17 @@ declare module "factorio:runtime" {
4119
4173
  }
4120
4174
  /**
4121
4175
  * Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
4122
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DifficultySettings.html Online documentation}
4176
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DifficultySettings.html Online documentation}
4123
4177
  */
4124
4178
  export interface DifficultySettings {
4125
4179
  /**
4126
4180
  * A value in range [0.001, 1000].
4127
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
4181
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
4128
4182
  */
4129
4183
  technology_price_multiplier: double
4130
4184
  /**
4131
4185
  * A value in range [0.01, 100].
4132
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
4186
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
4133
4187
  */
4134
4188
  spoil_time_modifier: double
4135
4189
  }
@@ -4145,7 +4199,7 @@ declare module "factorio:runtime" {
4145
4199
  }
4146
4200
  /**
4147
4201
  * A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
4148
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapAndDifficultySettings.html Online documentation}
4202
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapAndDifficultySettings.html Online documentation}
4149
4203
  */
4150
4204
  export interface MapAndDifficultySettings {
4151
4205
  readonly pollution: PollutionMapSettings
@@ -4166,7 +4220,7 @@ declare module "factorio:runtime" {
4166
4220
  * @example
4167
4221
  * -- Increase the number of short paths the pathfinder can cache.
4168
4222
  * game.map_settings.path_finder.short_cache_size = 15
4169
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapSettings.html Online documentation}
4223
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapSettings.html Online documentation}
4170
4224
  */
4171
4225
  export interface MapSettings {
4172
4226
  pollution: PollutionMapSettings
@@ -4178,13 +4232,13 @@ declare module "factorio:runtime" {
4178
4232
  asteroids: AsteroidMapSettings
4179
4233
  /**
4180
4234
  * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
4181
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
4235
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
4182
4236
  */
4183
4237
  max_failed_behavior_count: uint
4184
4238
  }
4185
4239
  /**
4186
4240
  * These values are for the time frame of one second (60 ticks).
4187
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PollutionMapSettings.html Online documentation}
4241
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PollutionMapSettings.html Online documentation}
4188
4242
  */
4189
4243
  export interface PollutionMapSettings {
4190
4244
  /**
@@ -4238,7 +4292,7 @@ declare module "factorio:runtime" {
4238
4292
  }
4239
4293
  /**
4240
4294
  * These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
4241
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EnemyEvolutionMapSettings.html Online documentation}
4295
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EnemyEvolutionMapSettings.html Online documentation}
4242
4296
  */
4243
4297
  export interface EnemyEvolutionMapSettings {
4244
4298
  /**
@@ -4260,7 +4314,7 @@ declare module "factorio:runtime" {
4260
4314
  }
4261
4315
  /**
4262
4316
  * @see CliffPlacementSettingsWrite
4263
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CliffPlacementSettings.html Online documentation}
4317
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CliffPlacementSettings.html Online documentation}
4264
4318
  */
4265
4319
  export interface CliffPlacementSettings {
4266
4320
  /**
@@ -4290,7 +4344,7 @@ declare module "factorio:runtime" {
4290
4344
  }
4291
4345
  /**
4292
4346
  * Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
4293
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CliffPlacementSettings.html Online documentation}
4347
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CliffPlacementSettings.html Online documentation}
4294
4348
  */
4295
4349
  export interface CliffPlacementSettingsWrite {
4296
4350
  /**
@@ -4320,7 +4374,7 @@ declare module "factorio:runtime" {
4320
4374
  }
4321
4375
  /**
4322
4376
  * @see AutoplaceSettingsWrite
4323
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceSettings.html Online documentation}
4377
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AutoplaceSettings.html Online documentation}
4324
4378
  */
4325
4379
  export interface AutoplaceSettings {
4326
4380
  /**
@@ -4334,7 +4388,7 @@ declare module "factorio:runtime" {
4334
4388
  }
4335
4389
  /**
4336
4390
  * Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
4337
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceSettings.html Online documentation}
4391
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AutoplaceSettings.html Online documentation}
4338
4392
  */
4339
4393
  export interface AutoplaceSettingsWrite {
4340
4394
  /**
@@ -4369,7 +4423,7 @@ declare module "factorio:runtime" {
4369
4423
  * surface.map_gen_settings = mgs
4370
4424
  * -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
4371
4425
  * -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
4372
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapGenSettings.html Online documentation}
4426
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapGenSettings.html Online documentation}
4373
4427
  */
4374
4428
  export interface MapGenSettings {
4375
4429
  /**
@@ -4424,7 +4478,7 @@ declare module "factorio:runtime" {
4424
4478
  }
4425
4479
  /**
4426
4480
  * Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
4427
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapGenSettings.html Online documentation}
4481
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapGenSettings.html Online documentation}
4428
4482
  */
4429
4483
  export interface MapGenSettingsWrite {
4430
4484
  /**
@@ -4479,7 +4533,7 @@ declare module "factorio:runtime" {
4479
4533
  }
4480
4534
  /**
4481
4535
  * Specifies how probability and richness are calculated when placing something on the map.
4482
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceSpecification.html Online documentation}
4536
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AutoplaceSpecification.html Online documentation}
4483
4537
  */
4484
4538
  export interface AutoplaceSpecification {
4485
4539
  /**
@@ -4514,7 +4568,7 @@ declare module "factorio:runtime" {
4514
4568
  }
4515
4569
  /**
4516
4570
  * A single pipe connection for a given fluidbox.
4517
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PipeConnection.html Online documentation}
4571
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PipeConnection.html Online documentation}
4518
4572
  */
4519
4573
  export interface PipeConnection {
4520
4574
  readonly flow_direction: "input" | "output" | "input-output"
@@ -4579,7 +4633,7 @@ declare module "factorio:runtime" {
4579
4633
  * - `"check-box"`
4580
4634
  * - `"switch"`
4581
4635
  * - `"label"`
4582
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SimulationWidgetType.html Online documentation}
4636
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SimulationWidgetType.html Online documentation}
4583
4637
  */
4584
4638
  export type SimulationWidgetType =
4585
4639
  | "signal-id"
@@ -4613,9 +4667,10 @@ declare module "factorio:runtime" {
4613
4667
  * When `rail` is given, this can be provided to further narrow down direction from which that rail should be approached.
4614
4668
  */
4615
4669
  readonly rail_direction?: defines.rail_direction
4616
- readonly wait_conditions?: readonly WaitConditionWrite[]
4617
4670
  readonly temporary?: boolean
4671
+ readonly created_by_interrupt?: boolean
4618
4672
  readonly allows_unloading?: boolean
4673
+ readonly wait_conditions?: readonly WaitConditionWrite[]
4619
4674
  /**
4620
4675
  * If index is not given, the record is appended.
4621
4676
  */
@@ -4780,7 +4835,7 @@ declare module "factorio:runtime" {
4780
4835
  * - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
4781
4836
  * - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
4782
4837
  * - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
4783
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrainPathRequestType.html Online documentation}
4838
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TrainPathRequestType.html Online documentation}
4784
4839
  */
4785
4840
  export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
4786
4841
  /**
@@ -4789,7 +4844,7 @@ declare module "factorio:runtime" {
4789
4844
  * - {@link RailEndGoal}
4790
4845
  * - {@link LuaRailEnd}
4791
4846
  * - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
4792
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrainPathFinderGoal.html Online documentation}
4847
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TrainPathFinderGoal.html Online documentation}
4793
4848
  */
4794
4849
  export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
4795
4850
  export interface TrainStopGoal {
@@ -4919,7 +4974,7 @@ declare module "factorio:runtime" {
4919
4974
  * - {@link LuaEntityMarkedForUpgradeEventFilter}
4920
4975
  * - {@link LuaScriptRaisedDestroyEventFilter}
4921
4976
  * @see EventFilterWrite
4922
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EventFilter.html Online documentation}
4977
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EventFilter.html Online documentation}
4923
4978
  */
4924
4979
  export type EventFilter =
4925
4980
  | LuaScriptRaisedTeleportedEventFilter[]
@@ -4949,7 +5004,7 @@ declare module "factorio:runtime" {
4949
5004
  | LuaScriptRaisedDestroyEventFilter[]
4950
5005
  /**
4951
5006
  * Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
4952
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EventFilter.html Online documentation}
5007
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EventFilter.html Online documentation}
4953
5008
  */
4954
5009
  export type EventFilterWrite =
4955
5010
  | readonly LuaScriptRaisedTeleportedEventFilter[]
@@ -5001,7 +5056,7 @@ declare module "factorio:runtime" {
5001
5056
  * - {@link LuaGuiElement}: Target type {@link defines.target_type.gui_element gui_element}; `useful_id` {@link LuaGuiElement#index LuaGuiElement::index}
5002
5057
  * - {@link LuaCargoHatch}: Target type {@link defines.target_type.cargo_hatch cargo_hatch}
5003
5058
  * - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
5004
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RegistrationTarget.html Online documentation}
5059
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RegistrationTarget.html Online documentation}
5005
5060
  */
5006
5061
  export type RegistrationTarget =
5007
5062
  | LuaEntity
@@ -5071,7 +5126,7 @@ declare module "factorio:runtime" {
5071
5126
  * - {@link FluidPrototypeFilter}
5072
5127
  * - {@link EntityPrototypeFilter}
5073
5128
  * @see PrototypeFilterWrite
5074
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PrototypeFilter.html Online documentation}
5129
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PrototypeFilter.html Online documentation}
5075
5130
  */
5076
5131
  export type PrototypeFilter =
5077
5132
  | ModSettingPrototypeFilter[]
@@ -5088,7 +5143,7 @@ declare module "factorio:runtime" {
5088
5143
  | EntityPrototypeFilter[]
5089
5144
  /**
5090
5145
  * Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
5091
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PrototypeFilter.html Online documentation}
5146
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PrototypeFilter.html Online documentation}
5092
5147
  */
5093
5148
  export type PrototypeFilterWrite =
5094
5149
  | readonly ModSettingPrototypeFilter[]
@@ -5107,7 +5162,7 @@ declare module "factorio:runtime" {
5107
5162
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
5108
5163
  *
5109
5164
  * By default, none of these flags are set.
5110
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFlags.html Online documentation}
5165
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityPrototypeFlags.html Online documentation}
5111
5166
  */
5112
5167
  export type EntityPrototypeFlags = {
5113
5168
  readonly [T in EntityPrototypeFlag]?: true
@@ -5131,7 +5186,6 @@ declare module "factorio:runtime" {
5131
5186
  * - `"not-deconstructable"`: Prevents the entity from being deconstructed.
5132
5187
  * - `"not-blueprintable"`: Prevents the entity from being part of a blueprint.
5133
5188
  * - `"hide-alt-info"`: Hides the alt-info of this entity when in alt-mode.
5134
- * - `"no-gap-fill-while-building"`
5135
5189
  * - `"not-flammable"`: Does not apply fire stickers to the entity.
5136
5190
  * - `"no-automated-item-removal"`: Prevents inserters and loaders from taking items from this entity.
5137
5191
  * - `"no-automated-item-insertion"`: Prevents inserters and loaders from inserting items into this entity.
@@ -5142,7 +5196,7 @@ declare module "factorio:runtime" {
5142
5196
  * - `"building-direction-16-way"`
5143
5197
  * - `"snap-to-rail-support-spot"`
5144
5198
  * - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
5145
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFlag.html Online documentation}
5199
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityPrototypeFlag.html Online documentation}
5146
5200
  */
5147
5201
  export type EntityPrototypeFlag =
5148
5202
  | "not-rotatable"
@@ -5160,7 +5214,6 @@ declare module "factorio:runtime" {
5160
5214
  | "not-deconstructable"
5161
5215
  | "not-blueprintable"
5162
5216
  | "hide-alt-info"
5163
- | "no-gap-fill-while-building"
5164
5217
  | "not-flammable"
5165
5218
  | "no-automated-item-removal"
5166
5219
  | "no-automated-item-insertion"
@@ -5178,7 +5231,7 @@ declare module "factorio:runtime" {
5178
5231
  * - `"local"`: The sound can be heard within the audible range around the speaker.
5179
5232
  * - `"surface"`: The sound can be heard anywhere on the speaker's surface.
5180
5233
  * - `"global"`: The sound can be heard everywhere.
5181
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
5234
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
5182
5235
  */
5183
5236
  export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
5184
5237
  /**
@@ -5203,7 +5256,7 @@ declare module "factorio:runtime" {
5203
5256
  * - `"none-to-south"`
5204
5257
  * - `"south-to-none"`
5205
5258
  * - `"none-to-north"`
5206
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CliffOrientation.html Online documentation}
5259
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CliffOrientation.html Online documentation}
5207
5260
  */
5208
5261
  export type CliffOrientation =
5209
5262
  | "west-to-east"
@@ -5253,7 +5306,7 @@ declare module "factorio:runtime" {
5253
5306
  /**
5254
5307
  * Defines an item type that a blueprint entity will request.
5255
5308
  * @see BlueprintInsertPlanWrite
5256
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInsertPlan.html Online documentation}
5309
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintInsertPlan.html Online documentation}
5257
5310
  */
5258
5311
  export interface BlueprintInsertPlan {
5259
5312
  /**
@@ -5267,7 +5320,7 @@ declare module "factorio:runtime" {
5267
5320
  }
5268
5321
  /**
5269
5322
  * Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
5270
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInsertPlan.html Online documentation}
5323
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintInsertPlan.html Online documentation}
5271
5324
  */
5272
5325
  export interface BlueprintInsertPlanWrite {
5273
5326
  /**
@@ -5295,7 +5348,7 @@ declare module "factorio:runtime" {
5295
5348
  }
5296
5349
  /**
5297
5350
  * A single offer on a market entity.
5298
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Offer.html Online documentation}
5351
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Offer.html Online documentation}
5299
5352
  */
5300
5353
  export interface Offer {
5301
5354
  /**
@@ -5332,7 +5385,7 @@ declare module "factorio:runtime" {
5332
5385
  * - `"weapon"`
5333
5386
  * - `"explosion"`
5334
5387
  * - `"enemy"`
5335
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SoundType.html Online documentation}
5388
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SoundType.html Online documentation}
5336
5389
  */
5337
5390
  export type SoundType =
5338
5391
  | "game-effect"
@@ -5373,7 +5426,7 @@ declare module "factorio:runtime" {
5373
5426
  }
5374
5427
  /**
5375
5428
  * @see BlueprintLogisticFilterWrite
5376
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintLogisticFilter.html Online documentation}
5429
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintLogisticFilter.html Online documentation}
5377
5430
  */
5378
5431
  export interface BlueprintLogisticFilter {
5379
5432
  readonly index: LogisticFilterIndex
@@ -5403,7 +5456,7 @@ declare module "factorio:runtime" {
5403
5456
  }
5404
5457
  /**
5405
5458
  * Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
5406
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintLogisticFilter.html Online documentation}
5459
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintLogisticFilter.html Online documentation}
5407
5460
  */
5408
5461
  export interface BlueprintLogisticFilterWrite {
5409
5462
  readonly index: LogisticFilterIndex
@@ -5433,7 +5486,7 @@ declare module "factorio:runtime" {
5433
5486
  }
5434
5487
  /**
5435
5488
  * @see LogisticSectionWrite
5436
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSection.html Online documentation}
5489
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LogisticSection.html Online documentation}
5437
5490
  */
5438
5491
  export interface LogisticSection {
5439
5492
  readonly index: uint8
@@ -5450,7 +5503,7 @@ declare module "factorio:runtime" {
5450
5503
  }
5451
5504
  /**
5452
5505
  * Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
5453
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSection.html Online documentation}
5506
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LogisticSection.html Online documentation}
5454
5507
  */
5455
5508
  export interface LogisticSectionWrite {
5456
5509
  readonly index: uint8
@@ -5467,7 +5520,7 @@ declare module "factorio:runtime" {
5467
5520
  }
5468
5521
  /**
5469
5522
  * @see LogisticSectionsWrite
5470
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSections.html Online documentation}
5523
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LogisticSections.html Online documentation}
5471
5524
  */
5472
5525
  export interface LogisticSections {
5473
5526
  readonly sections?: LogisticSection[]
@@ -5478,7 +5531,7 @@ declare module "factorio:runtime" {
5478
5531
  }
5479
5532
  /**
5480
5533
  * Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
5481
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSections.html Online documentation}
5534
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LogisticSections.html Online documentation}
5482
5535
  */
5483
5536
  export interface LogisticSectionsWrite {
5484
5537
  readonly sections?: readonly LogisticSectionWrite[]
@@ -5501,7 +5554,7 @@ declare module "factorio:runtime" {
5501
5554
  * - {@link LuaAsteroidChunkPrototype}
5502
5555
  * - {@link LuaVirtualSignalPrototype}
5503
5556
  * - {@link LuaSurfacePrototype}
5504
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FactoriopediaID.html Online documentation}
5557
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/FactoriopediaID.html Online documentation}
5505
5558
  */
5506
5559
  export type FactoriopediaID =
5507
5560
  | LuaItemPrototype
@@ -5536,9 +5589,14 @@ declare module "factorio:runtime" {
5536
5589
  readonly repeat_count: uint
5537
5590
  readonly probability: float
5538
5591
  }
5592
+ export interface TriggerModifierData {
5593
+ readonly damage_modifier?: float
5594
+ readonly damage_addition?: float
5595
+ readonly radius_modifier?: float
5596
+ }
5539
5597
  /**
5540
5598
  * A set of trigger target masks.
5541
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TriggerTargetMask.html Online documentation}
5599
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TriggerTargetMask.html Online documentation}
5542
5600
  */
5543
5601
  export type TriggerTargetMask = Record<string, true>
5544
5602
  export interface TriggerDelivery {
@@ -5583,7 +5641,7 @@ declare module "factorio:runtime" {
5583
5641
  * - `"destroy-decoratives"`
5584
5642
  * - `"camera-effect"`
5585
5643
  * - `"activate-impact"`
5586
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TriggerEffectItemType.html Online documentation}
5644
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TriggerEffectItemType.html Online documentation}
5587
5645
  */
5588
5646
  export type TriggerEffectItemType =
5589
5647
  | "damage"
@@ -5647,7 +5705,7 @@ declare module "factorio:runtime" {
5647
5705
  * -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
5648
5706
  * -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
5649
5707
  * -- translation result would be "Unknown key: 'item-description.furnace'".
5650
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LocalisedString.html Online documentation}
5708
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LocalisedString.html Online documentation}
5651
5709
  */
5652
5710
  export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
5653
5711
  export interface DisplayResolution {
@@ -5658,7 +5716,7 @@ declare module "factorio:runtime" {
5658
5716
  * 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".
5659
5717
  *
5660
5718
  * For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
5661
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RealOrientation.html Online documentation}
5719
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RealOrientation.html Online documentation}
5662
5720
  */
5663
5721
  export type RealOrientation = float
5664
5722
  /**
@@ -5673,7 +5731,7 @@ declare module "factorio:runtime" {
5673
5731
  * @example
5674
5732
  * -- Shorthand
5675
5733
  * {1.625, 2.375}
5676
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapPosition.html Online documentation}
5734
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapPosition.html Online documentation}
5677
5735
  */
5678
5736
  export interface MapPosition {
5679
5737
  readonly x: double
@@ -5682,13 +5740,13 @@ declare module "factorio:runtime" {
5682
5740
  /**
5683
5741
  * Array form of {@link MapPosition}.
5684
5742
  * @see MapPosition
5685
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapPosition.html Online documentation}
5743
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapPosition.html Online documentation}
5686
5744
  */
5687
5745
  export type MapPositionArray = readonly [double, double]
5688
5746
  /**
5689
5747
  * 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.
5690
5748
  * @see ChunkPositionArray
5691
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChunkPosition.html Online documentation}
5749
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ChunkPosition.html Online documentation}
5692
5750
  */
5693
5751
  export interface ChunkPosition {
5694
5752
  readonly x: int
@@ -5697,13 +5755,13 @@ declare module "factorio:runtime" {
5697
5755
  /**
5698
5756
  * Array form of {@link ChunkPosition}.
5699
5757
  * @see ChunkPosition
5700
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChunkPosition.html Online documentation}
5758
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ChunkPosition.html Online documentation}
5701
5759
  */
5702
5760
  export type ChunkPositionArray = readonly [int, int]
5703
5761
  /**
5704
5762
  * 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.
5705
5763
  * @see TilePositionArray
5706
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePosition.html Online documentation}
5764
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TilePosition.html Online documentation}
5707
5765
  */
5708
5766
  export interface TilePosition {
5709
5767
  readonly x: int
@@ -5712,7 +5770,7 @@ declare module "factorio:runtime" {
5712
5770
  /**
5713
5771
  * Array form of {@link TilePosition}.
5714
5772
  * @see TilePosition
5715
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePosition.html Online documentation}
5773
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TilePosition.html Online documentation}
5716
5774
  */
5717
5775
  export type TilePositionArray = readonly [int, int]
5718
5776
  /**
@@ -5725,7 +5783,7 @@ declare module "factorio:runtime" {
5725
5783
  * @example
5726
5784
  * -- Shorthand
5727
5785
  * {1, 2}
5728
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPosition.html Online documentation}
5786
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentPosition.html Online documentation}
5729
5787
  */
5730
5788
  export interface EquipmentPosition {
5731
5789
  readonly x: int
@@ -5734,13 +5792,13 @@ declare module "factorio:runtime" {
5734
5792
  /**
5735
5793
  * Array form of {@link EquipmentPosition}.
5736
5794
  * @see EquipmentPosition
5737
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPosition.html Online documentation}
5795
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentPosition.html Online documentation}
5738
5796
  */
5739
5797
  export type EquipmentPositionArray = readonly [int, int]
5740
5798
  /**
5741
5799
  * 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.
5742
5800
  * @see GuiLocationArray
5743
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiLocation.html Online documentation}
5801
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GuiLocation.html Online documentation}
5744
5802
  */
5745
5803
  export interface GuiLocation {
5746
5804
  readonly x: int
@@ -5749,12 +5807,12 @@ declare module "factorio:runtime" {
5749
5807
  /**
5750
5808
  * Array form of {@link GuiLocation}.
5751
5809
  * @see GuiLocation
5752
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiLocation.html Online documentation}
5810
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GuiLocation.html Online documentation}
5753
5811
  */
5754
5812
  export type GuiLocationArray = readonly [int, int]
5755
5813
  /**
5756
5814
  * A {@link ChunkPosition} with an added bounding box for the area of the chunk.
5757
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChunkPositionAndArea.html Online documentation}
5815
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ChunkPositionAndArea.html Online documentation}
5758
5816
  */
5759
5817
  export interface ChunkPositionAndArea {
5760
5818
  readonly x: int
@@ -5763,7 +5821,7 @@ declare module "factorio:runtime" {
5763
5821
  }
5764
5822
  /**
5765
5823
  * A table used to define a manual shape for a piece of equipment.
5766
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPoint.html Online documentation}
5824
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentPoint.html Online documentation}
5767
5825
  */
5768
5826
  export interface EquipmentPoint {
5769
5827
  readonly x: uint
@@ -5799,7 +5857,7 @@ declare module "factorio:runtime" {
5799
5857
  * 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.
5800
5858
  * @example
5801
5859
  * {a = 1, b = true, c = "three", d = {e = "f"}}
5802
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Tags.html Online documentation}
5860
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Tags.html Online documentation}
5803
5861
  */
5804
5862
  export type Tags = Record<string, AnyBasic>
5805
5863
  export interface SurfaceCondition {
@@ -5833,13 +5891,13 @@ declare module "factorio:runtime" {
5833
5891
  * A vector is a two-element array or dictionary containing the `x` and `y` components. The game will always provide the array format. Positive x goes east, positive y goes south.
5834
5892
  * @example
5835
5893
  * right = {1.0, 0.0}
5836
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Vector.html Online documentation}
5894
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Vector.html Online documentation}
5837
5895
  */
5838
5896
  export type Vector = MapPositionArray
5839
5897
  /**
5840
5898
  * An area defined using the map editor.
5841
5899
  * @see ScriptAreaWrite
5842
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptArea.html Online documentation}
5900
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptArea.html Online documentation}
5843
5901
  */
5844
5902
  export interface ScriptArea {
5845
5903
  readonly area: BoundingBox
@@ -5849,7 +5907,7 @@ declare module "factorio:runtime" {
5849
5907
  }
5850
5908
  /**
5851
5909
  * Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
5852
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptArea.html Online documentation}
5910
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptArea.html Online documentation}
5853
5911
  */
5854
5912
  export interface ScriptAreaWrite {
5855
5913
  readonly area: BoundingBoxWrite | BoundingBoxArray
@@ -5860,7 +5918,7 @@ declare module "factorio:runtime" {
5860
5918
  /**
5861
5919
  * A position defined using the map editor.
5862
5920
  * @see ScriptPositionWrite
5863
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptPosition.html Online documentation}
5921
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptPosition.html Online documentation}
5864
5922
  */
5865
5923
  export interface ScriptPosition {
5866
5924
  readonly position: MapPosition
@@ -5870,7 +5928,7 @@ declare module "factorio:runtime" {
5870
5928
  }
5871
5929
  /**
5872
5930
  * Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
5873
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptPosition.html Online documentation}
5931
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScriptPosition.html Online documentation}
5874
5932
  */
5875
5933
  export interface ScriptPositionWrite {
5876
5934
  readonly position: MapPosition | MapPositionArray
@@ -5888,7 +5946,7 @@ declare module "factorio:runtime" {
5888
5946
  * red2 = {r = 0.5, a = 0.5} -- Same color as red1
5889
5947
  * black = {} -- All channels omitted: black
5890
5948
  * red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
5891
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Color.html Online documentation}
5949
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Color.html Online documentation}
5892
5950
  */
5893
5951
  export interface Color {
5894
5952
  readonly r?: float
@@ -5899,13 +5957,13 @@ declare module "factorio:runtime" {
5899
5957
  /**
5900
5958
  * Array form of {@link Color}.
5901
5959
  * @see Color
5902
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Color.html Online documentation}
5960
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Color.html Online documentation}
5903
5961
  */
5904
5962
  export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
5905
5963
  /**
5906
5964
  * 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].
5907
5965
  * @see ColorModifierArray
5908
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ColorModifier.html Online documentation}
5966
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ColorModifier.html Online documentation}
5909
5967
  */
5910
5968
  export interface ColorModifier {
5911
5969
  readonly r?: float
@@ -5916,7 +5974,7 @@ declare module "factorio:runtime" {
5916
5974
  /**
5917
5975
  * Array form of {@link ColorModifier}.
5918
5976
  * @see ColorModifier
5919
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ColorModifier.html Online documentation}
5977
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ColorModifier.html Online documentation}
5920
5978
  */
5921
5979
  export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
5922
5980
  export interface CraftingQueueItem {
@@ -6059,7 +6117,7 @@ declare module "factorio:runtime" {
6059
6117
  }
6060
6118
  /**
6061
6119
  * @see AsteroidChunkWrite
6062
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidChunk.html Online documentation}
6120
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AsteroidChunk.html Online documentation}
6063
6121
  */
6064
6122
  export interface AsteroidChunk {
6065
6123
  /**
@@ -6071,7 +6129,7 @@ declare module "factorio:runtime" {
6071
6129
  }
6072
6130
  /**
6073
6131
  * Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
6074
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidChunk.html Online documentation}
6132
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AsteroidChunk.html Online documentation}
6075
6133
  */
6076
6134
  export interface AsteroidChunkWrite {
6077
6135
  /**
@@ -6093,7 +6151,7 @@ declare module "factorio:runtime" {
6093
6151
  }
6094
6152
  /**
6095
6153
  * Either `icon`, `text`, or both must be provided.
6096
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChartTagSpec.html Online documentation}
6154
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ChartTagSpec.html Online documentation}
6097
6155
  */
6098
6156
  export interface ChartTagSpec {
6099
6157
  readonly position: MapPosition | MapPositionArray
@@ -6103,93 +6161,93 @@ declare module "factorio:runtime" {
6103
6161
  }
6104
6162
  /**
6105
6163
  * 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.
6106
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.html Online documentation}
6164
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.html Online documentation}
6107
6165
  */
6108
6166
  export interface GameViewSettings {
6109
6167
  /**
6110
6168
  * Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
6111
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_controller_gui.html Online documentation}
6169
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_controller_gui.html Online documentation}
6112
6170
  */
6113
6171
  show_controller_gui: boolean
6114
6172
  /**
6115
6173
  * Show the chart in the upper right-hand corner of the screen.
6116
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_minimap.html Online documentation}
6174
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_minimap.html Online documentation}
6117
6175
  */
6118
6176
  show_minimap: boolean
6119
6177
  /**
6120
6178
  * Show research progress and name in the upper right-hand corner of the screen.
6121
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_research_info.html Online documentation}
6179
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_research_info.html Online documentation}
6122
6180
  */
6123
6181
  show_research_info: boolean
6124
6182
  /**
6125
6183
  * Show overlay icons on entities. Also known as "alt-mode".
6126
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_entity_info.html Online documentation}
6184
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_entity_info.html Online documentation}
6127
6185
  */
6128
6186
  show_entity_info: boolean
6129
6187
  /**
6130
6188
  * Show the flashing alert icons next to the player's toolbar.
6131
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_alert_gui.html Online documentation}
6189
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_alert_gui.html Online documentation}
6132
6190
  */
6133
6191
  show_alert_gui: boolean
6134
6192
  /**
6135
6193
  * When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
6136
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.update_entity_selection.html Online documentation}
6194
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.update_entity_selection.html Online documentation}
6137
6195
  */
6138
6196
  update_entity_selection: boolean
6139
6197
  /**
6140
6198
  * When `true` (`false` is default), the rails will always show the rail block visualisation.
6141
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
6199
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
6142
6200
  */
6143
6201
  show_rail_block_visualisation: boolean
6144
6202
  /**
6145
6203
  * Shows or hides the buttons row.
6146
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_side_menu.html Online documentation}
6204
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_side_menu.html Online documentation}
6147
6205
  */
6148
6206
  show_side_menu: boolean
6149
6207
  /**
6150
6208
  * Shows or hides the view options when map is opened.
6151
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_map_view_options.html Online documentation}
6209
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_map_view_options.html Online documentation}
6152
6210
  */
6153
6211
  show_map_view_options: boolean
6154
6212
  /**
6155
6213
  * Shows or hides the tooltip that is displayed when selecting an entity.
6156
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
6214
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
6157
6215
  */
6158
6216
  show_entity_tooltip: boolean
6159
6217
  /**
6160
6218
  * Shows or hides quickbar of shortcuts.
6161
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_quickbar.html Online documentation}
6219
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_quickbar.html Online documentation}
6162
6220
  */
6163
6221
  show_quickbar: boolean
6164
6222
  /**
6165
6223
  * Shows or hides the shortcut bar.
6166
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
6224
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
6167
6225
  */
6168
6226
  show_shortcut_bar: boolean
6169
6227
  /**
6170
6228
  * Shows or hides the crafting queue.
6171
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
6229
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
6172
6230
  */
6173
6231
  show_crafting_queue: boolean
6174
6232
  /**
6175
6233
  * Shows or hides the tool window with the weapons and armor.
6176
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_tool_bar.html Online documentation}
6234
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_tool_bar.html Online documentation}
6177
6235
  */
6178
6236
  show_tool_bar: boolean
6179
6237
  /**
6180
6238
  * Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
6181
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
6239
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
6182
6240
  */
6183
6241
  show_hotkey_suggestions: boolean
6184
6242
  /**
6185
6243
  * Shows or hides the surface list while in Remote View.
6186
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_surface_list.html Online documentation}
6244
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GameViewSettings.show_surface_list.html Online documentation}
6187
6245
  */
6188
6246
  show_surface_list: boolean
6189
6247
  }
6190
6248
  /**
6191
6249
  * The data that can be extracted from a map exchange string, as a plain table.
6192
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapExchangeStringData.html Online documentation}
6250
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapExchangeStringData.html Online documentation}
6193
6251
  */
6194
6252
  export interface MapExchangeStringData {
6195
6253
  readonly map_settings: MapAndDifficultySettings
@@ -6197,7 +6255,7 @@ declare module "factorio:runtime" {
6197
6255
  }
6198
6256
  /**
6199
6257
  * @see BlueprintSignalIconWrite
6200
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSignalIcon.html Online documentation}
6258
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintSignalIcon.html Online documentation}
6201
6259
  */
6202
6260
  export interface BlueprintSignalIcon {
6203
6261
  /**
@@ -6211,7 +6269,7 @@ declare module "factorio:runtime" {
6211
6269
  }
6212
6270
  /**
6213
6271
  * Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
6214
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSignalIcon.html Online documentation}
6272
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintSignalIcon.html Online documentation}
6215
6273
  */
6216
6274
  export interface BlueprintSignalIconWrite {
6217
6275
  /**
@@ -6240,12 +6298,12 @@ declare module "factorio:runtime" {
6240
6298
  * - `target_entity_number`
6241
6299
  *
6242
6300
  * - `target_wire_connector_id`
6243
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintWire.html Online documentation}
6301
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/BlueprintWire.html Online documentation}
6244
6302
  */
6245
6303
  export type BlueprintWire = readonly [uint, defines.wire_connector_id, uint, defines.wire_connector_id]
6246
6304
  /**
6247
6305
  * @see TileWrite
6248
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Tile.html Online documentation}
6306
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Tile.html Online documentation}
6249
6307
  */
6250
6308
  export interface Tile {
6251
6309
  /**
@@ -6259,7 +6317,7 @@ declare module "factorio:runtime" {
6259
6317
  }
6260
6318
  /**
6261
6319
  * Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
6262
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Tile.html Online documentation}
6320
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Tile.html Online documentation}
6263
6321
  */
6264
6322
  export interface TileWrite {
6265
6323
  /**
@@ -6314,7 +6372,7 @@ declare module "factorio:runtime" {
6314
6372
  *
6315
6373
  * Other attributes may be specified depending on `type`:
6316
6374
  * - `"fluid"`: {@link FluidIngredient}
6317
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Ingredient.html Online documentation}
6375
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Ingredient.html Online documentation}
6318
6376
  */
6319
6377
  export type Ingredient = FluidIngredient | OtherIngredient
6320
6378
  export interface Loot {
@@ -6480,7 +6538,7 @@ declare module "factorio:runtime" {
6480
6538
  * - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
6481
6539
  * - `"nothing"`: {@link NothingTechnologyModifier}
6482
6540
  * - Other types: {@link OtherTechnologyModifier}
6483
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyModifier.html Online documentation}
6541
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TechnologyModifier.html Online documentation}
6484
6542
  */
6485
6543
  export type TechnologyModifier =
6486
6544
  | GunSpeedTechnologyModifier
@@ -6492,7 +6550,7 @@ declare module "factorio:runtime" {
6492
6550
  | OtherTechnologyModifier
6493
6551
  /**
6494
6552
  * 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}.
6495
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/NoiseExpression.html Online documentation}
6553
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/NoiseExpression.html Online documentation}
6496
6554
  */
6497
6555
  export interface NoiseExpression {
6498
6556
  /**
@@ -6545,7 +6603,7 @@ declare module "factorio:runtime" {
6545
6603
  * - `"very-high"`: equivalent to `2`.
6546
6604
  * - `"very-big"`: equivalent to `2`.
6547
6605
  * - `"very-good"`: equivalent to `2`.
6548
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapGenSize.html Online documentation}
6606
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MapGenSize.html Online documentation}
6549
6607
  */
6550
6608
  export type MapGenSize =
6551
6609
  | float
@@ -6567,7 +6625,7 @@ declare module "factorio:runtime" {
6567
6625
  | "very-good"
6568
6626
  /**
6569
6627
  * @see AutoplaceControlWrite
6570
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceControl.html Online documentation}
6628
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AutoplaceControl.html Online documentation}
6571
6629
  */
6572
6630
  export interface AutoplaceControl {
6573
6631
  /**
@@ -6585,7 +6643,7 @@ declare module "factorio:runtime" {
6585
6643
  }
6586
6644
  /**
6587
6645
  * Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
6588
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceControl.html Online documentation}
6646
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AutoplaceControl.html Online documentation}
6589
6647
  */
6590
6648
  export interface AutoplaceControlWrite {
6591
6649
  /**
@@ -6604,10 +6662,10 @@ declare module "factorio:runtime" {
6604
6662
  /**
6605
6663
  * All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. The probability and richness functions for placing specific tiles, entities, and decoratives can be overridden by including an entry named `{tile|entity|decorative}:(prototype name):{probability|richness}`.
6606
6664
  *
6607
- * {@link https://lua-api.factorio.com/2.0.45/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:}
6665
+ * {@link https://lua-api.factorio.com/2.0.47/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:}
6608
6666
  *
6609
- * {@link https://lua-api.factorio.com/2.0.45/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:}
6610
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PropertyExpressionNames.html Online documentation}
6667
+ * {@link https://lua-api.factorio.com/2.0.47/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:}
6668
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PropertyExpressionNames.html Online documentation}
6611
6669
  */
6612
6670
  export type PropertyExpressionNames = Record<string, string>
6613
6671
  export interface AdvancedMapGenSettings {
@@ -6630,7 +6688,7 @@ declare module "factorio:runtime" {
6630
6688
  }
6631
6689
  /**
6632
6690
  * An actual signal transmitted by the network.
6633
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Signal.html Online documentation}
6691
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Signal.html Online documentation}
6634
6692
  */
6635
6693
  export interface Signal {
6636
6694
  /**
@@ -6644,7 +6702,7 @@ declare module "factorio:runtime" {
6644
6702
  }
6645
6703
  /**
6646
6704
  * A single filter used by an infinity-filters instance.
6647
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/InfinityInventoryFilter.html Online documentation}
6705
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/InfinityInventoryFilter.html Online documentation}
6648
6706
  */
6649
6707
  export interface InfinityInventoryFilter {
6650
6708
  /**
@@ -6666,7 +6724,7 @@ declare module "factorio:runtime" {
6666
6724
  }
6667
6725
  /**
6668
6726
  * A single filter used by an infinity-pipe type entity.
6669
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/InfinityPipeFilter.html Online documentation}
6727
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/InfinityPipeFilter.html Online documentation}
6670
6728
  */
6671
6729
  export interface InfinityPipeFilter {
6672
6730
  /**
@@ -6720,7 +6778,7 @@ declare module "factorio:runtime" {
6720
6778
  }
6721
6779
  /**
6722
6780
  * The settings used by a heat-interface type entity.
6723
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/HeatSetting.html Online documentation}
6781
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/HeatSetting.html Online documentation}
6724
6782
  */
6725
6783
  export interface HeatSetting {
6726
6784
  /**
@@ -6738,7 +6796,7 @@ declare module "factorio:runtime" {
6738
6796
  }
6739
6797
  /**
6740
6798
  * @see ArithmeticCombinatorParametersWrite
6741
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ArithmeticCombinatorParameters.html Online documentation}
6799
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ArithmeticCombinatorParameters.html Online documentation}
6742
6800
  */
6743
6801
  export interface ArithmeticCombinatorParameters {
6744
6802
  /**
@@ -6768,7 +6826,7 @@ declare module "factorio:runtime" {
6768
6826
  }
6769
6827
  /**
6770
6828
  * Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
6771
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ArithmeticCombinatorParameters.html Online documentation}
6829
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ArithmeticCombinatorParameters.html Online documentation}
6772
6830
  */
6773
6831
  export interface ArithmeticCombinatorParametersWrite {
6774
6832
  /**
@@ -6798,7 +6856,7 @@ declare module "factorio:runtime" {
6798
6856
  }
6799
6857
  /**
6800
6858
  * @see SelectorCombinatorParametersWrite
6801
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SelectorCombinatorParameters.html Online documentation}
6859
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SelectorCombinatorParameters.html Online documentation}
6802
6860
  */
6803
6861
  export interface SelectorCombinatorParameters {
6804
6862
  /**
@@ -6824,7 +6882,7 @@ declare module "factorio:runtime" {
6824
6882
  }
6825
6883
  /**
6826
6884
  * Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
6827
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SelectorCombinatorParameters.html Online documentation}
6885
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SelectorCombinatorParameters.html Online documentation}
6828
6886
  */
6829
6887
  export interface SelectorCombinatorParametersWrite {
6830
6888
  /**
@@ -6866,7 +6924,7 @@ declare module "factorio:runtime" {
6866
6924
  }
6867
6925
  /**
6868
6926
  * @see CircuitConditionWrite
6869
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitCondition.html Online documentation}
6927
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CircuitCondition.html Online documentation}
6870
6928
  */
6871
6929
  export interface CircuitCondition {
6872
6930
  /**
@@ -6888,7 +6946,7 @@ declare module "factorio:runtime" {
6888
6946
  }
6889
6947
  /**
6890
6948
  * Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
6891
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitCondition.html Online documentation}
6949
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CircuitCondition.html Online documentation}
6892
6950
  */
6893
6951
  export interface CircuitConditionWrite {
6894
6952
  /**
@@ -6910,7 +6968,7 @@ declare module "factorio:runtime" {
6910
6968
  }
6911
6969
  /**
6912
6970
  * @see CircuitConditionDefinitionWrite
6913
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitConditionDefinition.html Online documentation}
6971
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CircuitConditionDefinition.html Online documentation}
6914
6972
  */
6915
6973
  export interface CircuitConditionDefinition {
6916
6974
  /**
@@ -6924,7 +6982,7 @@ declare module "factorio:runtime" {
6924
6982
  }
6925
6983
  /**
6926
6984
  * Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
6927
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitConditionDefinition.html Online documentation}
6985
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CircuitConditionDefinition.html Online documentation}
6928
6986
  */
6929
6987
  export interface CircuitConditionDefinitionWrite {
6930
6988
  /**
@@ -6960,6 +7018,7 @@ declare module "factorio:runtime" {
6960
7018
  readonly result: LuaTilePrototype
6961
7019
  readonly condition_size: uint
6962
7020
  readonly condition: CollisionMask
7021
+ readonly invert: boolean
6963
7022
  }
6964
7023
  export interface BaseCommand {
6965
7024
  /**
@@ -7199,7 +7258,7 @@ declare module "factorio:runtime" {
7199
7258
  * - {@link defines.command.stop}: {@link StopCommand}
7200
7259
  * - {@link defines.command.flee}: {@link FleeCommand}
7201
7260
  * - {@link defines.command.build_base}: {@link BuildBaseCommand}
7202
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Command.html Online documentation}
7261
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Command.html Online documentation}
7203
7262
  */
7204
7263
  export type Command =
7205
7264
  | AttackCommand
@@ -7213,7 +7272,7 @@ declare module "factorio:runtime" {
7213
7272
  | BuildBaseCommand
7214
7273
  /**
7215
7274
  * Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
7216
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Command.html Online documentation}
7275
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Command.html Online documentation}
7217
7276
  */
7218
7277
  export type CommandWrite =
7219
7278
  | AttackCommand
@@ -7298,7 +7357,7 @@ declare module "factorio:runtime" {
7298
7357
  * These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
7299
7358
  * "iron-plate"
7300
7359
  * {name="iron-plate", count=100}
7301
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SimpleItemStack.html Online documentation}
7360
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SimpleItemStack.html Online documentation}
7302
7361
  */
7303
7362
  export type SimpleItemStack = string | ItemStackDefinition
7304
7363
  /**
@@ -7308,7 +7367,7 @@ declare module "factorio:runtime" {
7308
7367
  * - 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.
7309
7368
  * - `string`: It will be the surface name. E.g. `"nauvis"`.
7310
7369
  * - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
7311
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SurfaceIdentification.html Online documentation}
7370
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SurfaceIdentification.html Online documentation}
7312
7371
  */
7313
7372
  export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
7314
7373
  /**
@@ -7318,7 +7377,7 @@ declare module "factorio:runtime" {
7318
7377
  * - PlayerIndex: The player index.
7319
7378
  * - `string`: The player name.
7320
7379
  * - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
7321
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PlayerIdentification.html Online documentation}
7380
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/PlayerIdentification.html Online documentation}
7322
7381
  */
7323
7382
  export type PlayerIdentification = PlayerIndex | string | LuaPlayer
7324
7383
  /**
@@ -7327,7 +7386,7 @@ declare module "factorio:runtime" {
7327
7386
  * ## Union members
7328
7387
  * - {@link SimpleItemStack}
7329
7388
  * - {@link LuaItemStack}
7330
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemStackIdentification.html Online documentation}
7389
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemStackIdentification.html Online documentation}
7331
7390
  */
7332
7391
  export type ItemStackIdentification = SimpleItemStack | LuaItemStack
7333
7392
  /**
@@ -7337,7 +7396,7 @@ declare module "factorio:runtime" {
7337
7396
  * - `"entity"`: Fires at an entity.
7338
7397
  * - `"position"`: Fires directly at a position.
7339
7398
  * - `"direction"`: Fires in a direction.
7340
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TargetType.html Online documentation}
7399
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TargetType.html Online documentation}
7341
7400
  */
7342
7401
  export type TargetType = "entity" | "position" | "direction"
7343
7402
  export interface BeamTarget {
@@ -7374,8 +7433,8 @@ declare module "factorio:runtime" {
7374
7433
  *
7375
7434
  * The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
7376
7435
  *
7377
- * {@link https://lua-api.factorio.com/2.0.45/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
7378
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SoundPath.html Online documentation}
7436
+ * {@link https://lua-api.factorio.com/2.0.47/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
7437
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SoundPath.html Online documentation}
7379
7438
  */
7380
7439
  export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
7381
7440
  export interface CircularParticleCreationSpecification {
@@ -7507,7 +7566,7 @@ declare module "factorio:runtime" {
7507
7566
  * Other attributes may be specified depending on `type`:
7508
7567
  * - `"projectile"`: {@link ProjectileAttackParameters}
7509
7568
  * - `"stream"`: {@link StreamAttackParameters}
7510
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AttackParameters.html Online documentation}
7569
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AttackParameters.html Online documentation}
7511
7570
  */
7512
7571
  export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
7513
7572
  export interface GunShift4Way {
@@ -7573,7 +7632,7 @@ declare module "factorio:runtime" {
7573
7632
  * - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
7574
7633
  * - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
7575
7634
  * - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
7576
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CapsuleAction.html Online documentation}
7635
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/CapsuleAction.html Online documentation}
7577
7636
  */
7578
7637
  export type CapsuleAction =
7579
7638
  | ThrowCapsuleAction
@@ -7613,12 +7672,12 @@ declare module "factorio:runtime" {
7613
7672
  }
7614
7673
  /**
7615
7674
  * Any basic type (string, number, boolean) or table.
7616
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AnyBasic.html Online documentation}
7675
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AnyBasic.html Online documentation}
7617
7676
  */
7618
7677
  export type AnyBasic = string | boolean | number | table
7619
7678
  /**
7620
7679
  * Any basic type (string, number, boolean), table, or LuaObject.
7621
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Any.html Online documentation}
7680
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Any.html Online documentation}
7622
7681
  */
7623
7682
  export type Any = string | boolean | number | table | LuaObject
7624
7683
  export interface ProgrammableSpeakerParameters {
@@ -7628,7 +7687,7 @@ declare module "factorio:runtime" {
7628
7687
  }
7629
7688
  /**
7630
7689
  * @see ProgrammableSpeakerAlertParametersWrite
7631
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7690
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7632
7691
  */
7633
7692
  export interface ProgrammableSpeakerAlertParameters {
7634
7693
  readonly show_alert: boolean
@@ -7638,7 +7697,7 @@ declare module "factorio:runtime" {
7638
7697
  }
7639
7698
  /**
7640
7699
  * Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
7641
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7700
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7642
7701
  */
7643
7702
  export interface ProgrammableSpeakerAlertParametersWrite {
7644
7703
  readonly show_alert: boolean
@@ -7670,7 +7729,7 @@ declare module "factorio:runtime" {
7670
7729
  * - `"top-right"`
7671
7730
  * - `"right"`: The same as `"middle-right"`
7672
7731
  * - `"bottom-right"`
7673
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Alignment.html Online documentation}
7732
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/Alignment.html Online documentation}
7674
7733
  */
7675
7734
  export type Alignment =
7676
7735
  | "top-left"
@@ -7703,8 +7762,8 @@ declare module "factorio:runtime" {
7703
7762
  _customEventIdBrand: any
7704
7763
  }
7705
7764
  /**
7706
- * Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.45/events.html the list of Factorio events} for more information on these.
7707
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EventData.html Online documentation}
7765
+ * Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.47/events.html the list of Factorio events} for more information on these.
7766
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EventData.html Online documentation}
7708
7767
  */
7709
7768
  export interface EventData {
7710
7769
  /**
@@ -7813,7 +7872,7 @@ declare module "factorio:runtime" {
7813
7872
  * - `"button-7"`
7814
7873
  * - `"button-8"`
7815
7874
  * - `"button-9"`
7816
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MouseButtonFlags.html Online documentation}
7875
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/MouseButtonFlags.html Online documentation}
7817
7876
  */
7818
7877
  export interface MouseButtonFlags {
7819
7878
  readonly left?: true
@@ -7836,7 +7895,7 @@ declare module "factorio:runtime" {
7836
7895
  * - `"not-friend"`: Forces which are not friends pass.
7837
7896
  * - `"same"`: The same force pass.
7838
7897
  * - `"not-same"`: The non-same forces pass.
7839
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ForceCondition.html Online documentation}
7898
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ForceCondition.html Online documentation}
7840
7899
  */
7841
7900
  export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
7842
7901
  export interface ItemStackLocation {
@@ -7874,7 +7933,7 @@ declare module "factorio:runtime" {
7874
7933
  * - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
7875
7934
  * - `"tab"`: A tab for use in a `tabbed-pane`.
7876
7935
  * - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
7877
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiElementType.html Online documentation}
7936
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GuiElementType.html Online documentation}
7878
7937
  */
7879
7938
  export type GuiElementType =
7880
7939
  | "button"
@@ -7914,7 +7973,7 @@ declare module "factorio:runtime" {
7914
7973
  * - `"position"`
7915
7974
  * - `"crafting_queue"`
7916
7975
  * - `"item_stack"`: Will point to a given item stack in an inventory.
7917
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiArrowType.html Online documentation}
7976
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GuiArrowType.html Online documentation}
7918
7977
  */
7919
7978
  export type GuiArrowType =
7920
7979
  | "nowhere"
@@ -7931,7 +7990,7 @@ declare module "factorio:runtime" {
7931
7990
  * ## Union members
7932
7991
  * - `"horizontal"`
7933
7992
  * - `"vertical"`
7934
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiDirection.html Online documentation}
7993
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/GuiDirection.html Online documentation}
7935
7994
  */
7936
7995
  export type GuiDirection = "horizontal" | "vertical"
7937
7996
  /**
@@ -7943,7 +8002,7 @@ declare module "factorio:runtime" {
7943
8002
  * - `"always"`
7944
8003
  * - `"auto"`
7945
8004
  * - `"auto-and-reserve-space"`
7946
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScrollPolicy.html Online documentation}
8005
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ScrollPolicy.html Online documentation}
7947
8006
  */
7948
8007
  export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
7949
8008
  export interface RailLocation {
@@ -7960,71 +8019,71 @@ declare module "factorio:runtime" {
7960
8019
  }
7961
8020
  /**
7962
8021
  * A floating-point number. This is a single-precision floating point number. Whilst Lua only uses double-precision numbers, when a function takes a float, the game engine will immediately convert the double-precision number to single-precision.
7963
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/float.html Online documentation}
8022
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/float.html Online documentation}
7964
8023
  */
7965
8024
  export type float = number
7966
8025
  /**
7967
8026
  * A double-precision floating-point number. This is the same data type as all Lua numbers use.
7968
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/double.html Online documentation}
8027
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/double.html Online documentation}
7969
8028
  */
7970
8029
  export type double = number
7971
8030
  /**
7972
8031
  * 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
7973
8032
  *
7974
8033
  * Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
7975
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/int.html Online documentation}
8034
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/int.html Online documentation}
7976
8035
  */
7977
8036
  export type int = number
7978
8037
  /**
7979
8038
  * 8-bit signed integer. Possible values are `-128` to `127`.
7980
8039
  *
7981
8040
  * Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
7982
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/int8.html Online documentation}
8041
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/int8.html Online documentation}
7983
8042
  */
7984
8043
  export type int8 = number
7985
8044
  /**
7986
8045
  * 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
7987
8046
  *
7988
8047
  * Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
7989
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint.html Online documentation}
8048
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/uint.html Online documentation}
7990
8049
  */
7991
8050
  export type uint = number
7992
8051
  /**
7993
8052
  * 8-bit unsigned integer. Possible values are `0` to `255`.
7994
8053
  *
7995
8054
  * Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
7996
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint8.html Online documentation}
8055
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/uint8.html Online documentation}
7997
8056
  */
7998
8057
  export type uint8 = number
7999
8058
  /**
8000
8059
  * 16-bit unsigned integer. Possible values are `0` to `65 535`.
8001
8060
  *
8002
8061
  * Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
8003
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint16.html Online documentation}
8062
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/uint16.html Online documentation}
8004
8063
  */
8005
8064
  export type uint16 = number
8006
8065
  /**
8007
8066
  * 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
8008
8067
  *
8009
8068
  * Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
8010
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint64.html Online documentation}
8069
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/uint64.html Online documentation}
8011
8070
  */
8012
8071
  export type uint64 = number
8013
8072
  /**
8014
8073
  * Nil is the type of the value `nil`, whose main property is to be different from any other value. It usually represents the absence of a useful value.
8015
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/nil.html Online documentation}
8074
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/nil.html Online documentation}
8016
8075
  */
8017
8076
  export type nil = undefined
8018
8077
  /**
8019
8078
  * Tables are enclosed in curly brackets, like this `{}`.
8020
8079
  *
8021
8080
  * Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain http://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination.
8022
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/table.html Online documentation}
8081
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/table.html Online documentation}
8023
8082
  */
8024
8083
  export type table = object
8025
8084
  /**
8026
- * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.45/classes.html Classes} page.
8027
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaObject.html Online documentation}
8085
+ * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.47/classes.html Classes} page.
8086
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaObject.html Online documentation}
8028
8087
  */
8029
8088
  export interface LuaObject {
8030
8089
  readonly object_name: string
@@ -8083,7 +8142,7 @@ declare module "factorio:runtime" {
8083
8142
  * - `"type"`: {@link TypeModSettingPrototypeFilter}
8084
8143
  * - `"mod"`: {@link ModModSettingPrototypeFilter}
8085
8144
  * - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
8086
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ModSettingPrototypeFilter.html Online documentation}
8145
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ModSettingPrototypeFilter.html Online documentation}
8087
8146
  */
8088
8147
  export type ModSettingPrototypeFilter =
8089
8148
  | TypeModSettingPrototypeFilter
@@ -8147,7 +8206,7 @@ declare module "factorio:runtime" {
8147
8206
  * Other attributes may be specified depending on `filter`:
8148
8207
  * - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
8149
8208
  * - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
8150
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8209
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8151
8210
  */
8152
8211
  export type SpaceLocationPrototypeFilter =
8153
8212
  | TypeSpaceLocationPrototypeFilter
@@ -8155,7 +8214,7 @@ declare module "factorio:runtime" {
8155
8214
  | OtherSpaceLocationPrototypeFilter
8156
8215
  /**
8157
8216
  * Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8158
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8217
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8159
8218
  */
8160
8219
  export type SpaceLocationPrototypeFilterWrite =
8161
8220
  | TypeSpaceLocationPrototypeFilter
@@ -8203,7 +8262,7 @@ declare module "factorio:runtime" {
8203
8262
  *
8204
8263
  * Other attributes may be specified depending on `filter`:
8205
8264
  * - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
8206
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DecorativePrototypeFilter.html Online documentation}
8265
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/DecorativePrototypeFilter.html Online documentation}
8207
8266
  */
8208
8267
  export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
8209
8268
  /**
@@ -8345,7 +8404,7 @@ declare module "factorio:runtime" {
8345
8404
  * - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
8346
8405
  * - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
8347
8406
  * - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
8348
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePrototypeFilter.html Online documentation}
8407
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TilePrototypeFilter.html Online documentation}
8349
8408
  */
8350
8409
  export type TilePrototypeFilter =
8351
8410
  | CollisionMaskTilePrototypeFilter
@@ -8356,7 +8415,7 @@ declare module "factorio:runtime" {
8356
8415
  | OtherTilePrototypeFilter
8357
8416
  /**
8358
8417
  * Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
8359
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePrototypeFilter.html Online documentation}
8418
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TilePrototypeFilter.html Online documentation}
8360
8419
  */
8361
8420
  export type TilePrototypeFilterWrite =
8362
8421
  | CollisionMaskTilePrototypeFilter
@@ -8711,7 +8770,7 @@ declare module "factorio:runtime" {
8711
8770
  * - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
8712
8771
  * - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
8713
8772
  * - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
8714
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFilter.html Online documentation}
8773
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemPrototypeFilter.html Online documentation}
8715
8774
  */
8716
8775
  export type ItemPrototypeFilter =
8717
8776
  | PlaceResultItemPrototypeFilter
@@ -8733,7 +8792,7 @@ declare module "factorio:runtime" {
8733
8792
  | OtherItemPrototypeFilter
8734
8793
  /**
8735
8794
  * Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8736
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFilter.html Online documentation}
8795
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/ItemPrototypeFilter.html Online documentation}
8737
8796
  */
8738
8797
  export type ItemPrototypeFilterWrite =
8739
8798
  | PlaceResultItemPrototypeFilterWrite
@@ -8873,7 +8932,7 @@ declare module "factorio:runtime" {
8873
8932
  * - `"level"`: {@link LevelTechnologyPrototypeFilter}
8874
8933
  * - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
8875
8934
  * - `"time"`: {@link TimeTechnologyPrototypeFilter}
8876
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyPrototypeFilter.html Online documentation}
8935
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TechnologyPrototypeFilter.html Online documentation}
8877
8936
  */
8878
8937
  export type TechnologyPrototypeFilter =
8879
8938
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -8884,7 +8943,7 @@ declare module "factorio:runtime" {
8884
8943
  | OtherTechnologyPrototypeFilter
8885
8944
  /**
8886
8945
  * Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8887
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyPrototypeFilter.html Online documentation}
8946
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/TechnologyPrototypeFilter.html Online documentation}
8888
8947
  */
8889
8948
  export type TechnologyPrototypeFilterWrite =
8890
8949
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -9144,7 +9203,7 @@ declare module "factorio:runtime" {
9144
9203
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
9145
9204
  * - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
9146
9205
  * - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
9147
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RecipePrototypeFilter.html Online documentation}
9206
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RecipePrototypeFilter.html Online documentation}
9148
9207
  */
9149
9208
  export type RecipePrototypeFilter =
9150
9209
  | HasIngredientItemRecipePrototypeFilter
@@ -9160,7 +9219,7 @@ declare module "factorio:runtime" {
9160
9219
  | OtherRecipePrototypeFilter
9161
9220
  /**
9162
9221
  * Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
9163
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RecipePrototypeFilter.html Online documentation}
9222
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/RecipePrototypeFilter.html Online documentation}
9164
9223
  */
9165
9224
  export type RecipePrototypeFilterWrite =
9166
9225
  | HasIngredientItemRecipePrototypeFilterWrite
@@ -9212,7 +9271,7 @@ declare module "factorio:runtime" {
9212
9271
  *
9213
9272
  * Other attributes may be specified depending on `filter`:
9214
9273
  * - `"type"`: {@link TypeAchievementPrototypeFilter}
9215
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AchievementPrototypeFilter.html Online documentation}
9274
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/AchievementPrototypeFilter.html Online documentation}
9216
9275
  */
9217
9276
  export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
9218
9277
  /**
@@ -9253,7 +9312,7 @@ declare module "factorio:runtime" {
9253
9312
  *
9254
9313
  * Other attributes may be specified depending on `filter`:
9255
9314
  * - `"type"`: {@link TypeEquipmentPrototypeFilter}
9256
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPrototypeFilter.html Online documentation}
9315
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EquipmentPrototypeFilter.html Online documentation}
9257
9316
  */
9258
9317
  export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
9259
9318
  /**
@@ -9438,7 +9497,7 @@ declare module "factorio:runtime" {
9438
9497
  * - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
9439
9498
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
9440
9499
  * - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
9441
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidPrototypeFilter.html Online documentation}
9500
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/FluidPrototypeFilter.html Online documentation}
9442
9501
  */
9443
9502
  export type FluidPrototypeFilter =
9444
9503
  | NameFluidPrototypeFilter
@@ -9452,7 +9511,7 @@ declare module "factorio:runtime" {
9452
9511
  | OtherFluidPrototypeFilter
9453
9512
  /**
9454
9513
  * Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9455
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidPrototypeFilter.html Online documentation}
9514
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/FluidPrototypeFilter.html Online documentation}
9456
9515
  */
9457
9516
  export type FluidPrototypeFilterWrite =
9458
9517
  | NameFluidPrototypeFilter
@@ -9692,7 +9751,7 @@ declare module "factorio:runtime" {
9692
9751
  * - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
9693
9752
  * - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
9694
9753
  * - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
9695
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFilter.html Online documentation}
9754
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityPrototypeFilter.html Online documentation}
9696
9755
  */
9697
9756
  export type EntityPrototypeFilter =
9698
9757
  | NameEntityPrototypeFilter
@@ -9706,7 +9765,7 @@ declare module "factorio:runtime" {
9706
9765
  | OtherEntityPrototypeFilter
9707
9766
  /**
9708
9767
  * Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9709
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFilter.html Online documentation}
9768
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/EntityPrototypeFilter.html Online documentation}
9710
9769
  */
9711
9770
  export type EntityPrototypeFilterWrite =
9712
9771
  | NameEntityPrototypeFilter
@@ -9815,7 +9874,7 @@ declare module "factorio:runtime" {
9815
9874
  * - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
9816
9875
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
9817
9876
  * - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
9818
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
9877
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
9819
9878
  */
9820
9879
  export type LuaScriptRaisedTeleportedEventFilter =
9821
9880
  | TypeScriptRaisedTeleportedEventFilter
@@ -9920,7 +9979,7 @@ declare module "factorio:runtime" {
9920
9979
  * - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
9921
9980
  * - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
9922
9981
  * - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
9923
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
9982
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
9924
9983
  */
9925
9984
  export type LuaPreRobotMinedEntityEventFilter =
9926
9985
  | TypePreRobotMinedEntityEventFilter
@@ -10025,7 +10084,7 @@ declare module "factorio:runtime" {
10025
10084
  * - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
10026
10085
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
10027
10086
  * - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
10028
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
10087
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
10029
10088
  */
10030
10089
  export type LuaScriptRaisedBuiltEventFilter =
10031
10090
  | TypeScriptRaisedBuiltEventFilter
@@ -10130,7 +10189,7 @@ declare module "factorio:runtime" {
10130
10189
  * - `"name"`: {@link NamePlatformMinedEntityEventFilter}
10131
10190
  * - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
10132
10191
  * - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
10133
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10192
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10134
10193
  */
10135
10194
  export type LuaPlatformMinedEntityEventFilter =
10136
10195
  | TypePlatformMinedEntityEventFilter
@@ -10247,7 +10306,7 @@ declare module "factorio:runtime" {
10247
10306
  * - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
10248
10307
  * - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
10249
10308
  * - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
10250
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
10309
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
10251
10310
  */
10252
10311
  export type LuaRobotBuiltEntityEventFilter =
10253
10312
  | TypeRobotBuiltEntityEventFilter
@@ -10353,7 +10412,7 @@ declare module "factorio:runtime" {
10353
10412
  * - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
10354
10413
  * - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
10355
10414
  * - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
10356
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10415
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10357
10416
  */
10358
10417
  export type LuaPrePlayerMinedEntityEventFilter =
10359
10418
  | TypePrePlayerMinedEntityEventFilter
@@ -10460,7 +10519,7 @@ declare module "factorio:runtime" {
10460
10519
  * - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
10461
10520
  * - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
10462
10521
  * - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
10463
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10522
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10464
10523
  */
10465
10524
  export type LuaEntityDeconstructionCancelledEventFilter =
10466
10525
  | TypeEntityDeconstructionCancelledEventFilter
@@ -10565,7 +10624,7 @@ declare module "factorio:runtime" {
10565
10624
  * - `"name"`: {@link NamePreGhostUpgradedEventFilter}
10566
10625
  * - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
10567
10626
  * - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
10568
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
10627
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
10569
10628
  */
10570
10629
  export type LuaPreGhostUpgradedEventFilter =
10571
10630
  | TypePreGhostUpgradedEventFilter
@@ -10682,7 +10741,7 @@ declare module "factorio:runtime" {
10682
10741
  * - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
10683
10742
  * - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
10684
10743
  * - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
10685
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
10744
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
10686
10745
  */
10687
10746
  export type LuaPlatformBuiltEntityEventFilter =
10688
10747
  | TypePlatformBuiltEntityEventFilter
@@ -10788,7 +10847,7 @@ declare module "factorio:runtime" {
10788
10847
  * - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
10789
10848
  * - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
10790
10849
  * - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
10791
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
10850
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
10792
10851
  */
10793
10852
  export type LuaPrePlatformMinedEntityEventFilter =
10794
10853
  | TypePrePlatformMinedEntityEventFilter
@@ -10893,7 +10952,7 @@ declare module "factorio:runtime" {
10893
10952
  * - `"name"`: {@link NameEntityClonedEventFilter}
10894
10953
  * - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
10895
10954
  * - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
10896
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityClonedEventFilter.html Online documentation}
10955
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityClonedEventFilter.html Online documentation}
10897
10956
  */
10898
10957
  export type LuaEntityClonedEventFilter =
10899
10958
  | TypeEntityClonedEventFilter
@@ -10998,7 +11057,7 @@ declare module "factorio:runtime" {
10998
11057
  * - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
10999
11058
  * - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
11000
11059
  * - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
11001
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11060
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11002
11061
  */
11003
11062
  export type LuaPlayerRepairedEntityEventFilter =
11004
11063
  | TypePlayerRepairedEntityEventFilter
@@ -11044,7 +11103,7 @@ declare module "factorio:runtime" {
11044
11103
  *
11045
11104
  * Other attributes may be specified depending on `filter`:
11046
11105
  * - `"type"`: {@link TypePostEntityDiedEventFilter}
11047
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11106
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11048
11107
  */
11049
11108
  export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter | OtherPostEntityDiedEventFilter
11050
11109
  /**
@@ -11144,7 +11203,7 @@ declare module "factorio:runtime" {
11144
11203
  * - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
11145
11204
  * - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
11146
11205
  * - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
11147
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
11206
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
11148
11207
  */
11149
11208
  export type LuaPreGhostDeconstructedEventFilter =
11150
11209
  | TypePreGhostDeconstructedEventFilter
@@ -11249,7 +11308,7 @@ declare module "factorio:runtime" {
11249
11308
  * - `"name"`: {@link NamePlayerMinedEntityEventFilter}
11250
11309
  * - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
11251
11310
  * - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
11252
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11311
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11253
11312
  */
11254
11313
  export type LuaPlayerMinedEntityEventFilter =
11255
11314
  | TypePlayerMinedEntityEventFilter
@@ -11354,7 +11413,7 @@ declare module "factorio:runtime" {
11354
11413
  * - `"name"`: {@link NameSectorScannedEventFilter}
11355
11414
  * - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
11356
11415
  * - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
11357
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaSectorScannedEventFilter.html Online documentation}
11416
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaSectorScannedEventFilter.html Online documentation}
11358
11417
  */
11359
11418
  export type LuaSectorScannedEventFilter =
11360
11419
  | TypeSectorScannedEventFilter
@@ -11459,7 +11518,7 @@ declare module "factorio:runtime" {
11459
11518
  * - `"name"`: {@link NameRobotMinedEntityEventFilter}
11460
11519
  * - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
11461
11520
  * - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
11462
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
11521
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
11463
11522
  */
11464
11523
  export type LuaRobotMinedEntityEventFilter =
11465
11524
  | TypeRobotMinedEntityEventFilter
@@ -11566,7 +11625,7 @@ declare module "factorio:runtime" {
11566
11625
  * - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
11567
11626
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
11568
11627
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
11569
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
11628
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
11570
11629
  */
11571
11630
  export type LuaEntityMarkedForDeconstructionEventFilter =
11572
11631
  | TypeEntityMarkedForDeconstructionEventFilter
@@ -11671,7 +11730,7 @@ declare module "factorio:runtime" {
11671
11730
  * - `"name"`: {@link NameScriptRaisedReviveEventFilter}
11672
11731
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
11673
11732
  * - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
11674
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
11733
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
11675
11734
  */
11676
11735
  export type LuaScriptRaisedReviveEventFilter =
11677
11736
  | TypeScriptRaisedReviveEventFilter
@@ -11788,7 +11847,7 @@ declare module "factorio:runtime" {
11788
11847
  * - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
11789
11848
  * - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
11790
11849
  * - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
11791
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
11850
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
11792
11851
  */
11793
11852
  export type LuaPlayerBuiltEntityEventFilter =
11794
11853
  | TypePlayerBuiltEntityEventFilter
@@ -11894,7 +11953,7 @@ declare module "factorio:runtime" {
11894
11953
  * - `"name"`: {@link NameUpgradeCancelledEventFilter}
11895
11954
  * - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
11896
11955
  * - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
11897
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
11956
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
11898
11957
  */
11899
11958
  export type LuaUpgradeCancelledEventFilter =
11900
11959
  | TypeUpgradeCancelledEventFilter
@@ -12074,7 +12133,7 @@ declare module "factorio:runtime" {
12074
12133
  * - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
12075
12134
  * - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
12076
12135
  * - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
12077
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12136
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12078
12137
  */
12079
12138
  export type LuaEntityDamagedEventFilter =
12080
12139
  | TypeEntityDamagedEventFilter
@@ -12088,7 +12147,7 @@ declare module "factorio:runtime" {
12088
12147
  | OtherEntityDamagedEventFilter
12089
12148
  /**
12090
12149
  * Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
12091
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12150
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12092
12151
  */
12093
12152
  export type LuaEntityDamagedEventFilterWrite =
12094
12153
  | TypeEntityDamagedEventFilter
@@ -12197,7 +12256,7 @@ declare module "factorio:runtime" {
12197
12256
  * - `"name"`: {@link NameEntityDiedEventFilter}
12198
12257
  * - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
12199
12258
  * - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
12200
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDiedEventFilter.html Online documentation}
12259
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityDiedEventFilter.html Online documentation}
12201
12260
  */
12202
12261
  export type LuaEntityDiedEventFilter =
12203
12262
  | TypeEntityDiedEventFilter
@@ -12302,7 +12361,7 @@ declare module "factorio:runtime" {
12302
12361
  * - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
12303
12362
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
12304
12363
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
12305
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
12364
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
12306
12365
  */
12307
12366
  export type LuaEntityMarkedForUpgradeEventFilter =
12308
12367
  | TypeEntityMarkedForUpgradeEventFilter
@@ -12407,7 +12466,7 @@ declare module "factorio:runtime" {
12407
12466
  * - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
12408
12467
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
12409
12468
  * - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
12410
- * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
12469
+ * @see {@link https://lua-api.factorio.com/2.0.47/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
12411
12470
  */
12412
12471
  export type LuaScriptRaisedDestroyEventFilter =
12413
12472
  | TypeScriptRaisedDestroyEventFilter