typed-factorio 3.19.1 → 3.20.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.44/concepts/FlowStatisticsID.html Online documentation}
21
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ComparatorString.html Online documentation}
43
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SpritePath.html > The supported types are:}
75
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SpritePath.html Online documentation}
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}
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.44/concepts/CollisionMask.html Online documentation}
82
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ModuleEffectValue.html Online documentation}
106
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ModuleEffects.html Online documentation}
113
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/MapTick.html Online documentation}
124
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/RenderLayer.html Online documentation}
203
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/MapViewSettings.html Online documentation}
280
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/CursorBoxRenderType.html Online documentation}
310
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/CollisionLayerID.html Online documentation}
328
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SwitchState.html Online documentation}
338
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ElemType.html Online documentation}
376
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ItemFilter.html Online documentation}
410
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ItemFilter.html Online documentation}
430
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/GuiArrowSpecification.html Online documentation}
513
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/Vector3D.html Online documentation}
526
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/Vector3D.html Online documentation}
536
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/TrainSchedule.html Online documentation}
569
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/TrainSchedule.html Online documentation}
580
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/PlatformSchedule.html Online documentation}
591
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/PlatformSchedule.html Online documentation}
602
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/RecipeIDAndQualityIDPair.html Online documentation}
619
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ForceID.html Online documentation}
668
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/FluidID.html Online documentation}
678
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/EntityWithQualityID.html Online documentation}
689
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/EntityIDAndQualityIDPair.html Online documentation}
694
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ItemWithQualityID.html Online documentation}
714
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ItemIDAndQualityIDPair.html Online documentation}
720
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ItemIDAndQualityIDPair.html Online documentation}
734
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ItemID.html Online documentation}
754
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/EntityID.html Online documentation}
764
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/TechnologyID.html Online documentation}
774
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ParticleID.html Online documentation}
783
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/DamageTypeID.html Online documentation}
792
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/TrivialSmokeID.html Online documentation}
801
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/TextAlign.html Online documentation}
813
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/VerticalTextAlign.html Online documentation}
826
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/QualityID.html Online documentation}
835
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/RecipeID.html Online documentation}
845
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/TileID.html Online documentation}
855
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/EquipmentID.html Online documentation}
879
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/EquipmentWithQualityID.html Online documentation}
890
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
895
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/BoundingBox.html Online documentation}
916
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/BoundingBox.html Online documentation}
926
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SpacePlatformIdentification.html Online documentation}
939
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ForceSet.html Online documentation}
949
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ForceSet.html Online documentation}
954
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/DecorativeID.html Online documentation}
963
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/AsteroidChunkID.html Online documentation}
972
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SpaceLocationID.html Online documentation}
981
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SignalFilter.html Online documentation}
987
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SignalFilter.html Online documentation}
1011
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/LogisticFilter.html Online documentation}
1035
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/LogisticFilter.html Online documentation}
1061
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/SurfacePropertyID.html Online documentation}
1117
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ScriptRenderTarget.html Online documentation}
1123
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ScriptRenderTarget.html Online documentation}
1128
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ScriptRenderTargetTable.html Online documentation}
1133
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/ScriptRenderTargetTable.html Online documentation}
1148
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/QualityCondition.html Online documentation}
1163
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/CargoDestination.html Online documentation}
1180
+ * @see {@link https://lua-api.factorio.com/2.0.45/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.44/concepts/CargoDestination.html Online documentation}
1218
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CargoDestination.html Online documentation}
1219
1219
  */
1220
1220
  export interface CargoDestinationWrite {
1221
1221
  /**
@@ -1269,7 +1269,7 @@ declare module "factorio:runtime" {
1269
1269
  * - {@link LuaCustomInputPrototype}: Custom input prototype.
1270
1270
  * - {@link defines.events}: Event identifier.
1271
1271
  * - `string`: Name of the event.
1272
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEventType.html Online documentation}
1272
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEventType.html Online documentation}
1273
1273
  */
1274
1274
  export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
1275
1275
  /**
@@ -1277,13 +1277,13 @@ declare module "factorio:runtime" {
1277
1277
  * - `"center-to-center"`
1278
1278
  * - `"bounding-box-to-bounding-box"`
1279
1279
  * - `"center-to-bounding-box"`
1280
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/RangeMode.html Online documentation}
1280
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RangeMode.html Online documentation}
1281
1281
  */
1282
1282
  export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
1283
1283
  /**
1284
1284
  * 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
1285
  * @see BlueprintEntityWrite
1286
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintEntity.html Online documentation}
1286
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEntity.html Online documentation}
1287
1287
  */
1288
1288
  export interface BlueprintEntity {
1289
1289
  /**
@@ -1497,7 +1497,7 @@ declare module "factorio:runtime" {
1497
1497
  }
1498
1498
  /**
1499
1499
  * 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.44/concepts/BlueprintEntity.html Online documentation}
1500
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEntity.html Online documentation}
1501
1501
  */
1502
1502
  export interface BlueprintEntityWrite {
1503
1503
  /**
@@ -1718,7 +1718,7 @@ declare module "factorio:runtime" {
1718
1718
  }
1719
1719
  /**
1720
1720
  * @see BlueprintEquipmentWrite
1721
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintEquipment.html Online documentation}
1721
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEquipment.html Online documentation}
1722
1722
  */
1723
1723
  export interface BlueprintEquipment {
1724
1724
  readonly equipment: ItemIDAndQualityIDPair
@@ -1726,7 +1726,7 @@ declare module "factorio:runtime" {
1726
1726
  }
1727
1727
  /**
1728
1728
  * 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.44/concepts/BlueprintEquipment.html Online documentation}
1729
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintEquipment.html Online documentation}
1730
1730
  */
1731
1731
  export interface BlueprintEquipmentWrite {
1732
1732
  readonly equipment: ItemIDAndQualityIDPairWrite
@@ -1734,7 +1734,7 @@ declare module "factorio:runtime" {
1734
1734
  }
1735
1735
  /**
1736
1736
  * @see BlueprintInventoryWrite
1737
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintInventory.html Online documentation}
1737
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInventory.html Online documentation}
1738
1738
  */
1739
1739
  export interface BlueprintInventory {
1740
1740
  readonly filters?: BlueprintLogisticFilter[]
@@ -1745,7 +1745,7 @@ declare module "factorio:runtime" {
1745
1745
  }
1746
1746
  /**
1747
1747
  * 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.44/concepts/BlueprintInventory.html Online documentation}
1748
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInventory.html Online documentation}
1749
1749
  */
1750
1750
  export interface BlueprintInventoryWrite {
1751
1751
  readonly filters?: readonly BlueprintLogisticFilterWrite[]
@@ -1766,7 +1766,7 @@ declare module "factorio:runtime" {
1766
1766
  }
1767
1767
  /**
1768
1768
  * @see BlueprintControlBehaviorWrite
1769
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintControlBehavior.html Online documentation}
1769
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintControlBehavior.html Online documentation}
1770
1770
  */
1771
1771
  export interface BlueprintControlBehavior {
1772
1772
  /**
@@ -2019,7 +2019,7 @@ declare module "factorio:runtime" {
2019
2019
  }
2020
2020
  /**
2021
2021
  * 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.44/concepts/BlueprintControlBehavior.html Online documentation}
2022
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintControlBehavior.html Online documentation}
2023
2023
  */
2024
2024
  export interface BlueprintControlBehaviorWrite {
2025
2025
  /**
@@ -2300,7 +2300,7 @@ declare module "factorio:runtime" {
2300
2300
  * "2500 * (L - 3)"
2301
2301
  * @example
2302
2302
  * "(4e5 * (abs(speed) + 10.5)) / weight"
2303
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MathExpression.html Online documentation}
2303
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MathExpression.html Online documentation}
2304
2304
  */
2305
2305
  export type MathExpression = string
2306
2306
  /**
@@ -2483,7 +2483,7 @@ declare module "factorio:runtime" {
2483
2483
  * - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
2484
2484
  * - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
2485
2485
  * - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
2486
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/UndoRedoAction.html Online documentation}
2486
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/UndoRedoAction.html Online documentation}
2487
2487
  */
2488
2488
  export type UndoRedoAction =
2489
2489
  | BuiltEntityUndoRedoAction
@@ -2690,7 +2690,7 @@ declare module "factorio:runtime" {
2690
2690
  * - `"play-next-track"`
2691
2691
  * - `"play-previous-track"`
2692
2692
  * - `"pause-resume-music"`
2693
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LinkedGameControl.html Online documentation}
2693
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LinkedGameControl.html Online documentation}
2694
2694
  */
2695
2695
  export type LinkedGameControl =
2696
2696
  | "move-up"
@@ -2901,7 +2901,7 @@ declare module "factorio:runtime" {
2901
2901
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
2902
2902
  *
2903
2903
  * By default, none of these flags are set.
2904
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ItemPrototypeFlags.html Online documentation}
2904
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFlags.html Online documentation}
2905
2905
  */
2906
2906
  export type ItemPrototypeFlags = {
2907
2907
  readonly [T in ItemPrototypeFlag]?: true
@@ -2922,7 +2922,7 @@ declare module "factorio:runtime" {
2922
2922
  * - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
2923
2923
  * - `"spoil-result"`
2924
2924
  * - `"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.44/concepts/ItemPrototypeFlag.html Online documentation}
2925
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFlag.html Online documentation}
2926
2926
  */
2927
2927
  export type ItemPrototypeFlag =
2928
2928
  | "draw-logistic-overlay"
@@ -2939,7 +2939,7 @@ declare module "factorio:runtime" {
2939
2939
  | "ignore-spoil-time-modifier"
2940
2940
  /**
2941
2941
  * @see UpgradeMapperSourceWrite
2942
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/UpgradeMapperSource.html Online documentation}
2942
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/UpgradeMapperSource.html Online documentation}
2943
2943
  */
2944
2944
  export interface UpgradeMapperSource {
2945
2945
  readonly type: "item" | "entity"
@@ -2958,7 +2958,7 @@ declare module "factorio:runtime" {
2958
2958
  }
2959
2959
  /**
2960
2960
  * 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.44/concepts/UpgradeMapperSource.html Online documentation}
2961
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/UpgradeMapperSource.html Online documentation}
2962
2962
  */
2963
2963
  export interface UpgradeMapperSourceWrite {
2964
2964
  readonly type: "item" | "entity"
@@ -3044,7 +3044,7 @@ declare module "factorio:runtime" {
3044
3044
  * - `"controllable-remove"`
3045
3045
  * - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
3046
3046
  * - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
3047
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SelectionModeFlags.html Online documentation}
3047
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SelectionModeFlags.html Online documentation}
3048
3048
  */
3049
3049
  export interface SelectionModeFlags {
3050
3050
  /**
@@ -3149,7 +3149,7 @@ declare module "factorio:runtime" {
3149
3149
  * - `"none"`
3150
3150
  * - `"whitelist"`
3151
3151
  * - `"blacklist"`
3152
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/PrototypeFilterMode.html Online documentation}
3152
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PrototypeFilterMode.html Online documentation}
3153
3153
  */
3154
3154
  export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
3155
3155
  export interface UpgradeMapperDestination {
@@ -3187,7 +3187,7 @@ declare module "factorio:runtime" {
3187
3187
  }
3188
3188
  /**
3189
3189
  * @see DisplayPanelMessageDefinitionWrite
3190
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/DisplayPanelMessageDefinition.html Online documentation}
3190
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DisplayPanelMessageDefinition.html Online documentation}
3191
3191
  */
3192
3192
  export interface DisplayPanelMessageDefinition {
3193
3193
  /**
@@ -3205,7 +3205,7 @@ declare module "factorio:runtime" {
3205
3205
  }
3206
3206
  /**
3207
3207
  * 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.44/concepts/DisplayPanelMessageDefinition.html Online documentation}
3208
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DisplayPanelMessageDefinition.html Online documentation}
3209
3209
  */
3210
3210
  export interface DisplayPanelMessageDefinitionWrite {
3211
3211
  /**
@@ -3223,7 +3223,7 @@ declare module "factorio:runtime" {
3223
3223
  }
3224
3224
  /**
3225
3225
  * @see SignalIDWrite
3226
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SignalID.html Online documentation}
3226
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalID.html Online documentation}
3227
3227
  */
3228
3228
  export interface SignalID {
3229
3229
  /**
@@ -3241,7 +3241,7 @@ declare module "factorio:runtime" {
3241
3241
  }
3242
3242
  /**
3243
3243
  * 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.44/concepts/SignalID.html Online documentation}
3244
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalID.html Online documentation}
3245
3245
  */
3246
3246
  export interface SignalIDWrite {
3247
3247
  /**
@@ -3267,7 +3267,7 @@ declare module "factorio:runtime" {
3267
3267
  * - `"space-location"`
3268
3268
  * - `"asteroid-chunk"`
3269
3269
  * - `"quality"`
3270
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SignalIDType.html Online documentation}
3270
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SignalIDType.html Online documentation}
3271
3271
  */
3272
3272
  export type SignalIDType =
3273
3273
  | "item"
@@ -3297,7 +3297,7 @@ declare module "factorio:runtime" {
3297
3297
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
3298
3298
  * -- minimum amount of 1 and a maximum amount of 5
3299
3299
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
3300
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Product.html Online documentation}
3300
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Product.html Online documentation}
3301
3301
  */
3302
3302
  export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
3303
3303
  /**
@@ -3308,7 +3308,7 @@ declare module "factorio:runtime" {
3308
3308
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
3309
3309
  * -- minimum amount of 1 and a maximum amount of 5
3310
3310
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
3311
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ItemProduct.html Online documentation}
3311
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemProduct.html Online documentation}
3312
3312
  */
3313
3313
  export interface ItemProduct {
3314
3314
  readonly type: "item"
@@ -3352,7 +3352,7 @@ declare module "factorio:runtime" {
3352
3352
  * {{type="fluid", name="heavy-oil", amount=1},
3353
3353
  * {type="fluid", name="light-oil", amount=4.5},
3354
3354
  * {type="fluid", name="petroleum-gas", amount=5.5}}
3355
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/FluidProduct.html Online documentation}
3355
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidProduct.html Online documentation}
3356
3356
  */
3357
3357
  export interface FluidProduct {
3358
3358
  readonly type: "fluid"
@@ -3400,7 +3400,7 @@ declare module "factorio:runtime" {
3400
3400
  }
3401
3401
  /**
3402
3402
  * @see BlueprintScheduleRecordWrite
3403
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintScheduleRecord.html Online documentation}
3403
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleRecord.html Online documentation}
3404
3404
  */
3405
3405
  export interface BlueprintScheduleRecord {
3406
3406
  /**
@@ -3414,7 +3414,7 @@ declare module "factorio:runtime" {
3414
3414
  }
3415
3415
  /**
3416
3416
  * 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.44/concepts/BlueprintScheduleRecord.html Online documentation}
3417
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleRecord.html Online documentation}
3418
3418
  */
3419
3419
  export interface BlueprintScheduleRecordWrite {
3420
3420
  /**
@@ -3428,7 +3428,7 @@ declare module "factorio:runtime" {
3428
3428
  }
3429
3429
  /**
3430
3430
  * @see ScheduleRecordWrite
3431
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScheduleRecord.html Online documentation}
3431
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleRecord.html Online documentation}
3432
3432
  */
3433
3433
  export interface ScheduleRecord {
3434
3434
  /**
@@ -3447,7 +3447,7 @@ declare module "factorio:runtime" {
3447
3447
  }
3448
3448
  /**
3449
3449
  * 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.44/concepts/ScheduleRecord.html Online documentation}
3450
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleRecord.html Online documentation}
3451
3451
  */
3452
3452
  export interface ScheduleRecordWrite {
3453
3453
  /**
@@ -3466,7 +3466,7 @@ declare module "factorio:runtime" {
3466
3466
  }
3467
3467
  /**
3468
3468
  * @see BlueprintScheduleInterruptWrite
3469
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintScheduleInterrupt.html Online documentation}
3469
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleInterrupt.html Online documentation}
3470
3470
  */
3471
3471
  export interface BlueprintScheduleInterrupt {
3472
3472
  readonly name?: string
@@ -3476,7 +3476,7 @@ declare module "factorio:runtime" {
3476
3476
  }
3477
3477
  /**
3478
3478
  * 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.44/concepts/BlueprintScheduleInterrupt.html Online documentation}
3479
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintScheduleInterrupt.html Online documentation}
3480
3480
  */
3481
3481
  export interface BlueprintScheduleInterruptWrite {
3482
3482
  readonly name?: string
@@ -3486,7 +3486,7 @@ declare module "factorio:runtime" {
3486
3486
  }
3487
3487
  /**
3488
3488
  * @see ScheduleInterruptWrite
3489
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScheduleInterrupt.html Online documentation}
3489
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleInterrupt.html Online documentation}
3490
3490
  */
3491
3491
  export interface ScheduleInterrupt {
3492
3492
  readonly name?: string
@@ -3496,7 +3496,7 @@ declare module "factorio:runtime" {
3496
3496
  }
3497
3497
  /**
3498
3498
  * 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.44/concepts/ScheduleInterrupt.html Online documentation}
3499
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScheduleInterrupt.html Online documentation}
3500
3500
  */
3501
3501
  export interface ScheduleInterruptWrite {
3502
3502
  readonly name?: string
@@ -3506,7 +3506,7 @@ declare module "factorio:runtime" {
3506
3506
  }
3507
3507
  /**
3508
3508
  * @see WaitConditionWrite
3509
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/WaitCondition.html Online documentation}
3509
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/WaitCondition.html Online documentation}
3510
3510
  */
3511
3511
  export interface WaitCondition {
3512
3512
  readonly type: WaitConditionType
@@ -3537,7 +3537,7 @@ declare module "factorio:runtime" {
3537
3537
  }
3538
3538
  /**
3539
3539
  * 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.44/concepts/WaitCondition.html Online documentation}
3540
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/WaitCondition.html Online documentation}
3541
3541
  */
3542
3542
  export interface WaitConditionWrite {
3543
3543
  readonly type: WaitConditionType
@@ -3596,7 +3596,7 @@ declare module "factorio:runtime" {
3596
3596
  * - `"at_station"`
3597
3597
  * - `"not_at_station"`
3598
3598
  * - `"damage_taken"`
3599
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/WaitConditionType.html Online documentation}
3599
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/WaitConditionType.html Online documentation}
3600
3600
  */
3601
3601
  export type WaitConditionType =
3602
3602
  | "time"
@@ -3627,7 +3627,7 @@ declare module "factorio:runtime" {
3627
3627
  | "damage_taken"
3628
3628
  /**
3629
3629
  * @see BlueprintScheduleWrite
3630
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintSchedule.html Online documentation}
3630
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSchedule.html Online documentation}
3631
3631
  */
3632
3632
  export interface BlueprintSchedule {
3633
3633
  readonly records?: BlueprintScheduleRecord[]
@@ -3636,7 +3636,7 @@ declare module "factorio:runtime" {
3636
3636
  }
3637
3637
  /**
3638
3638
  * 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.44/concepts/BlueprintSchedule.html Online documentation}
3639
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSchedule.html Online documentation}
3640
3640
  */
3641
3641
  export interface BlueprintScheduleWrite {
3642
3642
  readonly records?: readonly BlueprintScheduleRecordWrite[]
@@ -3705,7 +3705,7 @@ declare module "factorio:runtime" {
3705
3705
  * - `"create-ghost-on-entity-death"`
3706
3706
  * - `"belt-stack-size-bonus"`
3707
3707
  * - `"vehicle-logistics"`
3708
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ModifierType.html Online documentation}
3708
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ModifierType.html Online documentation}
3709
3709
  */
3710
3710
  export type ModifierType =
3711
3711
  | "inserter-stack-size-bonus"
@@ -3824,7 +3824,7 @@ declare module "factorio:runtime" {
3824
3824
  * - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
3825
3825
  * - `"build-entity"`: {@link BuildEntityResearchTrigger}
3826
3826
  * - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
3827
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ResearchTrigger.html Online documentation}
3827
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ResearchTrigger.html Online documentation}
3828
3828
  */
3829
3829
  export type ResearchTrigger =
3830
3830
  | CraftItemResearchTrigger
@@ -3834,90 +3834,6 @@ declare module "factorio:runtime" {
3834
3834
  | BuildEntityResearchTrigger
3835
3835
  | SendItemToOrbitResearchTrigger
3836
3836
  | OtherResearchTrigger
3837
- /**
3838
- * Used by {@link MapSettings} and {@link MapAndDifficultySettings}.
3839
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AsteroidMapSettings.html Online documentation}
3840
- */
3841
- export interface AsteroidMapSettings {
3842
- readonly spawning_rate: double
3843
- readonly max_ray_portals_expanded_per_tick: uint
3844
- }
3845
- /**
3846
- * These values are for the time frame of one second (60 ticks).
3847
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/PollutionMapSettings.html Online documentation}
3848
- */
3849
- export interface PollutionMapSettings {
3850
- /**
3851
- * Whether pollution is enabled at all.
3852
- */
3853
- readonly enabled: boolean
3854
- /**
3855
- * The amount that is diffused to a neighboring chunk (possibly repeated for other directions as well). Defaults to `0.02`.
3856
- */
3857
- readonly diffusion_ratio: double
3858
- /**
3859
- * The amount of PUs that need to be in a chunk for it to start diffusing. Defaults to `15`.
3860
- */
3861
- readonly min_to_diffuse: double
3862
- /**
3863
- * The amount of pollution eaten by a chunk's tiles as a percentage of 1. Also known as absorption modifier. Defaults to `1`.
3864
- */
3865
- readonly ageing: double
3866
- /**
3867
- * Any amount of pollution larger than this value is visualized as this value instead. Defaults to `150`.
3868
- */
3869
- readonly expected_max_per_chunk: double
3870
- /**
3871
- * Any amount of pollution smaller than this value (but bigger than zero) is visualized as this value instead. Defaults to `50`.
3872
- */
3873
- readonly min_to_show_per_chunk: double
3874
- /**
3875
- * Defaults to `60`.
3876
- */
3877
- readonly min_pollution_to_damage_trees: double
3878
- /**
3879
- * Defaults to `150`.
3880
- */
3881
- readonly pollution_with_max_forest_damage: double
3882
- /**
3883
- * Defaults to `50`.
3884
- */
3885
- readonly pollution_per_tree_damage: double
3886
- /**
3887
- * Defaults to `10`.
3888
- */
3889
- readonly pollution_restored_per_tree_damage: double
3890
- /**
3891
- * Defaults to `20`.
3892
- */
3893
- readonly max_pollution_to_restore_trees: double
3894
- /**
3895
- * Defaults to `1`.
3896
- */
3897
- readonly enemy_attack_pollution_consumption_modifier: double
3898
- }
3899
- /**
3900
- * These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
3901
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EnemyEvolutionMapSettings.html Online documentation}
3902
- */
3903
- export interface EnemyEvolutionMapSettings {
3904
- /**
3905
- * Whether enemy evolution is enabled at all.
3906
- */
3907
- readonly enabled: boolean
3908
- /**
3909
- * The amount evolution naturally progresses by every second. Defaults to `0.000004`.
3910
- */
3911
- readonly time_factor: double
3912
- /**
3913
- * The amount evolution progresses for every destroyed spawner. Defaults to `0.002`.
3914
- */
3915
- readonly destroy_factor: double
3916
- /**
3917
- * The amount evolution progresses for every unit of pollution. Defaults to `0.0000009`.
3918
- */
3919
- readonly pollution_factor: double
3920
- }
3921
3837
  /**
3922
3838
  * Candidate chunks are given scores to determine which one of them should be expanded into. This score takes into account various settings noted below. The iteration is over a square region centered around the chunk for which the calculation is done, and includes the central chunk as well. Distances are calculated as {@linkplain https://en.wikipedia.org/wiki/Taxicab_geometry Manhattan distance}.
3923
3839
  *
@@ -3936,7 +3852,7 @@ declare module "factorio:runtime" {
3936
3852
  * * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
3937
3853
  * score(chunk) = 1 / (1 + player + base)
3938
3854
  * ```
3939
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EnemyExpansionMapSettings.html Online documentation}
3855
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EnemyExpansionMapSettings.html Online documentation}
3940
3856
  */
3941
3857
  export interface EnemyExpansionMapSettings {
3942
3858
  /**
@@ -3992,6 +3908,14 @@ declare module "factorio:runtime" {
3992
3908
  */
3993
3909
  readonly max_expansion_cooldown: uint
3994
3910
  }
3911
+ /**
3912
+ * Used by {@link MapSettings} and {@link MapAndDifficultySettings}.
3913
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidMapSettings.html Online documentation}
3914
+ */
3915
+ export interface AsteroidMapSettings {
3916
+ readonly spawning_rate: double
3917
+ readonly max_ray_portals_expanded_per_tick: uint
3918
+ }
3995
3919
  export interface SteeringMapSetting {
3996
3920
  /**
3997
3921
  * Does not include the radius of the unit.
@@ -4195,17 +4119,17 @@ declare module "factorio:runtime" {
4195
4119
  }
4196
4120
  /**
4197
4121
  * Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
4198
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/DifficultySettings.html Online documentation}
4122
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DifficultySettings.html Online documentation}
4199
4123
  */
4200
4124
  export interface DifficultySettings {
4201
4125
  /**
4202
4126
  * A value in range [0.001, 1000].
4203
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
4127
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
4204
4128
  */
4205
4129
  technology_price_multiplier: double
4206
4130
  /**
4207
4131
  * A value in range [0.01, 100].
4208
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
4132
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
4209
4133
  */
4210
4134
  spoil_time_modifier: double
4211
4135
  }
@@ -4221,7 +4145,7 @@ declare module "factorio:runtime" {
4221
4145
  }
4222
4146
  /**
4223
4147
  * A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
4224
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapAndDifficultySettings.html Online documentation}
4148
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapAndDifficultySettings.html Online documentation}
4225
4149
  */
4226
4150
  export interface MapAndDifficultySettings {
4227
4151
  readonly pollution: PollutionMapSettings
@@ -4242,7 +4166,7 @@ declare module "factorio:runtime" {
4242
4166
  * @example
4243
4167
  * -- Increase the number of short paths the pathfinder can cache.
4244
4168
  * game.map_settings.path_finder.short_cache_size = 15
4245
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapSettings.html Online documentation}
4169
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapSettings.html Online documentation}
4246
4170
  */
4247
4171
  export interface MapSettings {
4248
4172
  pollution: PollutionMapSettings
@@ -4254,13 +4178,89 @@ declare module "factorio:runtime" {
4254
4178
  asteroids: AsteroidMapSettings
4255
4179
  /**
4256
4180
  * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
4257
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
4181
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
4258
4182
  */
4259
4183
  max_failed_behavior_count: uint
4260
4184
  }
4185
+ /**
4186
+ * 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}
4188
+ */
4189
+ export interface PollutionMapSettings {
4190
+ /**
4191
+ * Whether pollution is enabled at all.
4192
+ */
4193
+ readonly enabled: boolean
4194
+ /**
4195
+ * The amount that is diffused to a neighboring chunk (possibly repeated for other directions as well). Defaults to `0.02`.
4196
+ */
4197
+ readonly diffusion_ratio: double
4198
+ /**
4199
+ * The amount of PUs that need to be in a chunk for it to start diffusing. Defaults to `15`.
4200
+ */
4201
+ readonly min_to_diffuse: double
4202
+ /**
4203
+ * The amount of pollution eaten by a chunk's tiles as a percentage of 1. Also known as absorption modifier. Defaults to `1`.
4204
+ */
4205
+ readonly ageing: double
4206
+ /**
4207
+ * Any amount of pollution larger than this value is visualized as this value instead. Defaults to `150`.
4208
+ */
4209
+ readonly expected_max_per_chunk: double
4210
+ /**
4211
+ * Any amount of pollution smaller than this value (but bigger than zero) is visualized as this value instead. Defaults to `50`.
4212
+ */
4213
+ readonly min_to_show_per_chunk: double
4214
+ /**
4215
+ * Defaults to `60`.
4216
+ */
4217
+ readonly min_pollution_to_damage_trees: double
4218
+ /**
4219
+ * Defaults to `150`.
4220
+ */
4221
+ readonly pollution_with_max_forest_damage: double
4222
+ /**
4223
+ * Defaults to `50`.
4224
+ */
4225
+ readonly pollution_per_tree_damage: double
4226
+ /**
4227
+ * Defaults to `10`.
4228
+ */
4229
+ readonly pollution_restored_per_tree_damage: double
4230
+ /**
4231
+ * Defaults to `20`.
4232
+ */
4233
+ readonly max_pollution_to_restore_trees: double
4234
+ /**
4235
+ * Defaults to `1`.
4236
+ */
4237
+ readonly enemy_attack_pollution_consumption_modifier: double
4238
+ }
4239
+ /**
4240
+ * 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}
4242
+ */
4243
+ export interface EnemyEvolutionMapSettings {
4244
+ /**
4245
+ * Whether enemy evolution is enabled at all.
4246
+ */
4247
+ readonly enabled: boolean
4248
+ /**
4249
+ * The amount evolution naturally progresses by every second. Defaults to `0.000004`.
4250
+ */
4251
+ readonly time_factor: double
4252
+ /**
4253
+ * The amount evolution progresses for every destroyed spawner. Defaults to `0.002`.
4254
+ */
4255
+ readonly destroy_factor: double
4256
+ /**
4257
+ * The amount evolution progresses for every unit of pollution. Defaults to `0.0000009`.
4258
+ */
4259
+ readonly pollution_factor: double
4260
+ }
4261
4261
  /**
4262
4262
  * @see CliffPlacementSettingsWrite
4263
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CliffPlacementSettings.html Online documentation}
4263
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CliffPlacementSettings.html Online documentation}
4264
4264
  */
4265
4265
  export interface CliffPlacementSettings {
4266
4266
  /**
@@ -4290,7 +4290,7 @@ declare module "factorio:runtime" {
4290
4290
  }
4291
4291
  /**
4292
4292
  * 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.44/concepts/CliffPlacementSettings.html Online documentation}
4293
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CliffPlacementSettings.html Online documentation}
4294
4294
  */
4295
4295
  export interface CliffPlacementSettingsWrite {
4296
4296
  /**
@@ -4320,7 +4320,7 @@ declare module "factorio:runtime" {
4320
4320
  }
4321
4321
  /**
4322
4322
  * @see AutoplaceSettingsWrite
4323
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AutoplaceSettings.html Online documentation}
4323
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceSettings.html Online documentation}
4324
4324
  */
4325
4325
  export interface AutoplaceSettings {
4326
4326
  /**
@@ -4334,7 +4334,7 @@ declare module "factorio:runtime" {
4334
4334
  }
4335
4335
  /**
4336
4336
  * 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.44/concepts/AutoplaceSettings.html Online documentation}
4337
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceSettings.html Online documentation}
4338
4338
  */
4339
4339
  export interface AutoplaceSettingsWrite {
4340
4340
  /**
@@ -4369,7 +4369,7 @@ declare module "factorio:runtime" {
4369
4369
  * surface.map_gen_settings = mgs
4370
4370
  * -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
4371
4371
  * -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
4372
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapGenSettings.html Online documentation}
4372
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapGenSettings.html Online documentation}
4373
4373
  */
4374
4374
  export interface MapGenSettings {
4375
4375
  /**
@@ -4424,7 +4424,7 @@ declare module "factorio:runtime" {
4424
4424
  }
4425
4425
  /**
4426
4426
  * 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.44/concepts/MapGenSettings.html Online documentation}
4427
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapGenSettings.html Online documentation}
4428
4428
  */
4429
4429
  export interface MapGenSettingsWrite {
4430
4430
  /**
@@ -4479,7 +4479,7 @@ declare module "factorio:runtime" {
4479
4479
  }
4480
4480
  /**
4481
4481
  * Specifies how probability and richness are calculated when placing something on the map.
4482
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AutoplaceSpecification.html Online documentation}
4482
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceSpecification.html Online documentation}
4483
4483
  */
4484
4484
  export interface AutoplaceSpecification {
4485
4485
  /**
@@ -4514,7 +4514,7 @@ declare module "factorio:runtime" {
4514
4514
  }
4515
4515
  /**
4516
4516
  * A single pipe connection for a given fluidbox.
4517
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/PipeConnection.html Online documentation}
4517
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PipeConnection.html Online documentation}
4518
4518
  */
4519
4519
  export interface PipeConnection {
4520
4520
  readonly flow_direction: "input" | "output" | "input-output"
@@ -4579,7 +4579,7 @@ declare module "factorio:runtime" {
4579
4579
  * - `"check-box"`
4580
4580
  * - `"switch"`
4581
4581
  * - `"label"`
4582
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SimulationWidgetType.html Online documentation}
4582
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SimulationWidgetType.html Online documentation}
4583
4583
  */
4584
4584
  export type SimulationWidgetType =
4585
4585
  | "signal-id"
@@ -4780,7 +4780,7 @@ declare module "factorio:runtime" {
4780
4780
  * - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
4781
4781
  * - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
4782
4782
  * - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
4783
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TrainPathRequestType.html Online documentation}
4783
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrainPathRequestType.html Online documentation}
4784
4784
  */
4785
4785
  export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
4786
4786
  /**
@@ -4789,7 +4789,7 @@ declare module "factorio:runtime" {
4789
4789
  * - {@link RailEndGoal}
4790
4790
  * - {@link LuaRailEnd}
4791
4791
  * - {@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.44/concepts/TrainPathFinderGoal.html Online documentation}
4792
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TrainPathFinderGoal.html Online documentation}
4793
4793
  */
4794
4794
  export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
4795
4795
  export interface TrainStopGoal {
@@ -4919,7 +4919,7 @@ declare module "factorio:runtime" {
4919
4919
  * - {@link LuaEntityMarkedForUpgradeEventFilter}
4920
4920
  * - {@link LuaScriptRaisedDestroyEventFilter}
4921
4921
  * @see EventFilterWrite
4922
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EventFilter.html Online documentation}
4922
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EventFilter.html Online documentation}
4923
4923
  */
4924
4924
  export type EventFilter =
4925
4925
  | LuaScriptRaisedTeleportedEventFilter[]
@@ -4949,7 +4949,7 @@ declare module "factorio:runtime" {
4949
4949
  | LuaScriptRaisedDestroyEventFilter[]
4950
4950
  /**
4951
4951
  * 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.44/concepts/EventFilter.html Online documentation}
4952
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EventFilter.html Online documentation}
4953
4953
  */
4954
4954
  export type EventFilterWrite =
4955
4955
  | readonly LuaScriptRaisedTeleportedEventFilter[]
@@ -5001,7 +5001,7 @@ declare module "factorio:runtime" {
5001
5001
  * - {@link LuaGuiElement}: Target type {@link defines.target_type.gui_element gui_element}; `useful_id` {@link LuaGuiElement#index LuaGuiElement::index}
5002
5002
  * - {@link LuaCargoHatch}: Target type {@link defines.target_type.cargo_hatch cargo_hatch}
5003
5003
  * - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
5004
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/RegistrationTarget.html Online documentation}
5004
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RegistrationTarget.html Online documentation}
5005
5005
  */
5006
5006
  export type RegistrationTarget =
5007
5007
  | LuaEntity
@@ -5071,7 +5071,7 @@ declare module "factorio:runtime" {
5071
5071
  * - {@link FluidPrototypeFilter}
5072
5072
  * - {@link EntityPrototypeFilter}
5073
5073
  * @see PrototypeFilterWrite
5074
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/PrototypeFilter.html Online documentation}
5074
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PrototypeFilter.html Online documentation}
5075
5075
  */
5076
5076
  export type PrototypeFilter =
5077
5077
  | ModSettingPrototypeFilter[]
@@ -5088,7 +5088,7 @@ declare module "factorio:runtime" {
5088
5088
  | EntityPrototypeFilter[]
5089
5089
  /**
5090
5090
  * 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.44/concepts/PrototypeFilter.html Online documentation}
5091
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PrototypeFilter.html Online documentation}
5092
5092
  */
5093
5093
  export type PrototypeFilterWrite =
5094
5094
  | readonly ModSettingPrototypeFilter[]
@@ -5107,7 +5107,7 @@ declare module "factorio:runtime" {
5107
5107
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
5108
5108
  *
5109
5109
  * By default, none of these flags are set.
5110
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EntityPrototypeFlags.html Online documentation}
5110
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFlags.html Online documentation}
5111
5111
  */
5112
5112
  export type EntityPrototypeFlags = {
5113
5113
  readonly [T in EntityPrototypeFlag]?: true
@@ -5142,7 +5142,7 @@ declare module "factorio:runtime" {
5142
5142
  * - `"building-direction-16-way"`
5143
5143
  * - `"snap-to-rail-support-spot"`
5144
5144
  * - `"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.44/concepts/EntityPrototypeFlag.html Online documentation}
5145
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFlag.html Online documentation}
5146
5146
  */
5147
5147
  export type EntityPrototypeFlag =
5148
5148
  | "not-rotatable"
@@ -5178,7 +5178,7 @@ declare module "factorio:runtime" {
5178
5178
  * - `"local"`: The sound can be heard within the audible range around the speaker.
5179
5179
  * - `"surface"`: The sound can be heard anywhere on the speaker's surface.
5180
5180
  * - `"global"`: The sound can be heard everywhere.
5181
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
5181
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
5182
5182
  */
5183
5183
  export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
5184
5184
  /**
@@ -5203,7 +5203,7 @@ declare module "factorio:runtime" {
5203
5203
  * - `"none-to-south"`
5204
5204
  * - `"south-to-none"`
5205
5205
  * - `"none-to-north"`
5206
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CliffOrientation.html Online documentation}
5206
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CliffOrientation.html Online documentation}
5207
5207
  */
5208
5208
  export type CliffOrientation =
5209
5209
  | "west-to-east"
@@ -5253,7 +5253,7 @@ declare module "factorio:runtime" {
5253
5253
  /**
5254
5254
  * Defines an item type that a blueprint entity will request.
5255
5255
  * @see BlueprintInsertPlanWrite
5256
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintInsertPlan.html Online documentation}
5256
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInsertPlan.html Online documentation}
5257
5257
  */
5258
5258
  export interface BlueprintInsertPlan {
5259
5259
  /**
@@ -5267,7 +5267,7 @@ declare module "factorio:runtime" {
5267
5267
  }
5268
5268
  /**
5269
5269
  * 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.44/concepts/BlueprintInsertPlan.html Online documentation}
5270
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintInsertPlan.html Online documentation}
5271
5271
  */
5272
5272
  export interface BlueprintInsertPlanWrite {
5273
5273
  /**
@@ -5295,7 +5295,7 @@ declare module "factorio:runtime" {
5295
5295
  }
5296
5296
  /**
5297
5297
  * A single offer on a market entity.
5298
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Offer.html Online documentation}
5298
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Offer.html Online documentation}
5299
5299
  */
5300
5300
  export interface Offer {
5301
5301
  /**
@@ -5332,7 +5332,7 @@ declare module "factorio:runtime" {
5332
5332
  * - `"weapon"`
5333
5333
  * - `"explosion"`
5334
5334
  * - `"enemy"`
5335
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SoundType.html Online documentation}
5335
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SoundType.html Online documentation}
5336
5336
  */
5337
5337
  export type SoundType =
5338
5338
  | "game-effect"
@@ -5373,7 +5373,7 @@ declare module "factorio:runtime" {
5373
5373
  }
5374
5374
  /**
5375
5375
  * @see BlueprintLogisticFilterWrite
5376
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintLogisticFilter.html Online documentation}
5376
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintLogisticFilter.html Online documentation}
5377
5377
  */
5378
5378
  export interface BlueprintLogisticFilter {
5379
5379
  readonly index: LogisticFilterIndex
@@ -5403,7 +5403,7 @@ declare module "factorio:runtime" {
5403
5403
  }
5404
5404
  /**
5405
5405
  * 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.44/concepts/BlueprintLogisticFilter.html Online documentation}
5406
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintLogisticFilter.html Online documentation}
5407
5407
  */
5408
5408
  export interface BlueprintLogisticFilterWrite {
5409
5409
  readonly index: LogisticFilterIndex
@@ -5433,7 +5433,7 @@ declare module "factorio:runtime" {
5433
5433
  }
5434
5434
  /**
5435
5435
  * @see LogisticSectionWrite
5436
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LogisticSection.html Online documentation}
5436
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSection.html Online documentation}
5437
5437
  */
5438
5438
  export interface LogisticSection {
5439
5439
  readonly index: uint8
@@ -5450,7 +5450,7 @@ declare module "factorio:runtime" {
5450
5450
  }
5451
5451
  /**
5452
5452
  * 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.44/concepts/LogisticSection.html Online documentation}
5453
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSection.html Online documentation}
5454
5454
  */
5455
5455
  export interface LogisticSectionWrite {
5456
5456
  readonly index: uint8
@@ -5467,7 +5467,7 @@ declare module "factorio:runtime" {
5467
5467
  }
5468
5468
  /**
5469
5469
  * @see LogisticSectionsWrite
5470
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LogisticSections.html Online documentation}
5470
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSections.html Online documentation}
5471
5471
  */
5472
5472
  export interface LogisticSections {
5473
5473
  readonly sections?: LogisticSection[]
@@ -5478,7 +5478,7 @@ declare module "factorio:runtime" {
5478
5478
  }
5479
5479
  /**
5480
5480
  * 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.44/concepts/LogisticSections.html Online documentation}
5481
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LogisticSections.html Online documentation}
5482
5482
  */
5483
5483
  export interface LogisticSectionsWrite {
5484
5484
  readonly sections?: readonly LogisticSectionWrite[]
@@ -5487,6 +5487,35 @@ declare module "factorio:runtime" {
5487
5487
  */
5488
5488
  readonly trash_not_requested?: boolean
5489
5489
  }
5490
+ /**
5491
+ * ## Union members
5492
+ * - {@link LuaItemPrototype}
5493
+ * - {@link LuaFluidPrototype}
5494
+ * - {@link LuaRecipePrototype}
5495
+ * - {@link LuaEntityPrototype}
5496
+ * - {@link LuaTilePrototype}
5497
+ * - {@link LuaSpaceLocationPrototype}
5498
+ * - {@link LuaTechnologyPrototype}: Does not actually have an entry in Factoriopedia.
5499
+ * - {@link LuaAmmoCategoryPrototype}
5500
+ * - {@link LuaSpaceConnectionPrototype}
5501
+ * - {@link LuaAsteroidChunkPrototype}
5502
+ * - {@link LuaVirtualSignalPrototype}
5503
+ * - {@link LuaSurfacePrototype}
5504
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FactoriopediaID.html Online documentation}
5505
+ */
5506
+ export type FactoriopediaID =
5507
+ | LuaItemPrototype
5508
+ | LuaFluidPrototype
5509
+ | LuaRecipePrototype
5510
+ | LuaEntityPrototype
5511
+ | LuaTilePrototype
5512
+ | LuaSpaceLocationPrototype
5513
+ | LuaTechnologyPrototype
5514
+ | LuaAmmoCategoryPrototype
5515
+ | LuaSpaceConnectionPrototype
5516
+ | LuaAsteroidChunkPrototype
5517
+ | LuaVirtualSignalPrototype
5518
+ | LuaSurfacePrototype
5490
5519
  export interface TriggerItem {
5491
5520
  readonly type: "direct" | "area" | "line" | "cluster"
5492
5521
  readonly action_delivery?: TriggerDelivery[]
@@ -5509,7 +5538,7 @@ declare module "factorio:runtime" {
5509
5538
  }
5510
5539
  /**
5511
5540
  * A set of trigger target masks.
5512
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TriggerTargetMask.html Online documentation}
5541
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TriggerTargetMask.html Online documentation}
5513
5542
  */
5514
5543
  export type TriggerTargetMask = Record<string, true>
5515
5544
  export interface TriggerDelivery {
@@ -5554,7 +5583,7 @@ declare module "factorio:runtime" {
5554
5583
  * - `"destroy-decoratives"`
5555
5584
  * - `"camera-effect"`
5556
5585
  * - `"activate-impact"`
5557
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TriggerEffectItemType.html Online documentation}
5586
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TriggerEffectItemType.html Online documentation}
5558
5587
  */
5559
5588
  export type TriggerEffectItemType =
5560
5589
  | "damage"
@@ -5618,7 +5647,7 @@ declare module "factorio:runtime" {
5618
5647
  * -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
5619
5648
  * -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
5620
5649
  * -- translation result would be "Unknown key: 'item-description.furnace'".
5621
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LocalisedString.html Online documentation}
5650
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LocalisedString.html Online documentation}
5622
5651
  */
5623
5652
  export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
5624
5653
  export interface DisplayResolution {
@@ -5629,7 +5658,7 @@ declare module "factorio:runtime" {
5629
5658
  * 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".
5630
5659
  *
5631
5660
  * For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
5632
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/RealOrientation.html Online documentation}
5661
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RealOrientation.html Online documentation}
5633
5662
  */
5634
5663
  export type RealOrientation = float
5635
5664
  /**
@@ -5644,7 +5673,7 @@ declare module "factorio:runtime" {
5644
5673
  * @example
5645
5674
  * -- Shorthand
5646
5675
  * {1.625, 2.375}
5647
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapPosition.html Online documentation}
5676
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapPosition.html Online documentation}
5648
5677
  */
5649
5678
  export interface MapPosition {
5650
5679
  readonly x: double
@@ -5653,13 +5682,13 @@ declare module "factorio:runtime" {
5653
5682
  /**
5654
5683
  * Array form of {@link MapPosition}.
5655
5684
  * @see MapPosition
5656
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapPosition.html Online documentation}
5685
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapPosition.html Online documentation}
5657
5686
  */
5658
5687
  export type MapPositionArray = readonly [double, double]
5659
5688
  /**
5660
5689
  * 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.
5661
5690
  * @see ChunkPositionArray
5662
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ChunkPosition.html Online documentation}
5691
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChunkPosition.html Online documentation}
5663
5692
  */
5664
5693
  export interface ChunkPosition {
5665
5694
  readonly x: int
@@ -5668,13 +5697,13 @@ declare module "factorio:runtime" {
5668
5697
  /**
5669
5698
  * Array form of {@link ChunkPosition}.
5670
5699
  * @see ChunkPosition
5671
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ChunkPosition.html Online documentation}
5700
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChunkPosition.html Online documentation}
5672
5701
  */
5673
5702
  export type ChunkPositionArray = readonly [int, int]
5674
5703
  /**
5675
5704
  * 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.
5676
5705
  * @see TilePositionArray
5677
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TilePosition.html Online documentation}
5706
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePosition.html Online documentation}
5678
5707
  */
5679
5708
  export interface TilePosition {
5680
5709
  readonly x: int
@@ -5683,7 +5712,7 @@ declare module "factorio:runtime" {
5683
5712
  /**
5684
5713
  * Array form of {@link TilePosition}.
5685
5714
  * @see TilePosition
5686
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TilePosition.html Online documentation}
5715
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePosition.html Online documentation}
5687
5716
  */
5688
5717
  export type TilePositionArray = readonly [int, int]
5689
5718
  /**
@@ -5696,7 +5725,7 @@ declare module "factorio:runtime" {
5696
5725
  * @example
5697
5726
  * -- Shorthand
5698
5727
  * {1, 2}
5699
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EquipmentPosition.html Online documentation}
5728
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPosition.html Online documentation}
5700
5729
  */
5701
5730
  export interface EquipmentPosition {
5702
5731
  readonly x: int
@@ -5705,13 +5734,13 @@ declare module "factorio:runtime" {
5705
5734
  /**
5706
5735
  * Array form of {@link EquipmentPosition}.
5707
5736
  * @see EquipmentPosition
5708
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EquipmentPosition.html Online documentation}
5737
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPosition.html Online documentation}
5709
5738
  */
5710
5739
  export type EquipmentPositionArray = readonly [int, int]
5711
5740
  /**
5712
5741
  * 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.
5713
5742
  * @see GuiLocationArray
5714
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GuiLocation.html Online documentation}
5743
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiLocation.html Online documentation}
5715
5744
  */
5716
5745
  export interface GuiLocation {
5717
5746
  readonly x: int
@@ -5720,12 +5749,12 @@ declare module "factorio:runtime" {
5720
5749
  /**
5721
5750
  * Array form of {@link GuiLocation}.
5722
5751
  * @see GuiLocation
5723
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GuiLocation.html Online documentation}
5752
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiLocation.html Online documentation}
5724
5753
  */
5725
5754
  export type GuiLocationArray = readonly [int, int]
5726
5755
  /**
5727
5756
  * A {@link ChunkPosition} with an added bounding box for the area of the chunk.
5728
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ChunkPositionAndArea.html Online documentation}
5757
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChunkPositionAndArea.html Online documentation}
5729
5758
  */
5730
5759
  export interface ChunkPositionAndArea {
5731
5760
  readonly x: int
@@ -5734,7 +5763,7 @@ declare module "factorio:runtime" {
5734
5763
  }
5735
5764
  /**
5736
5765
  * A table used to define a manual shape for a piece of equipment.
5737
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EquipmentPoint.html Online documentation}
5766
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPoint.html Online documentation}
5738
5767
  */
5739
5768
  export interface EquipmentPoint {
5740
5769
  readonly x: uint
@@ -5770,7 +5799,7 @@ declare module "factorio:runtime" {
5770
5799
  * 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.
5771
5800
  * @example
5772
5801
  * {a = 1, b = true, c = "three", d = {e = "f"}}
5773
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Tags.html Online documentation}
5802
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Tags.html Online documentation}
5774
5803
  */
5775
5804
  export type Tags = Record<string, AnyBasic>
5776
5805
  export interface SurfaceCondition {
@@ -5804,13 +5833,13 @@ declare module "factorio:runtime" {
5804
5833
  * 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.
5805
5834
  * @example
5806
5835
  * right = {1.0, 0.0}
5807
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Vector.html Online documentation}
5836
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Vector.html Online documentation}
5808
5837
  */
5809
5838
  export type Vector = MapPositionArray
5810
5839
  /**
5811
5840
  * An area defined using the map editor.
5812
5841
  * @see ScriptAreaWrite
5813
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScriptArea.html Online documentation}
5842
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptArea.html Online documentation}
5814
5843
  */
5815
5844
  export interface ScriptArea {
5816
5845
  readonly area: BoundingBox
@@ -5820,7 +5849,7 @@ declare module "factorio:runtime" {
5820
5849
  }
5821
5850
  /**
5822
5851
  * Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
5823
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScriptArea.html Online documentation}
5852
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptArea.html Online documentation}
5824
5853
  */
5825
5854
  export interface ScriptAreaWrite {
5826
5855
  readonly area: BoundingBoxWrite | BoundingBoxArray
@@ -5831,7 +5860,7 @@ declare module "factorio:runtime" {
5831
5860
  /**
5832
5861
  * A position defined using the map editor.
5833
5862
  * @see ScriptPositionWrite
5834
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScriptPosition.html Online documentation}
5863
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptPosition.html Online documentation}
5835
5864
  */
5836
5865
  export interface ScriptPosition {
5837
5866
  readonly position: MapPosition
@@ -5841,7 +5870,7 @@ declare module "factorio:runtime" {
5841
5870
  }
5842
5871
  /**
5843
5872
  * Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
5844
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScriptPosition.html Online documentation}
5873
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScriptPosition.html Online documentation}
5845
5874
  */
5846
5875
  export interface ScriptPositionWrite {
5847
5876
  readonly position: MapPosition | MapPositionArray
@@ -5859,7 +5888,7 @@ declare module "factorio:runtime" {
5859
5888
  * red2 = {r = 0.5, a = 0.5} -- Same color as red1
5860
5889
  * black = {} -- All channels omitted: black
5861
5890
  * red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
5862
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Color.html Online documentation}
5891
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Color.html Online documentation}
5863
5892
  */
5864
5893
  export interface Color {
5865
5894
  readonly r?: float
@@ -5870,13 +5899,13 @@ declare module "factorio:runtime" {
5870
5899
  /**
5871
5900
  * Array form of {@link Color}.
5872
5901
  * @see Color
5873
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Color.html Online documentation}
5902
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Color.html Online documentation}
5874
5903
  */
5875
5904
  export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
5876
5905
  /**
5877
5906
  * 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].
5878
5907
  * @see ColorModifierArray
5879
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ColorModifier.html Online documentation}
5908
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ColorModifier.html Online documentation}
5880
5909
  */
5881
5910
  export interface ColorModifier {
5882
5911
  readonly r?: float
@@ -5887,7 +5916,7 @@ declare module "factorio:runtime" {
5887
5916
  /**
5888
5917
  * Array form of {@link ColorModifier}.
5889
5918
  * @see ColorModifier
5890
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ColorModifier.html Online documentation}
5919
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ColorModifier.html Online documentation}
5891
5920
  */
5892
5921
  export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
5893
5922
  export interface CraftingQueueItem {
@@ -6030,7 +6059,7 @@ declare module "factorio:runtime" {
6030
6059
  }
6031
6060
  /**
6032
6061
  * @see AsteroidChunkWrite
6033
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AsteroidChunk.html Online documentation}
6062
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidChunk.html Online documentation}
6034
6063
  */
6035
6064
  export interface AsteroidChunk {
6036
6065
  /**
@@ -6042,7 +6071,7 @@ declare module "factorio:runtime" {
6042
6071
  }
6043
6072
  /**
6044
6073
  * Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
6045
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AsteroidChunk.html Online documentation}
6074
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AsteroidChunk.html Online documentation}
6046
6075
  */
6047
6076
  export interface AsteroidChunkWrite {
6048
6077
  /**
@@ -6064,7 +6093,7 @@ declare module "factorio:runtime" {
6064
6093
  }
6065
6094
  /**
6066
6095
  * Either `icon`, `text`, or both must be provided.
6067
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ChartTagSpec.html Online documentation}
6096
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ChartTagSpec.html Online documentation}
6068
6097
  */
6069
6098
  export interface ChartTagSpec {
6070
6099
  readonly position: MapPosition | MapPositionArray
@@ -6074,93 +6103,93 @@ declare module "factorio:runtime" {
6074
6103
  }
6075
6104
  /**
6076
6105
  * 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.
6077
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.html Online documentation}
6106
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.html Online documentation}
6078
6107
  */
6079
6108
  export interface GameViewSettings {
6080
6109
  /**
6081
6110
  * Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
6082
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_controller_gui.html Online documentation}
6111
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_controller_gui.html Online documentation}
6083
6112
  */
6084
6113
  show_controller_gui: boolean
6085
6114
  /**
6086
6115
  * Show the chart in the upper right-hand corner of the screen.
6087
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_minimap.html Online documentation}
6116
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_minimap.html Online documentation}
6088
6117
  */
6089
6118
  show_minimap: boolean
6090
6119
  /**
6091
6120
  * Show research progress and name in the upper right-hand corner of the screen.
6092
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_research_info.html Online documentation}
6121
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_research_info.html Online documentation}
6093
6122
  */
6094
6123
  show_research_info: boolean
6095
6124
  /**
6096
6125
  * Show overlay icons on entities. Also known as "alt-mode".
6097
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_entity_info.html Online documentation}
6126
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_entity_info.html Online documentation}
6098
6127
  */
6099
6128
  show_entity_info: boolean
6100
6129
  /**
6101
6130
  * Show the flashing alert icons next to the player's toolbar.
6102
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_alert_gui.html Online documentation}
6131
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_alert_gui.html Online documentation}
6103
6132
  */
6104
6133
  show_alert_gui: boolean
6105
6134
  /**
6106
6135
  * When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
6107
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.update_entity_selection.html Online documentation}
6136
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.update_entity_selection.html Online documentation}
6108
6137
  */
6109
6138
  update_entity_selection: boolean
6110
6139
  /**
6111
6140
  * When `true` (`false` is default), the rails will always show the rail block visualisation.
6112
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
6141
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
6113
6142
  */
6114
6143
  show_rail_block_visualisation: boolean
6115
6144
  /**
6116
6145
  * Shows or hides the buttons row.
6117
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_side_menu.html Online documentation}
6146
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_side_menu.html Online documentation}
6118
6147
  */
6119
6148
  show_side_menu: boolean
6120
6149
  /**
6121
6150
  * Shows or hides the view options when map is opened.
6122
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_map_view_options.html Online documentation}
6151
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_map_view_options.html Online documentation}
6123
6152
  */
6124
6153
  show_map_view_options: boolean
6125
6154
  /**
6126
6155
  * Shows or hides the tooltip that is displayed when selecting an entity.
6127
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
6156
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
6128
6157
  */
6129
6158
  show_entity_tooltip: boolean
6130
6159
  /**
6131
6160
  * Shows or hides quickbar of shortcuts.
6132
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_quickbar.html Online documentation}
6161
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_quickbar.html Online documentation}
6133
6162
  */
6134
6163
  show_quickbar: boolean
6135
6164
  /**
6136
6165
  * Shows or hides the shortcut bar.
6137
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
6166
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
6138
6167
  */
6139
6168
  show_shortcut_bar: boolean
6140
6169
  /**
6141
6170
  * Shows or hides the crafting queue.
6142
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
6171
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
6143
6172
  */
6144
6173
  show_crafting_queue: boolean
6145
6174
  /**
6146
6175
  * Shows or hides the tool window with the weapons and armor.
6147
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_tool_bar.html Online documentation}
6176
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_tool_bar.html Online documentation}
6148
6177
  */
6149
6178
  show_tool_bar: boolean
6150
6179
  /**
6151
6180
  * Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
6152
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
6181
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
6153
6182
  */
6154
6183
  show_hotkey_suggestions: boolean
6155
6184
  /**
6156
6185
  * Shows or hides the surface list while in Remote View.
6157
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GameViewSettings.show_surface_list.html Online documentation}
6186
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GameViewSettings.show_surface_list.html Online documentation}
6158
6187
  */
6159
6188
  show_surface_list: boolean
6160
6189
  }
6161
6190
  /**
6162
6191
  * The data that can be extracted from a map exchange string, as a plain table.
6163
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapExchangeStringData.html Online documentation}
6192
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapExchangeStringData.html Online documentation}
6164
6193
  */
6165
6194
  export interface MapExchangeStringData {
6166
6195
  readonly map_settings: MapAndDifficultySettings
@@ -6168,7 +6197,7 @@ declare module "factorio:runtime" {
6168
6197
  }
6169
6198
  /**
6170
6199
  * @see BlueprintSignalIconWrite
6171
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintSignalIcon.html Online documentation}
6200
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSignalIcon.html Online documentation}
6172
6201
  */
6173
6202
  export interface BlueprintSignalIcon {
6174
6203
  /**
@@ -6182,7 +6211,7 @@ declare module "factorio:runtime" {
6182
6211
  }
6183
6212
  /**
6184
6213
  * Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
6185
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintSignalIcon.html Online documentation}
6214
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintSignalIcon.html Online documentation}
6186
6215
  */
6187
6216
  export interface BlueprintSignalIconWrite {
6188
6217
  /**
@@ -6211,12 +6240,12 @@ declare module "factorio:runtime" {
6211
6240
  * - `target_entity_number`
6212
6241
  *
6213
6242
  * - `target_wire_connector_id`
6214
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/BlueprintWire.html Online documentation}
6243
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/BlueprintWire.html Online documentation}
6215
6244
  */
6216
6245
  export type BlueprintWire = readonly [uint, defines.wire_connector_id, uint, defines.wire_connector_id]
6217
6246
  /**
6218
6247
  * @see TileWrite
6219
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Tile.html Online documentation}
6248
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Tile.html Online documentation}
6220
6249
  */
6221
6250
  export interface Tile {
6222
6251
  /**
@@ -6230,7 +6259,7 @@ declare module "factorio:runtime" {
6230
6259
  }
6231
6260
  /**
6232
6261
  * Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
6233
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Tile.html Online documentation}
6262
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Tile.html Online documentation}
6234
6263
  */
6235
6264
  export interface TileWrite {
6236
6265
  /**
@@ -6285,7 +6314,7 @@ declare module "factorio:runtime" {
6285
6314
  *
6286
6315
  * Other attributes may be specified depending on `type`:
6287
6316
  * - `"fluid"`: {@link FluidIngredient}
6288
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Ingredient.html Online documentation}
6317
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Ingredient.html Online documentation}
6289
6318
  */
6290
6319
  export type Ingredient = FluidIngredient | OtherIngredient
6291
6320
  export interface Loot {
@@ -6451,7 +6480,7 @@ declare module "factorio:runtime" {
6451
6480
  * - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
6452
6481
  * - `"nothing"`: {@link NothingTechnologyModifier}
6453
6482
  * - Other types: {@link OtherTechnologyModifier}
6454
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TechnologyModifier.html Online documentation}
6483
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyModifier.html Online documentation}
6455
6484
  */
6456
6485
  export type TechnologyModifier =
6457
6486
  | GunSpeedTechnologyModifier
@@ -6463,7 +6492,7 @@ declare module "factorio:runtime" {
6463
6492
  | OtherTechnologyModifier
6464
6493
  /**
6465
6494
  * 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}.
6466
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/NoiseExpression.html Online documentation}
6495
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/NoiseExpression.html Online documentation}
6467
6496
  */
6468
6497
  export interface NoiseExpression {
6469
6498
  /**
@@ -6516,7 +6545,7 @@ declare module "factorio:runtime" {
6516
6545
  * - `"very-high"`: equivalent to `2`.
6517
6546
  * - `"very-big"`: equivalent to `2`.
6518
6547
  * - `"very-good"`: equivalent to `2`.
6519
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MapGenSize.html Online documentation}
6548
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MapGenSize.html Online documentation}
6520
6549
  */
6521
6550
  export type MapGenSize =
6522
6551
  | float
@@ -6538,7 +6567,7 @@ declare module "factorio:runtime" {
6538
6567
  | "very-good"
6539
6568
  /**
6540
6569
  * @see AutoplaceControlWrite
6541
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AutoplaceControl.html Online documentation}
6570
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceControl.html Online documentation}
6542
6571
  */
6543
6572
  export interface AutoplaceControl {
6544
6573
  /**
@@ -6556,7 +6585,7 @@ declare module "factorio:runtime" {
6556
6585
  }
6557
6586
  /**
6558
6587
  * Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
6559
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AutoplaceControl.html Online documentation}
6588
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AutoplaceControl.html Online documentation}
6560
6589
  */
6561
6590
  export interface AutoplaceControlWrite {
6562
6591
  /**
@@ -6575,10 +6604,10 @@ declare module "factorio:runtime" {
6575
6604
  /**
6576
6605
  * 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}`.
6577
6606
  *
6578
- * {@link https://lua-api.factorio.com/2.0.44/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:}
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:}
6579
6608
  *
6580
- * {@link https://lua-api.factorio.com/2.0.44/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:}
6581
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/PropertyExpressionNames.html Online documentation}
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}
6582
6611
  */
6583
6612
  export type PropertyExpressionNames = Record<string, string>
6584
6613
  export interface AdvancedMapGenSettings {
@@ -6601,7 +6630,7 @@ declare module "factorio:runtime" {
6601
6630
  }
6602
6631
  /**
6603
6632
  * An actual signal transmitted by the network.
6604
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Signal.html Online documentation}
6633
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Signal.html Online documentation}
6605
6634
  */
6606
6635
  export interface Signal {
6607
6636
  /**
@@ -6615,7 +6644,7 @@ declare module "factorio:runtime" {
6615
6644
  }
6616
6645
  /**
6617
6646
  * A single filter used by an infinity-filters instance.
6618
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/InfinityInventoryFilter.html Online documentation}
6647
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/InfinityInventoryFilter.html Online documentation}
6619
6648
  */
6620
6649
  export interface InfinityInventoryFilter {
6621
6650
  /**
@@ -6637,7 +6666,7 @@ declare module "factorio:runtime" {
6637
6666
  }
6638
6667
  /**
6639
6668
  * A single filter used by an infinity-pipe type entity.
6640
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/InfinityPipeFilter.html Online documentation}
6669
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/InfinityPipeFilter.html Online documentation}
6641
6670
  */
6642
6671
  export interface InfinityPipeFilter {
6643
6672
  /**
@@ -6691,7 +6720,7 @@ declare module "factorio:runtime" {
6691
6720
  }
6692
6721
  /**
6693
6722
  * The settings used by a heat-interface type entity.
6694
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/HeatSetting.html Online documentation}
6723
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/HeatSetting.html Online documentation}
6695
6724
  */
6696
6725
  export interface HeatSetting {
6697
6726
  /**
@@ -6709,7 +6738,7 @@ declare module "factorio:runtime" {
6709
6738
  }
6710
6739
  /**
6711
6740
  * @see ArithmeticCombinatorParametersWrite
6712
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ArithmeticCombinatorParameters.html Online documentation}
6741
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ArithmeticCombinatorParameters.html Online documentation}
6713
6742
  */
6714
6743
  export interface ArithmeticCombinatorParameters {
6715
6744
  /**
@@ -6739,7 +6768,7 @@ declare module "factorio:runtime" {
6739
6768
  }
6740
6769
  /**
6741
6770
  * Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
6742
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ArithmeticCombinatorParameters.html Online documentation}
6771
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ArithmeticCombinatorParameters.html Online documentation}
6743
6772
  */
6744
6773
  export interface ArithmeticCombinatorParametersWrite {
6745
6774
  /**
@@ -6769,7 +6798,7 @@ declare module "factorio:runtime" {
6769
6798
  }
6770
6799
  /**
6771
6800
  * @see SelectorCombinatorParametersWrite
6772
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SelectorCombinatorParameters.html Online documentation}
6801
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SelectorCombinatorParameters.html Online documentation}
6773
6802
  */
6774
6803
  export interface SelectorCombinatorParameters {
6775
6804
  /**
@@ -6795,7 +6824,7 @@ declare module "factorio:runtime" {
6795
6824
  }
6796
6825
  /**
6797
6826
  * Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
6798
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SelectorCombinatorParameters.html Online documentation}
6827
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SelectorCombinatorParameters.html Online documentation}
6799
6828
  */
6800
6829
  export interface SelectorCombinatorParametersWrite {
6801
6830
  /**
@@ -6837,7 +6866,7 @@ declare module "factorio:runtime" {
6837
6866
  }
6838
6867
  /**
6839
6868
  * @see CircuitConditionWrite
6840
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CircuitCondition.html Online documentation}
6869
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitCondition.html Online documentation}
6841
6870
  */
6842
6871
  export interface CircuitCondition {
6843
6872
  /**
@@ -6859,7 +6888,7 @@ declare module "factorio:runtime" {
6859
6888
  }
6860
6889
  /**
6861
6890
  * Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
6862
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CircuitCondition.html Online documentation}
6891
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitCondition.html Online documentation}
6863
6892
  */
6864
6893
  export interface CircuitConditionWrite {
6865
6894
  /**
@@ -6881,7 +6910,7 @@ declare module "factorio:runtime" {
6881
6910
  }
6882
6911
  /**
6883
6912
  * @see CircuitConditionDefinitionWrite
6884
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CircuitConditionDefinition.html Online documentation}
6913
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitConditionDefinition.html Online documentation}
6885
6914
  */
6886
6915
  export interface CircuitConditionDefinition {
6887
6916
  /**
@@ -6895,7 +6924,7 @@ declare module "factorio:runtime" {
6895
6924
  }
6896
6925
  /**
6897
6926
  * Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
6898
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CircuitConditionDefinition.html Online documentation}
6927
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CircuitConditionDefinition.html Online documentation}
6899
6928
  */
6900
6929
  export interface CircuitConditionDefinitionWrite {
6901
6930
  /**
@@ -7170,7 +7199,7 @@ declare module "factorio:runtime" {
7170
7199
  * - {@link defines.command.stop}: {@link StopCommand}
7171
7200
  * - {@link defines.command.flee}: {@link FleeCommand}
7172
7201
  * - {@link defines.command.build_base}: {@link BuildBaseCommand}
7173
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Command.html Online documentation}
7202
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Command.html Online documentation}
7174
7203
  */
7175
7204
  export type Command =
7176
7205
  | AttackCommand
@@ -7184,7 +7213,7 @@ declare module "factorio:runtime" {
7184
7213
  | BuildBaseCommand
7185
7214
  /**
7186
7215
  * Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
7187
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Command.html Online documentation}
7216
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Command.html Online documentation}
7188
7217
  */
7189
7218
  export type CommandWrite =
7190
7219
  | AttackCommand
@@ -7269,7 +7298,7 @@ declare module "factorio:runtime" {
7269
7298
  * These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
7270
7299
  * "iron-plate"
7271
7300
  * {name="iron-plate", count=100}
7272
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SimpleItemStack.html Online documentation}
7301
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SimpleItemStack.html Online documentation}
7273
7302
  */
7274
7303
  export type SimpleItemStack = string | ItemStackDefinition
7275
7304
  /**
@@ -7279,7 +7308,7 @@ declare module "factorio:runtime" {
7279
7308
  * - 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.
7280
7309
  * - `string`: It will be the surface name. E.g. `"nauvis"`.
7281
7310
  * - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
7282
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SurfaceIdentification.html Online documentation}
7311
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SurfaceIdentification.html Online documentation}
7283
7312
  */
7284
7313
  export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
7285
7314
  /**
@@ -7289,7 +7318,7 @@ declare module "factorio:runtime" {
7289
7318
  * - PlayerIndex: The player index.
7290
7319
  * - `string`: The player name.
7291
7320
  * - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
7292
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/PlayerIdentification.html Online documentation}
7321
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/PlayerIdentification.html Online documentation}
7293
7322
  */
7294
7323
  export type PlayerIdentification = PlayerIndex | string | LuaPlayer
7295
7324
  /**
@@ -7298,7 +7327,7 @@ declare module "factorio:runtime" {
7298
7327
  * ## Union members
7299
7328
  * - {@link SimpleItemStack}
7300
7329
  * - {@link LuaItemStack}
7301
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ItemStackIdentification.html Online documentation}
7330
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemStackIdentification.html Online documentation}
7302
7331
  */
7303
7332
  export type ItemStackIdentification = SimpleItemStack | LuaItemStack
7304
7333
  /**
@@ -7308,7 +7337,7 @@ declare module "factorio:runtime" {
7308
7337
  * - `"entity"`: Fires at an entity.
7309
7338
  * - `"position"`: Fires directly at a position.
7310
7339
  * - `"direction"`: Fires in a direction.
7311
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TargetType.html Online documentation}
7340
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TargetType.html Online documentation}
7312
7341
  */
7313
7342
  export type TargetType = "entity" | "position" | "direction"
7314
7343
  export interface BeamTarget {
@@ -7345,8 +7374,8 @@ declare module "factorio:runtime" {
7345
7374
  *
7346
7375
  * The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
7347
7376
  *
7348
- * {@link https://lua-api.factorio.com/2.0.44/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
7349
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SoundPath.html Online documentation}
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}
7350
7379
  */
7351
7380
  export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
7352
7381
  export interface CircularParticleCreationSpecification {
@@ -7478,7 +7507,7 @@ declare module "factorio:runtime" {
7478
7507
  * Other attributes may be specified depending on `type`:
7479
7508
  * - `"projectile"`: {@link ProjectileAttackParameters}
7480
7509
  * - `"stream"`: {@link StreamAttackParameters}
7481
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AttackParameters.html Online documentation}
7510
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AttackParameters.html Online documentation}
7482
7511
  */
7483
7512
  export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
7484
7513
  export interface GunShift4Way {
@@ -7544,7 +7573,7 @@ declare module "factorio:runtime" {
7544
7573
  * - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
7545
7574
  * - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
7546
7575
  * - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
7547
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/CapsuleAction.html Online documentation}
7576
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/CapsuleAction.html Online documentation}
7548
7577
  */
7549
7578
  export type CapsuleAction =
7550
7579
  | ThrowCapsuleAction
@@ -7584,12 +7613,12 @@ declare module "factorio:runtime" {
7584
7613
  }
7585
7614
  /**
7586
7615
  * Any basic type (string, number, boolean) or table.
7587
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AnyBasic.html Online documentation}
7616
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AnyBasic.html Online documentation}
7588
7617
  */
7589
7618
  export type AnyBasic = string | boolean | number | table
7590
7619
  /**
7591
7620
  * Any basic type (string, number, boolean), table, or LuaObject.
7592
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Any.html Online documentation}
7621
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Any.html Online documentation}
7593
7622
  */
7594
7623
  export type Any = string | boolean | number | table | LuaObject
7595
7624
  export interface ProgrammableSpeakerParameters {
@@ -7599,7 +7628,7 @@ declare module "factorio:runtime" {
7599
7628
  }
7600
7629
  /**
7601
7630
  * @see ProgrammableSpeakerAlertParametersWrite
7602
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7631
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7603
7632
  */
7604
7633
  export interface ProgrammableSpeakerAlertParameters {
7605
7634
  readonly show_alert: boolean
@@ -7609,7 +7638,7 @@ declare module "factorio:runtime" {
7609
7638
  }
7610
7639
  /**
7611
7640
  * Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
7612
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7641
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7613
7642
  */
7614
7643
  export interface ProgrammableSpeakerAlertParametersWrite {
7615
7644
  readonly show_alert: boolean
@@ -7641,7 +7670,7 @@ declare module "factorio:runtime" {
7641
7670
  * - `"top-right"`
7642
7671
  * - `"right"`: The same as `"middle-right"`
7643
7672
  * - `"bottom-right"`
7644
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/Alignment.html Online documentation}
7673
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/Alignment.html Online documentation}
7645
7674
  */
7646
7675
  export type Alignment =
7647
7676
  | "top-left"
@@ -7674,8 +7703,8 @@ declare module "factorio:runtime" {
7674
7703
  _customEventIdBrand: any
7675
7704
  }
7676
7705
  /**
7677
- * 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.44/events.html the list of Factorio events} for more information on these.
7678
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EventData.html Online documentation}
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}
7679
7708
  */
7680
7709
  export interface EventData {
7681
7710
  /**
@@ -7784,7 +7813,7 @@ declare module "factorio:runtime" {
7784
7813
  * - `"button-7"`
7785
7814
  * - `"button-8"`
7786
7815
  * - `"button-9"`
7787
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/MouseButtonFlags.html Online documentation}
7816
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/MouseButtonFlags.html Online documentation}
7788
7817
  */
7789
7818
  export interface MouseButtonFlags {
7790
7819
  readonly left?: true
@@ -7807,7 +7836,7 @@ declare module "factorio:runtime" {
7807
7836
  * - `"not-friend"`: Forces which are not friends pass.
7808
7837
  * - `"same"`: The same force pass.
7809
7838
  * - `"not-same"`: The non-same forces pass.
7810
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ForceCondition.html Online documentation}
7839
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ForceCondition.html Online documentation}
7811
7840
  */
7812
7841
  export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
7813
7842
  export interface ItemStackLocation {
@@ -7845,7 +7874,7 @@ declare module "factorio:runtime" {
7845
7874
  * - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
7846
7875
  * - `"tab"`: A tab for use in a `tabbed-pane`.
7847
7876
  * - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
7848
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GuiElementType.html Online documentation}
7877
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiElementType.html Online documentation}
7849
7878
  */
7850
7879
  export type GuiElementType =
7851
7880
  | "button"
@@ -7885,7 +7914,7 @@ declare module "factorio:runtime" {
7885
7914
  * - `"position"`
7886
7915
  * - `"crafting_queue"`
7887
7916
  * - `"item_stack"`: Will point to a given item stack in an inventory.
7888
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GuiArrowType.html Online documentation}
7917
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiArrowType.html Online documentation}
7889
7918
  */
7890
7919
  export type GuiArrowType =
7891
7920
  | "nowhere"
@@ -7902,7 +7931,7 @@ declare module "factorio:runtime" {
7902
7931
  * ## Union members
7903
7932
  * - `"horizontal"`
7904
7933
  * - `"vertical"`
7905
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/GuiDirection.html Online documentation}
7934
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/GuiDirection.html Online documentation}
7906
7935
  */
7907
7936
  export type GuiDirection = "horizontal" | "vertical"
7908
7937
  /**
@@ -7914,7 +7943,7 @@ declare module "factorio:runtime" {
7914
7943
  * - `"always"`
7915
7944
  * - `"auto"`
7916
7945
  * - `"auto-and-reserve-space"`
7917
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ScrollPolicy.html Online documentation}
7946
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ScrollPolicy.html Online documentation}
7918
7947
  */
7919
7948
  export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
7920
7949
  export interface RailLocation {
@@ -7931,71 +7960,71 @@ declare module "factorio:runtime" {
7931
7960
  }
7932
7961
  /**
7933
7962
  * 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.
7934
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/float.html Online documentation}
7963
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/float.html Online documentation}
7935
7964
  */
7936
7965
  export type float = number
7937
7966
  /**
7938
7967
  * A double-precision floating-point number. This is the same data type as all Lua numbers use.
7939
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/double.html Online documentation}
7968
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/double.html Online documentation}
7940
7969
  */
7941
7970
  export type double = number
7942
7971
  /**
7943
7972
  * 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
7944
7973
  *
7945
7974
  * Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
7946
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/int.html Online documentation}
7975
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/int.html Online documentation}
7947
7976
  */
7948
7977
  export type int = number
7949
7978
  /**
7950
7979
  * 8-bit signed integer. Possible values are `-128` to `127`.
7951
7980
  *
7952
7981
  * Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
7953
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/int8.html Online documentation}
7982
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/int8.html Online documentation}
7954
7983
  */
7955
7984
  export type int8 = number
7956
7985
  /**
7957
7986
  * 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
7958
7987
  *
7959
7988
  * Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
7960
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/uint.html Online documentation}
7989
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint.html Online documentation}
7961
7990
  */
7962
7991
  export type uint = number
7963
7992
  /**
7964
7993
  * 8-bit unsigned integer. Possible values are `0` to `255`.
7965
7994
  *
7966
7995
  * Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
7967
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/uint8.html Online documentation}
7996
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint8.html Online documentation}
7968
7997
  */
7969
7998
  export type uint8 = number
7970
7999
  /**
7971
8000
  * 16-bit unsigned integer. Possible values are `0` to `65 535`.
7972
8001
  *
7973
8002
  * Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
7974
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/uint16.html Online documentation}
8003
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint16.html Online documentation}
7975
8004
  */
7976
8005
  export type uint16 = number
7977
8006
  /**
7978
8007
  * 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
7979
8008
  *
7980
8009
  * Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
7981
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/uint64.html Online documentation}
8010
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/uint64.html Online documentation}
7982
8011
  */
7983
8012
  export type uint64 = number
7984
8013
  /**
7985
8014
  * 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.
7986
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/nil.html Online documentation}
8015
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/nil.html Online documentation}
7987
8016
  */
7988
8017
  export type nil = undefined
7989
8018
  /**
7990
8019
  * Tables are enclosed in curly brackets, like this `{}`.
7991
8020
  *
7992
8021
  * 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.
7993
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/table.html Online documentation}
8022
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/table.html Online documentation}
7994
8023
  */
7995
8024
  export type table = object
7996
8025
  /**
7997
- * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.44/classes.html Classes} page.
7998
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaObject.html Online documentation}
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}
7999
8028
  */
8000
8029
  export interface LuaObject {
8001
8030
  readonly object_name: string
@@ -8054,7 +8083,7 @@ declare module "factorio:runtime" {
8054
8083
  * - `"type"`: {@link TypeModSettingPrototypeFilter}
8055
8084
  * - `"mod"`: {@link ModModSettingPrototypeFilter}
8056
8085
  * - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
8057
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ModSettingPrototypeFilter.html Online documentation}
8086
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ModSettingPrototypeFilter.html Online documentation}
8058
8087
  */
8059
8088
  export type ModSettingPrototypeFilter =
8060
8089
  | TypeModSettingPrototypeFilter
@@ -8118,7 +8147,7 @@ declare module "factorio:runtime" {
8118
8147
  * Other attributes may be specified depending on `filter`:
8119
8148
  * - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
8120
8149
  * - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
8121
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8150
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8122
8151
  */
8123
8152
  export type SpaceLocationPrototypeFilter =
8124
8153
  | TypeSpaceLocationPrototypeFilter
@@ -8126,7 +8155,7 @@ declare module "factorio:runtime" {
8126
8155
  | OtherSpaceLocationPrototypeFilter
8127
8156
  /**
8128
8157
  * Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8129
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8158
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8130
8159
  */
8131
8160
  export type SpaceLocationPrototypeFilterWrite =
8132
8161
  | TypeSpaceLocationPrototypeFilter
@@ -8174,7 +8203,7 @@ declare module "factorio:runtime" {
8174
8203
  *
8175
8204
  * Other attributes may be specified depending on `filter`:
8176
8205
  * - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
8177
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/DecorativePrototypeFilter.html Online documentation}
8206
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/DecorativePrototypeFilter.html Online documentation}
8178
8207
  */
8179
8208
  export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
8180
8209
  /**
@@ -8316,7 +8345,7 @@ declare module "factorio:runtime" {
8316
8345
  * - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
8317
8346
  * - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
8318
8347
  * - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
8319
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TilePrototypeFilter.html Online documentation}
8348
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePrototypeFilter.html Online documentation}
8320
8349
  */
8321
8350
  export type TilePrototypeFilter =
8322
8351
  | CollisionMaskTilePrototypeFilter
@@ -8327,7 +8356,7 @@ declare module "factorio:runtime" {
8327
8356
  | OtherTilePrototypeFilter
8328
8357
  /**
8329
8358
  * Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
8330
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TilePrototypeFilter.html Online documentation}
8359
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TilePrototypeFilter.html Online documentation}
8331
8360
  */
8332
8361
  export type TilePrototypeFilterWrite =
8333
8362
  | CollisionMaskTilePrototypeFilter
@@ -8682,7 +8711,7 @@ declare module "factorio:runtime" {
8682
8711
  * - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
8683
8712
  * - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
8684
8713
  * - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
8685
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ItemPrototypeFilter.html Online documentation}
8714
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFilter.html Online documentation}
8686
8715
  */
8687
8716
  export type ItemPrototypeFilter =
8688
8717
  | PlaceResultItemPrototypeFilter
@@ -8704,7 +8733,7 @@ declare module "factorio:runtime" {
8704
8733
  | OtherItemPrototypeFilter
8705
8734
  /**
8706
8735
  * Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8707
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/ItemPrototypeFilter.html Online documentation}
8736
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/ItemPrototypeFilter.html Online documentation}
8708
8737
  */
8709
8738
  export type ItemPrototypeFilterWrite =
8710
8739
  | PlaceResultItemPrototypeFilterWrite
@@ -8844,7 +8873,7 @@ declare module "factorio:runtime" {
8844
8873
  * - `"level"`: {@link LevelTechnologyPrototypeFilter}
8845
8874
  * - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
8846
8875
  * - `"time"`: {@link TimeTechnologyPrototypeFilter}
8847
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TechnologyPrototypeFilter.html Online documentation}
8876
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyPrototypeFilter.html Online documentation}
8848
8877
  */
8849
8878
  export type TechnologyPrototypeFilter =
8850
8879
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -8855,7 +8884,7 @@ declare module "factorio:runtime" {
8855
8884
  | OtherTechnologyPrototypeFilter
8856
8885
  /**
8857
8886
  * Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8858
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/TechnologyPrototypeFilter.html Online documentation}
8887
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/TechnologyPrototypeFilter.html Online documentation}
8859
8888
  */
8860
8889
  export type TechnologyPrototypeFilterWrite =
8861
8890
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -9115,7 +9144,7 @@ declare module "factorio:runtime" {
9115
9144
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
9116
9145
  * - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
9117
9146
  * - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
9118
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/RecipePrototypeFilter.html Online documentation}
9147
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RecipePrototypeFilter.html Online documentation}
9119
9148
  */
9120
9149
  export type RecipePrototypeFilter =
9121
9150
  | HasIngredientItemRecipePrototypeFilter
@@ -9131,7 +9160,7 @@ declare module "factorio:runtime" {
9131
9160
  | OtherRecipePrototypeFilter
9132
9161
  /**
9133
9162
  * Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
9134
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/RecipePrototypeFilter.html Online documentation}
9163
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/RecipePrototypeFilter.html Online documentation}
9135
9164
  */
9136
9165
  export type RecipePrototypeFilterWrite =
9137
9166
  | HasIngredientItemRecipePrototypeFilterWrite
@@ -9183,7 +9212,7 @@ declare module "factorio:runtime" {
9183
9212
  *
9184
9213
  * Other attributes may be specified depending on `filter`:
9185
9214
  * - `"type"`: {@link TypeAchievementPrototypeFilter}
9186
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/AchievementPrototypeFilter.html Online documentation}
9215
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/AchievementPrototypeFilter.html Online documentation}
9187
9216
  */
9188
9217
  export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
9189
9218
  /**
@@ -9224,7 +9253,7 @@ declare module "factorio:runtime" {
9224
9253
  *
9225
9254
  * Other attributes may be specified depending on `filter`:
9226
9255
  * - `"type"`: {@link TypeEquipmentPrototypeFilter}
9227
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EquipmentPrototypeFilter.html Online documentation}
9256
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EquipmentPrototypeFilter.html Online documentation}
9228
9257
  */
9229
9258
  export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
9230
9259
  /**
@@ -9409,7 +9438,7 @@ declare module "factorio:runtime" {
9409
9438
  * - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
9410
9439
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
9411
9440
  * - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
9412
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/FluidPrototypeFilter.html Online documentation}
9441
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidPrototypeFilter.html Online documentation}
9413
9442
  */
9414
9443
  export type FluidPrototypeFilter =
9415
9444
  | NameFluidPrototypeFilter
@@ -9423,7 +9452,7 @@ declare module "factorio:runtime" {
9423
9452
  | OtherFluidPrototypeFilter
9424
9453
  /**
9425
9454
  * Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9426
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/FluidPrototypeFilter.html Online documentation}
9455
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/FluidPrototypeFilter.html Online documentation}
9427
9456
  */
9428
9457
  export type FluidPrototypeFilterWrite =
9429
9458
  | NameFluidPrototypeFilter
@@ -9663,7 +9692,7 @@ declare module "factorio:runtime" {
9663
9692
  * - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
9664
9693
  * - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
9665
9694
  * - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
9666
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EntityPrototypeFilter.html Online documentation}
9695
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFilter.html Online documentation}
9667
9696
  */
9668
9697
  export type EntityPrototypeFilter =
9669
9698
  | NameEntityPrototypeFilter
@@ -9677,7 +9706,7 @@ declare module "factorio:runtime" {
9677
9706
  | OtherEntityPrototypeFilter
9678
9707
  /**
9679
9708
  * Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9680
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/EntityPrototypeFilter.html Online documentation}
9709
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/EntityPrototypeFilter.html Online documentation}
9681
9710
  */
9682
9711
  export type EntityPrototypeFilterWrite =
9683
9712
  | NameEntityPrototypeFilter
@@ -9786,7 +9815,7 @@ declare module "factorio:runtime" {
9786
9815
  * - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
9787
9816
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
9788
9817
  * - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
9789
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
9818
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
9790
9819
  */
9791
9820
  export type LuaScriptRaisedTeleportedEventFilter =
9792
9821
  | TypeScriptRaisedTeleportedEventFilter
@@ -9891,7 +9920,7 @@ declare module "factorio:runtime" {
9891
9920
  * - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
9892
9921
  * - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
9893
9922
  * - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
9894
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
9923
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
9895
9924
  */
9896
9925
  export type LuaPreRobotMinedEntityEventFilter =
9897
9926
  | TypePreRobotMinedEntityEventFilter
@@ -9996,7 +10025,7 @@ declare module "factorio:runtime" {
9996
10025
  * - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
9997
10026
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
9998
10027
  * - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
9999
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
10028
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
10000
10029
  */
10001
10030
  export type LuaScriptRaisedBuiltEventFilter =
10002
10031
  | TypeScriptRaisedBuiltEventFilter
@@ -10101,7 +10130,7 @@ declare module "factorio:runtime" {
10101
10130
  * - `"name"`: {@link NamePlatformMinedEntityEventFilter}
10102
10131
  * - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
10103
10132
  * - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
10104
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10133
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10105
10134
  */
10106
10135
  export type LuaPlatformMinedEntityEventFilter =
10107
10136
  | TypePlatformMinedEntityEventFilter
@@ -10218,7 +10247,7 @@ declare module "factorio:runtime" {
10218
10247
  * - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
10219
10248
  * - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
10220
10249
  * - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
10221
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
10250
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
10222
10251
  */
10223
10252
  export type LuaRobotBuiltEntityEventFilter =
10224
10253
  | TypeRobotBuiltEntityEventFilter
@@ -10324,7 +10353,7 @@ declare module "factorio:runtime" {
10324
10353
  * - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
10325
10354
  * - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
10326
10355
  * - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
10327
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10356
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
10328
10357
  */
10329
10358
  export type LuaPrePlayerMinedEntityEventFilter =
10330
10359
  | TypePrePlayerMinedEntityEventFilter
@@ -10431,7 +10460,7 @@ declare module "factorio:runtime" {
10431
10460
  * - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
10432
10461
  * - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
10433
10462
  * - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
10434
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10463
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10435
10464
  */
10436
10465
  export type LuaEntityDeconstructionCancelledEventFilter =
10437
10466
  | TypeEntityDeconstructionCancelledEventFilter
@@ -10536,7 +10565,7 @@ declare module "factorio:runtime" {
10536
10565
  * - `"name"`: {@link NamePreGhostUpgradedEventFilter}
10537
10566
  * - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
10538
10567
  * - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
10539
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
10568
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
10540
10569
  */
10541
10570
  export type LuaPreGhostUpgradedEventFilter =
10542
10571
  | TypePreGhostUpgradedEventFilter
@@ -10653,7 +10682,7 @@ declare module "factorio:runtime" {
10653
10682
  * - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
10654
10683
  * - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
10655
10684
  * - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
10656
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
10685
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
10657
10686
  */
10658
10687
  export type LuaPlatformBuiltEntityEventFilter =
10659
10688
  | TypePlatformBuiltEntityEventFilter
@@ -10759,7 +10788,7 @@ declare module "factorio:runtime" {
10759
10788
  * - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
10760
10789
  * - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
10761
10790
  * - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
10762
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
10791
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
10763
10792
  */
10764
10793
  export type LuaPrePlatformMinedEntityEventFilter =
10765
10794
  | TypePrePlatformMinedEntityEventFilter
@@ -10864,7 +10893,7 @@ declare module "factorio:runtime" {
10864
10893
  * - `"name"`: {@link NameEntityClonedEventFilter}
10865
10894
  * - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
10866
10895
  * - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
10867
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityClonedEventFilter.html Online documentation}
10896
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityClonedEventFilter.html Online documentation}
10868
10897
  */
10869
10898
  export type LuaEntityClonedEventFilter =
10870
10899
  | TypeEntityClonedEventFilter
@@ -10969,7 +10998,7 @@ declare module "factorio:runtime" {
10969
10998
  * - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
10970
10999
  * - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
10971
11000
  * - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
10972
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11001
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
10973
11002
  */
10974
11003
  export type LuaPlayerRepairedEntityEventFilter =
10975
11004
  | TypePlayerRepairedEntityEventFilter
@@ -11015,7 +11044,7 @@ declare module "factorio:runtime" {
11015
11044
  *
11016
11045
  * Other attributes may be specified depending on `filter`:
11017
11046
  * - `"type"`: {@link TypePostEntityDiedEventFilter}
11018
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11047
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11019
11048
  */
11020
11049
  export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter | OtherPostEntityDiedEventFilter
11021
11050
  /**
@@ -11115,7 +11144,7 @@ declare module "factorio:runtime" {
11115
11144
  * - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
11116
11145
  * - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
11117
11146
  * - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
11118
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
11147
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
11119
11148
  */
11120
11149
  export type LuaPreGhostDeconstructedEventFilter =
11121
11150
  | TypePreGhostDeconstructedEventFilter
@@ -11220,7 +11249,7 @@ declare module "factorio:runtime" {
11220
11249
  * - `"name"`: {@link NamePlayerMinedEntityEventFilter}
11221
11250
  * - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
11222
11251
  * - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
11223
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11252
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11224
11253
  */
11225
11254
  export type LuaPlayerMinedEntityEventFilter =
11226
11255
  | TypePlayerMinedEntityEventFilter
@@ -11325,7 +11354,7 @@ declare module "factorio:runtime" {
11325
11354
  * - `"name"`: {@link NameSectorScannedEventFilter}
11326
11355
  * - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
11327
11356
  * - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
11328
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaSectorScannedEventFilter.html Online documentation}
11357
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaSectorScannedEventFilter.html Online documentation}
11329
11358
  */
11330
11359
  export type LuaSectorScannedEventFilter =
11331
11360
  | TypeSectorScannedEventFilter
@@ -11430,7 +11459,7 @@ declare module "factorio:runtime" {
11430
11459
  * - `"name"`: {@link NameRobotMinedEntityEventFilter}
11431
11460
  * - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
11432
11461
  * - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
11433
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
11462
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
11434
11463
  */
11435
11464
  export type LuaRobotMinedEntityEventFilter =
11436
11465
  | TypeRobotMinedEntityEventFilter
@@ -11537,7 +11566,7 @@ declare module "factorio:runtime" {
11537
11566
  * - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
11538
11567
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
11539
11568
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
11540
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
11569
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
11541
11570
  */
11542
11571
  export type LuaEntityMarkedForDeconstructionEventFilter =
11543
11572
  | TypeEntityMarkedForDeconstructionEventFilter
@@ -11642,7 +11671,7 @@ declare module "factorio:runtime" {
11642
11671
  * - `"name"`: {@link NameScriptRaisedReviveEventFilter}
11643
11672
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
11644
11673
  * - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
11645
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
11674
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
11646
11675
  */
11647
11676
  export type LuaScriptRaisedReviveEventFilter =
11648
11677
  | TypeScriptRaisedReviveEventFilter
@@ -11759,7 +11788,7 @@ declare module "factorio:runtime" {
11759
11788
  * - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
11760
11789
  * - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
11761
11790
  * - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
11762
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
11791
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
11763
11792
  */
11764
11793
  export type LuaPlayerBuiltEntityEventFilter =
11765
11794
  | TypePlayerBuiltEntityEventFilter
@@ -11865,7 +11894,7 @@ declare module "factorio:runtime" {
11865
11894
  * - `"name"`: {@link NameUpgradeCancelledEventFilter}
11866
11895
  * - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
11867
11896
  * - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
11868
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
11897
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
11869
11898
  */
11870
11899
  export type LuaUpgradeCancelledEventFilter =
11871
11900
  | TypeUpgradeCancelledEventFilter
@@ -12045,7 +12074,7 @@ declare module "factorio:runtime" {
12045
12074
  * - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
12046
12075
  * - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
12047
12076
  * - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
12048
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12077
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12049
12078
  */
12050
12079
  export type LuaEntityDamagedEventFilter =
12051
12080
  | TypeEntityDamagedEventFilter
@@ -12059,7 +12088,7 @@ declare module "factorio:runtime" {
12059
12088
  | OtherEntityDamagedEventFilter
12060
12089
  /**
12061
12090
  * Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
12062
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12091
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12063
12092
  */
12064
12093
  export type LuaEntityDamagedEventFilterWrite =
12065
12094
  | TypeEntityDamagedEventFilter
@@ -12168,7 +12197,7 @@ declare module "factorio:runtime" {
12168
12197
  * - `"name"`: {@link NameEntityDiedEventFilter}
12169
12198
  * - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
12170
12199
  * - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
12171
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityDiedEventFilter.html Online documentation}
12200
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityDiedEventFilter.html Online documentation}
12172
12201
  */
12173
12202
  export type LuaEntityDiedEventFilter =
12174
12203
  | TypeEntityDiedEventFilter
@@ -12273,7 +12302,7 @@ declare module "factorio:runtime" {
12273
12302
  * - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
12274
12303
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
12275
12304
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
12276
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
12305
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
12277
12306
  */
12278
12307
  export type LuaEntityMarkedForUpgradeEventFilter =
12279
12308
  | TypeEntityMarkedForUpgradeEventFilter
@@ -12378,7 +12407,7 @@ declare module "factorio:runtime" {
12378
12407
  * - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
12379
12408
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
12380
12409
  * - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
12381
- * @see {@link https://lua-api.factorio.com/2.0.44/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
12410
+ * @see {@link https://lua-api.factorio.com/2.0.45/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
12382
12411
  */
12383
12412
  export type LuaScriptRaisedDestroyEventFilter =
12384
12413
  | TypeScriptRaisedDestroyEventFilter