typed-factorio 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typed-factorio",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Featureful typescript definitions for the Factorio modding api.",
5
5
  "keywords": [
6
6
  "factorio",
@@ -4109,14 +4109,16 @@ declare module "factorio:runtime" {
4109
4109
  * _Can only be used if this is EntityGhost or ItemRequestProxy_
4110
4110
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaEntity.html#LuaEntity.insert_plan Online documentation}
4111
4111
  */
4112
- insert_plan: BlueprintInsertPlan[]
4112
+ get insert_plan(): BlueprintInsertPlan[]
4113
+ set insert_plan(value: readonly BlueprintInsertPlanWrite[])
4113
4114
  /**
4114
4115
  * The removal plan for this item request proxy.
4115
4116
  *
4116
4117
  * _Can only be used if this is ItemRequestProxy_
4117
4118
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaEntity.html#LuaEntity.removal_plan Online documentation}
4118
4119
  */
4119
- removal_plan: BlueprintInsertPlan[]
4120
+ get removal_plan(): BlueprintInsertPlan[]
4121
+ set removal_plan(value: readonly BlueprintInsertPlanWrite[])
4120
4122
  /**
4121
4123
  * The player connected to this character, if any.
4122
4124
  *
@@ -5953,7 +5955,8 @@ declare module "factorio:runtime" {
5953
5955
  * _Can only be used if this is EntityGhost or ItemRequestProxy_
5954
5956
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaEntity.html#LuaEntity.insert_plan Online documentation}
5955
5957
  */
5956
- insert_plan: BlueprintInsertPlan[]
5958
+ get insert_plan(): BlueprintInsertPlan[]
5959
+ set insert_plan(value: readonly BlueprintInsertPlanWrite[])
5957
5960
  /**
5958
5961
  * The {@link LuaEntity#unit_number unit_number} of the entity contained in this ghost. It is the same as the unit number of the {@link import("factorio:prototype").EntityWithOwnerPrototype EntityWithOwnerPrototype} that was destroyed to create this ghost. If it was created by other means, or if the inner entity does not support unit numbers, this property is `nil`.
5959
5962
  *
@@ -7380,14 +7383,16 @@ declare module "factorio:runtime" {
7380
7383
  * _Can only be used if this is EntityGhost or ItemRequestProxy_
7381
7384
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaEntity.html#LuaEntity.insert_plan Online documentation}
7382
7385
  */
7383
- insert_plan: BlueprintInsertPlan[]
7386
+ get insert_plan(): BlueprintInsertPlan[]
7387
+ set insert_plan(value: readonly BlueprintInsertPlanWrite[])
7384
7388
  /**
7385
7389
  * The removal plan for this item request proxy.
7386
7390
  *
7387
7391
  * _Can only be used if this is ItemRequestProxy_
7388
7392
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaEntity.html#LuaEntity.removal_plan Online documentation}
7389
7393
  */
7390
- removal_plan: BlueprintInsertPlan[]
7394
+ get removal_plan(): BlueprintInsertPlan[]
7395
+ set removal_plan(value: readonly BlueprintInsertPlanWrite[])
7391
7396
  /**
7392
7397
  * The target entity for this item-request-proxy, if any.
7393
7398
  *
@@ -13007,7 +13012,7 @@ declare module "factorio:runtime" {
13007
13012
  * This only allows mods to queue research that this force is able to research in the first place. As an example, an already researched technology or one whose prerequisites are not fulfilled will not be queued, but dropped silently instead.
13008
13013
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaForce.html#LuaForce.research_queue Online documentation}
13009
13014
  */
13010
- get research_queue(): LuaTechnology[] | nil
13015
+ get research_queue(): LuaTechnologyPrototype[] | nil
13011
13016
  set research_queue(value: readonly TechnologyID[] | nil)
13012
13017
  /**
13013
13018
  * Whether research is enabled for this force, see {@link LuaForce#enable_research LuaForce::enable_research} and {@link LuaForce#disable_research LuaForce::disable_research}.
@@ -16737,7 +16742,8 @@ declare module "factorio:runtime" {
16737
16742
  * _Can only be used if this is DeconstructionItem_
16738
16743
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaItemCommon.html#LuaItemCommon.tile_filters Online documentation}
16739
16744
  */
16740
- tile_filters: TileID[]
16745
+ get tile_filters(): LuaTilePrototype[]
16746
+ set tile_filters(value: readonly TileID[])
16741
16747
  /**
16742
16748
  * The blacklist/whitelist entity filter mode for this deconstruction item.
16743
16749
  *
@@ -17273,7 +17279,8 @@ declare module "factorio:runtime" {
17273
17279
  * _Can only be used if this is DeconstructionItem_
17274
17280
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaItemCommon.html#LuaItemCommon.tile_filters Online documentation}
17275
17281
  */
17276
- tile_filters: TileID[]
17282
+ get tile_filters(): LuaTilePrototype[]
17283
+ set tile_filters(value: readonly TileID[])
17277
17284
  /**
17278
17285
  * The blacklist/whitelist entity filter mode for this deconstruction item.
17279
17286
  *
@@ -21927,7 +21934,8 @@ declare module "factorio:runtime" {
21927
21934
  * _Can only be used if this is DeconstructionRecord_
21928
21935
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaRecord.html#LuaRecord.tile_filters Online documentation}
21929
21936
  */
21930
- tile_filters: TileID[]
21937
+ get tile_filters(): LuaTilePrototype[]
21938
+ set tile_filters(value: readonly TileID[])
21931
21939
  /**
21932
21940
  * The blacklist/whitelist entity filter mode for this deconstruction planner,.
21933
21941
  *
@@ -22348,7 +22356,8 @@ declare module "factorio:runtime" {
22348
22356
  * _Can only be used if this is DeconstructionRecord_
22349
22357
  * @see {@link https://lua-api.factorio.com/2.0.17/classes/LuaRecord.html#LuaRecord.tile_filters Online documentation}
22350
22358
  */
22351
- tile_filters: TileID[]
22359
+ get tile_filters(): LuaTilePrototype[]
22360
+ set tile_filters(value: readonly TileID[])
22352
22361
  /**
22353
22362
  * The blacklist/whitelist entity filter mode for this deconstruction planner,.
22354
22363
  *
@@ -25716,11 +25725,11 @@ declare module "factorio:runtime" {
25716
25725
  /**
25717
25726
  * The stacks of items to be delivered to target entity from logistic network.
25718
25727
  */
25719
- readonly modules: readonly BlueprintInsertPlan[]
25728
+ readonly modules: readonly BlueprintInsertPlanWrite[]
25720
25729
  /**
25721
25730
  * Specification of items to be removed from the target entity by the logistic network.
25722
25731
  */
25723
- readonly removal_plan?: readonly BlueprintInsertPlan[]
25732
+ readonly removal_plan?: readonly BlueprintInsertPlanWrite[]
25724
25733
  }
25725
25734
  /**
25726
25735
  * `"rolling-stock"` variant of {@link SurfaceCreateEntity}.
@@ -551,7 +551,7 @@ declare module "factorio:runtime" {
551
551
  | LuaEntityDiedEventFilter[]
552
552
  | LuaPreRobotMinedEntityEventFilter[]
553
553
  /**
554
- * Write form of {@link EventFilter}, where table-or-array concepts are allowed to take an array form.
554
+ * Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
555
555
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/EventFilter.html Online documentation}
556
556
  */
557
557
  export type EventFilterWrite =
@@ -1168,7 +1168,7 @@ declare module "factorio:runtime" {
1168
1168
  | SpaceLocationPrototypeFilter[]
1169
1169
  | FluidPrototypeFilter[]
1170
1170
  /**
1171
- * Write form of {@link PrototypeFilter}, where table-or-array concepts are allowed to take an array form.
1171
+ * Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
1172
1172
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/PrototypeFilter.html Online documentation}
1173
1173
  */
1174
1174
  export type PrototypeFilterWrite =
@@ -1203,7 +1203,7 @@ declare module "factorio:runtime" {
1203
1203
  readonly condition: CircuitConditionDefinition
1204
1204
  }
1205
1205
  /**
1206
- * Write form of {@link DisplayPanelMessageDefinition}, where table-or-array concepts are allowed to take an array form.
1206
+ * Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
1207
1207
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/DisplayPanelMessageDefinition.html Online documentation}
1208
1208
  */
1209
1209
  export interface DisplayPanelMessageDefinitionWrite {
@@ -1970,6 +1970,7 @@ declare module "factorio:runtime" {
1970
1970
  | "none-to-north"
1971
1971
  /**
1972
1972
  * Defines an item type that a blueprint entity will request.
1973
+ * @see BlueprintInsertPlanWrite
1973
1974
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/BlueprintInsertPlan.html Online documentation}
1974
1975
  */
1975
1976
  export interface BlueprintInsertPlan {
@@ -1982,6 +1983,20 @@ declare module "factorio:runtime" {
1982
1983
  */
1983
1984
  readonly items: ItemInventoryPositions
1984
1985
  }
1986
+ /**
1987
+ * Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
1988
+ * @see {@link https://lua-api.factorio.com/2.0.17/concepts/BlueprintInsertPlan.html Online documentation}
1989
+ */
1990
+ export interface BlueprintInsertPlanWrite {
1991
+ /**
1992
+ * The prototype name and quality of the item to request.
1993
+ */
1994
+ readonly id: ItemIDAndQualityIDPairWrite
1995
+ /**
1996
+ * Describes the inventories to insert these items into.
1997
+ */
1998
+ readonly items: ItemInventoryPositions
1999
+ }
1985
2000
  export interface MarketIngredient {
1986
2001
  /**
1987
2002
  * Prototype name of the required item.
@@ -2020,11 +2035,11 @@ declare module "factorio:runtime" {
2020
2035
  /**
2021
2036
  * The item.
2022
2037
  */
2023
- readonly name?: ItemID
2038
+ readonly name?: LuaItemPrototype
2024
2039
  /**
2025
2040
  * The quality.
2026
2041
  */
2027
- readonly quality?: QualityID
2042
+ readonly quality?: LuaQualityPrototype
2028
2043
  /**
2029
2044
  * The quality comparison type.
2030
2045
  */
@@ -2032,7 +2047,7 @@ declare module "factorio:runtime" {
2032
2047
  }
2033
2048
  | string
2034
2049
  /**
2035
- * Write form of {@link ItemFilter}, where table-or-array concepts are allowed to take an array form.
2050
+ * Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
2036
2051
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ItemFilter.html Online documentation}
2037
2052
  */
2038
2053
  export type ItemFilterWrite =
@@ -2075,7 +2090,7 @@ declare module "factorio:runtime" {
2075
2090
  readonly temporary?: boolean
2076
2091
  }
2077
2092
  /**
2078
- * Write form of {@link ScheduleRecord}, where table-or-array concepts are allowed to take an array form.
2093
+ * Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
2079
2094
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ScheduleRecord.html Online documentation}
2080
2095
  */
2081
2096
  export interface ScheduleRecordWrite {
@@ -2200,7 +2215,7 @@ declare module "factorio:runtime" {
2200
2215
  readonly records: ScheduleRecord[]
2201
2216
  }
2202
2217
  /**
2203
- * Write form of {@link TrainSchedule}, where table-or-array concepts are allowed to take an array form.
2218
+ * Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
2204
2219
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/TrainSchedule.html Online documentation}
2205
2220
  */
2206
2221
  export interface TrainScheduleWrite {
@@ -2222,7 +2237,7 @@ declare module "factorio:runtime" {
2222
2237
  readonly records: ScheduleRecord[]
2223
2238
  }
2224
2239
  /**
2225
- * Write form of {@link PlatformSchedule}, where table-or-array concepts are allowed to take an array form.
2240
+ * Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
2226
2241
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/PlatformSchedule.html Online documentation}
2227
2242
  */
2228
2243
  export interface PlatformScheduleWrite {
@@ -2246,11 +2261,11 @@ declare module "factorio:runtime" {
2246
2261
  /**
2247
2262
  * Recipe prototype.
2248
2263
  */
2249
- readonly name: RecipeID
2264
+ readonly name: LuaRecipePrototype
2250
2265
  /**
2251
2266
  * Quality prototype.
2252
2267
  */
2253
- readonly quality: QualityID
2268
+ readonly quality: LuaQualityPrototype
2254
2269
  }
2255
2270
  export interface WorkerRobotOrder {
2256
2271
  /**
@@ -2334,15 +2349,30 @@ declare module "factorio:runtime" {
2334
2349
  * - {@link LuaItemStack}: The item stack. Both prototype and quality of the item stack will be used.
2335
2350
  * - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
2336
2351
  * - `string`: The prototype name. Normal quality will be used.
2337
- * - {@link ItemIDAndQualityIDPair}: A table of entity prototype and quality.
2352
+ * - ItemIDAndQualityIDPairWrite: A table of entity prototype and quality.
2338
2353
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ItemWithQualityID.html Online documentation}
2339
2354
  */
2340
- export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPair
2355
+ export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
2341
2356
  /**
2342
2357
  * An item prototype with optional quality specification.
2358
+ * @see ItemIDAndQualityIDPairWrite
2343
2359
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ItemIDAndQualityIDPair.html Online documentation}
2344
2360
  */
2345
2361
  export interface ItemIDAndQualityIDPair {
2362
+ /**
2363
+ * Item prototype. Returns `LuaItemPrototype` when read.
2364
+ */
2365
+ readonly name: LuaItemPrototype
2366
+ /**
2367
+ * Quality prototype. Normal quality will be used if not specified. Returns `LuaQualityPrototype` when read.
2368
+ */
2369
+ readonly quality?: LuaQualityPrototype
2370
+ }
2371
+ /**
2372
+ * Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
2373
+ * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ItemIDAndQualityIDPair.html Online documentation}
2374
+ */
2375
+ export interface ItemIDAndQualityIDPairWrite {
2346
2376
  /**
2347
2377
  * Item prototype. Returns `LuaItemPrototype` when read.
2348
2378
  */
@@ -2562,7 +2592,7 @@ declare module "factorio:runtime" {
2562
2592
  */
2563
2593
  export type ForceSet = LuaForce[] | LuaForce
2564
2594
  /**
2565
- * Write form of {@link ForceSet}, where table-or-array concepts are allowed to take an array form.
2595
+ * Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
2566
2596
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ForceSet.html Online documentation}
2567
2597
  */
2568
2598
  export type ForceSetWrite = readonly ForceID[] | ForceID
@@ -2611,7 +2641,7 @@ declare module "factorio:runtime" {
2611
2641
  /**
2612
2642
  * The prototype name of the signal's quality. `nil` for any quality.
2613
2643
  */
2614
- readonly quality?: QualityID
2644
+ readonly quality?: LuaQualityPrototype
2615
2645
  /**
2616
2646
  * The comparator for quality. `nil` if any quality.
2617
2647
  */
@@ -2619,7 +2649,7 @@ declare module "factorio:runtime" {
2619
2649
  }
2620
2650
  | string
2621
2651
  /**
2622
- * Write form of {@link SignalFilter}, where table-or-array concepts are allowed to take an array form.
2652
+ * Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
2623
2653
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/SignalFilter.html Online documentation}
2624
2654
  */
2625
2655
  export type SignalFilterWrite =
@@ -2666,10 +2696,10 @@ declare module "factorio:runtime" {
2666
2696
  /**
2667
2697
  * The space location to import from.
2668
2698
  */
2669
- readonly import_from?: SpaceLocationID
2699
+ readonly import_from?: LuaSpaceLocationPrototype
2670
2700
  }
2671
2701
  /**
2672
- * Write form of {@link LogisticFilter}, where table-or-array concepts are allowed to take an array form.
2702
+ * Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
2673
2703
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/LogisticFilter.html Online documentation}
2674
2704
  */
2675
2705
  export interface LogisticFilterWrite {
@@ -2736,7 +2766,7 @@ declare module "factorio:runtime" {
2736
2766
  */
2737
2767
  export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
2738
2768
  /**
2739
- * Write form of {@link ScriptRenderTarget}, where table-or-array concepts are allowed to take an array form.
2769
+ * Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
2740
2770
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ScriptRenderTarget.html Online documentation}
2741
2771
  */
2742
2772
  export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
@@ -2756,7 +2786,7 @@ declare module "factorio:runtime" {
2756
2786
  readonly position?: MapPosition
2757
2787
  }
2758
2788
  /**
2759
- * Write form of {@link ScriptRenderTargetTable}, where table-or-array concepts are allowed to take an array form.
2789
+ * Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
2760
2790
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ScriptRenderTargetTable.html Online documentation}
2761
2791
  */
2762
2792
  export interface ScriptRenderTargetTableWrite {
@@ -2982,7 +3012,7 @@ declare module "factorio:runtime" {
2982
3012
  readonly circuit_parameters?: ProgrammableSpeakerCircuitParameters
2983
3013
  }
2984
3014
  /**
2985
- * Write form of {@link BlueprintEntity}, where table-or-array concepts are allowed to take an array form.
3015
+ * Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
2986
3016
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/BlueprintEntity.html Online documentation}
2987
3017
  */
2988
3018
  export interface BlueprintEntityWrite {
@@ -3017,7 +3047,7 @@ declare module "factorio:runtime" {
3017
3047
  /**
3018
3048
  * The items that the entity will request when revived, if any.
3019
3049
  */
3020
- readonly items?: BlueprintInsertPlan[]
3050
+ readonly items?: readonly BlueprintInsertPlanWrite[]
3021
3051
  /**
3022
3052
  * The entity tags of the entity, if there are any.
3023
3053
  */
@@ -3303,7 +3333,7 @@ declare module "factorio:runtime" {
3303
3333
  readonly richness: float
3304
3334
  }
3305
3335
  /**
3306
- * Write form of {@link CliffPlacementSettings}, where table-or-array concepts are allowed to take an array form.
3336
+ * Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
3307
3337
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/CliffPlacementSettings.html Online documentation}
3308
3338
  */
3309
3339
  export interface CliffPlacementSettingsWrite {
@@ -3347,7 +3377,7 @@ declare module "factorio:runtime" {
3347
3377
  readonly settings?: Record<string, AutoplaceControl>
3348
3378
  }
3349
3379
  /**
3350
- * Write form of {@link AutoplaceSettings}, where table-or-array concepts are allowed to take an array form.
3380
+ * Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
3351
3381
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/AutoplaceSettings.html Online documentation}
3352
3382
  */
3353
3383
  export interface AutoplaceSettingsWrite {
@@ -3437,7 +3467,7 @@ declare module "factorio:runtime" {
3437
3467
  readonly territory_settings: TerritorySettings
3438
3468
  }
3439
3469
  /**
3440
- * Write form of {@link MapGenSettings}, where table-or-array concepts are allowed to take an array form.
3470
+ * Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
3441
3471
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/MapGenSettings.html Online documentation}
3442
3472
  */
3443
3473
  export interface MapGenSettingsWrite {
@@ -3929,7 +3959,7 @@ declare module "factorio:runtime" {
3929
3959
  readonly allows_unloading?: boolean
3930
3960
  }
3931
3961
  /**
3932
- * Write form of {@link BlueprintScheduleRecord}, where table-or-array concepts are allowed to take an array form.
3962
+ * Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
3933
3963
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/BlueprintScheduleRecord.html Online documentation}
3934
3964
  */
3935
3965
  export interface BlueprintScheduleRecordWrite {
@@ -3956,7 +3986,7 @@ declare module "factorio:runtime" {
3956
3986
  readonly inside_interrupt: boolean
3957
3987
  }
3958
3988
  /**
3959
- * Write form of {@link BlueprintScheduleInterrupt}, where table-or-array concepts are allowed to take an array form.
3989
+ * Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
3960
3990
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/BlueprintScheduleInterrupt.html Online documentation}
3961
3991
  */
3962
3992
  export interface BlueprintScheduleInterruptWrite {
@@ -3975,7 +4005,7 @@ declare module "factorio:runtime" {
3975
4005
  readonly interrupts?: BlueprintScheduleInterrupt[]
3976
4006
  }
3977
4007
  /**
3978
- * Write form of {@link BlueprintSchedule}, where table-or-array concepts are allowed to take an array form.
4008
+ * Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
3979
4009
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/BlueprintSchedule.html Online documentation}
3980
4010
  */
3981
4011
  export interface BlueprintScheduleWrite {
@@ -4015,7 +4045,7 @@ declare module "factorio:runtime" {
4015
4045
  readonly damage?: uint
4016
4046
  }
4017
4047
  /**
4018
- * Write form of {@link WaitCondition}, where table-or-array concepts are allowed to take an array form.
4048
+ * Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
4019
4049
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/WaitCondition.html Online documentation}
4020
4050
  */
4021
4051
  export interface WaitConditionWrite {
@@ -4031,7 +4061,7 @@ declare module "factorio:runtime" {
4031
4061
  /**
4032
4062
  * This is a CircuitCondition and only present when `type` is `"item_count"`, `"circuit"`, `"fluid_count"`, `"fuel_item_count_all"`, or `"fuel_item_count_any"`, and a circuit condition is configured. This is a ItemIDAndQualityIDPair and only present when `type` is `"request_satisfied"` or `"request_not_satisfied"`
4033
4063
  */
4034
- readonly condition?: CircuitConditionWrite | ItemIDAndQualityIDPair
4064
+ readonly condition?: CircuitConditionWrite | ItemIDAndQualityIDPairWrite
4035
4065
  /**
4036
4066
  * Name of the space location. Only present when `type` is "`any_planet_import_zero`" and a planet is configured.
4037
4067
  */
@@ -4693,7 +4723,7 @@ declare module "factorio:runtime" {
4693
4723
  readonly id: uint
4694
4724
  }
4695
4725
  /**
4696
- * Write form of {@link ScriptArea}, where table-or-array concepts are allowed to take an array form.
4726
+ * Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
4697
4727
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ScriptArea.html Online documentation}
4698
4728
  */
4699
4729
  export interface ScriptAreaWrite {
@@ -4714,7 +4744,7 @@ declare module "factorio:runtime" {
4714
4744
  readonly id: uint
4715
4745
  }
4716
4746
  /**
4717
- * Write form of {@link ScriptPosition}, where table-or-array concepts are allowed to take an array form.
4747
+ * Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
4718
4748
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ScriptPosition.html Online documentation}
4719
4749
  */
4720
4750
  export interface ScriptPositionWrite {
@@ -4915,7 +4945,7 @@ declare module "factorio:runtime" {
4915
4945
  readonly movement: Vector
4916
4946
  }
4917
4947
  /**
4918
- * Write form of {@link AsteroidChunk}, where table-or-array concepts are allowed to take an array form.
4948
+ * Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
4919
4949
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/AsteroidChunk.html Online documentation}
4920
4950
  */
4921
4951
  export interface AsteroidChunkWrite {
@@ -5080,7 +5110,7 @@ declare module "factorio:runtime" {
5080
5110
  readonly name: string
5081
5111
  }
5082
5112
  /**
5083
- * Write form of {@link Tile}, where table-or-array concepts are allowed to take an array form.
5113
+ * Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
5084
5114
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/Tile.html Online documentation}
5085
5115
  */
5086
5116
  export interface TileWrite {
@@ -5406,7 +5436,7 @@ declare module "factorio:runtime" {
5406
5436
  readonly richness: float
5407
5437
  }
5408
5438
  /**
5409
- * Write form of {@link AutoplaceControl}, where table-or-array concepts are allowed to take an array form.
5439
+ * Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
5410
5440
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/AutoplaceControl.html Online documentation}
5411
5441
  */
5412
5442
  export interface AutoplaceControlWrite {
@@ -5494,7 +5524,7 @@ declare module "factorio:runtime" {
5494
5524
  readonly comparator?: ComparatorStringRead
5495
5525
  }
5496
5526
  /**
5497
- * Write form of {@link UpgradeMapperSource}, where table-or-array concepts are allowed to take an array form.
5527
+ * Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
5498
5528
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/UpgradeMapperSource.html Online documentation}
5499
5529
  */
5500
5530
  export interface UpgradeMapperSourceWrite {
@@ -5711,7 +5741,7 @@ declare module "factorio:runtime" {
5711
5741
  readonly constant?: int
5712
5742
  }
5713
5743
  /**
5714
- * Write form of {@link CircuitCondition}, where table-or-array concepts are allowed to take an array form.
5744
+ * Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
5715
5745
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/CircuitCondition.html Online documentation}
5716
5746
  */
5717
5747
  export interface CircuitConditionWrite {
@@ -5747,7 +5777,7 @@ declare module "factorio:runtime" {
5747
5777
  readonly fulfilled?: boolean
5748
5778
  }
5749
5779
  /**
5750
- * Write form of {@link CircuitConditionDefinition}, where table-or-array concepts are allowed to take an array form.
5780
+ * Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
5751
5781
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/CircuitConditionDefinition.html Online documentation}
5752
5782
  */
5753
5783
  export interface CircuitConditionDefinitionWrite {
@@ -5797,7 +5827,7 @@ declare module "factorio:runtime" {
5797
5827
  /**
5798
5828
  * The quality level of the items.
5799
5829
  */
5800
- readonly quality: QualityID
5830
+ readonly quality: LuaQualityPrototype
5801
5831
  }
5802
5832
  export interface BaseCommand {
5803
5833
  /**
@@ -6050,7 +6080,7 @@ declare module "factorio:runtime" {
6050
6080
  | FleeCommand
6051
6081
  | BuildBaseCommand
6052
6082
  /**
6053
- * Write form of {@link Command}, where table-or-array concepts are allowed to take an array form.
6083
+ * Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
6054
6084
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/Command.html Online documentation}
6055
6085
  */
6056
6086
  export type CommandWrite =
@@ -7045,7 +7075,7 @@ declare module "factorio:runtime" {
7045
7075
  | AbsorptionsPerSecondTilePrototypeFilter
7046
7076
  | OtherTilePrototypeFilter
7047
7077
  /**
7048
- * Write form of {@link TilePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7078
+ * Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
7049
7079
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/TilePrototypeFilter.html Online documentation}
7050
7080
  */
7051
7081
  export type TilePrototypeFilterWrite =
@@ -7366,7 +7396,7 @@ declare module "factorio:runtime" {
7366
7396
  | OverloadMultiplierRecipePrototypeFilter
7367
7397
  | OtherRecipePrototypeFilter
7368
7398
  /**
7369
- * Write form of {@link RecipePrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7399
+ * Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
7370
7400
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/RecipePrototypeFilter.html Online documentation}
7371
7401
  */
7372
7402
  export type RecipePrototypeFilterWrite =
@@ -7552,7 +7582,7 @@ declare module "factorio:runtime" {
7552
7582
  | TimeTechnologyPrototypeFilter
7553
7583
  | OtherTechnologyPrototypeFilter
7554
7584
  /**
7555
- * Write form of {@link TechnologyPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7585
+ * Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
7556
7586
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/TechnologyPrototypeFilter.html Online documentation}
7557
7587
  */
7558
7588
  export type TechnologyPrototypeFilterWrite =
@@ -7889,7 +7919,7 @@ declare module "factorio:runtime" {
7889
7919
  | FuelEmissionsMultiplierItemPrototypeFilter
7890
7920
  | OtherItemPrototypeFilter
7891
7921
  /**
7892
- * Write form of {@link ItemPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
7922
+ * Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
7893
7923
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/ItemPrototypeFilter.html Online documentation}
7894
7924
  */
7895
7925
  export type ItemPrototypeFilterWrite =
@@ -8190,7 +8220,7 @@ declare module "factorio:runtime" {
8190
8220
  | CraftingCategoryEntityPrototypeFilter
8191
8221
  | OtherEntityPrototypeFilter
8192
8222
  /**
8193
- * Write form of {@link EntityPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
8223
+ * Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8194
8224
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/EntityPrototypeFilter.html Online documentation}
8195
8225
  */
8196
8226
  export type EntityPrototypeFilterWrite =
@@ -8268,7 +8298,7 @@ declare module "factorio:runtime" {
8268
8298
  | SolarPowerInSpaceSpaceLocationPrototypeFilter
8269
8299
  | OtherSpaceLocationPrototypeFilter
8270
8300
  /**
8271
- * Write form of {@link SpaceLocationPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
8301
+ * Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8272
8302
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/SpaceLocationPrototypeFilter.html Online documentation}
8273
8303
  */
8274
8304
  export type SpaceLocationPrototypeFilterWrite =
@@ -8470,7 +8500,7 @@ declare module "factorio:runtime" {
8470
8500
  | GasTemperatureFluidPrototypeFilter
8471
8501
  | OtherFluidPrototypeFilter
8472
8502
  /**
8473
- * Write form of {@link FluidPrototypeFilter}, where table-or-array concepts are allowed to take an array form.
8503
+ * Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
8474
8504
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/FluidPrototypeFilter.html Online documentation}
8475
8505
  */
8476
8506
  export type FluidPrototypeFilterWrite =
@@ -10852,7 +10882,7 @@ declare module "factorio:runtime" {
10852
10882
  | FinalHealthEntityDamagedEventFilter
10853
10883
  | OtherEntityDamagedEventFilter
10854
10884
  /**
10855
- * Write form of {@link LuaEntityDamagedEventFilter}, where table-or-array concepts are allowed to take an array form.
10885
+ * Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
10856
10886
  * @see {@link https://lua-api.factorio.com/2.0.17/concepts/LuaEntityDamagedEventFilter.html Online documentation}
10857
10887
  */
10858
10888
  export type LuaEntityDamagedEventFilterWrite =