typed-factorio 3.16.0 → 3.18.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.
@@ -12,21 +12,21 @@ import type { VersionString } from "factorio:common"
12
12
  declare module "factorio:runtime" {
13
13
  /**
14
14
  * `math.huge` represents the maximum possible tick.
15
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapTick.html Online documentation}
15
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapTick.html Online documentation}
16
16
  */
17
17
  export type MapTick = uint64
18
18
  /**
19
19
  * The percentual increase of the attribute. A value of `0.6` means a 60% increase.
20
20
  *
21
21
  * Quality values are divided by 10 internally, allowing for one more decimal of precision.
22
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ModuleEffectValue.html Online documentation}
22
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ModuleEffectValue.html Online documentation}
23
23
  */
24
24
  export type ModuleEffectValue = float
25
25
  /**
26
26
  * @example
27
27
  * -- These are the effects of the vanilla Speed Module 3
28
28
  * {speed = 0.5, consumption = 0.7, quality = -0.25}
29
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ModuleEffects.html Online documentation}
29
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ModuleEffects.html Online documentation}
30
30
  */
31
31
  export interface ModuleEffects {
32
32
  readonly consumption?: ModuleEffectValue
@@ -50,7 +50,7 @@ declare module "factorio:runtime" {
50
50
  * - `"<="`: "lesser than or equal to"
51
51
  * - `"≠"`: "not equal to"
52
52
  * - `"!="`: "not equal to"
53
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ComparatorString.html Online documentation}
53
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ComparatorString.html Online documentation}
54
54
  */
55
55
  export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
56
56
  export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
@@ -81,8 +81,8 @@ declare module "factorio:runtime" {
81
81
  *
82
82
  * The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
83
83
  *
84
- * {@link https://lua-api.factorio.com/2.0.39/concepts/SpritePath.html > The supported types are:}
85
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SpritePath.html Online documentation}
84
+ * {@link https://lua-api.factorio.com/2.0.43/concepts/SpritePath.html > The supported types are:}
85
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SpritePath.html Online documentation}
86
86
  */
87
87
  export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
88
88
  /**
@@ -93,14 +93,14 @@ declare module "factorio:runtime" {
93
93
  * - {@link FluidID}: Used with fluid production statistics.
94
94
  * - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
95
95
  * - {@link EntityID}: Used with pollution statistics.
96
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/FlowStatisticsID.html Online documentation}
96
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/FlowStatisticsID.html Online documentation}
97
97
  */
98
98
  export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
99
99
  /**
100
100
  * @example
101
101
  * -- Most common collision mask of buildings:
102
102
  * collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
103
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CollisionMask.html Online documentation}
103
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CollisionMask.html Online documentation}
104
104
  */
105
105
  export interface CollisionMask {
106
106
  /**
@@ -228,7 +228,7 @@ declare module "factorio:runtime" {
228
228
  * - `"check-box"`
229
229
  * - `"switch"`
230
230
  * - `"label"`
231
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SimulationWidgetType.html Online documentation}
231
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SimulationWidgetType.html Online documentation}
232
232
  */
233
233
  export type SimulationWidgetType =
234
234
  | "signal-id"
@@ -354,7 +354,7 @@ declare module "factorio:runtime" {
354
354
  * - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
355
355
  * - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
356
356
  * - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
357
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TrainPathRequestType.html Online documentation}
357
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TrainPathRequestType.html Online documentation}
358
358
  */
359
359
  export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
360
360
  /**
@@ -363,7 +363,7 @@ declare module "factorio:runtime" {
363
363
  * - {@link RailEndGoal}
364
364
  * - {@link LuaRailEnd}
365
365
  * - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
366
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TrainPathFinderGoal.html Online documentation}
366
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TrainPathFinderGoal.html Online documentation}
367
367
  */
368
368
  export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
369
369
  export interface TrainStopGoal {
@@ -486,7 +486,7 @@ declare module "factorio:runtime" {
486
486
  }
487
487
  /**
488
488
  * A single pipe connection for a given fluidbox.
489
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PipeConnection.html Online documentation}
489
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PipeConnection.html Online documentation}
490
490
  */
491
491
  export interface PipeConnection {
492
492
  readonly flow_direction: "input" | "output" | "input-output"
@@ -549,7 +549,7 @@ declare module "factorio:runtime" {
549
549
  * - {@link LuaEntityDiedEventFilter}
550
550
  * - {@link LuaPreRobotMinedEntityEventFilter}
551
551
  * @see EventFilterWrite
552
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EventFilter.html Online documentation}
552
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EventFilter.html Online documentation}
553
553
  */
554
554
  export type EventFilter =
555
555
  | LuaPrePlatformMinedEntityEventFilter[]
@@ -579,7 +579,7 @@ declare module "factorio:runtime" {
579
579
  | LuaPreRobotMinedEntityEventFilter[]
580
580
  /**
581
581
  * Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
582
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EventFilter.html Online documentation}
582
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EventFilter.html Online documentation}
583
583
  */
584
584
  export type EventFilterWrite =
585
585
  | readonly LuaPrePlatformMinedEntityEventFilter[]
@@ -631,7 +631,7 @@ declare module "factorio:runtime" {
631
631
  * - {@link LuaGuiElement}: Target type {@link defines.target_type.gui_element gui_element}; `useful_id` {@link LuaGuiElement#index LuaGuiElement::index}
632
632
  * - {@link LuaCargoHatch}: Target type {@link defines.target_type.cargo_hatch cargo_hatch}
633
633
  * - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
634
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RegistrationTarget.html Online documentation}
634
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RegistrationTarget.html Online documentation}
635
635
  */
636
636
  export type RegistrationTarget =
637
637
  | LuaEntity
@@ -834,7 +834,7 @@ declare module "factorio:runtime" {
834
834
  * - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
835
835
  * - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
836
836
  * - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
837
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/UndoRedoAction.html Online documentation}
837
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/UndoRedoAction.html Online documentation}
838
838
  */
839
839
  export type UndoRedoAction =
840
840
  | BuiltEntityUndoRedoAction
@@ -866,7 +866,7 @@ declare module "factorio:runtime" {
866
866
  * - `"weapon"`
867
867
  * - `"explosion"`
868
868
  * - `"enemy"`
869
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SoundType.html Online documentation}
869
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SoundType.html Online documentation}
870
870
  */
871
871
  export type SoundType =
872
872
  | "game-effect"
@@ -918,6 +918,62 @@ declare module "factorio:runtime" {
918
918
  */
919
919
  readonly spoil_percent?: double
920
920
  }
921
+ export interface UpgradeMapperDestination {
922
+ /**
923
+ * `"item"`, or `"entity"`.
924
+ */
925
+ readonly type: "item" | "entity"
926
+ /**
927
+ * Name of the item, or entity.
928
+ */
929
+ readonly name?: string
930
+ /**
931
+ * Name of the quality.
932
+ */
933
+ readonly quality?: string
934
+ /**
935
+ * when type is `"item"` and the mapper is configured to install modules the limit per machine. If `0` then no limit.
936
+ */
937
+ readonly count?: uint
938
+ }
939
+ /**
940
+ * @see UpgradeMapperSourceWrite
941
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/UpgradeMapperSource.html Online documentation}
942
+ */
943
+ export interface UpgradeMapperSource {
944
+ readonly type: "item" | "entity"
945
+ /**
946
+ * Name of the item, or entity.
947
+ */
948
+ readonly name?: string
949
+ /**
950
+ * Name of the quality prototype.
951
+ */
952
+ readonly quality?: string
953
+ /**
954
+ * The quality comparison type.
955
+ */
956
+ readonly comparator?: ComparatorStringRead
957
+ }
958
+ /**
959
+ * Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
960
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/UpgradeMapperSource.html Online documentation}
961
+ */
962
+ export interface UpgradeMapperSourceWrite {
963
+ readonly type: "item" | "entity"
964
+ /**
965
+ * Name of the item, or entity.
966
+ */
967
+ readonly name?: string
968
+ /**
969
+ * Name of the quality prototype.
970
+ */
971
+ readonly quality?: string
972
+ /**
973
+ * The quality comparison type.
974
+ */
975
+ readonly comparator?: ComparatorString
976
+ }
921
977
  /**
922
978
  * A set of flags on a selection tool that define how entities and tiles are selected. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
923
979
  *
@@ -949,7 +1005,7 @@ declare module "factorio:runtime" {
949
1005
  * - `"controllable-remove"`
950
1006
  * - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
951
1007
  * - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
952
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SelectionModeFlags.html Online documentation}
1008
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SelectionModeFlags.html Online documentation}
953
1009
  */
954
1010
  export interface SelectionModeFlags {
955
1011
  /**
@@ -1068,7 +1124,7 @@ declare module "factorio:runtime" {
1068
1124
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
1069
1125
  *
1070
1126
  * By default, none of these flags are set.
1071
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemPrototypeFlags.html Online documentation}
1127
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemPrototypeFlags.html Online documentation}
1072
1128
  */
1073
1129
  export type ItemPrototypeFlags = {
1074
1130
  readonly [T in ItemPrototypeFlag]?: true
@@ -1089,7 +1145,7 @@ declare module "factorio:runtime" {
1089
1145
  * - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
1090
1146
  * - `"spoil-result"`
1091
1147
  * - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
1092
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemPrototypeFlag.html Online documentation}
1148
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemPrototypeFlag.html Online documentation}
1093
1149
  */
1094
1150
  export type ItemPrototypeFlag =
1095
1151
  | "draw-logistic-overlay"
@@ -1109,7 +1165,7 @@ declare module "factorio:runtime" {
1109
1165
  * - `"none"`
1110
1166
  * - `"whitelist"`
1111
1167
  * - `"blacklist"`
1112
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PrototypeFilterMode.html Online documentation}
1168
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PrototypeFilterMode.html Online documentation}
1113
1169
  */
1114
1170
  export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
1115
1171
  export interface PipeConnectionDefinition {
@@ -1134,7 +1190,7 @@ declare module "factorio:runtime" {
1134
1190
  * The name of a {@link LuaCollisionLayerPrototype}.
1135
1191
  * @example
1136
1192
  * "is_lower_object"
1137
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CollisionLayerID.html Online documentation}
1193
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CollisionLayerID.html Online documentation}
1138
1194
  */
1139
1195
  export type CollisionLayerID = string
1140
1196
  export interface ItemIDFilter {
@@ -1184,7 +1240,7 @@ declare module "factorio:runtime" {
1184
1240
  * - {@link SpaceLocationPrototypeFilter}
1185
1241
  * - {@link FluidPrototypeFilter}
1186
1242
  * @see PrototypeFilterWrite
1187
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PrototypeFilter.html Online documentation}
1243
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PrototypeFilter.html Online documentation}
1188
1244
  */
1189
1245
  export type PrototypeFilter =
1190
1246
  | ModSettingPrototypeFilter[]
@@ -1201,7 +1257,7 @@ declare module "factorio:runtime" {
1201
1257
  | FluidPrototypeFilter[]
1202
1258
  /**
1203
1259
  * Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
1204
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PrototypeFilter.html Online documentation}
1260
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PrototypeFilter.html Online documentation}
1205
1261
  */
1206
1262
  export type PrototypeFilterWrite =
1207
1263
  | readonly ModSettingPrototypeFilter[]
@@ -1218,7 +1274,7 @@ declare module "factorio:runtime" {
1218
1274
  | readonly FluidPrototypeFilterWrite[]
1219
1275
  /**
1220
1276
  * @see DisplayPanelMessageDefinitionWrite
1221
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DisplayPanelMessageDefinition.html Online documentation}
1277
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DisplayPanelMessageDefinition.html Online documentation}
1222
1278
  */
1223
1279
  export interface DisplayPanelMessageDefinition {
1224
1280
  /**
@@ -1236,7 +1292,7 @@ declare module "factorio:runtime" {
1236
1292
  }
1237
1293
  /**
1238
1294
  * Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
1239
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DisplayPanelMessageDefinition.html Online documentation}
1295
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DisplayPanelMessageDefinition.html Online documentation}
1240
1296
  */
1241
1297
  export interface DisplayPanelMessageDefinitionWrite {
1242
1298
  /**
@@ -1262,7 +1318,7 @@ declare module "factorio:runtime" {
1262
1318
  * - `"space-location"`
1263
1319
  * - `"asteroid-chunk"`
1264
1320
  * - `"quality"`
1265
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SignalIDType.html Online documentation}
1321
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SignalIDType.html Online documentation}
1266
1322
  */
1267
1323
  export type SignalIDType =
1268
1324
  | "item"
@@ -1275,7 +1331,7 @@ declare module "factorio:runtime" {
1275
1331
  | "quality"
1276
1332
  /**
1277
1333
  * @see SignalIDWrite
1278
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SignalID.html Online documentation}
1334
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SignalID.html Online documentation}
1279
1335
  */
1280
1336
  export interface SignalID {
1281
1337
  /**
@@ -1293,7 +1349,7 @@ declare module "factorio:runtime" {
1293
1349
  }
1294
1350
  /**
1295
1351
  * Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
1296
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SignalID.html Online documentation}
1352
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SignalID.html Online documentation}
1297
1353
  */
1298
1354
  export interface SignalIDWrite {
1299
1355
  /**
@@ -1499,7 +1555,7 @@ declare module "factorio:runtime" {
1499
1555
  * - `"play-next-track"`
1500
1556
  * - `"play-previous-track"`
1501
1557
  * - `"pause-resume-music"`
1502
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LinkedGameControl.html Online documentation}
1558
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LinkedGameControl.html Online documentation}
1503
1559
  */
1504
1560
  export type LinkedGameControl =
1505
1561
  | "move-up"
@@ -1750,7 +1806,7 @@ declare module "factorio:runtime" {
1750
1806
  * - `"create-ghost-on-entity-death"`
1751
1807
  * - `"belt-stack-size-bonus"`
1752
1808
  * - `"vehicle-logistics"`
1753
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ModifierType.html Online documentation}
1809
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ModifierType.html Online documentation}
1754
1810
  */
1755
1811
  export type ModifierType =
1756
1812
  | "inserter-stack-size-bonus"
@@ -1869,7 +1925,7 @@ declare module "factorio:runtime" {
1869
1925
  * - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
1870
1926
  * - `"build-entity"`: {@link BuildEntityResearchTrigger}
1871
1927
  * - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
1872
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ResearchTrigger.html Online documentation}
1928
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ResearchTrigger.html Online documentation}
1873
1929
  */
1874
1930
  export type ResearchTrigger =
1875
1931
  | CraftItemResearchTrigger
@@ -1883,7 +1939,7 @@ declare module "factorio:runtime" {
1883
1939
  * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
1884
1940
  *
1885
1941
  * By default, none of these flags are set.
1886
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityPrototypeFlags.html Online documentation}
1942
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityPrototypeFlags.html Online documentation}
1887
1943
  */
1888
1944
  export type EntityPrototypeFlags = {
1889
1945
  readonly [T in EntityPrototypeFlag]?: true
@@ -1900,7 +1956,7 @@ declare module "factorio:runtime" {
1900
1956
  * - `"player-creation"`: Makes it possible to blueprint, deconstruct, and repair the entity (which can be turned off again using the specific flags). Makes it possible for the biter AI to target the entity as a distraction. Enables dust to automatically be created when building the entity. If the entity does not have a `map_color` set, this flag makes the entity appear on the map with the default color specified by the UtilityConstants.
1901
1957
  * - `"building-direction-8-way"`: Uses 45 degree angle increments when selecting direction.
1902
1958
  * - `"filter-directions"`: Used to automatically detect the proper direction of the entity if possible. Used by the pump, train stop, and train signal by default.
1903
- * - `"get-by-unit-number"`: When set, entity will be possible to obtain by using {@link LuaGameScript#get_entity_by_unit_number LuaGameScript::get_entity_by_unit_number}. It also changes input actions sent by a player to be selecting entity by unit number instead of a position which may help players in latency to select moving entities.
1959
+ * - `"get-by-unit-number"`: When set, entity will be possible to obtain by using {@link LuaGameScript#get_entity_by_unit_number LuaGameScript::get_entity_by_unit_number}.
1904
1960
  * - `"breaths-air"`: Used to specify that the entity breathes air, and is thus affected by poison.
1905
1961
  * - `"not-repairable"`: Used to specify that the entity can not be 'healed' by repair packs.
1906
1962
  * - `"not-on-map"`: Prevents the entity from being drawn on the map.
@@ -1918,7 +1974,7 @@ declare module "factorio:runtime" {
1918
1974
  * - `"building-direction-16-way"`
1919
1975
  * - `"snap-to-rail-support-spot"`
1920
1976
  * - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
1921
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityPrototypeFlag.html Online documentation}
1977
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityPrototypeFlag.html Online documentation}
1922
1978
  */
1923
1979
  export type EntityPrototypeFlag =
1924
1980
  | "not-rotatable"
@@ -1988,7 +2044,7 @@ declare module "factorio:runtime" {
1988
2044
  * - `"local"`: The sound can be heard within the audible range around the speaker.
1989
2045
  * - `"surface"`: The sound can be heard anywhere on the speaker's surface.
1990
2046
  * - `"global"`: The sound can be heard everywhere.
1991
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
2047
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
1992
2048
  */
1993
2049
  export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
1994
2050
  /**
@@ -2013,7 +2069,7 @@ declare module "factorio:runtime" {
2013
2069
  * - `"none-to-south"`
2014
2070
  * - `"south-to-none"`
2015
2071
  * - `"none-to-north"`
2016
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CliffOrientation.html Online documentation}
2072
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CliffOrientation.html Online documentation}
2017
2073
  */
2018
2074
  export type CliffOrientation =
2019
2075
  | "west-to-east"
@@ -2039,7 +2095,7 @@ declare module "factorio:runtime" {
2039
2095
  /**
2040
2096
  * Defines an item type that a blueprint entity will request.
2041
2097
  * @see BlueprintInsertPlanWrite
2042
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintInsertPlan.html Online documentation}
2098
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintInsertPlan.html Online documentation}
2043
2099
  */
2044
2100
  export interface BlueprintInsertPlan {
2045
2101
  /**
@@ -2053,7 +2109,7 @@ declare module "factorio:runtime" {
2053
2109
  }
2054
2110
  /**
2055
2111
  * Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
2056
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintInsertPlan.html Online documentation}
2112
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintInsertPlan.html Online documentation}
2057
2113
  */
2058
2114
  export interface BlueprintInsertPlanWrite {
2059
2115
  /**
@@ -2081,7 +2137,7 @@ declare module "factorio:runtime" {
2081
2137
  }
2082
2138
  /**
2083
2139
  * A single offer on a market entity.
2084
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Offer.html Online documentation}
2140
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Offer.html Online documentation}
2085
2141
  */
2086
2142
  export interface Offer {
2087
2143
  /**
@@ -2096,7 +2152,7 @@ declare module "factorio:runtime" {
2096
2152
  /**
2097
2153
  * An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
2098
2154
  * @see ItemFilterWrite
2099
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemFilter.html Online documentation}
2155
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemFilter.html Online documentation}
2100
2156
  */
2101
2157
  export type ItemFilter =
2102
2158
  | {
@@ -2116,7 +2172,7 @@ declare module "factorio:runtime" {
2116
2172
  | string
2117
2173
  /**
2118
2174
  * Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
2119
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemFilter.html Online documentation}
2175
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemFilter.html Online documentation}
2120
2176
  */
2121
2177
  export type ItemFilterWrite =
2122
2178
  | {
@@ -2199,7 +2255,7 @@ declare module "factorio:runtime" {
2199
2255
  * - `"position"`: {@link PositionGuiArrowSpecification}
2200
2256
  * - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
2201
2257
  * - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
2202
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GuiArrowSpecification.html Online documentation}
2258
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GuiArrowSpecification.html Online documentation}
2203
2259
  */
2204
2260
  export type GuiArrowSpecification =
2205
2261
  | EntityGuiArrowSpecification
@@ -2212,7 +2268,7 @@ declare module "factorio:runtime" {
2212
2268
  *
2213
2269
  * If this is specified as a three-element array then the array items are x, y and z, in that order.
2214
2270
  * @see Vector3DArray
2215
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Vector3D.html Online documentation}
2271
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Vector3D.html Online documentation}
2216
2272
  */
2217
2273
  export interface Vector3D {
2218
2274
  readonly x: float
@@ -2222,7 +2278,7 @@ declare module "factorio:runtime" {
2222
2278
  /**
2223
2279
  * Array form of {@link Vector3D}.
2224
2280
  * @see Vector3D
2225
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Vector3D.html Online documentation}
2281
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Vector3D.html Online documentation}
2226
2282
  */
2227
2283
  export type Vector3DArray = readonly [float, float, float]
2228
2284
  export interface ItemWithQualityCounts {
@@ -2255,7 +2311,7 @@ declare module "factorio:runtime" {
2255
2311
  }
2256
2312
  /**
2257
2313
  * @see TrainScheduleWrite
2258
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TrainSchedule.html Online documentation}
2314
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TrainSchedule.html Online documentation}
2259
2315
  */
2260
2316
  export interface TrainSchedule {
2261
2317
  /**
@@ -2266,7 +2322,7 @@ declare module "factorio:runtime" {
2266
2322
  }
2267
2323
  /**
2268
2324
  * Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
2269
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TrainSchedule.html Online documentation}
2325
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TrainSchedule.html Online documentation}
2270
2326
  */
2271
2327
  export interface TrainScheduleWrite {
2272
2328
  /**
@@ -2277,7 +2333,7 @@ declare module "factorio:runtime" {
2277
2333
  }
2278
2334
  /**
2279
2335
  * @see PlatformScheduleWrite
2280
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PlatformSchedule.html Online documentation}
2336
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PlatformSchedule.html Online documentation}
2281
2337
  */
2282
2338
  export interface PlatformSchedule {
2283
2339
  /**
@@ -2288,7 +2344,7 @@ declare module "factorio:runtime" {
2288
2344
  }
2289
2345
  /**
2290
2346
  * Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
2291
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PlatformSchedule.html Online documentation}
2347
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PlatformSchedule.html Online documentation}
2292
2348
  */
2293
2349
  export interface PlatformScheduleWrite {
2294
2350
  /**
@@ -2305,7 +2361,7 @@ declare module "factorio:runtime" {
2305
2361
  }
2306
2362
  /**
2307
2363
  * A recipe prototype with optional quality specification.
2308
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RecipeIDAndQualityIDPair.html Online documentation}
2364
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RecipeIDAndQualityIDPair.html Online documentation}
2309
2365
  */
2310
2366
  export interface RecipeIDAndQualityIDPair {
2311
2367
  /**
@@ -2354,7 +2410,7 @@ declare module "factorio:runtime" {
2354
2410
  * - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
2355
2411
  * - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
2356
2412
  * - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
2357
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ForceID.html Online documentation}
2413
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ForceID.html Online documentation}
2358
2414
  */
2359
2415
  export type ForceID = string | uint8 | LuaForce
2360
2416
  /**
@@ -2364,7 +2420,7 @@ declare module "factorio:runtime" {
2364
2420
  * - `string`: The fluid name.
2365
2421
  * - {@link LuaFluidPrototype}: The fluid prototype.
2366
2422
  * - {@link Fluid}: The fluid.
2367
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/FluidID.html Online documentation}
2423
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/FluidID.html Online documentation}
2368
2424
  */
2369
2425
  export type FluidID = string | LuaFluidPrototype | Fluid
2370
2426
  /**
@@ -2375,12 +2431,12 @@ declare module "factorio:runtime" {
2375
2431
  * - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
2376
2432
  * - `string`: The prototype name. Normal quality will be used.
2377
2433
  * - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
2378
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityWithQualityID.html Online documentation}
2434
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityWithQualityID.html Online documentation}
2379
2435
  */
2380
2436
  export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
2381
2437
  /**
2382
2438
  * An entity prototype with optional quality specification.
2383
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityIDAndQualityIDPair.html Online documentation}
2439
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityIDAndQualityIDPair.html Online documentation}
2384
2440
  */
2385
2441
  export interface EntityIDAndQualityIDPair {
2386
2442
  /**
@@ -2400,13 +2456,13 @@ declare module "factorio:runtime" {
2400
2456
  * - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
2401
2457
  * - `string`: The prototype name. Normal quality will be used.
2402
2458
  * - {@link ItemIDAndQualityIDPair}: A table of entity prototype and quality.
2403
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemWithQualityID.html Online documentation}
2459
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemWithQualityID.html Online documentation}
2404
2460
  */
2405
2461
  export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
2406
2462
  /**
2407
2463
  * An item prototype with optional quality specification.
2408
2464
  * @see ItemIDAndQualityIDPairWrite
2409
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemIDAndQualityIDPair.html Online documentation}
2465
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemIDAndQualityIDPair.html Online documentation}
2410
2466
  */
2411
2467
  export interface ItemIDAndQualityIDPair {
2412
2468
  /**
@@ -2420,7 +2476,7 @@ declare module "factorio:runtime" {
2420
2476
  }
2421
2477
  /**
2422
2478
  * Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
2423
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemIDAndQualityIDPair.html Online documentation}
2479
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemIDAndQualityIDPair.html Online documentation}
2424
2480
  */
2425
2481
  export interface ItemIDAndQualityIDPairWrite {
2426
2482
  /**
@@ -2440,7 +2496,7 @@ declare module "factorio:runtime" {
2440
2496
  * - {@link LuaItemStack}: Non empty item stack.
2441
2497
  * - {@link LuaItem}: The item.
2442
2498
  * - `string`: The prototype name.
2443
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemID.html Online documentation}
2499
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemID.html Online documentation}
2444
2500
  */
2445
2501
  export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
2446
2502
  /**
@@ -2450,7 +2506,7 @@ declare module "factorio:runtime" {
2450
2506
  * - {@link LuaEntityPrototype}: The entity prototype.
2451
2507
  * - {@link LuaEntity}: The entity.
2452
2508
  * - `string`: The prototype name.
2453
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityID.html Online documentation}
2509
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityID.html Online documentation}
2454
2510
  */
2455
2511
  export type EntityID = LuaEntityPrototype | LuaEntity | string
2456
2512
  /**
@@ -2460,7 +2516,7 @@ declare module "factorio:runtime" {
2460
2516
  * - {@link LuaTechnologyPrototype}: The technology prototype.
2461
2517
  * - {@link LuaTechnology}: Instance of the technology.
2462
2518
  * - `string`: The prototype name.
2463
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TechnologyID.html Online documentation}
2519
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TechnologyID.html Online documentation}
2464
2520
  */
2465
2521
  export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
2466
2522
  /**
@@ -2469,7 +2525,7 @@ declare module "factorio:runtime" {
2469
2525
  * ## Union members
2470
2526
  * - {@link LuaParticlePrototype}: The particle prototype.
2471
2527
  * - `string`: The prototype name.
2472
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ParticleID.html Online documentation}
2528
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ParticleID.html Online documentation}
2473
2529
  */
2474
2530
  export type ParticleID = LuaParticlePrototype | string
2475
2531
  /**
@@ -2478,7 +2534,7 @@ declare module "factorio:runtime" {
2478
2534
  * ## Union members
2479
2535
  * - {@link LuaDamagePrototype}: The damage type prototype.
2480
2536
  * - `string`: The prototype name.
2481
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DamageTypeID.html Online documentation}
2537
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DamageTypeID.html Online documentation}
2482
2538
  */
2483
2539
  export type DamageTypeID = LuaDamagePrototype | string
2484
2540
  /**
@@ -2487,7 +2543,7 @@ declare module "factorio:runtime" {
2487
2543
  * ## Union members
2488
2544
  * - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
2489
2545
  * - `string`: The prototype name.
2490
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TrivialSmokeID.html Online documentation}
2546
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TrivialSmokeID.html Online documentation}
2491
2547
  */
2492
2548
  export type TrivialSmokeID = LuaTrivialSmokePrototype | string
2493
2549
  /**
@@ -2499,7 +2555,7 @@ declare module "factorio:runtime" {
2499
2555
  * - `"left"`
2500
2556
  * - `"right"`
2501
2557
  * - `"center"`
2502
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TextAlign.html Online documentation}
2558
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TextAlign.html Online documentation}
2503
2559
  */
2504
2560
  export type TextAlign = "left" | "right" | "center"
2505
2561
  /**
@@ -2512,7 +2568,7 @@ declare module "factorio:runtime" {
2512
2568
  * - `"middle"`
2513
2569
  * - `"baseline"`
2514
2570
  * - `"bottom"`
2515
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/VerticalTextAlign.html Online documentation}
2571
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/VerticalTextAlign.html Online documentation}
2516
2572
  */
2517
2573
  export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
2518
2574
  /**
@@ -2521,7 +2577,7 @@ declare module "factorio:runtime" {
2521
2577
  * ## Union members
2522
2578
  * - {@link LuaQualityPrototype}: The quality prototype.
2523
2579
  * - `string`: The prototype name.
2524
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/QualityID.html Online documentation}
2580
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/QualityID.html Online documentation}
2525
2581
  */
2526
2582
  export type QualityID = LuaQualityPrototype | string
2527
2583
  /**
@@ -2531,7 +2587,7 @@ declare module "factorio:runtime" {
2531
2587
  * - {@link LuaRecipePrototype}: By recipe prototype.
2532
2588
  * - {@link LuaRecipe}: By instance of recipe.
2533
2589
  * - `string`: By name of the recipe prototype.
2534
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RecipeID.html Online documentation}
2590
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RecipeID.html Online documentation}
2535
2591
  */
2536
2592
  export type RecipeID = LuaRecipePrototype | LuaRecipe | string
2537
2593
  /**
@@ -2541,7 +2597,7 @@ declare module "factorio:runtime" {
2541
2597
  * - {@link LuaTilePrototype}: By tile prototype.
2542
2598
  * - {@link LuaTile}: By instance of tile.
2543
2599
  * - `string`: By name of the tile prototype.
2544
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TileID.html Online documentation}
2600
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TileID.html Online documentation}
2545
2601
  */
2546
2602
  export type TileID = LuaTilePrototype | LuaTile | string
2547
2603
  export interface Fluid {
@@ -2565,7 +2621,7 @@ declare module "factorio:runtime" {
2565
2621
  * - {@link LuaEquipmentPrototype}: The equipment prototype.
2566
2622
  * - {@link LuaEquipment}: The equipment.
2567
2623
  * - `string`: The prototype name.
2568
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentID.html Online documentation}
2624
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentID.html Online documentation}
2569
2625
  */
2570
2626
  export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
2571
2627
  /**
@@ -2576,12 +2632,12 @@ declare module "factorio:runtime" {
2576
2632
  * - {@link LuaEquipment}: The equipment. Both prototype and quality of the provided equipment will be used.
2577
2633
  * - `string`: The prototype name. Normal quality will be used.
2578
2634
  * - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
2579
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentWithQualityID.html Online documentation}
2635
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentWithQualityID.html Online documentation}
2580
2636
  */
2581
2637
  export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
2582
2638
  /**
2583
2639
  * An equipment prototype with optional quality specification.
2584
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
2640
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
2585
2641
  */
2586
2642
  export interface EquipmentIDAndQualityIDPair {
2587
2643
  /**
@@ -2602,7 +2658,7 @@ declare module "factorio:runtime" {
2602
2658
  * @example
2603
2659
  * -- Shorthand
2604
2660
  * {{-2, -3}, {5, 8}}
2605
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BoundingBox.html Online documentation}
2661
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BoundingBox.html Online documentation}
2606
2662
  */
2607
2663
  export interface BoundingBox {
2608
2664
  readonly left_top: MapPosition
@@ -2612,7 +2668,7 @@ declare module "factorio:runtime" {
2612
2668
  /**
2613
2669
  * Array form of {@link BoundingBox}.
2614
2670
  * @see BoundingBox
2615
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BoundingBox.html Online documentation}
2671
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BoundingBox.html Online documentation}
2616
2672
  */
2617
2673
  export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
2618
2674
  export interface BoundingBoxWrite {
@@ -2625,7 +2681,7 @@ declare module "factorio:runtime" {
2625
2681
  *
2626
2682
  * ## Union members
2627
2683
  * - {@link LuaSpacePlatform}
2628
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SpacePlatformIdentification.html Online documentation}
2684
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SpacePlatformIdentification.html Online documentation}
2629
2685
  */
2630
2686
  export type SpacePlatformIdentification = LuaSpacePlatform
2631
2687
  /**
@@ -2635,12 +2691,12 @@ declare module "factorio:runtime" {
2635
2691
  * - {@link LuaForce}[]: Array of many forces.
2636
2692
  * - {@link LuaForce}: A single force.
2637
2693
  * @see ForceSetWrite
2638
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ForceSet.html Online documentation}
2694
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ForceSet.html Online documentation}
2639
2695
  */
2640
2696
  export type ForceSet = LuaForce[] | LuaForce
2641
2697
  /**
2642
2698
  * Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
2643
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ForceSet.html Online documentation}
2699
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ForceSet.html Online documentation}
2644
2700
  */
2645
2701
  export type ForceSetWrite = readonly ForceID[] | ForceID
2646
2702
  /**
@@ -2649,7 +2705,7 @@ declare module "factorio:runtime" {
2649
2705
  * ## Union members
2650
2706
  * - {@link LuaDecorativePrototype}: The decorative prototype.
2651
2707
  * - `string`: The prototype name.
2652
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DecorativeID.html Online documentation}
2708
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DecorativeID.html Online documentation}
2653
2709
  */
2654
2710
  export type DecorativeID = LuaDecorativePrototype | string
2655
2711
  /**
@@ -2658,7 +2714,7 @@ declare module "factorio:runtime" {
2658
2714
  * ## Union members
2659
2715
  * - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
2660
2716
  * - `string`: The prototype name.
2661
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AsteroidChunkID.html Online documentation}
2717
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AsteroidChunkID.html Online documentation}
2662
2718
  */
2663
2719
  export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
2664
2720
  /**
@@ -2667,13 +2723,13 @@ declare module "factorio:runtime" {
2667
2723
  * ## Union members
2668
2724
  * - {@link LuaSpaceLocationPrototype}: The space location prototype.
2669
2725
  * - `string`: The prototype name.
2670
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SpaceLocationID.html Online documentation}
2726
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SpaceLocationID.html Online documentation}
2671
2727
  */
2672
2728
  export type SpaceLocationID = LuaSpaceLocationPrototype | string
2673
2729
  /**
2674
2730
  * 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.
2675
2731
  * @see SignalFilterWrite
2676
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SignalFilter.html Online documentation}
2732
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SignalFilter.html Online documentation}
2677
2733
  */
2678
2734
  export type SignalFilter =
2679
2735
  | {
@@ -2697,7 +2753,7 @@ declare module "factorio:runtime" {
2697
2753
  | string
2698
2754
  /**
2699
2755
  * Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
2700
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SignalFilter.html Online documentation}
2756
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SignalFilter.html Online documentation}
2701
2757
  */
2702
2758
  export type SignalFilterWrite =
2703
2759
  | {
@@ -2721,7 +2777,7 @@ declare module "factorio:runtime" {
2721
2777
  | string
2722
2778
  /**
2723
2779
  * @see LogisticFilterWrite
2724
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LogisticFilter.html Online documentation}
2780
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LogisticFilter.html Online documentation}
2725
2781
  */
2726
2782
  export interface LogisticFilter {
2727
2783
  /**
@@ -2747,7 +2803,7 @@ declare module "factorio:runtime" {
2747
2803
  }
2748
2804
  /**
2749
2805
  * Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
2750
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LogisticFilter.html Online documentation}
2806
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LogisticFilter.html Online documentation}
2751
2807
  */
2752
2808
  export interface LogisticFilterWrite {
2753
2809
  /**
@@ -2803,23 +2859,23 @@ declare module "factorio:runtime" {
2803
2859
  * ## Union members
2804
2860
  * - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
2805
2861
  * - `string`: The prototype name.
2806
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SurfacePropertyID.html Online documentation}
2862
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SurfacePropertyID.html Online documentation}
2807
2863
  */
2808
2864
  export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
2809
2865
  /**
2810
2866
  * When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
2811
2867
  * @see ScriptRenderTargetWrite
2812
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptRenderTarget.html Online documentation}
2868
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptRenderTarget.html Online documentation}
2813
2869
  */
2814
2870
  export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
2815
2871
  /**
2816
2872
  * Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
2817
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptRenderTarget.html Online documentation}
2873
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptRenderTarget.html Online documentation}
2818
2874
  */
2819
2875
  export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
2820
2876
  /**
2821
2877
  * @see ScriptRenderTargetTableWrite
2822
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptRenderTargetTable.html Online documentation}
2878
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptRenderTargetTable.html Online documentation}
2823
2879
  */
2824
2880
  export interface ScriptRenderTargetTable {
2825
2881
  readonly entity?: LuaEntity
@@ -2834,7 +2890,7 @@ declare module "factorio:runtime" {
2834
2890
  }
2835
2891
  /**
2836
2892
  * Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
2837
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptRenderTargetTable.html Online documentation}
2893
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptRenderTargetTable.html Online documentation}
2838
2894
  */
2839
2895
  export interface ScriptRenderTargetTableWrite {
2840
2896
  readonly entity?: LuaEntity
@@ -2849,7 +2905,7 @@ declare module "factorio:runtime" {
2849
2905
  }
2850
2906
  /**
2851
2907
  * An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
2852
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/QualityCondition.html Online documentation}
2908
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/QualityCondition.html Online documentation}
2853
2909
  */
2854
2910
  export type QualityCondition =
2855
2911
  | {
@@ -2866,7 +2922,7 @@ declare module "factorio:runtime" {
2866
2922
  /**
2867
2923
  * The destination of a cargo pod.
2868
2924
  * @see CargoDestinationWrite
2869
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CargoDestination.html Online documentation}
2925
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CargoDestination.html Online documentation}
2870
2926
  */
2871
2927
  export interface CargoDestination {
2872
2928
  /**
@@ -2904,7 +2960,7 @@ declare module "factorio:runtime" {
2904
2960
  }
2905
2961
  /**
2906
2962
  * Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
2907
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CargoDestination.html Online documentation}
2963
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CargoDestination.html Online documentation}
2908
2964
  */
2909
2965
  export interface CargoDestinationWrite {
2910
2966
  /**
@@ -2958,7 +3014,7 @@ declare module "factorio:runtime" {
2958
3014
  * - {@link LuaCustomInputPrototype}: Custom input prototype.
2959
3015
  * - {@link defines.events}: Event identifier.
2960
3016
  * - `string`: Name of the event.
2961
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEventType.html Online documentation}
3017
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEventType.html Online documentation}
2962
3018
  */
2963
3019
  export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
2964
3020
  /**
@@ -2966,13 +3022,13 @@ declare module "factorio:runtime" {
2966
3022
  * - `"center-to-center"`
2967
3023
  * - `"bounding-box-to-bounding-box"`
2968
3024
  * - `"center-to-bounding-box"`
2969
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RangeMode.html Online documentation}
3025
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RangeMode.html Online documentation}
2970
3026
  */
2971
3027
  export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
2972
3028
  /**
2973
3029
  * 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.
2974
3030
  * @see BlueprintEntityWrite
2975
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintEntity.html Online documentation}
3031
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintEntity.html Online documentation}
2976
3032
  */
2977
3033
  export interface BlueprintEntity {
2978
3034
  /**
@@ -3186,7 +3242,7 @@ declare module "factorio:runtime" {
3186
3242
  }
3187
3243
  /**
3188
3244
  * Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
3189
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintEntity.html Online documentation}
3245
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintEntity.html Online documentation}
3190
3246
  */
3191
3247
  export interface BlueprintEntityWrite {
3192
3248
  /**
@@ -3407,7 +3463,7 @@ declare module "factorio:runtime" {
3407
3463
  }
3408
3464
  /**
3409
3465
  * @see BlueprintEquipmentWrite
3410
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintEquipment.html Online documentation}
3466
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintEquipment.html Online documentation}
3411
3467
  */
3412
3468
  export interface BlueprintEquipment {
3413
3469
  readonly equipment: ItemIDAndQualityIDPair
@@ -3415,7 +3471,7 @@ declare module "factorio:runtime" {
3415
3471
  }
3416
3472
  /**
3417
3473
  * Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
3418
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintEquipment.html Online documentation}
3474
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintEquipment.html Online documentation}
3419
3475
  */
3420
3476
  export interface BlueprintEquipmentWrite {
3421
3477
  readonly equipment: ItemIDAndQualityIDPairWrite
@@ -3423,7 +3479,7 @@ declare module "factorio:runtime" {
3423
3479
  }
3424
3480
  /**
3425
3481
  * @see BlueprintInventoryWrite
3426
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintInventory.html Online documentation}
3482
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintInventory.html Online documentation}
3427
3483
  */
3428
3484
  export interface BlueprintInventory {
3429
3485
  readonly filters?: BlueprintLogisticFilter[]
@@ -3434,7 +3490,7 @@ declare module "factorio:runtime" {
3434
3490
  }
3435
3491
  /**
3436
3492
  * Write form of {@link BlueprintInventory}, where some properties allow additional values as input compared to the read form.
3437
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintInventory.html Online documentation}
3493
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintInventory.html Online documentation}
3438
3494
  */
3439
3495
  export interface BlueprintInventoryWrite {
3440
3496
  readonly filters?: readonly BlueprintLogisticFilterWrite[]
@@ -3455,7 +3511,7 @@ declare module "factorio:runtime" {
3455
3511
  }
3456
3512
  /**
3457
3513
  * @see BlueprintControlBehaviorWrite
3458
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintControlBehavior.html Online documentation}
3514
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintControlBehavior.html Online documentation}
3459
3515
  */
3460
3516
  export interface BlueprintControlBehavior {
3461
3517
  /**
@@ -3708,7 +3764,7 @@ declare module "factorio:runtime" {
3708
3764
  }
3709
3765
  /**
3710
3766
  * Write form of {@link BlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
3711
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintControlBehavior.html Online documentation}
3767
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintControlBehavior.html Online documentation}
3712
3768
  */
3713
3769
  export interface BlueprintControlBehaviorWrite {
3714
3770
  /**
@@ -3989,7 +4045,7 @@ declare module "factorio:runtime" {
3989
4045
  * "2500 * (L - 3)"
3990
4046
  * @example
3991
4047
  * "(4e5 * (abs(speed) + 10.5)) / weight"
3992
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MathExpression.html Online documentation}
4048
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MathExpression.html Online documentation}
3993
4049
  */
3994
4050
  export type MathExpression = string
3995
4051
  /**
@@ -4011,7 +4067,7 @@ declare module "factorio:runtime" {
4011
4067
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
4012
4068
  * -- minimum amount of 1 and a maximum amount of 5
4013
4069
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
4014
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Product.html Online documentation}
4070
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Product.html Online documentation}
4015
4071
  */
4016
4072
  export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
4017
4073
  /**
@@ -4022,7 +4078,7 @@ declare module "factorio:runtime" {
4022
4078
  * -- What a custom recipe would look like that had a probability of 0.5 to return a
4023
4079
  * -- minimum amount of 1 and a maximum amount of 5
4024
4080
  * {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
4025
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemProduct.html Online documentation}
4081
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemProduct.html Online documentation}
4026
4082
  */
4027
4083
  export interface ItemProduct {
4028
4084
  readonly type: "item"
@@ -4066,7 +4122,7 @@ declare module "factorio:runtime" {
4066
4122
  * {{type="fluid", name="heavy-oil", amount=1},
4067
4123
  * {type="fluid", name="light-oil", amount=4.5},
4068
4124
  * {type="fluid", name="petroleum-gas", amount=5.5}}
4069
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/FluidProduct.html Online documentation}
4125
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/FluidProduct.html Online documentation}
4070
4126
  */
4071
4127
  export interface FluidProduct {
4072
4128
  readonly type: "fluid"
@@ -4114,7 +4170,7 @@ declare module "factorio:runtime" {
4114
4170
  }
4115
4171
  /**
4116
4172
  * @see LogisticSectionsWrite
4117
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LogisticSections.html Online documentation}
4173
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LogisticSections.html Online documentation}
4118
4174
  */
4119
4175
  export interface LogisticSections {
4120
4176
  readonly sections?: LogisticSection[]
@@ -4125,7 +4181,7 @@ declare module "factorio:runtime" {
4125
4181
  }
4126
4182
  /**
4127
4183
  * Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
4128
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LogisticSections.html Online documentation}
4184
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LogisticSections.html Online documentation}
4129
4185
  */
4130
4186
  export interface LogisticSectionsWrite {
4131
4187
  readonly sections?: readonly LogisticSectionWrite[]
@@ -4161,7 +4217,7 @@ declare module "factorio:runtime" {
4161
4217
  }
4162
4218
  /**
4163
4219
  * @see LogisticSectionWrite
4164
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LogisticSection.html Online documentation}
4220
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LogisticSection.html Online documentation}
4165
4221
  */
4166
4222
  export interface LogisticSection {
4167
4223
  readonly index: uint8
@@ -4178,7 +4234,7 @@ declare module "factorio:runtime" {
4178
4234
  }
4179
4235
  /**
4180
4236
  * Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
4181
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LogisticSection.html Online documentation}
4237
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LogisticSection.html Online documentation}
4182
4238
  */
4183
4239
  export interface LogisticSectionWrite {
4184
4240
  readonly index: uint8
@@ -4195,7 +4251,7 @@ declare module "factorio:runtime" {
4195
4251
  }
4196
4252
  /**
4197
4253
  * @see BlueprintLogisticFilterWrite
4198
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintLogisticFilter.html Online documentation}
4254
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintLogisticFilter.html Online documentation}
4199
4255
  */
4200
4256
  export interface BlueprintLogisticFilter {
4201
4257
  readonly index: LogisticFilterIndex
@@ -4225,7 +4281,7 @@ declare module "factorio:runtime" {
4225
4281
  }
4226
4282
  /**
4227
4283
  * Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
4228
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintLogisticFilter.html Online documentation}
4284
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintLogisticFilter.html Online documentation}
4229
4285
  */
4230
4286
  export interface BlueprintLogisticFilterWrite {
4231
4287
  readonly index: LogisticFilterIndex
@@ -4255,7 +4311,7 @@ declare module "factorio:runtime" {
4255
4311
  }
4256
4312
  /**
4257
4313
  * Specifies how probability and richness are calculated when placing something on the map.
4258
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AutoplaceSpecification.html Online documentation}
4314
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AutoplaceSpecification.html Online documentation}
4259
4315
  */
4260
4316
  export interface AutoplaceSpecification {
4261
4317
  /**
@@ -4272,7 +4328,7 @@ declare module "factorio:runtime" {
4272
4328
  }
4273
4329
  /**
4274
4330
  * @see CliffPlacementSettingsWrite
4275
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CliffPlacementSettings.html Online documentation}
4331
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CliffPlacementSettings.html Online documentation}
4276
4332
  */
4277
4333
  export interface CliffPlacementSettings {
4278
4334
  /**
@@ -4302,7 +4358,7 @@ declare module "factorio:runtime" {
4302
4358
  }
4303
4359
  /**
4304
4360
  * Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
4305
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CliffPlacementSettings.html Online documentation}
4361
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CliffPlacementSettings.html Online documentation}
4306
4362
  */
4307
4363
  export interface CliffPlacementSettingsWrite {
4308
4364
  /**
@@ -4332,7 +4388,7 @@ declare module "factorio:runtime" {
4332
4388
  }
4333
4389
  /**
4334
4390
  * @see AutoplaceSettingsWrite
4335
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AutoplaceSettings.html Online documentation}
4391
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AutoplaceSettings.html Online documentation}
4336
4392
  */
4337
4393
  export interface AutoplaceSettings {
4338
4394
  /**
@@ -4346,7 +4402,7 @@ declare module "factorio:runtime" {
4346
4402
  }
4347
4403
  /**
4348
4404
  * Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
4349
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AutoplaceSettings.html Online documentation}
4405
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AutoplaceSettings.html Online documentation}
4350
4406
  */
4351
4407
  export interface AutoplaceSettingsWrite {
4352
4408
  /**
@@ -4381,7 +4437,7 @@ declare module "factorio:runtime" {
4381
4437
  * surface.map_gen_settings = mgs
4382
4438
  * -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
4383
4439
  * -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
4384
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapGenSettings.html Online documentation}
4440
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapGenSettings.html Online documentation}
4385
4441
  */
4386
4442
  export interface MapGenSettings {
4387
4443
  /**
@@ -4436,7 +4492,7 @@ declare module "factorio:runtime" {
4436
4492
  }
4437
4493
  /**
4438
4494
  * Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
4439
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapGenSettings.html Online documentation}
4495
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapGenSettings.html Online documentation}
4440
4496
  */
4441
4497
  export interface MapGenSettingsWrite {
4442
4498
  /**
@@ -4489,13 +4545,17 @@ declare module "factorio:runtime" {
4489
4545
  readonly cliff_settings: CliffPlacementSettingsWrite
4490
4546
  readonly territory_settings: TerritorySettings
4491
4547
  }
4548
+ /**
4549
+ * Used by {@link MapSettings} and {@link MapAndDifficultySettings}.
4550
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AsteroidMapSettings.html Online documentation}
4551
+ */
4492
4552
  export interface AsteroidMapSettings {
4493
4553
  readonly spawning_rate: double
4494
4554
  readonly max_ray_portals_expanded_per_tick: uint
4495
4555
  }
4496
4556
  /**
4497
4557
  * These values are for the time frame of one second (60 ticks).
4498
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PollutionMapSettings.html Online documentation}
4558
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PollutionMapSettings.html Online documentation}
4499
4559
  */
4500
4560
  export interface PollutionMapSettings {
4501
4561
  /**
@@ -4549,7 +4609,7 @@ declare module "factorio:runtime" {
4549
4609
  }
4550
4610
  /**
4551
4611
  * These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
4552
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EnemyEvolutionMapSettings.html Online documentation}
4612
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EnemyEvolutionMapSettings.html Online documentation}
4553
4613
  */
4554
4614
  export interface EnemyEvolutionMapSettings {
4555
4615
  /**
@@ -4587,7 +4647,7 @@ declare module "factorio:runtime" {
4587
4647
  * * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
4588
4648
  * score(chunk) = 1 / (1 + player + base)
4589
4649
  * ```
4590
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EnemyExpansionMapSettings.html Online documentation}
4650
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EnemyExpansionMapSettings.html Online documentation}
4591
4651
  */
4592
4652
  export interface EnemyExpansionMapSettings {
4593
4653
  /**
@@ -4846,17 +4906,17 @@ declare module "factorio:runtime" {
4846
4906
  }
4847
4907
  /**
4848
4908
  * Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
4849
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DifficultySettings.html Online documentation}
4909
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DifficultySettings.html Online documentation}
4850
4910
  */
4851
4911
  export interface DifficultySettings {
4852
4912
  /**
4853
4913
  * A value in range [0.001, 1000].
4854
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
4914
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
4855
4915
  */
4856
4916
  technology_price_multiplier: double
4857
4917
  /**
4858
4918
  * A value in range [0.01, 100].
4859
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
4919
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
4860
4920
  */
4861
4921
  spoil_time_modifier: double
4862
4922
  }
@@ -4872,7 +4932,7 @@ declare module "factorio:runtime" {
4872
4932
  }
4873
4933
  /**
4874
4934
  * A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
4875
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapAndDifficultySettings.html Online documentation}
4935
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapAndDifficultySettings.html Online documentation}
4876
4936
  */
4877
4937
  export interface MapAndDifficultySettings {
4878
4938
  readonly pollution: PollutionMapSettings
@@ -4893,7 +4953,7 @@ declare module "factorio:runtime" {
4893
4953
  * @example
4894
4954
  * -- Increase the number of short paths the pathfinder can cache.
4895
4955
  * game.map_settings.path_finder.short_cache_size = 15
4896
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapSettings.html Online documentation}
4956
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapSettings.html Online documentation}
4897
4957
  */
4898
4958
  export interface MapSettings {
4899
4959
  pollution: PollutionMapSettings
@@ -4905,13 +4965,13 @@ declare module "factorio:runtime" {
4905
4965
  asteroids: AsteroidMapSettings
4906
4966
  /**
4907
4967
  * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
4908
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
4968
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
4909
4969
  */
4910
4970
  max_failed_behavior_count: uint
4911
4971
  }
4912
4972
  /**
4913
4973
  * @see BlueprintScheduleRecordWrite
4914
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintScheduleRecord.html Online documentation}
4974
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintScheduleRecord.html Online documentation}
4915
4975
  */
4916
4976
  export interface BlueprintScheduleRecord {
4917
4977
  /**
@@ -4925,7 +4985,7 @@ declare module "factorio:runtime" {
4925
4985
  }
4926
4986
  /**
4927
4987
  * Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
4928
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintScheduleRecord.html Online documentation}
4988
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintScheduleRecord.html Online documentation}
4929
4989
  */
4930
4990
  export interface BlueprintScheduleRecordWrite {
4931
4991
  /**
@@ -4939,7 +4999,7 @@ declare module "factorio:runtime" {
4939
4999
  }
4940
5000
  /**
4941
5001
  * @see ScheduleRecordWrite
4942
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScheduleRecord.html Online documentation}
5002
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScheduleRecord.html Online documentation}
4943
5003
  */
4944
5004
  export interface ScheduleRecord {
4945
5005
  /**
@@ -4958,7 +5018,7 @@ declare module "factorio:runtime" {
4958
5018
  }
4959
5019
  /**
4960
5020
  * Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
4961
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScheduleRecord.html Online documentation}
5021
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScheduleRecord.html Online documentation}
4962
5022
  */
4963
5023
  export interface ScheduleRecordWrite {
4964
5024
  /**
@@ -4977,7 +5037,7 @@ declare module "factorio:runtime" {
4977
5037
  }
4978
5038
  /**
4979
5039
  * @see BlueprintScheduleInterruptWrite
4980
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintScheduleInterrupt.html Online documentation}
5040
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintScheduleInterrupt.html Online documentation}
4981
5041
  */
4982
5042
  export interface BlueprintScheduleInterrupt {
4983
5043
  readonly name?: string
@@ -4987,7 +5047,7 @@ declare module "factorio:runtime" {
4987
5047
  }
4988
5048
  /**
4989
5049
  * Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
4990
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintScheduleInterrupt.html Online documentation}
5050
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintScheduleInterrupt.html Online documentation}
4991
5051
  */
4992
5052
  export interface BlueprintScheduleInterruptWrite {
4993
5053
  readonly name?: string
@@ -4997,7 +5057,7 @@ declare module "factorio:runtime" {
4997
5057
  }
4998
5058
  /**
4999
5059
  * @see ScheduleInterruptWrite
5000
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScheduleInterrupt.html Online documentation}
5060
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScheduleInterrupt.html Online documentation}
5001
5061
  */
5002
5062
  export interface ScheduleInterrupt {
5003
5063
  readonly name?: string
@@ -5007,7 +5067,7 @@ declare module "factorio:runtime" {
5007
5067
  }
5008
5068
  /**
5009
5069
  * Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
5010
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScheduleInterrupt.html Online documentation}
5070
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScheduleInterrupt.html Online documentation}
5011
5071
  */
5012
5072
  export interface ScheduleInterruptWrite {
5013
5073
  readonly name?: string
@@ -5017,7 +5077,7 @@ declare module "factorio:runtime" {
5017
5077
  }
5018
5078
  /**
5019
5079
  * @see BlueprintScheduleWrite
5020
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintSchedule.html Online documentation}
5080
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintSchedule.html Online documentation}
5021
5081
  */
5022
5082
  export interface BlueprintSchedule {
5023
5083
  readonly records?: BlueprintScheduleRecord[]
@@ -5026,7 +5086,7 @@ declare module "factorio:runtime" {
5026
5086
  }
5027
5087
  /**
5028
5088
  * Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
5029
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintSchedule.html Online documentation}
5089
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintSchedule.html Online documentation}
5030
5090
  */
5031
5091
  export interface BlueprintScheduleWrite {
5032
5092
  readonly records?: readonly BlueprintScheduleRecordWrite[]
@@ -5035,7 +5095,7 @@ declare module "factorio:runtime" {
5035
5095
  }
5036
5096
  /**
5037
5097
  * @see WaitConditionWrite
5038
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/WaitCondition.html Online documentation}
5098
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/WaitCondition.html Online documentation}
5039
5099
  */
5040
5100
  export interface WaitCondition {
5041
5101
  readonly type: WaitConditionType
@@ -5066,7 +5126,7 @@ declare module "factorio:runtime" {
5066
5126
  }
5067
5127
  /**
5068
5128
  * Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
5069
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/WaitCondition.html Online documentation}
5129
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/WaitCondition.html Online documentation}
5070
5130
  */
5071
5131
  export interface WaitConditionWrite {
5072
5132
  readonly type: WaitConditionType
@@ -5125,7 +5185,7 @@ declare module "factorio:runtime" {
5125
5185
  * - `"at_station"`
5126
5186
  * - `"not_at_station"`
5127
5187
  * - `"damage_taken"`
5128
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/WaitConditionType.html Online documentation}
5188
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/WaitConditionType.html Online documentation}
5129
5189
  */
5130
5190
  export type WaitConditionType =
5131
5191
  | "time"
@@ -5167,7 +5227,7 @@ declare module "factorio:runtime" {
5167
5227
  * - `"blueprint-snap-rectangle"`: Green by default.
5168
5228
  * - `"spidertron-remote-selected"`
5169
5229
  * - `"spidertron-remote-to-be-selected"`
5170
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CursorBoxRenderType.html Online documentation}
5230
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CursorBoxRenderType.html Online documentation}
5171
5231
  */
5172
5232
  export type CursorBoxRenderType =
5173
5233
  | "entity"
@@ -5183,7 +5243,7 @@ declare module "factorio:runtime" {
5183
5243
  | "spidertron-remote-to-be-selected"
5184
5244
  /**
5185
5245
  * What is shown in the map view. If a field is not given, that setting will not be changed.
5186
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapViewSettings.html Online documentation}
5246
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapViewSettings.html Online documentation}
5187
5247
  */
5188
5248
  export interface MapViewSettings {
5189
5249
  readonly "show-logistic-network"?: boolean
@@ -5276,7 +5336,7 @@ declare module "factorio:runtime" {
5276
5336
  * - `"collision-selection-box"`: 189
5277
5337
  * - `"arrow"`: 190
5278
5338
  * - `"cursor"`: 226
5279
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RenderLayer.html Online documentation}
5339
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RenderLayer.html Online documentation}
5280
5340
  */
5281
5341
  export type RenderLayer =
5282
5342
  | `${bigint}`
@@ -5386,7 +5446,7 @@ declare module "factorio:runtime" {
5386
5446
  * - `"entity-with-quality"`
5387
5447
  * - `"recipe-with-quality"`
5388
5448
  * - `"equipment-with-quality"`
5389
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ElemType.html Online documentation}
5449
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ElemType.html Online documentation}
5390
5450
  */
5391
5451
  export type ElemType =
5392
5452
  | "achievement"
@@ -5413,7 +5473,7 @@ declare module "factorio:runtime" {
5413
5473
  * - `"left"`
5414
5474
  * - `"right"`
5415
5475
  * - `"none"`
5416
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SwitchState.html Online documentation}
5476
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SwitchState.html Online documentation}
5417
5477
  */
5418
5478
  export type SwitchState = "left" | "right" | "none"
5419
5479
  export interface ElemID {
@@ -5454,7 +5514,7 @@ declare module "factorio:runtime" {
5454
5514
  * - `"destroy-decoratives"`
5455
5515
  * - `"camera-effect"`
5456
5516
  * - `"activate-impact"`
5457
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TriggerEffectItemType.html Online documentation}
5517
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TriggerEffectItemType.html Online documentation}
5458
5518
  */
5459
5519
  export type TriggerEffectItemType =
5460
5520
  | "damage"
@@ -5491,7 +5551,7 @@ declare module "factorio:runtime" {
5491
5551
  }
5492
5552
  /**
5493
5553
  * A set of trigger target masks.
5494
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TriggerTargetMask.html Online documentation}
5554
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TriggerTargetMask.html Online documentation}
5495
5555
  */
5496
5556
  export type TriggerTargetMask = Record<string, true>
5497
5557
  export interface TriggerItem {
@@ -5558,7 +5618,7 @@ declare module "factorio:runtime" {
5558
5618
  * -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
5559
5619
  * -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
5560
5620
  * -- translation result would be "Unknown key: 'item-description.furnace'".
5561
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LocalisedString.html Online documentation}
5621
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LocalisedString.html Online documentation}
5562
5622
  */
5563
5623
  export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
5564
5624
  export interface DisplayResolution {
@@ -5569,7 +5629,7 @@ declare module "factorio:runtime" {
5569
5629
  * 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".
5570
5630
  *
5571
5631
  * For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
5572
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RealOrientation.html Online documentation}
5632
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RealOrientation.html Online documentation}
5573
5633
  */
5574
5634
  export type RealOrientation = float
5575
5635
  /**
@@ -5584,7 +5644,7 @@ declare module "factorio:runtime" {
5584
5644
  * @example
5585
5645
  * -- Shorthand
5586
5646
  * {1.625, 2.375}
5587
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapPosition.html Online documentation}
5647
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapPosition.html Online documentation}
5588
5648
  */
5589
5649
  export interface MapPosition {
5590
5650
  readonly x: double
@@ -5593,13 +5653,13 @@ declare module "factorio:runtime" {
5593
5653
  /**
5594
5654
  * Array form of {@link MapPosition}.
5595
5655
  * @see MapPosition
5596
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapPosition.html Online documentation}
5656
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapPosition.html Online documentation}
5597
5657
  */
5598
5658
  export type MapPositionArray = readonly [double, double]
5599
5659
  /**
5600
5660
  * 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.
5601
5661
  * @see ChunkPositionArray
5602
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ChunkPosition.html Online documentation}
5662
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ChunkPosition.html Online documentation}
5603
5663
  */
5604
5664
  export interface ChunkPosition {
5605
5665
  readonly x: int
@@ -5608,13 +5668,13 @@ declare module "factorio:runtime" {
5608
5668
  /**
5609
5669
  * Array form of {@link ChunkPosition}.
5610
5670
  * @see ChunkPosition
5611
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ChunkPosition.html Online documentation}
5671
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ChunkPosition.html Online documentation}
5612
5672
  */
5613
5673
  export type ChunkPositionArray = readonly [int, int]
5614
5674
  /**
5615
5675
  * 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.
5616
5676
  * @see TilePositionArray
5617
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TilePosition.html Online documentation}
5677
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TilePosition.html Online documentation}
5618
5678
  */
5619
5679
  export interface TilePosition {
5620
5680
  readonly x: int
@@ -5623,7 +5683,7 @@ declare module "factorio:runtime" {
5623
5683
  /**
5624
5684
  * Array form of {@link TilePosition}.
5625
5685
  * @see TilePosition
5626
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TilePosition.html Online documentation}
5686
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TilePosition.html Online documentation}
5627
5687
  */
5628
5688
  export type TilePositionArray = readonly [int, int]
5629
5689
  /**
@@ -5636,7 +5696,7 @@ declare module "factorio:runtime" {
5636
5696
  * @example
5637
5697
  * -- Shorthand
5638
5698
  * {1, 2}
5639
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentPosition.html Online documentation}
5699
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentPosition.html Online documentation}
5640
5700
  */
5641
5701
  export interface EquipmentPosition {
5642
5702
  readonly x: int
@@ -5645,13 +5705,13 @@ declare module "factorio:runtime" {
5645
5705
  /**
5646
5706
  * Array form of {@link EquipmentPosition}.
5647
5707
  * @see EquipmentPosition
5648
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentPosition.html Online documentation}
5708
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentPosition.html Online documentation}
5649
5709
  */
5650
5710
  export type EquipmentPositionArray = readonly [int, int]
5651
5711
  /**
5652
5712
  * 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.
5653
5713
  * @see GuiLocationArray
5654
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GuiLocation.html Online documentation}
5714
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GuiLocation.html Online documentation}
5655
5715
  */
5656
5716
  export interface GuiLocation {
5657
5717
  readonly x: int
@@ -5660,12 +5720,12 @@ declare module "factorio:runtime" {
5660
5720
  /**
5661
5721
  * Array form of {@link GuiLocation}.
5662
5722
  * @see GuiLocation
5663
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GuiLocation.html Online documentation}
5723
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GuiLocation.html Online documentation}
5664
5724
  */
5665
5725
  export type GuiLocationArray = readonly [int, int]
5666
5726
  /**
5667
5727
  * A {@link ChunkPosition} with an added bounding box for the area of the chunk.
5668
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ChunkPositionAndArea.html Online documentation}
5728
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ChunkPositionAndArea.html Online documentation}
5669
5729
  */
5670
5730
  export interface ChunkPositionAndArea {
5671
5731
  readonly x: int
@@ -5674,7 +5734,7 @@ declare module "factorio:runtime" {
5674
5734
  }
5675
5735
  /**
5676
5736
  * A table used to define a manual shape for a piece of equipment.
5677
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentPoint.html Online documentation}
5737
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentPoint.html Online documentation}
5678
5738
  */
5679
5739
  export interface EquipmentPoint {
5680
5740
  readonly x: uint
@@ -5710,7 +5770,7 @@ declare module "factorio:runtime" {
5710
5770
  * 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.
5711
5771
  * @example
5712
5772
  * {a = 1, b = true, c = "three", d = {e = "f"}}
5713
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Tags.html Online documentation}
5773
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Tags.html Online documentation}
5714
5774
  */
5715
5775
  export type Tags = Record<string, AnyBasic>
5716
5776
  export interface SurfaceCondition {
@@ -5744,13 +5804,13 @@ declare module "factorio:runtime" {
5744
5804
  * 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.
5745
5805
  * @example
5746
5806
  * right = {1.0, 0.0}
5747
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Vector.html Online documentation}
5807
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Vector.html Online documentation}
5748
5808
  */
5749
5809
  export type Vector = MapPositionArray
5750
5810
  /**
5751
5811
  * An area defined using the map editor.
5752
5812
  * @see ScriptAreaWrite
5753
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptArea.html Online documentation}
5813
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptArea.html Online documentation}
5754
5814
  */
5755
5815
  export interface ScriptArea {
5756
5816
  readonly area: BoundingBox
@@ -5760,7 +5820,7 @@ declare module "factorio:runtime" {
5760
5820
  }
5761
5821
  /**
5762
5822
  * Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
5763
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptArea.html Online documentation}
5823
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptArea.html Online documentation}
5764
5824
  */
5765
5825
  export interface ScriptAreaWrite {
5766
5826
  readonly area: BoundingBoxWrite | BoundingBoxArray
@@ -5771,7 +5831,7 @@ declare module "factorio:runtime" {
5771
5831
  /**
5772
5832
  * A position defined using the map editor.
5773
5833
  * @see ScriptPositionWrite
5774
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptPosition.html Online documentation}
5834
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptPosition.html Online documentation}
5775
5835
  */
5776
5836
  export interface ScriptPosition {
5777
5837
  readonly position: MapPosition
@@ -5781,7 +5841,7 @@ declare module "factorio:runtime" {
5781
5841
  }
5782
5842
  /**
5783
5843
  * Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
5784
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScriptPosition.html Online documentation}
5844
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScriptPosition.html Online documentation}
5785
5845
  */
5786
5846
  export interface ScriptPositionWrite {
5787
5847
  readonly position: MapPosition | MapPositionArray
@@ -5799,7 +5859,7 @@ declare module "factorio:runtime" {
5799
5859
  * red2 = {r = 0.5, a = 0.5} -- Same color as red1
5800
5860
  * black = {} -- All channels omitted: black
5801
5861
  * red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
5802
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Color.html Online documentation}
5862
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Color.html Online documentation}
5803
5863
  */
5804
5864
  export interface Color {
5805
5865
  readonly r?: float
@@ -5810,13 +5870,13 @@ declare module "factorio:runtime" {
5810
5870
  /**
5811
5871
  * Array form of {@link Color}.
5812
5872
  * @see Color
5813
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Color.html Online documentation}
5873
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Color.html Online documentation}
5814
5874
  */
5815
5875
  export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
5816
5876
  /**
5817
5877
  * 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].
5818
5878
  * @see ColorModifierArray
5819
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ColorModifier.html Online documentation}
5879
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ColorModifier.html Online documentation}
5820
5880
  */
5821
5881
  export interface ColorModifier {
5822
5882
  readonly r?: float
@@ -5827,7 +5887,7 @@ declare module "factorio:runtime" {
5827
5887
  /**
5828
5888
  * Array form of {@link ColorModifier}.
5829
5889
  * @see ColorModifier
5830
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ColorModifier.html Online documentation}
5890
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ColorModifier.html Online documentation}
5831
5891
  */
5832
5892
  export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
5833
5893
  export interface CraftingQueueItem {
@@ -5970,7 +6030,7 @@ declare module "factorio:runtime" {
5970
6030
  }
5971
6031
  /**
5972
6032
  * @see AsteroidChunkWrite
5973
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AsteroidChunk.html Online documentation}
6033
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AsteroidChunk.html Online documentation}
5974
6034
  */
5975
6035
  export interface AsteroidChunk {
5976
6036
  /**
@@ -5982,7 +6042,7 @@ declare module "factorio:runtime" {
5982
6042
  }
5983
6043
  /**
5984
6044
  * Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
5985
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AsteroidChunk.html Online documentation}
6045
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AsteroidChunk.html Online documentation}
5986
6046
  */
5987
6047
  export interface AsteroidChunkWrite {
5988
6048
  /**
@@ -6004,7 +6064,7 @@ declare module "factorio:runtime" {
6004
6064
  }
6005
6065
  /**
6006
6066
  * Either `icon`, `text`, or both must be provided.
6007
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ChartTagSpec.html Online documentation}
6067
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ChartTagSpec.html Online documentation}
6008
6068
  */
6009
6069
  export interface ChartTagSpec {
6010
6070
  readonly position: MapPosition | MapPositionArray
@@ -6014,93 +6074,93 @@ declare module "factorio:runtime" {
6014
6074
  }
6015
6075
  /**
6016
6076
  * 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.
6017
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.html Online documentation}
6077
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.html Online documentation}
6018
6078
  */
6019
6079
  export interface GameViewSettings {
6020
6080
  /**
6021
6081
  * Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
6022
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_controller_gui.html Online documentation}
6082
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_controller_gui.html Online documentation}
6023
6083
  */
6024
6084
  show_controller_gui: boolean
6025
6085
  /**
6026
6086
  * Show the chart in the upper right-hand corner of the screen.
6027
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_minimap.html Online documentation}
6087
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_minimap.html Online documentation}
6028
6088
  */
6029
6089
  show_minimap: boolean
6030
6090
  /**
6031
6091
  * Show research progress and name in the upper right-hand corner of the screen.
6032
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_research_info.html Online documentation}
6092
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_research_info.html Online documentation}
6033
6093
  */
6034
6094
  show_research_info: boolean
6035
6095
  /**
6036
6096
  * Show overlay icons on entities. Also known as "alt-mode".
6037
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_entity_info.html Online documentation}
6097
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_entity_info.html Online documentation}
6038
6098
  */
6039
6099
  show_entity_info: boolean
6040
6100
  /**
6041
6101
  * Show the flashing alert icons next to the player's toolbar.
6042
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_alert_gui.html Online documentation}
6102
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_alert_gui.html Online documentation}
6043
6103
  */
6044
6104
  show_alert_gui: boolean
6045
6105
  /**
6046
6106
  * When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
6047
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.update_entity_selection.html Online documentation}
6107
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.update_entity_selection.html Online documentation}
6048
6108
  */
6049
6109
  update_entity_selection: boolean
6050
6110
  /**
6051
6111
  * When `true` (`false` is default), the rails will always show the rail block visualisation.
6052
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
6112
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
6053
6113
  */
6054
6114
  show_rail_block_visualisation: boolean
6055
6115
  /**
6056
6116
  * Shows or hides the buttons row.
6057
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_side_menu.html Online documentation}
6117
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_side_menu.html Online documentation}
6058
6118
  */
6059
6119
  show_side_menu: boolean
6060
6120
  /**
6061
6121
  * Shows or hides the view options when map is opened.
6062
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_map_view_options.html Online documentation}
6122
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_map_view_options.html Online documentation}
6063
6123
  */
6064
6124
  show_map_view_options: boolean
6065
6125
  /**
6066
6126
  * Shows or hides the tooltip that is displayed when selecting an entity.
6067
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
6127
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
6068
6128
  */
6069
6129
  show_entity_tooltip: boolean
6070
6130
  /**
6071
6131
  * Shows or hides quickbar of shortcuts.
6072
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_quickbar.html Online documentation}
6132
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_quickbar.html Online documentation}
6073
6133
  */
6074
6134
  show_quickbar: boolean
6075
6135
  /**
6076
6136
  * Shows or hides the shortcut bar.
6077
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
6137
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
6078
6138
  */
6079
6139
  show_shortcut_bar: boolean
6080
6140
  /**
6081
6141
  * Shows or hides the crafting queue.
6082
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
6142
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
6083
6143
  */
6084
6144
  show_crafting_queue: boolean
6085
6145
  /**
6086
6146
  * Shows or hides the tool window with the weapons and armor.
6087
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_tool_bar.html Online documentation}
6147
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_tool_bar.html Online documentation}
6088
6148
  */
6089
6149
  show_tool_bar: boolean
6090
6150
  /**
6091
6151
  * Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
6092
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
6152
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
6093
6153
  */
6094
6154
  show_hotkey_suggestions: boolean
6095
6155
  /**
6096
6156
  * Shows or hides the surface list while in Remote View.
6097
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GameViewSettings.show_surface_list.html Online documentation}
6157
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GameViewSettings.show_surface_list.html Online documentation}
6098
6158
  */
6099
6159
  show_surface_list: boolean
6100
6160
  }
6101
6161
  /**
6102
6162
  * The data that can be extracted from a map exchange string, as a plain table.
6103
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapExchangeStringData.html Online documentation}
6163
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapExchangeStringData.html Online documentation}
6104
6164
  */
6105
6165
  export interface MapExchangeStringData {
6106
6166
  readonly map_settings: MapAndDifficultySettings
@@ -6108,7 +6168,7 @@ declare module "factorio:runtime" {
6108
6168
  }
6109
6169
  /**
6110
6170
  * @see BlueprintSignalIconWrite
6111
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintSignalIcon.html Online documentation}
6171
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintSignalIcon.html Online documentation}
6112
6172
  */
6113
6173
  export interface BlueprintSignalIcon {
6114
6174
  /**
@@ -6122,7 +6182,7 @@ declare module "factorio:runtime" {
6122
6182
  }
6123
6183
  /**
6124
6184
  * Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
6125
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintSignalIcon.html Online documentation}
6185
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintSignalIcon.html Online documentation}
6126
6186
  */
6127
6187
  export interface BlueprintSignalIconWrite {
6128
6188
  /**
@@ -6151,12 +6211,12 @@ declare module "factorio:runtime" {
6151
6211
  * - `target_entity_number`
6152
6212
  *
6153
6213
  * - `target_wire_connector_id`
6154
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/BlueprintWire.html Online documentation}
6214
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/BlueprintWire.html Online documentation}
6155
6215
  */
6156
6216
  export type BlueprintWire = readonly [uint, defines.wire_connector_id, uint, defines.wire_connector_id]
6157
6217
  /**
6158
6218
  * @see TileWrite
6159
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Tile.html Online documentation}
6219
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Tile.html Online documentation}
6160
6220
  */
6161
6221
  export interface Tile {
6162
6222
  /**
@@ -6170,7 +6230,7 @@ declare module "factorio:runtime" {
6170
6230
  }
6171
6231
  /**
6172
6232
  * Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
6173
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Tile.html Online documentation}
6233
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Tile.html Online documentation}
6174
6234
  */
6175
6235
  export interface TileWrite {
6176
6236
  /**
@@ -6225,7 +6285,7 @@ declare module "factorio:runtime" {
6225
6285
  *
6226
6286
  * Other attributes may be specified depending on `type`:
6227
6287
  * - `"fluid"`: {@link FluidIngredient}
6228
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Ingredient.html Online documentation}
6288
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Ingredient.html Online documentation}
6229
6289
  */
6230
6290
  export type Ingredient = FluidIngredient | OtherIngredient
6231
6291
  export interface Loot {
@@ -6391,7 +6451,7 @@ declare module "factorio:runtime" {
6391
6451
  * - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
6392
6452
  * - `"nothing"`: {@link NothingTechnologyModifier}
6393
6453
  * - Other types: {@link OtherTechnologyModifier}
6394
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TechnologyModifier.html Online documentation}
6454
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TechnologyModifier.html Online documentation}
6395
6455
  */
6396
6456
  export type TechnologyModifier =
6397
6457
  | GunSpeedTechnologyModifier
@@ -6403,7 +6463,7 @@ declare module "factorio:runtime" {
6403
6463
  | OtherTechnologyModifier
6404
6464
  /**
6405
6465
  * 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}.
6406
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/NoiseExpression.html Online documentation}
6466
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/NoiseExpression.html Online documentation}
6407
6467
  */
6408
6468
  export interface NoiseExpression {
6409
6469
  /**
@@ -6456,7 +6516,7 @@ declare module "factorio:runtime" {
6456
6516
  * - `"very-high"`: equivalent to `2`.
6457
6517
  * - `"very-big"`: equivalent to `2`.
6458
6518
  * - `"very-good"`: equivalent to `2`.
6459
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MapGenSize.html Online documentation}
6519
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MapGenSize.html Online documentation}
6460
6520
  */
6461
6521
  export type MapGenSize =
6462
6522
  | float
@@ -6478,7 +6538,7 @@ declare module "factorio:runtime" {
6478
6538
  | "very-good"
6479
6539
  /**
6480
6540
  * @see AutoplaceControlWrite
6481
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AutoplaceControl.html Online documentation}
6541
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AutoplaceControl.html Online documentation}
6482
6542
  */
6483
6543
  export interface AutoplaceControl {
6484
6544
  /**
@@ -6496,7 +6556,7 @@ declare module "factorio:runtime" {
6496
6556
  }
6497
6557
  /**
6498
6558
  * Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
6499
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AutoplaceControl.html Online documentation}
6559
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AutoplaceControl.html Online documentation}
6500
6560
  */
6501
6561
  export interface AutoplaceControlWrite {
6502
6562
  /**
@@ -6515,10 +6575,10 @@ declare module "factorio:runtime" {
6515
6575
  /**
6516
6576
  * 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}`.
6517
6577
  *
6518
- * {@link https://lua-api.factorio.com/2.0.39/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:}
6578
+ * {@link https://lua-api.factorio.com/2.0.43/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:}
6519
6579
  *
6520
- * {@link https://lua-api.factorio.com/2.0.39/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:}
6521
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PropertyExpressionNames.html Online documentation}
6580
+ * {@link https://lua-api.factorio.com/2.0.43/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.43/concepts/PropertyExpressionNames.html Online documentation}
6522
6582
  */
6523
6583
  export type PropertyExpressionNames = Record<string, string>
6524
6584
  export interface AdvancedMapGenSettings {
@@ -6541,7 +6601,7 @@ declare module "factorio:runtime" {
6541
6601
  }
6542
6602
  /**
6543
6603
  * An actual signal transmitted by the network.
6544
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Signal.html Online documentation}
6604
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Signal.html Online documentation}
6545
6605
  */
6546
6606
  export interface Signal {
6547
6607
  /**
@@ -6553,65 +6613,9 @@ declare module "factorio:runtime" {
6553
6613
  */
6554
6614
  readonly count: int
6555
6615
  }
6556
- /**
6557
- * @see UpgradeMapperSourceWrite
6558
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/UpgradeMapperSource.html Online documentation}
6559
- */
6560
- export interface UpgradeMapperSource {
6561
- readonly type: "item" | "entity"
6562
- /**
6563
- * Name of the item, or entity.
6564
- */
6565
- readonly name?: string
6566
- /**
6567
- * Name of the quality prototype.
6568
- */
6569
- readonly quality?: string
6570
- /**
6571
- * The quality comparison type.
6572
- */
6573
- readonly comparator?: ComparatorStringRead
6574
- }
6575
- /**
6576
- * Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
6577
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/UpgradeMapperSource.html Online documentation}
6578
- */
6579
- export interface UpgradeMapperSourceWrite {
6580
- readonly type: "item" | "entity"
6581
- /**
6582
- * Name of the item, or entity.
6583
- */
6584
- readonly name?: string
6585
- /**
6586
- * Name of the quality prototype.
6587
- */
6588
- readonly quality?: string
6589
- /**
6590
- * The quality comparison type.
6591
- */
6592
- readonly comparator?: ComparatorString
6593
- }
6594
- export interface UpgradeMapperDestination {
6595
- /**
6596
- * `"item"`, or `"entity"`.
6597
- */
6598
- readonly type: "item" | "entity"
6599
- /**
6600
- * Name of the item, or entity.
6601
- */
6602
- readonly name?: string
6603
- /**
6604
- * Name of the quality.
6605
- */
6606
- readonly quality?: string
6607
- /**
6608
- * when type is `"item"` and the mapper is configured to install modules the limit per machine. If `0` then no limit.
6609
- */
6610
- readonly count?: uint
6611
- }
6612
6616
  /**
6613
6617
  * A single filter used by an infinity-filters instance.
6614
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/InfinityInventoryFilter.html Online documentation}
6618
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/InfinityInventoryFilter.html Online documentation}
6615
6619
  */
6616
6620
  export interface InfinityInventoryFilter {
6617
6621
  /**
@@ -6633,7 +6637,7 @@ declare module "factorio:runtime" {
6633
6637
  }
6634
6638
  /**
6635
6639
  * A single filter used by an infinity-pipe type entity.
6636
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/InfinityPipeFilter.html Online documentation}
6640
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/InfinityPipeFilter.html Online documentation}
6637
6641
  */
6638
6642
  export interface InfinityPipeFilter {
6639
6643
  /**
@@ -6687,7 +6691,7 @@ declare module "factorio:runtime" {
6687
6691
  }
6688
6692
  /**
6689
6693
  * The settings used by a heat-interface type entity.
6690
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/HeatSetting.html Online documentation}
6694
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/HeatSetting.html Online documentation}
6691
6695
  */
6692
6696
  export interface HeatSetting {
6693
6697
  /**
@@ -6705,7 +6709,7 @@ declare module "factorio:runtime" {
6705
6709
  }
6706
6710
  /**
6707
6711
  * @see ArithmeticCombinatorParametersWrite
6708
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ArithmeticCombinatorParameters.html Online documentation}
6712
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ArithmeticCombinatorParameters.html Online documentation}
6709
6713
  */
6710
6714
  export interface ArithmeticCombinatorParameters {
6711
6715
  /**
@@ -6735,7 +6739,7 @@ declare module "factorio:runtime" {
6735
6739
  }
6736
6740
  /**
6737
6741
  * Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
6738
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ArithmeticCombinatorParameters.html Online documentation}
6742
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ArithmeticCombinatorParameters.html Online documentation}
6739
6743
  */
6740
6744
  export interface ArithmeticCombinatorParametersWrite {
6741
6745
  /**
@@ -6765,7 +6769,7 @@ declare module "factorio:runtime" {
6765
6769
  }
6766
6770
  /**
6767
6771
  * @see SelectorCombinatorParametersWrite
6768
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SelectorCombinatorParameters.html Online documentation}
6772
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SelectorCombinatorParameters.html Online documentation}
6769
6773
  */
6770
6774
  export interface SelectorCombinatorParameters {
6771
6775
  /**
@@ -6791,7 +6795,7 @@ declare module "factorio:runtime" {
6791
6795
  }
6792
6796
  /**
6793
6797
  * Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
6794
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SelectorCombinatorParameters.html Online documentation}
6798
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SelectorCombinatorParameters.html Online documentation}
6795
6799
  */
6796
6800
  export interface SelectorCombinatorParametersWrite {
6797
6801
  /**
@@ -6833,7 +6837,7 @@ declare module "factorio:runtime" {
6833
6837
  }
6834
6838
  /**
6835
6839
  * @see CircuitConditionWrite
6836
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CircuitCondition.html Online documentation}
6840
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CircuitCondition.html Online documentation}
6837
6841
  */
6838
6842
  export interface CircuitCondition {
6839
6843
  /**
@@ -6855,7 +6859,7 @@ declare module "factorio:runtime" {
6855
6859
  }
6856
6860
  /**
6857
6861
  * Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
6858
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CircuitCondition.html Online documentation}
6862
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CircuitCondition.html Online documentation}
6859
6863
  */
6860
6864
  export interface CircuitConditionWrite {
6861
6865
  /**
@@ -6877,7 +6881,7 @@ declare module "factorio:runtime" {
6877
6881
  }
6878
6882
  /**
6879
6883
  * @see CircuitConditionDefinitionWrite
6880
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CircuitConditionDefinition.html Online documentation}
6884
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CircuitConditionDefinition.html Online documentation}
6881
6885
  */
6882
6886
  export interface CircuitConditionDefinition {
6883
6887
  /**
@@ -6891,7 +6895,7 @@ declare module "factorio:runtime" {
6891
6895
  }
6892
6896
  /**
6893
6897
  * Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
6894
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CircuitConditionDefinition.html Online documentation}
6898
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CircuitConditionDefinition.html Online documentation}
6895
6899
  */
6896
6900
  export interface CircuitConditionDefinitionWrite {
6897
6901
  /**
@@ -7166,7 +7170,7 @@ declare module "factorio:runtime" {
7166
7170
  * - {@link defines.command.stop}: {@link StopCommand}
7167
7171
  * - {@link defines.command.flee}: {@link FleeCommand}
7168
7172
  * - {@link defines.command.build_base}: {@link BuildBaseCommand}
7169
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Command.html Online documentation}
7173
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Command.html Online documentation}
7170
7174
  */
7171
7175
  export type Command =
7172
7176
  | AttackCommand
@@ -7180,7 +7184,7 @@ declare module "factorio:runtime" {
7180
7184
  | BuildBaseCommand
7181
7185
  /**
7182
7186
  * Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
7183
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Command.html Online documentation}
7187
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Command.html Online documentation}
7184
7188
  */
7185
7189
  export type CommandWrite =
7186
7190
  | AttackCommand
@@ -7265,7 +7269,7 @@ declare module "factorio:runtime" {
7265
7269
  * These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
7266
7270
  * "iron-plate"
7267
7271
  * {name="iron-plate", count=100}
7268
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SimpleItemStack.html Online documentation}
7272
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SimpleItemStack.html Online documentation}
7269
7273
  */
7270
7274
  export type SimpleItemStack = string | ItemStackDefinition
7271
7275
  /**
@@ -7275,7 +7279,7 @@ declare module "factorio:runtime" {
7275
7279
  * - 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.
7276
7280
  * - `string`: It will be the surface name. E.g. `"nauvis"`.
7277
7281
  * - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
7278
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SurfaceIdentification.html Online documentation}
7282
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SurfaceIdentification.html Online documentation}
7279
7283
  */
7280
7284
  export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
7281
7285
  /**
@@ -7285,7 +7289,7 @@ declare module "factorio:runtime" {
7285
7289
  * - PlayerIndex: The player index.
7286
7290
  * - `string`: The player name.
7287
7291
  * - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
7288
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/PlayerIdentification.html Online documentation}
7292
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/PlayerIdentification.html Online documentation}
7289
7293
  */
7290
7294
  export type PlayerIdentification = PlayerIndex | string | LuaPlayer
7291
7295
  /**
@@ -7294,7 +7298,7 @@ declare module "factorio:runtime" {
7294
7298
  * ## Union members
7295
7299
  * - {@link SimpleItemStack}
7296
7300
  * - {@link LuaItemStack}
7297
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemStackIdentification.html Online documentation}
7301
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemStackIdentification.html Online documentation}
7298
7302
  */
7299
7303
  export type ItemStackIdentification = SimpleItemStack | LuaItemStack
7300
7304
  /**
@@ -7304,7 +7308,7 @@ declare module "factorio:runtime" {
7304
7308
  * - `"entity"`: Fires at an entity.
7305
7309
  * - `"position"`: Fires directly at a position.
7306
7310
  * - `"direction"`: Fires in a direction.
7307
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TargetType.html Online documentation}
7311
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TargetType.html Online documentation}
7308
7312
  */
7309
7313
  export type TargetType = "entity" | "position" | "direction"
7310
7314
  export interface BeamTarget {
@@ -7341,8 +7345,8 @@ declare module "factorio:runtime" {
7341
7345
  *
7342
7346
  * The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
7343
7347
  *
7344
- * {@link https://lua-api.factorio.com/2.0.39/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
7345
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SoundPath.html Online documentation}
7348
+ * {@link https://lua-api.factorio.com/2.0.43/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.43/concepts/SoundPath.html Online documentation}
7346
7350
  */
7347
7351
  export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
7348
7352
  export interface CircularParticleCreationSpecification {
@@ -7474,7 +7478,7 @@ declare module "factorio:runtime" {
7474
7478
  * Other attributes may be specified depending on `type`:
7475
7479
  * - `"projectile"`: {@link ProjectileAttackParameters}
7476
7480
  * - `"stream"`: {@link StreamAttackParameters}
7477
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AttackParameters.html Online documentation}
7481
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AttackParameters.html Online documentation}
7478
7482
  */
7479
7483
  export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
7480
7484
  export interface GunShift4Way {
@@ -7540,7 +7544,7 @@ declare module "factorio:runtime" {
7540
7544
  * - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
7541
7545
  * - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
7542
7546
  * - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
7543
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/CapsuleAction.html Online documentation}
7547
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/CapsuleAction.html Online documentation}
7544
7548
  */
7545
7549
  export type CapsuleAction =
7546
7550
  | ThrowCapsuleAction
@@ -7580,12 +7584,12 @@ declare module "factorio:runtime" {
7580
7584
  }
7581
7585
  /**
7582
7586
  * Any basic type (string, number, boolean) or table.
7583
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AnyBasic.html Online documentation}
7587
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AnyBasic.html Online documentation}
7584
7588
  */
7585
7589
  export type AnyBasic = string | boolean | number | table
7586
7590
  /**
7587
7591
  * Any basic type (string, number, boolean), table, or LuaObject.
7588
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Any.html Online documentation}
7592
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Any.html Online documentation}
7589
7593
  */
7590
7594
  export type Any = string | boolean | number | table | LuaObject
7591
7595
  export interface ProgrammableSpeakerParameters {
@@ -7595,7 +7599,7 @@ declare module "factorio:runtime" {
7595
7599
  }
7596
7600
  /**
7597
7601
  * @see ProgrammableSpeakerAlertParametersWrite
7598
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7602
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7599
7603
  */
7600
7604
  export interface ProgrammableSpeakerAlertParameters {
7601
7605
  readonly show_alert: boolean
@@ -7605,7 +7609,7 @@ declare module "factorio:runtime" {
7605
7609
  }
7606
7610
  /**
7607
7611
  * Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
7608
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7612
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
7609
7613
  */
7610
7614
  export interface ProgrammableSpeakerAlertParametersWrite {
7611
7615
  readonly show_alert: boolean
@@ -7637,7 +7641,7 @@ declare module "factorio:runtime" {
7637
7641
  * - `"top-right"`
7638
7642
  * - `"right"`: The same as `"middle-right"`
7639
7643
  * - `"bottom-right"`
7640
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/Alignment.html Online documentation}
7644
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/Alignment.html Online documentation}
7641
7645
  */
7642
7646
  export type Alignment =
7643
7647
  | "top-left"
@@ -7670,8 +7674,8 @@ declare module "factorio:runtime" {
7670
7674
  _customEventIdBrand: any
7671
7675
  }
7672
7676
  /**
7673
- * 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.39/events.html the list of Factorio events} for more information on these.
7674
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EventData.html Online documentation}
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.43/events.html the list of Factorio events} for more information on these.
7678
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EventData.html Online documentation}
7675
7679
  */
7676
7680
  export interface EventData {
7677
7681
  /**
@@ -7780,7 +7784,7 @@ declare module "factorio:runtime" {
7780
7784
  * - `"button-7"`
7781
7785
  * - `"button-8"`
7782
7786
  * - `"button-9"`
7783
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/MouseButtonFlags.html Online documentation}
7787
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/MouseButtonFlags.html Online documentation}
7784
7788
  */
7785
7789
  export interface MouseButtonFlags {
7786
7790
  readonly left?: true
@@ -7803,7 +7807,7 @@ declare module "factorio:runtime" {
7803
7807
  * - `"not-friend"`: Forces which are not friends pass.
7804
7808
  * - `"same"`: The same force pass.
7805
7809
  * - `"not-same"`: The non-same forces pass.
7806
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ForceCondition.html Online documentation}
7810
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ForceCondition.html Online documentation}
7807
7811
  */
7808
7812
  export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
7809
7813
  export interface ItemStackLocation {
@@ -7841,7 +7845,7 @@ declare module "factorio:runtime" {
7841
7845
  * - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
7842
7846
  * - `"tab"`: A tab for use in a `tabbed-pane`.
7843
7847
  * - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
7844
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GuiElementType.html Online documentation}
7848
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GuiElementType.html Online documentation}
7845
7849
  */
7846
7850
  export type GuiElementType =
7847
7851
  | "button"
@@ -7881,7 +7885,7 @@ declare module "factorio:runtime" {
7881
7885
  * - `"position"`
7882
7886
  * - `"crafting_queue"`
7883
7887
  * - `"item_stack"`: Will point to a given item stack in an inventory.
7884
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GuiArrowType.html Online documentation}
7888
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GuiArrowType.html Online documentation}
7885
7889
  */
7886
7890
  export type GuiArrowType =
7887
7891
  | "nowhere"
@@ -7898,7 +7902,7 @@ declare module "factorio:runtime" {
7898
7902
  * ## Union members
7899
7903
  * - `"horizontal"`
7900
7904
  * - `"vertical"`
7901
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/GuiDirection.html Online documentation}
7905
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/GuiDirection.html Online documentation}
7902
7906
  */
7903
7907
  export type GuiDirection = "horizontal" | "vertical"
7904
7908
  /**
@@ -7910,7 +7914,7 @@ declare module "factorio:runtime" {
7910
7914
  * - `"always"`
7911
7915
  * - `"auto"`
7912
7916
  * - `"auto-and-reserve-space"`
7913
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ScrollPolicy.html Online documentation}
7917
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ScrollPolicy.html Online documentation}
7914
7918
  */
7915
7919
  export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
7916
7920
  export interface RailLocation {
@@ -7927,71 +7931,71 @@ declare module "factorio:runtime" {
7927
7931
  }
7928
7932
  /**
7929
7933
  * 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.
7930
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/float.html Online documentation}
7934
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/float.html Online documentation}
7931
7935
  */
7932
7936
  export type float = number
7933
7937
  /**
7934
7938
  * A double-precision floating-point number. This is the same data type as all Lua numbers use.
7935
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/double.html Online documentation}
7939
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/double.html Online documentation}
7936
7940
  */
7937
7941
  export type double = number
7938
7942
  /**
7939
7943
  * 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
7940
7944
  *
7941
7945
  * Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
7942
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/int.html Online documentation}
7946
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/int.html Online documentation}
7943
7947
  */
7944
7948
  export type int = number
7945
7949
  /**
7946
7950
  * 8-bit signed integer. Possible values are `-128` to `127`.
7947
7951
  *
7948
7952
  * Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
7949
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/int8.html Online documentation}
7953
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/int8.html Online documentation}
7950
7954
  */
7951
7955
  export type int8 = number
7952
7956
  /**
7953
7957
  * 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
7954
7958
  *
7955
7959
  * Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
7956
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/uint.html Online documentation}
7960
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/uint.html Online documentation}
7957
7961
  */
7958
7962
  export type uint = number
7959
7963
  /**
7960
7964
  * 8-bit unsigned integer. Possible values are `0` to `255`.
7961
7965
  *
7962
7966
  * Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
7963
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/uint8.html Online documentation}
7967
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/uint8.html Online documentation}
7964
7968
  */
7965
7969
  export type uint8 = number
7966
7970
  /**
7967
7971
  * 16-bit unsigned integer. Possible values are `0` to `65 535`.
7968
7972
  *
7969
7973
  * Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
7970
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/uint16.html Online documentation}
7974
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/uint16.html Online documentation}
7971
7975
  */
7972
7976
  export type uint16 = number
7973
7977
  /**
7974
7978
  * 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
7975
7979
  *
7976
7980
  * Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
7977
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/uint64.html Online documentation}
7981
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/uint64.html Online documentation}
7978
7982
  */
7979
7983
  export type uint64 = number
7980
7984
  /**
7981
7985
  * 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.
7982
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/nil.html Online documentation}
7986
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/nil.html Online documentation}
7983
7987
  */
7984
7988
  export type nil = undefined
7985
7989
  /**
7986
7990
  * Tables are enclosed in curly brackets, like this `{}`.
7987
7991
  *
7988
7992
  * 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.
7989
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/table.html Online documentation}
7993
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/table.html Online documentation}
7990
7994
  */
7991
7995
  export type table = object
7992
7996
  /**
7993
- * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.39/classes.html Classes} page.
7994
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaObject.html Online documentation}
7997
+ * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.43/classes.html Classes} page.
7998
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaObject.html Online documentation}
7995
7999
  */
7996
8000
  export interface LuaObject {
7997
8001
  readonly object_name: string
@@ -8050,7 +8054,7 @@ declare module "factorio:runtime" {
8050
8054
  * - `"type"`: {@link TypeModSettingPrototypeFilter}
8051
8055
  * - `"mod"`: {@link ModModSettingPrototypeFilter}
8052
8056
  * - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
8053
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ModSettingPrototypeFilter.html Online documentation}
8057
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ModSettingPrototypeFilter.html Online documentation}
8054
8058
  */
8055
8059
  export type ModSettingPrototypeFilter =
8056
8060
  | TypeModSettingPrototypeFilter
@@ -8195,7 +8199,7 @@ declare module "factorio:runtime" {
8195
8199
  * - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
8196
8200
  * - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
8197
8201
  * - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
8198
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TilePrototypeFilter.html Online documentation}
8202
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TilePrototypeFilter.html Online documentation}
8199
8203
  */
8200
8204
  export type TilePrototypeFilter =
8201
8205
  | CollisionMaskTilePrototypeFilter
@@ -8206,7 +8210,7 @@ declare module "factorio:runtime" {
8206
8210
  | OtherTilePrototypeFilter
8207
8211
  /**
8208
8212
  * Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
8209
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TilePrototypeFilter.html Online documentation}
8213
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TilePrototypeFilter.html Online documentation}
8210
8214
  */
8211
8215
  export type TilePrototypeFilterWrite =
8212
8216
  | CollisionMaskTilePrototypeFilter
@@ -8257,7 +8261,7 @@ declare module "factorio:runtime" {
8257
8261
  *
8258
8262
  * Other attributes may be specified depending on `filter`:
8259
8263
  * - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
8260
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/DecorativePrototypeFilter.html Online documentation}
8264
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/DecorativePrototypeFilter.html Online documentation}
8261
8265
  */
8262
8266
  export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
8263
8267
  /**
@@ -8511,7 +8515,7 @@ declare module "factorio:runtime" {
8511
8515
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
8512
8516
  * - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
8513
8517
  * - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
8514
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RecipePrototypeFilter.html Online documentation}
8518
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RecipePrototypeFilter.html Online documentation}
8515
8519
  */
8516
8520
  export type RecipePrototypeFilter =
8517
8521
  | HasIngredientItemRecipePrototypeFilter
@@ -8527,7 +8531,7 @@ declare module "factorio:runtime" {
8527
8531
  | OtherRecipePrototypeFilter
8528
8532
  /**
8529
8533
  * Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
8530
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/RecipePrototypeFilter.html Online documentation}
8534
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/RecipePrototypeFilter.html Online documentation}
8531
8535
  */
8532
8536
  export type RecipePrototypeFilterWrite =
8533
8537
  | HasIngredientItemRecipePrototypeFilterWrite
@@ -8579,7 +8583,7 @@ declare module "factorio:runtime" {
8579
8583
  *
8580
8584
  * Other attributes may be specified depending on `filter`:
8581
8585
  * - `"type"`: {@link TypeAchievementPrototypeFilter}
8582
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/AchievementPrototypeFilter.html Online documentation}
8586
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/AchievementPrototypeFilter.html Online documentation}
8583
8587
  */
8584
8588
  export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
8585
8589
  /**
@@ -8702,7 +8706,7 @@ declare module "factorio:runtime" {
8702
8706
  * - `"level"`: {@link LevelTechnologyPrototypeFilter}
8703
8707
  * - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
8704
8708
  * - `"time"`: {@link TimeTechnologyPrototypeFilter}
8705
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TechnologyPrototypeFilter.html Online documentation}
8709
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TechnologyPrototypeFilter.html Online documentation}
8706
8710
  */
8707
8711
  export type TechnologyPrototypeFilter =
8708
8712
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -8713,7 +8717,7 @@ declare module "factorio:runtime" {
8713
8717
  | OtherTechnologyPrototypeFilter
8714
8718
  /**
8715
8719
  * Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8716
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/TechnologyPrototypeFilter.html Online documentation}
8720
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/TechnologyPrototypeFilter.html Online documentation}
8717
8721
  */
8718
8722
  export type TechnologyPrototypeFilterWrite =
8719
8723
  | ResearchUnitIngredientTechnologyPrototypeFilter
@@ -8758,6 +8762,8 @@ declare module "factorio:runtime" {
8758
8762
  | "burnt-result"
8759
8763
  | "place-as-tile"
8760
8764
  | "placed-as-equipment-result"
8765
+ | "plant-result"
8766
+ | "spoil-result"
8761
8767
  | "name"
8762
8768
  | "type"
8763
8769
  | "flag"
@@ -8838,6 +8844,40 @@ declare module "factorio:runtime" {
8838
8844
  */
8839
8845
  readonly elem_filters?: EquipmentPrototypeFilter[]
8840
8846
  }
8847
+ /**
8848
+ * `"plant-result"` variant of {@link ItemPrototypeFilter}.
8849
+ */
8850
+ export interface PlantResultItemPrototypeFilter extends BaseItemPrototypeFilter {
8851
+ readonly filter: "plant-result"
8852
+ /**
8853
+ * Filters for the plant result.
8854
+ */
8855
+ readonly elem_filters?: EntityPrototypeFilter[]
8856
+ }
8857
+ export interface PlantResultItemPrototypeFilterWrite extends BaseItemPrototypeFilter {
8858
+ readonly filter: "plant-result"
8859
+ /**
8860
+ * Filters for the plant result.
8861
+ */
8862
+ readonly elem_filters?: readonly EntityPrototypeFilterWrite[]
8863
+ }
8864
+ /**
8865
+ * `"spoil-result"` variant of {@link ItemPrototypeFilter}.
8866
+ */
8867
+ export interface SpoilResultItemPrototypeFilter extends BaseItemPrototypeFilter {
8868
+ readonly filter: "spoil-result"
8869
+ /**
8870
+ * Filters for the spoil result.
8871
+ */
8872
+ readonly elem_filters?: ItemPrototypeFilter[]
8873
+ }
8874
+ export interface SpoilResultItemPrototypeFilterWrite extends BaseItemPrototypeFilter {
8875
+ readonly filter: "spoil-result"
8876
+ /**
8877
+ * Filters for the spoil result.
8878
+ */
8879
+ readonly elem_filters?: readonly ItemPrototypeFilterWrite[]
8880
+ }
8841
8881
  /**
8842
8882
  * `"name"` variant of {@link ItemPrototypeFilter}.
8843
8883
  *
@@ -9020,6 +9060,8 @@ declare module "factorio:runtime" {
9020
9060
  * - `"burnt-result"`: {@link BurntResultItemPrototypeFilter}
9021
9061
  * - `"place-as-tile"`: {@link PlaceAsTileItemPrototypeFilter}
9022
9062
  * - `"placed-as-equipment-result"`: {@link PlacedAsEquipmentResultItemPrototypeFilter}
9063
+ * - `"plant-result"`: {@link PlantResultItemPrototypeFilter}
9064
+ * - `"spoil-result"`: {@link SpoilResultItemPrototypeFilter}
9023
9065
  * - `"name"`: {@link NameItemPrototypeFilter}
9024
9066
  * - `"type"`: {@link TypeItemPrototypeFilter}
9025
9067
  * - `"flag"`: {@link FlagItemPrototypeFilter}
@@ -9030,13 +9072,15 @@ declare module "factorio:runtime" {
9030
9072
  * - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
9031
9073
  * - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
9032
9074
  * - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
9033
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemPrototypeFilter.html Online documentation}
9075
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemPrototypeFilter.html Online documentation}
9034
9076
  */
9035
9077
  export type ItemPrototypeFilter =
9036
9078
  | PlaceResultItemPrototypeFilter
9037
9079
  | BurntResultItemPrototypeFilter
9038
9080
  | PlaceAsTileItemPrototypeFilter
9039
9081
  | PlacedAsEquipmentResultItemPrototypeFilter
9082
+ | PlantResultItemPrototypeFilter
9083
+ | SpoilResultItemPrototypeFilter
9040
9084
  | NameItemPrototypeFilter
9041
9085
  | TypeItemPrototypeFilter
9042
9086
  | FlagItemPrototypeFilter
@@ -9050,13 +9094,15 @@ declare module "factorio:runtime" {
9050
9094
  | OtherItemPrototypeFilter
9051
9095
  /**
9052
9096
  * Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9053
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/ItemPrototypeFilter.html Online documentation}
9097
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/ItemPrototypeFilter.html Online documentation}
9054
9098
  */
9055
9099
  export type ItemPrototypeFilterWrite =
9056
9100
  | PlaceResultItemPrototypeFilterWrite
9057
9101
  | BurntResultItemPrototypeFilterWrite
9058
9102
  | PlaceAsTileItemPrototypeFilterWrite
9059
9103
  | PlacedAsEquipmentResultItemPrototypeFilter
9104
+ | PlantResultItemPrototypeFilterWrite
9105
+ | SpoilResultItemPrototypeFilterWrite
9060
9106
  | NameItemPrototypeFilter
9061
9107
  | TypeItemPrototypeFilter
9062
9108
  | FlagItemPrototypeFilter
@@ -9106,7 +9152,7 @@ declare module "factorio:runtime" {
9106
9152
  *
9107
9153
  * Other attributes may be specified depending on `filter`:
9108
9154
  * - `"type"`: {@link TypeEquipmentPrototypeFilter}
9109
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EquipmentPrototypeFilter.html Online documentation}
9155
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EquipmentPrototypeFilter.html Online documentation}
9110
9156
  */
9111
9157
  export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
9112
9158
  /**
@@ -9337,7 +9383,7 @@ declare module "factorio:runtime" {
9337
9383
  * - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
9338
9384
  * - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
9339
9385
  * - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
9340
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityPrototypeFilter.html Online documentation}
9386
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityPrototypeFilter.html Online documentation}
9341
9387
  */
9342
9388
  export type EntityPrototypeFilter =
9343
9389
  | NameEntityPrototypeFilter
@@ -9351,7 +9397,7 @@ declare module "factorio:runtime" {
9351
9397
  | OtherEntityPrototypeFilter
9352
9398
  /**
9353
9399
  * Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9354
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/EntityPrototypeFilter.html Online documentation}
9400
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/EntityPrototypeFilter.html Online documentation}
9355
9401
  */
9356
9402
  export type EntityPrototypeFilterWrite =
9357
9403
  | NameEntityPrototypeFilter
@@ -9421,7 +9467,7 @@ declare module "factorio:runtime" {
9421
9467
  * Other attributes may be specified depending on `filter`:
9422
9468
  * - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
9423
9469
  * - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
9424
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SpaceLocationPrototypeFilter.html Online documentation}
9470
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SpaceLocationPrototypeFilter.html Online documentation}
9425
9471
  */
9426
9472
  export type SpaceLocationPrototypeFilter =
9427
9473
  | TypeSpaceLocationPrototypeFilter
@@ -9429,7 +9475,7 @@ declare module "factorio:runtime" {
9429
9475
  | OtherSpaceLocationPrototypeFilter
9430
9476
  /**
9431
9477
  * Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9432
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/SpaceLocationPrototypeFilter.html Online documentation}
9478
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/SpaceLocationPrototypeFilter.html Online documentation}
9433
9479
  */
9434
9480
  export type SpaceLocationPrototypeFilterWrite =
9435
9481
  | TypeSpaceLocationPrototypeFilter
@@ -9617,7 +9663,7 @@ declare module "factorio:runtime" {
9617
9663
  * - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
9618
9664
  * - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
9619
9665
  * - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
9620
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/FluidPrototypeFilter.html Online documentation}
9666
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/FluidPrototypeFilter.html Online documentation}
9621
9667
  */
9622
9668
  export type FluidPrototypeFilter =
9623
9669
  | NameFluidPrototypeFilter
@@ -9631,7 +9677,7 @@ declare module "factorio:runtime" {
9631
9677
  | OtherFluidPrototypeFilter
9632
9678
  /**
9633
9679
  * Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
9634
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/FluidPrototypeFilter.html Online documentation}
9680
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/FluidPrototypeFilter.html Online documentation}
9635
9681
  */
9636
9682
  export type FluidPrototypeFilterWrite =
9637
9683
  | NameFluidPrototypeFilter
@@ -9740,7 +9786,7 @@ declare module "factorio:runtime" {
9740
9786
  * - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
9741
9787
  * - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
9742
9788
  * - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
9743
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
9789
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
9744
9790
  */
9745
9791
  export type LuaPrePlatformMinedEntityEventFilter =
9746
9792
  | TypePrePlatformMinedEntityEventFilter
@@ -9845,7 +9891,7 @@ declare module "factorio:runtime" {
9845
9891
  * - `"name"`: {@link NameRobotMinedEntityEventFilter}
9846
9892
  * - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
9847
9893
  * - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
9848
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
9894
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
9849
9895
  */
9850
9896
  export type LuaRobotMinedEntityEventFilter =
9851
9897
  | TypeRobotMinedEntityEventFilter
@@ -9950,7 +9996,7 @@ declare module "factorio:runtime" {
9950
9996
  * - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
9951
9997
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
9952
9998
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
9953
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
9999
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
9954
10000
  */
9955
10001
  export type LuaEntityMarkedForUpgradeEventFilter =
9956
10002
  | TypeEntityMarkedForUpgradeEventFilter
@@ -10055,7 +10101,7 @@ declare module "factorio:runtime" {
10055
10101
  * - `"name"`: {@link NamePreGhostUpgradedEventFilter}
10056
10102
  * - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
10057
10103
  * - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
10058
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
10104
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
10059
10105
  */
10060
10106
  export type LuaPreGhostUpgradedEventFilter =
10061
10107
  | TypePreGhostUpgradedEventFilter
@@ -10160,7 +10206,7 @@ declare module "factorio:runtime" {
10160
10206
  * - `"name"`: {@link NamePlatformMinedEntityEventFilter}
10161
10207
  * - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
10162
10208
  * - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
10163
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10209
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
10164
10210
  */
10165
10211
  export type LuaPlatformMinedEntityEventFilter =
10166
10212
  | TypePlatformMinedEntityEventFilter
@@ -10265,7 +10311,7 @@ declare module "factorio:runtime" {
10265
10311
  * - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
10266
10312
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
10267
10313
  * - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
10268
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
10314
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
10269
10315
  */
10270
10316
  export type LuaScriptRaisedDestroyEventFilter =
10271
10317
  | TypeScriptRaisedDestroyEventFilter
@@ -10382,7 +10428,7 @@ declare module "factorio:runtime" {
10382
10428
  * - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
10383
10429
  * - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
10384
10430
  * - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
10385
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
10431
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
10386
10432
  */
10387
10433
  export type LuaPlayerBuiltEntityEventFilter =
10388
10434
  | TypePlayerBuiltEntityEventFilter
@@ -10500,7 +10546,7 @@ declare module "factorio:runtime" {
10500
10546
  * - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
10501
10547
  * - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
10502
10548
  * - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
10503
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
10549
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
10504
10550
  */
10505
10551
  export type LuaPlatformBuiltEntityEventFilter =
10506
10552
  | TypePlatformBuiltEntityEventFilter
@@ -10606,7 +10652,7 @@ declare module "factorio:runtime" {
10606
10652
  * - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
10607
10653
  * - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
10608
10654
  * - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
10609
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
10655
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
10610
10656
  */
10611
10657
  export type LuaPreGhostDeconstructedEventFilter =
10612
10658
  | TypePreGhostDeconstructedEventFilter
@@ -10711,7 +10757,7 @@ declare module "factorio:runtime" {
10711
10757
  * - `"name"`: {@link NameEntityClonedEventFilter}
10712
10758
  * - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
10713
10759
  * - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
10714
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityClonedEventFilter.html Online documentation}
10760
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityClonedEventFilter.html Online documentation}
10715
10761
  */
10716
10762
  export type LuaEntityClonedEventFilter =
10717
10763
  | TypeEntityClonedEventFilter
@@ -10816,7 +10862,7 @@ declare module "factorio:runtime" {
10816
10862
  * - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
10817
10863
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
10818
10864
  * - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
10819
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
10865
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
10820
10866
  */
10821
10867
  export type LuaScriptRaisedTeleportedEventFilter =
10822
10868
  | TypeScriptRaisedTeleportedEventFilter
@@ -10923,7 +10969,7 @@ declare module "factorio:runtime" {
10923
10969
  * - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
10924
10970
  * - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
10925
10971
  * - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
10926
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10972
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
10927
10973
  */
10928
10974
  export type LuaEntityDeconstructionCancelledEventFilter =
10929
10975
  | TypeEntityDeconstructionCancelledEventFilter
@@ -11040,7 +11086,7 @@ declare module "factorio:runtime" {
11040
11086
  * - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
11041
11087
  * - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
11042
11088
  * - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
11043
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
11089
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
11044
11090
  */
11045
11091
  export type LuaRobotBuiltEntityEventFilter =
11046
11092
  | TypeRobotBuiltEntityEventFilter
@@ -11146,7 +11192,7 @@ declare module "factorio:runtime" {
11146
11192
  * - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
11147
11193
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
11148
11194
  * - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
11149
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
11195
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
11150
11196
  */
11151
11197
  export type LuaScriptRaisedBuiltEventFilter =
11152
11198
  | TypeScriptRaisedBuiltEventFilter
@@ -11251,7 +11297,7 @@ declare module "factorio:runtime" {
11251
11297
  * - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
11252
11298
  * - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
11253
11299
  * - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
11254
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
11300
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
11255
11301
  */
11256
11302
  export type LuaPrePlayerMinedEntityEventFilter =
11257
11303
  | TypePrePlayerMinedEntityEventFilter
@@ -11356,7 +11402,7 @@ declare module "factorio:runtime" {
11356
11402
  * - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
11357
11403
  * - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
11358
11404
  * - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
11359
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11405
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
11360
11406
  */
11361
11407
  export type LuaPlayerRepairedEntityEventFilter =
11362
11408
  | TypePlayerRepairedEntityEventFilter
@@ -11461,7 +11507,7 @@ declare module "factorio:runtime" {
11461
11507
  * - `"name"`: {@link NameUpgradeCancelledEventFilter}
11462
11508
  * - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
11463
11509
  * - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
11464
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
11510
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
11465
11511
  */
11466
11512
  export type LuaUpgradeCancelledEventFilter =
11467
11513
  | TypeUpgradeCancelledEventFilter
@@ -11566,7 +11612,7 @@ declare module "factorio:runtime" {
11566
11612
  * - `"name"`: {@link NameSectorScannedEventFilter}
11567
11613
  * - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
11568
11614
  * - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
11569
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaSectorScannedEventFilter.html Online documentation}
11615
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaSectorScannedEventFilter.html Online documentation}
11570
11616
  */
11571
11617
  export type LuaSectorScannedEventFilter =
11572
11618
  | TypeSectorScannedEventFilter
@@ -11612,7 +11658,7 @@ declare module "factorio:runtime" {
11612
11658
  *
11613
11659
  * Other attributes may be specified depending on `filter`:
11614
11660
  * - `"type"`: {@link TypePostEntityDiedEventFilter}
11615
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11661
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
11616
11662
  */
11617
11663
  export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter | OtherPostEntityDiedEventFilter
11618
11664
  /**
@@ -11714,7 +11760,7 @@ declare module "factorio:runtime" {
11714
11760
  * - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
11715
11761
  * - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
11716
11762
  * - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
11717
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
11763
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
11718
11764
  */
11719
11765
  export type LuaEntityMarkedForDeconstructionEventFilter =
11720
11766
  | TypeEntityMarkedForDeconstructionEventFilter
@@ -11819,7 +11865,7 @@ declare module "factorio:runtime" {
11819
11865
  * - `"name"`: {@link NamePlayerMinedEntityEventFilter}
11820
11866
  * - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
11821
11867
  * - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
11822
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11868
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
11823
11869
  */
11824
11870
  export type LuaPlayerMinedEntityEventFilter =
11825
11871
  | TypePlayerMinedEntityEventFilter
@@ -11999,7 +12045,7 @@ declare module "factorio:runtime" {
11999
12045
  * - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
12000
12046
  * - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
12001
12047
  * - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
12002
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12048
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12003
12049
  */
12004
12050
  export type LuaEntityDamagedEventFilter =
12005
12051
  | TypeEntityDamagedEventFilter
@@ -12013,7 +12059,7 @@ declare module "factorio:runtime" {
12013
12059
  | OtherEntityDamagedEventFilter
12014
12060
  /**
12015
12061
  * Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
12016
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12062
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityDamagedEventFilter.html Online documentation}
12017
12063
  */
12018
12064
  export type LuaEntityDamagedEventFilterWrite =
12019
12065
  | TypeEntityDamagedEventFilter
@@ -12122,7 +12168,7 @@ declare module "factorio:runtime" {
12122
12168
  * - `"name"`: {@link NameScriptRaisedReviveEventFilter}
12123
12169
  * - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
12124
12170
  * - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
12125
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
12171
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
12126
12172
  */
12127
12173
  export type LuaScriptRaisedReviveEventFilter =
12128
12174
  | TypeScriptRaisedReviveEventFilter
@@ -12227,7 +12273,7 @@ declare module "factorio:runtime" {
12227
12273
  * - `"name"`: {@link NameEntityDiedEventFilter}
12228
12274
  * - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
12229
12275
  * - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
12230
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaEntityDiedEventFilter.html Online documentation}
12276
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaEntityDiedEventFilter.html Online documentation}
12231
12277
  */
12232
12278
  export type LuaEntityDiedEventFilter =
12233
12279
  | TypeEntityDiedEventFilter
@@ -12332,7 +12378,7 @@ declare module "factorio:runtime" {
12332
12378
  * - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
12333
12379
  * - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
12334
12380
  * - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
12335
- * @see {@link https://lua-api.factorio.com/2.0.39/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
12381
+ * @see {@link https://lua-api.factorio.com/2.0.43/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
12336
12382
  */
12337
12383
  export type LuaPreRobotMinedEntityEventFilter =
12338
12384
  | TypePreRobotMinedEntityEventFilter