typed-factorio 4.6.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/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +2551 -2472
- package/prototype/generated/types.d.ts +2672 -2610
- package/runtime/generated/classes.d.ts +5182 -5038
- package/runtime/generated/concepts.d.ts +476 -497
- package/runtime/generated/defines.d.ts +242 -218
- package/runtime/generated/events.d.ts +446 -226
- 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,7 +142,7 @@ 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
|
|
@@ -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,116 +195,116 @@ 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
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.
|
|
300
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/EffectValue.html Online documentation}
|
|
301
301
|
*/
|
|
302
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
309
|
export interface Effect {
|
|
310
310
|
readonly consumption?: EffectValue
|
|
@@ -315,12 +315,12 @@ declare module "factorio:runtime" {
|
|
|
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
|
/**
|
|
@@ -423,7 +423,7 @@ declare module "factorio:runtime" {
|
|
|
423
423
|
* - `"collision-selection-box"`: 189
|
|
424
424
|
* - `"arrow"`: 190
|
|
425
425
|
* - `"cursor"`: 226
|
|
426
|
-
* @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}
|
|
427
427
|
*/
|
|
428
428
|
export type RenderLayer =
|
|
429
429
|
| `${bigint}`
|
|
@@ -507,7 +507,7 @@ declare module "factorio:runtime" {
|
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
|
510
|
-
* @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}
|
|
511
511
|
*/
|
|
512
512
|
export interface MapViewSettings {
|
|
513
513
|
readonly "show-logistic-network"?: boolean
|
|
@@ -537,7 +537,7 @@ declare module "factorio:runtime" {
|
|
|
537
537
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
|
538
538
|
* - `"spidertron-remote-selected"`
|
|
539
539
|
* - `"spidertron-remote-to-be-selected"`
|
|
540
|
-
* @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}
|
|
541
541
|
*/
|
|
542
542
|
export type CursorBoxRenderType =
|
|
543
543
|
| "entity"
|
|
@@ -564,14 +564,14 @@ declare module "factorio:runtime" {
|
|
|
564
564
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
|
565
565
|
* @example
|
|
566
566
|
* "is_lower_object"
|
|
567
|
-
* @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}
|
|
568
568
|
*/
|
|
569
569
|
export type CollisionLayerID = string
|
|
570
570
|
/**
|
|
571
571
|
* @example
|
|
572
572
|
* -- Most common collision mask of buildings:
|
|
573
573
|
* collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
|
|
574
|
-
* @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}
|
|
575
575
|
*/
|
|
576
576
|
export interface CollisionMask {
|
|
577
577
|
/**
|
|
@@ -606,7 +606,7 @@ declare module "factorio:runtime" {
|
|
|
606
606
|
* - `"always"`
|
|
607
607
|
* - `"auto"`
|
|
608
608
|
* - `"auto-and-reserve-space"`
|
|
609
|
-
* @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}
|
|
610
610
|
*/
|
|
611
611
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
|
612
612
|
export interface EmptySlotInfo {
|
|
@@ -636,7 +636,7 @@ 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
641
|
export interface ActiveMouseButtonFlags {
|
|
642
642
|
readonly "left"?: true
|
|
@@ -661,7 +661,7 @@ declare module "factorio:runtime" {
|
|
|
661
661
|
* - `"button-7"`
|
|
662
662
|
* - `"button-8"`
|
|
663
663
|
* - `"button-9"`
|
|
664
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
664
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MouseButtonFlags.html Online documentation}
|
|
665
665
|
*/
|
|
666
666
|
export type MouseButtonFlags = readonly (
|
|
667
667
|
| "left"
|
|
@@ -682,7 +682,7 @@ declare module "factorio:runtime" {
|
|
|
682
682
|
* - `"left"`
|
|
683
683
|
* - `"right"`
|
|
684
684
|
* - `"none"`
|
|
685
|
-
* @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}
|
|
686
686
|
*/
|
|
687
687
|
export type SwitchState = "left" | "right" | "none"
|
|
688
688
|
/**
|
|
@@ -713,7 +713,7 @@ declare module "factorio:runtime" {
|
|
|
713
713
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
|
714
714
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
|
715
715
|
* - `"inventory"`
|
|
716
|
-
* @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}
|
|
717
717
|
*/
|
|
718
718
|
export type GuiElementType =
|
|
719
719
|
| "button"
|
|
@@ -784,7 +784,7 @@ declare module "factorio:runtime" {
|
|
|
784
784
|
* - `"space-connection"`
|
|
785
785
|
* - `"surface"`
|
|
786
786
|
* - `"virtual-signal"`
|
|
787
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
787
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ElemType.html Online documentation}
|
|
788
788
|
*/
|
|
789
789
|
export type ElemType =
|
|
790
790
|
| "achievement"
|
|
@@ -842,7 +842,7 @@ declare module "factorio:runtime" {
|
|
|
842
842
|
}
|
|
843
843
|
/**
|
|
844
844
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_VariablePresentationHint DebugAdapter VariablePresentationHint}
|
|
845
|
-
* @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}
|
|
846
846
|
*/
|
|
847
847
|
export interface DebugVariablePresentationHint {
|
|
848
848
|
/**
|
|
@@ -857,7 +857,7 @@ declare module "factorio:runtime" {
|
|
|
857
857
|
}
|
|
858
858
|
/**
|
|
859
859
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable DebugAdapter Variable}
|
|
860
|
-
* @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}
|
|
861
861
|
*/
|
|
862
862
|
export interface DebugVariable {
|
|
863
863
|
readonly name: string
|
|
@@ -873,13 +873,13 @@ declare module "factorio:runtime" {
|
|
|
873
873
|
* @see VectorTable
|
|
874
874
|
* @example
|
|
875
875
|
* right = {1.0, 0.0}
|
|
876
|
-
* @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}
|
|
877
877
|
*/
|
|
878
878
|
export type Vector = readonly [float, float]
|
|
879
879
|
/**
|
|
880
880
|
* Table form of {@link Vector}.
|
|
881
881
|
* @see Vector
|
|
882
|
-
* @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}
|
|
883
883
|
*/
|
|
884
884
|
export interface VectorTable {
|
|
885
885
|
readonly x: float
|
|
@@ -888,7 +888,7 @@ declare module "factorio:runtime" {
|
|
|
888
888
|
/**
|
|
889
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.
|
|
890
890
|
* @see ChunkPositionArray
|
|
891
|
-
* @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}
|
|
892
892
|
*/
|
|
893
893
|
export interface ChunkPosition {
|
|
894
894
|
readonly x: int32
|
|
@@ -897,7 +897,7 @@ declare module "factorio:runtime" {
|
|
|
897
897
|
/**
|
|
898
898
|
* Array form of {@link ChunkPosition}.
|
|
899
899
|
* @see ChunkPosition
|
|
900
|
-
* @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}
|
|
901
901
|
*/
|
|
902
902
|
export type ChunkPositionArray = readonly [int32, int32]
|
|
903
903
|
export interface ItemStackLocation {
|
|
@@ -921,7 +921,7 @@ declare module "factorio:runtime" {
|
|
|
921
921
|
/**
|
|
922
922
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
|
923
923
|
* @see ItemFilterWrite
|
|
924
|
-
* @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}
|
|
925
925
|
*/
|
|
926
926
|
export type ItemFilter =
|
|
927
927
|
| {
|
|
@@ -941,7 +941,7 @@ declare module "factorio:runtime" {
|
|
|
941
941
|
| string
|
|
942
942
|
/**
|
|
943
943
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
944
|
-
* @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}
|
|
945
945
|
*/
|
|
946
946
|
export type ItemFilterWrite =
|
|
947
947
|
| {
|
|
@@ -961,7 +961,7 @@ declare module "factorio:runtime" {
|
|
|
961
961
|
| string
|
|
962
962
|
/**
|
|
963
963
|
* @see SavedLogisticFiltersWrite
|
|
964
|
-
* @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}
|
|
965
965
|
*/
|
|
966
966
|
export interface SavedLogisticFilters {
|
|
967
967
|
readonly trash_not_requested: boolean
|
|
@@ -969,7 +969,7 @@ declare module "factorio:runtime" {
|
|
|
969
969
|
}
|
|
970
970
|
/**
|
|
971
971
|
* Write form of {@link SavedLogisticFilters}, where some properties allow additional values as input compared to the read form.
|
|
972
|
-
* @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}
|
|
973
973
|
*/
|
|
974
974
|
export interface SavedLogisticFiltersWrite {
|
|
975
975
|
readonly trash_not_requested: boolean
|
|
@@ -977,7 +977,7 @@ declare module "factorio:runtime" {
|
|
|
977
977
|
}
|
|
978
978
|
/**
|
|
979
979
|
* @see SavedLogisticSectionWrite
|
|
980
|
-
* @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}
|
|
981
981
|
*/
|
|
982
982
|
export interface SavedLogisticSection {
|
|
983
983
|
readonly group?: string
|
|
@@ -987,7 +987,7 @@ declare module "factorio:runtime" {
|
|
|
987
987
|
}
|
|
988
988
|
/**
|
|
989
989
|
* Write form of {@link SavedLogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
990
|
-
* @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}
|
|
991
991
|
*/
|
|
992
992
|
export interface SavedLogisticSectionWrite {
|
|
993
993
|
readonly group?: string
|
|
@@ -1026,7 +1026,7 @@ declare module "factorio:runtime" {
|
|
|
1026
1026
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
|
1027
1027
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
|
1028
1028
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
|
1029
|
-
* @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}
|
|
1030
1030
|
*/
|
|
1031
1031
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
|
1032
1032
|
export interface BaseCommand {
|
|
@@ -1259,7 +1259,7 @@ declare module "factorio:runtime" {
|
|
|
1259
1259
|
* - {@link defines.command.stop}: {@link StopCommand}
|
|
1260
1260
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
|
1261
1261
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
|
1262
|
-
* @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}
|
|
1263
1263
|
*/
|
|
1264
1264
|
export type Command =
|
|
1265
1265
|
| AttackCommand
|
|
@@ -1273,7 +1273,7 @@ declare module "factorio:runtime" {
|
|
|
1273
1273
|
| BuildBaseCommand
|
|
1274
1274
|
/**
|
|
1275
1275
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
|
1276
|
-
* @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}
|
|
1277
1277
|
*/
|
|
1278
1278
|
export type CommandWrite =
|
|
1279
1279
|
| AttackCommand
|
|
@@ -1350,7 +1350,7 @@ declare module "factorio:runtime" {
|
|
|
1350
1350
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
|
1351
1351
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
|
1352
1352
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
|
1353
|
-
* @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}
|
|
1354
1354
|
*/
|
|
1355
1355
|
export type GuiArrowSpecification =
|
|
1356
1356
|
| EntityGuiArrowSpecification
|
|
@@ -1370,46 +1370,16 @@ declare module "factorio:runtime" {
|
|
|
1370
1370
|
* - `"position"`
|
|
1371
1371
|
* - `"crafting_queue"`
|
|
1372
1372
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
|
1373
|
-
* @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}
|
|
1374
1374
|
*/
|
|
1375
1375
|
export type GuiArrowType =
|
|
1376
1376
|
"nowhere" | "goal" | "entity_info" | "active_window" | "entity" | "position" | "crafting_queue" | "item_stack"
|
|
1377
|
-
/**
|
|
1378
|
-
* @see FluidFilterWrite
|
|
1379
|
-
* @see {@link https://lua-api.factorio.com/2.1.21/concepts/FluidFilter.html Online documentation}
|
|
1380
|
-
*/
|
|
1381
|
-
export interface FluidFilter {
|
|
1382
|
-
readonly fluid?: LuaFluidPrototype
|
|
1383
|
-
/**
|
|
1384
|
-
* The minimum fluid temperature required.
|
|
1385
|
-
*/
|
|
1386
|
-
readonly minimum_temperature?: float
|
|
1387
|
-
/**
|
|
1388
|
-
* The maximum fluid temperature allowed.
|
|
1389
|
-
*/
|
|
1390
|
-
readonly maximum_temperature?: float
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* Write form of {@link FluidFilter}, where some properties allow additional values as input compared to the read form.
|
|
1394
|
-
* @see {@link https://lua-api.factorio.com/2.1.21/concepts/FluidFilter.html Online documentation}
|
|
1395
|
-
*/
|
|
1396
|
-
export interface FluidFilterWrite {
|
|
1397
|
-
readonly fluid?: FluidID
|
|
1398
|
-
/**
|
|
1399
|
-
* The minimum fluid temperature required.
|
|
1400
|
-
*/
|
|
1401
|
-
readonly minimum_temperature?: float
|
|
1402
|
-
/**
|
|
1403
|
-
* The maximum fluid temperature allowed.
|
|
1404
|
-
*/
|
|
1405
|
-
readonly maximum_temperature?: float
|
|
1406
|
-
}
|
|
1407
1377
|
/**
|
|
1408
1378
|
* Reading this always returns the table with the named keys.
|
|
1409
1379
|
*
|
|
1410
1380
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
|
1411
1381
|
* @see Vector3DArray
|
|
1412
|
-
* @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}
|
|
1413
1383
|
*/
|
|
1414
1384
|
export interface Vector3D {
|
|
1415
1385
|
readonly x: float
|
|
@@ -1419,7 +1389,7 @@ declare module "factorio:runtime" {
|
|
|
1419
1389
|
/**
|
|
1420
1390
|
* Array form of {@link Vector3D}.
|
|
1421
1391
|
* @see Vector3D
|
|
1422
|
-
* @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}
|
|
1423
1393
|
*/
|
|
1424
1394
|
export type Vector3DArray = readonly [float, float, float]
|
|
1425
1395
|
export interface TrainVisualizationConstants {
|
|
@@ -1458,12 +1428,12 @@ declare module "factorio:runtime" {
|
|
|
1458
1428
|
}
|
|
1459
1429
|
/**
|
|
1460
1430
|
* Does not return the value at runtime.
|
|
1461
|
-
* @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}
|
|
1462
1432
|
*/
|
|
1463
1433
|
export type ColorLookupTable = nil
|
|
1464
1434
|
/**
|
|
1465
1435
|
* Returns an empty table at runtime.
|
|
1466
|
-
* @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}
|
|
1467
1437
|
*/
|
|
1468
1438
|
export type DaytimeColorLookupTable = "{}"
|
|
1469
1439
|
export interface ColorFilterData {
|
|
@@ -1499,6 +1469,18 @@ declare module "factorio:runtime" {
|
|
|
1499
1469
|
readonly x: float
|
|
1500
1470
|
readonly y: float
|
|
1501
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
|
+
}
|
|
1502
1484
|
export interface GhostTintSet {
|
|
1503
1485
|
readonly ghost_tint: Color
|
|
1504
1486
|
readonly ghost_delivery_tint: Color
|
|
@@ -1559,7 +1541,7 @@ declare module "factorio:runtime" {
|
|
|
1559
1541
|
}
|
|
1560
1542
|
/**
|
|
1561
1543
|
* @see TrainScheduleWrite
|
|
1562
|
-
* @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}
|
|
1563
1545
|
*/
|
|
1564
1546
|
export interface TrainSchedule {
|
|
1565
1547
|
/**
|
|
@@ -1570,7 +1552,7 @@ declare module "factorio:runtime" {
|
|
|
1570
1552
|
}
|
|
1571
1553
|
/**
|
|
1572
1554
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1573
|
-
* @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}
|
|
1574
1556
|
*/
|
|
1575
1557
|
export interface TrainScheduleWrite {
|
|
1576
1558
|
/**
|
|
@@ -1581,7 +1563,7 @@ declare module "factorio:runtime" {
|
|
|
1581
1563
|
}
|
|
1582
1564
|
/**
|
|
1583
1565
|
* @see PlatformScheduleWrite
|
|
1584
|
-
* @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}
|
|
1585
1567
|
*/
|
|
1586
1568
|
export interface PlatformSchedule {
|
|
1587
1569
|
/**
|
|
@@ -1592,7 +1574,7 @@ declare module "factorio:runtime" {
|
|
|
1592
1574
|
}
|
|
1593
1575
|
/**
|
|
1594
1576
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1595
|
-
* @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}
|
|
1596
1578
|
*/
|
|
1597
1579
|
export interface PlatformScheduleWrite {
|
|
1598
1580
|
/**
|
|
@@ -1667,7 +1649,7 @@ declare module "factorio:runtime" {
|
|
|
1667
1649
|
}
|
|
1668
1650
|
/**
|
|
1669
1651
|
* A recipe prototype with optional quality specification.
|
|
1670
|
-
* @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}
|
|
1671
1653
|
*/
|
|
1672
1654
|
export interface RecipeIDAndQualityIDPair {
|
|
1673
1655
|
/**
|
|
@@ -1732,7 +1714,7 @@ declare module "factorio:runtime" {
|
|
|
1732
1714
|
}
|
|
1733
1715
|
/**
|
|
1734
1716
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1735
|
-
* @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}
|
|
1736
1718
|
*/
|
|
1737
1719
|
export interface SegmentEngineSpecification {
|
|
1738
1720
|
/**
|
|
@@ -1746,7 +1728,7 @@ declare module "factorio:runtime" {
|
|
|
1746
1728
|
}
|
|
1747
1729
|
/**
|
|
1748
1730
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1749
|
-
* @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}
|
|
1750
1732
|
*/
|
|
1751
1733
|
export interface SegmentSpecification {
|
|
1752
1734
|
/**
|
|
@@ -1760,7 +1742,7 @@ declare module "factorio:runtime" {
|
|
|
1760
1742
|
}
|
|
1761
1743
|
/**
|
|
1762
1744
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1763
|
-
* @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}
|
|
1764
1746
|
*/
|
|
1765
1747
|
export interface TileBuildabilityRule {
|
|
1766
1748
|
/**
|
|
@@ -1954,7 +1936,7 @@ declare module "factorio:runtime" {
|
|
|
1954
1936
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1955
1937
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1956
1938
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1957
|
-
* @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}
|
|
1958
1940
|
*/
|
|
1959
1941
|
export type ForceID = string | uint8 | LuaForce
|
|
1960
1942
|
/**
|
|
@@ -1964,7 +1946,7 @@ declare module "factorio:runtime" {
|
|
|
1964
1946
|
* - `string`: The fluid name.
|
|
1965
1947
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1966
1948
|
* - {@link Fluid}: The fluid.
|
|
1967
|
-
* @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}
|
|
1968
1950
|
*/
|
|
1969
1951
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1970
1952
|
/**
|
|
@@ -1975,12 +1957,12 @@ declare module "factorio:runtime" {
|
|
|
1975
1957
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1976
1958
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1977
1959
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1978
|
-
* @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}
|
|
1979
1961
|
*/
|
|
1980
1962
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1981
1963
|
/**
|
|
1982
1964
|
* An entity prototype with optional quality specification.
|
|
1983
|
-
* @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}
|
|
1984
1966
|
*/
|
|
1985
1967
|
export interface EntityIDAndQualityIDPair {
|
|
1986
1968
|
/**
|
|
@@ -2000,13 +1982,13 @@ declare module "factorio:runtime" {
|
|
|
2000
1982
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
2001
1983
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2002
1984
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
2003
|
-
* @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}
|
|
2004
1986
|
*/
|
|
2005
1987
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
2006
1988
|
/**
|
|
2007
1989
|
* An item prototype with optional quality specification.
|
|
2008
1990
|
* @see ItemIDAndQualityIDPairWrite
|
|
2009
|
-
* @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}
|
|
2010
1992
|
*/
|
|
2011
1993
|
export interface ItemIDAndQualityIDPair {
|
|
2012
1994
|
/**
|
|
@@ -2020,7 +2002,7 @@ declare module "factorio:runtime" {
|
|
|
2020
2002
|
}
|
|
2021
2003
|
/**
|
|
2022
2004
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2023
|
-
* @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}
|
|
2024
2006
|
*/
|
|
2025
2007
|
export interface ItemIDAndQualityIDPairWrite {
|
|
2026
2008
|
/**
|
|
@@ -2040,7 +2022,7 @@ declare module "factorio:runtime" {
|
|
|
2040
2022
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
2041
2023
|
* - {@link LuaItem}: The item.
|
|
2042
2024
|
* - `string`: The prototype name.
|
|
2043
|
-
* @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}
|
|
2044
2026
|
*/
|
|
2045
2027
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
2046
2028
|
/**
|
|
@@ -2049,7 +2031,7 @@ declare module "factorio:runtime" {
|
|
|
2049
2031
|
* ## Union members
|
|
2050
2032
|
* - {@link LuaItemGroup}: The item group prototype.
|
|
2051
2033
|
* - `string`: The prototype name.
|
|
2052
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2034
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemGroupID.html Online documentation}
|
|
2053
2035
|
*/
|
|
2054
2036
|
export type ItemGroupID = LuaItemGroup | string
|
|
2055
2037
|
/**
|
|
@@ -2059,7 +2041,7 @@ declare module "factorio:runtime" {
|
|
|
2059
2041
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
2060
2042
|
* - {@link LuaEntity}: The entity.
|
|
2061
2043
|
* - `string`: The prototype name.
|
|
2062
|
-
* @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}
|
|
2063
2045
|
*/
|
|
2064
2046
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
2065
2047
|
/**
|
|
@@ -2069,7 +2051,7 @@ declare module "factorio:runtime" {
|
|
|
2069
2051
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
2070
2052
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
2071
2053
|
* - `string`: The prototype name.
|
|
2072
|
-
* @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}
|
|
2073
2055
|
*/
|
|
2074
2056
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
2075
2057
|
/**
|
|
@@ -2078,7 +2060,7 @@ declare module "factorio:runtime" {
|
|
|
2078
2060
|
* ## Union members
|
|
2079
2061
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
2080
2062
|
* - `string`: The prototype name.
|
|
2081
|
-
* @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}
|
|
2082
2064
|
*/
|
|
2083
2065
|
export type ParticleID = LuaParticlePrototype | string
|
|
2084
2066
|
/**
|
|
@@ -2087,7 +2069,7 @@ declare module "factorio:runtime" {
|
|
|
2087
2069
|
* ## Union members
|
|
2088
2070
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
2089
2071
|
* - `string`: The prototype name.
|
|
2090
|
-
* @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}
|
|
2091
2073
|
*/
|
|
2092
2074
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
2093
2075
|
/**
|
|
@@ -2096,7 +2078,7 @@ declare module "factorio:runtime" {
|
|
|
2096
2078
|
* ## Union members
|
|
2097
2079
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
2098
2080
|
* - `string`: The prototype name.
|
|
2099
|
-
* @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}
|
|
2100
2082
|
*/
|
|
2101
2083
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
2102
2084
|
/**
|
|
@@ -2108,7 +2090,7 @@ declare module "factorio:runtime" {
|
|
|
2108
2090
|
* - `"left"`
|
|
2109
2091
|
* - `"right"`
|
|
2110
2092
|
* - `"center"`
|
|
2111
|
-
* @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}
|
|
2112
2094
|
*/
|
|
2113
2095
|
export type TextAlign = "left" | "right" | "center"
|
|
2114
2096
|
/**
|
|
@@ -2121,7 +2103,7 @@ declare module "factorio:runtime" {
|
|
|
2121
2103
|
* - `"middle"`
|
|
2122
2104
|
* - `"baseline"`
|
|
2123
2105
|
* - `"bottom"`
|
|
2124
|
-
* @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}
|
|
2125
2107
|
*/
|
|
2126
2108
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
2127
2109
|
/**
|
|
@@ -2130,7 +2112,7 @@ declare module "factorio:runtime" {
|
|
|
2130
2112
|
* ## Union members
|
|
2131
2113
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
2132
2114
|
* - `string`: The prototype name.
|
|
2133
|
-
* @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}
|
|
2134
2116
|
*/
|
|
2135
2117
|
export type QualityID = LuaQualityPrototype | string
|
|
2136
2118
|
/**
|
|
@@ -2139,7 +2121,7 @@ declare module "factorio:runtime" {
|
|
|
2139
2121
|
* ## Union members
|
|
2140
2122
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
2141
2123
|
* - `string`: By name of the recipe category prototype.
|
|
2142
|
-
* @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}
|
|
2143
2125
|
*/
|
|
2144
2126
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
2145
2127
|
/**
|
|
@@ -2149,7 +2131,7 @@ declare module "factorio:runtime" {
|
|
|
2149
2131
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
2150
2132
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
2151
2133
|
* - `string`: By name of the recipe prototype.
|
|
2152
|
-
* @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}
|
|
2153
2135
|
*/
|
|
2154
2136
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
2155
2137
|
/**
|
|
@@ -2159,7 +2141,7 @@ declare module "factorio:runtime" {
|
|
|
2159
2141
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
2160
2142
|
* - {@link LuaTile}: By instance of tile.
|
|
2161
2143
|
* - `string`: By name of the tile prototype.
|
|
2162
|
-
* @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}
|
|
2163
2145
|
*/
|
|
2164
2146
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
2165
2147
|
export interface Fluid {
|
|
@@ -2183,7 +2165,7 @@ declare module "factorio:runtime" {
|
|
|
2183
2165
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
2184
2166
|
* - {@link LuaEquipment}: The equipment.
|
|
2185
2167
|
* - `string`: The prototype name.
|
|
2186
|
-
* @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}
|
|
2187
2169
|
*/
|
|
2188
2170
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
2189
2171
|
/**
|
|
@@ -2195,19 +2177,19 @@ declare module "factorio:runtime" {
|
|
|
2195
2177
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2196
2178
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
2197
2179
|
* @see EquipmentWithQualityIDWrite
|
|
2198
|
-
* @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}
|
|
2199
2181
|
*/
|
|
2200
2182
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
2201
2183
|
/**
|
|
2202
2184
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
|
2203
|
-
* @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}
|
|
2204
2186
|
*/
|
|
2205
2187
|
export type EquipmentWithQualityIDWrite =
|
|
2206
2188
|
LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite
|
|
2207
2189
|
/**
|
|
2208
2190
|
* An equipment prototype with optional quality specification.
|
|
2209
2191
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
2210
|
-
* @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}
|
|
2211
2193
|
*/
|
|
2212
2194
|
export interface EquipmentIDAndQualityIDPair {
|
|
2213
2195
|
/**
|
|
@@ -2221,7 +2203,7 @@ declare module "factorio:runtime" {
|
|
|
2221
2203
|
}
|
|
2222
2204
|
/**
|
|
2223
2205
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2224
|
-
* @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}
|
|
2225
2207
|
*/
|
|
2226
2208
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
2227
2209
|
/**
|
|
@@ -2268,7 +2250,7 @@ declare module "factorio:runtime" {
|
|
|
2268
2250
|
* @example
|
|
2269
2251
|
* -- Shorthand
|
|
2270
2252
|
* {{-2, -3}, {5, 8}}
|
|
2271
|
-
* @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}
|
|
2272
2254
|
*/
|
|
2273
2255
|
export interface BoundingBox {
|
|
2274
2256
|
readonly left_top: MapPosition
|
|
@@ -2278,7 +2260,7 @@ declare module "factorio:runtime" {
|
|
|
2278
2260
|
/**
|
|
2279
2261
|
* Array form of {@link BoundingBox}.
|
|
2280
2262
|
* @see BoundingBox
|
|
2281
|
-
* @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}
|
|
2282
2264
|
*/
|
|
2283
2265
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
2284
2266
|
export interface BoundingBoxWrite {
|
|
@@ -2341,7 +2323,7 @@ declare module "factorio:runtime" {
|
|
|
2341
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.
|
|
2342
2324
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
2343
2325
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
2344
|
-
* @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}
|
|
2345
2327
|
*/
|
|
2346
2328
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
2347
2329
|
/**
|
|
@@ -2351,7 +2333,7 @@ declare module "factorio:runtime" {
|
|
|
2351
2333
|
* - PlayerIndex: The player index.
|
|
2352
2334
|
* - `string`: The player name.
|
|
2353
2335
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
2354
|
-
* @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}
|
|
2355
2337
|
*/
|
|
2356
2338
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
2357
2339
|
/**
|
|
@@ -2360,7 +2342,7 @@ declare module "factorio:runtime" {
|
|
|
2360
2342
|
* ## Union members
|
|
2361
2343
|
* - {@link ForceID}[]: Array of many forces.
|
|
2362
2344
|
* - {@link ForceID}: A single force.
|
|
2363
|
-
* @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}
|
|
2364
2346
|
*/
|
|
2365
2347
|
export type ForceSet = readonly ForceID[] | ForceID
|
|
2366
2348
|
/**
|
|
@@ -2369,7 +2351,7 @@ declare module "factorio:runtime" {
|
|
|
2369
2351
|
* ## Union members
|
|
2370
2352
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
2371
2353
|
* - `string`: The prototype name.
|
|
2372
|
-
* @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}
|
|
2373
2355
|
*/
|
|
2374
2356
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
2375
2357
|
/**
|
|
@@ -2378,7 +2360,7 @@ declare module "factorio:runtime" {
|
|
|
2378
2360
|
* ## Union members
|
|
2379
2361
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
2380
2362
|
* - `string`: The prototype name.
|
|
2381
|
-
* @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}
|
|
2382
2364
|
*/
|
|
2383
2365
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
2384
2366
|
/**
|
|
@@ -2387,7 +2369,7 @@ declare module "factorio:runtime" {
|
|
|
2387
2369
|
* ## Union members
|
|
2388
2370
|
* - {@link LuaSpaceConnectionPrototype}: The space connection prototype.
|
|
2389
2371
|
* - `string`: The prototype name.
|
|
2390
|
-
* @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}
|
|
2391
2373
|
*/
|
|
2392
2374
|
export type SpaceConnectionID = LuaSpaceConnectionPrototype | string
|
|
2393
2375
|
/**
|
|
@@ -2396,7 +2378,7 @@ declare module "factorio:runtime" {
|
|
|
2396
2378
|
* ## Union members
|
|
2397
2379
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
2398
2380
|
* - `string`: The prototype name.
|
|
2399
|
-
* @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}
|
|
2400
2382
|
*/
|
|
2401
2383
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
2402
2384
|
/**
|
|
@@ -2404,7 +2386,7 @@ declare module "factorio:runtime" {
|
|
|
2404
2386
|
*
|
|
2405
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.
|
|
2406
2388
|
* @see SignalFilterWrite
|
|
2407
|
-
* @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}
|
|
2408
2390
|
*/
|
|
2409
2391
|
export type SignalFilter =
|
|
2410
2392
|
| {
|
|
@@ -2428,7 +2410,7 @@ declare module "factorio:runtime" {
|
|
|
2428
2410
|
| string
|
|
2429
2411
|
/**
|
|
2430
2412
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
|
2431
|
-
* @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}
|
|
2432
2414
|
*/
|
|
2433
2415
|
export type SignalFilterWrite =
|
|
2434
2416
|
| {
|
|
@@ -2452,7 +2434,7 @@ declare module "factorio:runtime" {
|
|
|
2452
2434
|
| string
|
|
2453
2435
|
/**
|
|
2454
2436
|
* @see LogisticFilterWrite
|
|
2455
|
-
* @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}
|
|
2456
2438
|
*/
|
|
2457
2439
|
export interface LogisticFilter {
|
|
2458
2440
|
/**
|
|
@@ -2482,7 +2464,7 @@ declare module "factorio:runtime" {
|
|
|
2482
2464
|
}
|
|
2483
2465
|
/**
|
|
2484
2466
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
2485
|
-
* @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}
|
|
2486
2468
|
*/
|
|
2487
2469
|
export interface LogisticFilterWrite {
|
|
2488
2470
|
/**
|
|
@@ -2558,7 +2540,7 @@ declare module "factorio:runtime" {
|
|
|
2558
2540
|
* ## Union members
|
|
2559
2541
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
2560
2542
|
* - `string`: The prototype name.
|
|
2561
|
-
* @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}
|
|
2562
2544
|
*/
|
|
2563
2545
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
2564
2546
|
/**
|
|
@@ -2580,12 +2562,12 @@ declare module "factorio:runtime" {
|
|
|
2580
2562
|
* target = {type = "cursor", offset = {6, 7}}
|
|
2581
2563
|
* @example
|
|
2582
2564
|
* target = {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2583
|
-
* @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}
|
|
2584
2566
|
*/
|
|
2585
2567
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
2586
2568
|
/**
|
|
2587
2569
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
|
2588
|
-
* @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}
|
|
2589
2571
|
*/
|
|
2590
2572
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
2591
2573
|
/**
|
|
@@ -2607,7 +2589,7 @@ declare module "factorio:runtime" {
|
|
|
2607
2589
|
* {type = "cursor", offset = {6, 7}}
|
|
2608
2590
|
* @example
|
|
2609
2591
|
* {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2610
|
-
* @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}
|
|
2611
2593
|
*/
|
|
2612
2594
|
export interface ScriptRenderTargetTable {
|
|
2613
2595
|
/**
|
|
@@ -2629,7 +2611,7 @@ declare module "factorio:runtime" {
|
|
|
2629
2611
|
}
|
|
2630
2612
|
/**
|
|
2631
2613
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
|
2632
|
-
* @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}
|
|
2633
2615
|
*/
|
|
2634
2616
|
export interface ScriptRenderTargetTableWrite {
|
|
2635
2617
|
/**
|
|
@@ -2668,13 +2650,13 @@ declare module "factorio:runtime" {
|
|
|
2668
2650
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
2669
2651
|
* "iron-plate"
|
|
2670
2652
|
* {name="iron-plate", count=100}
|
|
2671
|
-
* @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}
|
|
2672
2654
|
*/
|
|
2673
2655
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
2674
2656
|
/**
|
|
2675
2657
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
2676
2658
|
* @see QualityConditionWrite
|
|
2677
|
-
* @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}
|
|
2678
2660
|
*/
|
|
2679
2661
|
export type QualityCondition =
|
|
2680
2662
|
| {
|
|
@@ -2690,7 +2672,7 @@ declare module "factorio:runtime" {
|
|
|
2690
2672
|
| string
|
|
2691
2673
|
/**
|
|
2692
2674
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
|
2693
|
-
* @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}
|
|
2694
2676
|
*/
|
|
2695
2677
|
export type QualityConditionWrite =
|
|
2696
2678
|
| {
|
|
@@ -2707,7 +2689,7 @@ declare module "factorio:runtime" {
|
|
|
2707
2689
|
/**
|
|
2708
2690
|
* The destination of a cargo pod.
|
|
2709
2691
|
* @see CargoDestinationWrite
|
|
2710
|
-
* @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}
|
|
2711
2693
|
*/
|
|
2712
2694
|
export interface CargoDestination {
|
|
2713
2695
|
/**
|
|
@@ -2745,7 +2727,7 @@ declare module "factorio:runtime" {
|
|
|
2745
2727
|
}
|
|
2746
2728
|
/**
|
|
2747
2729
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
|
2748
|
-
* @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}
|
|
2749
2731
|
*/
|
|
2750
2732
|
export interface CargoDestinationWrite {
|
|
2751
2733
|
/**
|
|
@@ -2799,7 +2781,7 @@ declare module "factorio:runtime" {
|
|
|
2799
2781
|
* furthest = { zoom = 1 / 16 },
|
|
2800
2782
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2801
2783
|
* }
|
|
2802
|
-
* @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}
|
|
2803
2785
|
*/
|
|
2804
2786
|
export interface ZoomLimits {
|
|
2805
2787
|
/**
|
|
@@ -2829,7 +2811,7 @@ declare module "factorio:runtime" {
|
|
|
2829
2811
|
*
|
|
2830
2812
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2831
2813
|
* { distance = 200, max_distance = 500 }
|
|
2832
|
-
* @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}
|
|
2833
2815
|
*/
|
|
2834
2816
|
export interface ZoomSpecification {
|
|
2835
2817
|
/**
|
|
@@ -2850,7 +2832,7 @@ declare module "factorio:runtime" {
|
|
|
2850
2832
|
* - `"game"`: Draw the object in the game world.
|
|
2851
2833
|
* - `"chart"`: Draw the object on the map.
|
|
2852
2834
|
* - `"build-cursor"`: Draw the object only when the player holds a buildable item trying to build an entity.
|
|
2853
|
-
* @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}
|
|
2854
2836
|
*/
|
|
2855
2837
|
export type ScriptRenderMode = "game" | "chart" | "build-cursor"
|
|
2856
2838
|
/**
|
|
@@ -2858,7 +2840,7 @@ declare module "factorio:runtime" {
|
|
|
2858
2840
|
* - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings.
|
|
2859
2841
|
* - `"light"`: Draw as light.
|
|
2860
2842
|
* - `"glow"`: Draw as both occluder and light at once to make the sprite visible during the day and glow at night.
|
|
2861
|
-
* @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}
|
|
2862
2844
|
*/
|
|
2863
2845
|
export type ScriptSpriteLightMode = "occluder" | "light" | "glow"
|
|
2864
2846
|
/**
|
|
@@ -2869,7 +2851,7 @@ declare module "factorio:runtime" {
|
|
|
2869
2851
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2870
2852
|
* - {@link defines.events}: Event identifier.
|
|
2871
2853
|
* - `string`: Name of the event.
|
|
2872
|
-
* @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}
|
|
2873
2855
|
*/
|
|
2874
2856
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2875
2857
|
export interface UnlockableID {
|
|
@@ -2908,7 +2890,7 @@ declare module "factorio:runtime" {
|
|
|
2908
2890
|
* - `"starter-packs-available"`
|
|
2909
2891
|
* - `"thrusters-available"`
|
|
2910
2892
|
* - `"capture-robots-available"`
|
|
2911
|
-
* @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}
|
|
2912
2894
|
*/
|
|
2913
2895
|
export type UnlockableIDType =
|
|
2914
2896
|
| "space-location"
|
|
@@ -2934,7 +2916,7 @@ declare module "factorio:runtime" {
|
|
|
2934
2916
|
* - `"planet"`
|
|
2935
2917
|
* - `"platforms"`
|
|
2936
2918
|
* - `"all"`
|
|
2937
|
-
* @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}
|
|
2938
2920
|
*/
|
|
2939
2921
|
export type RequestFromLocation = "planet" | "platforms" | "all"
|
|
2940
2922
|
/**
|
|
@@ -2942,13 +2924,13 @@ declare module "factorio:runtime" {
|
|
|
2942
2924
|
* - `"never"`
|
|
2943
2925
|
* - `"has-unit"`
|
|
2944
2926
|
* - `"always"`
|
|
2945
|
-
* @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}
|
|
2946
2928
|
*/
|
|
2947
2929
|
export type TerritoryVisibilityCondition = "never" | "has-unit" | "always"
|
|
2948
2930
|
/**
|
|
2949
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.
|
|
2950
2932
|
* @see TilePositionArray
|
|
2951
|
-
* @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}
|
|
2952
2934
|
*/
|
|
2953
2935
|
export interface TilePosition {
|
|
2954
2936
|
readonly x: int32
|
|
@@ -2957,14 +2939,14 @@ declare module "factorio:runtime" {
|
|
|
2957
2939
|
/**
|
|
2958
2940
|
* Array form of {@link TilePosition}.
|
|
2959
2941
|
* @see TilePosition
|
|
2960
|
-
* @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}
|
|
2961
2943
|
*/
|
|
2962
2944
|
export type TilePositionArray = readonly [int32, int32]
|
|
2963
2945
|
/**
|
|
2964
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.
|
|
2965
2947
|
*
|
|
2966
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".
|
|
2967
|
-
* @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}
|
|
2968
2950
|
*/
|
|
2969
2951
|
export type RealOrientation = float
|
|
2970
2952
|
export interface MapLocation {
|
|
@@ -2983,7 +2965,7 @@ declare module "factorio:runtime" {
|
|
|
2983
2965
|
* @example
|
|
2984
2966
|
* -- Shorthand
|
|
2985
2967
|
* {1.625, 2.375}
|
|
2986
|
-
* @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}
|
|
2987
2969
|
*/
|
|
2988
2970
|
export interface MapPosition {
|
|
2989
2971
|
readonly x: double
|
|
@@ -2992,7 +2974,7 @@ declare module "factorio:runtime" {
|
|
|
2992
2974
|
/**
|
|
2993
2975
|
* Array form of {@link MapPosition}.
|
|
2994
2976
|
* @see MapPosition
|
|
2995
|
-
* @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}
|
|
2996
2978
|
*/
|
|
2997
2979
|
export type MapPositionArray = readonly [double, double]
|
|
2998
2980
|
/**
|
|
@@ -3005,7 +2987,7 @@ declare module "factorio:runtime" {
|
|
|
3005
2987
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
3006
2988
|
* black = {} -- All channels omitted: black
|
|
3007
2989
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
|
3008
|
-
* @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}
|
|
3009
2991
|
*/
|
|
3010
2992
|
export interface Color {
|
|
3011
2993
|
readonly r?: float
|
|
@@ -3016,7 +2998,7 @@ declare module "factorio:runtime" {
|
|
|
3016
2998
|
/**
|
|
3017
2999
|
* Array form of {@link Color}.
|
|
3018
3000
|
* @see Color
|
|
3019
|
-
* @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}
|
|
3020
3002
|
*/
|
|
3021
3003
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
3022
3004
|
/**
|
|
@@ -3024,7 +3006,7 @@ declare module "factorio:runtime" {
|
|
|
3024
3006
|
* - `"center-to-center"`
|
|
3025
3007
|
* - `"bounding-box-to-bounding-box"`
|
|
3026
3008
|
* - `"center-to-bounding-box"`
|
|
3027
|
-
* @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}
|
|
3028
3010
|
*/
|
|
3029
3011
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
3030
3012
|
export interface BlueprintRollingStockConnection {
|
|
@@ -4092,7 +4074,7 @@ declare module "factorio:runtime" {
|
|
|
4092
4074
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
4093
4075
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
4094
4076
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
4095
|
-
* @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}
|
|
4096
4078
|
*/
|
|
4097
4079
|
export type BlueprintEntity =
|
|
4098
4080
|
| AccumulatorBlueprintEntity
|
|
@@ -4159,7 +4141,7 @@ declare module "factorio:runtime" {
|
|
|
4159
4141
|
| WallBlueprintEntity
|
|
4160
4142
|
/**
|
|
4161
4143
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
|
4162
|
-
* @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}
|
|
4163
4145
|
*/
|
|
4164
4146
|
export type BlueprintEntityWrite =
|
|
4165
4147
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -4234,7 +4216,7 @@ declare module "factorio:runtime" {
|
|
|
4234
4216
|
* - `target_entity_number`
|
|
4235
4217
|
*
|
|
4236
4218
|
* - `target_wire_connector_id`
|
|
4237
|
-
* @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}
|
|
4238
4220
|
*/
|
|
4239
4221
|
export type BlueprintWire = [
|
|
4240
4222
|
source_entity_number: uint32,
|
|
@@ -4439,7 +4421,7 @@ declare module "factorio:runtime" {
|
|
|
4439
4421
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
4440
4422
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
4441
4423
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
4442
|
-
* @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}
|
|
4443
4425
|
*/
|
|
4444
4426
|
export type UndoRedoAction =
|
|
4445
4427
|
| BuiltEntityUndoRedoAction
|
|
@@ -4656,7 +4638,7 @@ declare module "factorio:runtime" {
|
|
|
4656
4638
|
* - `"play-previous-track"`
|
|
4657
4639
|
* - `"pause-resume-music"`
|
|
4658
4640
|
* - `""`: Indicates no linked game control.
|
|
4659
|
-
* @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}
|
|
4660
4642
|
*/
|
|
4661
4643
|
export type LinkedGameControl =
|
|
4662
4644
|
| "move-up"
|
|
@@ -4864,7 +4846,7 @@ declare module "factorio:runtime" {
|
|
|
4864
4846
|
* - {@link LuaSpaceLocationPrototype}
|
|
4865
4847
|
* - {@link LuaTilePrototype}
|
|
4866
4848
|
* - {@link LuaVirtualSignalPrototype}
|
|
4867
|
-
* @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}
|
|
4868
4850
|
*/
|
|
4869
4851
|
export type PipetteID =
|
|
4870
4852
|
| LuaEntityPrototype
|
|
@@ -4884,7 +4866,7 @@ declare module "factorio:runtime" {
|
|
|
4884
4866
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4885
4867
|
* - `"same"`: The same force pass.
|
|
4886
4868
|
* - `"not-same"`: The non-same forces pass.
|
|
4887
|
-
* @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}
|
|
4888
4870
|
*/
|
|
4889
4871
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4890
4872
|
/**
|
|
@@ -4892,7 +4874,7 @@ declare module "factorio:runtime" {
|
|
|
4892
4874
|
* - `"input-output"`
|
|
4893
4875
|
* - `"input"`
|
|
4894
4876
|
* - `"output"`
|
|
4895
|
-
* @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}
|
|
4896
4878
|
*/
|
|
4897
4879
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4898
4880
|
/**
|
|
@@ -4900,7 +4882,7 @@ declare module "factorio:runtime" {
|
|
|
4900
4882
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4901
4883
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4902
4884
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4903
|
-
* @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}
|
|
4904
4886
|
*/
|
|
4905
4887
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4906
4888
|
export interface PipeConnectionDefinition {
|
|
@@ -4932,7 +4914,7 @@ declare module "factorio:runtime" {
|
|
|
4932
4914
|
}
|
|
4933
4915
|
/**
|
|
4934
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`.
|
|
4935
|
-
* @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}
|
|
4936
4918
|
*/
|
|
4937
4919
|
export type FluidAmount = double
|
|
4938
4920
|
/**
|
|
@@ -4943,7 +4925,7 @@ declare module "factorio:runtime" {
|
|
|
4943
4925
|
* - `"input"`
|
|
4944
4926
|
* - `"input-output"`
|
|
4945
4927
|
* - `"output"`
|
|
4946
|
-
* @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}
|
|
4947
4929
|
*/
|
|
4948
4930
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4949
4931
|
export interface SurfaceCondition {
|
|
@@ -4955,7 +4937,7 @@ declare module "factorio:runtime" {
|
|
|
4955
4937
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4956
4938
|
*
|
|
4957
4939
|
* By default, none of these flags are set.
|
|
4958
|
-
* @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}
|
|
4959
4941
|
*/
|
|
4960
4942
|
export type ItemPrototypeFlags = {
|
|
4961
4943
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4980,7 +4962,7 @@ declare module "factorio:runtime" {
|
|
|
4980
4962
|
* - `"hide-health-bar-in-world"`
|
|
4981
4963
|
* - `"hide-spoilage-bar-in-world"`
|
|
4982
4964
|
* - `"no-item-on-ground-merging"`
|
|
4983
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4965
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFlag.html Online documentation}
|
|
4984
4966
|
*/
|
|
4985
4967
|
export type ItemPrototypeFlag =
|
|
4986
4968
|
| "draw-logistic-overlay"
|
|
@@ -5001,7 +4983,7 @@ declare module "factorio:runtime" {
|
|
|
5001
4983
|
| "no-item-on-ground-merging"
|
|
5002
4984
|
/**
|
|
5003
4985
|
* @see UpgradeMapperSourceWrite
|
|
5004
|
-
* @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}
|
|
5005
4987
|
*/
|
|
5006
4988
|
export interface UpgradeMapperSource {
|
|
5007
4989
|
readonly type: "item" | "entity"
|
|
@@ -5024,7 +5006,7 @@ declare module "factorio:runtime" {
|
|
|
5024
5006
|
}
|
|
5025
5007
|
/**
|
|
5026
5008
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
|
5027
|
-
* @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}
|
|
5028
5010
|
*/
|
|
5029
5011
|
export interface UpgradeMapperSourceWrite {
|
|
5030
5012
|
readonly type: "item" | "entity"
|
|
@@ -5114,7 +5096,7 @@ declare module "factorio:runtime" {
|
|
|
5114
5096
|
* - `"controllable-remove"`
|
|
5115
5097
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
5116
5098
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
5117
|
-
* @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}
|
|
5118
5100
|
*/
|
|
5119
5101
|
export interface SelectionModeFlags {
|
|
5120
5102
|
/**
|
|
@@ -5271,7 +5253,7 @@ declare module "factorio:runtime" {
|
|
|
5271
5253
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
5272
5254
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
5273
5255
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
5274
|
-
* @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}
|
|
5275
5257
|
*/
|
|
5276
5258
|
export type CapsuleAction =
|
|
5277
5259
|
| ThrowCapsuleAction
|
|
@@ -5284,7 +5266,7 @@ declare module "factorio:runtime" {
|
|
|
5284
5266
|
* - `"none"`
|
|
5285
5267
|
* - `"whitelist"`
|
|
5286
5268
|
* - `"blacklist"`
|
|
5287
|
-
* @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}
|
|
5288
5270
|
*/
|
|
5289
5271
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
5290
5272
|
export interface SpoilToTriggerResult {
|
|
@@ -5323,7 +5305,7 @@ declare module "factorio:runtime" {
|
|
|
5323
5305
|
* - `"entity"`: Fires at an entity.
|
|
5324
5306
|
* - `"position"`: Fires directly at a position.
|
|
5325
5307
|
* - `"direction"`: Fires in a direction.
|
|
5326
|
-
* @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}
|
|
5327
5309
|
*/
|
|
5328
5310
|
export type TargetType = "entity" | "position" | "direction"
|
|
5329
5311
|
export interface AmmoType {
|
|
@@ -5347,7 +5329,7 @@ declare module "factorio:runtime" {
|
|
|
5347
5329
|
}
|
|
5348
5330
|
/**
|
|
5349
5331
|
* @see BlueprintItemFilterWrite
|
|
5350
|
-
* @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}
|
|
5351
5333
|
*/
|
|
5352
5334
|
export interface BlueprintItemFilter {
|
|
5353
5335
|
readonly index: uint32
|
|
@@ -5366,7 +5348,7 @@ declare module "factorio:runtime" {
|
|
|
5366
5348
|
}
|
|
5367
5349
|
/**
|
|
5368
5350
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
5369
|
-
* @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}
|
|
5370
5352
|
*/
|
|
5371
5353
|
export interface BlueprintItemFilterWrite {
|
|
5372
5354
|
readonly index: uint32
|
|
@@ -5385,7 +5367,7 @@ declare module "factorio:runtime" {
|
|
|
5385
5367
|
}
|
|
5386
5368
|
/**
|
|
5387
5369
|
* @see BlueprintInventoryWithFiltersWrite
|
|
5388
|
-
* @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}
|
|
5389
5371
|
*/
|
|
5390
5372
|
export interface BlueprintInventoryWithFilters {
|
|
5391
5373
|
readonly bar?: ItemStackIndex
|
|
@@ -5393,7 +5375,7 @@ declare module "factorio:runtime" {
|
|
|
5393
5375
|
}
|
|
5394
5376
|
/**
|
|
5395
5377
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
|
5396
|
-
* @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}
|
|
5397
5379
|
*/
|
|
5398
5380
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
5399
5381
|
readonly bar?: ItemStackIndex
|
|
@@ -5460,7 +5442,7 @@ declare module "factorio:runtime" {
|
|
|
5460
5442
|
}
|
|
5461
5443
|
/**
|
|
5462
5444
|
* @see BlueprintEquipmentWrite
|
|
5463
|
-
* @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}
|
|
5464
5446
|
*/
|
|
5465
5447
|
export interface BlueprintEquipment {
|
|
5466
5448
|
readonly equipment: LuaEquipmentPrototype
|
|
@@ -5484,7 +5466,7 @@ declare module "factorio:runtime" {
|
|
|
5484
5466
|
}
|
|
5485
5467
|
/**
|
|
5486
5468
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
|
5487
|
-
* @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}
|
|
5488
5470
|
*/
|
|
5489
5471
|
export interface BlueprintEquipmentWrite {
|
|
5490
5472
|
readonly equipment: EquipmentWithQualityID
|
|
@@ -5516,7 +5498,7 @@ declare module "factorio:runtime" {
|
|
|
5516
5498
|
* @example
|
|
5517
5499
|
* -- Shorthand
|
|
5518
5500
|
* {1, 2}
|
|
5519
|
-
* @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}
|
|
5520
5502
|
*/
|
|
5521
5503
|
export interface EquipmentPosition {
|
|
5522
5504
|
readonly x: int32
|
|
@@ -5525,12 +5507,12 @@ declare module "factorio:runtime" {
|
|
|
5525
5507
|
/**
|
|
5526
5508
|
* Array form of {@link EquipmentPosition}.
|
|
5527
5509
|
* @see EquipmentPosition
|
|
5528
|
-
* @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}
|
|
5529
5511
|
*/
|
|
5530
5512
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
5531
5513
|
/**
|
|
5532
5514
|
* @see MapEditorSettingWrite
|
|
5533
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5515
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapEditorSetting.html Online documentation}
|
|
5534
5516
|
*/
|
|
5535
5517
|
export interface MapEditorSetting {
|
|
5536
5518
|
readonly position?: MapPosition
|
|
@@ -5568,7 +5550,7 @@ declare module "factorio:runtime" {
|
|
|
5568
5550
|
}
|
|
5569
5551
|
/**
|
|
5570
5552
|
* Write form of {@link MapEditorSetting}, where some properties allow additional values as input compared to the read form.
|
|
5571
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5553
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapEditorSetting.html Online documentation}
|
|
5572
5554
|
*/
|
|
5573
5555
|
export interface MapEditorSettingWrite {
|
|
5574
5556
|
readonly position?: MapPosition | MapPositionArray
|
|
@@ -5606,7 +5588,7 @@ declare module "factorio:runtime" {
|
|
|
5606
5588
|
}
|
|
5607
5589
|
/**
|
|
5608
5590
|
* An actual signal transmitted by the network.
|
|
5609
|
-
* @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}
|
|
5610
5592
|
*/
|
|
5611
5593
|
export interface Signal {
|
|
5612
5594
|
/**
|
|
@@ -5620,7 +5602,7 @@ declare module "factorio:runtime" {
|
|
|
5620
5602
|
}
|
|
5621
5603
|
/**
|
|
5622
5604
|
* @see DisplayPanelMessageDefinitionWrite
|
|
5623
|
-
* @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}
|
|
5624
5606
|
*/
|
|
5625
5607
|
export interface DisplayPanelMessageDefinition {
|
|
5626
5608
|
/**
|
|
@@ -5638,7 +5620,7 @@ declare module "factorio:runtime" {
|
|
|
5638
5620
|
}
|
|
5639
5621
|
/**
|
|
5640
5622
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
|
5641
|
-
* @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}
|
|
5642
5624
|
*/
|
|
5643
5625
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
5644
5626
|
/**
|
|
@@ -5666,7 +5648,7 @@ declare module "factorio:runtime" {
|
|
|
5666
5648
|
}
|
|
5667
5649
|
/**
|
|
5668
5650
|
* @see CircuitConditionWrite
|
|
5669
|
-
* @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}
|
|
5670
5652
|
*/
|
|
5671
5653
|
export interface CircuitCondition {
|
|
5672
5654
|
/**
|
|
@@ -5688,7 +5670,7 @@ declare module "factorio:runtime" {
|
|
|
5688
5670
|
}
|
|
5689
5671
|
/**
|
|
5690
5672
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
|
5691
|
-
* @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}
|
|
5692
5674
|
*/
|
|
5693
5675
|
export interface CircuitConditionWrite {
|
|
5694
5676
|
/**
|
|
@@ -5710,7 +5692,7 @@ declare module "factorio:runtime" {
|
|
|
5710
5692
|
}
|
|
5711
5693
|
/**
|
|
5712
5694
|
* @see SignalIDWrite
|
|
5713
|
-
* @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}
|
|
5714
5696
|
*/
|
|
5715
5697
|
export interface SignalID {
|
|
5716
5698
|
/**
|
|
@@ -5728,7 +5710,7 @@ declare module "factorio:runtime" {
|
|
|
5728
5710
|
}
|
|
5729
5711
|
/**
|
|
5730
5712
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
|
5731
|
-
* @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}
|
|
5732
5714
|
*/
|
|
5733
5715
|
export interface SignalIDWrite {
|
|
5734
5716
|
/**
|
|
@@ -5764,13 +5746,13 @@ declare module "factorio:runtime" {
|
|
|
5764
5746
|
* - `"space-location"`
|
|
5765
5747
|
* - `"asteroid-chunk"`
|
|
5766
5748
|
* - `"quality"`
|
|
5767
|
-
* @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}
|
|
5768
5750
|
*/
|
|
5769
5751
|
export type SignalIDType =
|
|
5770
5752
|
"item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality"
|
|
5771
5753
|
/**
|
|
5772
5754
|
* @see DeciderCombinatorParametersWrite
|
|
5773
|
-
* @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}
|
|
5774
5756
|
*/
|
|
5775
5757
|
export interface DeciderCombinatorParameters {
|
|
5776
5758
|
/**
|
|
@@ -5788,7 +5770,7 @@ declare module "factorio:runtime" {
|
|
|
5788
5770
|
}
|
|
5789
5771
|
/**
|
|
5790
5772
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5791
|
-
* @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}
|
|
5792
5774
|
*/
|
|
5793
5775
|
export interface DeciderCombinatorParametersWrite {
|
|
5794
5776
|
/**
|
|
@@ -5806,7 +5788,7 @@ declare module "factorio:runtime" {
|
|
|
5806
5788
|
}
|
|
5807
5789
|
/**
|
|
5808
5790
|
* @see DeciderCombinatorConditionWrite
|
|
5809
|
-
* @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}
|
|
5810
5792
|
*/
|
|
5811
5793
|
export interface DeciderCombinatorCondition {
|
|
5812
5794
|
/**
|
|
@@ -5840,7 +5822,7 @@ declare module "factorio:runtime" {
|
|
|
5840
5822
|
}
|
|
5841
5823
|
/**
|
|
5842
5824
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
|
5843
|
-
* @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}
|
|
5844
5826
|
*/
|
|
5845
5827
|
export interface DeciderCombinatorConditionWrite {
|
|
5846
5828
|
/**
|
|
@@ -5874,7 +5856,7 @@ declare module "factorio:runtime" {
|
|
|
5874
5856
|
}
|
|
5875
5857
|
/**
|
|
5876
5858
|
* @see DeciderCombinatorOutputWrite
|
|
5877
|
-
* @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}
|
|
5878
5860
|
*/
|
|
5879
5861
|
export interface DeciderCombinatorOutput {
|
|
5880
5862
|
/**
|
|
@@ -5896,7 +5878,7 @@ declare module "factorio:runtime" {
|
|
|
5896
5878
|
}
|
|
5897
5879
|
/**
|
|
5898
5880
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
|
5899
|
-
* @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}
|
|
5900
5882
|
*/
|
|
5901
5883
|
export interface DeciderCombinatorOutputWrite {
|
|
5902
5884
|
/**
|
|
@@ -5918,7 +5900,7 @@ declare module "factorio:runtime" {
|
|
|
5918
5900
|
}
|
|
5919
5901
|
/**
|
|
5920
5902
|
* @see ArithmeticCombinatorParametersWrite
|
|
5921
|
-
* @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}
|
|
5922
5904
|
*/
|
|
5923
5905
|
export interface ArithmeticCombinatorParameters {
|
|
5924
5906
|
/**
|
|
@@ -5956,7 +5938,7 @@ declare module "factorio:runtime" {
|
|
|
5956
5938
|
}
|
|
5957
5939
|
/**
|
|
5958
5940
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5959
|
-
* @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}
|
|
5960
5942
|
*/
|
|
5961
5943
|
export interface ArithmeticCombinatorParametersWrite {
|
|
5962
5944
|
/**
|
|
@@ -6005,7 +5987,7 @@ declare module "factorio:runtime" {
|
|
|
6005
5987
|
* - `"AND"`
|
|
6006
5988
|
* - `"OR"`
|
|
6007
5989
|
* - `"XOR"`
|
|
6008
|
-
* @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}
|
|
6009
5991
|
*/
|
|
6010
5992
|
export type ArithmeticCombinatorParameterOperation =
|
|
6011
5993
|
"*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR"
|
|
@@ -6181,7 +6163,7 @@ declare module "factorio:runtime" {
|
|
|
6181
6163
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
6182
6164
|
* - `"time"`: {@link TimeSelectorCombinatorParameters}
|
|
6183
6165
|
* - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters}
|
|
6184
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6166
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6185
6167
|
*/
|
|
6186
6168
|
export type SelectorCombinatorParameters =
|
|
6187
6169
|
| SelectSelectorCombinatorParameters
|
|
@@ -6194,7 +6176,7 @@ declare module "factorio:runtime" {
|
|
|
6194
6176
|
| OtherSelectorCombinatorParameters
|
|
6195
6177
|
/**
|
|
6196
6178
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
6197
|
-
* @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}
|
|
6198
6180
|
*/
|
|
6199
6181
|
export type SelectorCombinatorParametersWrite =
|
|
6200
6182
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -6216,7 +6198,7 @@ declare module "factorio:runtime" {
|
|
|
6216
6198
|
* - `"quality-filter"`
|
|
6217
6199
|
* - `"time"`
|
|
6218
6200
|
* - `"quality-select"`
|
|
6219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6201
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
|
6220
6202
|
*/
|
|
6221
6203
|
export type SelectorCombinatorParameterOperation =
|
|
6222
6204
|
| "select"
|
|
@@ -6277,7 +6259,7 @@ declare module "factorio:runtime" {
|
|
|
6277
6259
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6278
6260
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6279
6261
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6280
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6262
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/Product.html Online documentation}
|
|
6281
6263
|
*/
|
|
6282
6264
|
export type Product = ItemProduct | FluidProduct
|
|
6283
6265
|
export interface SharedProbabilityDefinition {
|
|
@@ -6298,7 +6280,7 @@ declare module "factorio:runtime" {
|
|
|
6298
6280
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6299
6281
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6300
6282
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6301
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6283
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemProduct.html Online documentation}
|
|
6302
6284
|
*/
|
|
6303
6285
|
export interface ItemProduct {
|
|
6304
6286
|
readonly type: "item"
|
|
@@ -6349,7 +6331,7 @@ declare module "factorio:runtime" {
|
|
|
6349
6331
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6350
6332
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6351
6333
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6352
|
-
* @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}
|
|
6353
6335
|
*/
|
|
6354
6336
|
export interface FluidProduct {
|
|
6355
6337
|
readonly type: "fluid"
|
|
@@ -6390,7 +6372,7 @@ declare module "factorio:runtime" {
|
|
|
6390
6372
|
}
|
|
6391
6373
|
/**
|
|
6392
6374
|
* @see BlueprintScheduleRecordWrite
|
|
6393
|
-
* @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}
|
|
6394
6376
|
*/
|
|
6395
6377
|
export interface BlueprintScheduleRecord {
|
|
6396
6378
|
/**
|
|
@@ -6404,7 +6386,7 @@ declare module "factorio:runtime" {
|
|
|
6404
6386
|
}
|
|
6405
6387
|
/**
|
|
6406
6388
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6407
|
-
* @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}
|
|
6408
6390
|
*/
|
|
6409
6391
|
export interface BlueprintScheduleRecordWrite {
|
|
6410
6392
|
/**
|
|
@@ -6418,7 +6400,7 @@ declare module "factorio:runtime" {
|
|
|
6418
6400
|
}
|
|
6419
6401
|
/**
|
|
6420
6402
|
* @see ScheduleRecordWrite
|
|
6421
|
-
* @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}
|
|
6422
6404
|
*/
|
|
6423
6405
|
export interface ScheduleRecord {
|
|
6424
6406
|
/**
|
|
@@ -6437,7 +6419,7 @@ declare module "factorio:runtime" {
|
|
|
6437
6419
|
}
|
|
6438
6420
|
/**
|
|
6439
6421
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6440
|
-
* @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}
|
|
6441
6423
|
*/
|
|
6442
6424
|
export interface ScheduleRecordWrite {
|
|
6443
6425
|
/**
|
|
@@ -6456,7 +6438,7 @@ declare module "factorio:runtime" {
|
|
|
6456
6438
|
}
|
|
6457
6439
|
/**
|
|
6458
6440
|
* @see BlueprintScheduleInterruptWrite
|
|
6459
|
-
* @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}
|
|
6460
6442
|
*/
|
|
6461
6443
|
export interface BlueprintScheduleInterrupt {
|
|
6462
6444
|
/**
|
|
@@ -6472,7 +6454,7 @@ declare module "factorio:runtime" {
|
|
|
6472
6454
|
}
|
|
6473
6455
|
/**
|
|
6474
6456
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6475
|
-
* @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}
|
|
6476
6458
|
*/
|
|
6477
6459
|
export interface BlueprintScheduleInterruptWrite {
|
|
6478
6460
|
/**
|
|
@@ -6488,7 +6470,7 @@ declare module "factorio:runtime" {
|
|
|
6488
6470
|
}
|
|
6489
6471
|
/**
|
|
6490
6472
|
* @see ScheduleInterruptWrite
|
|
6491
|
-
* @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}
|
|
6492
6474
|
*/
|
|
6493
6475
|
export interface ScheduleInterrupt {
|
|
6494
6476
|
/**
|
|
@@ -6504,7 +6486,7 @@ declare module "factorio:runtime" {
|
|
|
6504
6486
|
}
|
|
6505
6487
|
/**
|
|
6506
6488
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6507
|
-
* @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}
|
|
6508
6490
|
*/
|
|
6509
6491
|
export interface ScheduleInterruptWrite {
|
|
6510
6492
|
/**
|
|
@@ -6520,7 +6502,7 @@ declare module "factorio:runtime" {
|
|
|
6520
6502
|
}
|
|
6521
6503
|
/**
|
|
6522
6504
|
* @see WaitConditionWrite
|
|
6523
|
-
* @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}
|
|
6524
6506
|
*/
|
|
6525
6507
|
export interface WaitCondition {
|
|
6526
6508
|
readonly type: WaitConditionType
|
|
@@ -6551,7 +6533,7 @@ declare module "factorio:runtime" {
|
|
|
6551
6533
|
}
|
|
6552
6534
|
/**
|
|
6553
6535
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
|
6554
|
-
* @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}
|
|
6555
6537
|
*/
|
|
6556
6538
|
export interface WaitConditionWrite {
|
|
6557
6539
|
readonly type: WaitConditionType
|
|
@@ -6610,7 +6592,7 @@ declare module "factorio:runtime" {
|
|
|
6610
6592
|
* - `"at_station"`
|
|
6611
6593
|
* - `"not_at_station"`
|
|
6612
6594
|
* - `"damage_taken"`
|
|
6613
|
-
* @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}
|
|
6614
6596
|
*/
|
|
6615
6597
|
export type WaitConditionType =
|
|
6616
6598
|
| "time"
|
|
@@ -6641,7 +6623,7 @@ declare module "factorio:runtime" {
|
|
|
6641
6623
|
| "damage_taken"
|
|
6642
6624
|
/**
|
|
6643
6625
|
* @see BlueprintScheduleWrite
|
|
6644
|
-
* @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}
|
|
6645
6627
|
*/
|
|
6646
6628
|
export interface BlueprintSchedule {
|
|
6647
6629
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6650,7 +6632,7 @@ declare module "factorio:runtime" {
|
|
|
6650
6632
|
}
|
|
6651
6633
|
/**
|
|
6652
6634
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
|
6653
|
-
* @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}
|
|
6654
6636
|
*/
|
|
6655
6637
|
export interface BlueprintScheduleWrite {
|
|
6656
6638
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6722,7 +6704,7 @@ declare module "factorio:runtime" {
|
|
|
6722
6704
|
* - `"vehicle-logistics"`
|
|
6723
6705
|
* - `"unlock-logistic-network"`
|
|
6724
6706
|
* - `"unlock-travel-to-space-platforms"`
|
|
6725
|
-
* @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}
|
|
6726
6708
|
*/
|
|
6727
6709
|
export type ModifierType =
|
|
6728
6710
|
| "inserter-stack-size-bonus"
|
|
@@ -7377,7 +7359,7 @@ declare module "factorio:runtime" {
|
|
|
7377
7359
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7378
7360
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7379
7361
|
* - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier}
|
|
7380
|
-
* @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}
|
|
7381
7363
|
*/
|
|
7382
7364
|
export type TechnologyModifier =
|
|
7383
7365
|
| AmmoDamageTechnologyModifier
|
|
@@ -7485,7 +7467,7 @@ declare module "factorio:runtime" {
|
|
|
7485
7467
|
* Other attributes may be specified depending on `type`:
|
|
7486
7468
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7487
7469
|
* - `"item"`: {@link ItemIngredient}
|
|
7488
|
-
* @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}
|
|
7489
7471
|
*/
|
|
7490
7472
|
export type Ingredient = FluidIngredient | ItemIngredient
|
|
7491
7473
|
/**
|
|
@@ -7506,7 +7488,7 @@ declare module "factorio:runtime" {
|
|
|
7506
7488
|
* * other_base_coefficient
|
|
7507
7489
|
* score(chunk) = 1 / (1 + player + base)
|
|
7508
7490
|
* ```
|
|
7509
|
-
* @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}
|
|
7510
7492
|
*/
|
|
7511
7493
|
export interface EnemyExpansionMapSettings {
|
|
7512
7494
|
/**
|
|
@@ -7771,23 +7753,23 @@ declare module "factorio:runtime" {
|
|
|
7771
7753
|
}
|
|
7772
7754
|
/**
|
|
7773
7755
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
|
7774
|
-
* @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}
|
|
7775
7757
|
*/
|
|
7776
7758
|
export interface DifficultySettings {
|
|
7777
7759
|
/**
|
|
7778
7760
|
* A value in range [0.001, 100000].
|
|
7779
|
-
* @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}
|
|
7780
7762
|
*/
|
|
7781
7763
|
technology_price_multiplier: double
|
|
7782
7764
|
/**
|
|
7783
7765
|
* A value in range [0.01, 100].
|
|
7784
|
-
* @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}
|
|
7785
7767
|
*/
|
|
7786
7768
|
spoil_time_modifier: double
|
|
7787
7769
|
}
|
|
7788
7770
|
/**
|
|
7789
7771
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
|
7790
|
-
* @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}
|
|
7791
7773
|
*/
|
|
7792
7774
|
export interface MapAndDifficultySettings {
|
|
7793
7775
|
readonly pollution: PollutionMapSettings
|
|
@@ -7807,7 +7789,7 @@ declare module "factorio:runtime" {
|
|
|
7807
7789
|
* @example
|
|
7808
7790
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7809
7791
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7810
|
-
* @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}
|
|
7811
7793
|
*/
|
|
7812
7794
|
export interface MapSettings {
|
|
7813
7795
|
pollution: PollutionMapSettings
|
|
@@ -7818,7 +7800,7 @@ declare module "factorio:runtime" {
|
|
|
7818
7800
|
asteroids: AsteroidMapSettings
|
|
7819
7801
|
/**
|
|
7820
7802
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
7821
|
-
* @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}
|
|
7822
7804
|
*/
|
|
7823
7805
|
max_failed_behavior_count: uint32
|
|
7824
7806
|
}
|
|
@@ -7847,7 +7829,7 @@ declare module "factorio:runtime" {
|
|
|
7847
7829
|
* - `"very-high"`: equivalent to `2`.
|
|
7848
7830
|
* - `"very-big"`: equivalent to `2`.
|
|
7849
7831
|
* - `"very-good"`: equivalent to `2`.
|
|
7850
|
-
* @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}
|
|
7851
7833
|
*/
|
|
7852
7834
|
export type MapGenSize =
|
|
7853
7835
|
| float
|
|
@@ -7869,7 +7851,7 @@ declare module "factorio:runtime" {
|
|
|
7869
7851
|
| "very-good"
|
|
7870
7852
|
/**
|
|
7871
7853
|
* These values are for the time frame of one second (60 ticks).
|
|
7872
|
-
* @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}
|
|
7873
7855
|
*/
|
|
7874
7856
|
export interface PollutionMapSettings {
|
|
7875
7857
|
/**
|
|
@@ -7919,7 +7901,7 @@ declare module "factorio:runtime" {
|
|
|
7919
7901
|
}
|
|
7920
7902
|
/**
|
|
7921
7903
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
|
7922
|
-
* @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}
|
|
7923
7905
|
*/
|
|
7924
7906
|
export interface EnemyEvolutionMapSettings {
|
|
7925
7907
|
/**
|
|
@@ -7941,7 +7923,7 @@ declare module "factorio:runtime" {
|
|
|
7941
7923
|
}
|
|
7942
7924
|
/**
|
|
7943
7925
|
* @see AutoplaceControlWrite
|
|
7944
|
-
* @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}
|
|
7945
7927
|
*/
|
|
7946
7928
|
export interface AutoplaceControl {
|
|
7947
7929
|
/**
|
|
@@ -7959,7 +7941,7 @@ declare module "factorio:runtime" {
|
|
|
7959
7941
|
}
|
|
7960
7942
|
/**
|
|
7961
7943
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
|
7962
|
-
* @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}
|
|
7963
7945
|
*/
|
|
7964
7946
|
export interface AutoplaceControlWrite {
|
|
7965
7947
|
/**
|
|
@@ -7977,7 +7959,7 @@ declare module "factorio:runtime" {
|
|
|
7977
7959
|
}
|
|
7978
7960
|
/**
|
|
7979
7961
|
* @see CliffPlacementSettingsWrite
|
|
7980
|
-
* @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}
|
|
7981
7963
|
*/
|
|
7982
7964
|
export interface CliffPlacementSettings {
|
|
7983
7965
|
/**
|
|
@@ -8007,7 +7989,7 @@ declare module "factorio:runtime" {
|
|
|
8007
7989
|
}
|
|
8008
7990
|
/**
|
|
8009
7991
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
|
8010
|
-
* @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}
|
|
8011
7993
|
*/
|
|
8012
7994
|
export interface CliffPlacementSettingsWrite {
|
|
8013
7995
|
/**
|
|
@@ -8037,7 +8019,7 @@ declare module "factorio:runtime" {
|
|
|
8037
8019
|
}
|
|
8038
8020
|
/**
|
|
8039
8021
|
* @see AutoplaceSettingsWrite
|
|
8040
|
-
* @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}
|
|
8041
8023
|
*/
|
|
8042
8024
|
export interface AutoplaceSettings {
|
|
8043
8025
|
/**
|
|
@@ -8051,7 +8033,7 @@ declare module "factorio:runtime" {
|
|
|
8051
8033
|
}
|
|
8052
8034
|
/**
|
|
8053
8035
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
|
8054
|
-
* @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}
|
|
8055
8037
|
*/
|
|
8056
8038
|
export interface AutoplaceSettingsWrite {
|
|
8057
8039
|
/**
|
|
@@ -8087,7 +8069,7 @@ declare module "factorio:runtime" {
|
|
|
8087
8069
|
* surface.map_gen_settings = mgs
|
|
8088
8070
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
8089
8071
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
8090
|
-
* @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}
|
|
8091
8073
|
*/
|
|
8092
8074
|
export interface MapGenSettings {
|
|
8093
8075
|
/**
|
|
@@ -8142,7 +8124,7 @@ declare module "factorio:runtime" {
|
|
|
8142
8124
|
}
|
|
8143
8125
|
/**
|
|
8144
8126
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
|
8145
|
-
* @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}
|
|
8146
8128
|
*/
|
|
8147
8129
|
export interface MapGenSettingsWrite {
|
|
8148
8130
|
/**
|
|
@@ -8226,12 +8208,12 @@ declare module "factorio:runtime" {
|
|
|
8226
8208
|
}
|
|
8227
8209
|
/**
|
|
8228
8210
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
|
8229
|
-
* @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}
|
|
8230
8212
|
*/
|
|
8231
8213
|
export type NoiseExpressionSourceString = string
|
|
8232
8214
|
/**
|
|
8233
8215
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
8234
|
-
* @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}
|
|
8235
8217
|
*/
|
|
8236
8218
|
export interface AutoplaceSpecification {
|
|
8237
8219
|
readonly placement_density: uint32
|
|
@@ -8314,13 +8296,13 @@ declare module "factorio:runtime" {
|
|
|
8314
8296
|
*/
|
|
8315
8297
|
readonly migration_applied: boolean
|
|
8316
8298
|
/**
|
|
8317
|
-
* 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.
|
|
8318
8300
|
*/
|
|
8319
8301
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8320
8302
|
}
|
|
8321
8303
|
/**
|
|
8322
8304
|
* @see AsteroidChunkWrite
|
|
8323
|
-
* @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}
|
|
8324
8306
|
*/
|
|
8325
8307
|
export interface AsteroidChunk {
|
|
8326
8308
|
/**
|
|
@@ -8332,7 +8314,7 @@ declare module "factorio:runtime" {
|
|
|
8332
8314
|
}
|
|
8333
8315
|
/**
|
|
8334
8316
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
|
8335
|
-
* @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}
|
|
8336
8318
|
*/
|
|
8337
8319
|
export interface AsteroidChunkWrite {
|
|
8338
8320
|
/**
|
|
@@ -8344,7 +8326,7 @@ declare module "factorio:runtime" {
|
|
|
8344
8326
|
}
|
|
8345
8327
|
/**
|
|
8346
8328
|
* An item thrown overboard on a space platform.
|
|
8347
|
-
* @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}
|
|
8348
8330
|
*/
|
|
8349
8331
|
export interface EjectedItem {
|
|
8350
8332
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8356,7 +8338,7 @@ declare module "factorio:runtime" {
|
|
|
8356
8338
|
}
|
|
8357
8339
|
/**
|
|
8358
8340
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
8359
|
-
* @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}
|
|
8360
8342
|
*/
|
|
8361
8343
|
export interface MapExchangeStringData {
|
|
8362
8344
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8382,7 +8364,7 @@ declare module "factorio:runtime" {
|
|
|
8382
8364
|
}
|
|
8383
8365
|
/**
|
|
8384
8366
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8385
|
-
* @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}
|
|
8386
8368
|
*/
|
|
8387
8369
|
export interface ChunkPositionAndArea {
|
|
8388
8370
|
readonly x: int32
|
|
@@ -8431,7 +8413,7 @@ declare module "factorio:runtime" {
|
|
|
8431
8413
|
* - `"check-box"`
|
|
8432
8414
|
* - `"switch"`
|
|
8433
8415
|
* - `"label"`
|
|
8434
|
-
* @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}
|
|
8435
8417
|
*/
|
|
8436
8418
|
export type SimulationWidgetType =
|
|
8437
8419
|
| "signal-id"
|
|
@@ -8620,7 +8602,7 @@ declare module "factorio:runtime" {
|
|
|
8620
8602
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8621
8603
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8622
8604
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8623
|
-
* @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}
|
|
8624
8606
|
*/
|
|
8625
8607
|
export type SegmentedUnitAIState =
|
|
8626
8608
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8630,7 +8612,7 @@ declare module "factorio:runtime" {
|
|
|
8630
8612
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8631
8613
|
/**
|
|
8632
8614
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
|
8633
|
-
* @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}
|
|
8634
8616
|
*/
|
|
8635
8617
|
export type SegmentedUnitAIStateWrite =
|
|
8636
8618
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8778,7 +8760,7 @@ declare module "factorio:runtime" {
|
|
|
8778
8760
|
/**
|
|
8779
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].
|
|
8780
8762
|
* @see ColorModifierArray
|
|
8781
|
-
* @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}
|
|
8782
8764
|
*/
|
|
8783
8765
|
export interface ColorModifier {
|
|
8784
8766
|
readonly r?: float
|
|
@@ -8789,7 +8771,7 @@ declare module "factorio:runtime" {
|
|
|
8789
8771
|
/**
|
|
8790
8772
|
* Array form of {@link ColorModifier}.
|
|
8791
8773
|
* @see ColorModifier
|
|
8792
|
-
* @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}
|
|
8793
8775
|
*/
|
|
8794
8776
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8795
8777
|
export interface Decorative {
|
|
@@ -8808,7 +8790,7 @@ declare module "factorio:runtime" {
|
|
|
8808
8790
|
/**
|
|
8809
8791
|
* An area defined using the map editor.
|
|
8810
8792
|
* @see ScriptAreaWrite
|
|
8811
|
-
* @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}
|
|
8812
8794
|
*/
|
|
8813
8795
|
export interface ScriptArea {
|
|
8814
8796
|
readonly area: BoundingBox
|
|
@@ -8818,7 +8800,7 @@ declare module "factorio:runtime" {
|
|
|
8818
8800
|
}
|
|
8819
8801
|
/**
|
|
8820
8802
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
|
8821
|
-
* @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}
|
|
8822
8804
|
*/
|
|
8823
8805
|
export interface ScriptAreaWrite {
|
|
8824
8806
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8829,7 +8811,7 @@ declare module "factorio:runtime" {
|
|
|
8829
8811
|
/**
|
|
8830
8812
|
* A position defined using the map editor.
|
|
8831
8813
|
* @see ScriptPositionWrite
|
|
8832
|
-
* @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}
|
|
8833
8815
|
*/
|
|
8834
8816
|
export interface ScriptPosition {
|
|
8835
8817
|
readonly position: MapPosition
|
|
@@ -8839,7 +8821,7 @@ declare module "factorio:runtime" {
|
|
|
8839
8821
|
}
|
|
8840
8822
|
/**
|
|
8841
8823
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
|
8842
|
-
* @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}
|
|
8843
8825
|
*/
|
|
8844
8826
|
export interface ScriptPositionWrite {
|
|
8845
8827
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8855,7 +8837,7 @@ declare module "factorio:runtime" {
|
|
|
8855
8837
|
}
|
|
8856
8838
|
/**
|
|
8857
8839
|
* A table used to define a manual shape for a piece of equipment.
|
|
8858
|
-
* @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}
|
|
8859
8841
|
*/
|
|
8860
8842
|
export interface EquipmentPoint {
|
|
8861
8843
|
readonly x: uint32
|
|
@@ -8864,7 +8846,7 @@ declare module "factorio:runtime" {
|
|
|
8864
8846
|
/**
|
|
8865
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.
|
|
8866
8848
|
* @see GuiLocationArray
|
|
8867
|
-
* @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}
|
|
8868
8850
|
*/
|
|
8869
8851
|
export interface GuiLocation {
|
|
8870
8852
|
readonly x: int32
|
|
@@ -8873,7 +8855,7 @@ declare module "factorio:runtime" {
|
|
|
8873
8855
|
/**
|
|
8874
8856
|
* Array form of {@link GuiLocation}.
|
|
8875
8857
|
* @see GuiLocation
|
|
8876
|
-
* @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}
|
|
8877
8859
|
*/
|
|
8878
8860
|
export type GuiLocationArray = readonly [int32, int32]
|
|
8879
8861
|
export interface TabAndContent {
|
|
@@ -8902,7 +8884,7 @@ declare module "factorio:runtime" {
|
|
|
8902
8884
|
}
|
|
8903
8885
|
/**
|
|
8904
8886
|
* Either `icon`, `text`, or both must be provided.
|
|
8905
|
-
* @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}
|
|
8906
8888
|
*/
|
|
8907
8889
|
export interface ChartTagSpec {
|
|
8908
8890
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -9045,7 +9027,7 @@ declare module "factorio:runtime" {
|
|
|
9045
9027
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
9046
9028
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
9047
9029
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
9048
|
-
* @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}
|
|
9049
9031
|
*/
|
|
9050
9032
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
9051
9033
|
/**
|
|
@@ -9054,7 +9036,7 @@ declare module "factorio:runtime" {
|
|
|
9054
9036
|
* - {@link RailEndGoal}
|
|
9055
9037
|
* - {@link LuaRailEnd}
|
|
9056
9038
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
|
9057
|
-
* @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}
|
|
9058
9040
|
*/
|
|
9059
9041
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
9060
9042
|
export interface TrainStopGoal {
|
|
@@ -9187,7 +9169,7 @@ declare module "factorio:runtime" {
|
|
|
9187
9169
|
}
|
|
9188
9170
|
/**
|
|
9189
9171
|
* @see QuickBarSlotWrite
|
|
9190
|
-
* @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}
|
|
9191
9173
|
*/
|
|
9192
9174
|
export interface QuickBarSlot {
|
|
9193
9175
|
/**
|
|
@@ -9213,7 +9195,7 @@ declare module "factorio:runtime" {
|
|
|
9213
9195
|
}
|
|
9214
9196
|
/**
|
|
9215
9197
|
* Write form of {@link QuickBarSlot}, where some properties allow additional values as input compared to the read form.
|
|
9216
|
-
* @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}
|
|
9217
9199
|
*/
|
|
9218
9200
|
export interface QuickBarSlotWrite {
|
|
9219
9201
|
/**
|
|
@@ -9266,7 +9248,7 @@ declare module "factorio:runtime" {
|
|
|
9266
9248
|
}
|
|
9267
9249
|
/**
|
|
9268
9250
|
* Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}.
|
|
9269
|
-
* @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}
|
|
9270
9252
|
*/
|
|
9271
9253
|
export type FluidStorageIndex = uint32
|
|
9272
9254
|
export interface FluidBoxNeighbourRecord {
|
|
@@ -9275,7 +9257,7 @@ declare module "factorio:runtime" {
|
|
|
9275
9257
|
}
|
|
9276
9258
|
/**
|
|
9277
9259
|
* A single pipe connection for a given fluidbox.
|
|
9278
|
-
* @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}
|
|
9279
9261
|
*/
|
|
9280
9262
|
export interface PipeConnection {
|
|
9281
9263
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -9324,7 +9306,7 @@ declare module "factorio:runtime" {
|
|
|
9324
9306
|
}
|
|
9325
9307
|
/**
|
|
9326
9308
|
* @see LabStoredDurabilityWrite
|
|
9327
|
-
* @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}
|
|
9328
9310
|
*/
|
|
9329
9311
|
export interface LabStoredDurability {
|
|
9330
9312
|
/**
|
|
@@ -9338,7 +9320,7 @@ declare module "factorio:runtime" {
|
|
|
9338
9320
|
}
|
|
9339
9321
|
/**
|
|
9340
9322
|
* Write form of {@link LabStoredDurability}, where some properties allow additional values as input compared to the read form.
|
|
9341
|
-
* @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}
|
|
9342
9324
|
*/
|
|
9343
9325
|
export interface LabStoredDurabilityWrite {
|
|
9344
9326
|
/**
|
|
@@ -9400,7 +9382,7 @@ declare module "factorio:runtime" {
|
|
|
9400
9382
|
* - `"surface"`
|
|
9401
9383
|
* - `"mod-data"`
|
|
9402
9384
|
* - `"custom-event"`
|
|
9403
|
-
* @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}
|
|
9404
9386
|
*/
|
|
9405
9387
|
export type IDType =
|
|
9406
9388
|
| "custom-input"
|
|
@@ -9453,7 +9435,7 @@ declare module "factorio:runtime" {
|
|
|
9453
9435
|
}
|
|
9454
9436
|
/**
|
|
9455
9437
|
* An item prototype with optional quality specification.
|
|
9456
|
-
* @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}
|
|
9457
9439
|
*/
|
|
9458
9440
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9459
9441
|
/**
|
|
@@ -9481,7 +9463,7 @@ declare module "factorio:runtime" {
|
|
|
9481
9463
|
}
|
|
9482
9464
|
/**
|
|
9483
9465
|
* @see EntityIDFilterWrite
|
|
9484
|
-
* @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}
|
|
9485
9467
|
*/
|
|
9486
9468
|
export interface EntityIDFilter {
|
|
9487
9469
|
/**
|
|
@@ -9499,7 +9481,7 @@ declare module "factorio:runtime" {
|
|
|
9499
9481
|
}
|
|
9500
9482
|
/**
|
|
9501
9483
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
|
9502
|
-
* @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}
|
|
9503
9485
|
*/
|
|
9504
9486
|
export interface EntityIDFilterWrite {
|
|
9505
9487
|
/**
|
|
@@ -9519,7 +9501,7 @@ declare module "factorio:runtime" {
|
|
|
9519
9501
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9520
9502
|
*
|
|
9521
9503
|
* By default, none of these flags are set.
|
|
9522
|
-
* @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}
|
|
9523
9505
|
*/
|
|
9524
9506
|
export type EntityPrototypeFlags = {
|
|
9525
9507
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9557,7 +9539,7 @@ declare module "factorio:runtime" {
|
|
|
9557
9539
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia.
|
|
9558
9540
|
* - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI.
|
|
9559
9541
|
* - `"not-in-mined-by"`: Prevents the entity from being shown in the mined-by tooltip of resources.
|
|
9560
|
-
* @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}
|
|
9561
9543
|
*/
|
|
9562
9544
|
export type EntityPrototypeFlag =
|
|
9563
9545
|
| "not-rotatable"
|
|
@@ -9591,7 +9573,7 @@ declare module "factorio:runtime" {
|
|
|
9591
9573
|
| "not-in-mined-by"
|
|
9592
9574
|
/**
|
|
9593
9575
|
* A single filter used by an infinity-pipe type entity.
|
|
9594
|
-
* @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}
|
|
9595
9577
|
*/
|
|
9596
9578
|
export interface InfinityPipeFilter {
|
|
9597
9579
|
/**
|
|
@@ -9621,7 +9603,7 @@ declare module "factorio:runtime" {
|
|
|
9621
9603
|
}
|
|
9622
9604
|
/**
|
|
9623
9605
|
* @see ProgrammableSpeakerParametersWrite
|
|
9624
|
-
* @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}
|
|
9625
9607
|
*/
|
|
9626
9608
|
export interface ProgrammableSpeakerParameters {
|
|
9627
9609
|
readonly playback_volume: float
|
|
@@ -9632,7 +9614,7 @@ declare module "factorio:runtime" {
|
|
|
9632
9614
|
}
|
|
9633
9615
|
/**
|
|
9634
9616
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
|
9635
|
-
* @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}
|
|
9636
9618
|
*/
|
|
9637
9619
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9638
9620
|
readonly playback_volume: float
|
|
@@ -9648,12 +9630,12 @@ declare module "factorio:runtime" {
|
|
|
9648
9630
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9649
9631
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9650
9632
|
* - `"global"`: The sound can be heard everywhere.
|
|
9651
|
-
* @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}
|
|
9652
9634
|
*/
|
|
9653
9635
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9654
9636
|
/**
|
|
9655
9637
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9656
|
-
* @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}
|
|
9657
9639
|
*/
|
|
9658
9640
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9659
9641
|
readonly show_alert: boolean
|
|
@@ -9663,7 +9645,7 @@ declare module "factorio:runtime" {
|
|
|
9663
9645
|
}
|
|
9664
9646
|
/**
|
|
9665
9647
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
|
9666
|
-
* @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}
|
|
9667
9649
|
*/
|
|
9668
9650
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9669
9651
|
readonly show_alert: boolean
|
|
@@ -9691,12 +9673,12 @@ declare module "factorio:runtime" {
|
|
|
9691
9673
|
* - `"exactly"`
|
|
9692
9674
|
* - `"add"`
|
|
9693
9675
|
* - `"remove"`
|
|
9694
|
-
* @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}
|
|
9695
9677
|
*/
|
|
9696
9678
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9697
9679
|
/**
|
|
9698
9680
|
* The settings used by a heat-interface type entity.
|
|
9699
|
-
* @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}
|
|
9700
9682
|
*/
|
|
9701
9683
|
export interface HeatSetting {
|
|
9702
9684
|
/**
|
|
@@ -9730,7 +9712,7 @@ declare module "factorio:runtime" {
|
|
|
9730
9712
|
* - `"none-to-south"`
|
|
9731
9713
|
* - `"south-to-none"`
|
|
9732
9714
|
* - `"none-to-north"`
|
|
9733
|
-
* @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}
|
|
9734
9716
|
*/
|
|
9735
9717
|
export type CliffOrientation =
|
|
9736
9718
|
| "west-to-east"
|
|
@@ -9760,14 +9742,14 @@ declare module "factorio:runtime" {
|
|
|
9760
9742
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9761
9743
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9762
9744
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9763
|
-
* @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}
|
|
9764
9746
|
*/
|
|
9765
9747
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9766
9748
|
/**
|
|
9767
9749
|
* ## Union members
|
|
9768
9750
|
* - `"fresh-first"`
|
|
9769
9751
|
* - `"spoiled-first"`
|
|
9770
|
-
* @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}
|
|
9771
9753
|
*/
|
|
9772
9754
|
export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first"
|
|
9773
9755
|
/**
|
|
@@ -9775,7 +9757,7 @@ declare module "factorio:runtime" {
|
|
|
9775
9757
|
* - `"fresh-first"`
|
|
9776
9758
|
* - `"none"`
|
|
9777
9759
|
* - `"spoiled-first"`
|
|
9778
|
-
* @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}
|
|
9779
9761
|
*/
|
|
9780
9762
|
export type SpoilPriority = "fresh-first" | "none" | "spoiled-first"
|
|
9781
9763
|
export interface SpiderLegSpecification {
|
|
@@ -9795,7 +9777,7 @@ declare module "factorio:runtime" {
|
|
|
9795
9777
|
}
|
|
9796
9778
|
/**
|
|
9797
9779
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
9798
|
-
* @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}
|
|
9799
9781
|
*/
|
|
9800
9782
|
export interface BlueprintInfinityInventorySettings {
|
|
9801
9783
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -9806,7 +9788,7 @@ declare module "factorio:runtime" {
|
|
|
9806
9788
|
}
|
|
9807
9789
|
/**
|
|
9808
9790
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
|
9809
|
-
* @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}
|
|
9810
9792
|
*/
|
|
9811
9793
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
9812
9794
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -9850,7 +9832,7 @@ declare module "factorio:runtime" {
|
|
|
9850
9832
|
}
|
|
9851
9833
|
/**
|
|
9852
9834
|
* Defines an item type that a blueprint entity will request.
|
|
9853
|
-
* @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}
|
|
9854
9836
|
*/
|
|
9855
9837
|
export interface BlueprintInsertPlan {
|
|
9856
9838
|
/**
|
|
@@ -9888,7 +9870,7 @@ declare module "factorio:runtime" {
|
|
|
9888
9870
|
}
|
|
9889
9871
|
/**
|
|
9890
9872
|
* A single offer on a market entity.
|
|
9891
|
-
* @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}
|
|
9892
9874
|
*/
|
|
9893
9875
|
export interface Offer {
|
|
9894
9876
|
/**
|
|
@@ -9934,7 +9916,7 @@ declare module "factorio:runtime" {
|
|
|
9934
9916
|
/**
|
|
9935
9917
|
* A single filter used by an infinity-filters instance.
|
|
9936
9918
|
* @see InfinityInventoryFilterWrite
|
|
9937
|
-
* @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}
|
|
9938
9920
|
*/
|
|
9939
9921
|
export interface InfinityInventoryFilter {
|
|
9940
9922
|
/**
|
|
@@ -9960,7 +9942,7 @@ declare module "factorio:runtime" {
|
|
|
9960
9942
|
}
|
|
9961
9943
|
/**
|
|
9962
9944
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
|
9963
|
-
* @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}
|
|
9964
9946
|
*/
|
|
9965
9947
|
export interface InfinityInventoryFilterWrite {
|
|
9966
9948
|
/**
|
|
@@ -10003,7 +9985,7 @@ declare module "factorio:runtime" {
|
|
|
10003
9985
|
}
|
|
10004
9986
|
/**
|
|
10005
9987
|
* Used to specify what type of damage and how much damage something deals.
|
|
10006
|
-
* @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}
|
|
10007
9989
|
*/
|
|
10008
9990
|
export interface DamageParameters {
|
|
10009
9991
|
readonly amount: float
|
|
@@ -10033,14 +10015,14 @@ declare module "factorio:runtime" {
|
|
|
10033
10015
|
*
|
|
10034
10016
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
10035
10017
|
*
|
|
10036
|
-
* {@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.}
|
|
10037
10019
|
*
|
|
10038
|
-
* {@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.}
|
|
10039
10021
|
*
|
|
10040
|
-
* {@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.}
|
|
10041
10023
|
*
|
|
10042
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10043
|
-
* @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}
|
|
10044
10026
|
*/
|
|
10045
10027
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
10046
10028
|
/**
|
|
@@ -10058,7 +10040,7 @@ declare module "factorio:runtime" {
|
|
|
10058
10040
|
* - `"weapon"`
|
|
10059
10041
|
* - `"explosion"`
|
|
10060
10042
|
* - `"enemy"`
|
|
10061
|
-
* @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}
|
|
10062
10044
|
*/
|
|
10063
10045
|
export type SoundType =
|
|
10064
10046
|
| "game-effect"
|
|
@@ -10108,12 +10090,12 @@ declare module "factorio:runtime" {
|
|
|
10108
10090
|
* - `"requester"`
|
|
10109
10091
|
* - `"storage"`
|
|
10110
10092
|
* - `"buffer"`
|
|
10111
|
-
* @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}
|
|
10112
10094
|
*/
|
|
10113
10095
|
export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer"
|
|
10114
10096
|
/**
|
|
10115
10097
|
* @see BlueprintLogisticFilterWrite
|
|
10116
|
-
* @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}
|
|
10117
10099
|
*/
|
|
10118
10100
|
export interface BlueprintLogisticFilter {
|
|
10119
10101
|
readonly index: LogisticFilterIndex
|
|
@@ -10147,7 +10129,7 @@ declare module "factorio:runtime" {
|
|
|
10147
10129
|
}
|
|
10148
10130
|
/**
|
|
10149
10131
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
10150
|
-
* @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}
|
|
10151
10133
|
*/
|
|
10152
10134
|
export interface BlueprintLogisticFilterWrite {
|
|
10153
10135
|
readonly index: LogisticFilterIndex
|
|
@@ -10181,7 +10163,7 @@ declare module "factorio:runtime" {
|
|
|
10181
10163
|
}
|
|
10182
10164
|
/**
|
|
10183
10165
|
* @see BlueprintLogisticSectionsWrite
|
|
10184
|
-
* @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}
|
|
10185
10167
|
*/
|
|
10186
10168
|
export interface BlueprintLogisticSections {
|
|
10187
10169
|
readonly sections?: LogisticSection[]
|
|
@@ -10196,7 +10178,7 @@ declare module "factorio:runtime" {
|
|
|
10196
10178
|
}
|
|
10197
10179
|
/**
|
|
10198
10180
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10199
|
-
* @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}
|
|
10200
10182
|
*/
|
|
10201
10183
|
export interface BlueprintLogisticSectionsWrite {
|
|
10202
10184
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10211,7 +10193,7 @@ declare module "factorio:runtime" {
|
|
|
10211
10193
|
}
|
|
10212
10194
|
/**
|
|
10213
10195
|
* @see LogisticSectionWrite
|
|
10214
|
-
* @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}
|
|
10215
10197
|
*/
|
|
10216
10198
|
export interface LogisticSection {
|
|
10217
10199
|
readonly index: uint8
|
|
@@ -10228,7 +10210,7 @@ declare module "factorio:runtime" {
|
|
|
10228
10210
|
}
|
|
10229
10211
|
/**
|
|
10230
10212
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
10231
|
-
* @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}
|
|
10232
10214
|
*/
|
|
10233
10215
|
export interface LogisticSectionWrite {
|
|
10234
10216
|
readonly index: uint8
|
|
@@ -10245,7 +10227,7 @@ declare module "factorio:runtime" {
|
|
|
10245
10227
|
}
|
|
10246
10228
|
/**
|
|
10247
10229
|
* @see LogisticSectionsWrite
|
|
10248
|
-
* @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}
|
|
10249
10231
|
*/
|
|
10250
10232
|
export interface LogisticSections {
|
|
10251
10233
|
readonly sections?: LogisticSection[]
|
|
@@ -10256,7 +10238,7 @@ declare module "factorio:runtime" {
|
|
|
10256
10238
|
}
|
|
10257
10239
|
/**
|
|
10258
10240
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10259
|
-
* @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}
|
|
10260
10242
|
*/
|
|
10261
10243
|
export interface LogisticSectionsWrite {
|
|
10262
10244
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10279,7 +10261,7 @@ declare module "factorio:runtime" {
|
|
|
10279
10261
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10280
10262
|
* - {@link LuaVirtualSignalPrototype}
|
|
10281
10263
|
* - {@link LuaSurfacePrototype}
|
|
10282
|
-
* @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}
|
|
10283
10265
|
*/
|
|
10284
10266
|
export type FactoriopediaID =
|
|
10285
10267
|
| LuaItemPrototype
|
|
@@ -10300,7 +10282,7 @@ declare module "factorio:runtime" {
|
|
|
10300
10282
|
* ## Union members
|
|
10301
10283
|
* - `"horizontal"`
|
|
10302
10284
|
* - `"vertical"`
|
|
10303
|
-
* @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}
|
|
10304
10286
|
*/
|
|
10305
10287
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10306
10288
|
export interface AttackParameterFluid {
|
|
@@ -10387,7 +10369,7 @@ declare module "factorio:runtime" {
|
|
|
10387
10369
|
* - `"cluster"`: {@link ClusterTriggerItem}
|
|
10388
10370
|
* - `"direct"`: {@link DirectTriggerItem}
|
|
10389
10371
|
* - `"line"`: {@link LineTriggerItem}
|
|
10390
|
-
* @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}
|
|
10391
10373
|
*/
|
|
10392
10374
|
export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem
|
|
10393
10375
|
export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[]
|
|
@@ -10402,12 +10384,12 @@ declare module "factorio:runtime" {
|
|
|
10402
10384
|
* ## Union members
|
|
10403
10385
|
* - `"primary"`
|
|
10404
10386
|
* - `"secondary"`
|
|
10405
|
-
* @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}
|
|
10406
10388
|
*/
|
|
10407
10389
|
export type ApplyTileTint = "primary" | "secondary"
|
|
10408
10390
|
/**
|
|
10409
10391
|
* A set of trigger target masks.
|
|
10410
|
-
* @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}
|
|
10411
10393
|
*/
|
|
10412
10394
|
export type TriggerTargetMask = Record<string, true>
|
|
10413
10395
|
export interface AttackReactionItem {
|
|
@@ -10500,7 +10482,7 @@ declare module "factorio:runtime" {
|
|
|
10500
10482
|
* - `"delayed"`: {@link DelayedTriggerDelivery}
|
|
10501
10483
|
* - `"projectile"`: {@link ProjectileTriggerDelivery}
|
|
10502
10484
|
* - `"stream"`: {@link StreamTriggerDelivery}
|
|
10503
|
-
* @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}
|
|
10504
10486
|
*/
|
|
10505
10487
|
export type TriggerDelivery =
|
|
10506
10488
|
| ArtilleryTriggerDelivery
|
|
@@ -10567,7 +10549,7 @@ declare module "factorio:runtime" {
|
|
|
10567
10549
|
* - `"camera-effect"`
|
|
10568
10550
|
* - `"activate-impact"`
|
|
10569
10551
|
* - `"create-pollution"`
|
|
10570
|
-
* @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}
|
|
10571
10553
|
*/
|
|
10572
10554
|
export type TriggerEffectItemType =
|
|
10573
10555
|
| "damage"
|
|
@@ -10941,7 +10923,7 @@ declare module "factorio:runtime" {
|
|
|
10941
10923
|
* - `"script"`: {@link ScriptTriggerEffectItem}
|
|
10942
10924
|
* - `"set-tile"`: {@link SetTileTriggerEffectItem}
|
|
10943
10925
|
* - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem}
|
|
10944
|
-
* @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}
|
|
10945
10927
|
*/
|
|
10946
10928
|
export type TriggerEffectItem =
|
|
10947
10929
|
| ActivateImpactTriggerEffectItem
|
|
@@ -11070,7 +11052,7 @@ declare module "factorio:runtime" {
|
|
|
11070
11052
|
* Other attributes may be specified depending on `type`:
|
|
11071
11053
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
11072
11054
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
11073
|
-
* @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}
|
|
11074
11056
|
*/
|
|
11075
11057
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
11076
11058
|
/**
|
|
@@ -11078,7 +11060,7 @@ declare module "factorio:runtime" {
|
|
|
11078
11060
|
* - `"left"`
|
|
11079
11061
|
* - `"none"`
|
|
11080
11062
|
* - `"right"`
|
|
11081
|
-
* @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}
|
|
11082
11064
|
*/
|
|
11083
11065
|
export type SplitterPriority = "left" | "none" | "right"
|
|
11084
11066
|
/**
|
|
@@ -11097,7 +11079,7 @@ declare module "factorio:runtime" {
|
|
|
11097
11079
|
* - `"middle-right"`
|
|
11098
11080
|
* - `"right"`: The same as `"middle-right"`
|
|
11099
11081
|
* - `"bottom-right"`
|
|
11100
|
-
* @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}
|
|
11101
11083
|
*/
|
|
11102
11084
|
export type Alignment =
|
|
11103
11085
|
| "top-left"
|
|
@@ -11132,7 +11114,7 @@ declare module "factorio:runtime" {
|
|
|
11132
11114
|
* - {@link FluidPrototypeFilter}
|
|
11133
11115
|
* - {@link EntityPrototypeFilter}
|
|
11134
11116
|
* @see PrototypeFilterWrite
|
|
11135
|
-
* @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}
|
|
11136
11118
|
*/
|
|
11137
11119
|
export type PrototypeFilter =
|
|
11138
11120
|
| ModSettingPrototypeFilter[]
|
|
@@ -11150,7 +11132,7 @@ declare module "factorio:runtime" {
|
|
|
11150
11132
|
| EntityPrototypeFilter[]
|
|
11151
11133
|
/**
|
|
11152
11134
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11153
|
-
* @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}
|
|
11154
11136
|
*/
|
|
11155
11137
|
export type PrototypeFilterWrite =
|
|
11156
11138
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -11203,7 +11185,7 @@ declare module "factorio:runtime" {
|
|
|
11203
11185
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
11204
11186
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
11205
11187
|
* @see EventFilterWrite
|
|
11206
|
-
* @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}
|
|
11207
11189
|
*/
|
|
11208
11190
|
export type EventFilter =
|
|
11209
11191
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11238,7 +11220,7 @@ declare module "factorio:runtime" {
|
|
|
11238
11220
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
11239
11221
|
/**
|
|
11240
11222
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
|
11241
|
-
* @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}
|
|
11242
11224
|
*/
|
|
11243
11225
|
export type EventFilterWrite =
|
|
11244
11226
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11273,7 +11255,7 @@ declare module "factorio:runtime" {
|
|
|
11273
11255
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
11274
11256
|
/**
|
|
11275
11257
|
* @see CircuitConditionDefinitionWrite
|
|
11276
|
-
* @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}
|
|
11277
11259
|
*/
|
|
11278
11260
|
export interface CircuitConditionDefinition {
|
|
11279
11261
|
/**
|
|
@@ -11299,7 +11281,7 @@ declare module "factorio:runtime" {
|
|
|
11299
11281
|
}
|
|
11300
11282
|
/**
|
|
11301
11283
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
|
11302
|
-
* @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}
|
|
11303
11285
|
*/
|
|
11304
11286
|
export interface CircuitConditionDefinitionWrite {
|
|
11305
11287
|
/**
|
|
@@ -11327,7 +11309,7 @@ declare module "factorio:runtime" {
|
|
|
11327
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.
|
|
11328
11310
|
*
|
|
11329
11311
|
* Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table.
|
|
11330
|
-
* @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}
|
|
11331
11313
|
*/
|
|
11332
11314
|
export interface UtilityConstants {
|
|
11333
11315
|
/**
|
|
@@ -11340,10 +11322,7 @@ declare module "factorio:runtime" {
|
|
|
11340
11322
|
readonly bonus_gui_ordering: BonusUtilityConstants
|
|
11341
11323
|
readonly map_editor: EditorUtilityConstants
|
|
11342
11324
|
readonly entity_button_background_color: Color
|
|
11343
|
-
readonly
|
|
11344
|
-
readonly building_buildable_tint: Color
|
|
11345
|
-
readonly building_not_buildable_tint: Color
|
|
11346
|
-
readonly building_ignorable_tint: Color
|
|
11325
|
+
readonly build_preview_tints: BuildPreviewTints
|
|
11347
11326
|
readonly building_no_tint: Color
|
|
11348
11327
|
/**
|
|
11349
11328
|
* Tall entities will be tinted with this value when "Hide tall entities" mode is active.
|
|
@@ -11800,7 +11779,7 @@ declare module "factorio:runtime" {
|
|
|
11800
11779
|
* - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network}
|
|
11801
11780
|
* - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id}
|
|
11802
11781
|
* - {@link LuaForce}: Target type {@link defines.target_type.force force}; `useful_id` {@link LuaForce#index LuaForce::index}
|
|
11803
|
-
* @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}
|
|
11804
11783
|
*/
|
|
11805
11784
|
export type RegistrationTarget =
|
|
11806
11785
|
| LuaEntity
|
|
@@ -11908,7 +11887,7 @@ declare module "factorio:runtime" {
|
|
|
11908
11887
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
11909
11888
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
11910
11889
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
11911
|
-
* @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}
|
|
11912
11891
|
*/
|
|
11913
11892
|
export type ResearchTrigger =
|
|
11914
11893
|
| CraftItemResearchTrigger
|
|
@@ -11921,26 +11900,26 @@ declare module "factorio:runtime" {
|
|
|
11921
11900
|
| OtherResearchTrigger
|
|
11922
11901
|
/**
|
|
11923
11902
|
* The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}.
|
|
11924
|
-
* @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}
|
|
11925
11904
|
*/
|
|
11926
11905
|
export type ProcessionID = string
|
|
11927
11906
|
/**
|
|
11928
11907
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
11929
|
-
* @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}
|
|
11930
11909
|
*/
|
|
11931
11910
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
11932
11911
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
11933
11912
|
}
|
|
11934
11913
|
/**
|
|
11935
11914
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11936
|
-
* @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}
|
|
11937
11916
|
*/
|
|
11938
11917
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
11939
11918
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
11940
11919
|
}
|
|
11941
11920
|
/**
|
|
11942
11921
|
* @see RocketSiloBlueprintControlBehaviorWrite
|
|
11943
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11922
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11944
11923
|
*/
|
|
11945
11924
|
export interface RocketSiloBlueprintControlBehavior {
|
|
11946
11925
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11956,7 +11935,7 @@ declare module "factorio:runtime" {
|
|
|
11956
11935
|
}
|
|
11957
11936
|
/**
|
|
11958
11937
|
* Write form of {@link RocketSiloBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11959
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11938
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11960
11939
|
*/
|
|
11961
11940
|
export interface RocketSiloBlueprintControlBehaviorWrite {
|
|
11962
11941
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11972,7 +11951,7 @@ declare module "factorio:runtime" {
|
|
|
11972
11951
|
}
|
|
11973
11952
|
/**
|
|
11974
11953
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
11975
|
-
* @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}
|
|
11976
11955
|
*/
|
|
11977
11956
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
11978
11957
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12015,7 +11994,7 @@ declare module "factorio:runtime" {
|
|
|
12015
11994
|
}
|
|
12016
11995
|
/**
|
|
12017
11996
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12018
|
-
* @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}
|
|
12019
11998
|
*/
|
|
12020
11999
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
12021
12000
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12058,7 +12037,7 @@ declare module "factorio:runtime" {
|
|
|
12058
12037
|
}
|
|
12059
12038
|
/**
|
|
12060
12039
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
12061
|
-
* @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}
|
|
12062
12041
|
*/
|
|
12063
12042
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
12064
12043
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12073,7 +12052,7 @@ declare module "factorio:runtime" {
|
|
|
12073
12052
|
}
|
|
12074
12053
|
/**
|
|
12075
12054
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12076
|
-
* @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}
|
|
12077
12056
|
*/
|
|
12078
12057
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
12079
12058
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12088,7 +12067,7 @@ declare module "factorio:runtime" {
|
|
|
12088
12067
|
}
|
|
12089
12068
|
/**
|
|
12090
12069
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
12091
|
-
* @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}
|
|
12092
12071
|
*/
|
|
12093
12072
|
export interface FurnaceBlueprintControlBehavior {
|
|
12094
12073
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12132,7 +12111,7 @@ declare module "factorio:runtime" {
|
|
|
12132
12111
|
}
|
|
12133
12112
|
/**
|
|
12134
12113
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12135
|
-
* @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}
|
|
12136
12115
|
*/
|
|
12137
12116
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
12138
12117
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12176,21 +12155,21 @@ declare module "factorio:runtime" {
|
|
|
12176
12155
|
}
|
|
12177
12156
|
/**
|
|
12178
12157
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
12179
|
-
* @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}
|
|
12180
12159
|
*/
|
|
12181
12160
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
12182
12161
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
12183
12162
|
}
|
|
12184
12163
|
/**
|
|
12185
12164
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12186
|
-
* @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}
|
|
12187
12166
|
*/
|
|
12188
12167
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
12189
12168
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
12190
12169
|
}
|
|
12191
12170
|
/**
|
|
12192
12171
|
* @see CargoLandingPadBlueprintControlBehaviorWrite
|
|
12193
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12172
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12194
12173
|
*/
|
|
12195
12174
|
export interface CargoLandingPadBlueprintControlBehavior {
|
|
12196
12175
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12211,7 +12190,7 @@ declare module "factorio:runtime" {
|
|
|
12211
12190
|
}
|
|
12212
12191
|
/**
|
|
12213
12192
|
* Write form of {@link CargoLandingPadBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12193
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12215
12194
|
*/
|
|
12216
12195
|
export interface CargoLandingPadBlueprintControlBehaviorWrite {
|
|
12217
12196
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12232,7 +12211,7 @@ declare module "factorio:runtime" {
|
|
|
12232
12211
|
}
|
|
12233
12212
|
/**
|
|
12234
12213
|
* @see LampBlueprintControlBehaviorWrite
|
|
12235
|
-
* @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}
|
|
12236
12215
|
*/
|
|
12237
12216
|
export interface LampBlueprintControlBehavior {
|
|
12238
12217
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12261,7 +12240,7 @@ declare module "factorio:runtime" {
|
|
|
12261
12240
|
}
|
|
12262
12241
|
/**
|
|
12263
12242
|
* Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12264
|
-
* @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}
|
|
12265
12244
|
*/
|
|
12266
12245
|
export interface LampBlueprintControlBehaviorWrite {
|
|
12267
12246
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12290,7 +12269,7 @@ declare module "factorio:runtime" {
|
|
|
12290
12269
|
}
|
|
12291
12270
|
/**
|
|
12292
12271
|
* @see ProxyContainerBlueprintControlBehaviorWrite
|
|
12293
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12272
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12294
12273
|
*/
|
|
12295
12274
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
12296
12275
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12306,7 +12285,7 @@ declare module "factorio:runtime" {
|
|
|
12306
12285
|
}
|
|
12307
12286
|
/**
|
|
12308
12287
|
* Write form of {@link ProxyContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12309
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12288
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12310
12289
|
*/
|
|
12311
12290
|
export interface ProxyContainerBlueprintControlBehaviorWrite {
|
|
12312
12291
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12322,7 +12301,7 @@ declare module "factorio:runtime" {
|
|
|
12322
12301
|
}
|
|
12323
12302
|
/**
|
|
12324
12303
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
12325
|
-
* @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}
|
|
12326
12305
|
*/
|
|
12327
12306
|
export interface MiningDrillBlueprintControlBehavior {
|
|
12328
12307
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12342,7 +12321,7 @@ declare module "factorio:runtime" {
|
|
|
12342
12321
|
}
|
|
12343
12322
|
/**
|
|
12344
12323
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12345
|
-
* @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}
|
|
12346
12325
|
*/
|
|
12347
12326
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
12348
12327
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12362,7 +12341,7 @@ declare module "factorio:runtime" {
|
|
|
12362
12341
|
}
|
|
12363
12342
|
/**
|
|
12364
12343
|
* @see LoaderBlueprintControlBehaviorWrite
|
|
12365
|
-
* @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}
|
|
12366
12345
|
*/
|
|
12367
12346
|
export interface LoaderBlueprintControlBehavior {
|
|
12368
12347
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12388,7 +12367,7 @@ declare module "factorio:runtime" {
|
|
|
12388
12367
|
}
|
|
12389
12368
|
/**
|
|
12390
12369
|
* Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12391
|
-
* @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}
|
|
12392
12371
|
*/
|
|
12393
12372
|
export interface LoaderBlueprintControlBehaviorWrite {
|
|
12394
12373
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12414,7 +12393,7 @@ declare module "factorio:runtime" {
|
|
|
12414
12393
|
}
|
|
12415
12394
|
/**
|
|
12416
12395
|
* @see WallBlueprintControlBehaviorWrite
|
|
12417
|
-
* @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}
|
|
12418
12397
|
*/
|
|
12419
12398
|
export interface WallBlueprintControlBehavior {
|
|
12420
12399
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12426,7 +12405,7 @@ declare module "factorio:runtime" {
|
|
|
12426
12405
|
}
|
|
12427
12406
|
/**
|
|
12428
12407
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12429
|
-
* @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}
|
|
12430
12409
|
*/
|
|
12431
12410
|
export interface WallBlueprintControlBehaviorWrite {
|
|
12432
12411
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12438,7 +12417,7 @@ declare module "factorio:runtime" {
|
|
|
12438
12417
|
}
|
|
12439
12418
|
/**
|
|
12440
12419
|
* @see GenericOnOffBlueprintControlBehaviorWrite
|
|
12441
|
-
* @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}
|
|
12442
12421
|
*/
|
|
12443
12422
|
export interface GenericOnOffBlueprintControlBehavior {
|
|
12444
12423
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12455,7 +12434,7 @@ declare module "factorio:runtime" {
|
|
|
12455
12434
|
}
|
|
12456
12435
|
/**
|
|
12457
12436
|
* Write form of {@link GenericOnOffBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12458
|
-
* @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}
|
|
12459
12438
|
*/
|
|
12460
12439
|
export interface GenericOnOffBlueprintControlBehaviorWrite {
|
|
12461
12440
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12472,7 +12451,7 @@ declare module "factorio:runtime" {
|
|
|
12472
12451
|
}
|
|
12473
12452
|
/**
|
|
12474
12453
|
* @see ResearchConditionWrite
|
|
12475
|
-
* @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}
|
|
12476
12455
|
*/
|
|
12477
12456
|
export interface ResearchCondition {
|
|
12478
12457
|
readonly condition?: CircuitCondition
|
|
@@ -12487,7 +12466,7 @@ declare module "factorio:runtime" {
|
|
|
12487
12466
|
}
|
|
12488
12467
|
/**
|
|
12489
12468
|
* Write form of {@link ResearchCondition}, where some properties allow additional values as input compared to the read form.
|
|
12490
|
-
* @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}
|
|
12491
12470
|
*/
|
|
12492
12471
|
export interface ResearchConditionWrite {
|
|
12493
12472
|
readonly condition?: CircuitConditionWrite
|
|
@@ -12502,7 +12481,7 @@ declare module "factorio:runtime" {
|
|
|
12502
12481
|
}
|
|
12503
12482
|
/**
|
|
12504
12483
|
* @see BoilerBlueprintControlBehaviorWrite
|
|
12505
|
-
* @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}
|
|
12506
12485
|
*/
|
|
12507
12486
|
export interface BoilerBlueprintControlBehavior {
|
|
12508
12487
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12524,7 +12503,7 @@ declare module "factorio:runtime" {
|
|
|
12524
12503
|
}
|
|
12525
12504
|
/**
|
|
12526
12505
|
* Write form of {@link BoilerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12527
|
-
* @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}
|
|
12528
12507
|
*/
|
|
12529
12508
|
export interface BoilerBlueprintControlBehaviorWrite {
|
|
12530
12509
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12546,7 +12525,7 @@ declare module "factorio:runtime" {
|
|
|
12546
12525
|
}
|
|
12547
12526
|
/**
|
|
12548
12527
|
* @see ContainerBlueprintControlBehaviorWrite
|
|
12549
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12528
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12550
12529
|
*/
|
|
12551
12530
|
export interface ContainerBlueprintControlBehavior {
|
|
12552
12531
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12562,7 +12541,7 @@ declare module "factorio:runtime" {
|
|
|
12562
12541
|
}
|
|
12563
12542
|
/**
|
|
12564
12543
|
* Write form of {@link ContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12544
|
+
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12566
12545
|
*/
|
|
12567
12546
|
export interface ContainerBlueprintControlBehaviorWrite {
|
|
12568
12547
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12578,7 +12557,7 @@ declare module "factorio:runtime" {
|
|
|
12578
12557
|
}
|
|
12579
12558
|
/**
|
|
12580
12559
|
* @see PumpBlueprintControlBehaviorWrite
|
|
12581
|
-
* @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}
|
|
12582
12561
|
*/
|
|
12583
12562
|
export interface PumpBlueprintControlBehavior {
|
|
12584
12563
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12599,7 +12578,7 @@ declare module "factorio:runtime" {
|
|
|
12599
12578
|
}
|
|
12600
12579
|
/**
|
|
12601
12580
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12602
|
-
* @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}
|
|
12603
12582
|
*/
|
|
12604
12583
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
12605
12584
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12620,7 +12599,7 @@ declare module "factorio:runtime" {
|
|
|
12620
12599
|
}
|
|
12621
12600
|
/**
|
|
12622
12601
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
12623
|
-
* @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}
|
|
12624
12603
|
*/
|
|
12625
12604
|
export interface TrainStopBlueprintControlBehavior {
|
|
12626
12605
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12666,7 +12645,7 @@ declare module "factorio:runtime" {
|
|
|
12666
12645
|
}
|
|
12667
12646
|
/**
|
|
12668
12647
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12669
|
-
* @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}
|
|
12670
12649
|
*/
|
|
12671
12650
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
12672
12651
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12712,7 +12691,7 @@ declare module "factorio:runtime" {
|
|
|
12712
12691
|
}
|
|
12713
12692
|
/**
|
|
12714
12693
|
* @see LandMineBlueprintControlBehaviorWrite
|
|
12715
|
-
* @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}
|
|
12716
12695
|
*/
|
|
12717
12696
|
export interface LandMineBlueprintControlBehavior {
|
|
12718
12697
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12729,7 +12708,7 @@ declare module "factorio:runtime" {
|
|
|
12729
12708
|
}
|
|
12730
12709
|
/**
|
|
12731
12710
|
* Write form of {@link LandMineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12732
|
-
* @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}
|
|
12733
12712
|
*/
|
|
12734
12713
|
export interface LandMineBlueprintControlBehaviorWrite {
|
|
12735
12714
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12746,7 +12725,7 @@ declare module "factorio:runtime" {
|
|
|
12746
12725
|
}
|
|
12747
12726
|
/**
|
|
12748
12727
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
12749
|
-
* @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}
|
|
12750
12729
|
*/
|
|
12751
12730
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
12752
12731
|
readonly circuit_condition: CircuitCondition
|
|
@@ -12754,7 +12733,7 @@ declare module "factorio:runtime" {
|
|
|
12754
12733
|
}
|
|
12755
12734
|
/**
|
|
12756
12735
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12757
|
-
* @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}
|
|
12758
12737
|
*/
|
|
12759
12738
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
12760
12739
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -12762,7 +12741,7 @@ declare module "factorio:runtime" {
|
|
|
12762
12741
|
}
|
|
12763
12742
|
/**
|
|
12764
12743
|
* @see HeatPipeBlueprintControlBehaviorWrite
|
|
12765
|
-
* @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}
|
|
12766
12745
|
*/
|
|
12767
12746
|
export interface HeatPipeBlueprintControlBehavior {
|
|
12768
12747
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12774,7 +12753,7 @@ declare module "factorio:runtime" {
|
|
|
12774
12753
|
}
|
|
12775
12754
|
/**
|
|
12776
12755
|
* Write form of {@link HeatPipeBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12777
|
-
* @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}
|
|
12778
12757
|
*/
|
|
12779
12758
|
export interface HeatPipeBlueprintControlBehaviorWrite {
|
|
12780
12759
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12786,7 +12765,7 @@ declare module "factorio:runtime" {
|
|
|
12786
12765
|
}
|
|
12787
12766
|
/**
|
|
12788
12767
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
12789
|
-
* @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}
|
|
12790
12769
|
*/
|
|
12791
12770
|
export interface SplitterBlueprintControlBehavior {
|
|
12792
12771
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12809,7 +12788,7 @@ declare module "factorio:runtime" {
|
|
|
12809
12788
|
}
|
|
12810
12789
|
/**
|
|
12811
12790
|
* Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12812
|
-
* @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}
|
|
12813
12792
|
*/
|
|
12814
12793
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
12815
12794
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12832,7 +12811,7 @@ declare module "factorio:runtime" {
|
|
|
12832
12811
|
}
|
|
12833
12812
|
/**
|
|
12834
12813
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
12835
|
-
* @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}
|
|
12836
12815
|
*/
|
|
12837
12816
|
export interface TransportBeltBlueprintControlBehavior {
|
|
12838
12817
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12852,7 +12831,7 @@ declare module "factorio:runtime" {
|
|
|
12852
12831
|
}
|
|
12853
12832
|
/**
|
|
12854
12833
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12855
|
-
* @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}
|
|
12856
12835
|
*/
|
|
12857
12836
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
12858
12837
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12872,7 +12851,7 @@ declare module "factorio:runtime" {
|
|
|
12872
12851
|
}
|
|
12873
12852
|
/**
|
|
12874
12853
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
12875
|
-
* @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}
|
|
12876
12855
|
*/
|
|
12877
12856
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
12878
12857
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12898,7 +12877,7 @@ declare module "factorio:runtime" {
|
|
|
12898
12877
|
}
|
|
12899
12878
|
/**
|
|
12900
12879
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12901
|
-
* @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}
|
|
12902
12881
|
*/
|
|
12903
12882
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
12904
12883
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12924,7 +12903,7 @@ declare module "factorio:runtime" {
|
|
|
12924
12903
|
}
|
|
12925
12904
|
/**
|
|
12926
12905
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
12927
|
-
* @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}
|
|
12928
12907
|
*/
|
|
12929
12908
|
export interface ReactorBlueprintControlBehavior {
|
|
12930
12909
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12940,7 +12919,7 @@ declare module "factorio:runtime" {
|
|
|
12940
12919
|
}
|
|
12941
12920
|
/**
|
|
12942
12921
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12943
|
-
* @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}
|
|
12944
12923
|
*/
|
|
12945
12924
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
12946
12925
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12956,7 +12935,7 @@ declare module "factorio:runtime" {
|
|
|
12956
12935
|
}
|
|
12957
12936
|
/**
|
|
12958
12937
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
12959
|
-
* @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}
|
|
12960
12939
|
*/
|
|
12961
12940
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
12962
12941
|
readonly sections: LogisticSections
|
|
@@ -12967,7 +12946,7 @@ declare module "factorio:runtime" {
|
|
|
12967
12946
|
}
|
|
12968
12947
|
/**
|
|
12969
12948
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12970
|
-
* @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}
|
|
12971
12950
|
*/
|
|
12972
12951
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
12973
12952
|
readonly sections: LogisticSectionsWrite
|
|
@@ -12978,7 +12957,7 @@ declare module "factorio:runtime" {
|
|
|
12978
12957
|
}
|
|
12979
12958
|
/**
|
|
12980
12959
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
12981
|
-
* @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}
|
|
12982
12961
|
*/
|
|
12983
12962
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
12984
12963
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12997,7 +12976,7 @@ declare module "factorio:runtime" {
|
|
|
12997
12976
|
}
|
|
12998
12977
|
/**
|
|
12999
12978
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13000
|
-
* @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}
|
|
13001
12980
|
*/
|
|
13002
12981
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
13003
12982
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13016,7 +12995,7 @@ declare module "factorio:runtime" {
|
|
|
13016
12995
|
}
|
|
13017
12996
|
/**
|
|
13018
12997
|
* @see LabBlueprintControlBehaviorWrite
|
|
13019
|
-
* @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}
|
|
13020
12999
|
*/
|
|
13021
13000
|
export interface LabBlueprintControlBehavior {
|
|
13022
13001
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13031,7 +13010,7 @@ declare module "factorio:runtime" {
|
|
|
13031
13010
|
}
|
|
13032
13011
|
/**
|
|
13033
13012
|
* Write form of {@link LabBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13034
|
-
* @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}
|
|
13035
13014
|
*/
|
|
13036
13015
|
export interface LabBlueprintControlBehaviorWrite {
|
|
13037
13016
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13046,7 +13025,7 @@ declare module "factorio:runtime" {
|
|
|
13046
13025
|
}
|
|
13047
13026
|
/**
|
|
13048
13027
|
* @see RadarBlueprintControlBehaviorWrite
|
|
13049
|
-
* @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}
|
|
13050
13029
|
*/
|
|
13051
13030
|
export interface RadarBlueprintControlBehavior {
|
|
13052
13031
|
/**
|
|
@@ -13057,7 +13036,7 @@ declare module "factorio:runtime" {
|
|
|
13057
13036
|
}
|
|
13058
13037
|
/**
|
|
13059
13038
|
* Write form of {@link RadarBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13060
|
-
* @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}
|
|
13061
13040
|
*/
|
|
13062
13041
|
export interface RadarBlueprintControlBehaviorWrite {
|
|
13063
13042
|
/**
|
|
@@ -13068,7 +13047,7 @@ declare module "factorio:runtime" {
|
|
|
13068
13047
|
}
|
|
13069
13048
|
/**
|
|
13070
13049
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
13071
|
-
* @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}
|
|
13072
13051
|
*/
|
|
13073
13052
|
export interface AccumulatorBlueprintControlBehavior {
|
|
13074
13053
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13080,7 +13059,7 @@ declare module "factorio:runtime" {
|
|
|
13080
13059
|
}
|
|
13081
13060
|
/**
|
|
13082
13061
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13083
|
-
* @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}
|
|
13084
13063
|
*/
|
|
13085
13064
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
13086
13065
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13092,7 +13071,7 @@ declare module "factorio:runtime" {
|
|
|
13092
13071
|
}
|
|
13093
13072
|
/**
|
|
13094
13073
|
* @see SingleFluidBoxBlueprintControlBehaviorWrite
|
|
13095
|
-
* @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}
|
|
13096
13075
|
*/
|
|
13097
13076
|
export interface SingleFluidBoxBlueprintControlBehavior {
|
|
13098
13077
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13108,7 +13087,7 @@ declare module "factorio:runtime" {
|
|
|
13108
13087
|
}
|
|
13109
13088
|
/**
|
|
13110
13089
|
* Write form of {@link SingleFluidBoxBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13111
|
-
* @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}
|
|
13112
13091
|
*/
|
|
13113
13092
|
export interface SingleFluidBoxBlueprintControlBehaviorWrite {
|
|
13114
13093
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13124,7 +13103,7 @@ declare module "factorio:runtime" {
|
|
|
13124
13103
|
}
|
|
13125
13104
|
/**
|
|
13126
13105
|
* @see TurretBlueprintControlBehaviorWrite
|
|
13127
|
-
* @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}
|
|
13128
13107
|
*/
|
|
13129
13108
|
export interface TurretBlueprintControlBehavior {
|
|
13130
13109
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13155,7 +13134,7 @@ declare module "factorio:runtime" {
|
|
|
13155
13134
|
}
|
|
13156
13135
|
/**
|
|
13157
13136
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13158
|
-
* @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}
|
|
13159
13138
|
*/
|
|
13160
13139
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
13161
13140
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13186,7 +13165,7 @@ declare module "factorio:runtime" {
|
|
|
13186
13165
|
}
|
|
13187
13166
|
/**
|
|
13188
13167
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
13189
|
-
* @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}
|
|
13190
13169
|
*/
|
|
13191
13170
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
13192
13171
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13216,7 +13195,7 @@ declare module "factorio:runtime" {
|
|
|
13216
13195
|
}
|
|
13217
13196
|
/**
|
|
13218
13197
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13219
|
-
* @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}
|
|
13220
13199
|
*/
|
|
13221
13200
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
13222
13201
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13246,7 +13225,7 @@ declare module "factorio:runtime" {
|
|
|
13246
13225
|
}
|
|
13247
13226
|
/**
|
|
13248
13227
|
* @see InserterBlueprintControlBehaviorWrite
|
|
13249
|
-
* @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}
|
|
13250
13229
|
*/
|
|
13251
13230
|
export interface InserterBlueprintControlBehavior {
|
|
13252
13231
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13264,7 +13243,7 @@ declare module "factorio:runtime" {
|
|
|
13264
13243
|
*/
|
|
13265
13244
|
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
|
13266
13245
|
/**
|
|
13267
|
-
* Defaults to `false`.
|
|
13246
|
+
* Defaults to `false`. Whether the inserter hand size is controlled by the circuit network.
|
|
13268
13247
|
*/
|
|
13269
13248
|
readonly circuit_set_stack_size?: boolean
|
|
13270
13249
|
readonly stack_control_input_signal?: SignalID
|
|
@@ -13281,7 +13260,7 @@ declare module "factorio:runtime" {
|
|
|
13281
13260
|
}
|
|
13282
13261
|
/**
|
|
13283
13262
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13284
|
-
* @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}
|
|
13285
13264
|
*/
|
|
13286
13265
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
13287
13266
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13299,7 +13278,7 @@ declare module "factorio:runtime" {
|
|
|
13299
13278
|
*/
|
|
13300
13279
|
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
|
13301
13280
|
/**
|
|
13302
|
-
* Defaults to `false`.
|
|
13281
|
+
* Defaults to `false`. Whether the inserter hand size is controlled by the circuit network.
|
|
13303
13282
|
*/
|
|
13304
13283
|
readonly circuit_set_stack_size?: boolean
|
|
13305
13284
|
readonly stack_control_input_signal?: SignalIDWrite
|
|
@@ -13316,21 +13295,21 @@ declare module "factorio:runtime" {
|
|
|
13316
13295
|
}
|
|
13317
13296
|
/**
|
|
13318
13297
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
13319
|
-
* @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}
|
|
13320
13299
|
*/
|
|
13321
13300
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
13322
13301
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
13323
13302
|
}
|
|
13324
13303
|
/**
|
|
13325
13304
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13326
|
-
* @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}
|
|
13327
13306
|
*/
|
|
13328
13307
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
13329
13308
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
13330
13309
|
}
|
|
13331
13310
|
/**
|
|
13332
13311
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
13333
|
-
* @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}
|
|
13334
13313
|
*/
|
|
13335
13314
|
export interface RoboportBlueprintControlBehavior {
|
|
13336
13315
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13344,7 +13323,7 @@ declare module "factorio:runtime" {
|
|
|
13344
13323
|
}
|
|
13345
13324
|
/**
|
|
13346
13325
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13347
|
-
* @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}
|
|
13348
13327
|
*/
|
|
13349
13328
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
13350
13329
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13358,7 +13337,7 @@ declare module "factorio:runtime" {
|
|
|
13358
13337
|
}
|
|
13359
13338
|
/**
|
|
13360
13339
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
13361
|
-
* @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}
|
|
13362
13341
|
*/
|
|
13363
13342
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
13364
13343
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13406,7 +13385,7 @@ declare module "factorio:runtime" {
|
|
|
13406
13385
|
}
|
|
13407
13386
|
/**
|
|
13408
13387
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13409
|
-
* @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}
|
|
13410
13389
|
*/
|
|
13411
13390
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
13412
13391
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13454,7 +13433,7 @@ declare module "factorio:runtime" {
|
|
|
13454
13433
|
}
|
|
13455
13434
|
/**
|
|
13456
13435
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
13457
|
-
* @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}
|
|
13458
13437
|
*/
|
|
13459
13438
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
13460
13439
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13486,7 +13465,7 @@ declare module "factorio:runtime" {
|
|
|
13486
13465
|
}
|
|
13487
13466
|
/**
|
|
13488
13467
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13489
|
-
* @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}
|
|
13490
13469
|
*/
|
|
13491
13470
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
13492
13471
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13552,7 +13531,7 @@ declare module "factorio:runtime" {
|
|
|
13552
13531
|
* "2500 * (L - 3)"
|
|
13553
13532
|
* @example
|
|
13554
13533
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
13555
|
-
* @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}
|
|
13556
13535
|
*/
|
|
13557
13536
|
export type MathExpression = string
|
|
13558
13537
|
/**
|
|
@@ -13563,12 +13542,12 @@ declare module "factorio:runtime" {
|
|
|
13563
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.
|
|
13564
13543
|
* @example
|
|
13565
13544
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
13566
|
-
* @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}
|
|
13567
13546
|
*/
|
|
13568
13547
|
export type Tags = Record<string, AnyBasic>
|
|
13569
13548
|
/**
|
|
13570
13549
|
* @see TileWrite
|
|
13571
|
-
* @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}
|
|
13572
13551
|
*/
|
|
13573
13552
|
export interface Tile {
|
|
13574
13553
|
/**
|
|
@@ -13582,7 +13561,7 @@ declare module "factorio:runtime" {
|
|
|
13582
13561
|
}
|
|
13583
13562
|
/**
|
|
13584
13563
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
|
13585
|
-
* @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}
|
|
13586
13565
|
*/
|
|
13587
13566
|
export interface TileWrite {
|
|
13588
13567
|
/**
|
|
@@ -13606,99 +13585,99 @@ declare module "factorio:runtime" {
|
|
|
13606
13585
|
}
|
|
13607
13586
|
/**
|
|
13608
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.
|
|
13609
|
-
* @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}
|
|
13610
13589
|
*/
|
|
13611
13590
|
export type float = number
|
|
13612
13591
|
/**
|
|
13613
13592
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
|
13614
|
-
* @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}
|
|
13615
13594
|
*/
|
|
13616
13595
|
export type double = number
|
|
13617
13596
|
/**
|
|
13618
13597
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
13619
13598
|
*
|
|
13620
13599
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
|
13621
|
-
* @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}
|
|
13622
13601
|
*/
|
|
13623
13602
|
export type uint8 = number
|
|
13624
13603
|
/**
|
|
13625
13604
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
13626
13605
|
*
|
|
13627
13606
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
|
13628
|
-
* @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}
|
|
13629
13608
|
*/
|
|
13630
13609
|
export type int8 = number
|
|
13631
13610
|
/**
|
|
13632
13611
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
13633
13612
|
*
|
|
13634
13613
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
|
13635
|
-
* @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}
|
|
13636
13615
|
*/
|
|
13637
13616
|
export type uint16 = number
|
|
13638
13617
|
/**
|
|
13639
13618
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
13640
13619
|
*
|
|
13641
13620
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
|
13642
|
-
* @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}
|
|
13643
13622
|
*/
|
|
13644
13623
|
export type int16 = number
|
|
13645
13624
|
/**
|
|
13646
13625
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
13647
13626
|
*
|
|
13648
13627
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
|
13649
|
-
* @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}
|
|
13650
13629
|
*/
|
|
13651
13630
|
export type uint32 = number
|
|
13652
13631
|
/**
|
|
13653
13632
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
13654
13633
|
*
|
|
13655
13634
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
|
13656
|
-
* @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}
|
|
13657
13636
|
*/
|
|
13658
13637
|
export type int32 = number
|
|
13659
13638
|
/**
|
|
13660
13639
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
13661
13640
|
*
|
|
13662
13641
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
|
13663
|
-
* @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}
|
|
13664
13643
|
*/
|
|
13665
13644
|
export type uint64 = number
|
|
13666
13645
|
/**
|
|
13667
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.
|
|
13668
|
-
* @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}
|
|
13669
13648
|
*/
|
|
13670
13649
|
export type nil = undefined
|
|
13671
13650
|
/**
|
|
13672
13651
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
13673
13652
|
*
|
|
13674
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.
|
|
13675
|
-
* @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}
|
|
13676
13655
|
*/
|
|
13677
13656
|
export type table = object
|
|
13678
13657
|
/**
|
|
13679
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.
|
|
13680
|
-
* @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}
|
|
13681
13660
|
*/
|
|
13682
13661
|
export interface LuaObject {
|
|
13683
13662
|
readonly object_name: string
|
|
13684
13663
|
}
|
|
13685
13664
|
/**
|
|
13686
13665
|
* Any basic type (string, number, boolean) or table.
|
|
13687
|
-
* @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}
|
|
13688
13667
|
*/
|
|
13689
13668
|
export type AnyBasic = string | boolean | number | table
|
|
13690
13669
|
/**
|
|
13691
13670
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
13692
|
-
* @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}
|
|
13693
13672
|
*/
|
|
13694
13673
|
export type Any = string | boolean | number | table | LuaObject
|
|
13695
13674
|
/**
|
|
13696
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}`.
|
|
13697
13676
|
*
|
|
13698
|
-
* {@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:}
|
|
13699
13678
|
*
|
|
13700
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13701
|
-
* @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}
|
|
13702
13681
|
*/
|
|
13703
13682
|
export type PropertyExpressionNames = Record<string, string>
|
|
13704
13683
|
/**
|
|
@@ -13755,7 +13734,7 @@ declare module "factorio:runtime" {
|
|
|
13755
13734
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
13756
13735
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
13757
13736
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
13758
|
-
* @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}
|
|
13759
13738
|
*/
|
|
13760
13739
|
export type ModSettingPrototypeFilter =
|
|
13761
13740
|
TypeModSettingPrototypeFilter | ModModSettingPrototypeFilter | SettingTypeModSettingPrototypeFilter
|
|
@@ -13817,13 +13796,13 @@ declare module "factorio:runtime" {
|
|
|
13817
13796
|
* Other attributes may be specified depending on `filter`:
|
|
13818
13797
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
13819
13798
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
13820
|
-
* @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}
|
|
13821
13800
|
*/
|
|
13822
13801
|
export type SpaceLocationPrototypeFilter =
|
|
13823
13802
|
TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter
|
|
13824
13803
|
/**
|
|
13825
13804
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
13826
|
-
* @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}
|
|
13827
13806
|
*/
|
|
13828
13807
|
export type SpaceLocationPrototypeFilterWrite =
|
|
13829
13808
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -13871,7 +13850,7 @@ declare module "factorio:runtime" {
|
|
|
13871
13850
|
*
|
|
13872
13851
|
* Other attributes may be specified depending on `filter`:
|
|
13873
13852
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
13874
|
-
* @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}
|
|
13875
13854
|
*/
|
|
13876
13855
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
13877
13856
|
/**
|
|
@@ -14013,7 +13992,7 @@ declare module "factorio:runtime" {
|
|
|
14013
13992
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
14014
13993
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
14015
13994
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
14016
|
-
* @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}
|
|
14017
13996
|
*/
|
|
14018
13997
|
export type TilePrototypeFilter =
|
|
14019
13998
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14024,7 +14003,7 @@ declare module "factorio:runtime" {
|
|
|
14024
14003
|
| OtherTilePrototypeFilter
|
|
14025
14004
|
/**
|
|
14026
14005
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14027
|
-
* @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}
|
|
14028
14007
|
*/
|
|
14029
14008
|
export type TilePrototypeFilterWrite =
|
|
14030
14009
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14381,7 +14360,7 @@ declare module "factorio:runtime" {
|
|
|
14381
14360
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
14382
14361
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
14383
14362
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
14384
|
-
* @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}
|
|
14385
14364
|
*/
|
|
14386
14365
|
export type ItemPrototypeFilter =
|
|
14387
14366
|
| PlaceResultItemPrototypeFilter
|
|
@@ -14403,7 +14382,7 @@ declare module "factorio:runtime" {
|
|
|
14403
14382
|
| OtherItemPrototypeFilter
|
|
14404
14383
|
/**
|
|
14405
14384
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14406
|
-
* @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}
|
|
14407
14386
|
*/
|
|
14408
14387
|
export type ItemPrototypeFilterWrite =
|
|
14409
14388
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -14543,7 +14522,7 @@ declare module "factorio:runtime" {
|
|
|
14543
14522
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
14544
14523
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
14545
14524
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
14546
|
-
* @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}
|
|
14547
14526
|
*/
|
|
14548
14527
|
export type TechnologyPrototypeFilter =
|
|
14549
14528
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14554,7 +14533,7 @@ declare module "factorio:runtime" {
|
|
|
14554
14533
|
| OtherTechnologyPrototypeFilter
|
|
14555
14534
|
/**
|
|
14556
14535
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14557
|
-
* @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}
|
|
14558
14537
|
*/
|
|
14559
14538
|
export type TechnologyPrototypeFilterWrite =
|
|
14560
14539
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14810,7 +14789,7 @@ declare module "factorio:runtime" {
|
|
|
14810
14789
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
14811
14790
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
14812
14791
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
14813
|
-
* @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}
|
|
14814
14793
|
*/
|
|
14815
14794
|
export type RecipePrototypeFilter =
|
|
14816
14795
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -14826,7 +14805,7 @@ declare module "factorio:runtime" {
|
|
|
14826
14805
|
| OtherRecipePrototypeFilter
|
|
14827
14806
|
/**
|
|
14828
14807
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14829
|
-
* @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}
|
|
14830
14809
|
*/
|
|
14831
14810
|
export type RecipePrototypeFilterWrite =
|
|
14832
14811
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -14878,7 +14857,7 @@ declare module "factorio:runtime" {
|
|
|
14878
14857
|
*
|
|
14879
14858
|
* Other attributes may be specified depending on `filter`:
|
|
14880
14859
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
14881
|
-
* @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}
|
|
14882
14861
|
*/
|
|
14883
14862
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
14884
14863
|
export interface VirtualSignalPrototypeFilter {
|
|
@@ -14933,7 +14912,7 @@ declare module "factorio:runtime" {
|
|
|
14933
14912
|
*
|
|
14934
14913
|
* Other attributes may be specified depending on `filter`:
|
|
14935
14914
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
14936
|
-
* @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}
|
|
14937
14916
|
*/
|
|
14938
14917
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
14939
14918
|
/**
|
|
@@ -15118,7 +15097,7 @@ declare module "factorio:runtime" {
|
|
|
15118
15097
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
15119
15098
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
15120
15099
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
15121
|
-
* @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}
|
|
15122
15101
|
*/
|
|
15123
15102
|
export type FluidPrototypeFilter =
|
|
15124
15103
|
| NameFluidPrototypeFilter
|
|
@@ -15132,7 +15111,7 @@ declare module "factorio:runtime" {
|
|
|
15132
15111
|
| OtherFluidPrototypeFilter
|
|
15133
15112
|
/**
|
|
15134
15113
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15135
|
-
* @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}
|
|
15136
15115
|
*/
|
|
15137
15116
|
export type FluidPrototypeFilterWrite =
|
|
15138
15117
|
| NameFluidPrototypeFilter
|
|
@@ -15351,7 +15330,7 @@ declare module "factorio:runtime" {
|
|
|
15351
15330
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
15352
15331
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
15353
15332
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
15354
|
-
* @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}
|
|
15355
15334
|
*/
|
|
15356
15335
|
export type EntityPrototypeFilter =
|
|
15357
15336
|
| NameEntityPrototypeFilter
|
|
@@ -15364,7 +15343,7 @@ declare module "factorio:runtime" {
|
|
|
15364
15343
|
| OtherEntityPrototypeFilter
|
|
15365
15344
|
/**
|
|
15366
15345
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15367
|
-
* @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}
|
|
15368
15347
|
*/
|
|
15369
15348
|
export type EntityPrototypeFilterWrite =
|
|
15370
15349
|
| NameEntityPrototypeFilter
|
|
@@ -15407,7 +15386,7 @@ declare module "factorio:runtime" {
|
|
|
15407
15386
|
*
|
|
15408
15387
|
* Other attributes may be specified depending on `filter`:
|
|
15409
15388
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
15410
|
-
* @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}
|
|
15411
15390
|
*/
|
|
15412
15391
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
15413
15392
|
/**
|
|
@@ -15507,7 +15486,7 @@ declare module "factorio:runtime" {
|
|
|
15507
15486
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
15508
15487
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
15509
15488
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
15510
|
-
* @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}
|
|
15511
15490
|
*/
|
|
15512
15491
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
15513
15492
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -15612,7 +15591,7 @@ declare module "factorio:runtime" {
|
|
|
15612
15591
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
15613
15592
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
15614
15593
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
15615
|
-
* @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}
|
|
15616
15595
|
*/
|
|
15617
15596
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
15618
15597
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -15717,7 +15696,7 @@ declare module "factorio:runtime" {
|
|
|
15717
15696
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
15718
15697
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
15719
15698
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
15720
|
-
* @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}
|
|
15721
15700
|
*/
|
|
15722
15701
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
15723
15702
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -15822,7 +15801,7 @@ declare module "factorio:runtime" {
|
|
|
15822
15801
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
15823
15802
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
15824
15803
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
15825
|
-
* @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}
|
|
15826
15805
|
*/
|
|
15827
15806
|
export type LuaPlatformMinedEntityEventFilter =
|
|
15828
15807
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -15939,7 +15918,7 @@ declare module "factorio:runtime" {
|
|
|
15939
15918
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
15940
15919
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
15941
15920
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
15942
|
-
* @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}
|
|
15943
15922
|
*/
|
|
15944
15923
|
export type LuaRobotBuiltEntityEventFilter =
|
|
15945
15924
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -16045,7 +16024,7 @@ declare module "factorio:runtime" {
|
|
|
16045
16024
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
16046
16025
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
16047
16026
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
16048
|
-
* @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}
|
|
16049
16028
|
*/
|
|
16050
16029
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
16051
16030
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -16150,7 +16129,7 @@ declare module "factorio:runtime" {
|
|
|
16150
16129
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
16151
16130
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
16152
16131
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
16153
|
-
* @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}
|
|
16154
16133
|
*/
|
|
16155
16134
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
16156
16135
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -16255,7 +16234,7 @@ declare module "factorio:runtime" {
|
|
|
16255
16234
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
16256
16235
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
16257
16236
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
16258
|
-
* @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}
|
|
16259
16238
|
*/
|
|
16260
16239
|
export type LuaPreGhostUpgradedEventFilter =
|
|
16261
16240
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -16372,7 +16351,7 @@ declare module "factorio:runtime" {
|
|
|
16372
16351
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
16373
16352
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
16374
16353
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
16375
|
-
* @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}
|
|
16376
16355
|
*/
|
|
16377
16356
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
16378
16357
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -16478,7 +16457,7 @@ declare module "factorio:runtime" {
|
|
|
16478
16457
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
16479
16458
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
16480
16459
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
16481
|
-
* @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}
|
|
16482
16461
|
*/
|
|
16483
16462
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
16484
16463
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -16583,7 +16562,7 @@ declare module "factorio:runtime" {
|
|
|
16583
16562
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
16584
16563
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
16585
16564
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
16586
|
-
* @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}
|
|
16587
16566
|
*/
|
|
16588
16567
|
export type LuaEntityClonedEventFilter =
|
|
16589
16568
|
| TypeEntityClonedEventFilter
|
|
@@ -16688,7 +16667,7 @@ declare module "factorio:runtime" {
|
|
|
16688
16667
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
16689
16668
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
16690
16669
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
16691
|
-
* @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}
|
|
16692
16671
|
*/
|
|
16693
16672
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
16694
16673
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -16728,7 +16707,7 @@ declare module "factorio:runtime" {
|
|
|
16728
16707
|
*
|
|
16729
16708
|
* Other attributes may be specified depending on `filter`:
|
|
16730
16709
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
16731
|
-
* @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}
|
|
16732
16711
|
*/
|
|
16733
16712
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
16734
16713
|
/**
|
|
@@ -16763,7 +16742,7 @@ declare module "factorio:runtime" {
|
|
|
16763
16742
|
*
|
|
16764
16743
|
* Other attributes may be specified depending on `filter`:
|
|
16765
16744
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
16766
|
-
* @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}
|
|
16767
16746
|
*/
|
|
16768
16747
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
16769
16748
|
/**
|
|
@@ -16869,7 +16848,7 @@ declare module "factorio:runtime" {
|
|
|
16869
16848
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
16870
16849
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
16871
16850
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
16872
|
-
* @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}
|
|
16873
16852
|
*/
|
|
16874
16853
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
16875
16854
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16879,7 +16858,7 @@ declare module "factorio:runtime" {
|
|
|
16879
16858
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
16880
16859
|
/**
|
|
16881
16860
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
16882
|
-
* @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}
|
|
16883
16862
|
*/
|
|
16884
16863
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
16885
16864
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16984,7 +16963,7 @@ declare module "factorio:runtime" {
|
|
|
16984
16963
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
16985
16964
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
16986
16965
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
16987
|
-
* @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}
|
|
16988
16967
|
*/
|
|
16989
16968
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
16990
16969
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -17089,7 +17068,7 @@ declare module "factorio:runtime" {
|
|
|
17089
17068
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
17090
17069
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
17091
17070
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
17092
|
-
* @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}
|
|
17093
17072
|
*/
|
|
17094
17073
|
export type LuaPlayerMinedEntityEventFilter =
|
|
17095
17074
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -17194,7 +17173,7 @@ declare module "factorio:runtime" {
|
|
|
17194
17173
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
17195
17174
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
17196
17175
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
17197
|
-
* @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}
|
|
17198
17177
|
*/
|
|
17199
17178
|
export type LuaSectorScannedEventFilter =
|
|
17200
17179
|
| TypeSectorScannedEventFilter
|
|
@@ -17299,7 +17278,7 @@ declare module "factorio:runtime" {
|
|
|
17299
17278
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
17300
17279
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
17301
17280
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
17302
|
-
* @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}
|
|
17303
17282
|
*/
|
|
17304
17283
|
export type LuaRobotMinedEntityEventFilter =
|
|
17305
17284
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -17404,7 +17383,7 @@ declare module "factorio:runtime" {
|
|
|
17404
17383
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
17405
17384
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
17406
17385
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
17407
|
-
* @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}
|
|
17408
17387
|
*/
|
|
17409
17388
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
17410
17389
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -17444,7 +17423,7 @@ declare module "factorio:runtime" {
|
|
|
17444
17423
|
*
|
|
17445
17424
|
* Other attributes may be specified depending on `filter`:
|
|
17446
17425
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
17447
|
-
* @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}
|
|
17448
17427
|
*/
|
|
17449
17428
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
17450
17429
|
/**
|
|
@@ -17544,7 +17523,7 @@ declare module "factorio:runtime" {
|
|
|
17544
17523
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
17545
17524
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
17546
17525
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
17547
|
-
* @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}
|
|
17548
17527
|
*/
|
|
17549
17528
|
export type LuaScriptRaisedReviveEventFilter =
|
|
17550
17529
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -17661,7 +17640,7 @@ declare module "factorio:runtime" {
|
|
|
17661
17640
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
17662
17641
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
17663
17642
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
17664
|
-
* @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}
|
|
17665
17644
|
*/
|
|
17666
17645
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
17667
17646
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -17767,7 +17746,7 @@ declare module "factorio:runtime" {
|
|
|
17767
17746
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
17768
17747
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
17769
17748
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
17770
|
-
* @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}
|
|
17771
17750
|
*/
|
|
17772
17751
|
export type LuaUpgradeCancelledEventFilter =
|
|
17773
17752
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -17947,7 +17926,7 @@ declare module "factorio:runtime" {
|
|
|
17947
17926
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
17948
17927
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
17949
17928
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
17950
|
-
* @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}
|
|
17951
17930
|
*/
|
|
17952
17931
|
export type LuaEntityDamagedEventFilter =
|
|
17953
17932
|
| TypeEntityDamagedEventFilter
|
|
@@ -17961,7 +17940,7 @@ declare module "factorio:runtime" {
|
|
|
17961
17940
|
| OtherEntityDamagedEventFilter
|
|
17962
17941
|
/**
|
|
17963
17942
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
17964
|
-
* @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}
|
|
17965
17944
|
*/
|
|
17966
17945
|
export type LuaEntityDamagedEventFilterWrite =
|
|
17967
17946
|
| TypeEntityDamagedEventFilter
|
|
@@ -18082,7 +18061,7 @@ declare module "factorio:runtime" {
|
|
|
18082
18061
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
18083
18062
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
18084
18063
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
18085
|
-
* @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}
|
|
18086
18065
|
*/
|
|
18087
18066
|
export type LuaEntityDiedEventFilter =
|
|
18088
18067
|
| TypeEntityDiedEventFilter
|
|
@@ -18188,7 +18167,7 @@ declare module "factorio:runtime" {
|
|
|
18188
18167
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
18189
18168
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
18190
18169
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
18191
|
-
* @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}
|
|
18192
18171
|
*/
|
|
18193
18172
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
18194
18173
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -18239,7 +18218,7 @@ declare module "factorio:runtime" {
|
|
|
18239
18218
|
* Other attributes may be specified depending on `filter`:
|
|
18240
18219
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
18241
18220
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
18242
|
-
* @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}
|
|
18243
18222
|
*/
|
|
18244
18223
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
18245
18224
|
NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter
|
|
@@ -18340,7 +18319,7 @@ declare module "factorio:runtime" {
|
|
|
18340
18319
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
18341
18320
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
18342
18321
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
18343
|
-
* @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}
|
|
18344
18323
|
*/
|
|
18345
18324
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
18346
18325
|
| TypeScriptRaisedDestroyEventFilter
|