typed-factorio 4.2.0 → 4.7.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.
- package/common/data-global.d.ts +1 -1
- package/common/types.d.ts +5 -24
- package/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +2739 -2489
- package/prototype/generated/types.d.ts +2784 -2691
- package/runtime/generated/classes.d.ts +5952 -5225
- package/runtime/generated/concepts.d.ts +876 -526
- package/runtime/generated/defines.d.ts +255 -217
- package/runtime/generated/events.d.ts +547 -223
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +7 -7
|
@@ -12,7 +12,7 @@ import type { VersionString } from "factorio:common"
|
|
|
12
12
|
declare module "factorio:runtime" {
|
|
13
13
|
/**
|
|
14
14
|
* Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is `1/2^16`.
|
|
15
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Weight.html Online documentation}
|
|
16
16
|
*/
|
|
17
17
|
export type Weight = double
|
|
18
18
|
export interface CircularParticleCreationSpecification {
|
|
@@ -54,8 +54,8 @@ declare module "factorio:runtime" {
|
|
|
54
54
|
_customEventIdBrand: any
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* 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.1.
|
|
58
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
57
|
+
* 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.1.22/events.html the list of Factorio events} for more information on these.
|
|
58
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EventData.html Online documentation}
|
|
59
59
|
*/
|
|
60
60
|
export interface EventData {
|
|
61
61
|
/**
|
|
@@ -115,7 +115,7 @@ declare module "factorio:runtime" {
|
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* Information about an individual segment in a segmented unit when the unit died.
|
|
118
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
118
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PostSegmentDiedData.html Online documentation}
|
|
119
119
|
*/
|
|
120
120
|
export interface PostSegmentDiedData {
|
|
121
121
|
/**
|
|
@@ -131,7 +131,7 @@ declare module "factorio:runtime" {
|
|
|
131
131
|
* ## Union members
|
|
132
132
|
* - `"input"`
|
|
133
133
|
* - `"output"`
|
|
134
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
134
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BeltConnectionType.html Online documentation}
|
|
135
135
|
*/
|
|
136
136
|
export type BeltConnectionType = "input" | "output"
|
|
137
137
|
/**
|
|
@@ -142,13 +142,13 @@ declare module "factorio:runtime" {
|
|
|
142
142
|
* - {@link FluidID}: Used with fluid production statistics.
|
|
143
143
|
* - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
|
|
144
144
|
* - {@link EntityID}: Used with pollution statistics.
|
|
145
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
145
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FlowStatisticsID.html Online documentation}
|
|
146
146
|
*/
|
|
147
147
|
export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
|
|
148
148
|
export type ItemStackIndex = uint16
|
|
149
149
|
export type LogisticFilterIndex = uint16
|
|
150
|
+
export type LogisticSectionIndex = uint8
|
|
150
151
|
export type ItemCountType = uint32
|
|
151
|
-
export type InventoryIndex = uint8
|
|
152
152
|
/**
|
|
153
153
|
* A string that specifies how the inputs should be compared.
|
|
154
154
|
*
|
|
@@ -164,7 +164,7 @@ declare module "factorio:runtime" {
|
|
|
164
164
|
* - `"<="`: "lesser than or equal to"
|
|
165
165
|
* - `"≠"`: "not equal to"
|
|
166
166
|
* - `"!="`: "not equal to"
|
|
167
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
167
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ComparatorString.html Online documentation}
|
|
168
168
|
*/
|
|
169
169
|
export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
|
|
170
170
|
export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
|
|
@@ -195,132 +195,132 @@ declare module "factorio:runtime" {
|
|
|
195
195
|
*
|
|
196
196
|
* The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
|
|
197
197
|
*
|
|
198
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
199
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
198
|
+
* {@link https://lua-api.factorio.com/2.1.22/concepts/SpritePath.html > The supported types are:}
|
|
199
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpritePath.html Online documentation}
|
|
200
200
|
*/
|
|
201
201
|
export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
|
|
202
202
|
/**
|
|
203
203
|
* 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.
|
|
204
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
204
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.html Online documentation}
|
|
205
205
|
*/
|
|
206
206
|
export interface GameViewSettings {
|
|
207
207
|
/**
|
|
208
208
|
* Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
|
|
209
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
209
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_controller_gui.html Online documentation}
|
|
210
210
|
*/
|
|
211
211
|
show_controller_gui: boolean
|
|
212
212
|
/**
|
|
213
213
|
* Show the chart in the upper right-hand corner of the screen.
|
|
214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
214
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_minimap.html Online documentation}
|
|
215
215
|
*/
|
|
216
216
|
show_minimap: boolean
|
|
217
217
|
/**
|
|
218
218
|
* Show research progress and name in the upper right-hand corner of the screen.
|
|
219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
219
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_research_info.html Online documentation}
|
|
220
220
|
*/
|
|
221
221
|
show_research_info: boolean
|
|
222
222
|
/**
|
|
223
223
|
* Show overlay icons on entities. Also known as "alt-mode".
|
|
224
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
224
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_entity_info.html Online documentation}
|
|
225
225
|
*/
|
|
226
226
|
show_entity_info: boolean
|
|
227
227
|
/**
|
|
228
228
|
* Show the flashing alert icons next to the player's toolbar.
|
|
229
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
229
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_alert_gui.html Online documentation}
|
|
230
230
|
*/
|
|
231
231
|
show_alert_gui: boolean
|
|
232
232
|
/**
|
|
233
233
|
* When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
|
|
234
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
234
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.update_entity_selection.html Online documentation}
|
|
235
235
|
*/
|
|
236
236
|
update_entity_selection: boolean
|
|
237
237
|
/**
|
|
238
238
|
* When `true` (`false` is default), the rails will always show the rail block visualisation.
|
|
239
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
239
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
|
|
240
240
|
*/
|
|
241
241
|
show_rail_block_visualisation: boolean
|
|
242
242
|
/**
|
|
243
243
|
* Shows or hides the buttons row.
|
|
244
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
244
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_side_menu.html Online documentation}
|
|
245
245
|
*/
|
|
246
246
|
show_side_menu: boolean
|
|
247
247
|
/**
|
|
248
248
|
* Shows or hides the pins GUI on the right side of the screen.
|
|
249
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
249
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_pins_gui.html Online documentation}
|
|
250
250
|
*/
|
|
251
251
|
show_pins_gui: boolean
|
|
252
252
|
/**
|
|
253
253
|
* Shows or hides the view options when map is opened.
|
|
254
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
254
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_map_view_options.html Online documentation}
|
|
255
255
|
*/
|
|
256
256
|
show_map_view_options: boolean
|
|
257
257
|
/**
|
|
258
258
|
* Shows or hides the tooltip that is displayed when selecting an entity.
|
|
259
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
259
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
|
|
260
260
|
*/
|
|
261
261
|
show_entity_tooltip: boolean
|
|
262
262
|
/**
|
|
263
263
|
* Shows or hides quickbar of shortcuts.
|
|
264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
264
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_quickbar.html Online documentation}
|
|
265
265
|
*/
|
|
266
266
|
show_quickbar: boolean
|
|
267
267
|
/**
|
|
268
268
|
* Shows or hides the shortcut bar.
|
|
269
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
269
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
|
|
270
270
|
*/
|
|
271
271
|
show_shortcut_bar: boolean
|
|
272
272
|
/**
|
|
273
273
|
* Shows or hides the crafting queue.
|
|
274
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
274
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
|
|
275
275
|
*/
|
|
276
276
|
show_crafting_queue: boolean
|
|
277
277
|
/**
|
|
278
278
|
* Shows or hides the tool window with the weapons and armor.
|
|
279
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
279
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_tool_bar.html Online documentation}
|
|
280
280
|
*/
|
|
281
281
|
show_tool_bar: boolean
|
|
282
282
|
/**
|
|
283
283
|
* Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
|
|
284
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
284
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
|
|
285
285
|
*/
|
|
286
286
|
show_hotkey_suggestions: boolean
|
|
287
287
|
/**
|
|
288
288
|
* Shows or hides the surface list while in Remote View.
|
|
289
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
289
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_surface_list.html Online documentation}
|
|
290
290
|
*/
|
|
291
291
|
show_surface_list: boolean
|
|
292
292
|
/**
|
|
293
293
|
* Makes tall entities translucent and unselectable.
|
|
294
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
294
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.hide_tall_entities.html Online documentation}
|
|
295
295
|
*/
|
|
296
296
|
hide_tall_entities: boolean
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
300
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
299
|
+
* Precision is ignored beyond four decimals - `0.56789` results in `0.5678` and means 56.78% etc. Values can range from `-1000.0000` to `1000.0000`.
|
|
300
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EffectValue.html Online documentation}
|
|
301
301
|
*/
|
|
302
|
-
export type
|
|
302
|
+
export type EffectValue = float
|
|
303
303
|
/**
|
|
304
304
|
* @example
|
|
305
305
|
* -- These are the effects of the vanilla Speed Module 3
|
|
306
306
|
* {speed = 0.5, consumption = 0.7, quality = -0.025}
|
|
307
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
307
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Effect.html Online documentation}
|
|
308
308
|
*/
|
|
309
|
-
export interface
|
|
310
|
-
readonly consumption?:
|
|
311
|
-
readonly speed?:
|
|
312
|
-
readonly productivity?:
|
|
313
|
-
readonly pollution?:
|
|
314
|
-
readonly quality?:
|
|
309
|
+
export interface Effect {
|
|
310
|
+
readonly consumption?: EffectValue
|
|
311
|
+
readonly speed?: EffectValue
|
|
312
|
+
readonly productivity?: EffectValue
|
|
313
|
+
readonly pollution?: EffectValue
|
|
314
|
+
readonly quality?: EffectValue
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
317
|
* `math.huge` represents the maximum possible tick.
|
|
318
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
318
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapTick.html Online documentation}
|
|
319
319
|
*/
|
|
320
320
|
export type MapTick = uint64
|
|
321
321
|
/**
|
|
322
322
|
* @see BlueprintSignalIconWrite
|
|
323
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
323
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSignalIcon.html Online documentation}
|
|
324
324
|
*/
|
|
325
325
|
export interface BlueprintSignalIcon {
|
|
326
326
|
/**
|
|
@@ -334,7 +334,7 @@ declare module "factorio:runtime" {
|
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
|
|
337
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
337
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSignalIcon.html Online documentation}
|
|
338
338
|
*/
|
|
339
339
|
export interface BlueprintSignalIconWrite {
|
|
340
340
|
/**
|
|
@@ -404,6 +404,7 @@ declare module "factorio:runtime" {
|
|
|
404
404
|
* - `"elevated-rail-tie"`: 135
|
|
405
405
|
* - `"elevated-rail-screw"`: 136
|
|
406
406
|
* - `"elevated-rail-metal"`: 137
|
|
407
|
+
* - `"elevated-rail-above-metal"`: 138
|
|
407
408
|
* - `"elevated-lower-object"`: 141
|
|
408
409
|
* - `"elevated-object"`: 142
|
|
409
410
|
* - `"elevated-higher-object"`: 143
|
|
@@ -422,7 +423,7 @@ declare module "factorio:runtime" {
|
|
|
422
423
|
* - `"collision-selection-box"`: 189
|
|
423
424
|
* - `"arrow"`: 190
|
|
424
425
|
* - `"cursor"`: 226
|
|
425
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
426
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RenderLayer.html Online documentation}
|
|
426
427
|
*/
|
|
427
428
|
export type RenderLayer =
|
|
428
429
|
| `${bigint}`
|
|
@@ -479,6 +480,7 @@ declare module "factorio:runtime" {
|
|
|
479
480
|
| "elevated-rail-tie"
|
|
480
481
|
| "elevated-rail-screw"
|
|
481
482
|
| "elevated-rail-metal"
|
|
483
|
+
| "elevated-rail-above-metal"
|
|
482
484
|
| "elevated-lower-object"
|
|
483
485
|
| "elevated-object"
|
|
484
486
|
| "elevated-higher-object"
|
|
@@ -505,7 +507,7 @@ declare module "factorio:runtime" {
|
|
|
505
507
|
}
|
|
506
508
|
/**
|
|
507
509
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
|
508
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
510
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapViewSettings.html Online documentation}
|
|
509
511
|
*/
|
|
510
512
|
export interface MapViewSettings {
|
|
511
513
|
readonly "show-logistic-network"?: boolean
|
|
@@ -535,7 +537,7 @@ declare module "factorio:runtime" {
|
|
|
535
537
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
|
536
538
|
* - `"spidertron-remote-selected"`
|
|
537
539
|
* - `"spidertron-remote-to-be-selected"`
|
|
538
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
540
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CursorBoxRenderType.html Online documentation}
|
|
539
541
|
*/
|
|
540
542
|
export type CursorBoxRenderType =
|
|
541
543
|
| "entity"
|
|
@@ -562,14 +564,14 @@ declare module "factorio:runtime" {
|
|
|
562
564
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
|
563
565
|
* @example
|
|
564
566
|
* "is_lower_object"
|
|
565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
567
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CollisionLayerID.html Online documentation}
|
|
566
568
|
*/
|
|
567
569
|
export type CollisionLayerID = string
|
|
568
570
|
/**
|
|
569
571
|
* @example
|
|
570
572
|
* -- Most common collision mask of buildings:
|
|
571
573
|
* collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
|
|
572
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
574
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CollisionMask.html Online documentation}
|
|
573
575
|
*/
|
|
574
576
|
export interface CollisionMask {
|
|
575
577
|
/**
|
|
@@ -604,7 +606,7 @@ declare module "factorio:runtime" {
|
|
|
604
606
|
* - `"always"`
|
|
605
607
|
* - `"auto"`
|
|
606
608
|
* - `"auto-and-reserve-space"`
|
|
607
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
609
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScrollPolicy.html Online documentation}
|
|
608
610
|
*/
|
|
609
611
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
|
610
612
|
export interface EmptySlotInfo {
|
|
@@ -622,9 +624,7 @@ declare module "factorio:runtime" {
|
|
|
622
624
|
readonly text?: LocalisedString
|
|
623
625
|
}
|
|
624
626
|
/**
|
|
625
|
-
*
|
|
626
|
-
*
|
|
627
|
-
* To write to this, use an array[`string`] of the mouse buttons that should be possible to use with on button. The flag `"left-and-right"` can also be set, which will set `"left"` and `"right"` to `true`.
|
|
627
|
+
* Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
628
628
|
*
|
|
629
629
|
* ## Union members
|
|
630
630
|
* - `"left"`
|
|
@@ -636,9 +636,9 @@ declare module "factorio:runtime" {
|
|
|
636
636
|
* - `"button-7"`
|
|
637
637
|
* - `"button-8"`
|
|
638
638
|
* - `"button-9"`
|
|
639
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
639
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ActiveMouseButtonFlags.html Online documentation}
|
|
640
640
|
*/
|
|
641
|
-
export interface
|
|
641
|
+
export interface ActiveMouseButtonFlags {
|
|
642
642
|
readonly "left"?: true
|
|
643
643
|
readonly "right"?: true
|
|
644
644
|
readonly "middle"?: true
|
|
@@ -649,7 +649,32 @@ declare module "factorio:runtime" {
|
|
|
649
649
|
readonly "button-8"?: true
|
|
650
650
|
readonly "button-9"?: true
|
|
651
651
|
}
|
|
652
|
-
|
|
652
|
+
/**
|
|
653
|
+
* ## Union members
|
|
654
|
+
* - `"left"`
|
|
655
|
+
* - `"right"`
|
|
656
|
+
* - `"left-and-right"`: Sets both `"left"` and `"right"` flags.
|
|
657
|
+
* - `"middle"`
|
|
658
|
+
* - `"button-4"`
|
|
659
|
+
* - `"button-5"`
|
|
660
|
+
* - `"button-6"`
|
|
661
|
+
* - `"button-7"`
|
|
662
|
+
* - `"button-8"`
|
|
663
|
+
* - `"button-9"`
|
|
664
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MouseButtonFlags.html Online documentation}
|
|
665
|
+
*/
|
|
666
|
+
export type MouseButtonFlags = readonly (
|
|
667
|
+
| "left"
|
|
668
|
+
| "right"
|
|
669
|
+
| "left-and-right"
|
|
670
|
+
| "middle"
|
|
671
|
+
| "button-4"
|
|
672
|
+
| "button-5"
|
|
673
|
+
| "button-6"
|
|
674
|
+
| "button-7"
|
|
675
|
+
| "button-8"
|
|
676
|
+
| "button-9"
|
|
677
|
+
)[]
|
|
653
678
|
/**
|
|
654
679
|
* State of a GUI {@link LuaGuiElement#switch_state switch}.
|
|
655
680
|
*
|
|
@@ -657,7 +682,7 @@ declare module "factorio:runtime" {
|
|
|
657
682
|
* - `"left"`
|
|
658
683
|
* - `"right"`
|
|
659
684
|
* - `"none"`
|
|
660
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
685
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SwitchState.html Online documentation}
|
|
661
686
|
*/
|
|
662
687
|
export type SwitchState = "left" | "right" | "none"
|
|
663
688
|
/**
|
|
@@ -688,7 +713,7 @@ declare module "factorio:runtime" {
|
|
|
688
713
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
|
689
714
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
|
690
715
|
* - `"inventory"`
|
|
691
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
716
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiElementType.html Online documentation}
|
|
692
717
|
*/
|
|
693
718
|
export type GuiElementType =
|
|
694
719
|
| "button"
|
|
@@ -752,7 +777,14 @@ declare module "factorio:runtime" {
|
|
|
752
777
|
* - `"entity-with-quality"`
|
|
753
778
|
* - `"recipe-with-quality"`
|
|
754
779
|
* - `"equipment-with-quality"`
|
|
755
|
-
*
|
|
780
|
+
* - `"ammo-category"`
|
|
781
|
+
* - `"airborne-pollutant"`
|
|
782
|
+
* - `"quality"`
|
|
783
|
+
* - `"shortcut"`
|
|
784
|
+
* - `"space-connection"`
|
|
785
|
+
* - `"surface"`
|
|
786
|
+
* - `"virtual-signal"`
|
|
787
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ElemType.html Online documentation}
|
|
756
788
|
*/
|
|
757
789
|
export type ElemType =
|
|
758
790
|
| "achievement"
|
|
@@ -772,6 +804,13 @@ declare module "factorio:runtime" {
|
|
|
772
804
|
| "entity-with-quality"
|
|
773
805
|
| "recipe-with-quality"
|
|
774
806
|
| "equipment-with-quality"
|
|
807
|
+
| "ammo-category"
|
|
808
|
+
| "airborne-pollutant"
|
|
809
|
+
| "quality"
|
|
810
|
+
| "shortcut"
|
|
811
|
+
| "space-connection"
|
|
812
|
+
| "surface"
|
|
813
|
+
| "virtual-signal"
|
|
775
814
|
export interface ElemID {
|
|
776
815
|
readonly type: ElemType
|
|
777
816
|
/**
|
|
@@ -803,7 +842,7 @@ declare module "factorio:runtime" {
|
|
|
803
842
|
}
|
|
804
843
|
/**
|
|
805
844
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_VariablePresentationHint DebugAdapter VariablePresentationHint}
|
|
806
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
845
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DebugVariablePresentationHint.html Online documentation}
|
|
807
846
|
*/
|
|
808
847
|
export interface DebugVariablePresentationHint {
|
|
809
848
|
/**
|
|
@@ -818,7 +857,7 @@ declare module "factorio:runtime" {
|
|
|
818
857
|
}
|
|
819
858
|
/**
|
|
820
859
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable DebugAdapter Variable}
|
|
821
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
860
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DebugVariable.html Online documentation}
|
|
822
861
|
*/
|
|
823
862
|
export interface DebugVariable {
|
|
824
863
|
readonly name: string
|
|
@@ -834,13 +873,13 @@ declare module "factorio:runtime" {
|
|
|
834
873
|
* @see VectorTable
|
|
835
874
|
* @example
|
|
836
875
|
* right = {1.0, 0.0}
|
|
837
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
876
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector.html Online documentation}
|
|
838
877
|
*/
|
|
839
878
|
export type Vector = readonly [float, float]
|
|
840
879
|
/**
|
|
841
880
|
* Table form of {@link Vector}.
|
|
842
881
|
* @see Vector
|
|
843
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
882
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector.html Online documentation}
|
|
844
883
|
*/
|
|
845
884
|
export interface VectorTable {
|
|
846
885
|
readonly x: float
|
|
@@ -849,7 +888,7 @@ declare module "factorio:runtime" {
|
|
|
849
888
|
/**
|
|
850
889
|
* 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.
|
|
851
890
|
* @see ChunkPositionArray
|
|
852
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
891
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChunkPosition.html Online documentation}
|
|
853
892
|
*/
|
|
854
893
|
export interface ChunkPosition {
|
|
855
894
|
readonly x: int32
|
|
@@ -858,7 +897,7 @@ declare module "factorio:runtime" {
|
|
|
858
897
|
/**
|
|
859
898
|
* Array form of {@link ChunkPosition}.
|
|
860
899
|
* @see ChunkPosition
|
|
861
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
900
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChunkPosition.html Online documentation}
|
|
862
901
|
*/
|
|
863
902
|
export type ChunkPositionArray = readonly [int32, int32]
|
|
864
903
|
export interface ItemStackLocation {
|
|
@@ -882,7 +921,7 @@ declare module "factorio:runtime" {
|
|
|
882
921
|
/**
|
|
883
922
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
|
884
923
|
* @see ItemFilterWrite
|
|
885
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
924
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemFilter.html Online documentation}
|
|
886
925
|
*/
|
|
887
926
|
export type ItemFilter =
|
|
888
927
|
| {
|
|
@@ -902,7 +941,7 @@ declare module "factorio:runtime" {
|
|
|
902
941
|
| string
|
|
903
942
|
/**
|
|
904
943
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
905
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
944
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemFilter.html Online documentation}
|
|
906
945
|
*/
|
|
907
946
|
export type ItemFilterWrite =
|
|
908
947
|
| {
|
|
@@ -922,7 +961,7 @@ declare module "factorio:runtime" {
|
|
|
922
961
|
| string
|
|
923
962
|
/**
|
|
924
963
|
* @see SavedLogisticFiltersWrite
|
|
925
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
964
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticFilters.html Online documentation}
|
|
926
965
|
*/
|
|
927
966
|
export interface SavedLogisticFilters {
|
|
928
967
|
readonly trash_not_requested: boolean
|
|
@@ -930,7 +969,7 @@ declare module "factorio:runtime" {
|
|
|
930
969
|
}
|
|
931
970
|
/**
|
|
932
971
|
* Write form of {@link SavedLogisticFilters}, where some properties allow additional values as input compared to the read form.
|
|
933
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
972
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticFilters.html Online documentation}
|
|
934
973
|
*/
|
|
935
974
|
export interface SavedLogisticFiltersWrite {
|
|
936
975
|
readonly trash_not_requested: boolean
|
|
@@ -938,7 +977,7 @@ declare module "factorio:runtime" {
|
|
|
938
977
|
}
|
|
939
978
|
/**
|
|
940
979
|
* @see SavedLogisticSectionWrite
|
|
941
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
980
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticSection.html Online documentation}
|
|
942
981
|
*/
|
|
943
982
|
export interface SavedLogisticSection {
|
|
944
983
|
readonly group?: string
|
|
@@ -948,7 +987,7 @@ declare module "factorio:runtime" {
|
|
|
948
987
|
}
|
|
949
988
|
/**
|
|
950
989
|
* Write form of {@link SavedLogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
951
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
990
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticSection.html Online documentation}
|
|
952
991
|
*/
|
|
953
992
|
export interface SavedLogisticSectionWrite {
|
|
954
993
|
readonly group?: string
|
|
@@ -987,7 +1026,7 @@ declare module "factorio:runtime" {
|
|
|
987
1026
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
|
988
1027
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
|
989
1028
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
|
990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1029
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LocalisedString.html Online documentation}
|
|
991
1030
|
*/
|
|
992
1031
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
|
993
1032
|
export interface BaseCommand {
|
|
@@ -1220,7 +1259,7 @@ declare module "factorio:runtime" {
|
|
|
1220
1259
|
* - {@link defines.command.stop}: {@link StopCommand}
|
|
1221
1260
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
|
1222
1261
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
|
1223
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1262
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Command.html Online documentation}
|
|
1224
1263
|
*/
|
|
1225
1264
|
export type Command =
|
|
1226
1265
|
| AttackCommand
|
|
@@ -1234,7 +1273,7 @@ declare module "factorio:runtime" {
|
|
|
1234
1273
|
| BuildBaseCommand
|
|
1235
1274
|
/**
|
|
1236
1275
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
|
1237
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1276
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Command.html Online documentation}
|
|
1238
1277
|
*/
|
|
1239
1278
|
export type CommandWrite =
|
|
1240
1279
|
| AttackCommand
|
|
@@ -1311,7 +1350,7 @@ declare module "factorio:runtime" {
|
|
|
1311
1350
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
|
1312
1351
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
|
1313
1352
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
|
1314
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1353
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiArrowSpecification.html Online documentation}
|
|
1315
1354
|
*/
|
|
1316
1355
|
export type GuiArrowSpecification =
|
|
1317
1356
|
| EntityGuiArrowSpecification
|
|
@@ -1331,46 +1370,16 @@ declare module "factorio:runtime" {
|
|
|
1331
1370
|
* - `"position"`
|
|
1332
1371
|
* - `"crafting_queue"`
|
|
1333
1372
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
|
1334
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1373
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiArrowType.html Online documentation}
|
|
1335
1374
|
*/
|
|
1336
1375
|
export type GuiArrowType =
|
|
1337
1376
|
"nowhere" | "goal" | "entity_info" | "active_window" | "entity" | "position" | "crafting_queue" | "item_stack"
|
|
1338
|
-
/**
|
|
1339
|
-
* @see FluidFilterWrite
|
|
1340
|
-
* @see {@link https://lua-api.factorio.com/2.1.9/concepts/FluidFilter.html Online documentation}
|
|
1341
|
-
*/
|
|
1342
|
-
export interface FluidFilter {
|
|
1343
|
-
readonly fluid?: LuaFluidPrototype
|
|
1344
|
-
/**
|
|
1345
|
-
* The minimum fluid temperature required.
|
|
1346
|
-
*/
|
|
1347
|
-
readonly minimum_temperature?: float
|
|
1348
|
-
/**
|
|
1349
|
-
* The maximum fluid temperature allowed.
|
|
1350
|
-
*/
|
|
1351
|
-
readonly maximum_temperature?: float
|
|
1352
|
-
}
|
|
1353
|
-
/**
|
|
1354
|
-
* Write form of {@link FluidFilter}, where some properties allow additional values as input compared to the read form.
|
|
1355
|
-
* @see {@link https://lua-api.factorio.com/2.1.9/concepts/FluidFilter.html Online documentation}
|
|
1356
|
-
*/
|
|
1357
|
-
export interface FluidFilterWrite {
|
|
1358
|
-
readonly fluid?: FluidID
|
|
1359
|
-
/**
|
|
1360
|
-
* The minimum fluid temperature required.
|
|
1361
|
-
*/
|
|
1362
|
-
readonly minimum_temperature?: float
|
|
1363
|
-
/**
|
|
1364
|
-
* The maximum fluid temperature allowed.
|
|
1365
|
-
*/
|
|
1366
|
-
readonly maximum_temperature?: float
|
|
1367
|
-
}
|
|
1368
1377
|
/**
|
|
1369
1378
|
* Reading this always returns the table with the named keys.
|
|
1370
1379
|
*
|
|
1371
1380
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
|
1372
1381
|
* @see Vector3DArray
|
|
1373
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1382
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector3D.html Online documentation}
|
|
1374
1383
|
*/
|
|
1375
1384
|
export interface Vector3D {
|
|
1376
1385
|
readonly x: float
|
|
@@ -1380,7 +1389,7 @@ declare module "factorio:runtime" {
|
|
|
1380
1389
|
/**
|
|
1381
1390
|
* Array form of {@link Vector3D}.
|
|
1382
1391
|
* @see Vector3D
|
|
1383
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1392
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector3D.html Online documentation}
|
|
1384
1393
|
*/
|
|
1385
1394
|
export type Vector3DArray = readonly [float, float, float]
|
|
1386
1395
|
export interface TrainVisualizationConstants {
|
|
@@ -1419,12 +1428,12 @@ declare module "factorio:runtime" {
|
|
|
1419
1428
|
}
|
|
1420
1429
|
/**
|
|
1421
1430
|
* Does not return the value at runtime.
|
|
1422
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1431
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ColorLookupTable.html Online documentation}
|
|
1423
1432
|
*/
|
|
1424
1433
|
export type ColorLookupTable = nil
|
|
1425
1434
|
/**
|
|
1426
1435
|
* Returns an empty table at runtime.
|
|
1427
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1436
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DaytimeColorLookupTable.html Online documentation}
|
|
1428
1437
|
*/
|
|
1429
1438
|
export type DaytimeColorLookupTable = "{}"
|
|
1430
1439
|
export interface ColorFilterData {
|
|
@@ -1460,6 +1469,18 @@ declare module "factorio:runtime" {
|
|
|
1460
1469
|
readonly x: float
|
|
1461
1470
|
readonly y: float
|
|
1462
1471
|
}
|
|
1472
|
+
export interface BuildPreviewTintSet {
|
|
1473
|
+
readonly buildable: Color
|
|
1474
|
+
readonly buildable_too_far: Color
|
|
1475
|
+
readonly ignorable: Color
|
|
1476
|
+
readonly not_buildable: Color
|
|
1477
|
+
}
|
|
1478
|
+
export interface BuildPreviewTints {
|
|
1479
|
+
readonly entity: BuildPreviewTintSet
|
|
1480
|
+
readonly tile: BuildPreviewTintSet
|
|
1481
|
+
readonly entity_chart: BuildPreviewTintSet
|
|
1482
|
+
readonly tile_chart: BuildPreviewTintSet
|
|
1483
|
+
}
|
|
1463
1484
|
export interface GhostTintSet {
|
|
1464
1485
|
readonly ghost_tint: Color
|
|
1465
1486
|
readonly ghost_delivery_tint: Color
|
|
@@ -1520,7 +1541,7 @@ declare module "factorio:runtime" {
|
|
|
1520
1541
|
}
|
|
1521
1542
|
/**
|
|
1522
1543
|
* @see TrainScheduleWrite
|
|
1523
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1544
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainSchedule.html Online documentation}
|
|
1524
1545
|
*/
|
|
1525
1546
|
export interface TrainSchedule {
|
|
1526
1547
|
/**
|
|
@@ -1531,7 +1552,7 @@ declare module "factorio:runtime" {
|
|
|
1531
1552
|
}
|
|
1532
1553
|
/**
|
|
1533
1554
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1534
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1555
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainSchedule.html Online documentation}
|
|
1535
1556
|
*/
|
|
1536
1557
|
export interface TrainScheduleWrite {
|
|
1537
1558
|
/**
|
|
@@ -1542,7 +1563,7 @@ declare module "factorio:runtime" {
|
|
|
1542
1563
|
}
|
|
1543
1564
|
/**
|
|
1544
1565
|
* @see PlatformScheduleWrite
|
|
1545
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1566
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PlatformSchedule.html Online documentation}
|
|
1546
1567
|
*/
|
|
1547
1568
|
export interface PlatformSchedule {
|
|
1548
1569
|
/**
|
|
@@ -1553,7 +1574,7 @@ declare module "factorio:runtime" {
|
|
|
1553
1574
|
}
|
|
1554
1575
|
/**
|
|
1555
1576
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1556
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1577
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PlatformSchedule.html Online documentation}
|
|
1557
1578
|
*/
|
|
1558
1579
|
export interface PlatformScheduleWrite {
|
|
1559
1580
|
/**
|
|
@@ -1599,17 +1620,21 @@ declare module "factorio:runtime" {
|
|
|
1599
1620
|
readonly rail_layer: defines.rail_layer
|
|
1600
1621
|
}
|
|
1601
1622
|
export interface EffectValueRange {
|
|
1602
|
-
readonly low:
|
|
1603
|
-
readonly high:
|
|
1623
|
+
readonly low: EffectValue
|
|
1624
|
+
readonly high: EffectValue
|
|
1604
1625
|
}
|
|
1605
1626
|
export interface EffectReceiver {
|
|
1606
|
-
readonly base_effect:
|
|
1627
|
+
readonly base_effect: Effect
|
|
1607
1628
|
readonly uses_module_effects: boolean
|
|
1608
1629
|
readonly uses_beacon_effects: boolean
|
|
1609
1630
|
/**
|
|
1610
1631
|
* Controls whether {@link LuaSurface#global_effect LuaSurface::global_effect} affects this receiver.
|
|
1611
1632
|
*/
|
|
1612
1633
|
readonly uses_surface_effects: boolean
|
|
1634
|
+
/**
|
|
1635
|
+
* Controls whether {@link LuaEntity#local_effect LuaEntity::local_effect} affects this receiver.
|
|
1636
|
+
*/
|
|
1637
|
+
readonly uses_local_effects: boolean
|
|
1613
1638
|
readonly consumption_limits: EffectValueRange
|
|
1614
1639
|
readonly speed_limits: EffectValueRange
|
|
1615
1640
|
readonly productivity_limits: EffectValueRange
|
|
@@ -1624,7 +1649,7 @@ declare module "factorio:runtime" {
|
|
|
1624
1649
|
}
|
|
1625
1650
|
/**
|
|
1626
1651
|
* A recipe prototype with optional quality specification.
|
|
1627
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1652
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
|
1628
1653
|
*/
|
|
1629
1654
|
export interface RecipeIDAndQualityIDPair {
|
|
1630
1655
|
/**
|
|
@@ -1689,7 +1714,7 @@ declare module "factorio:runtime" {
|
|
|
1689
1714
|
}
|
|
1690
1715
|
/**
|
|
1691
1716
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1692
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1717
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentEngineSpecification.html Online documentation}
|
|
1693
1718
|
*/
|
|
1694
1719
|
export interface SegmentEngineSpecification {
|
|
1695
1720
|
/**
|
|
@@ -1703,7 +1728,7 @@ declare module "factorio:runtime" {
|
|
|
1703
1728
|
}
|
|
1704
1729
|
/**
|
|
1705
1730
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1706
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1731
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentSpecification.html Online documentation}
|
|
1707
1732
|
*/
|
|
1708
1733
|
export interface SegmentSpecification {
|
|
1709
1734
|
/**
|
|
@@ -1717,7 +1742,7 @@ declare module "factorio:runtime" {
|
|
|
1717
1742
|
}
|
|
1718
1743
|
/**
|
|
1719
1744
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1720
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1745
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TileBuildabilityRule.html Online documentation}
|
|
1721
1746
|
*/
|
|
1722
1747
|
export interface TileBuildabilityRule {
|
|
1723
1748
|
/**
|
|
@@ -1911,7 +1936,7 @@ declare module "factorio:runtime" {
|
|
|
1911
1936
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1912
1937
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1913
1938
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1914
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1939
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ForceID.html Online documentation}
|
|
1915
1940
|
*/
|
|
1916
1941
|
export type ForceID = string | uint8 | LuaForce
|
|
1917
1942
|
/**
|
|
@@ -1921,7 +1946,7 @@ declare module "factorio:runtime" {
|
|
|
1921
1946
|
* - `string`: The fluid name.
|
|
1922
1947
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1923
1948
|
* - {@link Fluid}: The fluid.
|
|
1924
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1949
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidID.html Online documentation}
|
|
1925
1950
|
*/
|
|
1926
1951
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1927
1952
|
/**
|
|
@@ -1932,12 +1957,12 @@ declare module "factorio:runtime" {
|
|
|
1932
1957
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1933
1958
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1934
1959
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1935
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1960
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityWithQualityID.html Online documentation}
|
|
1936
1961
|
*/
|
|
1937
1962
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1938
1963
|
/**
|
|
1939
1964
|
* An entity prototype with optional quality specification.
|
|
1940
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1965
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
|
1941
1966
|
*/
|
|
1942
1967
|
export interface EntityIDAndQualityIDPair {
|
|
1943
1968
|
/**
|
|
@@ -1957,13 +1982,13 @@ declare module "factorio:runtime" {
|
|
|
1957
1982
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
1958
1983
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1959
1984
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
1960
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1985
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemWithQualityID.html Online documentation}
|
|
1961
1986
|
*/
|
|
1962
1987
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
1963
1988
|
/**
|
|
1964
1989
|
* An item prototype with optional quality specification.
|
|
1965
1990
|
* @see ItemIDAndQualityIDPairWrite
|
|
1966
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1991
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1967
1992
|
*/
|
|
1968
1993
|
export interface ItemIDAndQualityIDPair {
|
|
1969
1994
|
/**
|
|
@@ -1977,7 +2002,7 @@ declare module "factorio:runtime" {
|
|
|
1977
2002
|
}
|
|
1978
2003
|
/**
|
|
1979
2004
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
1980
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2005
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1981
2006
|
*/
|
|
1982
2007
|
export interface ItemIDAndQualityIDPairWrite {
|
|
1983
2008
|
/**
|
|
@@ -1997,9 +2022,18 @@ declare module "factorio:runtime" {
|
|
|
1997
2022
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
1998
2023
|
* - {@link LuaItem}: The item.
|
|
1999
2024
|
* - `string`: The prototype name.
|
|
2000
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2025
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemID.html Online documentation}
|
|
2001
2026
|
*/
|
|
2002
2027
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
2028
|
+
/**
|
|
2029
|
+
* An item group may be specified in one of two ways.
|
|
2030
|
+
*
|
|
2031
|
+
* ## Union members
|
|
2032
|
+
* - {@link LuaItemGroup}: The item group prototype.
|
|
2033
|
+
* - `string`: The prototype name.
|
|
2034
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemGroupID.html Online documentation}
|
|
2035
|
+
*/
|
|
2036
|
+
export type ItemGroupID = LuaItemGroup | string
|
|
2003
2037
|
/**
|
|
2004
2038
|
* An entity prototype may be specified in one of three ways.
|
|
2005
2039
|
*
|
|
@@ -2007,7 +2041,7 @@ declare module "factorio:runtime" {
|
|
|
2007
2041
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
2008
2042
|
* - {@link LuaEntity}: The entity.
|
|
2009
2043
|
* - `string`: The prototype name.
|
|
2010
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2044
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityID.html Online documentation}
|
|
2011
2045
|
*/
|
|
2012
2046
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
2013
2047
|
/**
|
|
@@ -2017,7 +2051,7 @@ declare module "factorio:runtime" {
|
|
|
2017
2051
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
2018
2052
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
2019
2053
|
* - `string`: The prototype name.
|
|
2020
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2054
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyID.html Online documentation}
|
|
2021
2055
|
*/
|
|
2022
2056
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
2023
2057
|
/**
|
|
@@ -2026,7 +2060,7 @@ declare module "factorio:runtime" {
|
|
|
2026
2060
|
* ## Union members
|
|
2027
2061
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
2028
2062
|
* - `string`: The prototype name.
|
|
2029
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2063
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ParticleID.html Online documentation}
|
|
2030
2064
|
*/
|
|
2031
2065
|
export type ParticleID = LuaParticlePrototype | string
|
|
2032
2066
|
/**
|
|
@@ -2035,7 +2069,7 @@ declare module "factorio:runtime" {
|
|
|
2035
2069
|
* ## Union members
|
|
2036
2070
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
2037
2071
|
* - `string`: The prototype name.
|
|
2038
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2072
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DamageTypeID.html Online documentation}
|
|
2039
2073
|
*/
|
|
2040
2074
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
2041
2075
|
/**
|
|
@@ -2044,7 +2078,7 @@ declare module "factorio:runtime" {
|
|
|
2044
2078
|
* ## Union members
|
|
2045
2079
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
2046
2080
|
* - `string`: The prototype name.
|
|
2047
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2081
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrivialSmokeID.html Online documentation}
|
|
2048
2082
|
*/
|
|
2049
2083
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
2050
2084
|
/**
|
|
@@ -2056,7 +2090,7 @@ declare module "factorio:runtime" {
|
|
|
2056
2090
|
* - `"left"`
|
|
2057
2091
|
* - `"right"`
|
|
2058
2092
|
* - `"center"`
|
|
2059
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2093
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TextAlign.html Online documentation}
|
|
2060
2094
|
*/
|
|
2061
2095
|
export type TextAlign = "left" | "right" | "center"
|
|
2062
2096
|
/**
|
|
@@ -2069,7 +2103,7 @@ declare module "factorio:runtime" {
|
|
|
2069
2103
|
* - `"middle"`
|
|
2070
2104
|
* - `"baseline"`
|
|
2071
2105
|
* - `"bottom"`
|
|
2072
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2106
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/VerticalTextAlign.html Online documentation}
|
|
2073
2107
|
*/
|
|
2074
2108
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
2075
2109
|
/**
|
|
@@ -2078,7 +2112,7 @@ declare module "factorio:runtime" {
|
|
|
2078
2112
|
* ## Union members
|
|
2079
2113
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
2080
2114
|
* - `string`: The prototype name.
|
|
2081
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2115
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/QualityID.html Online documentation}
|
|
2082
2116
|
*/
|
|
2083
2117
|
export type QualityID = LuaQualityPrototype | string
|
|
2084
2118
|
/**
|
|
@@ -2087,7 +2121,7 @@ declare module "factorio:runtime" {
|
|
|
2087
2121
|
* ## Union members
|
|
2088
2122
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
2089
2123
|
* - `string`: By name of the recipe category prototype.
|
|
2090
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2124
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipeCategoryID.html Online documentation}
|
|
2091
2125
|
*/
|
|
2092
2126
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
2093
2127
|
/**
|
|
@@ -2097,7 +2131,7 @@ declare module "factorio:runtime" {
|
|
|
2097
2131
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
2098
2132
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
2099
2133
|
* - `string`: By name of the recipe prototype.
|
|
2100
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2134
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipeID.html Online documentation}
|
|
2101
2135
|
*/
|
|
2102
2136
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
2103
2137
|
/**
|
|
@@ -2107,7 +2141,7 @@ declare module "factorio:runtime" {
|
|
|
2107
2141
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
2108
2142
|
* - {@link LuaTile}: By instance of tile.
|
|
2109
2143
|
* - `string`: By name of the tile prototype.
|
|
2110
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2144
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TileID.html Online documentation}
|
|
2111
2145
|
*/
|
|
2112
2146
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
2113
2147
|
export interface Fluid {
|
|
@@ -2131,7 +2165,7 @@ declare module "factorio:runtime" {
|
|
|
2131
2165
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
2132
2166
|
* - {@link LuaEquipment}: The equipment.
|
|
2133
2167
|
* - `string`: The prototype name.
|
|
2134
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2168
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentID.html Online documentation}
|
|
2135
2169
|
*/
|
|
2136
2170
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
2137
2171
|
/**
|
|
@@ -2143,19 +2177,19 @@ declare module "factorio:runtime" {
|
|
|
2143
2177
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2144
2178
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
2145
2179
|
* @see EquipmentWithQualityIDWrite
|
|
2146
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2180
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2147
2181
|
*/
|
|
2148
2182
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
2149
2183
|
/**
|
|
2150
2184
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
|
2151
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2185
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2152
2186
|
*/
|
|
2153
2187
|
export type EquipmentWithQualityIDWrite =
|
|
2154
2188
|
LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite
|
|
2155
2189
|
/**
|
|
2156
2190
|
* An equipment prototype with optional quality specification.
|
|
2157
2191
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
2158
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2192
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2159
2193
|
*/
|
|
2160
2194
|
export interface EquipmentIDAndQualityIDPair {
|
|
2161
2195
|
/**
|
|
@@ -2169,7 +2203,7 @@ declare module "factorio:runtime" {
|
|
|
2169
2203
|
}
|
|
2170
2204
|
/**
|
|
2171
2205
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2172
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2206
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2173
2207
|
*/
|
|
2174
2208
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
2175
2209
|
/**
|
|
@@ -2216,7 +2250,7 @@ declare module "factorio:runtime" {
|
|
|
2216
2250
|
* @example
|
|
2217
2251
|
* -- Shorthand
|
|
2218
2252
|
* {{-2, -3}, {5, 8}}
|
|
2219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2253
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoundingBox.html Online documentation}
|
|
2220
2254
|
*/
|
|
2221
2255
|
export interface BoundingBox {
|
|
2222
2256
|
readonly left_top: MapPosition
|
|
@@ -2226,7 +2260,7 @@ declare module "factorio:runtime" {
|
|
|
2226
2260
|
/**
|
|
2227
2261
|
* Array form of {@link BoundingBox}.
|
|
2228
2262
|
* @see BoundingBox
|
|
2229
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2263
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoundingBox.html Online documentation}
|
|
2230
2264
|
*/
|
|
2231
2265
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
2232
2266
|
export interface BoundingBoxWrite {
|
|
@@ -2289,7 +2323,7 @@ declare module "factorio:runtime" {
|
|
|
2289
2323
|
* - 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.
|
|
2290
2324
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
2291
2325
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
2292
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2326
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SurfaceIdentification.html Online documentation}
|
|
2293
2327
|
*/
|
|
2294
2328
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
2295
2329
|
/**
|
|
@@ -2299,7 +2333,7 @@ declare module "factorio:runtime" {
|
|
|
2299
2333
|
* - PlayerIndex: The player index.
|
|
2300
2334
|
* - `string`: The player name.
|
|
2301
2335
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
2302
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2336
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PlayerIdentification.html Online documentation}
|
|
2303
2337
|
*/
|
|
2304
2338
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
2305
2339
|
/**
|
|
@@ -2308,7 +2342,7 @@ declare module "factorio:runtime" {
|
|
|
2308
2342
|
* ## Union members
|
|
2309
2343
|
* - {@link ForceID}[]: Array of many forces.
|
|
2310
2344
|
* - {@link ForceID}: A single force.
|
|
2311
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2345
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ForceSet.html Online documentation}
|
|
2312
2346
|
*/
|
|
2313
2347
|
export type ForceSet = readonly ForceID[] | ForceID
|
|
2314
2348
|
/**
|
|
@@ -2317,7 +2351,7 @@ declare module "factorio:runtime" {
|
|
|
2317
2351
|
* ## Union members
|
|
2318
2352
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
2319
2353
|
* - `string`: The prototype name.
|
|
2320
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2354
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DecorativeID.html Online documentation}
|
|
2321
2355
|
*/
|
|
2322
2356
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
2323
2357
|
/**
|
|
@@ -2326,7 +2360,7 @@ declare module "factorio:runtime" {
|
|
|
2326
2360
|
* ## Union members
|
|
2327
2361
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
2328
2362
|
* - `string`: The prototype name.
|
|
2329
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2363
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidChunkID.html Online documentation}
|
|
2330
2364
|
*/
|
|
2331
2365
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
2332
2366
|
/**
|
|
@@ -2335,7 +2369,7 @@ declare module "factorio:runtime" {
|
|
|
2335
2369
|
* ## Union members
|
|
2336
2370
|
* - {@link LuaSpaceConnectionPrototype}: The space connection prototype.
|
|
2337
2371
|
* - `string`: The prototype name.
|
|
2338
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2372
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceConnectionID.html Online documentation}
|
|
2339
2373
|
*/
|
|
2340
2374
|
export type SpaceConnectionID = LuaSpaceConnectionPrototype | string
|
|
2341
2375
|
/**
|
|
@@ -2344,7 +2378,7 @@ declare module "factorio:runtime" {
|
|
|
2344
2378
|
* ## Union members
|
|
2345
2379
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
2346
2380
|
* - `string`: The prototype name.
|
|
2347
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2381
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceLocationID.html Online documentation}
|
|
2348
2382
|
*/
|
|
2349
2383
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
2350
2384
|
/**
|
|
@@ -2352,7 +2386,7 @@ declare module "factorio:runtime" {
|
|
|
2352
2386
|
*
|
|
2353
2387
|
* When the LogisticFilter that this is used in has a non-zero `min` value then `comparator` must be `"="` (the default when writing) and `quality` is mandatory.
|
|
2354
2388
|
* @see SignalFilterWrite
|
|
2355
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2389
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalFilter.html Online documentation}
|
|
2356
2390
|
*/
|
|
2357
2391
|
export type SignalFilter =
|
|
2358
2392
|
| {
|
|
@@ -2376,7 +2410,7 @@ declare module "factorio:runtime" {
|
|
|
2376
2410
|
| string
|
|
2377
2411
|
/**
|
|
2378
2412
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
|
2379
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2413
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalFilter.html Online documentation}
|
|
2380
2414
|
*/
|
|
2381
2415
|
export type SignalFilterWrite =
|
|
2382
2416
|
| {
|
|
@@ -2400,7 +2434,7 @@ declare module "factorio:runtime" {
|
|
|
2400
2434
|
| string
|
|
2401
2435
|
/**
|
|
2402
2436
|
* @see LogisticFilterWrite
|
|
2403
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2437
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticFilter.html Online documentation}
|
|
2404
2438
|
*/
|
|
2405
2439
|
export interface LogisticFilter {
|
|
2406
2440
|
/**
|
|
@@ -2430,7 +2464,7 @@ declare module "factorio:runtime" {
|
|
|
2430
2464
|
}
|
|
2431
2465
|
/**
|
|
2432
2466
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
2433
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2467
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticFilter.html Online documentation}
|
|
2434
2468
|
*/
|
|
2435
2469
|
export interface LogisticFilterWrite {
|
|
2436
2470
|
/**
|
|
@@ -2506,7 +2540,7 @@ declare module "factorio:runtime" {
|
|
|
2506
2540
|
* ## Union members
|
|
2507
2541
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
2508
2542
|
* - `string`: The prototype name.
|
|
2509
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2543
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SurfacePropertyID.html Online documentation}
|
|
2510
2544
|
*/
|
|
2511
2545
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
2512
2546
|
/**
|
|
@@ -2528,12 +2562,12 @@ declare module "factorio:runtime" {
|
|
|
2528
2562
|
* target = {type = "cursor", offset = {6, 7}}
|
|
2529
2563
|
* @example
|
|
2530
2564
|
* target = {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2531
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2565
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTarget.html Online documentation}
|
|
2532
2566
|
*/
|
|
2533
2567
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
2534
2568
|
/**
|
|
2535
2569
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
|
2536
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2570
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTarget.html Online documentation}
|
|
2537
2571
|
*/
|
|
2538
2572
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
2539
2573
|
/**
|
|
@@ -2555,7 +2589,7 @@ declare module "factorio:runtime" {
|
|
|
2555
2589
|
* {type = "cursor", offset = {6, 7}}
|
|
2556
2590
|
* @example
|
|
2557
2591
|
* {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2558
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2592
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2559
2593
|
*/
|
|
2560
2594
|
export interface ScriptRenderTargetTable {
|
|
2561
2595
|
/**
|
|
@@ -2577,7 +2611,7 @@ declare module "factorio:runtime" {
|
|
|
2577
2611
|
}
|
|
2578
2612
|
/**
|
|
2579
2613
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
|
2580
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2614
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2581
2615
|
*/
|
|
2582
2616
|
export interface ScriptRenderTargetTableWrite {
|
|
2583
2617
|
/**
|
|
@@ -2616,13 +2650,13 @@ declare module "factorio:runtime" {
|
|
|
2616
2650
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
2617
2651
|
* "iron-plate"
|
|
2618
2652
|
* {name="iron-plate", count=100}
|
|
2619
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2653
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemStackIdentification.html Online documentation}
|
|
2620
2654
|
*/
|
|
2621
2655
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
2622
2656
|
/**
|
|
2623
2657
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
2624
2658
|
* @see QualityConditionWrite
|
|
2625
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2659
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/QualityCondition.html Online documentation}
|
|
2626
2660
|
*/
|
|
2627
2661
|
export type QualityCondition =
|
|
2628
2662
|
| {
|
|
@@ -2638,7 +2672,7 @@ declare module "factorio:runtime" {
|
|
|
2638
2672
|
| string
|
|
2639
2673
|
/**
|
|
2640
2674
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
|
2641
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2675
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/QualityCondition.html Online documentation}
|
|
2642
2676
|
*/
|
|
2643
2677
|
export type QualityConditionWrite =
|
|
2644
2678
|
| {
|
|
@@ -2655,7 +2689,7 @@ declare module "factorio:runtime" {
|
|
|
2655
2689
|
/**
|
|
2656
2690
|
* The destination of a cargo pod.
|
|
2657
2691
|
* @see CargoDestinationWrite
|
|
2658
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2692
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoDestination.html Online documentation}
|
|
2659
2693
|
*/
|
|
2660
2694
|
export interface CargoDestination {
|
|
2661
2695
|
/**
|
|
@@ -2693,7 +2727,7 @@ declare module "factorio:runtime" {
|
|
|
2693
2727
|
}
|
|
2694
2728
|
/**
|
|
2695
2729
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
|
2696
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2730
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoDestination.html Online documentation}
|
|
2697
2731
|
*/
|
|
2698
2732
|
export interface CargoDestinationWrite {
|
|
2699
2733
|
/**
|
|
@@ -2747,7 +2781,7 @@ declare module "factorio:runtime" {
|
|
|
2747
2781
|
* furthest = { zoom = 1 / 16 },
|
|
2748
2782
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2749
2783
|
* }
|
|
2750
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2784
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ZoomLimits.html Online documentation}
|
|
2751
2785
|
*/
|
|
2752
2786
|
export interface ZoomLimits {
|
|
2753
2787
|
/**
|
|
@@ -2777,7 +2811,7 @@ declare module "factorio:runtime" {
|
|
|
2777
2811
|
*
|
|
2778
2812
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2779
2813
|
* { distance = 200, max_distance = 500 }
|
|
2780
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2814
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ZoomSpecification.html Online documentation}
|
|
2781
2815
|
*/
|
|
2782
2816
|
export interface ZoomSpecification {
|
|
2783
2817
|
/**
|
|
@@ -2798,7 +2832,7 @@ declare module "factorio:runtime" {
|
|
|
2798
2832
|
* - `"game"`: Draw the object in the game world.
|
|
2799
2833
|
* - `"chart"`: Draw the object on the map.
|
|
2800
2834
|
* - `"build-cursor"`: Draw the object only when the player holds a buildable item trying to build an entity.
|
|
2801
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2835
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderMode.html Online documentation}
|
|
2802
2836
|
*/
|
|
2803
2837
|
export type ScriptRenderMode = "game" | "chart" | "build-cursor"
|
|
2804
2838
|
/**
|
|
@@ -2806,7 +2840,7 @@ declare module "factorio:runtime" {
|
|
|
2806
2840
|
* - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings.
|
|
2807
2841
|
* - `"light"`: Draw as light.
|
|
2808
2842
|
* - `"glow"`: Draw as both occluder and light at once to make the sprite visible during the day and glow at night.
|
|
2809
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2843
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptSpriteLightMode.html Online documentation}
|
|
2810
2844
|
*/
|
|
2811
2845
|
export type ScriptSpriteLightMode = "occluder" | "light" | "glow"
|
|
2812
2846
|
/**
|
|
@@ -2817,7 +2851,7 @@ declare module "factorio:runtime" {
|
|
|
2817
2851
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2818
2852
|
* - {@link defines.events}: Event identifier.
|
|
2819
2853
|
* - `string`: Name of the event.
|
|
2820
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2854
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEventType.html Online documentation}
|
|
2821
2855
|
*/
|
|
2822
2856
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2823
2857
|
export interface UnlockableID {
|
|
@@ -2856,7 +2890,7 @@ declare module "factorio:runtime" {
|
|
|
2856
2890
|
* - `"starter-packs-available"`
|
|
2857
2891
|
* - `"thrusters-available"`
|
|
2858
2892
|
* - `"capture-robots-available"`
|
|
2859
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2893
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/UnlockableIDType.html Online documentation}
|
|
2860
2894
|
*/
|
|
2861
2895
|
export type UnlockableIDType =
|
|
2862
2896
|
| "space-location"
|
|
@@ -2882,7 +2916,7 @@ declare module "factorio:runtime" {
|
|
|
2882
2916
|
* - `"planet"`
|
|
2883
2917
|
* - `"platforms"`
|
|
2884
2918
|
* - `"all"`
|
|
2885
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2919
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RequestFromLocation.html Online documentation}
|
|
2886
2920
|
*/
|
|
2887
2921
|
export type RequestFromLocation = "planet" | "platforms" | "all"
|
|
2888
2922
|
/**
|
|
@@ -2890,13 +2924,13 @@ declare module "factorio:runtime" {
|
|
|
2890
2924
|
* - `"never"`
|
|
2891
2925
|
* - `"has-unit"`
|
|
2892
2926
|
* - `"always"`
|
|
2893
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2927
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TerritoryVisibilityCondition.html Online documentation}
|
|
2894
2928
|
*/
|
|
2895
2929
|
export type TerritoryVisibilityCondition = "never" | "has-unit" | "always"
|
|
2896
2930
|
/**
|
|
2897
2931
|
* 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.
|
|
2898
2932
|
* @see TilePositionArray
|
|
2899
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2933
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePosition.html Online documentation}
|
|
2900
2934
|
*/
|
|
2901
2935
|
export interface TilePosition {
|
|
2902
2936
|
readonly x: int32
|
|
@@ -2905,14 +2939,14 @@ declare module "factorio:runtime" {
|
|
|
2905
2939
|
/**
|
|
2906
2940
|
* Array form of {@link TilePosition}.
|
|
2907
2941
|
* @see TilePosition
|
|
2908
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2942
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePosition.html Online documentation}
|
|
2909
2943
|
*/
|
|
2910
2944
|
export type TilePositionArray = readonly [int32, int32]
|
|
2911
2945
|
/**
|
|
2912
2946
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
|
2913
2947
|
*
|
|
2914
2948
|
* This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
|
|
2915
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2949
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RealOrientation.html Online documentation}
|
|
2916
2950
|
*/
|
|
2917
2951
|
export type RealOrientation = float
|
|
2918
2952
|
export interface MapLocation {
|
|
@@ -2920,7 +2954,7 @@ declare module "factorio:runtime" {
|
|
|
2920
2954
|
readonly direction: defines.direction
|
|
2921
2955
|
}
|
|
2922
2956
|
/**
|
|
2923
|
-
* Coordinates on a surface, for example of an entity. MapPositions may be specified either as a dictionary with `x`, `y` as keys, or simply as an array with two elements.
|
|
2957
|
+
* Coordinates on a surface, for example of an entity. MapPositions may be specified either as a dictionary with `x`, `y` as keys, or simply as an array with two elements. When reading this is always a dictionary.
|
|
2924
2958
|
*
|
|
2925
2959
|
* The coordinates are saved as a fixed-size 32 bit integer, with 8 bits reserved for decimal precision, meaning the smallest value step is `1/2^8 = 0.00390625` tiles.
|
|
2926
2960
|
* @see MapPositionArray
|
|
@@ -2931,7 +2965,7 @@ declare module "factorio:runtime" {
|
|
|
2931
2965
|
* @example
|
|
2932
2966
|
* -- Shorthand
|
|
2933
2967
|
* {1.625, 2.375}
|
|
2934
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2968
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapPosition.html Online documentation}
|
|
2935
2969
|
*/
|
|
2936
2970
|
export interface MapPosition {
|
|
2937
2971
|
readonly x: double
|
|
@@ -2940,7 +2974,7 @@ declare module "factorio:runtime" {
|
|
|
2940
2974
|
/**
|
|
2941
2975
|
* Array form of {@link MapPosition}.
|
|
2942
2976
|
* @see MapPosition
|
|
2943
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2977
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapPosition.html Online documentation}
|
|
2944
2978
|
*/
|
|
2945
2979
|
export type MapPositionArray = readonly [double, double]
|
|
2946
2980
|
/**
|
|
@@ -2953,7 +2987,7 @@ declare module "factorio:runtime" {
|
|
|
2953
2987
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
2954
2988
|
* black = {} -- All channels omitted: black
|
|
2955
2989
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
|
2956
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2990
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Color.html Online documentation}
|
|
2957
2991
|
*/
|
|
2958
2992
|
export interface Color {
|
|
2959
2993
|
readonly r?: float
|
|
@@ -2964,7 +2998,7 @@ declare module "factorio:runtime" {
|
|
|
2964
2998
|
/**
|
|
2965
2999
|
* Array form of {@link Color}.
|
|
2966
3000
|
* @see Color
|
|
2967
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3001
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Color.html Online documentation}
|
|
2968
3002
|
*/
|
|
2969
3003
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
2970
3004
|
/**
|
|
@@ -2972,7 +3006,7 @@ declare module "factorio:runtime" {
|
|
|
2972
3006
|
* - `"center-to-center"`
|
|
2973
3007
|
* - `"bounding-box-to-bounding-box"`
|
|
2974
3008
|
* - `"center-to-bounding-box"`
|
|
2975
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3009
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RangeMode.html Online documentation}
|
|
2976
3010
|
*/
|
|
2977
3011
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
2978
3012
|
export interface BlueprintRollingStockConnection {
|
|
@@ -3240,7 +3274,7 @@ declare module "factorio:runtime" {
|
|
|
3240
3274
|
export interface CargoLandingPadBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
3241
3275
|
readonly bar?: uint32
|
|
3242
3276
|
readonly request_filters: BlueprintLogisticSectionsWrite
|
|
3243
|
-
readonly control_behavior?:
|
|
3277
|
+
readonly control_behavior?: CargoLandingPadBlueprintControlBehaviorWrite
|
|
3244
3278
|
}
|
|
3245
3279
|
/**
|
|
3246
3280
|
* `"cargo-wagon"` variant of {@link BlueprintEntity}.
|
|
@@ -3285,7 +3319,7 @@ declare module "factorio:runtime" {
|
|
|
3285
3319
|
export interface ContainerBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
3286
3320
|
readonly filters?: readonly BlueprintItemFilterWrite[]
|
|
3287
3321
|
readonly bar?: ItemStackIndex
|
|
3288
|
-
readonly control_behavior?:
|
|
3322
|
+
readonly control_behavior?: ContainerBlueprintControlBehaviorWrite
|
|
3289
3323
|
}
|
|
3290
3324
|
/**
|
|
3291
3325
|
* `"decider-combinator"` variant of {@link BlueprintEntity}.
|
|
@@ -3733,6 +3767,9 @@ declare module "factorio:runtime" {
|
|
|
3733
3767
|
export interface ProxyContainerBlueprintEntity extends BaseBlueprintEntity {
|
|
3734
3768
|
readonly control_behavior?: ProxyContainerBlueprintControlBehavior
|
|
3735
3769
|
}
|
|
3770
|
+
export interface ProxyContainerBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
3771
|
+
readonly control_behavior?: ProxyContainerBlueprintControlBehaviorWrite
|
|
3772
|
+
}
|
|
3736
3773
|
/**
|
|
3737
3774
|
* `"pump"` variant of {@link BlueprintEntity}.
|
|
3738
3775
|
*/
|
|
@@ -3817,6 +3854,13 @@ declare module "factorio:runtime" {
|
|
|
3817
3854
|
readonly launch_to_orbit_automatically?: boolean
|
|
3818
3855
|
readonly control_behavior?: RocketSiloBlueprintControlBehavior
|
|
3819
3856
|
}
|
|
3857
|
+
export interface RocketSiloBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
3858
|
+
readonly recipe?: string
|
|
3859
|
+
readonly recipe_quality?: string
|
|
3860
|
+
readonly use_transitional_requests?: boolean
|
|
3861
|
+
readonly launch_to_orbit_automatically?: boolean
|
|
3862
|
+
readonly control_behavior?: RocketSiloBlueprintControlBehaviorWrite
|
|
3863
|
+
}
|
|
3820
3864
|
/**
|
|
3821
3865
|
* `"selector-combinator"` variant of {@link BlueprintEntity}.
|
|
3822
3866
|
*/
|
|
@@ -4030,7 +4074,7 @@ declare module "factorio:runtime" {
|
|
|
4030
4074
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
4031
4075
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
4032
4076
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
4033
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4077
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEntity.html Online documentation}
|
|
4034
4078
|
*/
|
|
4035
4079
|
export type BlueprintEntity =
|
|
4036
4080
|
| AccumulatorBlueprintEntity
|
|
@@ -4097,7 +4141,7 @@ declare module "factorio:runtime" {
|
|
|
4097
4141
|
| WallBlueprintEntity
|
|
4098
4142
|
/**
|
|
4099
4143
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
|
4100
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4144
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEntity.html Online documentation}
|
|
4101
4145
|
*/
|
|
4102
4146
|
export type BlueprintEntityWrite =
|
|
4103
4147
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -4143,14 +4187,14 @@ declare module "factorio:runtime" {
|
|
|
4143
4187
|
| PipeToGroundBlueprintEntityWrite
|
|
4144
4188
|
| PowerSwitchBlueprintEntityWrite
|
|
4145
4189
|
| ProgrammableSpeakerBlueprintEntityWrite
|
|
4146
|
-
|
|
|
4190
|
+
| ProxyContainerBlueprintEntityWrite
|
|
4147
4191
|
| PumpBlueprintEntityWrite
|
|
4148
4192
|
| RadarBlueprintEntityWrite
|
|
4149
4193
|
| RailChainSignalBlueprintEntityWrite
|
|
4150
4194
|
| RailSignalBlueprintEntityWrite
|
|
4151
4195
|
| ReactorBlueprintEntityWrite
|
|
4152
4196
|
| RoboportBlueprintEntityWrite
|
|
4153
|
-
|
|
|
4197
|
+
| RocketSiloBlueprintEntityWrite
|
|
4154
4198
|
| SelectorCombinatorBlueprintEntityWrite
|
|
4155
4199
|
| SpacePlatformHubBlueprintEntityWrite
|
|
4156
4200
|
| SplitterBlueprintEntityWrite
|
|
@@ -4172,7 +4216,7 @@ declare module "factorio:runtime" {
|
|
|
4172
4216
|
* - `target_entity_number`
|
|
4173
4217
|
*
|
|
4174
4218
|
* - `target_wire_connector_id`
|
|
4175
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4219
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintWire.html Online documentation}
|
|
4176
4220
|
*/
|
|
4177
4221
|
export type BlueprintWire = [
|
|
4178
4222
|
source_entity_number: uint32,
|
|
@@ -4236,6 +4280,10 @@ declare module "factorio:runtime" {
|
|
|
4236
4280
|
* The schedule of the entity, if it has one. Only relevant for locomotives. Not present for entities the game can't restore, like trees or rocks.
|
|
4237
4281
|
*/
|
|
4238
4282
|
readonly schedule?: BlueprintSchedule
|
|
4283
|
+
/**
|
|
4284
|
+
* The equipment for the equipment grid if any.
|
|
4285
|
+
*/
|
|
4286
|
+
readonly grid?: UndoRedoEquipment[]
|
|
4239
4287
|
}
|
|
4240
4288
|
/**
|
|
4241
4289
|
* `"built-tile"` variant of {@link UndoRedoAction}.
|
|
@@ -4373,7 +4421,7 @@ declare module "factorio:runtime" {
|
|
|
4373
4421
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
4374
4422
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
4375
4423
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
4376
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4424
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/UndoRedoAction.html Online documentation}
|
|
4377
4425
|
*/
|
|
4378
4426
|
export type UndoRedoAction =
|
|
4379
4427
|
| BuiltEntityUndoRedoAction
|
|
@@ -4590,7 +4638,7 @@ declare module "factorio:runtime" {
|
|
|
4590
4638
|
* - `"play-previous-track"`
|
|
4591
4639
|
* - `"pause-resume-music"`
|
|
4592
4640
|
* - `""`: Indicates no linked game control.
|
|
4593
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4641
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LinkedGameControl.html Online documentation}
|
|
4594
4642
|
*/
|
|
4595
4643
|
export type LinkedGameControl =
|
|
4596
4644
|
| "move-up"
|
|
@@ -4798,7 +4846,7 @@ declare module "factorio:runtime" {
|
|
|
4798
4846
|
* - {@link LuaSpaceLocationPrototype}
|
|
4799
4847
|
* - {@link LuaTilePrototype}
|
|
4800
4848
|
* - {@link LuaVirtualSignalPrototype}
|
|
4801
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4849
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PipetteID.html Online documentation}
|
|
4802
4850
|
*/
|
|
4803
4851
|
export type PipetteID =
|
|
4804
4852
|
| LuaEntityPrototype
|
|
@@ -4818,7 +4866,7 @@ declare module "factorio:runtime" {
|
|
|
4818
4866
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4819
4867
|
* - `"same"`: The same force pass.
|
|
4820
4868
|
* - `"not-same"`: The non-same forces pass.
|
|
4821
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4869
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ForceCondition.html Online documentation}
|
|
4822
4870
|
*/
|
|
4823
4871
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4824
4872
|
/**
|
|
@@ -4826,7 +4874,7 @@ declare module "factorio:runtime" {
|
|
|
4826
4874
|
* - `"input-output"`
|
|
4827
4875
|
* - `"input"`
|
|
4828
4876
|
* - `"output"`
|
|
4829
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4877
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidFlowDirection.html Online documentation}
|
|
4830
4878
|
*/
|
|
4831
4879
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4832
4880
|
/**
|
|
@@ -4834,7 +4882,7 @@ declare module "factorio:runtime" {
|
|
|
4834
4882
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4835
4883
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4836
4884
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4837
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4885
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PipeConnectionType.html Online documentation}
|
|
4838
4886
|
*/
|
|
4839
4887
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4840
4888
|
export interface PipeConnectionDefinition {
|
|
@@ -4866,7 +4914,7 @@ declare module "factorio:runtime" {
|
|
|
4866
4914
|
}
|
|
4867
4915
|
/**
|
|
4868
4916
|
* A fluid amount. The amount is stored as a fixed-size signed 64 bit integer, with 24 bits reserved for decimal precision, meaning the smallest value step is `1/2^24`.
|
|
4869
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4917
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidAmount.html Online documentation}
|
|
4870
4918
|
*/
|
|
4871
4919
|
export type FluidAmount = double
|
|
4872
4920
|
/**
|
|
@@ -4877,7 +4925,7 @@ declare module "factorio:runtime" {
|
|
|
4877
4925
|
* - `"input"`
|
|
4878
4926
|
* - `"input-output"`
|
|
4879
4927
|
* - `"output"`
|
|
4880
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4928
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProductionType.html Online documentation}
|
|
4881
4929
|
*/
|
|
4882
4930
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4883
4931
|
export interface SurfaceCondition {
|
|
@@ -4889,7 +4937,7 @@ declare module "factorio:runtime" {
|
|
|
4889
4937
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4890
4938
|
*
|
|
4891
4939
|
* By default, none of these flags are set.
|
|
4892
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4940
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFlags.html Online documentation}
|
|
4893
4941
|
*/
|
|
4894
4942
|
export type ItemPrototypeFlags = {
|
|
4895
4943
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4913,7 +4961,8 @@ declare module "factorio:runtime" {
|
|
|
4913
4961
|
* - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
|
|
4914
4962
|
* - `"hide-health-bar-in-world"`
|
|
4915
4963
|
* - `"hide-spoilage-bar-in-world"`
|
|
4916
|
-
*
|
|
4964
|
+
* - `"no-item-on-ground-merging"`
|
|
4965
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFlag.html Online documentation}
|
|
4917
4966
|
*/
|
|
4918
4967
|
export type ItemPrototypeFlag =
|
|
4919
4968
|
| "draw-logistic-overlay"
|
|
@@ -4931,9 +4980,10 @@ declare module "factorio:runtime" {
|
|
|
4931
4980
|
| "ignore-spoil-time-modifier"
|
|
4932
4981
|
| "hide-health-bar-in-world"
|
|
4933
4982
|
| "hide-spoilage-bar-in-world"
|
|
4983
|
+
| "no-item-on-ground-merging"
|
|
4934
4984
|
/**
|
|
4935
4985
|
* @see UpgradeMapperSourceWrite
|
|
4936
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4986
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/UpgradeMapperSource.html Online documentation}
|
|
4937
4987
|
*/
|
|
4938
4988
|
export interface UpgradeMapperSource {
|
|
4939
4989
|
readonly type: "item" | "entity"
|
|
@@ -4956,7 +5006,7 @@ declare module "factorio:runtime" {
|
|
|
4956
5006
|
}
|
|
4957
5007
|
/**
|
|
4958
5008
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
|
4959
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5009
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/UpgradeMapperSource.html Online documentation}
|
|
4960
5010
|
*/
|
|
4961
5011
|
export interface UpgradeMapperSourceWrite {
|
|
4962
5012
|
readonly type: "item" | "entity"
|
|
@@ -5046,7 +5096,7 @@ declare module "factorio:runtime" {
|
|
|
5046
5096
|
* - `"controllable-remove"`
|
|
5047
5097
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
5048
5098
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
5049
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5099
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectionModeFlags.html Online documentation}
|
|
5050
5100
|
*/
|
|
5051
5101
|
export interface SelectionModeFlags {
|
|
5052
5102
|
/**
|
|
@@ -5203,7 +5253,7 @@ declare module "factorio:runtime" {
|
|
|
5203
5253
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
5204
5254
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
5205
5255
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
5206
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5256
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CapsuleAction.html Online documentation}
|
|
5207
5257
|
*/
|
|
5208
5258
|
export type CapsuleAction =
|
|
5209
5259
|
| ThrowCapsuleAction
|
|
@@ -5216,7 +5266,7 @@ declare module "factorio:runtime" {
|
|
|
5216
5266
|
* - `"none"`
|
|
5217
5267
|
* - `"whitelist"`
|
|
5218
5268
|
* - `"blacklist"`
|
|
5219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5269
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PrototypeFilterMode.html Online documentation}
|
|
5220
5270
|
*/
|
|
5221
5271
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
5222
5272
|
export interface SpoilToTriggerResult {
|
|
@@ -5255,7 +5305,7 @@ declare module "factorio:runtime" {
|
|
|
5255
5305
|
* - `"entity"`: Fires at an entity.
|
|
5256
5306
|
* - `"position"`: Fires directly at a position.
|
|
5257
5307
|
* - `"direction"`: Fires in a direction.
|
|
5258
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5308
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TargetType.html Online documentation}
|
|
5259
5309
|
*/
|
|
5260
5310
|
export type TargetType = "entity" | "position" | "direction"
|
|
5261
5311
|
export interface AmmoType {
|
|
@@ -5279,7 +5329,7 @@ declare module "factorio:runtime" {
|
|
|
5279
5329
|
}
|
|
5280
5330
|
/**
|
|
5281
5331
|
* @see BlueprintItemFilterWrite
|
|
5282
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5332
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintItemFilter.html Online documentation}
|
|
5283
5333
|
*/
|
|
5284
5334
|
export interface BlueprintItemFilter {
|
|
5285
5335
|
readonly index: uint32
|
|
@@ -5298,7 +5348,7 @@ declare module "factorio:runtime" {
|
|
|
5298
5348
|
}
|
|
5299
5349
|
/**
|
|
5300
5350
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
5301
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5351
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintItemFilter.html Online documentation}
|
|
5302
5352
|
*/
|
|
5303
5353
|
export interface BlueprintItemFilterWrite {
|
|
5304
5354
|
readonly index: uint32
|
|
@@ -5317,7 +5367,7 @@ declare module "factorio:runtime" {
|
|
|
5317
5367
|
}
|
|
5318
5368
|
/**
|
|
5319
5369
|
* @see BlueprintInventoryWithFiltersWrite
|
|
5320
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5370
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5321
5371
|
*/
|
|
5322
5372
|
export interface BlueprintInventoryWithFilters {
|
|
5323
5373
|
readonly bar?: ItemStackIndex
|
|
@@ -5325,7 +5375,7 @@ declare module "factorio:runtime" {
|
|
|
5325
5375
|
}
|
|
5326
5376
|
/**
|
|
5327
5377
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
|
5328
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5378
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5329
5379
|
*/
|
|
5330
5380
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
5331
5381
|
readonly bar?: ItemStackIndex
|
|
@@ -5367,21 +5417,76 @@ declare module "factorio:runtime" {
|
|
|
5367
5417
|
*/
|
|
5368
5418
|
readonly mining_trigger?: TriggerItem[]
|
|
5369
5419
|
}
|
|
5420
|
+
export interface UndoRedoEquipmentSettings {
|
|
5421
|
+
/**
|
|
5422
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5423
|
+
*/
|
|
5424
|
+
readonly power_production?: double
|
|
5425
|
+
/**
|
|
5426
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5427
|
+
*/
|
|
5428
|
+
readonly power_usage?: double
|
|
5429
|
+
/**
|
|
5430
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5431
|
+
*/
|
|
5432
|
+
readonly buffer_size?: double
|
|
5433
|
+
/**
|
|
5434
|
+
* Only used for equipment of type `"generator-equipment"` that has a burner energy source.
|
|
5435
|
+
*/
|
|
5436
|
+
readonly burner_fuel_inventory?: BlueprintInventoryWithFilters
|
|
5437
|
+
}
|
|
5438
|
+
export interface UndoRedoEquipment {
|
|
5439
|
+
readonly id: LuaEquipmentPrototype
|
|
5440
|
+
readonly position: EquipmentPosition
|
|
5441
|
+
readonly settings: UndoRedoEquipmentSettings
|
|
5442
|
+
}
|
|
5370
5443
|
/**
|
|
5371
5444
|
* @see BlueprintEquipmentWrite
|
|
5372
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5445
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEquipment.html Online documentation}
|
|
5373
5446
|
*/
|
|
5374
5447
|
export interface BlueprintEquipment {
|
|
5375
5448
|
readonly equipment: LuaEquipmentPrototype
|
|
5376
5449
|
readonly position: EquipmentPosition
|
|
5450
|
+
/**
|
|
5451
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5452
|
+
*/
|
|
5453
|
+
readonly power_production?: double
|
|
5454
|
+
/**
|
|
5455
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5456
|
+
*/
|
|
5457
|
+
readonly power_usage?: double
|
|
5458
|
+
/**
|
|
5459
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5460
|
+
*/
|
|
5461
|
+
readonly buffer_size?: double
|
|
5462
|
+
/**
|
|
5463
|
+
* Only used for equipment of type `"generator-equipment"` that has a burner energy source.
|
|
5464
|
+
*/
|
|
5465
|
+
readonly burner_fuel_inventory?: BlueprintInventoryWithFilters
|
|
5377
5466
|
}
|
|
5378
5467
|
/**
|
|
5379
5468
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
|
5380
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5469
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEquipment.html Online documentation}
|
|
5381
5470
|
*/
|
|
5382
5471
|
export interface BlueprintEquipmentWrite {
|
|
5383
5472
|
readonly equipment: EquipmentWithQualityID
|
|
5384
5473
|
readonly position: EquipmentPosition | EquipmentPositionArray
|
|
5474
|
+
/**
|
|
5475
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5476
|
+
*/
|
|
5477
|
+
readonly power_production?: double
|
|
5478
|
+
/**
|
|
5479
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5480
|
+
*/
|
|
5481
|
+
readonly power_usage?: double
|
|
5482
|
+
/**
|
|
5483
|
+
* Only used for equipment of type `"electric-energy-interface-equipment"`.
|
|
5484
|
+
*/
|
|
5485
|
+
readonly buffer_size?: double
|
|
5486
|
+
/**
|
|
5487
|
+
* Only used for equipment of type `"generator-equipment"` that has a burner energy source.
|
|
5488
|
+
*/
|
|
5489
|
+
readonly burner_fuel_inventory?: BlueprintInventoryWithFiltersWrite
|
|
5385
5490
|
}
|
|
5386
5491
|
/**
|
|
5387
5492
|
* Position inside an equipment grid. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys.
|
|
@@ -5393,7 +5498,7 @@ declare module "factorio:runtime" {
|
|
|
5393
5498
|
* @example
|
|
5394
5499
|
* -- Shorthand
|
|
5395
5500
|
* {1, 2}
|
|
5396
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5501
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPosition.html Online documentation}
|
|
5397
5502
|
*/
|
|
5398
5503
|
export interface EquipmentPosition {
|
|
5399
5504
|
readonly x: int32
|
|
@@ -5402,12 +5507,88 @@ declare module "factorio:runtime" {
|
|
|
5402
5507
|
/**
|
|
5403
5508
|
* Array form of {@link EquipmentPosition}.
|
|
5404
5509
|
* @see EquipmentPosition
|
|
5405
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5510
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPosition.html Online documentation}
|
|
5406
5511
|
*/
|
|
5407
5512
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
5513
|
+
/**
|
|
5514
|
+
* @see MapEditorSettingWrite
|
|
5515
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapEditorSetting.html Online documentation}
|
|
5516
|
+
*/
|
|
5517
|
+
export interface MapEditorSetting {
|
|
5518
|
+
readonly position?: MapPosition
|
|
5519
|
+
readonly inventory_size: ItemStackIndex
|
|
5520
|
+
readonly gun_inventory_size: ItemStackIndex
|
|
5521
|
+
/**
|
|
5522
|
+
* Must be >= 0.34375.
|
|
5523
|
+
*/
|
|
5524
|
+
readonly movement_speed: double
|
|
5525
|
+
/**
|
|
5526
|
+
* Must be >= 0.34375.
|
|
5527
|
+
*/
|
|
5528
|
+
readonly base_movement_speed: double
|
|
5529
|
+
readonly item_pickup_distance: double
|
|
5530
|
+
readonly loot_pickup_distance: double
|
|
5531
|
+
readonly mining_speed: double
|
|
5532
|
+
readonly enable_flash_light: boolean
|
|
5533
|
+
readonly adjust_speed_based_off_zoom: boolean
|
|
5534
|
+
readonly render_as_day: boolean
|
|
5535
|
+
readonly instant_blueprint_building: boolean
|
|
5536
|
+
readonly instant_deconstruction: boolean
|
|
5537
|
+
readonly instant_upgrading: boolean
|
|
5538
|
+
readonly instant_rail_planner: boolean
|
|
5539
|
+
readonly show_status_icons: boolean
|
|
5540
|
+
readonly show_hidden_entities: boolean
|
|
5541
|
+
readonly show_entity_tags: boolean
|
|
5542
|
+
readonly show_entity_health_bars: boolean
|
|
5543
|
+
readonly show_additional_entity_info_gui: boolean
|
|
5544
|
+
readonly generate_neighbor_chunks: boolean
|
|
5545
|
+
readonly fill_built_entity_energy_buffers: boolean
|
|
5546
|
+
readonly show_character_tab_in_controller_gui: boolean
|
|
5547
|
+
readonly show_infinity_filters_in_controller_gui: boolean
|
|
5548
|
+
readonly placed_corpses_never_expire: boolean
|
|
5549
|
+
readonly ignore_tile_conditions: boolean
|
|
5550
|
+
}
|
|
5551
|
+
/**
|
|
5552
|
+
* Write form of {@link MapEditorSetting}, where some properties allow additional values as input compared to the read form.
|
|
5553
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapEditorSetting.html Online documentation}
|
|
5554
|
+
*/
|
|
5555
|
+
export interface MapEditorSettingWrite {
|
|
5556
|
+
readonly position?: MapPosition | MapPositionArray
|
|
5557
|
+
readonly inventory_size: ItemStackIndex
|
|
5558
|
+
readonly gun_inventory_size: ItemStackIndex
|
|
5559
|
+
/**
|
|
5560
|
+
* Must be >= 0.34375.
|
|
5561
|
+
*/
|
|
5562
|
+
readonly movement_speed: double
|
|
5563
|
+
/**
|
|
5564
|
+
* Must be >= 0.34375.
|
|
5565
|
+
*/
|
|
5566
|
+
readonly base_movement_speed: double
|
|
5567
|
+
readonly item_pickup_distance: double
|
|
5568
|
+
readonly loot_pickup_distance: double
|
|
5569
|
+
readonly mining_speed: double
|
|
5570
|
+
readonly enable_flash_light: boolean
|
|
5571
|
+
readonly adjust_speed_based_off_zoom: boolean
|
|
5572
|
+
readonly render_as_day: boolean
|
|
5573
|
+
readonly instant_blueprint_building: boolean
|
|
5574
|
+
readonly instant_deconstruction: boolean
|
|
5575
|
+
readonly instant_upgrading: boolean
|
|
5576
|
+
readonly instant_rail_planner: boolean
|
|
5577
|
+
readonly show_status_icons: boolean
|
|
5578
|
+
readonly show_hidden_entities: boolean
|
|
5579
|
+
readonly show_entity_tags: boolean
|
|
5580
|
+
readonly show_entity_health_bars: boolean
|
|
5581
|
+
readonly show_additional_entity_info_gui: boolean
|
|
5582
|
+
readonly generate_neighbor_chunks: boolean
|
|
5583
|
+
readonly fill_built_entity_energy_buffers: boolean
|
|
5584
|
+
readonly show_character_tab_in_controller_gui: boolean
|
|
5585
|
+
readonly show_infinity_filters_in_controller_gui: boolean
|
|
5586
|
+
readonly placed_corpses_never_expire: boolean
|
|
5587
|
+
readonly ignore_tile_conditions: boolean
|
|
5588
|
+
}
|
|
5408
5589
|
/**
|
|
5409
5590
|
* An actual signal transmitted by the network.
|
|
5410
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5591
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Signal.html Online documentation}
|
|
5411
5592
|
*/
|
|
5412
5593
|
export interface Signal {
|
|
5413
5594
|
/**
|
|
@@ -5421,7 +5602,7 @@ declare module "factorio:runtime" {
|
|
|
5421
5602
|
}
|
|
5422
5603
|
/**
|
|
5423
5604
|
* @see DisplayPanelMessageDefinitionWrite
|
|
5424
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5605
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5425
5606
|
*/
|
|
5426
5607
|
export interface DisplayPanelMessageDefinition {
|
|
5427
5608
|
/**
|
|
@@ -5439,7 +5620,7 @@ declare module "factorio:runtime" {
|
|
|
5439
5620
|
}
|
|
5440
5621
|
/**
|
|
5441
5622
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
|
5442
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5623
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5443
5624
|
*/
|
|
5444
5625
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
5445
5626
|
/**
|
|
@@ -5467,7 +5648,7 @@ declare module "factorio:runtime" {
|
|
|
5467
5648
|
}
|
|
5468
5649
|
/**
|
|
5469
5650
|
* @see CircuitConditionWrite
|
|
5470
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5651
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitCondition.html Online documentation}
|
|
5471
5652
|
*/
|
|
5472
5653
|
export interface CircuitCondition {
|
|
5473
5654
|
/**
|
|
@@ -5489,7 +5670,7 @@ declare module "factorio:runtime" {
|
|
|
5489
5670
|
}
|
|
5490
5671
|
/**
|
|
5491
5672
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
|
5492
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5673
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitCondition.html Online documentation}
|
|
5493
5674
|
*/
|
|
5494
5675
|
export interface CircuitConditionWrite {
|
|
5495
5676
|
/**
|
|
@@ -5511,7 +5692,7 @@ declare module "factorio:runtime" {
|
|
|
5511
5692
|
}
|
|
5512
5693
|
/**
|
|
5513
5694
|
* @see SignalIDWrite
|
|
5514
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5695
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalID.html Online documentation}
|
|
5515
5696
|
*/
|
|
5516
5697
|
export interface SignalID {
|
|
5517
5698
|
/**
|
|
@@ -5529,7 +5710,7 @@ declare module "factorio:runtime" {
|
|
|
5529
5710
|
}
|
|
5530
5711
|
/**
|
|
5531
5712
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
|
5532
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5713
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalID.html Online documentation}
|
|
5533
5714
|
*/
|
|
5534
5715
|
export interface SignalIDWrite {
|
|
5535
5716
|
/**
|
|
@@ -5565,13 +5746,13 @@ declare module "factorio:runtime" {
|
|
|
5565
5746
|
* - `"space-location"`
|
|
5566
5747
|
* - `"asteroid-chunk"`
|
|
5567
5748
|
* - `"quality"`
|
|
5568
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5749
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalIDType.html Online documentation}
|
|
5569
5750
|
*/
|
|
5570
5751
|
export type SignalIDType =
|
|
5571
5752
|
"item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality"
|
|
5572
5753
|
/**
|
|
5573
5754
|
* @see DeciderCombinatorParametersWrite
|
|
5574
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5755
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5575
5756
|
*/
|
|
5576
5757
|
export interface DeciderCombinatorParameters {
|
|
5577
5758
|
/**
|
|
@@ -5589,7 +5770,7 @@ declare module "factorio:runtime" {
|
|
|
5589
5770
|
}
|
|
5590
5771
|
/**
|
|
5591
5772
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5592
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5773
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5593
5774
|
*/
|
|
5594
5775
|
export interface DeciderCombinatorParametersWrite {
|
|
5595
5776
|
/**
|
|
@@ -5607,7 +5788,7 @@ declare module "factorio:runtime" {
|
|
|
5607
5788
|
}
|
|
5608
5789
|
/**
|
|
5609
5790
|
* @see DeciderCombinatorConditionWrite
|
|
5610
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5791
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5611
5792
|
*/
|
|
5612
5793
|
export interface DeciderCombinatorCondition {
|
|
5613
5794
|
/**
|
|
@@ -5641,7 +5822,7 @@ declare module "factorio:runtime" {
|
|
|
5641
5822
|
}
|
|
5642
5823
|
/**
|
|
5643
5824
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
|
5644
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5825
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5645
5826
|
*/
|
|
5646
5827
|
export interface DeciderCombinatorConditionWrite {
|
|
5647
5828
|
/**
|
|
@@ -5675,7 +5856,7 @@ declare module "factorio:runtime" {
|
|
|
5675
5856
|
}
|
|
5676
5857
|
/**
|
|
5677
5858
|
* @see DeciderCombinatorOutputWrite
|
|
5678
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5859
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5679
5860
|
*/
|
|
5680
5861
|
export interface DeciderCombinatorOutput {
|
|
5681
5862
|
/**
|
|
@@ -5697,7 +5878,7 @@ declare module "factorio:runtime" {
|
|
|
5697
5878
|
}
|
|
5698
5879
|
/**
|
|
5699
5880
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
|
5700
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5881
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5701
5882
|
*/
|
|
5702
5883
|
export interface DeciderCombinatorOutputWrite {
|
|
5703
5884
|
/**
|
|
@@ -5719,7 +5900,7 @@ declare module "factorio:runtime" {
|
|
|
5719
5900
|
}
|
|
5720
5901
|
/**
|
|
5721
5902
|
* @see ArithmeticCombinatorParametersWrite
|
|
5722
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5903
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5723
5904
|
*/
|
|
5724
5905
|
export interface ArithmeticCombinatorParameters {
|
|
5725
5906
|
/**
|
|
@@ -5757,7 +5938,7 @@ declare module "factorio:runtime" {
|
|
|
5757
5938
|
}
|
|
5758
5939
|
/**
|
|
5759
5940
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5760
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5941
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5761
5942
|
*/
|
|
5762
5943
|
export interface ArithmeticCombinatorParametersWrite {
|
|
5763
5944
|
/**
|
|
@@ -5806,7 +5987,7 @@ declare module "factorio:runtime" {
|
|
|
5806
5987
|
* - `"AND"`
|
|
5807
5988
|
* - `"OR"`
|
|
5808
5989
|
* - `"XOR"`
|
|
5809
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5990
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
|
5810
5991
|
*/
|
|
5811
5992
|
export type ArithmeticCombinatorParameterOperation =
|
|
5812
5993
|
"*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR"
|
|
@@ -5833,6 +6014,10 @@ declare module "factorio:runtime" {
|
|
|
5833
6014
|
* The signal index to use if not using a specific `index_signal`. Defaults to `0`.
|
|
5834
6015
|
*/
|
|
5835
6016
|
readonly index_constant?: int32
|
|
6017
|
+
/**
|
|
6018
|
+
* Defaults to `"="`.
|
|
6019
|
+
*/
|
|
6020
|
+
readonly index_comparator?: ComparatorStringRead
|
|
5836
6021
|
}
|
|
5837
6022
|
export interface SelectSelectorCombinatorParametersWrite extends BaseSelectorCombinatorParameters {
|
|
5838
6023
|
readonly operation: "select"
|
|
@@ -5848,6 +6033,10 @@ declare module "factorio:runtime" {
|
|
|
5848
6033
|
* The signal index to use if not using a specific `index_signal`. Defaults to `0`.
|
|
5849
6034
|
*/
|
|
5850
6035
|
readonly index_constant?: int32
|
|
6036
|
+
/**
|
|
6037
|
+
* Defaults to `"="`.
|
|
6038
|
+
*/
|
|
6039
|
+
readonly index_comparator?: ComparatorString
|
|
5851
6040
|
}
|
|
5852
6041
|
/**
|
|
5853
6042
|
* `"count"` variant of {@link SelectorCombinatorParameters}.
|
|
@@ -5949,6 +6138,16 @@ declare module "factorio:runtime" {
|
|
|
5949
6138
|
*/
|
|
5950
6139
|
readonly day_length_signal?: SignalIDWrite
|
|
5951
6140
|
}
|
|
6141
|
+
/**
|
|
6142
|
+
* `"quality-select"` variant of {@link SelectorCombinatorParameters}.
|
|
6143
|
+
*/
|
|
6144
|
+
export interface QualitySelectSelectorCombinatorParameters extends BaseSelectorCombinatorParameters {
|
|
6145
|
+
readonly operation: "quality-select"
|
|
6146
|
+
/**
|
|
6147
|
+
* Defaults to `true`.
|
|
6148
|
+
*/
|
|
6149
|
+
readonly select_highest_quality?: boolean
|
|
6150
|
+
}
|
|
5952
6151
|
/**
|
|
5953
6152
|
* Variants of {@link SelectorCombinatorParameters} with no additional attributes.
|
|
5954
6153
|
*/
|
|
@@ -5963,7 +6162,8 @@ declare module "factorio:runtime" {
|
|
|
5963
6162
|
* - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
|
|
5964
6163
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
5965
6164
|
* - `"time"`: {@link TimeSelectorCombinatorParameters}
|
|
5966
|
-
*
|
|
6165
|
+
* - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters}
|
|
6166
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
5967
6167
|
*/
|
|
5968
6168
|
export type SelectorCombinatorParameters =
|
|
5969
6169
|
| SelectSelectorCombinatorParameters
|
|
@@ -5972,10 +6172,11 @@ declare module "factorio:runtime" {
|
|
|
5972
6172
|
| QualityFilterSelectorCombinatorParameters
|
|
5973
6173
|
| QualityTransferSelectorCombinatorParameters
|
|
5974
6174
|
| TimeSelectorCombinatorParameters
|
|
6175
|
+
| QualitySelectSelectorCombinatorParameters
|
|
5975
6176
|
| OtherSelectorCombinatorParameters
|
|
5976
6177
|
/**
|
|
5977
6178
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5978
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6179
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
5979
6180
|
*/
|
|
5980
6181
|
export type SelectorCombinatorParametersWrite =
|
|
5981
6182
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -5984,6 +6185,7 @@ declare module "factorio:runtime" {
|
|
|
5984
6185
|
| QualityFilterSelectorCombinatorParametersWrite
|
|
5985
6186
|
| QualityTransferSelectorCombinatorParametersWrite
|
|
5986
6187
|
| TimeSelectorCombinatorParametersWrite
|
|
6188
|
+
| QualitySelectSelectorCombinatorParameters
|
|
5987
6189
|
| OtherSelectorCombinatorParameters
|
|
5988
6190
|
/**
|
|
5989
6191
|
* ## Union members
|
|
@@ -5995,10 +6197,19 @@ declare module "factorio:runtime" {
|
|
|
5995
6197
|
* - `"stack-size"`
|
|
5996
6198
|
* - `"quality-filter"`
|
|
5997
6199
|
* - `"time"`
|
|
5998
|
-
*
|
|
6200
|
+
* - `"quality-select"`
|
|
6201
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
|
5999
6202
|
*/
|
|
6000
6203
|
export type SelectorCombinatorParameterOperation =
|
|
6001
|
-
|
|
6204
|
+
| "select"
|
|
6205
|
+
| "count"
|
|
6206
|
+
| "random"
|
|
6207
|
+
| "quality-transfer"
|
|
6208
|
+
| "rocket-capacity"
|
|
6209
|
+
| "stack-size"
|
|
6210
|
+
| "quality-filter"
|
|
6211
|
+
| "time"
|
|
6212
|
+
| "quality-select"
|
|
6002
6213
|
export interface SpaceConnectionAsteroidSpawnDefinition {
|
|
6003
6214
|
/**
|
|
6004
6215
|
* `asteroid-chunk` or `entity`
|
|
@@ -6039,14 +6250,16 @@ declare module "factorio:runtime" {
|
|
|
6039
6250
|
* {{type="item", name="steel-chest", amount=1}}
|
|
6040
6251
|
* @example
|
|
6041
6252
|
* -- Products of the "advanced-oil-processing" recipe
|
|
6042
|
-
* {
|
|
6043
|
-
* {type="fluid", name="
|
|
6044
|
-
* {type="fluid", name="
|
|
6253
|
+
* {
|
|
6254
|
+
* {type = "fluid", name = "heavy-oil", amount = 25},
|
|
6255
|
+
* {type = "fluid", name = "light-oil", amount = 45},
|
|
6256
|
+
* {type = "fluid", name = "petroleum-gas", amount = 55}
|
|
6257
|
+
* }
|
|
6045
6258
|
* @example
|
|
6046
6259
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6047
6260
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6048
|
-
* {{type="item", name="custom-item",
|
|
6049
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6261
|
+
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6262
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Product.html Online documentation}
|
|
6050
6263
|
*/
|
|
6051
6264
|
export type Product = ItemProduct | FluidProduct
|
|
6052
6265
|
export interface SharedProbabilityDefinition {
|
|
@@ -6066,8 +6279,8 @@ declare module "factorio:runtime" {
|
|
|
6066
6279
|
* @example
|
|
6067
6280
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6068
6281
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6069
|
-
* {{type="item", name="custom-item",
|
|
6070
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6282
|
+
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6283
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemProduct.html Online documentation}
|
|
6071
6284
|
*/
|
|
6072
6285
|
export interface ItemProduct {
|
|
6073
6286
|
readonly type: "item"
|
|
@@ -6118,7 +6331,7 @@ declare module "factorio:runtime" {
|
|
|
6118
6331
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6119
6332
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6120
6333
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6121
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6334
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidProduct.html Online documentation}
|
|
6122
6335
|
*/
|
|
6123
6336
|
export interface FluidProduct {
|
|
6124
6337
|
readonly type: "fluid"
|
|
@@ -6159,7 +6372,7 @@ declare module "factorio:runtime" {
|
|
|
6159
6372
|
}
|
|
6160
6373
|
/**
|
|
6161
6374
|
* @see BlueprintScheduleRecordWrite
|
|
6162
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6375
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6163
6376
|
*/
|
|
6164
6377
|
export interface BlueprintScheduleRecord {
|
|
6165
6378
|
/**
|
|
@@ -6173,7 +6386,7 @@ declare module "factorio:runtime" {
|
|
|
6173
6386
|
}
|
|
6174
6387
|
/**
|
|
6175
6388
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6176
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6389
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6177
6390
|
*/
|
|
6178
6391
|
export interface BlueprintScheduleRecordWrite {
|
|
6179
6392
|
/**
|
|
@@ -6187,7 +6400,7 @@ declare module "factorio:runtime" {
|
|
|
6187
6400
|
}
|
|
6188
6401
|
/**
|
|
6189
6402
|
* @see ScheduleRecordWrite
|
|
6190
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6403
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleRecord.html Online documentation}
|
|
6191
6404
|
*/
|
|
6192
6405
|
export interface ScheduleRecord {
|
|
6193
6406
|
/**
|
|
@@ -6206,7 +6419,7 @@ declare module "factorio:runtime" {
|
|
|
6206
6419
|
}
|
|
6207
6420
|
/**
|
|
6208
6421
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6209
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6422
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleRecord.html Online documentation}
|
|
6210
6423
|
*/
|
|
6211
6424
|
export interface ScheduleRecordWrite {
|
|
6212
6425
|
/**
|
|
@@ -6225,7 +6438,7 @@ declare module "factorio:runtime" {
|
|
|
6225
6438
|
}
|
|
6226
6439
|
/**
|
|
6227
6440
|
* @see BlueprintScheduleInterruptWrite
|
|
6228
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6441
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6229
6442
|
*/
|
|
6230
6443
|
export interface BlueprintScheduleInterrupt {
|
|
6231
6444
|
/**
|
|
@@ -6241,7 +6454,7 @@ declare module "factorio:runtime" {
|
|
|
6241
6454
|
}
|
|
6242
6455
|
/**
|
|
6243
6456
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6244
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6457
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6245
6458
|
*/
|
|
6246
6459
|
export interface BlueprintScheduleInterruptWrite {
|
|
6247
6460
|
/**
|
|
@@ -6257,7 +6470,7 @@ declare module "factorio:runtime" {
|
|
|
6257
6470
|
}
|
|
6258
6471
|
/**
|
|
6259
6472
|
* @see ScheduleInterruptWrite
|
|
6260
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6473
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleInterrupt.html Online documentation}
|
|
6261
6474
|
*/
|
|
6262
6475
|
export interface ScheduleInterrupt {
|
|
6263
6476
|
/**
|
|
@@ -6273,7 +6486,7 @@ declare module "factorio:runtime" {
|
|
|
6273
6486
|
}
|
|
6274
6487
|
/**
|
|
6275
6488
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6276
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6489
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleInterrupt.html Online documentation}
|
|
6277
6490
|
*/
|
|
6278
6491
|
export interface ScheduleInterruptWrite {
|
|
6279
6492
|
/**
|
|
@@ -6289,7 +6502,7 @@ declare module "factorio:runtime" {
|
|
|
6289
6502
|
}
|
|
6290
6503
|
/**
|
|
6291
6504
|
* @see WaitConditionWrite
|
|
6292
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6505
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/WaitCondition.html Online documentation}
|
|
6293
6506
|
*/
|
|
6294
6507
|
export interface WaitCondition {
|
|
6295
6508
|
readonly type: WaitConditionType
|
|
@@ -6320,7 +6533,7 @@ declare module "factorio:runtime" {
|
|
|
6320
6533
|
}
|
|
6321
6534
|
/**
|
|
6322
6535
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
|
6323
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6536
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/WaitCondition.html Online documentation}
|
|
6324
6537
|
*/
|
|
6325
6538
|
export interface WaitConditionWrite {
|
|
6326
6539
|
readonly type: WaitConditionType
|
|
@@ -6379,7 +6592,7 @@ declare module "factorio:runtime" {
|
|
|
6379
6592
|
* - `"at_station"`
|
|
6380
6593
|
* - `"not_at_station"`
|
|
6381
6594
|
* - `"damage_taken"`
|
|
6382
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6595
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/WaitConditionType.html Online documentation}
|
|
6383
6596
|
*/
|
|
6384
6597
|
export type WaitConditionType =
|
|
6385
6598
|
| "time"
|
|
@@ -6410,7 +6623,7 @@ declare module "factorio:runtime" {
|
|
|
6410
6623
|
| "damage_taken"
|
|
6411
6624
|
/**
|
|
6412
6625
|
* @see BlueprintScheduleWrite
|
|
6413
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6626
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSchedule.html Online documentation}
|
|
6414
6627
|
*/
|
|
6415
6628
|
export interface BlueprintSchedule {
|
|
6416
6629
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6419,7 +6632,7 @@ declare module "factorio:runtime" {
|
|
|
6419
6632
|
}
|
|
6420
6633
|
/**
|
|
6421
6634
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
|
6422
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6635
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSchedule.html Online documentation}
|
|
6423
6636
|
*/
|
|
6424
6637
|
export interface BlueprintScheduleWrite {
|
|
6425
6638
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6491,7 +6704,7 @@ declare module "factorio:runtime" {
|
|
|
6491
6704
|
* - `"vehicle-logistics"`
|
|
6492
6705
|
* - `"unlock-logistic-network"`
|
|
6493
6706
|
* - `"unlock-travel-to-space-platforms"`
|
|
6494
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6707
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ModifierType.html Online documentation}
|
|
6495
6708
|
*/
|
|
6496
6709
|
export type ModifierType =
|
|
6497
6710
|
| "inserter-stack-size-bonus"
|
|
@@ -6545,7 +6758,11 @@ declare module "factorio:runtime" {
|
|
|
6545
6758
|
| "vehicle-logistics"
|
|
6546
6759
|
| "unlock-logistic-network"
|
|
6547
6760
|
| "unlock-travel-to-space-platforms"
|
|
6761
|
+
/**
|
|
6762
|
+
* Common attributes to all variants of {@link TechnologyModifier}.
|
|
6763
|
+
*/
|
|
6548
6764
|
export interface BaseTechnologyModifier {
|
|
6765
|
+
readonly hidden: boolean
|
|
6549
6766
|
/**
|
|
6550
6767
|
* Modifier type. Specifies which of the other fields will be available.
|
|
6551
6768
|
*/
|
|
@@ -7088,6 +7305,8 @@ declare module "factorio:runtime" {
|
|
|
7088
7305
|
/**
|
|
7089
7306
|
* The effect that is applied when a technology is researched.
|
|
7090
7307
|
*
|
|
7308
|
+
* Base attributes: {@link BaseTechnologyModifier}
|
|
7309
|
+
*
|
|
7091
7310
|
* Other attributes may be specified depending on `type`:
|
|
7092
7311
|
* - `"ammo-damage"`: {@link AmmoDamageTechnologyModifier}
|
|
7093
7312
|
* - `"artillery-range"`: {@link ArtilleryRangeTechnologyModifier}
|
|
@@ -7140,7 +7359,7 @@ declare module "factorio:runtime" {
|
|
|
7140
7359
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7141
7360
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7142
7361
|
* - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier}
|
|
7143
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7362
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyModifier.html Online documentation}
|
|
7144
7363
|
*/
|
|
7145
7364
|
export type TechnologyModifier =
|
|
7146
7365
|
| AmmoDamageTechnologyModifier
|
|
@@ -7248,7 +7467,7 @@ declare module "factorio:runtime" {
|
|
|
7248
7467
|
* Other attributes may be specified depending on `type`:
|
|
7249
7468
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7250
7469
|
* - `"item"`: {@link ItemIngredient}
|
|
7251
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7470
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Ingredient.html Online documentation}
|
|
7252
7471
|
*/
|
|
7253
7472
|
export type Ingredient = FluidIngredient | ItemIngredient
|
|
7254
7473
|
/**
|
|
@@ -7269,7 +7488,7 @@ declare module "factorio:runtime" {
|
|
|
7269
7488
|
* * other_base_coefficient
|
|
7270
7489
|
* score(chunk) = 1 / (1 + player + base)
|
|
7271
7490
|
* ```
|
|
7272
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7491
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EnemyExpansionMapSettings.html Online documentation}
|
|
7273
7492
|
*/
|
|
7274
7493
|
export interface EnemyExpansionMapSettings {
|
|
7275
7494
|
/**
|
|
@@ -7328,6 +7547,10 @@ declare module "factorio:runtime" {
|
|
|
7328
7547
|
* The maximum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `60*3 600=216 000` ticks.
|
|
7329
7548
|
*/
|
|
7330
7549
|
readonly max_expansion_cooldown: uint32
|
|
7550
|
+
/**
|
|
7551
|
+
* Cooldown in ticks for dispatching units when building bases. Defaults to `60*30=1 800` ticks.
|
|
7552
|
+
*/
|
|
7553
|
+
readonly build_base_unit_dispatch_cooldown: uint32
|
|
7331
7554
|
}
|
|
7332
7555
|
export interface AsteroidMapSettings {
|
|
7333
7556
|
readonly spawning_rate: double
|
|
@@ -7530,23 +7753,23 @@ declare module "factorio:runtime" {
|
|
|
7530
7753
|
}
|
|
7531
7754
|
/**
|
|
7532
7755
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
|
7533
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7756
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DifficultySettings.html Online documentation}
|
|
7534
7757
|
*/
|
|
7535
7758
|
export interface DifficultySettings {
|
|
7536
7759
|
/**
|
|
7537
7760
|
* A value in range [0.001, 100000].
|
|
7538
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7761
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
|
7539
7762
|
*/
|
|
7540
7763
|
technology_price_multiplier: double
|
|
7541
7764
|
/**
|
|
7542
7765
|
* A value in range [0.01, 100].
|
|
7543
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7766
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
|
7544
7767
|
*/
|
|
7545
7768
|
spoil_time_modifier: double
|
|
7546
7769
|
}
|
|
7547
7770
|
/**
|
|
7548
7771
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
|
7549
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7772
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapAndDifficultySettings.html Online documentation}
|
|
7550
7773
|
*/
|
|
7551
7774
|
export interface MapAndDifficultySettings {
|
|
7552
7775
|
readonly pollution: PollutionMapSettings
|
|
@@ -7566,7 +7789,7 @@ declare module "factorio:runtime" {
|
|
|
7566
7789
|
* @example
|
|
7567
7790
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7568
7791
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7569
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7792
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapSettings.html Online documentation}
|
|
7570
7793
|
*/
|
|
7571
7794
|
export interface MapSettings {
|
|
7572
7795
|
pollution: PollutionMapSettings
|
|
@@ -7577,7 +7800,7 @@ declare module "factorio:runtime" {
|
|
|
7577
7800
|
asteroids: AsteroidMapSettings
|
|
7578
7801
|
/**
|
|
7579
7802
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
7580
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7803
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
|
7581
7804
|
*/
|
|
7582
7805
|
max_failed_behavior_count: uint32
|
|
7583
7806
|
}
|
|
@@ -7606,7 +7829,7 @@ declare module "factorio:runtime" {
|
|
|
7606
7829
|
* - `"very-high"`: equivalent to `2`.
|
|
7607
7830
|
* - `"very-big"`: equivalent to `2`.
|
|
7608
7831
|
* - `"very-good"`: equivalent to `2`.
|
|
7609
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7832
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapGenSize.html Online documentation}
|
|
7610
7833
|
*/
|
|
7611
7834
|
export type MapGenSize =
|
|
7612
7835
|
| float
|
|
@@ -7628,7 +7851,7 @@ declare module "factorio:runtime" {
|
|
|
7628
7851
|
| "very-good"
|
|
7629
7852
|
/**
|
|
7630
7853
|
* These values are for the time frame of one second (60 ticks).
|
|
7631
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7854
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PollutionMapSettings.html Online documentation}
|
|
7632
7855
|
*/
|
|
7633
7856
|
export interface PollutionMapSettings {
|
|
7634
7857
|
/**
|
|
@@ -7671,10 +7894,6 @@ declare module "factorio:runtime" {
|
|
|
7671
7894
|
* Defaults to `10`.
|
|
7672
7895
|
*/
|
|
7673
7896
|
readonly pollution_restored_per_tree_damage: double
|
|
7674
|
-
/**
|
|
7675
|
-
* Defaults to `20`.
|
|
7676
|
-
*/
|
|
7677
|
-
readonly max_pollution_to_restore_trees: double
|
|
7678
7897
|
/**
|
|
7679
7898
|
* Defaults to `1`.
|
|
7680
7899
|
*/
|
|
@@ -7682,7 +7901,7 @@ declare module "factorio:runtime" {
|
|
|
7682
7901
|
}
|
|
7683
7902
|
/**
|
|
7684
7903
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
|
7685
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7904
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
|
7686
7905
|
*/
|
|
7687
7906
|
export interface EnemyEvolutionMapSettings {
|
|
7688
7907
|
/**
|
|
@@ -7704,7 +7923,7 @@ declare module "factorio:runtime" {
|
|
|
7704
7923
|
}
|
|
7705
7924
|
/**
|
|
7706
7925
|
* @see AutoplaceControlWrite
|
|
7707
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7926
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceControl.html Online documentation}
|
|
7708
7927
|
*/
|
|
7709
7928
|
export interface AutoplaceControl {
|
|
7710
7929
|
/**
|
|
@@ -7722,7 +7941,7 @@ declare module "factorio:runtime" {
|
|
|
7722
7941
|
}
|
|
7723
7942
|
/**
|
|
7724
7943
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
|
7725
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7944
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceControl.html Online documentation}
|
|
7726
7945
|
*/
|
|
7727
7946
|
export interface AutoplaceControlWrite {
|
|
7728
7947
|
/**
|
|
@@ -7740,7 +7959,7 @@ declare module "factorio:runtime" {
|
|
|
7740
7959
|
}
|
|
7741
7960
|
/**
|
|
7742
7961
|
* @see CliffPlacementSettingsWrite
|
|
7743
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7962
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CliffPlacementSettings.html Online documentation}
|
|
7744
7963
|
*/
|
|
7745
7964
|
export interface CliffPlacementSettings {
|
|
7746
7965
|
/**
|
|
@@ -7770,7 +7989,7 @@ declare module "factorio:runtime" {
|
|
|
7770
7989
|
}
|
|
7771
7990
|
/**
|
|
7772
7991
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
|
7773
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7992
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CliffPlacementSettings.html Online documentation}
|
|
7774
7993
|
*/
|
|
7775
7994
|
export interface CliffPlacementSettingsWrite {
|
|
7776
7995
|
/**
|
|
@@ -7800,7 +8019,7 @@ declare module "factorio:runtime" {
|
|
|
7800
8019
|
}
|
|
7801
8020
|
/**
|
|
7802
8021
|
* @see AutoplaceSettingsWrite
|
|
7803
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8022
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceSettings.html Online documentation}
|
|
7804
8023
|
*/
|
|
7805
8024
|
export interface AutoplaceSettings {
|
|
7806
8025
|
/**
|
|
@@ -7814,7 +8033,7 @@ declare module "factorio:runtime" {
|
|
|
7814
8033
|
}
|
|
7815
8034
|
/**
|
|
7816
8035
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
|
7817
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8036
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceSettings.html Online documentation}
|
|
7818
8037
|
*/
|
|
7819
8038
|
export interface AutoplaceSettingsWrite {
|
|
7820
8039
|
/**
|
|
@@ -7850,7 +8069,7 @@ declare module "factorio:runtime" {
|
|
|
7850
8069
|
* surface.map_gen_settings = mgs
|
|
7851
8070
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
7852
8071
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
7853
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8072
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapGenSettings.html Online documentation}
|
|
7854
8073
|
*/
|
|
7855
8074
|
export interface MapGenSettings {
|
|
7856
8075
|
/**
|
|
@@ -7905,7 +8124,7 @@ declare module "factorio:runtime" {
|
|
|
7905
8124
|
}
|
|
7906
8125
|
/**
|
|
7907
8126
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
|
7908
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8127
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapGenSettings.html Online documentation}
|
|
7909
8128
|
*/
|
|
7910
8129
|
export interface MapGenSettingsWrite {
|
|
7911
8130
|
/**
|
|
@@ -7989,12 +8208,12 @@ declare module "factorio:runtime" {
|
|
|
7989
8208
|
}
|
|
7990
8209
|
/**
|
|
7991
8210
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
|
7992
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8211
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/NoiseExpressionSourceString.html Online documentation}
|
|
7993
8212
|
*/
|
|
7994
8213
|
export type NoiseExpressionSourceString = string
|
|
7995
8214
|
/**
|
|
7996
8215
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
7997
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8216
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceSpecification.html Online documentation}
|
|
7998
8217
|
*/
|
|
7999
8218
|
export interface AutoplaceSpecification {
|
|
8000
8219
|
readonly placement_density: uint32
|
|
@@ -8077,13 +8296,13 @@ declare module "factorio:runtime" {
|
|
|
8077
8296
|
*/
|
|
8078
8297
|
readonly migration_applied: boolean
|
|
8079
8298
|
/**
|
|
8080
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.
|
|
8299
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/migrations.html migrations}. The inner dictionary maps the old prototype name to the new prototype name. The new name will be an empty string if the prototype was removed. Entries are omitted if the old and new prototype name are the same.
|
|
8081
8300
|
*/
|
|
8082
8301
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8083
8302
|
}
|
|
8084
8303
|
/**
|
|
8085
8304
|
* @see AsteroidChunkWrite
|
|
8086
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8305
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidChunk.html Online documentation}
|
|
8087
8306
|
*/
|
|
8088
8307
|
export interface AsteroidChunk {
|
|
8089
8308
|
/**
|
|
@@ -8095,7 +8314,7 @@ declare module "factorio:runtime" {
|
|
|
8095
8314
|
}
|
|
8096
8315
|
/**
|
|
8097
8316
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
|
8098
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8317
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidChunk.html Online documentation}
|
|
8099
8318
|
*/
|
|
8100
8319
|
export interface AsteroidChunkWrite {
|
|
8101
8320
|
/**
|
|
@@ -8107,7 +8326,7 @@ declare module "factorio:runtime" {
|
|
|
8107
8326
|
}
|
|
8108
8327
|
/**
|
|
8109
8328
|
* An item thrown overboard on a space platform.
|
|
8110
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8329
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EjectedItem.html Online documentation}
|
|
8111
8330
|
*/
|
|
8112
8331
|
export interface EjectedItem {
|
|
8113
8332
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8119,7 +8338,7 @@ declare module "factorio:runtime" {
|
|
|
8119
8338
|
}
|
|
8120
8339
|
/**
|
|
8121
8340
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
8122
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8341
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapExchangeStringData.html Online documentation}
|
|
8123
8342
|
*/
|
|
8124
8343
|
export interface MapExchangeStringData {
|
|
8125
8344
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8145,7 +8364,7 @@ declare module "factorio:runtime" {
|
|
|
8145
8364
|
}
|
|
8146
8365
|
/**
|
|
8147
8366
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8148
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8367
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChunkPositionAndArea.html Online documentation}
|
|
8149
8368
|
*/
|
|
8150
8369
|
export interface ChunkPositionAndArea {
|
|
8151
8370
|
readonly x: int32
|
|
@@ -8177,6 +8396,7 @@ declare module "factorio:runtime" {
|
|
|
8177
8396
|
* - `"signal-or-number"`
|
|
8178
8397
|
* - `"simple-slot"`
|
|
8179
8398
|
* - `"simple-item-slot"`
|
|
8399
|
+
* - `"simple-item-with-quality-slot"`
|
|
8180
8400
|
* - `"recipe-slot"`
|
|
8181
8401
|
* - `"quickbar-slot"`
|
|
8182
8402
|
* - `"logistics-button"`
|
|
@@ -8193,7 +8413,7 @@ declare module "factorio:runtime" {
|
|
|
8193
8413
|
* - `"check-box"`
|
|
8194
8414
|
* - `"switch"`
|
|
8195
8415
|
* - `"label"`
|
|
8196
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8416
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SimulationWidgetType.html Online documentation}
|
|
8197
8417
|
*/
|
|
8198
8418
|
export type SimulationWidgetType =
|
|
8199
8419
|
| "signal-id"
|
|
@@ -8201,6 +8421,7 @@ declare module "factorio:runtime" {
|
|
|
8201
8421
|
| "signal-or-number"
|
|
8202
8422
|
| "simple-slot"
|
|
8203
8423
|
| "simple-item-slot"
|
|
8424
|
+
| "simple-item-with-quality-slot"
|
|
8204
8425
|
| "recipe-slot"
|
|
8205
8426
|
| "quickbar-slot"
|
|
8206
8427
|
| "logistics-button"
|
|
@@ -8381,7 +8602,7 @@ declare module "factorio:runtime" {
|
|
|
8381
8602
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8382
8603
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8383
8604
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8384
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8605
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8385
8606
|
*/
|
|
8386
8607
|
export type SegmentedUnitAIState =
|
|
8387
8608
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8391,7 +8612,7 @@ declare module "factorio:runtime" {
|
|
|
8391
8612
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8392
8613
|
/**
|
|
8393
8614
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
|
8394
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8615
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8395
8616
|
*/
|
|
8396
8617
|
export type SegmentedUnitAIStateWrite =
|
|
8397
8618
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8539,7 +8760,7 @@ declare module "factorio:runtime" {
|
|
|
8539
8760
|
/**
|
|
8540
8761
|
* 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].
|
|
8541
8762
|
* @see ColorModifierArray
|
|
8542
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8763
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ColorModifier.html Online documentation}
|
|
8543
8764
|
*/
|
|
8544
8765
|
export interface ColorModifier {
|
|
8545
8766
|
readonly r?: float
|
|
@@ -8550,7 +8771,7 @@ declare module "factorio:runtime" {
|
|
|
8550
8771
|
/**
|
|
8551
8772
|
* Array form of {@link ColorModifier}.
|
|
8552
8773
|
* @see ColorModifier
|
|
8553
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8774
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ColorModifier.html Online documentation}
|
|
8554
8775
|
*/
|
|
8555
8776
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8556
8777
|
export interface Decorative {
|
|
@@ -8569,7 +8790,7 @@ declare module "factorio:runtime" {
|
|
|
8569
8790
|
/**
|
|
8570
8791
|
* An area defined using the map editor.
|
|
8571
8792
|
* @see ScriptAreaWrite
|
|
8572
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8793
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptArea.html Online documentation}
|
|
8573
8794
|
*/
|
|
8574
8795
|
export interface ScriptArea {
|
|
8575
8796
|
readonly area: BoundingBox
|
|
@@ -8579,7 +8800,7 @@ declare module "factorio:runtime" {
|
|
|
8579
8800
|
}
|
|
8580
8801
|
/**
|
|
8581
8802
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
|
8582
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8803
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptArea.html Online documentation}
|
|
8583
8804
|
*/
|
|
8584
8805
|
export interface ScriptAreaWrite {
|
|
8585
8806
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8590,7 +8811,7 @@ declare module "factorio:runtime" {
|
|
|
8590
8811
|
/**
|
|
8591
8812
|
* A position defined using the map editor.
|
|
8592
8813
|
* @see ScriptPositionWrite
|
|
8593
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8814
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptPosition.html Online documentation}
|
|
8594
8815
|
*/
|
|
8595
8816
|
export interface ScriptPosition {
|
|
8596
8817
|
readonly position: MapPosition
|
|
@@ -8600,7 +8821,7 @@ declare module "factorio:runtime" {
|
|
|
8600
8821
|
}
|
|
8601
8822
|
/**
|
|
8602
8823
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
|
8603
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8824
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptPosition.html Online documentation}
|
|
8604
8825
|
*/
|
|
8605
8826
|
export interface ScriptPositionWrite {
|
|
8606
8827
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8616,7 +8837,7 @@ declare module "factorio:runtime" {
|
|
|
8616
8837
|
}
|
|
8617
8838
|
/**
|
|
8618
8839
|
* A table used to define a manual shape for a piece of equipment.
|
|
8619
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8840
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPoint.html Online documentation}
|
|
8620
8841
|
*/
|
|
8621
8842
|
export interface EquipmentPoint {
|
|
8622
8843
|
readonly x: uint32
|
|
@@ -8625,7 +8846,7 @@ declare module "factorio:runtime" {
|
|
|
8625
8846
|
/**
|
|
8626
8847
|
* 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.
|
|
8627
8848
|
* @see GuiLocationArray
|
|
8628
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8849
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiLocation.html Online documentation}
|
|
8629
8850
|
*/
|
|
8630
8851
|
export interface GuiLocation {
|
|
8631
8852
|
readonly x: int32
|
|
@@ -8634,7 +8855,7 @@ declare module "factorio:runtime" {
|
|
|
8634
8855
|
/**
|
|
8635
8856
|
* Array form of {@link GuiLocation}.
|
|
8636
8857
|
* @see GuiLocation
|
|
8637
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8858
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiLocation.html Online documentation}
|
|
8638
8859
|
*/
|
|
8639
8860
|
export type GuiLocationArray = readonly [int32, int32]
|
|
8640
8861
|
export interface TabAndContent {
|
|
@@ -8663,7 +8884,7 @@ declare module "factorio:runtime" {
|
|
|
8663
8884
|
}
|
|
8664
8885
|
/**
|
|
8665
8886
|
* Either `icon`, `text`, or both must be provided.
|
|
8666
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8887
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChartTagSpec.html Online documentation}
|
|
8667
8888
|
*/
|
|
8668
8889
|
export interface ChartTagSpec {
|
|
8669
8890
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8806,7 +9027,7 @@ declare module "factorio:runtime" {
|
|
|
8806
9027
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
8807
9028
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
8808
9029
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
8809
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9030
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainPathRequestType.html Online documentation}
|
|
8810
9031
|
*/
|
|
8811
9032
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
8812
9033
|
/**
|
|
@@ -8815,7 +9036,7 @@ declare module "factorio:runtime" {
|
|
|
8815
9036
|
* - {@link RailEndGoal}
|
|
8816
9037
|
* - {@link LuaRailEnd}
|
|
8817
9038
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
|
8818
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9039
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainPathFinderGoal.html Online documentation}
|
|
8819
9040
|
*/
|
|
8820
9041
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
8821
9042
|
export interface TrainStopGoal {
|
|
@@ -8948,7 +9169,7 @@ declare module "factorio:runtime" {
|
|
|
8948
9169
|
}
|
|
8949
9170
|
/**
|
|
8950
9171
|
* @see QuickBarSlotWrite
|
|
8951
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9172
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/QuickBarSlot.html Online documentation}
|
|
8952
9173
|
*/
|
|
8953
9174
|
export interface QuickBarSlot {
|
|
8954
9175
|
/**
|
|
@@ -8974,7 +9195,7 @@ declare module "factorio:runtime" {
|
|
|
8974
9195
|
}
|
|
8975
9196
|
/**
|
|
8976
9197
|
* Write form of {@link QuickBarSlot}, where some properties allow additional values as input compared to the read form.
|
|
8977
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9198
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/QuickBarSlot.html Online documentation}
|
|
8978
9199
|
*/
|
|
8979
9200
|
export interface QuickBarSlotWrite {
|
|
8980
9201
|
/**
|
|
@@ -9027,7 +9248,7 @@ declare module "factorio:runtime" {
|
|
|
9027
9248
|
}
|
|
9028
9249
|
/**
|
|
9029
9250
|
* Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}.
|
|
9030
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9251
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidStorageIndex.html Online documentation}
|
|
9031
9252
|
*/
|
|
9032
9253
|
export type FluidStorageIndex = uint32
|
|
9033
9254
|
export interface FluidBoxNeighbourRecord {
|
|
@@ -9036,7 +9257,7 @@ declare module "factorio:runtime" {
|
|
|
9036
9257
|
}
|
|
9037
9258
|
/**
|
|
9038
9259
|
* A single pipe connection for a given fluidbox.
|
|
9039
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9260
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PipeConnection.html Online documentation}
|
|
9040
9261
|
*/
|
|
9041
9262
|
export interface PipeConnection {
|
|
9042
9263
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -9085,7 +9306,7 @@ declare module "factorio:runtime" {
|
|
|
9085
9306
|
}
|
|
9086
9307
|
/**
|
|
9087
9308
|
* @see LabStoredDurabilityWrite
|
|
9088
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9309
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabStoredDurability.html Online documentation}
|
|
9089
9310
|
*/
|
|
9090
9311
|
export interface LabStoredDurability {
|
|
9091
9312
|
/**
|
|
@@ -9099,7 +9320,7 @@ declare module "factorio:runtime" {
|
|
|
9099
9320
|
}
|
|
9100
9321
|
/**
|
|
9101
9322
|
* Write form of {@link LabStoredDurability}, where some properties allow additional values as input compared to the read form.
|
|
9102
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9323
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabStoredDurability.html Online documentation}
|
|
9103
9324
|
*/
|
|
9104
9325
|
export interface LabStoredDurabilityWrite {
|
|
9105
9326
|
/**
|
|
@@ -9161,7 +9382,7 @@ declare module "factorio:runtime" {
|
|
|
9161
9382
|
* - `"surface"`
|
|
9162
9383
|
* - `"mod-data"`
|
|
9163
9384
|
* - `"custom-event"`
|
|
9164
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9385
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/IDType.html Online documentation}
|
|
9165
9386
|
*/
|
|
9166
9387
|
export type IDType =
|
|
9167
9388
|
| "custom-input"
|
|
@@ -9214,7 +9435,7 @@ declare module "factorio:runtime" {
|
|
|
9214
9435
|
}
|
|
9215
9436
|
/**
|
|
9216
9437
|
* An item prototype with optional quality specification.
|
|
9217
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9438
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation}
|
|
9218
9439
|
*/
|
|
9219
9440
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9220
9441
|
/**
|
|
@@ -9242,7 +9463,7 @@ declare module "factorio:runtime" {
|
|
|
9242
9463
|
}
|
|
9243
9464
|
/**
|
|
9244
9465
|
* @see EntityIDFilterWrite
|
|
9245
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9466
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityIDFilter.html Online documentation}
|
|
9246
9467
|
*/
|
|
9247
9468
|
export interface EntityIDFilter {
|
|
9248
9469
|
/**
|
|
@@ -9260,7 +9481,7 @@ declare module "factorio:runtime" {
|
|
|
9260
9481
|
}
|
|
9261
9482
|
/**
|
|
9262
9483
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
|
9263
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9484
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityIDFilter.html Online documentation}
|
|
9264
9485
|
*/
|
|
9265
9486
|
export interface EntityIDFilterWrite {
|
|
9266
9487
|
/**
|
|
@@ -9280,7 +9501,7 @@ declare module "factorio:runtime" {
|
|
|
9280
9501
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9281
9502
|
*
|
|
9282
9503
|
* By default, none of these flags are set.
|
|
9283
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9504
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFlags.html Online documentation}
|
|
9284
9505
|
*/
|
|
9285
9506
|
export type EntityPrototypeFlags = {
|
|
9286
9507
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9318,7 +9539,7 @@ declare module "factorio:runtime" {
|
|
|
9318
9539
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia.
|
|
9319
9540
|
* - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI.
|
|
9320
9541
|
* - `"not-in-mined-by"`: Prevents the entity from being shown in the mined-by tooltip of resources.
|
|
9321
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9542
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFlag.html Online documentation}
|
|
9322
9543
|
*/
|
|
9323
9544
|
export type EntityPrototypeFlag =
|
|
9324
9545
|
| "not-rotatable"
|
|
@@ -9352,7 +9573,7 @@ declare module "factorio:runtime" {
|
|
|
9352
9573
|
| "not-in-mined-by"
|
|
9353
9574
|
/**
|
|
9354
9575
|
* A single filter used by an infinity-pipe type entity.
|
|
9355
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9576
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/InfinityPipeFilter.html Online documentation}
|
|
9356
9577
|
*/
|
|
9357
9578
|
export interface InfinityPipeFilter {
|
|
9358
9579
|
/**
|
|
@@ -9382,7 +9603,7 @@ declare module "factorio:runtime" {
|
|
|
9382
9603
|
}
|
|
9383
9604
|
/**
|
|
9384
9605
|
* @see ProgrammableSpeakerParametersWrite
|
|
9385
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9606
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9386
9607
|
*/
|
|
9387
9608
|
export interface ProgrammableSpeakerParameters {
|
|
9388
9609
|
readonly playback_volume: float
|
|
@@ -9393,7 +9614,7 @@ declare module "factorio:runtime" {
|
|
|
9393
9614
|
}
|
|
9394
9615
|
/**
|
|
9395
9616
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
|
9396
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9617
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9397
9618
|
*/
|
|
9398
9619
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9399
9620
|
readonly playback_volume: float
|
|
@@ -9409,12 +9630,12 @@ declare module "factorio:runtime" {
|
|
|
9409
9630
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9410
9631
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9411
9632
|
* - `"global"`: The sound can be heard everywhere.
|
|
9412
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9633
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
|
9413
9634
|
*/
|
|
9414
9635
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9415
9636
|
/**
|
|
9416
9637
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9417
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9638
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9418
9639
|
*/
|
|
9419
9640
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9420
9641
|
readonly show_alert: boolean
|
|
@@ -9424,7 +9645,7 @@ declare module "factorio:runtime" {
|
|
|
9424
9645
|
}
|
|
9425
9646
|
/**
|
|
9426
9647
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
|
9427
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9648
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9428
9649
|
*/
|
|
9429
9650
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9430
9651
|
readonly show_alert: boolean
|
|
@@ -9452,12 +9673,12 @@ declare module "factorio:runtime" {
|
|
|
9452
9673
|
* - `"exactly"`
|
|
9453
9674
|
* - `"add"`
|
|
9454
9675
|
* - `"remove"`
|
|
9455
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9676
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatSettingMode.html Online documentation}
|
|
9456
9677
|
*/
|
|
9457
9678
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9458
9679
|
/**
|
|
9459
9680
|
* The settings used by a heat-interface type entity.
|
|
9460
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9681
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatSetting.html Online documentation}
|
|
9461
9682
|
*/
|
|
9462
9683
|
export interface HeatSetting {
|
|
9463
9684
|
/**
|
|
@@ -9491,7 +9712,7 @@ declare module "factorio:runtime" {
|
|
|
9491
9712
|
* - `"none-to-south"`
|
|
9492
9713
|
* - `"south-to-none"`
|
|
9493
9714
|
* - `"none-to-north"`
|
|
9494
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9715
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CliffOrientation.html Online documentation}
|
|
9495
9716
|
*/
|
|
9496
9717
|
export type CliffOrientation =
|
|
9497
9718
|
| "west-to-east"
|
|
@@ -9521,14 +9742,14 @@ declare module "factorio:runtime" {
|
|
|
9521
9742
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9522
9743
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9523
9744
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9524
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9745
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ValveMode.html Online documentation}
|
|
9525
9746
|
*/
|
|
9526
9747
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9527
9748
|
/**
|
|
9528
9749
|
* ## Union members
|
|
9529
9750
|
* - `"fresh-first"`
|
|
9530
9751
|
* - `"spoiled-first"`
|
|
9531
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9752
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSpoilPriority.html Online documentation}
|
|
9532
9753
|
*/
|
|
9533
9754
|
export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first"
|
|
9534
9755
|
/**
|
|
@@ -9536,7 +9757,7 @@ declare module "factorio:runtime" {
|
|
|
9536
9757
|
* - `"fresh-first"`
|
|
9537
9758
|
* - `"none"`
|
|
9538
9759
|
* - `"spoiled-first"`
|
|
9539
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9760
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpoilPriority.html Online documentation}
|
|
9540
9761
|
*/
|
|
9541
9762
|
export type SpoilPriority = "fresh-first" | "none" | "spoiled-first"
|
|
9542
9763
|
export interface SpiderLegSpecification {
|
|
@@ -9556,7 +9777,7 @@ declare module "factorio:runtime" {
|
|
|
9556
9777
|
}
|
|
9557
9778
|
/**
|
|
9558
9779
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
9559
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9780
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9560
9781
|
*/
|
|
9561
9782
|
export interface BlueprintInfinityInventorySettings {
|
|
9562
9783
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -9567,7 +9788,7 @@ declare module "factorio:runtime" {
|
|
|
9567
9788
|
}
|
|
9568
9789
|
/**
|
|
9569
9790
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
|
9570
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9791
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9571
9792
|
*/
|
|
9572
9793
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
9573
9794
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -9611,7 +9832,7 @@ declare module "factorio:runtime" {
|
|
|
9611
9832
|
}
|
|
9612
9833
|
/**
|
|
9613
9834
|
* Defines an item type that a blueprint entity will request.
|
|
9614
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9835
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInsertPlan.html Online documentation}
|
|
9615
9836
|
*/
|
|
9616
9837
|
export interface BlueprintInsertPlan {
|
|
9617
9838
|
/**
|
|
@@ -9649,7 +9870,7 @@ declare module "factorio:runtime" {
|
|
|
9649
9870
|
}
|
|
9650
9871
|
/**
|
|
9651
9872
|
* A single offer on a market entity.
|
|
9652
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9873
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Offer.html Online documentation}
|
|
9653
9874
|
*/
|
|
9654
9875
|
export interface Offer {
|
|
9655
9876
|
/**
|
|
@@ -9695,7 +9916,7 @@ declare module "factorio:runtime" {
|
|
|
9695
9916
|
/**
|
|
9696
9917
|
* A single filter used by an infinity-filters instance.
|
|
9697
9918
|
* @see InfinityInventoryFilterWrite
|
|
9698
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9919
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9699
9920
|
*/
|
|
9700
9921
|
export interface InfinityInventoryFilter {
|
|
9701
9922
|
/**
|
|
@@ -9721,7 +9942,7 @@ declare module "factorio:runtime" {
|
|
|
9721
9942
|
}
|
|
9722
9943
|
/**
|
|
9723
9944
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
|
9724
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9945
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9725
9946
|
*/
|
|
9726
9947
|
export interface InfinityInventoryFilterWrite {
|
|
9727
9948
|
/**
|
|
@@ -9764,7 +9985,7 @@ declare module "factorio:runtime" {
|
|
|
9764
9985
|
}
|
|
9765
9986
|
/**
|
|
9766
9987
|
* Used to specify what type of damage and how much damage something deals.
|
|
9767
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9988
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DamageParameters.html Online documentation}
|
|
9768
9989
|
*/
|
|
9769
9990
|
export interface DamageParameters {
|
|
9770
9991
|
readonly amount: float
|
|
@@ -9794,14 +10015,14 @@ declare module "factorio:runtime" {
|
|
|
9794
10015
|
*
|
|
9795
10016
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
9796
10017
|
*
|
|
9797
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10018
|
+
* {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
|
9798
10019
|
*
|
|
9799
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10020
|
+
* {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
|
9800
10021
|
*
|
|
9801
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10022
|
+
* {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
|
9802
10023
|
*
|
|
9803
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
9804
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10024
|
+
* {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
|
10025
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html Online documentation}
|
|
9805
10026
|
*/
|
|
9806
10027
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
9807
10028
|
/**
|
|
@@ -9819,7 +10040,7 @@ declare module "factorio:runtime" {
|
|
|
9819
10040
|
* - `"weapon"`
|
|
9820
10041
|
* - `"explosion"`
|
|
9821
10042
|
* - `"enemy"`
|
|
9822
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10043
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SoundType.html Online documentation}
|
|
9823
10044
|
*/
|
|
9824
10045
|
export type SoundType =
|
|
9825
10046
|
| "game-effect"
|
|
@@ -9869,12 +10090,12 @@ declare module "factorio:runtime" {
|
|
|
9869
10090
|
* - `"requester"`
|
|
9870
10091
|
* - `"storage"`
|
|
9871
10092
|
* - `"buffer"`
|
|
9872
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10093
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticMode.html Online documentation}
|
|
9873
10094
|
*/
|
|
9874
10095
|
export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer"
|
|
9875
10096
|
/**
|
|
9876
10097
|
* @see BlueprintLogisticFilterWrite
|
|
9877
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10098
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
9878
10099
|
*/
|
|
9879
10100
|
export interface BlueprintLogisticFilter {
|
|
9880
10101
|
readonly index: LogisticFilterIndex
|
|
@@ -9908,7 +10129,7 @@ declare module "factorio:runtime" {
|
|
|
9908
10129
|
}
|
|
9909
10130
|
/**
|
|
9910
10131
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
9911
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10132
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
9912
10133
|
*/
|
|
9913
10134
|
export interface BlueprintLogisticFilterWrite {
|
|
9914
10135
|
readonly index: LogisticFilterIndex
|
|
@@ -9942,7 +10163,7 @@ declare module "factorio:runtime" {
|
|
|
9942
10163
|
}
|
|
9943
10164
|
/**
|
|
9944
10165
|
* @see BlueprintLogisticSectionsWrite
|
|
9945
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10166
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticSections.html Online documentation}
|
|
9946
10167
|
*/
|
|
9947
10168
|
export interface BlueprintLogisticSections {
|
|
9948
10169
|
readonly sections?: LogisticSection[]
|
|
@@ -9957,7 +10178,7 @@ declare module "factorio:runtime" {
|
|
|
9957
10178
|
}
|
|
9958
10179
|
/**
|
|
9959
10180
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
9960
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10181
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticSections.html Online documentation}
|
|
9961
10182
|
*/
|
|
9962
10183
|
export interface BlueprintLogisticSectionsWrite {
|
|
9963
10184
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -9972,7 +10193,7 @@ declare module "factorio:runtime" {
|
|
|
9972
10193
|
}
|
|
9973
10194
|
/**
|
|
9974
10195
|
* @see LogisticSectionWrite
|
|
9975
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10196
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSection.html Online documentation}
|
|
9976
10197
|
*/
|
|
9977
10198
|
export interface LogisticSection {
|
|
9978
10199
|
readonly index: uint8
|
|
@@ -9989,7 +10210,7 @@ declare module "factorio:runtime" {
|
|
|
9989
10210
|
}
|
|
9990
10211
|
/**
|
|
9991
10212
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
9992
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10213
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSection.html Online documentation}
|
|
9993
10214
|
*/
|
|
9994
10215
|
export interface LogisticSectionWrite {
|
|
9995
10216
|
readonly index: uint8
|
|
@@ -10006,7 +10227,7 @@ declare module "factorio:runtime" {
|
|
|
10006
10227
|
}
|
|
10007
10228
|
/**
|
|
10008
10229
|
* @see LogisticSectionsWrite
|
|
10009
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10230
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSections.html Online documentation}
|
|
10010
10231
|
*/
|
|
10011
10232
|
export interface LogisticSections {
|
|
10012
10233
|
readonly sections?: LogisticSection[]
|
|
@@ -10017,7 +10238,7 @@ declare module "factorio:runtime" {
|
|
|
10017
10238
|
}
|
|
10018
10239
|
/**
|
|
10019
10240
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10020
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10241
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSections.html Online documentation}
|
|
10021
10242
|
*/
|
|
10022
10243
|
export interface LogisticSectionsWrite {
|
|
10023
10244
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10040,7 +10261,7 @@ declare module "factorio:runtime" {
|
|
|
10040
10261
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10041
10262
|
* - {@link LuaVirtualSignalPrototype}
|
|
10042
10263
|
* - {@link LuaSurfacePrototype}
|
|
10043
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10264
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FactoriopediaID.html Online documentation}
|
|
10044
10265
|
*/
|
|
10045
10266
|
export type FactoriopediaID =
|
|
10046
10267
|
| LuaItemPrototype
|
|
@@ -10061,7 +10282,7 @@ declare module "factorio:runtime" {
|
|
|
10061
10282
|
* ## Union members
|
|
10062
10283
|
* - `"horizontal"`
|
|
10063
10284
|
* - `"vertical"`
|
|
10064
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10285
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiDirection.html Online documentation}
|
|
10065
10286
|
*/
|
|
10066
10287
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10067
10288
|
export interface AttackParameterFluid {
|
|
@@ -10148,7 +10369,7 @@ declare module "factorio:runtime" {
|
|
|
10148
10369
|
* - `"cluster"`: {@link ClusterTriggerItem}
|
|
10149
10370
|
* - `"direct"`: {@link DirectTriggerItem}
|
|
10150
10371
|
* - `"line"`: {@link LineTriggerItem}
|
|
10151
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10372
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerItem.html Online documentation}
|
|
10152
10373
|
*/
|
|
10153
10374
|
export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem
|
|
10154
10375
|
export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[]
|
|
@@ -10163,12 +10384,12 @@ declare module "factorio:runtime" {
|
|
|
10163
10384
|
* ## Union members
|
|
10164
10385
|
* - `"primary"`
|
|
10165
10386
|
* - `"secondary"`
|
|
10166
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10387
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ApplyTileTint.html Online documentation}
|
|
10167
10388
|
*/
|
|
10168
10389
|
export type ApplyTileTint = "primary" | "secondary"
|
|
10169
10390
|
/**
|
|
10170
10391
|
* A set of trigger target masks.
|
|
10171
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10392
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerTargetMask.html Online documentation}
|
|
10172
10393
|
*/
|
|
10173
10394
|
export type TriggerTargetMask = Record<string, true>
|
|
10174
10395
|
export interface AttackReactionItem {
|
|
@@ -10261,7 +10482,7 @@ declare module "factorio:runtime" {
|
|
|
10261
10482
|
* - `"delayed"`: {@link DelayedTriggerDelivery}
|
|
10262
10483
|
* - `"projectile"`: {@link ProjectileTriggerDelivery}
|
|
10263
10484
|
* - `"stream"`: {@link StreamTriggerDelivery}
|
|
10264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10485
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerDelivery.html Online documentation}
|
|
10265
10486
|
*/
|
|
10266
10487
|
export type TriggerDelivery =
|
|
10267
10488
|
| ArtilleryTriggerDelivery
|
|
@@ -10328,7 +10549,7 @@ declare module "factorio:runtime" {
|
|
|
10328
10549
|
* - `"camera-effect"`
|
|
10329
10550
|
* - `"activate-impact"`
|
|
10330
10551
|
* - `"create-pollution"`
|
|
10331
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10552
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerEffectItemType.html Online documentation}
|
|
10332
10553
|
*/
|
|
10333
10554
|
export type TriggerEffectItemType =
|
|
10334
10555
|
| "damage"
|
|
@@ -10702,7 +10923,7 @@ declare module "factorio:runtime" {
|
|
|
10702
10923
|
* - `"script"`: {@link ScriptTriggerEffectItem}
|
|
10703
10924
|
* - `"set-tile"`: {@link SetTileTriggerEffectItem}
|
|
10704
10925
|
* - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem}
|
|
10705
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10926
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerEffectItem.html Online documentation}
|
|
10706
10927
|
*/
|
|
10707
10928
|
export type TriggerEffectItem =
|
|
10708
10929
|
| ActivateImpactTriggerEffectItem
|
|
@@ -10831,7 +11052,7 @@ declare module "factorio:runtime" {
|
|
|
10831
11052
|
* Other attributes may be specified depending on `type`:
|
|
10832
11053
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
10833
11054
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
10834
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11055
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AttackParameters.html Online documentation}
|
|
10835
11056
|
*/
|
|
10836
11057
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
10837
11058
|
/**
|
|
@@ -10839,7 +11060,7 @@ declare module "factorio:runtime" {
|
|
|
10839
11060
|
* - `"left"`
|
|
10840
11061
|
* - `"none"`
|
|
10841
11062
|
* - `"right"`
|
|
10842
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11063
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SplitterPriority.html Online documentation}
|
|
10843
11064
|
*/
|
|
10844
11065
|
export type SplitterPriority = "left" | "none" | "right"
|
|
10845
11066
|
/**
|
|
@@ -10858,7 +11079,7 @@ declare module "factorio:runtime" {
|
|
|
10858
11079
|
* - `"middle-right"`
|
|
10859
11080
|
* - `"right"`: The same as `"middle-right"`
|
|
10860
11081
|
* - `"bottom-right"`
|
|
10861
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11082
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Alignment.html Online documentation}
|
|
10862
11083
|
*/
|
|
10863
11084
|
export type Alignment =
|
|
10864
11085
|
| "top-left"
|
|
@@ -10893,7 +11114,7 @@ declare module "factorio:runtime" {
|
|
|
10893
11114
|
* - {@link FluidPrototypeFilter}
|
|
10894
11115
|
* - {@link EntityPrototypeFilter}
|
|
10895
11116
|
* @see PrototypeFilterWrite
|
|
10896
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11117
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PrototypeFilter.html Online documentation}
|
|
10897
11118
|
*/
|
|
10898
11119
|
export type PrototypeFilter =
|
|
10899
11120
|
| ModSettingPrototypeFilter[]
|
|
@@ -10911,7 +11132,7 @@ declare module "factorio:runtime" {
|
|
|
10911
11132
|
| EntityPrototypeFilter[]
|
|
10912
11133
|
/**
|
|
10913
11134
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
10914
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11135
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PrototypeFilter.html Online documentation}
|
|
10915
11136
|
*/
|
|
10916
11137
|
export type PrototypeFilterWrite =
|
|
10917
11138
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -10964,7 +11185,7 @@ declare module "factorio:runtime" {
|
|
|
10964
11185
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
10965
11186
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
10966
11187
|
* @see EventFilterWrite
|
|
10967
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11188
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EventFilter.html Online documentation}
|
|
10968
11189
|
*/
|
|
10969
11190
|
export type EventFilter =
|
|
10970
11191
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -10999,7 +11220,7 @@ declare module "factorio:runtime" {
|
|
|
10999
11220
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
11000
11221
|
/**
|
|
11001
11222
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
|
11002
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11223
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EventFilter.html Online documentation}
|
|
11003
11224
|
*/
|
|
11004
11225
|
export type EventFilterWrite =
|
|
11005
11226
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11034,7 +11255,7 @@ declare module "factorio:runtime" {
|
|
|
11034
11255
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
11035
11256
|
/**
|
|
11036
11257
|
* @see CircuitConditionDefinitionWrite
|
|
11037
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11258
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11038
11259
|
*/
|
|
11039
11260
|
export interface CircuitConditionDefinition {
|
|
11040
11261
|
/**
|
|
@@ -11060,7 +11281,7 @@ declare module "factorio:runtime" {
|
|
|
11060
11281
|
}
|
|
11061
11282
|
/**
|
|
11062
11283
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
|
11063
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11284
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11064
11285
|
*/
|
|
11065
11286
|
export interface CircuitConditionDefinitionWrite {
|
|
11066
11287
|
/**
|
|
@@ -11088,7 +11309,7 @@ declare module "factorio:runtime" {
|
|
|
11088
11309
|
* Constants used by the game that are not specific to certain prototypes. See {@linkplain https://github.com/wube/factorio-data/blob/master/core/prototypes/utility-constants.lua utility-constants.lua} for the values used by the base game.
|
|
11089
11310
|
*
|
|
11090
11311
|
* Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table.
|
|
11091
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11312
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/UtilityConstants.html Online documentation}
|
|
11092
11313
|
*/
|
|
11093
11314
|
export interface UtilityConstants {
|
|
11094
11315
|
/**
|
|
@@ -11101,10 +11322,7 @@ declare module "factorio:runtime" {
|
|
|
11101
11322
|
readonly bonus_gui_ordering: BonusUtilityConstants
|
|
11102
11323
|
readonly map_editor: EditorUtilityConstants
|
|
11103
11324
|
readonly entity_button_background_color: Color
|
|
11104
|
-
readonly
|
|
11105
|
-
readonly building_buildable_tint: Color
|
|
11106
|
-
readonly building_not_buildable_tint: Color
|
|
11107
|
-
readonly building_ignorable_tint: Color
|
|
11325
|
+
readonly build_preview_tints: BuildPreviewTints
|
|
11108
11326
|
readonly building_no_tint: Color
|
|
11109
11327
|
/**
|
|
11110
11328
|
* Tall entities will be tinted with this value when "Hide tall entities" mode is active.
|
|
@@ -11144,8 +11362,6 @@ declare module "factorio:runtime" {
|
|
|
11144
11362
|
readonly logistic_gui_selected_network_highlight_tint: Color
|
|
11145
11363
|
readonly chart_search_highlight: Color
|
|
11146
11364
|
readonly selected_chart_search_highlight: Color
|
|
11147
|
-
readonly zoom_to_world_can_use_nightvision: boolean
|
|
11148
|
-
readonly zoom_to_world_effect_strength: float
|
|
11149
11365
|
readonly max_logistic_filter_count: LogisticFilterIndex
|
|
11150
11366
|
/**
|
|
11151
11367
|
* Will be clamped to the range [1, 100].
|
|
@@ -11211,7 +11427,6 @@ declare module "factorio:runtime" {
|
|
|
11211
11427
|
*/
|
|
11212
11428
|
readonly merge_bonus_gui_production_bonuses?: boolean
|
|
11213
11429
|
readonly daytime_color_lookup: DaytimeColorLookupTable
|
|
11214
|
-
readonly zoom_to_world_daytime_color_lookup: DaytimeColorLookupTable
|
|
11215
11430
|
readonly frozen_color_lookup: ColorLookupTable
|
|
11216
11431
|
readonly default_platform_surface_render_parameters: SurfaceRenderParameters
|
|
11217
11432
|
readonly drop_item_radius: double
|
|
@@ -11282,6 +11497,13 @@ declare module "factorio:runtime" {
|
|
|
11282
11497
|
readonly low_energy_robot_estimate_multiplier: double
|
|
11283
11498
|
readonly asteroid_spawning_offset: SimpleBoundingBox
|
|
11284
11499
|
readonly asteroid_fading_range: float
|
|
11500
|
+
/**
|
|
11501
|
+
* Asteroid damage will be multiplied by this value when space platform speed is zero and will linearly increase until asteroid_spawning_with_random_orientation_max_speed is reached.
|
|
11502
|
+
*/
|
|
11503
|
+
readonly asteroid_min_damage_modifier: float
|
|
11504
|
+
/**
|
|
11505
|
+
* In km per tick.
|
|
11506
|
+
*/
|
|
11285
11507
|
readonly asteroid_spawning_with_random_orientation_max_speed: double
|
|
11286
11508
|
readonly asteroid_position_offset_to_speed_coefficient: double
|
|
11287
11509
|
readonly asteroid_collector_navmesh_refresh_tick_interval: uint32
|
|
@@ -11557,7 +11779,7 @@ declare module "factorio:runtime" {
|
|
|
11557
11779
|
* - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network}
|
|
11558
11780
|
* - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id}
|
|
11559
11781
|
* - {@link LuaForce}: Target type {@link defines.target_type.force force}; `useful_id` {@link LuaForce#index LuaForce::index}
|
|
11560
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11782
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RegistrationTarget.html Online documentation}
|
|
11561
11783
|
*/
|
|
11562
11784
|
export type RegistrationTarget =
|
|
11563
11785
|
| LuaEntity
|
|
@@ -11609,7 +11831,10 @@ declare module "factorio:runtime" {
|
|
|
11609
11831
|
*/
|
|
11610
11832
|
export interface MineEntityResearchTrigger extends BaseResearchTrigger {
|
|
11611
11833
|
readonly type: "mine-entity"
|
|
11612
|
-
|
|
11834
|
+
/**
|
|
11835
|
+
* The trigger is considered fulfilled if at least one of these entities is mined.
|
|
11836
|
+
*/
|
|
11837
|
+
readonly entities: string[]
|
|
11613
11838
|
}
|
|
11614
11839
|
/**
|
|
11615
11840
|
* `"craft-fluid"` variant of {@link ResearchTrigger}.
|
|
@@ -11662,7 +11887,7 @@ declare module "factorio:runtime" {
|
|
|
11662
11887
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
11663
11888
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
11664
11889
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
11665
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11890
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ResearchTrigger.html Online documentation}
|
|
11666
11891
|
*/
|
|
11667
11892
|
export type ResearchTrigger =
|
|
11668
11893
|
| CraftItemResearchTrigger
|
|
@@ -11675,33 +11900,58 @@ declare module "factorio:runtime" {
|
|
|
11675
11900
|
| OtherResearchTrigger
|
|
11676
11901
|
/**
|
|
11677
11902
|
* The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}.
|
|
11678
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11903
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProcessionID.html Online documentation}
|
|
11679
11904
|
*/
|
|
11680
11905
|
export type ProcessionID = string
|
|
11681
11906
|
/**
|
|
11682
11907
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
11683
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11908
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11684
11909
|
*/
|
|
11685
11910
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
11686
11911
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
11687
11912
|
}
|
|
11688
11913
|
/**
|
|
11689
11914
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11690
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11915
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11691
11916
|
*/
|
|
11692
11917
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
11693
11918
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
11694
11919
|
}
|
|
11920
|
+
/**
|
|
11921
|
+
* @see RocketSiloBlueprintControlBehaviorWrite
|
|
11922
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11923
|
+
*/
|
|
11695
11924
|
export interface RocketSiloBlueprintControlBehavior {
|
|
11696
11925
|
readonly output_networks?: CircuitNetworkSelection
|
|
11697
11926
|
/**
|
|
11698
11927
|
* Defaults to `logistic_inventory`.
|
|
11699
11928
|
*/
|
|
11700
11929
|
readonly read_items_mode?: defines.control_behavior.rocket_silo.read_mode
|
|
11930
|
+
/**
|
|
11931
|
+
* Defaults to `false`.
|
|
11932
|
+
*/
|
|
11933
|
+
readonly read_launched?: boolean
|
|
11934
|
+
readonly launched_signal?: SignalID
|
|
11935
|
+
}
|
|
11936
|
+
/**
|
|
11937
|
+
* Write form of {@link RocketSiloBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11938
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11939
|
+
*/
|
|
11940
|
+
export interface RocketSiloBlueprintControlBehaviorWrite {
|
|
11941
|
+
readonly output_networks?: CircuitNetworkSelection
|
|
11942
|
+
/**
|
|
11943
|
+
* Defaults to `logistic_inventory`.
|
|
11944
|
+
*/
|
|
11945
|
+
readonly read_items_mode?: defines.control_behavior.rocket_silo.read_mode
|
|
11946
|
+
/**
|
|
11947
|
+
* Defaults to `false`.
|
|
11948
|
+
*/
|
|
11949
|
+
readonly read_launched?: boolean
|
|
11950
|
+
readonly launched_signal?: SignalIDWrite
|
|
11701
11951
|
}
|
|
11702
11952
|
/**
|
|
11703
11953
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
11704
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11954
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11705
11955
|
*/
|
|
11706
11956
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
11707
11957
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11710,6 +11960,11 @@ declare module "factorio:runtime" {
|
|
|
11710
11960
|
* Defaults to `true`.
|
|
11711
11961
|
*/
|
|
11712
11962
|
readonly read_contents?: boolean
|
|
11963
|
+
/**
|
|
11964
|
+
* Defaults to `false`.
|
|
11965
|
+
*/
|
|
11966
|
+
readonly read_empty_slots?: boolean
|
|
11967
|
+
readonly empty_slots_signal?: SignalID
|
|
11713
11968
|
/**
|
|
11714
11969
|
* Defaults to `false`.
|
|
11715
11970
|
*/
|
|
@@ -11739,7 +11994,7 @@ declare module "factorio:runtime" {
|
|
|
11739
11994
|
}
|
|
11740
11995
|
/**
|
|
11741
11996
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11742
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11997
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11743
11998
|
*/
|
|
11744
11999
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
11745
12000
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11748,6 +12003,11 @@ declare module "factorio:runtime" {
|
|
|
11748
12003
|
* Defaults to `true`.
|
|
11749
12004
|
*/
|
|
11750
12005
|
readonly read_contents?: boolean
|
|
12006
|
+
/**
|
|
12007
|
+
* Defaults to `false`.
|
|
12008
|
+
*/
|
|
12009
|
+
readonly read_empty_slots?: boolean
|
|
12010
|
+
readonly empty_slots_signal?: SignalIDWrite
|
|
11751
12011
|
/**
|
|
11752
12012
|
* Defaults to `false`.
|
|
11753
12013
|
*/
|
|
@@ -11777,7 +12037,7 @@ declare module "factorio:runtime" {
|
|
|
11777
12037
|
}
|
|
11778
12038
|
/**
|
|
11779
12039
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
11780
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12040
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
11781
12041
|
*/
|
|
11782
12042
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
11783
12043
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11792,7 +12052,7 @@ declare module "factorio:runtime" {
|
|
|
11792
12052
|
}
|
|
11793
12053
|
/**
|
|
11794
12054
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11795
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12055
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
11796
12056
|
*/
|
|
11797
12057
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
11798
12058
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11807,7 +12067,7 @@ declare module "factorio:runtime" {
|
|
|
11807
12067
|
}
|
|
11808
12068
|
/**
|
|
11809
12069
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
11810
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12070
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
11811
12071
|
*/
|
|
11812
12072
|
export interface FurnaceBlueprintControlBehavior {
|
|
11813
12073
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11851,7 +12111,7 @@ declare module "factorio:runtime" {
|
|
|
11851
12111
|
}
|
|
11852
12112
|
/**
|
|
11853
12113
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12114
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
11855
12115
|
*/
|
|
11856
12116
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
11857
12117
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11895,18 +12155,22 @@ declare module "factorio:runtime" {
|
|
|
11895
12155
|
}
|
|
11896
12156
|
/**
|
|
11897
12157
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
11898
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12158
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11899
12159
|
*/
|
|
11900
12160
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
11901
12161
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
11902
12162
|
}
|
|
11903
12163
|
/**
|
|
11904
12164
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11905
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12165
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11906
12166
|
*/
|
|
11907
12167
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
11908
12168
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
11909
12169
|
}
|
|
12170
|
+
/**
|
|
12171
|
+
* @see CargoLandingPadBlueprintControlBehaviorWrite
|
|
12172
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12173
|
+
*/
|
|
11910
12174
|
export interface CargoLandingPadBlueprintControlBehavior {
|
|
11911
12175
|
readonly input_networks?: CircuitNetworkSelection
|
|
11912
12176
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11914,6 +12178,32 @@ declare module "factorio:runtime" {
|
|
|
11914
12178
|
* Defaults to `true`.
|
|
11915
12179
|
*/
|
|
11916
12180
|
readonly read_contents?: boolean
|
|
12181
|
+
/**
|
|
12182
|
+
* Defaults to `false`.
|
|
12183
|
+
*/
|
|
12184
|
+
readonly read_empty_slots?: boolean
|
|
12185
|
+
readonly empty_slots_signal?: SignalID
|
|
12186
|
+
/**
|
|
12187
|
+
* Defaults to `false`.
|
|
12188
|
+
*/
|
|
12189
|
+
readonly set_requests?: boolean
|
|
12190
|
+
}
|
|
12191
|
+
/**
|
|
12192
|
+
* Write form of {@link CargoLandingPadBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12193
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12194
|
+
*/
|
|
12195
|
+
export interface CargoLandingPadBlueprintControlBehaviorWrite {
|
|
12196
|
+
readonly input_networks?: CircuitNetworkSelection
|
|
12197
|
+
readonly output_networks?: CircuitNetworkSelection
|
|
12198
|
+
/**
|
|
12199
|
+
* Defaults to `true`.
|
|
12200
|
+
*/
|
|
12201
|
+
readonly read_contents?: boolean
|
|
12202
|
+
/**
|
|
12203
|
+
* Defaults to `false`.
|
|
12204
|
+
*/
|
|
12205
|
+
readonly read_empty_slots?: boolean
|
|
12206
|
+
readonly empty_slots_signal?: SignalIDWrite
|
|
11917
12207
|
/**
|
|
11918
12208
|
* Defaults to `false`.
|
|
11919
12209
|
*/
|
|
@@ -11921,7 +12211,7 @@ declare module "factorio:runtime" {
|
|
|
11921
12211
|
}
|
|
11922
12212
|
/**
|
|
11923
12213
|
* @see LampBlueprintControlBehaviorWrite
|
|
11924
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12214
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
11925
12215
|
*/
|
|
11926
12216
|
export interface LampBlueprintControlBehavior {
|
|
11927
12217
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11950,7 +12240,7 @@ declare module "factorio:runtime" {
|
|
|
11950
12240
|
}
|
|
11951
12241
|
/**
|
|
11952
12242
|
* Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11953
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12243
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
11954
12244
|
*/
|
|
11955
12245
|
export interface LampBlueprintControlBehaviorWrite {
|
|
11956
12246
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11977,16 +12267,41 @@ declare module "factorio:runtime" {
|
|
|
11977
12267
|
readonly connect_to_logistic_network?: boolean
|
|
11978
12268
|
readonly logistic_condition?: CircuitConditionWrite
|
|
11979
12269
|
}
|
|
12270
|
+
/**
|
|
12271
|
+
* @see ProxyContainerBlueprintControlBehaviorWrite
|
|
12272
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12273
|
+
*/
|
|
11980
12274
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
11981
12275
|
readonly output_networks?: CircuitNetworkSelection
|
|
11982
12276
|
/**
|
|
11983
12277
|
* Defaults to `true`.
|
|
11984
12278
|
*/
|
|
11985
12279
|
readonly read_contents?: boolean
|
|
12280
|
+
/**
|
|
12281
|
+
* Defaults to `false`.
|
|
12282
|
+
*/
|
|
12283
|
+
readonly read_empty_slots?: boolean
|
|
12284
|
+
readonly empty_slots_signal?: SignalID
|
|
12285
|
+
}
|
|
12286
|
+
/**
|
|
12287
|
+
* Write form of {@link ProxyContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12288
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12289
|
+
*/
|
|
12290
|
+
export interface ProxyContainerBlueprintControlBehaviorWrite {
|
|
12291
|
+
readonly output_networks?: CircuitNetworkSelection
|
|
12292
|
+
/**
|
|
12293
|
+
* Defaults to `true`.
|
|
12294
|
+
*/
|
|
12295
|
+
readonly read_contents?: boolean
|
|
12296
|
+
/**
|
|
12297
|
+
* Defaults to `false`.
|
|
12298
|
+
*/
|
|
12299
|
+
readonly read_empty_slots?: boolean
|
|
12300
|
+
readonly empty_slots_signal?: SignalIDWrite
|
|
11986
12301
|
}
|
|
11987
12302
|
/**
|
|
11988
12303
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
11989
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12304
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
11990
12305
|
*/
|
|
11991
12306
|
export interface MiningDrillBlueprintControlBehavior {
|
|
11992
12307
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12006,7 +12321,7 @@ declare module "factorio:runtime" {
|
|
|
12006
12321
|
}
|
|
12007
12322
|
/**
|
|
12008
12323
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12009
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12324
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12010
12325
|
*/
|
|
12011
12326
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
12012
12327
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12026,7 +12341,7 @@ declare module "factorio:runtime" {
|
|
|
12026
12341
|
}
|
|
12027
12342
|
/**
|
|
12028
12343
|
* @see LoaderBlueprintControlBehaviorWrite
|
|
12029
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12344
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12030
12345
|
*/
|
|
12031
12346
|
export interface LoaderBlueprintControlBehavior {
|
|
12032
12347
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12052,7 +12367,7 @@ declare module "factorio:runtime" {
|
|
|
12052
12367
|
}
|
|
12053
12368
|
/**
|
|
12054
12369
|
* Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12055
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12370
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12056
12371
|
*/
|
|
12057
12372
|
export interface LoaderBlueprintControlBehaviorWrite {
|
|
12058
12373
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12078,7 +12393,7 @@ declare module "factorio:runtime" {
|
|
|
12078
12393
|
}
|
|
12079
12394
|
/**
|
|
12080
12395
|
* @see WallBlueprintControlBehaviorWrite
|
|
12081
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12396
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12082
12397
|
*/
|
|
12083
12398
|
export interface WallBlueprintControlBehavior {
|
|
12084
12399
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12090,7 +12405,7 @@ declare module "factorio:runtime" {
|
|
|
12090
12405
|
}
|
|
12091
12406
|
/**
|
|
12092
12407
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12093
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12408
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12094
12409
|
*/
|
|
12095
12410
|
export interface WallBlueprintControlBehaviorWrite {
|
|
12096
12411
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12102,7 +12417,7 @@ declare module "factorio:runtime" {
|
|
|
12102
12417
|
}
|
|
12103
12418
|
/**
|
|
12104
12419
|
* @see GenericOnOffBlueprintControlBehaviorWrite
|
|
12105
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12420
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12106
12421
|
*/
|
|
12107
12422
|
export interface GenericOnOffBlueprintControlBehavior {
|
|
12108
12423
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12119,7 +12434,7 @@ declare module "factorio:runtime" {
|
|
|
12119
12434
|
}
|
|
12120
12435
|
/**
|
|
12121
12436
|
* Write form of {@link GenericOnOffBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12122
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12437
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12123
12438
|
*/
|
|
12124
12439
|
export interface GenericOnOffBlueprintControlBehaviorWrite {
|
|
12125
12440
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12136,7 +12451,7 @@ declare module "factorio:runtime" {
|
|
|
12136
12451
|
}
|
|
12137
12452
|
/**
|
|
12138
12453
|
* @see ResearchConditionWrite
|
|
12139
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12454
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ResearchCondition.html Online documentation}
|
|
12140
12455
|
*/
|
|
12141
12456
|
export interface ResearchCondition {
|
|
12142
12457
|
readonly condition?: CircuitCondition
|
|
@@ -12151,7 +12466,7 @@ declare module "factorio:runtime" {
|
|
|
12151
12466
|
}
|
|
12152
12467
|
/**
|
|
12153
12468
|
* Write form of {@link ResearchCondition}, where some properties allow additional values as input compared to the read form.
|
|
12154
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12469
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ResearchCondition.html Online documentation}
|
|
12155
12470
|
*/
|
|
12156
12471
|
export interface ResearchConditionWrite {
|
|
12157
12472
|
readonly condition?: CircuitConditionWrite
|
|
@@ -12166,7 +12481,7 @@ declare module "factorio:runtime" {
|
|
|
12166
12481
|
}
|
|
12167
12482
|
/**
|
|
12168
12483
|
* @see BoilerBlueprintControlBehaviorWrite
|
|
12169
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12484
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12170
12485
|
*/
|
|
12171
12486
|
export interface BoilerBlueprintControlBehavior {
|
|
12172
12487
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12188,7 +12503,7 @@ declare module "factorio:runtime" {
|
|
|
12188
12503
|
}
|
|
12189
12504
|
/**
|
|
12190
12505
|
* Write form of {@link BoilerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12191
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12506
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12192
12507
|
*/
|
|
12193
12508
|
export interface BoilerBlueprintControlBehaviorWrite {
|
|
12194
12509
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12208,16 +12523,41 @@ declare module "factorio:runtime" {
|
|
|
12208
12523
|
readonly connect_to_logistic_network?: boolean
|
|
12209
12524
|
readonly logistic_condition?: CircuitConditionWrite
|
|
12210
12525
|
}
|
|
12526
|
+
/**
|
|
12527
|
+
* @see ContainerBlueprintControlBehaviorWrite
|
|
12528
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12529
|
+
*/
|
|
12211
12530
|
export interface ContainerBlueprintControlBehavior {
|
|
12212
12531
|
readonly output_networks?: CircuitNetworkSelection
|
|
12213
12532
|
/**
|
|
12214
12533
|
* Defaults to `true`.
|
|
12215
12534
|
*/
|
|
12216
12535
|
readonly read_contents?: boolean
|
|
12536
|
+
/**
|
|
12537
|
+
* Defaults to `false`.
|
|
12538
|
+
*/
|
|
12539
|
+
readonly read_empty_slots?: boolean
|
|
12540
|
+
readonly empty_slots_signal?: SignalID
|
|
12541
|
+
}
|
|
12542
|
+
/**
|
|
12543
|
+
* Write form of {@link ContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12544
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12545
|
+
*/
|
|
12546
|
+
export interface ContainerBlueprintControlBehaviorWrite {
|
|
12547
|
+
readonly output_networks?: CircuitNetworkSelection
|
|
12548
|
+
/**
|
|
12549
|
+
* Defaults to `true`.
|
|
12550
|
+
*/
|
|
12551
|
+
readonly read_contents?: boolean
|
|
12552
|
+
/**
|
|
12553
|
+
* Defaults to `false`.
|
|
12554
|
+
*/
|
|
12555
|
+
readonly read_empty_slots?: boolean
|
|
12556
|
+
readonly empty_slots_signal?: SignalIDWrite
|
|
12217
12557
|
}
|
|
12218
12558
|
/**
|
|
12219
12559
|
* @see PumpBlueprintControlBehaviorWrite
|
|
12220
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12560
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12221
12561
|
*/
|
|
12222
12562
|
export interface PumpBlueprintControlBehavior {
|
|
12223
12563
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12238,7 +12578,7 @@ declare module "factorio:runtime" {
|
|
|
12238
12578
|
}
|
|
12239
12579
|
/**
|
|
12240
12580
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12241
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12581
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12242
12582
|
*/
|
|
12243
12583
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
12244
12584
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12259,7 +12599,7 @@ declare module "factorio:runtime" {
|
|
|
12259
12599
|
}
|
|
12260
12600
|
/**
|
|
12261
12601
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
12262
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12602
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12263
12603
|
*/
|
|
12264
12604
|
export interface TrainStopBlueprintControlBehavior {
|
|
12265
12605
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12305,7 +12645,7 @@ declare module "factorio:runtime" {
|
|
|
12305
12645
|
}
|
|
12306
12646
|
/**
|
|
12307
12647
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12308
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12648
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12309
12649
|
*/
|
|
12310
12650
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
12311
12651
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12351,7 +12691,7 @@ declare module "factorio:runtime" {
|
|
|
12351
12691
|
}
|
|
12352
12692
|
/**
|
|
12353
12693
|
* @see LandMineBlueprintControlBehaviorWrite
|
|
12354
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12694
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12355
12695
|
*/
|
|
12356
12696
|
export interface LandMineBlueprintControlBehavior {
|
|
12357
12697
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12368,7 +12708,7 @@ declare module "factorio:runtime" {
|
|
|
12368
12708
|
}
|
|
12369
12709
|
/**
|
|
12370
12710
|
* Write form of {@link LandMineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12371
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12711
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12372
12712
|
*/
|
|
12373
12713
|
export interface LandMineBlueprintControlBehaviorWrite {
|
|
12374
12714
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12385,7 +12725,7 @@ declare module "factorio:runtime" {
|
|
|
12385
12725
|
}
|
|
12386
12726
|
/**
|
|
12387
12727
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
12388
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12728
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12389
12729
|
*/
|
|
12390
12730
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
12391
12731
|
readonly circuit_condition: CircuitCondition
|
|
@@ -12393,7 +12733,7 @@ declare module "factorio:runtime" {
|
|
|
12393
12733
|
}
|
|
12394
12734
|
/**
|
|
12395
12735
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12396
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12736
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12397
12737
|
*/
|
|
12398
12738
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
12399
12739
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -12401,7 +12741,7 @@ declare module "factorio:runtime" {
|
|
|
12401
12741
|
}
|
|
12402
12742
|
/**
|
|
12403
12743
|
* @see HeatPipeBlueprintControlBehaviorWrite
|
|
12404
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12744
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12405
12745
|
*/
|
|
12406
12746
|
export interface HeatPipeBlueprintControlBehavior {
|
|
12407
12747
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12413,7 +12753,7 @@ declare module "factorio:runtime" {
|
|
|
12413
12753
|
}
|
|
12414
12754
|
/**
|
|
12415
12755
|
* Write form of {@link HeatPipeBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12416
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12756
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12417
12757
|
*/
|
|
12418
12758
|
export interface HeatPipeBlueprintControlBehaviorWrite {
|
|
12419
12759
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12425,7 +12765,7 @@ declare module "factorio:runtime" {
|
|
|
12425
12765
|
}
|
|
12426
12766
|
/**
|
|
12427
12767
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
12428
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12768
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12429
12769
|
*/
|
|
12430
12770
|
export interface SplitterBlueprintControlBehavior {
|
|
12431
12771
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12448,7 +12788,7 @@ declare module "factorio:runtime" {
|
|
|
12448
12788
|
}
|
|
12449
12789
|
/**
|
|
12450
12790
|
* Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12451
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12791
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12452
12792
|
*/
|
|
12453
12793
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
12454
12794
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12471,7 +12811,7 @@ declare module "factorio:runtime" {
|
|
|
12471
12811
|
}
|
|
12472
12812
|
/**
|
|
12473
12813
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
12474
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12814
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12475
12815
|
*/
|
|
12476
12816
|
export interface TransportBeltBlueprintControlBehavior {
|
|
12477
12817
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12491,7 +12831,7 @@ declare module "factorio:runtime" {
|
|
|
12491
12831
|
}
|
|
12492
12832
|
/**
|
|
12493
12833
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12494
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12834
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12495
12835
|
*/
|
|
12496
12836
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
12497
12837
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12511,7 +12851,7 @@ declare module "factorio:runtime" {
|
|
|
12511
12851
|
}
|
|
12512
12852
|
/**
|
|
12513
12853
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
12514
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12854
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12515
12855
|
*/
|
|
12516
12856
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
12517
12857
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12520,6 +12860,11 @@ declare module "factorio:runtime" {
|
|
|
12520
12860
|
* Defaults to `true`.
|
|
12521
12861
|
*/
|
|
12522
12862
|
readonly read_contents?: boolean
|
|
12863
|
+
/**
|
|
12864
|
+
* Defaults to `false`.
|
|
12865
|
+
*/
|
|
12866
|
+
readonly read_empty_slots?: boolean
|
|
12867
|
+
readonly empty_slots_signal?: SignalID
|
|
12523
12868
|
/**
|
|
12524
12869
|
* Defaults to `false`.
|
|
12525
12870
|
*/
|
|
@@ -12532,7 +12877,7 @@ declare module "factorio:runtime" {
|
|
|
12532
12877
|
}
|
|
12533
12878
|
/**
|
|
12534
12879
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12535
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12880
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12536
12881
|
*/
|
|
12537
12882
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
12538
12883
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12541,6 +12886,11 @@ declare module "factorio:runtime" {
|
|
|
12541
12886
|
* Defaults to `true`.
|
|
12542
12887
|
*/
|
|
12543
12888
|
readonly read_contents?: boolean
|
|
12889
|
+
/**
|
|
12890
|
+
* Defaults to `false`.
|
|
12891
|
+
*/
|
|
12892
|
+
readonly read_empty_slots?: boolean
|
|
12893
|
+
readonly empty_slots_signal?: SignalIDWrite
|
|
12544
12894
|
/**
|
|
12545
12895
|
* Defaults to `false`.
|
|
12546
12896
|
*/
|
|
@@ -12553,7 +12903,7 @@ declare module "factorio:runtime" {
|
|
|
12553
12903
|
}
|
|
12554
12904
|
/**
|
|
12555
12905
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
12556
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12906
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12557
12907
|
*/
|
|
12558
12908
|
export interface ReactorBlueprintControlBehavior {
|
|
12559
12909
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12565,11 +12915,11 @@ declare module "factorio:runtime" {
|
|
|
12565
12915
|
* Defaults to `false`.
|
|
12566
12916
|
*/
|
|
12567
12917
|
readonly read_temperature?: boolean
|
|
12568
|
-
readonly temperature_signal
|
|
12918
|
+
readonly temperature_signal?: SignalID
|
|
12569
12919
|
}
|
|
12570
12920
|
/**
|
|
12571
12921
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12572
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12922
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12573
12923
|
*/
|
|
12574
12924
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
12575
12925
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12581,11 +12931,11 @@ declare module "factorio:runtime" {
|
|
|
12581
12931
|
* Defaults to `false`.
|
|
12582
12932
|
*/
|
|
12583
12933
|
readonly read_temperature?: boolean
|
|
12584
|
-
readonly temperature_signal
|
|
12934
|
+
readonly temperature_signal?: SignalIDWrite
|
|
12585
12935
|
}
|
|
12586
12936
|
/**
|
|
12587
12937
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
12588
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12938
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12589
12939
|
*/
|
|
12590
12940
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
12591
12941
|
readonly sections: LogisticSections
|
|
@@ -12596,7 +12946,7 @@ declare module "factorio:runtime" {
|
|
|
12596
12946
|
}
|
|
12597
12947
|
/**
|
|
12598
12948
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12599
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12949
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12600
12950
|
*/
|
|
12601
12951
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
12602
12952
|
readonly sections: LogisticSectionsWrite
|
|
@@ -12607,7 +12957,7 @@ declare module "factorio:runtime" {
|
|
|
12607
12957
|
}
|
|
12608
12958
|
/**
|
|
12609
12959
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
12610
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12960
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12611
12961
|
*/
|
|
12612
12962
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
12613
12963
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12626,7 +12976,7 @@ declare module "factorio:runtime" {
|
|
|
12626
12976
|
}
|
|
12627
12977
|
/**
|
|
12628
12978
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12629
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12979
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12630
12980
|
*/
|
|
12631
12981
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
12632
12982
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12645,7 +12995,7 @@ declare module "factorio:runtime" {
|
|
|
12645
12995
|
}
|
|
12646
12996
|
/**
|
|
12647
12997
|
* @see LabBlueprintControlBehaviorWrite
|
|
12648
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12998
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
12649
12999
|
*/
|
|
12650
13000
|
export interface LabBlueprintControlBehavior {
|
|
12651
13001
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12660,7 +13010,7 @@ declare module "factorio:runtime" {
|
|
|
12660
13010
|
}
|
|
12661
13011
|
/**
|
|
12662
13012
|
* Write form of {@link LabBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12663
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13013
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
12664
13014
|
*/
|
|
12665
13015
|
export interface LabBlueprintControlBehaviorWrite {
|
|
12666
13016
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12675,7 +13025,7 @@ declare module "factorio:runtime" {
|
|
|
12675
13025
|
}
|
|
12676
13026
|
/**
|
|
12677
13027
|
* @see RadarBlueprintControlBehaviorWrite
|
|
12678
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13028
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
12679
13029
|
*/
|
|
12680
13030
|
export interface RadarBlueprintControlBehavior {
|
|
12681
13031
|
/**
|
|
@@ -12686,7 +13036,7 @@ declare module "factorio:runtime" {
|
|
|
12686
13036
|
}
|
|
12687
13037
|
/**
|
|
12688
13038
|
* Write form of {@link RadarBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12689
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13039
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
12690
13040
|
*/
|
|
12691
13041
|
export interface RadarBlueprintControlBehaviorWrite {
|
|
12692
13042
|
/**
|
|
@@ -12697,7 +13047,7 @@ declare module "factorio:runtime" {
|
|
|
12697
13047
|
}
|
|
12698
13048
|
/**
|
|
12699
13049
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
12700
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13050
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
12701
13051
|
*/
|
|
12702
13052
|
export interface AccumulatorBlueprintControlBehavior {
|
|
12703
13053
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12709,7 +13059,7 @@ declare module "factorio:runtime" {
|
|
|
12709
13059
|
}
|
|
12710
13060
|
/**
|
|
12711
13061
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12712
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13062
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
12713
13063
|
*/
|
|
12714
13064
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
12715
13065
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12721,7 +13071,7 @@ declare module "factorio:runtime" {
|
|
|
12721
13071
|
}
|
|
12722
13072
|
/**
|
|
12723
13073
|
* @see SingleFluidBoxBlueprintControlBehaviorWrite
|
|
12724
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13074
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
12725
13075
|
*/
|
|
12726
13076
|
export interface SingleFluidBoxBlueprintControlBehavior {
|
|
12727
13077
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12737,7 +13087,7 @@ declare module "factorio:runtime" {
|
|
|
12737
13087
|
}
|
|
12738
13088
|
/**
|
|
12739
13089
|
* Write form of {@link SingleFluidBoxBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12740
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13090
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
12741
13091
|
*/
|
|
12742
13092
|
export interface SingleFluidBoxBlueprintControlBehaviorWrite {
|
|
12743
13093
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12753,7 +13103,7 @@ declare module "factorio:runtime" {
|
|
|
12753
13103
|
}
|
|
12754
13104
|
/**
|
|
12755
13105
|
* @see TurretBlueprintControlBehaviorWrite
|
|
12756
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13106
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
12757
13107
|
*/
|
|
12758
13108
|
export interface TurretBlueprintControlBehavior {
|
|
12759
13109
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12784,7 +13134,7 @@ declare module "factorio:runtime" {
|
|
|
12784
13134
|
}
|
|
12785
13135
|
/**
|
|
12786
13136
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12787
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13137
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
12788
13138
|
*/
|
|
12789
13139
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
12790
13140
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12815,7 +13165,7 @@ declare module "factorio:runtime" {
|
|
|
12815
13165
|
}
|
|
12816
13166
|
/**
|
|
12817
13167
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
12818
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13168
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
12819
13169
|
*/
|
|
12820
13170
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
12821
13171
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12845,7 +13195,7 @@ declare module "factorio:runtime" {
|
|
|
12845
13195
|
}
|
|
12846
13196
|
/**
|
|
12847
13197
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12848
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13198
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
12849
13199
|
*/
|
|
12850
13200
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
12851
13201
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12875,7 +13225,7 @@ declare module "factorio:runtime" {
|
|
|
12875
13225
|
}
|
|
12876
13226
|
/**
|
|
12877
13227
|
* @see InserterBlueprintControlBehaviorWrite
|
|
12878
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13228
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
12879
13229
|
*/
|
|
12880
13230
|
export interface InserterBlueprintControlBehavior {
|
|
12881
13231
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12893,7 +13243,7 @@ declare module "factorio:runtime" {
|
|
|
12893
13243
|
*/
|
|
12894
13244
|
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
|
12895
13245
|
/**
|
|
12896
|
-
* Defaults to `false`.
|
|
13246
|
+
* Defaults to `false`. Whether the inserter hand size is controlled by the circuit network.
|
|
12897
13247
|
*/
|
|
12898
13248
|
readonly circuit_set_stack_size?: boolean
|
|
12899
13249
|
readonly stack_control_input_signal?: SignalID
|
|
@@ -12910,7 +13260,7 @@ declare module "factorio:runtime" {
|
|
|
12910
13260
|
}
|
|
12911
13261
|
/**
|
|
12912
13262
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12913
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13263
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
12914
13264
|
*/
|
|
12915
13265
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
12916
13266
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12928,7 +13278,7 @@ declare module "factorio:runtime" {
|
|
|
12928
13278
|
*/
|
|
12929
13279
|
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
|
12930
13280
|
/**
|
|
12931
|
-
* Defaults to `false`.
|
|
13281
|
+
* Defaults to `false`. Whether the inserter hand size is controlled by the circuit network.
|
|
12932
13282
|
*/
|
|
12933
13283
|
readonly circuit_set_stack_size?: boolean
|
|
12934
13284
|
readonly stack_control_input_signal?: SignalIDWrite
|
|
@@ -12945,21 +13295,21 @@ declare module "factorio:runtime" {
|
|
|
12945
13295
|
}
|
|
12946
13296
|
/**
|
|
12947
13297
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
12948
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13298
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
12949
13299
|
*/
|
|
12950
13300
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
12951
13301
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
12952
13302
|
}
|
|
12953
13303
|
/**
|
|
12954
13304
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12955
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13305
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
12956
13306
|
*/
|
|
12957
13307
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
12958
13308
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
12959
13309
|
}
|
|
12960
13310
|
/**
|
|
12961
13311
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
12962
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13312
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
12963
13313
|
*/
|
|
12964
13314
|
export interface RoboportBlueprintControlBehavior {
|
|
12965
13315
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12973,7 +13323,7 @@ declare module "factorio:runtime" {
|
|
|
12973
13323
|
}
|
|
12974
13324
|
/**
|
|
12975
13325
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12976
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13326
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
12977
13327
|
*/
|
|
12978
13328
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
12979
13329
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12987,7 +13337,7 @@ declare module "factorio:runtime" {
|
|
|
12987
13337
|
}
|
|
12988
13338
|
/**
|
|
12989
13339
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
12990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13340
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
12991
13341
|
*/
|
|
12992
13342
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
12993
13343
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13035,7 +13385,7 @@ declare module "factorio:runtime" {
|
|
|
13035
13385
|
}
|
|
13036
13386
|
/**
|
|
13037
13387
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13038
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13388
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13039
13389
|
*/
|
|
13040
13390
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
13041
13391
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13083,7 +13433,7 @@ declare module "factorio:runtime" {
|
|
|
13083
13433
|
}
|
|
13084
13434
|
/**
|
|
13085
13435
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
13086
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13436
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13087
13437
|
*/
|
|
13088
13438
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
13089
13439
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13115,7 +13465,7 @@ declare module "factorio:runtime" {
|
|
|
13115
13465
|
}
|
|
13116
13466
|
/**
|
|
13117
13467
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13118
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13468
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13119
13469
|
*/
|
|
13120
13470
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
13121
13471
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13181,7 +13531,7 @@ declare module "factorio:runtime" {
|
|
|
13181
13531
|
* "2500 * (L - 3)"
|
|
13182
13532
|
* @example
|
|
13183
13533
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
13184
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13534
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MathExpression.html Online documentation}
|
|
13185
13535
|
*/
|
|
13186
13536
|
export type MathExpression = string
|
|
13187
13537
|
/**
|
|
@@ -13192,12 +13542,12 @@ declare module "factorio:runtime" {
|
|
|
13192
13542
|
* Tables inside Tags that have numeric keys but are not sequences (e.g. `tags = {foo = {nil, "something"}}` or `tags = {bar = {[4] = "cat"}}`) will have their keys converted to strings when read back from the game (e.g. `{foo = {["2"] = "something"}}` or `{bar = {["4"] = "cat"}}`). Only sequences without gaps will have their keys maintained as numeric.
|
|
13193
13543
|
* @example
|
|
13194
13544
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
13195
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13545
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Tags.html Online documentation}
|
|
13196
13546
|
*/
|
|
13197
13547
|
export type Tags = Record<string, AnyBasic>
|
|
13198
13548
|
/**
|
|
13199
13549
|
* @see TileWrite
|
|
13200
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13550
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Tile.html Online documentation}
|
|
13201
13551
|
*/
|
|
13202
13552
|
export interface Tile {
|
|
13203
13553
|
/**
|
|
@@ -13211,7 +13561,7 @@ declare module "factorio:runtime" {
|
|
|
13211
13561
|
}
|
|
13212
13562
|
/**
|
|
13213
13563
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
|
13214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13564
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Tile.html Online documentation}
|
|
13215
13565
|
*/
|
|
13216
13566
|
export interface TileWrite {
|
|
13217
13567
|
/**
|
|
@@ -13235,99 +13585,99 @@ declare module "factorio:runtime" {
|
|
|
13235
13585
|
}
|
|
13236
13586
|
/**
|
|
13237
13587
|
* 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.
|
|
13238
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13588
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/float.html Online documentation}
|
|
13239
13589
|
*/
|
|
13240
13590
|
export type float = number
|
|
13241
13591
|
/**
|
|
13242
13592
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
|
13243
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13593
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/double.html Online documentation}
|
|
13244
13594
|
*/
|
|
13245
13595
|
export type double = number
|
|
13246
13596
|
/**
|
|
13247
13597
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
13248
13598
|
*
|
|
13249
13599
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
|
13250
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13600
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint8.html Online documentation}
|
|
13251
13601
|
*/
|
|
13252
13602
|
export type uint8 = number
|
|
13253
13603
|
/**
|
|
13254
13604
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
13255
13605
|
*
|
|
13256
13606
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
|
13257
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13607
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/int8.html Online documentation}
|
|
13258
13608
|
*/
|
|
13259
13609
|
export type int8 = number
|
|
13260
13610
|
/**
|
|
13261
13611
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
13262
13612
|
*
|
|
13263
13613
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
|
13264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13614
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint16.html Online documentation}
|
|
13265
13615
|
*/
|
|
13266
13616
|
export type uint16 = number
|
|
13267
13617
|
/**
|
|
13268
13618
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
13269
13619
|
*
|
|
13270
13620
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
|
13271
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13621
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/int16.html Online documentation}
|
|
13272
13622
|
*/
|
|
13273
13623
|
export type int16 = number
|
|
13274
13624
|
/**
|
|
13275
13625
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
13276
13626
|
*
|
|
13277
13627
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
|
13278
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13628
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint32.html Online documentation}
|
|
13279
13629
|
*/
|
|
13280
13630
|
export type uint32 = number
|
|
13281
13631
|
/**
|
|
13282
13632
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
13283
13633
|
*
|
|
13284
13634
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
|
13285
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13635
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/int32.html Online documentation}
|
|
13286
13636
|
*/
|
|
13287
13637
|
export type int32 = number
|
|
13288
13638
|
/**
|
|
13289
13639
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
13290
13640
|
*
|
|
13291
13641
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
|
13292
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13642
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint64.html Online documentation}
|
|
13293
13643
|
*/
|
|
13294
13644
|
export type uint64 = number
|
|
13295
13645
|
/**
|
|
13296
13646
|
* 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.
|
|
13297
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13647
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/nil.html Online documentation}
|
|
13298
13648
|
*/
|
|
13299
13649
|
export type nil = undefined
|
|
13300
13650
|
/**
|
|
13301
13651
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
13302
13652
|
*
|
|
13303
13653
|
* Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain https://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.
|
|
13304
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13654
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/table.html Online documentation}
|
|
13305
13655
|
*/
|
|
13306
13656
|
export type table = object
|
|
13307
13657
|
/**
|
|
13308
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.
|
|
13309
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13658
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.22/classes.html Classes} page.
|
|
13659
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaObject.html Online documentation}
|
|
13310
13660
|
*/
|
|
13311
13661
|
export interface LuaObject {
|
|
13312
13662
|
readonly object_name: string
|
|
13313
13663
|
}
|
|
13314
13664
|
/**
|
|
13315
13665
|
* Any basic type (string, number, boolean) or table.
|
|
13316
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13666
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AnyBasic.html Online documentation}
|
|
13317
13667
|
*/
|
|
13318
13668
|
export type AnyBasic = string | boolean | number | table
|
|
13319
13669
|
/**
|
|
13320
13670
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
13321
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13671
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Any.html Online documentation}
|
|
13322
13672
|
*/
|
|
13323
13673
|
export type Any = string | boolean | number | table | LuaObject
|
|
13324
13674
|
/**
|
|
13325
13675
|
* 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}`.
|
|
13326
13676
|
*
|
|
13327
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13677
|
+
* {@link https://lua-api.factorio.com/2.1.22/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:}
|
|
13328
13678
|
*
|
|
13329
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13330
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13679
|
+
* {@link https://lua-api.factorio.com/2.1.22/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:}
|
|
13680
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/PropertyExpressionNames.html Online documentation}
|
|
13331
13681
|
*/
|
|
13332
13682
|
export type PropertyExpressionNames = Record<string, string>
|
|
13333
13683
|
/**
|
|
@@ -13384,7 +13734,7 @@ declare module "factorio:runtime" {
|
|
|
13384
13734
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
13385
13735
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
13386
13736
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
13387
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13737
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ModSettingPrototypeFilter.html Online documentation}
|
|
13388
13738
|
*/
|
|
13389
13739
|
export type ModSettingPrototypeFilter =
|
|
13390
13740
|
TypeModSettingPrototypeFilter | ModModSettingPrototypeFilter | SettingTypeModSettingPrototypeFilter
|
|
@@ -13446,13 +13796,13 @@ declare module "factorio:runtime" {
|
|
|
13446
13796
|
* Other attributes may be specified depending on `filter`:
|
|
13447
13797
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
13448
13798
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
13449
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13799
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13450
13800
|
*/
|
|
13451
13801
|
export type SpaceLocationPrototypeFilter =
|
|
13452
13802
|
TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter
|
|
13453
13803
|
/**
|
|
13454
13804
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
13455
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13805
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13456
13806
|
*/
|
|
13457
13807
|
export type SpaceLocationPrototypeFilterWrite =
|
|
13458
13808
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -13500,7 +13850,7 @@ declare module "factorio:runtime" {
|
|
|
13500
13850
|
*
|
|
13501
13851
|
* Other attributes may be specified depending on `filter`:
|
|
13502
13852
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
13503
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13853
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/DecorativePrototypeFilter.html Online documentation}
|
|
13504
13854
|
*/
|
|
13505
13855
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
13506
13856
|
/**
|
|
@@ -13642,7 +13992,7 @@ declare module "factorio:runtime" {
|
|
|
13642
13992
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
13643
13993
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
13644
13994
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
13645
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13995
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePrototypeFilter.html Online documentation}
|
|
13646
13996
|
*/
|
|
13647
13997
|
export type TilePrototypeFilter =
|
|
13648
13998
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -13653,7 +14003,7 @@ declare module "factorio:runtime" {
|
|
|
13653
14003
|
| OtherTilePrototypeFilter
|
|
13654
14004
|
/**
|
|
13655
14005
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
13656
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14006
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePrototypeFilter.html Online documentation}
|
|
13657
14007
|
*/
|
|
13658
14008
|
export type TilePrototypeFilterWrite =
|
|
13659
14009
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -13858,7 +14208,7 @@ declare module "factorio:runtime" {
|
|
|
13858
14208
|
export interface SubgroupItemPrototypeFilter extends BaseItemPrototypeFilter {
|
|
13859
14209
|
readonly filter: "subgroup"
|
|
13860
14210
|
/**
|
|
13861
|
-
* A {@link
|
|
14211
|
+
* A {@link LuaItemSubGroup} name
|
|
13862
14212
|
*/
|
|
13863
14213
|
readonly subgroup: string
|
|
13864
14214
|
}
|
|
@@ -14010,7 +14360,7 @@ declare module "factorio:runtime" {
|
|
|
14010
14360
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
14011
14361
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
14012
14362
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
14013
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14363
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14014
14364
|
*/
|
|
14015
14365
|
export type ItemPrototypeFilter =
|
|
14016
14366
|
| PlaceResultItemPrototypeFilter
|
|
@@ -14032,7 +14382,7 @@ declare module "factorio:runtime" {
|
|
|
14032
14382
|
| OtherItemPrototypeFilter
|
|
14033
14383
|
/**
|
|
14034
14384
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14035
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14385
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14036
14386
|
*/
|
|
14037
14387
|
export type ItemPrototypeFilterWrite =
|
|
14038
14388
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -14172,7 +14522,7 @@ declare module "factorio:runtime" {
|
|
|
14172
14522
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
14173
14523
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
14174
14524
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
14175
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14525
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14176
14526
|
*/
|
|
14177
14527
|
export type TechnologyPrototypeFilter =
|
|
14178
14528
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14183,7 +14533,7 @@ declare module "factorio:runtime" {
|
|
|
14183
14533
|
| OtherTechnologyPrototypeFilter
|
|
14184
14534
|
/**
|
|
14185
14535
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14186
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14536
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14187
14537
|
*/
|
|
14188
14538
|
export type TechnologyPrototypeFilterWrite =
|
|
14189
14539
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14319,7 +14669,7 @@ declare module "factorio:runtime" {
|
|
|
14319
14669
|
export interface SubgroupRecipePrototypeFilter extends BaseRecipePrototypeFilter {
|
|
14320
14670
|
readonly filter: "subgroup"
|
|
14321
14671
|
/**
|
|
14322
|
-
* A {@link
|
|
14672
|
+
* A {@link LuaItemSubGroup} name
|
|
14323
14673
|
*/
|
|
14324
14674
|
readonly subgroup: string
|
|
14325
14675
|
}
|
|
@@ -14439,7 +14789,7 @@ declare module "factorio:runtime" {
|
|
|
14439
14789
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
14440
14790
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
14441
14791
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
14442
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14792
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14443
14793
|
*/
|
|
14444
14794
|
export type RecipePrototypeFilter =
|
|
14445
14795
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -14455,7 +14805,7 @@ declare module "factorio:runtime" {
|
|
|
14455
14805
|
| OtherRecipePrototypeFilter
|
|
14456
14806
|
/**
|
|
14457
14807
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14458
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14808
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14459
14809
|
*/
|
|
14460
14810
|
export type RecipePrototypeFilterWrite =
|
|
14461
14811
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -14507,7 +14857,7 @@ declare module "factorio:runtime" {
|
|
|
14507
14857
|
*
|
|
14508
14858
|
* Other attributes may be specified depending on `filter`:
|
|
14509
14859
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
14510
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14860
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/AchievementPrototypeFilter.html Online documentation}
|
|
14511
14861
|
*/
|
|
14512
14862
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
14513
14863
|
export interface VirtualSignalPrototypeFilter {
|
|
@@ -14562,7 +14912,7 @@ declare module "factorio:runtime" {
|
|
|
14562
14912
|
*
|
|
14563
14913
|
* Other attributes may be specified depending on `filter`:
|
|
14564
14914
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
14565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14915
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPrototypeFilter.html Online documentation}
|
|
14566
14916
|
*/
|
|
14567
14917
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
14568
14918
|
/**
|
|
@@ -14611,7 +14961,7 @@ declare module "factorio:runtime" {
|
|
|
14611
14961
|
export interface SubgroupFluidPrototypeFilter extends BaseFluidPrototypeFilter {
|
|
14612
14962
|
readonly filter: "subgroup"
|
|
14613
14963
|
/**
|
|
14614
|
-
* A {@link
|
|
14964
|
+
* A {@link LuaItemSubGroup} name
|
|
14615
14965
|
*/
|
|
14616
14966
|
readonly subgroup: string
|
|
14617
14967
|
}
|
|
@@ -14747,7 +15097,7 @@ declare module "factorio:runtime" {
|
|
|
14747
15097
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
14748
15098
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
14749
15099
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
14750
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15100
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidPrototypeFilter.html Online documentation}
|
|
14751
15101
|
*/
|
|
14752
15102
|
export type FluidPrototypeFilter =
|
|
14753
15103
|
| NameFluidPrototypeFilter
|
|
@@ -14761,7 +15111,7 @@ declare module "factorio:runtime" {
|
|
|
14761
15111
|
| OtherFluidPrototypeFilter
|
|
14762
15112
|
/**
|
|
14763
15113
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14764
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15114
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidPrototypeFilter.html Online documentation}
|
|
14765
15115
|
*/
|
|
14766
15116
|
export type FluidPrototypeFilterWrite =
|
|
14767
15117
|
| NameFluidPrototypeFilter
|
|
@@ -14980,7 +15330,7 @@ declare module "factorio:runtime" {
|
|
|
14980
15330
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
14981
15331
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
14982
15332
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
14983
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15333
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFilter.html Online documentation}
|
|
14984
15334
|
*/
|
|
14985
15335
|
export type EntityPrototypeFilter =
|
|
14986
15336
|
| NameEntityPrototypeFilter
|
|
@@ -14993,7 +15343,7 @@ declare module "factorio:runtime" {
|
|
|
14993
15343
|
| OtherEntityPrototypeFilter
|
|
14994
15344
|
/**
|
|
14995
15345
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14996
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15346
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFilter.html Online documentation}
|
|
14997
15347
|
*/
|
|
14998
15348
|
export type EntityPrototypeFilterWrite =
|
|
14999
15349
|
| NameEntityPrototypeFilter
|
|
@@ -15036,7 +15386,7 @@ declare module "factorio:runtime" {
|
|
|
15036
15386
|
*
|
|
15037
15387
|
* Other attributes may be specified depending on `filter`:
|
|
15038
15388
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
15039
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15389
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
|
15040
15390
|
*/
|
|
15041
15391
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
15042
15392
|
/**
|
|
@@ -15136,7 +15486,7 @@ declare module "factorio:runtime" {
|
|
|
15136
15486
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
15137
15487
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
15138
15488
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
15139
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15489
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
|
15140
15490
|
*/
|
|
15141
15491
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
15142
15492
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -15241,7 +15591,7 @@ declare module "factorio:runtime" {
|
|
|
15241
15591
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
15242
15592
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
15243
15593
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
15244
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15594
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
|
15245
15595
|
*/
|
|
15246
15596
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
15247
15597
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -15346,7 +15696,7 @@ declare module "factorio:runtime" {
|
|
|
15346
15696
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
15347
15697
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
15348
15698
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
15349
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15699
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
|
15350
15700
|
*/
|
|
15351
15701
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
15352
15702
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -15451,7 +15801,7 @@ declare module "factorio:runtime" {
|
|
|
15451
15801
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
15452
15802
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
15453
15803
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
15454
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15804
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
|
15455
15805
|
*/
|
|
15456
15806
|
export type LuaPlatformMinedEntityEventFilter =
|
|
15457
15807
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -15568,7 +15918,7 @@ declare module "factorio:runtime" {
|
|
|
15568
15918
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
15569
15919
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
15570
15920
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
15571
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15921
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
|
15572
15922
|
*/
|
|
15573
15923
|
export type LuaRobotBuiltEntityEventFilter =
|
|
15574
15924
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -15674,7 +16024,7 @@ declare module "factorio:runtime" {
|
|
|
15674
16024
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
15675
16025
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
15676
16026
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
15677
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16027
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
|
15678
16028
|
*/
|
|
15679
16029
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
15680
16030
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -15779,7 +16129,7 @@ declare module "factorio:runtime" {
|
|
|
15779
16129
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
15780
16130
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
15781
16131
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
15782
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16132
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
|
15783
16133
|
*/
|
|
15784
16134
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
15785
16135
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -15884,7 +16234,7 @@ declare module "factorio:runtime" {
|
|
|
15884
16234
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
15885
16235
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
15886
16236
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
15887
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16237
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
|
15888
16238
|
*/
|
|
15889
16239
|
export type LuaPreGhostUpgradedEventFilter =
|
|
15890
16240
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -16001,7 +16351,7 @@ declare module "factorio:runtime" {
|
|
|
16001
16351
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
16002
16352
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
16003
16353
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
16004
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16354
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
|
16005
16355
|
*/
|
|
16006
16356
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
16007
16357
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -16107,7 +16457,7 @@ declare module "factorio:runtime" {
|
|
|
16107
16457
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
16108
16458
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
16109
16459
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
16110
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16460
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
|
16111
16461
|
*/
|
|
16112
16462
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
16113
16463
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -16212,7 +16562,7 @@ declare module "factorio:runtime" {
|
|
|
16212
16562
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
16213
16563
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
16214
16564
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
16215
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16565
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
|
16216
16566
|
*/
|
|
16217
16567
|
export type LuaEntityClonedEventFilter =
|
|
16218
16568
|
| TypeEntityClonedEventFilter
|
|
@@ -16317,7 +16667,7 @@ declare module "factorio:runtime" {
|
|
|
16317
16667
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
16318
16668
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
16319
16669
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
16320
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16670
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
|
16321
16671
|
*/
|
|
16322
16672
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
16323
16673
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -16357,7 +16707,7 @@ declare module "factorio:runtime" {
|
|
|
16357
16707
|
*
|
|
16358
16708
|
* Other attributes may be specified depending on `filter`:
|
|
16359
16709
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
16360
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16710
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
|
16361
16711
|
*/
|
|
16362
16712
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
16363
16713
|
/**
|
|
@@ -16392,7 +16742,7 @@ declare module "factorio:runtime" {
|
|
|
16392
16742
|
*
|
|
16393
16743
|
* Other attributes may be specified depending on `filter`:
|
|
16394
16744
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
16395
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16745
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
|
16396
16746
|
*/
|
|
16397
16747
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
16398
16748
|
/**
|
|
@@ -16498,7 +16848,7 @@ declare module "factorio:runtime" {
|
|
|
16498
16848
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
16499
16849
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
16500
16850
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
16501
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16851
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16502
16852
|
*/
|
|
16503
16853
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
16504
16854
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16508,7 +16858,7 @@ declare module "factorio:runtime" {
|
|
|
16508
16858
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
16509
16859
|
/**
|
|
16510
16860
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
16511
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16861
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16512
16862
|
*/
|
|
16513
16863
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
16514
16864
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16613,7 +16963,7 @@ declare module "factorio:runtime" {
|
|
|
16613
16963
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
16614
16964
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
16615
16965
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
16616
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16966
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
|
16617
16967
|
*/
|
|
16618
16968
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
16619
16969
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -16718,7 +17068,7 @@ declare module "factorio:runtime" {
|
|
|
16718
17068
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
16719
17069
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
16720
17070
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
16721
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17071
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
|
16722
17072
|
*/
|
|
16723
17073
|
export type LuaPlayerMinedEntityEventFilter =
|
|
16724
17074
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -16823,7 +17173,7 @@ declare module "factorio:runtime" {
|
|
|
16823
17173
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
16824
17174
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
16825
17175
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
16826
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17176
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
|
16827
17177
|
*/
|
|
16828
17178
|
export type LuaSectorScannedEventFilter =
|
|
16829
17179
|
| TypeSectorScannedEventFilter
|
|
@@ -16928,7 +17278,7 @@ declare module "factorio:runtime" {
|
|
|
16928
17278
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
16929
17279
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
16930
17280
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
16931
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17281
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
|
16932
17282
|
*/
|
|
16933
17283
|
export type LuaRobotMinedEntityEventFilter =
|
|
16934
17284
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -17033,7 +17383,7 @@ declare module "factorio:runtime" {
|
|
|
17033
17383
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
17034
17384
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
17035
17385
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
17036
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17386
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
|
17037
17387
|
*/
|
|
17038
17388
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
17039
17389
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -17073,7 +17423,7 @@ declare module "factorio:runtime" {
|
|
|
17073
17423
|
*
|
|
17074
17424
|
* Other attributes may be specified depending on `filter`:
|
|
17075
17425
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
17076
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17426
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
|
17077
17427
|
*/
|
|
17078
17428
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
17079
17429
|
/**
|
|
@@ -17173,7 +17523,7 @@ declare module "factorio:runtime" {
|
|
|
17173
17523
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
17174
17524
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
17175
17525
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
17176
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17526
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
|
17177
17527
|
*/
|
|
17178
17528
|
export type LuaScriptRaisedReviveEventFilter =
|
|
17179
17529
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -17290,7 +17640,7 @@ declare module "factorio:runtime" {
|
|
|
17290
17640
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
17291
17641
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
17292
17642
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
17293
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17643
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
|
17294
17644
|
*/
|
|
17295
17645
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
17296
17646
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -17396,7 +17746,7 @@ declare module "factorio:runtime" {
|
|
|
17396
17746
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
17397
17747
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
17398
17748
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
17399
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17749
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
|
17400
17750
|
*/
|
|
17401
17751
|
export type LuaUpgradeCancelledEventFilter =
|
|
17402
17752
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -17576,7 +17926,7 @@ declare module "factorio:runtime" {
|
|
|
17576
17926
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
17577
17927
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
17578
17928
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
17579
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17929
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17580
17930
|
*/
|
|
17581
17931
|
export type LuaEntityDamagedEventFilter =
|
|
17582
17932
|
| TypeEntityDamagedEventFilter
|
|
@@ -17590,7 +17940,7 @@ declare module "factorio:runtime" {
|
|
|
17590
17940
|
| OtherEntityDamagedEventFilter
|
|
17591
17941
|
/**
|
|
17592
17942
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
17593
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17943
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17594
17944
|
*/
|
|
17595
17945
|
export type LuaEntityDamagedEventFilterWrite =
|
|
17596
17946
|
| TypeEntityDamagedEventFilter
|
|
@@ -17711,7 +18061,7 @@ declare module "factorio:runtime" {
|
|
|
17711
18061
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
17712
18062
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
17713
18063
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
17714
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18064
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
|
17715
18065
|
*/
|
|
17716
18066
|
export type LuaEntityDiedEventFilter =
|
|
17717
18067
|
| TypeEntityDiedEventFilter
|
|
@@ -17817,7 +18167,7 @@ declare module "factorio:runtime" {
|
|
|
17817
18167
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
17818
18168
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
17819
18169
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
17820
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18170
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
|
17821
18171
|
*/
|
|
17822
18172
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
17823
18173
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -17868,7 +18218,7 @@ declare module "factorio:runtime" {
|
|
|
17868
18218
|
* Other attributes may be specified depending on `filter`:
|
|
17869
18219
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
17870
18220
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
17871
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18221
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
|
17872
18222
|
*/
|
|
17873
18223
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
17874
18224
|
NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter
|
|
@@ -17969,7 +18319,7 @@ declare module "factorio:runtime" {
|
|
|
17969
18319
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
17970
18320
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
17971
18321
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
17972
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18322
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
|
17973
18323
|
*/
|
|
17974
18324
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
17975
18325
|
| TypeScriptRaisedDestroyEventFilter
|