typed-factorio 3.29.0 → 3.30.1
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 +2216 -2215
- package/prototype/generated/types.d.ts +2151 -2144
- package/runtime/generated/classes.d.ts +4118 -4046
- package/runtime/generated/concepts.d.ts +432 -407
- package/runtime/generated/defines.d.ts +214 -214
- package/runtime/generated/events.d.ts +222 -222
- 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.0.
|
15
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Weight.html Online documentation}
|
16
16
|
*/
|
17
17
|
export type Weight = double
|
18
18
|
export interface CircularParticleCreationSpecification {
|
@@ -39,7 +39,7 @@ declare module "factorio:runtime" {
|
|
39
39
|
* ## Union members
|
40
40
|
* - `"input"`
|
41
41
|
* - `"output"`
|
42
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
42
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BeltConnectionType.html Online documentation}
|
43
43
|
*/
|
44
44
|
export type BeltConnectionType = "input" | "output"
|
45
45
|
/**
|
@@ -50,7 +50,7 @@ declare module "factorio:runtime" {
|
|
50
50
|
* - {@link FluidID}: Used with fluid production statistics.
|
51
51
|
* - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
|
52
52
|
* - {@link EntityID}: Used with pollution statistics.
|
53
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
53
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FlowStatisticsID.html Online documentation}
|
54
54
|
*/
|
55
55
|
export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
|
56
56
|
export type ItemStackIndex = uint16
|
@@ -72,7 +72,7 @@ declare module "factorio:runtime" {
|
|
72
72
|
* - `"<="`: "lesser than or equal to"
|
73
73
|
* - `"≠"`: "not equal to"
|
74
74
|
* - `"!="`: "not equal to"
|
75
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
75
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ComparatorString.html Online documentation}
|
76
76
|
*/
|
77
77
|
export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
|
78
78
|
export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
|
@@ -103,93 +103,93 @@ declare module "factorio:runtime" {
|
|
103
103
|
*
|
104
104
|
* The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
|
105
105
|
*
|
106
|
-
* {@link https://lua-api.factorio.com/2.0.
|
107
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
106
|
+
* {@link https://lua-api.factorio.com/2.0.66/concepts/SpritePath.html > The supported types are:}
|
107
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpritePath.html Online documentation}
|
108
108
|
*/
|
109
109
|
export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
|
110
110
|
/**
|
111
111
|
* 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.
|
112
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
112
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.html Online documentation}
|
113
113
|
*/
|
114
114
|
export interface GameViewSettings {
|
115
115
|
/**
|
116
116
|
* Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
|
117
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
117
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_controller_gui.html Online documentation}
|
118
118
|
*/
|
119
119
|
show_controller_gui: boolean
|
120
120
|
/**
|
121
121
|
* Show the chart in the upper right-hand corner of the screen.
|
122
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
122
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_minimap.html Online documentation}
|
123
123
|
*/
|
124
124
|
show_minimap: boolean
|
125
125
|
/**
|
126
126
|
* Show research progress and name in the upper right-hand corner of the screen.
|
127
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
127
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_research_info.html Online documentation}
|
128
128
|
*/
|
129
129
|
show_research_info: boolean
|
130
130
|
/**
|
131
131
|
* Show overlay icons on entities. Also known as "alt-mode".
|
132
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
132
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_entity_info.html Online documentation}
|
133
133
|
*/
|
134
134
|
show_entity_info: boolean
|
135
135
|
/**
|
136
136
|
* Show the flashing alert icons next to the player's toolbar.
|
137
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
137
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_alert_gui.html Online documentation}
|
138
138
|
*/
|
139
139
|
show_alert_gui: boolean
|
140
140
|
/**
|
141
141
|
* When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
|
142
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
142
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.update_entity_selection.html Online documentation}
|
143
143
|
*/
|
144
144
|
update_entity_selection: boolean
|
145
145
|
/**
|
146
146
|
* When `true` (`false` is default), the rails will always show the rail block visualisation.
|
147
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
147
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
|
148
148
|
*/
|
149
149
|
show_rail_block_visualisation: boolean
|
150
150
|
/**
|
151
151
|
* Shows or hides the buttons row.
|
152
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
152
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_side_menu.html Online documentation}
|
153
153
|
*/
|
154
154
|
show_side_menu: boolean
|
155
155
|
/**
|
156
156
|
* Shows or hides the view options when map is opened.
|
157
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
157
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_map_view_options.html Online documentation}
|
158
158
|
*/
|
159
159
|
show_map_view_options: boolean
|
160
160
|
/**
|
161
161
|
* Shows or hides the tooltip that is displayed when selecting an entity.
|
162
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
162
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
|
163
163
|
*/
|
164
164
|
show_entity_tooltip: boolean
|
165
165
|
/**
|
166
166
|
* Shows or hides quickbar of shortcuts.
|
167
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
167
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_quickbar.html Online documentation}
|
168
168
|
*/
|
169
169
|
show_quickbar: boolean
|
170
170
|
/**
|
171
171
|
* Shows or hides the shortcut bar.
|
172
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
172
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
|
173
173
|
*/
|
174
174
|
show_shortcut_bar: boolean
|
175
175
|
/**
|
176
176
|
* Shows or hides the crafting queue.
|
177
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
177
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
|
178
178
|
*/
|
179
179
|
show_crafting_queue: boolean
|
180
180
|
/**
|
181
181
|
* Shows or hides the tool window with the weapons and armor.
|
182
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
182
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_tool_bar.html Online documentation}
|
183
183
|
*/
|
184
184
|
show_tool_bar: boolean
|
185
185
|
/**
|
186
186
|
* Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
|
187
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
187
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
|
188
188
|
*/
|
189
189
|
show_hotkey_suggestions: boolean
|
190
190
|
/**
|
191
191
|
* Shows or hides the surface list while in Remote View.
|
192
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
192
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GameViewSettings.show_surface_list.html Online documentation}
|
193
193
|
*/
|
194
194
|
show_surface_list: boolean
|
195
195
|
}
|
@@ -201,7 +201,7 @@ declare module "factorio:runtime" {
|
|
201
201
|
* @example
|
202
202
|
* -- Most common collision mask of buildings:
|
203
203
|
* collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
|
204
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
204
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CollisionMask.html Online documentation}
|
205
205
|
*/
|
206
206
|
export interface CollisionMask {
|
207
207
|
/**
|
@@ -243,14 +243,14 @@ declare module "factorio:runtime" {
|
|
243
243
|
* The percentual increase of the attribute. A value of `0.6` means a 60% increase.
|
244
244
|
*
|
245
245
|
* Quality values are multiplied by {@link LuaQualityPrototype#next_probability LuaQualityPrototype::next_probability}. For example, if a module's quality effect is 0.2 and the current quality's next_probability is 0.1, then the chance to get the next quality item is 2%.
|
246
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
246
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ModuleEffectValue.html Online documentation}
|
247
247
|
*/
|
248
248
|
export type ModuleEffectValue = float
|
249
249
|
/**
|
250
250
|
* @example
|
251
251
|
* -- These are the effects of the vanilla Speed Module 3
|
252
252
|
* {speed = 0.5, consumption = 0.7, quality = -0.25}
|
253
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
253
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ModuleEffects.html Online documentation}
|
254
254
|
*/
|
255
255
|
export interface ModuleEffects {
|
256
256
|
readonly consumption?: ModuleEffectValue
|
@@ -261,12 +261,12 @@ declare module "factorio:runtime" {
|
|
261
261
|
}
|
262
262
|
/**
|
263
263
|
* `math.huge` represents the maximum possible tick.
|
264
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
264
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapTick.html Online documentation}
|
265
265
|
*/
|
266
266
|
export type MapTick = uint64
|
267
267
|
/**
|
268
268
|
* @see BlueprintSignalIconWrite
|
269
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
269
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintSignalIcon.html Online documentation}
|
270
270
|
*/
|
271
271
|
export interface BlueprintSignalIcon {
|
272
272
|
/**
|
@@ -280,7 +280,7 @@ declare module "factorio:runtime" {
|
|
280
280
|
}
|
281
281
|
/**
|
282
282
|
* Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
|
283
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
283
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintSignalIcon.html Online documentation}
|
284
284
|
*/
|
285
285
|
export interface BlueprintSignalIconWrite {
|
286
286
|
/**
|
@@ -368,7 +368,7 @@ declare module "factorio:runtime" {
|
|
368
368
|
* - `"collision-selection-box"`: 189
|
369
369
|
* - `"arrow"`: 190
|
370
370
|
* - `"cursor"`: 226
|
371
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
371
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RenderLayer.html Online documentation}
|
372
372
|
*/
|
373
373
|
export type RenderLayer =
|
374
374
|
| `${bigint}`
|
@@ -443,9 +443,15 @@ declare module "factorio:runtime" {
|
|
443
443
|
| "collision-selection-box"
|
444
444
|
| "arrow"
|
445
445
|
| "cursor"
|
446
|
+
export interface IconDrawSpecification {
|
447
|
+
readonly shift: Vector
|
448
|
+
readonly scale: float
|
449
|
+
readonly scale_for_many: float
|
450
|
+
readonly render_layer?: "entity-info-icon-below" | "entity-info-icon-above" | "air-entity-info-icon"
|
451
|
+
}
|
446
452
|
/**
|
447
453
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
454
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapViewSettings.html Online documentation}
|
449
455
|
*/
|
450
456
|
export interface MapViewSettings {
|
451
457
|
readonly "show-logistic-network"?: boolean
|
@@ -475,7 +481,7 @@ declare module "factorio:runtime" {
|
|
475
481
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
476
482
|
* - `"spidertron-remote-selected"`
|
477
483
|
* - `"spidertron-remote-to-be-selected"`
|
478
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
484
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CursorBoxRenderType.html Online documentation}
|
479
485
|
*/
|
480
486
|
export type CursorBoxRenderType =
|
481
487
|
| "entity"
|
@@ -489,11 +495,20 @@ declare module "factorio:runtime" {
|
|
489
495
|
| "blueprint-snap-rectangle"
|
490
496
|
| "spidertron-remote-selected"
|
491
497
|
| "spidertron-remote-to-be-selected"
|
498
|
+
export interface IconSequencePositioning {
|
499
|
+
readonly inventory_index: defines.inventory
|
500
|
+
readonly max_icons_per_row: uint8
|
501
|
+
readonly max_icon_rows: uint8
|
502
|
+
readonly shift: Vector
|
503
|
+
readonly scale: float
|
504
|
+
readonly separation_multiplier: float
|
505
|
+
readonly multi_row_initial_height_modifier: float
|
506
|
+
}
|
492
507
|
/**
|
493
508
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
494
509
|
* @example
|
495
510
|
* "is_lower_object"
|
496
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
511
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CollisionLayerID.html Online documentation}
|
497
512
|
*/
|
498
513
|
export type CollisionLayerID = string
|
499
514
|
/**
|
@@ -505,7 +520,7 @@ declare module "factorio:runtime" {
|
|
505
520
|
* - `"always"`
|
506
521
|
* - `"auto"`
|
507
522
|
* - `"auto-and-reserve-space"`
|
508
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
523
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScrollPolicy.html Online documentation}
|
509
524
|
*/
|
510
525
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
511
526
|
/**
|
@@ -523,7 +538,7 @@ declare module "factorio:runtime" {
|
|
523
538
|
* - `"button-7"`
|
524
539
|
* - `"button-8"`
|
525
540
|
* - `"button-9"`
|
526
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
541
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MouseButtonFlags.html Online documentation}
|
527
542
|
*/
|
528
543
|
export interface MouseButtonFlags {
|
529
544
|
readonly left?: true
|
@@ -544,7 +559,7 @@ declare module "factorio:runtime" {
|
|
544
559
|
* - `"left"`
|
545
560
|
* - `"right"`
|
546
561
|
* - `"none"`
|
547
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
562
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SwitchState.html Online documentation}
|
548
563
|
*/
|
549
564
|
export type SwitchState = "left" | "right" | "none"
|
550
565
|
/**
|
@@ -574,7 +589,7 @@ declare module "factorio:runtime" {
|
|
574
589
|
* - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
|
575
590
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
576
591
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
577
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
592
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GuiElementType.html Online documentation}
|
578
593
|
*/
|
579
594
|
export type GuiElementType =
|
580
595
|
| "button"
|
@@ -637,7 +652,7 @@ declare module "factorio:runtime" {
|
|
637
652
|
* - `"entity-with-quality"`
|
638
653
|
* - `"recipe-with-quality"`
|
639
654
|
* - `"equipment-with-quality"`
|
640
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
655
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ElemType.html Online documentation}
|
641
656
|
*/
|
642
657
|
export type ElemType =
|
643
658
|
| "achievement"
|
@@ -677,13 +692,13 @@ declare module "factorio:runtime" {
|
|
677
692
|
* @see VectorTable
|
678
693
|
* @example
|
679
694
|
* right = {1.0, 0.0}
|
680
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
695
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Vector.html Online documentation}
|
681
696
|
*/
|
682
697
|
export type Vector = readonly [float, float]
|
683
698
|
/**
|
684
699
|
* Table form of {@link Vector}.
|
685
700
|
* @see Vector
|
686
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
701
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Vector.html Online documentation}
|
687
702
|
*/
|
688
703
|
export interface VectorTable {
|
689
704
|
readonly x: float
|
@@ -692,7 +707,7 @@ declare module "factorio:runtime" {
|
|
692
707
|
/**
|
693
708
|
* 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.
|
694
709
|
* @see ChunkPositionArray
|
695
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
710
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ChunkPosition.html Online documentation}
|
696
711
|
*/
|
697
712
|
export interface ChunkPosition {
|
698
713
|
readonly x: int
|
@@ -701,7 +716,7 @@ declare module "factorio:runtime" {
|
|
701
716
|
/**
|
702
717
|
* Array form of {@link ChunkPosition}.
|
703
718
|
* @see ChunkPosition
|
704
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
719
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ChunkPosition.html Online documentation}
|
705
720
|
*/
|
706
721
|
export type ChunkPositionArray = readonly [int, int]
|
707
722
|
export interface ItemStackLocation {
|
@@ -725,7 +740,7 @@ declare module "factorio:runtime" {
|
|
725
740
|
/**
|
726
741
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
727
742
|
* @see ItemFilterWrite
|
728
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
743
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemFilter.html Online documentation}
|
729
744
|
*/
|
730
745
|
export type ItemFilter =
|
731
746
|
| {
|
@@ -745,7 +760,7 @@ declare module "factorio:runtime" {
|
|
745
760
|
| string
|
746
761
|
/**
|
747
762
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
748
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
763
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemFilter.html Online documentation}
|
749
764
|
*/
|
750
765
|
export type ItemFilterWrite =
|
751
766
|
| {
|
@@ -1001,7 +1016,7 @@ declare module "factorio:runtime" {
|
|
1001
1016
|
* - {@link defines.command.stop}: {@link StopCommand}
|
1002
1017
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
1003
1018
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
1004
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1019
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Command.html Online documentation}
|
1005
1020
|
*/
|
1006
1021
|
export type Command =
|
1007
1022
|
| AttackCommand
|
@@ -1015,7 +1030,7 @@ declare module "factorio:runtime" {
|
|
1015
1030
|
| BuildBaseCommand
|
1016
1031
|
/**
|
1017
1032
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
1018
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1033
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Command.html Online documentation}
|
1019
1034
|
*/
|
1020
1035
|
export type CommandWrite =
|
1021
1036
|
| AttackCommand
|
@@ -1092,7 +1107,7 @@ declare module "factorio:runtime" {
|
|
1092
1107
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
1093
1108
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
1094
1109
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
1095
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1110
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GuiArrowSpecification.html Online documentation}
|
1096
1111
|
*/
|
1097
1112
|
export type GuiArrowSpecification =
|
1098
1113
|
| EntityGuiArrowSpecification
|
@@ -1112,7 +1127,7 @@ declare module "factorio:runtime" {
|
|
1112
1127
|
* - `"position"`
|
1113
1128
|
* - `"crafting_queue"`
|
1114
1129
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
1115
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1130
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GuiArrowType.html Online documentation}
|
1116
1131
|
*/
|
1117
1132
|
export type GuiArrowType =
|
1118
1133
|
| "nowhere"
|
@@ -1128,7 +1143,7 @@ declare module "factorio:runtime" {
|
|
1128
1143
|
*
|
1129
1144
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
1130
1145
|
* @see Vector3DArray
|
1131
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1146
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Vector3D.html Online documentation}
|
1132
1147
|
*/
|
1133
1148
|
export interface Vector3D {
|
1134
1149
|
readonly x: float
|
@@ -1138,7 +1153,7 @@ declare module "factorio:runtime" {
|
|
1138
1153
|
/**
|
1139
1154
|
* Array form of {@link Vector3D}.
|
1140
1155
|
* @see Vector3D
|
1141
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1156
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Vector3D.html Online documentation}
|
1142
1157
|
*/
|
1143
1158
|
export type Vector3DArray = readonly [float, float, float]
|
1144
1159
|
export interface RidingState {
|
@@ -1172,7 +1187,7 @@ declare module "factorio:runtime" {
|
|
1172
1187
|
}
|
1173
1188
|
/**
|
1174
1189
|
* @see TrainScheduleWrite
|
1175
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1190
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrainSchedule.html Online documentation}
|
1176
1191
|
*/
|
1177
1192
|
export interface TrainSchedule {
|
1178
1193
|
/**
|
@@ -1183,7 +1198,7 @@ declare module "factorio:runtime" {
|
|
1183
1198
|
}
|
1184
1199
|
/**
|
1185
1200
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
1186
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1201
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrainSchedule.html Online documentation}
|
1187
1202
|
*/
|
1188
1203
|
export interface TrainScheduleWrite {
|
1189
1204
|
/**
|
@@ -1194,7 +1209,7 @@ declare module "factorio:runtime" {
|
|
1194
1209
|
}
|
1195
1210
|
/**
|
1196
1211
|
* @see PlatformScheduleWrite
|
1197
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1212
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PlatformSchedule.html Online documentation}
|
1198
1213
|
*/
|
1199
1214
|
export interface PlatformSchedule {
|
1200
1215
|
/**
|
@@ -1205,7 +1220,7 @@ declare module "factorio:runtime" {
|
|
1205
1220
|
}
|
1206
1221
|
/**
|
1207
1222
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
1208
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1223
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PlatformSchedule.html Online documentation}
|
1209
1224
|
*/
|
1210
1225
|
export interface PlatformScheduleWrite {
|
1211
1226
|
/**
|
@@ -1230,7 +1245,7 @@ declare module "factorio:runtime" {
|
|
1230
1245
|
}
|
1231
1246
|
/**
|
1232
1247
|
* A recipe prototype with optional quality specification.
|
1233
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1248
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
1234
1249
|
*/
|
1235
1250
|
export interface RecipeIDAndQualityIDPair {
|
1236
1251
|
/**
|
@@ -1274,7 +1289,7 @@ declare module "factorio:runtime" {
|
|
1274
1289
|
}
|
1275
1290
|
/**
|
1276
1291
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
1277
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1292
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SegmentEngineSpecification.html Online documentation}
|
1278
1293
|
*/
|
1279
1294
|
export interface SegmentEngineSpecification {
|
1280
1295
|
/**
|
@@ -1288,7 +1303,7 @@ declare module "factorio:runtime" {
|
|
1288
1303
|
}
|
1289
1304
|
/**
|
1290
1305
|
* A runtime representation of {@link SegmentSpecification}.
|
1291
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1306
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SegmentSpecification.html Online documentation}
|
1292
1307
|
*/
|
1293
1308
|
export interface SegmentSpecification {
|
1294
1309
|
/**
|
@@ -1302,7 +1317,7 @@ declare module "factorio:runtime" {
|
|
1302
1317
|
}
|
1303
1318
|
/**
|
1304
1319
|
* A runtime representation of {@link TileBuildabilityRule}.
|
1305
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1320
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TileBuildabilityRule.html Online documentation}
|
1306
1321
|
*/
|
1307
1322
|
export interface TileBuildabilityRule {
|
1308
1323
|
/**
|
@@ -1329,7 +1344,7 @@ declare module "factorio:runtime" {
|
|
1329
1344
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
1330
1345
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
1331
1346
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
1332
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1347
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ForceID.html Online documentation}
|
1333
1348
|
*/
|
1334
1349
|
export type ForceID = string | uint8 | LuaForce
|
1335
1350
|
/**
|
@@ -1339,7 +1354,7 @@ declare module "factorio:runtime" {
|
|
1339
1354
|
* - `string`: The fluid name.
|
1340
1355
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
1341
1356
|
* - {@link Fluid}: The fluid.
|
1342
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1357
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FluidID.html Online documentation}
|
1343
1358
|
*/
|
1344
1359
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
1345
1360
|
/**
|
@@ -1350,12 +1365,12 @@ declare module "factorio:runtime" {
|
|
1350
1365
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
1351
1366
|
* - `string`: The prototype name. Normal quality will be used.
|
1352
1367
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
1353
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1368
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityWithQualityID.html Online documentation}
|
1354
1369
|
*/
|
1355
1370
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
1356
1371
|
/**
|
1357
1372
|
* An entity prototype with optional quality specification.
|
1358
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1373
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
1359
1374
|
*/
|
1360
1375
|
export interface EntityIDAndQualityIDPair {
|
1361
1376
|
/**
|
@@ -1376,18 +1391,18 @@ declare module "factorio:runtime" {
|
|
1376
1391
|
* - `string`: The prototype name. Normal quality will be used.
|
1377
1392
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
1378
1393
|
* @see ItemWithQualityIDWrite
|
1379
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1394
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemWithQualityID.html Online documentation}
|
1380
1395
|
*/
|
1381
1396
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPair
|
1382
1397
|
/**
|
1383
1398
|
* Write form of {@link ItemWithQualityID}, where some properties allow additional values as input compared to the read form.
|
1384
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1399
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemWithQualityID.html Online documentation}
|
1385
1400
|
*/
|
1386
1401
|
export type ItemWithQualityIDWrite = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
1387
1402
|
/**
|
1388
1403
|
* An item prototype with optional quality specification.
|
1389
1404
|
* @see ItemIDAndQualityIDPairWrite
|
1390
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1405
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
1391
1406
|
*/
|
1392
1407
|
export interface ItemIDAndQualityIDPair {
|
1393
1408
|
/**
|
@@ -1401,7 +1416,7 @@ declare module "factorio:runtime" {
|
|
1401
1416
|
}
|
1402
1417
|
/**
|
1403
1418
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
1404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1419
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
1405
1420
|
*/
|
1406
1421
|
export interface ItemIDAndQualityIDPairWrite {
|
1407
1422
|
/**
|
@@ -1421,7 +1436,7 @@ declare module "factorio:runtime" {
|
|
1421
1436
|
* - {@link LuaItemStack}: Non empty item stack.
|
1422
1437
|
* - {@link LuaItem}: The item.
|
1423
1438
|
* - `string`: The prototype name.
|
1424
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1439
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemID.html Online documentation}
|
1425
1440
|
*/
|
1426
1441
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
1427
1442
|
/**
|
@@ -1431,7 +1446,7 @@ declare module "factorio:runtime" {
|
|
1431
1446
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
1432
1447
|
* - {@link LuaEntity}: The entity.
|
1433
1448
|
* - `string`: The prototype name.
|
1434
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1449
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityID.html Online documentation}
|
1435
1450
|
*/
|
1436
1451
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
1437
1452
|
/**
|
@@ -1441,7 +1456,7 @@ declare module "factorio:runtime" {
|
|
1441
1456
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
1442
1457
|
* - {@link LuaTechnology}: Instance of the technology.
|
1443
1458
|
* - `string`: The prototype name.
|
1444
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1459
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TechnologyID.html Online documentation}
|
1445
1460
|
*/
|
1446
1461
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
1447
1462
|
/**
|
@@ -1450,7 +1465,7 @@ declare module "factorio:runtime" {
|
|
1450
1465
|
* ## Union members
|
1451
1466
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
1452
1467
|
* - `string`: The prototype name.
|
1453
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1468
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ParticleID.html Online documentation}
|
1454
1469
|
*/
|
1455
1470
|
export type ParticleID = LuaParticlePrototype | string
|
1456
1471
|
/**
|
@@ -1459,7 +1474,7 @@ declare module "factorio:runtime" {
|
|
1459
1474
|
* ## Union members
|
1460
1475
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
1461
1476
|
* - `string`: The prototype name.
|
1462
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1477
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DamageTypeID.html Online documentation}
|
1463
1478
|
*/
|
1464
1479
|
export type DamageTypeID = LuaDamagePrototype | string
|
1465
1480
|
/**
|
@@ -1468,7 +1483,7 @@ declare module "factorio:runtime" {
|
|
1468
1483
|
* ## Union members
|
1469
1484
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
1470
1485
|
* - `string`: The prototype name.
|
1471
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1486
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrivialSmokeID.html Online documentation}
|
1472
1487
|
*/
|
1473
1488
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
1474
1489
|
/**
|
@@ -1480,7 +1495,7 @@ declare module "factorio:runtime" {
|
|
1480
1495
|
* - `"left"`
|
1481
1496
|
* - `"right"`
|
1482
1497
|
* - `"center"`
|
1483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1498
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TextAlign.html Online documentation}
|
1484
1499
|
*/
|
1485
1500
|
export type TextAlign = "left" | "right" | "center"
|
1486
1501
|
/**
|
@@ -1493,7 +1508,7 @@ declare module "factorio:runtime" {
|
|
1493
1508
|
* - `"middle"`
|
1494
1509
|
* - `"baseline"`
|
1495
1510
|
* - `"bottom"`
|
1496
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1511
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/VerticalTextAlign.html Online documentation}
|
1497
1512
|
*/
|
1498
1513
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
1499
1514
|
/**
|
@@ -1502,7 +1517,7 @@ declare module "factorio:runtime" {
|
|
1502
1517
|
* ## Union members
|
1503
1518
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
1504
1519
|
* - `string`: The prototype name.
|
1505
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1520
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/QualityID.html Online documentation}
|
1506
1521
|
*/
|
1507
1522
|
export type QualityID = LuaQualityPrototype | string
|
1508
1523
|
/**
|
@@ -1511,7 +1526,7 @@ declare module "factorio:runtime" {
|
|
1511
1526
|
* ## Union members
|
1512
1527
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
1513
1528
|
* - `string`: By name of the recipe category prototype.
|
1514
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1529
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RecipeCategoryID.html Online documentation}
|
1515
1530
|
*/
|
1516
1531
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
1517
1532
|
/**
|
@@ -1521,7 +1536,7 @@ declare module "factorio:runtime" {
|
|
1521
1536
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
1522
1537
|
* - {@link LuaRecipe}: By instance of recipe.
|
1523
1538
|
* - `string`: By name of the recipe prototype.
|
1524
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1539
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RecipeID.html Online documentation}
|
1525
1540
|
*/
|
1526
1541
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
1527
1542
|
/**
|
@@ -1531,7 +1546,7 @@ declare module "factorio:runtime" {
|
|
1531
1546
|
* - {@link LuaTilePrototype}: By tile prototype.
|
1532
1547
|
* - {@link LuaTile}: By instance of tile.
|
1533
1548
|
* - `string`: By name of the tile prototype.
|
1534
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1549
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TileID.html Online documentation}
|
1535
1550
|
*/
|
1536
1551
|
export type TileID = LuaTilePrototype | LuaTile | string
|
1537
1552
|
export interface Fluid {
|
@@ -1555,7 +1570,7 @@ declare module "factorio:runtime" {
|
|
1555
1570
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
1556
1571
|
* - {@link LuaEquipment}: The equipment.
|
1557
1572
|
* - `string`: The prototype name.
|
1558
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1573
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentID.html Online documentation}
|
1559
1574
|
*/
|
1560
1575
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
1561
1576
|
/**
|
@@ -1567,12 +1582,12 @@ declare module "factorio:runtime" {
|
|
1567
1582
|
* - `string`: The prototype name. Normal quality will be used.
|
1568
1583
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
1569
1584
|
* @see EquipmentWithQualityIDWrite
|
1570
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1585
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentWithQualityID.html Online documentation}
|
1571
1586
|
*/
|
1572
1587
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
1573
1588
|
/**
|
1574
1589
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
1575
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1590
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentWithQualityID.html Online documentation}
|
1576
1591
|
*/
|
1577
1592
|
export type EquipmentWithQualityIDWrite =
|
1578
1593
|
| LuaEquipmentPrototype
|
@@ -1582,7 +1597,7 @@ declare module "factorio:runtime" {
|
|
1582
1597
|
/**
|
1583
1598
|
* An equipment prototype with optional quality specification.
|
1584
1599
|
* @see EquipmentIDAndQualityIDPairWrite
|
1585
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1600
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
1586
1601
|
*/
|
1587
1602
|
export interface EquipmentIDAndQualityIDPair {
|
1588
1603
|
/**
|
@@ -1596,7 +1611,7 @@ declare module "factorio:runtime" {
|
|
1596
1611
|
}
|
1597
1612
|
/**
|
1598
1613
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
1599
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1614
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
1600
1615
|
*/
|
1601
1616
|
export interface EquipmentIDAndQualityIDPairWrite {
|
1602
1617
|
/**
|
@@ -1643,7 +1658,7 @@ declare module "factorio:runtime" {
|
|
1643
1658
|
* @example
|
1644
1659
|
* -- Shorthand
|
1645
1660
|
* {{-2, -3}, {5, 8}}
|
1646
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1661
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BoundingBox.html Online documentation}
|
1647
1662
|
*/
|
1648
1663
|
export interface BoundingBox {
|
1649
1664
|
readonly left_top: MapPosition
|
@@ -1653,7 +1668,7 @@ declare module "factorio:runtime" {
|
|
1653
1668
|
/**
|
1654
1669
|
* Array form of {@link BoundingBox}.
|
1655
1670
|
* @see BoundingBox
|
1656
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1671
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BoundingBox.html Online documentation}
|
1657
1672
|
*/
|
1658
1673
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
1659
1674
|
export interface BoundingBoxWrite {
|
@@ -1686,7 +1701,7 @@ declare module "factorio:runtime" {
|
|
1686
1701
|
* - 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.
|
1687
1702
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
1688
1703
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
1689
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1704
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SurfaceIdentification.html Online documentation}
|
1690
1705
|
*/
|
1691
1706
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
1692
1707
|
/**
|
@@ -1696,13 +1711,13 @@ declare module "factorio:runtime" {
|
|
1696
1711
|
* - PlayerIndex: The player index.
|
1697
1712
|
* - `string`: The player name.
|
1698
1713
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
1699
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1714
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PlayerIdentification.html Online documentation}
|
1700
1715
|
*/
|
1701
1716
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
1702
1717
|
/**
|
1703
1718
|
* ## Union members
|
1704
1719
|
* - {@link LuaSpacePlatform}
|
1705
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1720
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpacePlatformIdentification.html Online documentation}
|
1706
1721
|
*/
|
1707
1722
|
export type SpacePlatformIdentification = LuaSpacePlatform
|
1708
1723
|
/**
|
@@ -1712,12 +1727,12 @@ declare module "factorio:runtime" {
|
|
1712
1727
|
* - {@link LuaForce}[]: Array of many forces.
|
1713
1728
|
* - {@link LuaForce}: A single force.
|
1714
1729
|
* @see ForceSetWrite
|
1715
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1730
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ForceSet.html Online documentation}
|
1716
1731
|
*/
|
1717
1732
|
export type ForceSet = LuaForce[] | LuaForce
|
1718
1733
|
/**
|
1719
1734
|
* Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
|
1720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1735
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ForceSet.html Online documentation}
|
1721
1736
|
*/
|
1722
1737
|
export type ForceSetWrite = readonly ForceID[] | ForceID
|
1723
1738
|
/**
|
@@ -1726,7 +1741,7 @@ declare module "factorio:runtime" {
|
|
1726
1741
|
* ## Union members
|
1727
1742
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
1728
1743
|
* - `string`: The prototype name.
|
1729
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1744
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DecorativeID.html Online documentation}
|
1730
1745
|
*/
|
1731
1746
|
export type DecorativeID = LuaDecorativePrototype | string
|
1732
1747
|
/**
|
@@ -1735,7 +1750,7 @@ declare module "factorio:runtime" {
|
|
1735
1750
|
* ## Union members
|
1736
1751
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
1737
1752
|
* - `string`: The prototype name.
|
1738
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1753
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AsteroidChunkID.html Online documentation}
|
1739
1754
|
*/
|
1740
1755
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
1741
1756
|
/**
|
@@ -1744,13 +1759,13 @@ declare module "factorio:runtime" {
|
|
1744
1759
|
* ## Union members
|
1745
1760
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
1746
1761
|
* - `string`: The prototype name.
|
1747
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1762
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpaceLocationID.html Online documentation}
|
1748
1763
|
*/
|
1749
1764
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
1750
1765
|
/**
|
1751
1766
|
* A signal filter may be specified in two ways, either as a string which is a virtual signal name or item prototype name or as a table.
|
1752
1767
|
* @see SignalFilterWrite
|
1753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1768
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SignalFilter.html Online documentation}
|
1754
1769
|
*/
|
1755
1770
|
export type SignalFilter =
|
1756
1771
|
| {
|
@@ -1774,7 +1789,7 @@ declare module "factorio:runtime" {
|
|
1774
1789
|
| string
|
1775
1790
|
/**
|
1776
1791
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
1777
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1792
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SignalFilter.html Online documentation}
|
1778
1793
|
*/
|
1779
1794
|
export type SignalFilterWrite =
|
1780
1795
|
| {
|
@@ -1798,7 +1813,7 @@ declare module "factorio:runtime" {
|
|
1798
1813
|
| string
|
1799
1814
|
/**
|
1800
1815
|
* @see LogisticFilterWrite
|
1801
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1816
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticFilter.html Online documentation}
|
1802
1817
|
*/
|
1803
1818
|
export interface LogisticFilter {
|
1804
1819
|
/**
|
@@ -1824,7 +1839,7 @@ declare module "factorio:runtime" {
|
|
1824
1839
|
}
|
1825
1840
|
/**
|
1826
1841
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
1827
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1842
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticFilter.html Online documentation}
|
1828
1843
|
*/
|
1829
1844
|
export interface LogisticFilterWrite {
|
1830
1845
|
/**
|
@@ -1887,23 +1902,23 @@ declare module "factorio:runtime" {
|
|
1887
1902
|
* ## Union members
|
1888
1903
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
1889
1904
|
* - `string`: The prototype name.
|
1890
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1905
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SurfacePropertyID.html Online documentation}
|
1891
1906
|
*/
|
1892
1907
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
1893
1908
|
/**
|
1894
1909
|
* When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
|
1895
1910
|
* @see ScriptRenderTargetWrite
|
1896
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1911
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptRenderTarget.html Online documentation}
|
1897
1912
|
*/
|
1898
1913
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
1899
1914
|
/**
|
1900
1915
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
1901
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1916
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptRenderTarget.html Online documentation}
|
1902
1917
|
*/
|
1903
1918
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
1904
1919
|
/**
|
1905
1920
|
* @see ScriptRenderTargetTableWrite
|
1906
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1921
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptRenderTargetTable.html Online documentation}
|
1907
1922
|
*/
|
1908
1923
|
export interface ScriptRenderTargetTable {
|
1909
1924
|
readonly entity?: LuaEntity
|
@@ -1918,7 +1933,7 @@ declare module "factorio:runtime" {
|
|
1918
1933
|
}
|
1919
1934
|
/**
|
1920
1935
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
1921
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1936
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptRenderTargetTable.html Online documentation}
|
1922
1937
|
*/
|
1923
1938
|
export interface ScriptRenderTargetTableWrite {
|
1924
1939
|
readonly entity?: LuaEntity
|
@@ -1950,13 +1965,13 @@ declare module "factorio:runtime" {
|
|
1950
1965
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
1951
1966
|
* "iron-plate"
|
1952
1967
|
* {name="iron-plate", count=100}
|
1953
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1968
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemStackIdentification.html Online documentation}
|
1954
1969
|
*/
|
1955
1970
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
1956
1971
|
/**
|
1957
1972
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
1958
1973
|
* @see QualityConditionWrite
|
1959
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1974
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/QualityCondition.html Online documentation}
|
1960
1975
|
*/
|
1961
1976
|
export type QualityCondition =
|
1962
1977
|
| {
|
@@ -1972,7 +1987,7 @@ declare module "factorio:runtime" {
|
|
1972
1987
|
| string
|
1973
1988
|
/**
|
1974
1989
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
1975
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1990
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/QualityCondition.html Online documentation}
|
1976
1991
|
*/
|
1977
1992
|
export type QualityConditionWrite =
|
1978
1993
|
| {
|
@@ -1989,7 +2004,7 @@ declare module "factorio:runtime" {
|
|
1989
2004
|
/**
|
1990
2005
|
* The destination of a cargo pod.
|
1991
2006
|
* @see CargoDestinationWrite
|
1992
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2007
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CargoDestination.html Online documentation}
|
1993
2008
|
*/
|
1994
2009
|
export interface CargoDestination {
|
1995
2010
|
/**
|
@@ -2027,7 +2042,7 @@ declare module "factorio:runtime" {
|
|
2027
2042
|
}
|
2028
2043
|
/**
|
2029
2044
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
2030
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2045
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CargoDestination.html Online documentation}
|
2031
2046
|
*/
|
2032
2047
|
export interface CargoDestinationWrite {
|
2033
2048
|
/**
|
@@ -2081,7 +2096,7 @@ declare module "factorio:runtime" {
|
|
2081
2096
|
* furthest = { zoom = 1 / 16 },
|
2082
2097
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
2083
2098
|
* }
|
2084
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2099
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ZoomLimits.html Online documentation}
|
2085
2100
|
*/
|
2086
2101
|
export interface ZoomLimits {
|
2087
2102
|
/**
|
@@ -2111,7 +2126,7 @@ declare module "factorio:runtime" {
|
|
2111
2126
|
*
|
2112
2127
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
2113
2128
|
* { distance = 200, max_distance = 500 }
|
2114
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2129
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ZoomSpecification.html Online documentation}
|
2115
2130
|
*/
|
2116
2131
|
export interface ZoomSpecification {
|
2117
2132
|
/**
|
@@ -2131,7 +2146,7 @@ declare module "factorio:runtime" {
|
|
2131
2146
|
* ## Union members
|
2132
2147
|
* - `"game"`
|
2133
2148
|
* - `"chart"`
|
2134
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2149
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptRenderMode.html Online documentation}
|
2135
2150
|
*/
|
2136
2151
|
export type ScriptRenderMode = "game" | "chart"
|
2137
2152
|
/**
|
@@ -2142,13 +2157,13 @@ declare module "factorio:runtime" {
|
|
2142
2157
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
2143
2158
|
* - {@link defines.events}: Event identifier.
|
2144
2159
|
* - `string`: Name of the event.
|
2145
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2160
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEventType.html Online documentation}
|
2146
2161
|
*/
|
2147
2162
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
2148
2163
|
/**
|
2149
2164
|
* 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.
|
2150
2165
|
* @see TilePositionArray
|
2151
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2166
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TilePosition.html Online documentation}
|
2152
2167
|
*/
|
2153
2168
|
export interface TilePosition {
|
2154
2169
|
readonly x: int
|
@@ -2157,14 +2172,14 @@ declare module "factorio:runtime" {
|
|
2157
2172
|
/**
|
2158
2173
|
* Array form of {@link TilePosition}.
|
2159
2174
|
* @see TilePosition
|
2160
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2175
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TilePosition.html Online documentation}
|
2161
2176
|
*/
|
2162
2177
|
export type TilePositionArray = readonly [int, int]
|
2163
2178
|
/**
|
2164
2179
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
2165
2180
|
*
|
2166
2181
|
* 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".
|
2167
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2182
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RealOrientation.html Online documentation}
|
2168
2183
|
*/
|
2169
2184
|
export type RealOrientation = float
|
2170
2185
|
export interface MapLocation {
|
@@ -2200,7 +2215,7 @@ declare module "factorio:runtime" {
|
|
2200
2215
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
2201
2216
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
2202
2217
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
2203
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2218
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LocalisedString.html Online documentation}
|
2204
2219
|
*/
|
2205
2220
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
2206
2221
|
/**
|
@@ -2215,7 +2230,7 @@ declare module "factorio:runtime" {
|
|
2215
2230
|
* @example
|
2216
2231
|
* -- Shorthand
|
2217
2232
|
* {1.625, 2.375}
|
2218
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2233
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapPosition.html Online documentation}
|
2219
2234
|
*/
|
2220
2235
|
export interface MapPosition {
|
2221
2236
|
readonly x: double
|
@@ -2224,7 +2239,7 @@ declare module "factorio:runtime" {
|
|
2224
2239
|
/**
|
2225
2240
|
* Array form of {@link MapPosition}.
|
2226
2241
|
* @see MapPosition
|
2227
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2242
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapPosition.html Online documentation}
|
2228
2243
|
*/
|
2229
2244
|
export type MapPositionArray = readonly [double, double]
|
2230
2245
|
/**
|
@@ -2237,7 +2252,7 @@ declare module "factorio:runtime" {
|
|
2237
2252
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
2238
2253
|
* black = {} -- All channels omitted: black
|
2239
2254
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
2240
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2255
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Color.html Online documentation}
|
2241
2256
|
*/
|
2242
2257
|
export interface Color {
|
2243
2258
|
readonly r?: float
|
@@ -2248,7 +2263,7 @@ declare module "factorio:runtime" {
|
|
2248
2263
|
/**
|
2249
2264
|
* Array form of {@link Color}.
|
2250
2265
|
* @see Color
|
2251
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2266
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Color.html Online documentation}
|
2252
2267
|
*/
|
2253
2268
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
2254
2269
|
/**
|
@@ -2256,12 +2271,12 @@ declare module "factorio:runtime" {
|
|
2256
2271
|
* - `"center-to-center"`
|
2257
2272
|
* - `"bounding-box-to-bounding-box"`
|
2258
2273
|
* - `"center-to-bounding-box"`
|
2259
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2274
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RangeMode.html Online documentation}
|
2260
2275
|
*/
|
2261
2276
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
2262
2277
|
/**
|
2263
2278
|
* @see PowerSwitchBlueprintControlBehaviorWrite
|
2264
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2279
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
2265
2280
|
*/
|
2266
2281
|
export interface PowerSwitchBlueprintControlBehavior {
|
2267
2282
|
/**
|
@@ -2277,7 +2292,7 @@ declare module "factorio:runtime" {
|
|
2277
2292
|
}
|
2278
2293
|
/**
|
2279
2294
|
* Write form of {@link PowerSwitchBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
2280
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2295
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
2281
2296
|
*/
|
2282
2297
|
export interface PowerSwitchBlueprintControlBehaviorWrite {
|
2283
2298
|
/**
|
@@ -3203,7 +3218,7 @@ declare module "factorio:runtime" {
|
|
3203
3218
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
3204
3219
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
3205
3220
|
* - `"wall"`: {@link WallBlueprintEntity}
|
3206
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3221
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintEntity.html Online documentation}
|
3207
3222
|
*/
|
3208
3223
|
export type BlueprintEntity =
|
3209
3224
|
| AccumulatorBlueprintEntity
|
@@ -3262,7 +3277,7 @@ declare module "factorio:runtime" {
|
|
3262
3277
|
| WallBlueprintEntity
|
3263
3278
|
/**
|
3264
3279
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
3265
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3280
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintEntity.html Online documentation}
|
3266
3281
|
*/
|
3267
3282
|
export type BlueprintEntityWrite =
|
3268
3283
|
| AccumulatorBlueprintEntityWrite
|
@@ -3329,7 +3344,7 @@ declare module "factorio:runtime" {
|
|
3329
3344
|
* - `target_entity_number`
|
3330
3345
|
*
|
3331
3346
|
* - `target_wire_connector_id`
|
3332
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3347
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintWire.html Online documentation}
|
3333
3348
|
*/
|
3334
3349
|
export type BlueprintWire = [
|
3335
3350
|
source_entity_number: uint,
|
@@ -3367,7 +3382,7 @@ declare module "factorio:runtime" {
|
|
3367
3382
|
* "2500 * (L - 3)"
|
3368
3383
|
* @example
|
3369
3384
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
3370
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3385
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MathExpression.html Online documentation}
|
3371
3386
|
*/
|
3372
3387
|
export type MathExpression = string
|
3373
3388
|
/**
|
@@ -3550,7 +3565,7 @@ declare module "factorio:runtime" {
|
|
3550
3565
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
3551
3566
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
3552
3567
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
3553
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3568
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/UndoRedoAction.html Online documentation}
|
3554
3569
|
*/
|
3555
3570
|
export type UndoRedoAction =
|
3556
3571
|
| BuiltEntityUndoRedoAction
|
@@ -3763,7 +3778,7 @@ declare module "factorio:runtime" {
|
|
3763
3778
|
* - `"play-previous-track"`
|
3764
3779
|
* - `"pause-resume-music"`
|
3765
3780
|
* - `""`: Indicates no linked game control.
|
3766
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3781
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LinkedGameControl.html Online documentation}
|
3767
3782
|
*/
|
3768
3783
|
export type LinkedGameControl =
|
3769
3784
|
| "move-up"
|
@@ -3968,7 +3983,7 @@ declare module "factorio:runtime" {
|
|
3968
3983
|
* - {@link LuaSpaceLocationPrototype}
|
3969
3984
|
* - {@link LuaTilePrototype}
|
3970
3985
|
* - {@link LuaVirtualSignalPrototype}
|
3971
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3986
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PipetteID.html Online documentation}
|
3972
3987
|
*/
|
3973
3988
|
export type PipetteID =
|
3974
3989
|
| LuaEntityPrototype
|
@@ -3988,7 +4003,7 @@ declare module "factorio:runtime" {
|
|
3988
4003
|
* - `"not-friend"`: Forces which are not friends pass.
|
3989
4004
|
* - `"same"`: The same force pass.
|
3990
4005
|
* - `"not-same"`: The non-same forces pass.
|
3991
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4006
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ForceCondition.html Online documentation}
|
3992
4007
|
*/
|
3993
4008
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
3994
4009
|
/**
|
@@ -3996,7 +4011,7 @@ declare module "factorio:runtime" {
|
|
3996
4011
|
* - `"input-output"`
|
3997
4012
|
* - `"input"`
|
3998
4013
|
* - `"output"`
|
3999
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4014
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FluidFlowDirection.html Online documentation}
|
4000
4015
|
*/
|
4001
4016
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
4002
4017
|
/**
|
@@ -4004,7 +4019,7 @@ declare module "factorio:runtime" {
|
|
4004
4019
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
4005
4020
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
4006
4021
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
4007
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4022
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PipeConnectionType.html Online documentation}
|
4008
4023
|
*/
|
4009
4024
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
4010
4025
|
export interface PipeConnectionDefinition {
|
@@ -4027,7 +4042,7 @@ declare module "factorio:runtime" {
|
|
4027
4042
|
}
|
4028
4043
|
/**
|
4029
4044
|
* 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`.
|
4030
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4045
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FluidAmount.html Online documentation}
|
4031
4046
|
*/
|
4032
4047
|
export type FluidAmount = double
|
4033
4048
|
/**
|
@@ -4038,7 +4053,7 @@ declare module "factorio:runtime" {
|
|
4038
4053
|
* - `"input"`
|
4039
4054
|
* - `"input-output"`
|
4040
4055
|
* - `"output"`
|
4041
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4056
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProductionType.html Online documentation}
|
4042
4057
|
*/
|
4043
4058
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
4044
4059
|
export interface SurfaceCondition {
|
@@ -4050,7 +4065,7 @@ declare module "factorio:runtime" {
|
|
4050
4065
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
4051
4066
|
*
|
4052
4067
|
* By default, none of these flags are set.
|
4053
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4068
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemPrototypeFlags.html Online documentation}
|
4054
4069
|
*/
|
4055
4070
|
export type ItemPrototypeFlags = {
|
4056
4071
|
readonly [T in ItemPrototypeFlag]?: true
|
@@ -4066,12 +4081,12 @@ declare module "factorio:runtime" {
|
|
4066
4081
|
* - `"hide-from-fuel-tooltip"`: Hides the item from the tooltip that's shown when hovering over a burner inventory.
|
4067
4082
|
* - `"not-stackable"`: Prevents the item from being stacked. It also prevents the item from stacking in assembling machine input slots, which can otherwise exceed the item stack size if required by the recipe. Additionally, the item does not show an item count when in the cursor.
|
4068
4083
|
* - `"primary-place-result"`: Makes construction bots prefer this item when building the entity specified by its `place_result`.
|
4069
|
-
* - `"mod-openable"`: Allows the item to be opened by the player, firing the
|
4084
|
+
* - `"mod-openable"`: Allows the item to be opened by the player, firing the {@link OnModItemOpenedEvent on_mod_item_opened} event.
|
4070
4085
|
* - `"only-in-cursor"`: Makes it so the item is deleted when clearing the cursor, instead of being put into the player's inventory. The copy-paste tools use this by default, for example.
|
4071
4086
|
* - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
|
4072
4087
|
* - `"spoil-result"`
|
4073
4088
|
* - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
|
4074
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4089
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemPrototypeFlag.html Online documentation}
|
4075
4090
|
*/
|
4076
4091
|
export type ItemPrototypeFlag =
|
4077
4092
|
| "draw-logistic-overlay"
|
@@ -4088,7 +4103,7 @@ declare module "factorio:runtime" {
|
|
4088
4103
|
| "ignore-spoil-time-modifier"
|
4089
4104
|
/**
|
4090
4105
|
* @see UpgradeMapperSourceWrite
|
4091
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4106
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/UpgradeMapperSource.html Online documentation}
|
4092
4107
|
*/
|
4093
4108
|
export interface UpgradeMapperSource {
|
4094
4109
|
readonly type: "item" | "entity"
|
@@ -4111,7 +4126,7 @@ declare module "factorio:runtime" {
|
|
4111
4126
|
}
|
4112
4127
|
/**
|
4113
4128
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
4114
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4129
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/UpgradeMapperSource.html Online documentation}
|
4115
4130
|
*/
|
4116
4131
|
export interface UpgradeMapperSourceWrite {
|
4117
4132
|
readonly type: "item" | "entity"
|
@@ -4201,7 +4216,7 @@ declare module "factorio:runtime" {
|
|
4201
4216
|
* - `"controllable-remove"`
|
4202
4217
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
4203
4218
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
4204
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4219
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SelectionModeFlags.html Online documentation}
|
4205
4220
|
*/
|
4206
4221
|
export interface SelectionModeFlags {
|
4207
4222
|
/**
|
@@ -4358,7 +4373,7 @@ declare module "factorio:runtime" {
|
|
4358
4373
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
4359
4374
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
4360
4375
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
4361
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4376
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CapsuleAction.html Online documentation}
|
4362
4377
|
*/
|
4363
4378
|
export type CapsuleAction =
|
4364
4379
|
| ThrowCapsuleAction
|
@@ -4371,7 +4386,7 @@ declare module "factorio:runtime" {
|
|
4371
4386
|
* - `"none"`
|
4372
4387
|
* - `"whitelist"`
|
4373
4388
|
* - `"blacklist"`
|
4374
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4389
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PrototypeFilterMode.html Online documentation}
|
4375
4390
|
*/
|
4376
4391
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
4377
4392
|
export interface SpoilToTriggerResult {
|
@@ -4386,7 +4401,7 @@ declare module "factorio:runtime" {
|
|
4386
4401
|
}
|
4387
4402
|
/**
|
4388
4403
|
* @see UpgradeMapperDestinationWrite
|
4389
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4404
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/UpgradeMapperDestination.html Online documentation}
|
4390
4405
|
*/
|
4391
4406
|
export interface UpgradeMapperDestination {
|
4392
4407
|
readonly type: "item" | "entity"
|
@@ -4409,7 +4424,7 @@ declare module "factorio:runtime" {
|
|
4409
4424
|
}
|
4410
4425
|
/**
|
4411
4426
|
* Write form of {@link UpgradeMapperDestination}, where some properties allow additional values as input compared to the read form.
|
4412
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4427
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/UpgradeMapperDestination.html Online documentation}
|
4413
4428
|
*/
|
4414
4429
|
export interface UpgradeMapperDestinationWrite {
|
4415
4430
|
readonly type: "item" | "entity"
|
@@ -4437,7 +4452,7 @@ declare module "factorio:runtime" {
|
|
4437
4452
|
* - `"entity"`: Fires at an entity.
|
4438
4453
|
* - `"position"`: Fires directly at a position.
|
4439
4454
|
* - `"direction"`: Fires in a direction.
|
4440
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4455
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TargetType.html Online documentation}
|
4441
4456
|
*/
|
4442
4457
|
export type TargetType = "entity" | "position" | "direction"
|
4443
4458
|
export interface AmmoType {
|
@@ -4461,7 +4476,7 @@ declare module "factorio:runtime" {
|
|
4461
4476
|
}
|
4462
4477
|
/**
|
4463
4478
|
* @see BlueprintItemFilterWrite
|
4464
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4479
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintItemFilter.html Online documentation}
|
4465
4480
|
*/
|
4466
4481
|
export interface BlueprintItemFilter {
|
4467
4482
|
readonly index: uint
|
@@ -4480,7 +4495,7 @@ declare module "factorio:runtime" {
|
|
4480
4495
|
}
|
4481
4496
|
/**
|
4482
4497
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
4483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4498
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintItemFilter.html Online documentation}
|
4484
4499
|
*/
|
4485
4500
|
export interface BlueprintItemFilterWrite {
|
4486
4501
|
readonly index: uint
|
@@ -4499,7 +4514,7 @@ declare module "factorio:runtime" {
|
|
4499
4514
|
}
|
4500
4515
|
/**
|
4501
4516
|
* @see BlueprintInventoryWithFiltersWrite
|
4502
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4517
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
4503
4518
|
*/
|
4504
4519
|
export interface BlueprintInventoryWithFilters {
|
4505
4520
|
readonly bar?: ItemStackIndex
|
@@ -4507,7 +4522,7 @@ declare module "factorio:runtime" {
|
|
4507
4522
|
}
|
4508
4523
|
/**
|
4509
4524
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
4510
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4525
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
4511
4526
|
*/
|
4512
4527
|
export interface BlueprintInventoryWithFiltersWrite {
|
4513
4528
|
readonly bar?: ItemStackIndex
|
@@ -4551,7 +4566,7 @@ declare module "factorio:runtime" {
|
|
4551
4566
|
}
|
4552
4567
|
/**
|
4553
4568
|
* @see BlueprintEquipmentWrite
|
4554
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4569
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintEquipment.html Online documentation}
|
4555
4570
|
*/
|
4556
4571
|
export interface BlueprintEquipment {
|
4557
4572
|
readonly equipment: LuaEquipmentPrototype
|
@@ -4559,7 +4574,7 @@ declare module "factorio:runtime" {
|
|
4559
4574
|
}
|
4560
4575
|
/**
|
4561
4576
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
4562
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4577
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintEquipment.html Online documentation}
|
4563
4578
|
*/
|
4564
4579
|
export interface BlueprintEquipmentWrite {
|
4565
4580
|
readonly equipment: EquipmentWithQualityID
|
@@ -4575,7 +4590,7 @@ declare module "factorio:runtime" {
|
|
4575
4590
|
* @example
|
4576
4591
|
* -- Shorthand
|
4577
4592
|
* {1, 2}
|
4578
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4593
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentPosition.html Online documentation}
|
4579
4594
|
*/
|
4580
4595
|
export interface EquipmentPosition {
|
4581
4596
|
readonly x: int
|
@@ -4584,7 +4599,7 @@ declare module "factorio:runtime" {
|
|
4584
4599
|
/**
|
4585
4600
|
* Array form of {@link EquipmentPosition}.
|
4586
4601
|
* @see EquipmentPosition
|
4587
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4602
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentPosition.html Online documentation}
|
4588
4603
|
*/
|
4589
4604
|
export type EquipmentPositionArray = readonly [int, int]
|
4590
4605
|
export interface ModSetting {
|
@@ -4595,7 +4610,7 @@ declare module "factorio:runtime" {
|
|
4595
4610
|
}
|
4596
4611
|
/**
|
4597
4612
|
* An actual signal transmitted by the network.
|
4598
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4613
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Signal.html Online documentation}
|
4599
4614
|
*/
|
4600
4615
|
export interface Signal {
|
4601
4616
|
/**
|
@@ -4609,7 +4624,7 @@ declare module "factorio:runtime" {
|
|
4609
4624
|
}
|
4610
4625
|
/**
|
4611
4626
|
* @see DisplayPanelMessageDefinitionWrite
|
4612
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4627
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4613
4628
|
*/
|
4614
4629
|
export interface DisplayPanelMessageDefinition {
|
4615
4630
|
/**
|
@@ -4627,7 +4642,7 @@ declare module "factorio:runtime" {
|
|
4627
4642
|
}
|
4628
4643
|
/**
|
4629
4644
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
4630
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4645
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4631
4646
|
*/
|
4632
4647
|
export interface DisplayPanelMessageDefinitionWrite {
|
4633
4648
|
/**
|
@@ -4655,7 +4670,7 @@ declare module "factorio:runtime" {
|
|
4655
4670
|
}
|
4656
4671
|
/**
|
4657
4672
|
* @see CircuitConditionWrite
|
4658
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4673
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CircuitCondition.html Online documentation}
|
4659
4674
|
*/
|
4660
4675
|
export interface CircuitCondition {
|
4661
4676
|
/**
|
@@ -4677,7 +4692,7 @@ declare module "factorio:runtime" {
|
|
4677
4692
|
}
|
4678
4693
|
/**
|
4679
4694
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
4680
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4695
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CircuitCondition.html Online documentation}
|
4681
4696
|
*/
|
4682
4697
|
export interface CircuitConditionWrite {
|
4683
4698
|
/**
|
@@ -4699,7 +4714,7 @@ declare module "factorio:runtime" {
|
|
4699
4714
|
}
|
4700
4715
|
/**
|
4701
4716
|
* @see SignalIDWrite
|
4702
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4717
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SignalID.html Online documentation}
|
4703
4718
|
*/
|
4704
4719
|
export interface SignalID {
|
4705
4720
|
/**
|
@@ -4717,7 +4732,7 @@ declare module "factorio:runtime" {
|
|
4717
4732
|
}
|
4718
4733
|
/**
|
4719
4734
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
4720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4735
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SignalID.html Online documentation}
|
4721
4736
|
*/
|
4722
4737
|
export interface SignalIDWrite {
|
4723
4738
|
/**
|
@@ -4753,7 +4768,7 @@ declare module "factorio:runtime" {
|
|
4753
4768
|
* - `"space-location"`
|
4754
4769
|
* - `"asteroid-chunk"`
|
4755
4770
|
* - `"quality"`
|
4756
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4771
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SignalIDType.html Online documentation}
|
4757
4772
|
*/
|
4758
4773
|
export type SignalIDType =
|
4759
4774
|
| "item"
|
@@ -4766,7 +4781,7 @@ declare module "factorio:runtime" {
|
|
4766
4781
|
| "quality"
|
4767
4782
|
/**
|
4768
4783
|
* @see DeciderCombinatorParametersWrite
|
4769
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4784
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorParameters.html Online documentation}
|
4770
4785
|
*/
|
4771
4786
|
export interface DeciderCombinatorParameters {
|
4772
4787
|
/**
|
@@ -4780,7 +4795,7 @@ declare module "factorio:runtime" {
|
|
4780
4795
|
}
|
4781
4796
|
/**
|
4782
4797
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4783
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4798
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorParameters.html Online documentation}
|
4784
4799
|
*/
|
4785
4800
|
export interface DeciderCombinatorParametersWrite {
|
4786
4801
|
/**
|
@@ -4794,7 +4809,7 @@ declare module "factorio:runtime" {
|
|
4794
4809
|
}
|
4795
4810
|
/**
|
4796
4811
|
* @see DeciderCombinatorConditionWrite
|
4797
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4812
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorCondition.html Online documentation}
|
4798
4813
|
*/
|
4799
4814
|
export interface DeciderCombinatorCondition {
|
4800
4815
|
/**
|
@@ -4828,7 +4843,7 @@ declare module "factorio:runtime" {
|
|
4828
4843
|
}
|
4829
4844
|
/**
|
4830
4845
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
4831
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4846
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorCondition.html Online documentation}
|
4832
4847
|
*/
|
4833
4848
|
export interface DeciderCombinatorConditionWrite {
|
4834
4849
|
/**
|
@@ -4862,7 +4877,7 @@ declare module "factorio:runtime" {
|
|
4862
4877
|
}
|
4863
4878
|
/**
|
4864
4879
|
* @see DeciderCombinatorOutputWrite
|
4865
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4880
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorOutput.html Online documentation}
|
4866
4881
|
*/
|
4867
4882
|
export interface DeciderCombinatorOutput {
|
4868
4883
|
/**
|
@@ -4884,7 +4899,7 @@ declare module "factorio:runtime" {
|
|
4884
4899
|
}
|
4885
4900
|
/**
|
4886
4901
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
4887
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4902
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorOutput.html Online documentation}
|
4888
4903
|
*/
|
4889
4904
|
export interface DeciderCombinatorOutputWrite {
|
4890
4905
|
/**
|
@@ -4906,7 +4921,7 @@ declare module "factorio:runtime" {
|
|
4906
4921
|
}
|
4907
4922
|
/**
|
4908
4923
|
* @see ArithmeticCombinatorParametersWrite
|
4909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4924
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4910
4925
|
*/
|
4911
4926
|
export interface ArithmeticCombinatorParameters {
|
4912
4927
|
/**
|
@@ -4944,7 +4959,7 @@ declare module "factorio:runtime" {
|
|
4944
4959
|
}
|
4945
4960
|
/**
|
4946
4961
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4947
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4962
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4948
4963
|
*/
|
4949
4964
|
export interface ArithmeticCombinatorParametersWrite {
|
4950
4965
|
/**
|
@@ -4993,7 +5008,7 @@ declare module "factorio:runtime" {
|
|
4993
5008
|
* - `"AND"`
|
4994
5009
|
* - `"OR"`
|
4995
5010
|
* - `"XOR"`
|
4996
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5011
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
4997
5012
|
*/
|
4998
5013
|
export type ArithmeticCombinatorParameterOperation =
|
4999
5014
|
| "*"
|
@@ -5132,7 +5147,7 @@ declare module "factorio:runtime" {
|
|
5132
5147
|
* - `"random"`: {@link RandomSelectorCombinatorParameters}
|
5133
5148
|
* - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
|
5134
5149
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
5135
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5150
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SelectorCombinatorParameters.html Online documentation}
|
5136
5151
|
*/
|
5137
5152
|
export type SelectorCombinatorParameters =
|
5138
5153
|
| SelectSelectorCombinatorParameters
|
@@ -5143,7 +5158,7 @@ declare module "factorio:runtime" {
|
|
5143
5158
|
| OtherSelectorCombinatorParameters
|
5144
5159
|
/**
|
5145
5160
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
5146
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5161
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SelectorCombinatorParameters.html Online documentation}
|
5147
5162
|
*/
|
5148
5163
|
export type SelectorCombinatorParametersWrite =
|
5149
5164
|
| SelectSelectorCombinatorParametersWrite
|
@@ -5161,7 +5176,7 @@ declare module "factorio:runtime" {
|
|
5161
5176
|
* - `"rocket-capacity"`
|
5162
5177
|
* - `"stack-size"`
|
5163
5178
|
* - `"quality-filter"`
|
5164
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5179
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
5165
5180
|
*/
|
5166
5181
|
export type SelectorCombinatorParameterOperation =
|
5167
5182
|
| "select"
|
@@ -5173,14 +5188,14 @@ declare module "factorio:runtime" {
|
|
5173
5188
|
| "quality-filter"
|
5174
5189
|
/**
|
5175
5190
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
5176
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5191
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
5177
5192
|
*/
|
5178
5193
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
5179
5194
|
readonly decider_conditions: DeciderCombinatorCondition
|
5180
5195
|
}
|
5181
5196
|
/**
|
5182
5197
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5183
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5198
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
5184
5199
|
*/
|
5185
5200
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
5186
5201
|
readonly decider_conditions: DeciderCombinatorConditionWrite
|
@@ -5193,7 +5208,7 @@ declare module "factorio:runtime" {
|
|
5193
5208
|
}
|
5194
5209
|
/**
|
5195
5210
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
5196
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5211
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
5197
5212
|
*/
|
5198
5213
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
5199
5214
|
/**
|
@@ -5220,7 +5235,7 @@ declare module "factorio:runtime" {
|
|
5220
5235
|
}
|
5221
5236
|
/**
|
5222
5237
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5238
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
5224
5239
|
*/
|
5225
5240
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
5226
5241
|
/**
|
@@ -5247,7 +5262,7 @@ declare module "factorio:runtime" {
|
|
5247
5262
|
}
|
5248
5263
|
/**
|
5249
5264
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
5250
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5265
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
5251
5266
|
*/
|
5252
5267
|
export interface RailSignalBaseBlueprintControlBehavior {
|
5253
5268
|
readonly circuit_close_signal: boolean
|
@@ -5260,7 +5275,7 @@ declare module "factorio:runtime" {
|
|
5260
5275
|
}
|
5261
5276
|
/**
|
5262
5277
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5263
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5278
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
5264
5279
|
*/
|
5265
5280
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
5266
5281
|
readonly circuit_close_signal: boolean
|
@@ -5273,7 +5288,7 @@ declare module "factorio:runtime" {
|
|
5273
5288
|
}
|
5274
5289
|
/**
|
5275
5290
|
* @see FurnaceBlueprintControlBehaviorWrite
|
5276
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5291
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
5277
5292
|
*/
|
5278
5293
|
export interface FurnaceBlueprintControlBehavior {
|
5279
5294
|
/**
|
@@ -5315,7 +5330,7 @@ declare module "factorio:runtime" {
|
|
5315
5330
|
}
|
5316
5331
|
/**
|
5317
5332
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5318
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5333
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
5319
5334
|
*/
|
5320
5335
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
5321
5336
|
/**
|
@@ -5357,14 +5372,14 @@ declare module "factorio:runtime" {
|
|
5357
5372
|
}
|
5358
5373
|
/**
|
5359
5374
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
5360
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5375
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
5361
5376
|
*/
|
5362
5377
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
5363
5378
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
5364
5379
|
}
|
5365
5380
|
/**
|
5366
5381
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5367
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5382
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
5368
5383
|
*/
|
5369
5384
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
5370
5385
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
@@ -5383,7 +5398,7 @@ declare module "factorio:runtime" {
|
|
5383
5398
|
}
|
5384
5399
|
/**
|
5385
5400
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
5386
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5401
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
5387
5402
|
*/
|
5388
5403
|
export interface MiningDrillBlueprintControlBehavior {
|
5389
5404
|
readonly circuit_read_resources: boolean
|
@@ -5401,7 +5416,7 @@ declare module "factorio:runtime" {
|
|
5401
5416
|
}
|
5402
5417
|
/**
|
5403
5418
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5419
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
5405
5420
|
*/
|
5406
5421
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
5407
5422
|
readonly circuit_read_resources: boolean
|
@@ -5419,7 +5434,7 @@ declare module "factorio:runtime" {
|
|
5419
5434
|
}
|
5420
5435
|
/**
|
5421
5436
|
* @see WallBlueprintControlBehaviorWrite
|
5422
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5437
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/WallBlueprintControlBehavior.html Online documentation}
|
5423
5438
|
*/
|
5424
5439
|
export interface WallBlueprintControlBehavior {
|
5425
5440
|
readonly circuit_open_gate: boolean
|
@@ -5429,7 +5444,7 @@ declare module "factorio:runtime" {
|
|
5429
5444
|
}
|
5430
5445
|
/**
|
5431
5446
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5432
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5447
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/WallBlueprintControlBehavior.html Online documentation}
|
5433
5448
|
*/
|
5434
5449
|
export interface WallBlueprintControlBehaviorWrite {
|
5435
5450
|
readonly circuit_open_gate: boolean
|
@@ -5445,7 +5460,7 @@ declare module "factorio:runtime" {
|
|
5445
5460
|
}
|
5446
5461
|
/**
|
5447
5462
|
* @see PumpBlueprintControlBehaviorWrite
|
5448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5463
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
5449
5464
|
*/
|
5450
5465
|
export interface PumpBlueprintControlBehavior {
|
5451
5466
|
/**
|
@@ -5465,7 +5480,7 @@ declare module "factorio:runtime" {
|
|
5465
5480
|
}
|
5466
5481
|
/**
|
5467
5482
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5468
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5483
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
5469
5484
|
*/
|
5470
5485
|
export interface PumpBlueprintControlBehaviorWrite {
|
5471
5486
|
/**
|
@@ -5485,7 +5500,7 @@ declare module "factorio:runtime" {
|
|
5485
5500
|
}
|
5486
5501
|
/**
|
5487
5502
|
* @see TrainStopBlueprintControlBehaviorWrite
|
5488
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5503
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
5489
5504
|
*/
|
5490
5505
|
export interface TrainStopBlueprintControlBehavior {
|
5491
5506
|
/**
|
@@ -5529,7 +5544,7 @@ declare module "factorio:runtime" {
|
|
5529
5544
|
}
|
5530
5545
|
/**
|
5531
5546
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5532
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5547
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
5533
5548
|
*/
|
5534
5549
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
5535
5550
|
/**
|
@@ -5573,7 +5588,7 @@ declare module "factorio:runtime" {
|
|
5573
5588
|
}
|
5574
5589
|
/**
|
5575
5590
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
5576
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5591
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
5577
5592
|
*/
|
5578
5593
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
5579
5594
|
readonly circuit_condition: CircuitCondition
|
@@ -5581,7 +5596,7 @@ declare module "factorio:runtime" {
|
|
5581
5596
|
}
|
5582
5597
|
/**
|
5583
5598
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5584
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5599
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
5585
5600
|
*/
|
5586
5601
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
5587
5602
|
readonly circuit_condition: CircuitConditionWrite
|
@@ -5589,7 +5604,7 @@ declare module "factorio:runtime" {
|
|
5589
5604
|
}
|
5590
5605
|
/**
|
5591
5606
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
5592
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5607
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
5593
5608
|
*/
|
5594
5609
|
export interface TransportBeltBlueprintControlBehavior {
|
5595
5610
|
readonly circuit_read_hand_contents: boolean
|
@@ -5607,7 +5622,7 @@ declare module "factorio:runtime" {
|
|
5607
5622
|
}
|
5608
5623
|
/**
|
5609
5624
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5610
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5625
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
5611
5626
|
*/
|
5612
5627
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
5613
5628
|
readonly circuit_read_hand_contents: boolean
|
@@ -5625,7 +5640,7 @@ declare module "factorio:runtime" {
|
|
5625
5640
|
}
|
5626
5641
|
/**
|
5627
5642
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
5628
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5643
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
5629
5644
|
*/
|
5630
5645
|
export interface LogisticContainerBlueprintControlBehavior {
|
5631
5646
|
/**
|
@@ -5637,7 +5652,7 @@ declare module "factorio:runtime" {
|
|
5637
5652
|
}
|
5638
5653
|
/**
|
5639
5654
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5640
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5655
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
5641
5656
|
*/
|
5642
5657
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
5643
5658
|
/**
|
@@ -5649,7 +5664,7 @@ declare module "factorio:runtime" {
|
|
5649
5664
|
}
|
5650
5665
|
/**
|
5651
5666
|
* @see ReactorBlueprintControlBehaviorWrite
|
5652
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5667
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
5653
5668
|
*/
|
5654
5669
|
export interface ReactorBlueprintControlBehavior {
|
5655
5670
|
/**
|
@@ -5664,7 +5679,7 @@ declare module "factorio:runtime" {
|
|
5664
5679
|
}
|
5665
5680
|
/**
|
5666
5681
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5667
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5682
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
5668
5683
|
*/
|
5669
5684
|
export interface ReactorBlueprintControlBehaviorWrite {
|
5670
5685
|
/**
|
@@ -5679,7 +5694,7 @@ declare module "factorio:runtime" {
|
|
5679
5694
|
}
|
5680
5695
|
/**
|
5681
5696
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
5682
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5697
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
5683
5698
|
*/
|
5684
5699
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
5685
5700
|
readonly sections: LogisticSections
|
@@ -5690,7 +5705,7 @@ declare module "factorio:runtime" {
|
|
5690
5705
|
}
|
5691
5706
|
/**
|
5692
5707
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5708
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
5694
5709
|
*/
|
5695
5710
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
5696
5711
|
readonly sections: LogisticSectionsWrite
|
@@ -5701,7 +5716,7 @@ declare module "factorio:runtime" {
|
|
5701
5716
|
}
|
5702
5717
|
/**
|
5703
5718
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
5704
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5719
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
5705
5720
|
*/
|
5706
5721
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
5707
5722
|
readonly read_ammo?: boolean
|
@@ -5718,7 +5733,7 @@ declare module "factorio:runtime" {
|
|
5718
5733
|
}
|
5719
5734
|
/**
|
5720
5735
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5721
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5736
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
5722
5737
|
*/
|
5723
5738
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
5724
5739
|
readonly read_ammo?: boolean
|
@@ -5735,7 +5750,7 @@ declare module "factorio:runtime" {
|
|
5735
5750
|
}
|
5736
5751
|
/**
|
5737
5752
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
5738
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5753
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
5739
5754
|
*/
|
5740
5755
|
export interface AccumulatorBlueprintControlBehavior {
|
5741
5756
|
readonly output_signal: SignalID
|
@@ -5746,7 +5761,7 @@ declare module "factorio:runtime" {
|
|
5746
5761
|
}
|
5747
5762
|
/**
|
5748
5763
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5749
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5764
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
5750
5765
|
*/
|
5751
5766
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
5752
5767
|
readonly output_signal: SignalIDWrite
|
@@ -5757,7 +5772,7 @@ declare module "factorio:runtime" {
|
|
5757
5772
|
}
|
5758
5773
|
/**
|
5759
5774
|
* @see TurretBlueprintControlBehaviorWrite
|
5760
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5775
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
5761
5776
|
*/
|
5762
5777
|
export interface TurretBlueprintControlBehavior {
|
5763
5778
|
/**
|
@@ -5786,7 +5801,7 @@ declare module "factorio:runtime" {
|
|
5786
5801
|
}
|
5787
5802
|
/**
|
5788
5803
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5789
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5804
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
5790
5805
|
*/
|
5791
5806
|
export interface TurretBlueprintControlBehaviorWrite {
|
5792
5807
|
/**
|
@@ -5815,7 +5830,7 @@ declare module "factorio:runtime" {
|
|
5815
5830
|
}
|
5816
5831
|
/**
|
5817
5832
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
5818
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5833
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
5819
5834
|
*/
|
5820
5835
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
5821
5836
|
/**
|
@@ -5843,7 +5858,7 @@ declare module "factorio:runtime" {
|
|
5843
5858
|
}
|
5844
5859
|
/**
|
5845
5860
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5846
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5861
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
5847
5862
|
*/
|
5848
5863
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
5849
5864
|
/**
|
@@ -5877,7 +5892,7 @@ declare module "factorio:runtime" {
|
|
5877
5892
|
}
|
5878
5893
|
/**
|
5879
5894
|
* @see InserterBlueprintControlBehaviorWrite
|
5880
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5895
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
5881
5896
|
*/
|
5882
5897
|
export interface InserterBlueprintControlBehavior {
|
5883
5898
|
/**
|
@@ -5910,7 +5925,7 @@ declare module "factorio:runtime" {
|
|
5910
5925
|
}
|
5911
5926
|
/**
|
5912
5927
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5913
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5928
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
5914
5929
|
*/
|
5915
5930
|
export interface InserterBlueprintControlBehaviorWrite {
|
5916
5931
|
/**
|
@@ -5943,21 +5958,21 @@ declare module "factorio:runtime" {
|
|
5943
5958
|
}
|
5944
5959
|
/**
|
5945
5960
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
5946
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5961
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
5947
5962
|
*/
|
5948
5963
|
export interface DisplayPanelBlueprintControlBehavior {
|
5949
5964
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
5950
5965
|
}
|
5951
5966
|
/**
|
5952
5967
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5953
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5968
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
5954
5969
|
*/
|
5955
5970
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
5956
5971
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
5957
5972
|
}
|
5958
5973
|
/**
|
5959
5974
|
* @see RoboportBlueprintControlBehaviorWrite
|
5960
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5975
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
5961
5976
|
*/
|
5962
5977
|
export interface RoboportBlueprintControlBehavior {
|
5963
5978
|
readonly read_items_mode?: boolean
|
@@ -5970,7 +5985,7 @@ declare module "factorio:runtime" {
|
|
5970
5985
|
}
|
5971
5986
|
/**
|
5972
5987
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5973
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5988
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
5974
5989
|
*/
|
5975
5990
|
export interface RoboportBlueprintControlBehaviorWrite {
|
5976
5991
|
readonly read_items_mode?: boolean
|
@@ -5983,7 +5998,7 @@ declare module "factorio:runtime" {
|
|
5983
5998
|
}
|
5984
5999
|
/**
|
5985
6000
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
5986
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6001
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
5987
6002
|
*/
|
5988
6003
|
export interface AssemblingMachineBlueprintControlBehavior {
|
5989
6004
|
/**
|
@@ -6029,7 +6044,7 @@ declare module "factorio:runtime" {
|
|
6029
6044
|
}
|
6030
6045
|
/**
|
6031
6046
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
6032
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6047
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
6033
6048
|
*/
|
6034
6049
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
6035
6050
|
/**
|
@@ -6075,7 +6090,7 @@ declare module "factorio:runtime" {
|
|
6075
6090
|
}
|
6076
6091
|
/**
|
6077
6092
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
6078
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6093
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
6079
6094
|
*/
|
6080
6095
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
6081
6096
|
/**
|
@@ -6095,7 +6110,7 @@ declare module "factorio:runtime" {
|
|
6095
6110
|
}
|
6096
6111
|
/**
|
6097
6112
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
6098
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6113
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
6099
6114
|
*/
|
6100
6115
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
6101
6116
|
/**
|
@@ -6144,7 +6159,7 @@ declare module "factorio:runtime" {
|
|
6144
6159
|
}
|
6145
6160
|
/**
|
6146
6161
|
* An item thrown overboard on a space platform.
|
6147
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6162
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EjectedItem.html Online documentation}
|
6148
6163
|
*/
|
6149
6164
|
export interface EjectedItem {
|
6150
6165
|
readonly item: LuaItemStack
|
@@ -6173,7 +6188,7 @@ declare module "factorio:runtime" {
|
|
6173
6188
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
6174
6189
|
* -- minimum amount of 1 and a maximum amount of 5
|
6175
6190
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
6176
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6191
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Product.html Online documentation}
|
6177
6192
|
*/
|
6178
6193
|
export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
|
6179
6194
|
/**
|
@@ -6184,7 +6199,7 @@ declare module "factorio:runtime" {
|
|
6184
6199
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
6185
6200
|
* -- minimum amount of 1 and a maximum amount of 5
|
6186
6201
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
6187
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6202
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemProduct.html Online documentation}
|
6188
6203
|
*/
|
6189
6204
|
export interface ItemProduct {
|
6190
6205
|
readonly type: "item"
|
@@ -6228,7 +6243,7 @@ declare module "factorio:runtime" {
|
|
6228
6243
|
* {{type="fluid", name="heavy-oil", amount=1},
|
6229
6244
|
* {type="fluid", name="light-oil", amount=4.5},
|
6230
6245
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
6231
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6246
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FluidProduct.html Online documentation}
|
6232
6247
|
*/
|
6233
6248
|
export interface FluidProduct {
|
6234
6249
|
readonly type: "fluid"
|
@@ -6276,7 +6291,7 @@ declare module "factorio:runtime" {
|
|
6276
6291
|
}
|
6277
6292
|
/**
|
6278
6293
|
* @see BlueprintScheduleRecordWrite
|
6279
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6294
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintScheduleRecord.html Online documentation}
|
6280
6295
|
*/
|
6281
6296
|
export interface BlueprintScheduleRecord {
|
6282
6297
|
/**
|
@@ -6290,7 +6305,7 @@ declare module "factorio:runtime" {
|
|
6290
6305
|
}
|
6291
6306
|
/**
|
6292
6307
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
6293
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6308
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintScheduleRecord.html Online documentation}
|
6294
6309
|
*/
|
6295
6310
|
export interface BlueprintScheduleRecordWrite {
|
6296
6311
|
/**
|
@@ -6304,7 +6319,7 @@ declare module "factorio:runtime" {
|
|
6304
6319
|
}
|
6305
6320
|
/**
|
6306
6321
|
* @see ScheduleRecordWrite
|
6307
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6322
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScheduleRecord.html Online documentation}
|
6308
6323
|
*/
|
6309
6324
|
export interface ScheduleRecord {
|
6310
6325
|
/**
|
@@ -6323,7 +6338,7 @@ declare module "factorio:runtime" {
|
|
6323
6338
|
}
|
6324
6339
|
/**
|
6325
6340
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
6326
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6341
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScheduleRecord.html Online documentation}
|
6327
6342
|
*/
|
6328
6343
|
export interface ScheduleRecordWrite {
|
6329
6344
|
/**
|
@@ -6342,7 +6357,7 @@ declare module "factorio:runtime" {
|
|
6342
6357
|
}
|
6343
6358
|
/**
|
6344
6359
|
* @see BlueprintScheduleInterruptWrite
|
6345
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6360
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
6346
6361
|
*/
|
6347
6362
|
export interface BlueprintScheduleInterrupt {
|
6348
6363
|
/**
|
@@ -6358,7 +6373,7 @@ declare module "factorio:runtime" {
|
|
6358
6373
|
}
|
6359
6374
|
/**
|
6360
6375
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
6361
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6376
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
6362
6377
|
*/
|
6363
6378
|
export interface BlueprintScheduleInterruptWrite {
|
6364
6379
|
/**
|
@@ -6374,7 +6389,7 @@ declare module "factorio:runtime" {
|
|
6374
6389
|
}
|
6375
6390
|
/**
|
6376
6391
|
* @see ScheduleInterruptWrite
|
6377
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6392
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScheduleInterrupt.html Online documentation}
|
6378
6393
|
*/
|
6379
6394
|
export interface ScheduleInterrupt {
|
6380
6395
|
/**
|
@@ -6390,7 +6405,7 @@ declare module "factorio:runtime" {
|
|
6390
6405
|
}
|
6391
6406
|
/**
|
6392
6407
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
6393
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6408
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScheduleInterrupt.html Online documentation}
|
6394
6409
|
*/
|
6395
6410
|
export interface ScheduleInterruptWrite {
|
6396
6411
|
/**
|
@@ -6406,7 +6421,7 @@ declare module "factorio:runtime" {
|
|
6406
6421
|
}
|
6407
6422
|
/**
|
6408
6423
|
* @see WaitConditionWrite
|
6409
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6424
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/WaitCondition.html Online documentation}
|
6410
6425
|
*/
|
6411
6426
|
export interface WaitCondition {
|
6412
6427
|
readonly type: WaitConditionType
|
@@ -6437,7 +6452,7 @@ declare module "factorio:runtime" {
|
|
6437
6452
|
}
|
6438
6453
|
/**
|
6439
6454
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
6440
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6455
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/WaitCondition.html Online documentation}
|
6441
6456
|
*/
|
6442
6457
|
export interface WaitConditionWrite {
|
6443
6458
|
readonly type: WaitConditionType
|
@@ -6496,7 +6511,7 @@ declare module "factorio:runtime" {
|
|
6496
6511
|
* - `"at_station"`
|
6497
6512
|
* - `"not_at_station"`
|
6498
6513
|
* - `"damage_taken"`
|
6499
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6514
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/WaitConditionType.html Online documentation}
|
6500
6515
|
*/
|
6501
6516
|
export type WaitConditionType =
|
6502
6517
|
| "time"
|
@@ -6527,7 +6542,7 @@ declare module "factorio:runtime" {
|
|
6527
6542
|
| "damage_taken"
|
6528
6543
|
/**
|
6529
6544
|
* @see BlueprintScheduleWrite
|
6530
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6545
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintSchedule.html Online documentation}
|
6531
6546
|
*/
|
6532
6547
|
export interface BlueprintSchedule {
|
6533
6548
|
readonly records?: BlueprintScheduleRecord[]
|
@@ -6536,7 +6551,7 @@ declare module "factorio:runtime" {
|
|
6536
6551
|
}
|
6537
6552
|
/**
|
6538
6553
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
6539
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6554
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintSchedule.html Online documentation}
|
6540
6555
|
*/
|
6541
6556
|
export interface BlueprintScheduleWrite {
|
6542
6557
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
@@ -6605,7 +6620,7 @@ declare module "factorio:runtime" {
|
|
6605
6620
|
* - `"create-ghost-on-entity-death"`
|
6606
6621
|
* - `"belt-stack-size-bonus"`
|
6607
6622
|
* - `"vehicle-logistics"`
|
6608
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6623
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ModifierType.html Online documentation}
|
6609
6624
|
*/
|
6610
6625
|
export type ModifierType =
|
6611
6626
|
| "inserter-stack-size-bonus"
|
@@ -7218,7 +7233,7 @@ declare module "factorio:runtime" {
|
|
7218
7233
|
* - `"worker-robot-battery"`: {@link WorkerRobotBatteryTechnologyModifier}
|
7219
7234
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
7220
7235
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
7221
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7236
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TechnologyModifier.html Online documentation}
|
7222
7237
|
*/
|
7223
7238
|
export type TechnologyModifier =
|
7224
7239
|
| AmmoDamageTechnologyModifier
|
@@ -7337,7 +7352,7 @@ declare module "factorio:runtime" {
|
|
7337
7352
|
* - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
|
7338
7353
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
7339
7354
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
7340
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7355
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ResearchTrigger.html Online documentation}
|
7341
7356
|
*/
|
7342
7357
|
export type ResearchTrigger =
|
7343
7358
|
| CraftItemResearchTrigger
|
@@ -7396,7 +7411,7 @@ declare module "factorio:runtime" {
|
|
7396
7411
|
*
|
7397
7412
|
* Other attributes may be specified depending on `type`:
|
7398
7413
|
* - `"fluid"`: {@link FluidIngredient}
|
7399
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7414
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Ingredient.html Online documentation}
|
7400
7415
|
*/
|
7401
7416
|
export type Ingredient = FluidIngredient | OtherIngredient
|
7402
7417
|
/**
|
@@ -7417,7 +7432,7 @@ declare module "factorio:runtime" {
|
|
7417
7432
|
* * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
|
7418
7433
|
* score(chunk) = 1 / (1 + player + base)
|
7419
7434
|
* ```
|
7420
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7435
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EnemyExpansionMapSettings.html Online documentation}
|
7421
7436
|
*/
|
7422
7437
|
export interface EnemyExpansionMapSettings {
|
7423
7438
|
/**
|
@@ -7690,7 +7705,7 @@ declare module "factorio:runtime" {
|
|
7690
7705
|
}
|
7691
7706
|
/**
|
7692
7707
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
7693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7708
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapAndDifficultySettings.html Online documentation}
|
7694
7709
|
*/
|
7695
7710
|
export interface MapAndDifficultySettings {
|
7696
7711
|
readonly pollution: PollutionMapSettings
|
@@ -7711,7 +7726,7 @@ declare module "factorio:runtime" {
|
|
7711
7726
|
* @example
|
7712
7727
|
* -- Increase the number of short paths the pathfinder can cache.
|
7713
7728
|
* game.map_settings.path_finder.short_cache_size = 15
|
7714
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7729
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapSettings.html Online documentation}
|
7715
7730
|
*/
|
7716
7731
|
export interface MapSettings {
|
7717
7732
|
pollution: PollutionMapSettings
|
@@ -7723,7 +7738,7 @@ declare module "factorio:runtime" {
|
|
7723
7738
|
asteroids: AsteroidMapSettings
|
7724
7739
|
/**
|
7725
7740
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
7726
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7741
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
7727
7742
|
*/
|
7728
7743
|
max_failed_behavior_count: uint
|
7729
7744
|
}
|
@@ -7752,7 +7767,7 @@ declare module "factorio:runtime" {
|
|
7752
7767
|
* - `"very-high"`: equivalent to `2`.
|
7753
7768
|
* - `"very-big"`: equivalent to `2`.
|
7754
7769
|
* - `"very-good"`: equivalent to `2`.
|
7755
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7770
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapGenSize.html Online documentation}
|
7756
7771
|
*/
|
7757
7772
|
export type MapGenSize =
|
7758
7773
|
| float
|
@@ -7774,7 +7789,7 @@ declare module "factorio:runtime" {
|
|
7774
7789
|
| "very-good"
|
7775
7790
|
/**
|
7776
7791
|
* These values are for the time frame of one second (60 ticks).
|
7777
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7792
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PollutionMapSettings.html Online documentation}
|
7778
7793
|
*/
|
7779
7794
|
export interface PollutionMapSettings {
|
7780
7795
|
/**
|
@@ -7828,7 +7843,7 @@ declare module "factorio:runtime" {
|
|
7828
7843
|
}
|
7829
7844
|
/**
|
7830
7845
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
7831
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7846
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
7832
7847
|
*/
|
7833
7848
|
export interface EnemyEvolutionMapSettings {
|
7834
7849
|
/**
|
@@ -7850,7 +7865,7 @@ declare module "factorio:runtime" {
|
|
7850
7865
|
}
|
7851
7866
|
/**
|
7852
7867
|
* @see AutoplaceControlWrite
|
7853
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7868
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AutoplaceControl.html Online documentation}
|
7854
7869
|
*/
|
7855
7870
|
export interface AutoplaceControl {
|
7856
7871
|
/**
|
@@ -7868,7 +7883,7 @@ declare module "factorio:runtime" {
|
|
7868
7883
|
}
|
7869
7884
|
/**
|
7870
7885
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
7871
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7886
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AutoplaceControl.html Online documentation}
|
7872
7887
|
*/
|
7873
7888
|
export interface AutoplaceControlWrite {
|
7874
7889
|
/**
|
@@ -7886,7 +7901,7 @@ declare module "factorio:runtime" {
|
|
7886
7901
|
}
|
7887
7902
|
/**
|
7888
7903
|
* @see CliffPlacementSettingsWrite
|
7889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7904
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CliffPlacementSettings.html Online documentation}
|
7890
7905
|
*/
|
7891
7906
|
export interface CliffPlacementSettings {
|
7892
7907
|
/**
|
@@ -7916,7 +7931,7 @@ declare module "factorio:runtime" {
|
|
7916
7931
|
}
|
7917
7932
|
/**
|
7918
7933
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
7919
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7934
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CliffPlacementSettings.html Online documentation}
|
7920
7935
|
*/
|
7921
7936
|
export interface CliffPlacementSettingsWrite {
|
7922
7937
|
/**
|
@@ -7946,7 +7961,7 @@ declare module "factorio:runtime" {
|
|
7946
7961
|
}
|
7947
7962
|
/**
|
7948
7963
|
* @see AutoplaceSettingsWrite
|
7949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7964
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AutoplaceSettings.html Online documentation}
|
7950
7965
|
*/
|
7951
7966
|
export interface AutoplaceSettings {
|
7952
7967
|
/**
|
@@ -7960,7 +7975,7 @@ declare module "factorio:runtime" {
|
|
7960
7975
|
}
|
7961
7976
|
/**
|
7962
7977
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
7963
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7978
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AutoplaceSettings.html Online documentation}
|
7964
7979
|
*/
|
7965
7980
|
export interface AutoplaceSettingsWrite {
|
7966
7981
|
/**
|
@@ -7995,7 +8010,7 @@ declare module "factorio:runtime" {
|
|
7995
8010
|
* surface.map_gen_settings = mgs
|
7996
8011
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
7997
8012
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
7998
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8013
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapGenSettings.html Online documentation}
|
7999
8014
|
*/
|
8000
8015
|
export interface MapGenSettings {
|
8001
8016
|
/**
|
@@ -8050,7 +8065,7 @@ declare module "factorio:runtime" {
|
|
8050
8065
|
}
|
8051
8066
|
/**
|
8052
8067
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
8053
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8068
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapGenSettings.html Online documentation}
|
8054
8069
|
*/
|
8055
8070
|
export interface MapGenSettingsWrite {
|
8056
8071
|
/**
|
@@ -8134,12 +8149,12 @@ declare module "factorio:runtime" {
|
|
8134
8149
|
}
|
8135
8150
|
/**
|
8136
8151
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
8137
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8152
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/NoiseExpressionSourceString.html Online documentation}
|
8138
8153
|
*/
|
8139
8154
|
export type NoiseExpressionSourceString = string
|
8140
8155
|
/**
|
8141
8156
|
* Specifies how probability and richness are calculated when placing something on the map.
|
8142
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8157
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AutoplaceSpecification.html Online documentation}
|
8143
8158
|
*/
|
8144
8159
|
export interface AutoplaceSpecification {
|
8145
8160
|
readonly placement_density: uint
|
@@ -8219,8 +8234,8 @@ declare module "factorio:runtime" {
|
|
8219
8234
|
_customEventIdBrand: any
|
8220
8235
|
}
|
8221
8236
|
/**
|
8222
|
-
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.
|
8223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8237
|
+
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.66/events.html the list of Factorio events} for more information on these.
|
8238
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EventData.html Online documentation}
|
8224
8239
|
*/
|
8225
8240
|
export interface EventData {
|
8226
8241
|
/**
|
@@ -8238,7 +8253,7 @@ declare module "factorio:runtime" {
|
|
8238
8253
|
}
|
8239
8254
|
/**
|
8240
8255
|
* Information about an individual segment in a segmented unit when the unit died.
|
8241
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8256
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PostSegmentDiedData.html Online documentation}
|
8242
8257
|
*/
|
8243
8258
|
export interface PostSegmentDiedData {
|
8244
8259
|
/**
|
@@ -8314,29 +8329,29 @@ declare module "factorio:runtime" {
|
|
8314
8329
|
*/
|
8315
8330
|
readonly migration_applied: boolean
|
8316
8331
|
/**
|
8317
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.
|
8332
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.66/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
8333
|
*/
|
8319
8334
|
readonly migrations: Record<IDType, Record<string, string>>
|
8320
8335
|
}
|
8321
8336
|
/**
|
8322
8337
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
8323
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8338
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DifficultySettings.html Online documentation}
|
8324
8339
|
*/
|
8325
8340
|
export interface DifficultySettings {
|
8326
8341
|
/**
|
8327
8342
|
* A value in range [0.001, 1000].
|
8328
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8343
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
8329
8344
|
*/
|
8330
8345
|
technology_price_multiplier: double
|
8331
8346
|
/**
|
8332
8347
|
* A value in range [0.01, 100].
|
8333
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8348
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
8334
8349
|
*/
|
8335
8350
|
spoil_time_modifier: double
|
8336
8351
|
}
|
8337
8352
|
/**
|
8338
8353
|
* A single pipe connection for a given fluidbox.
|
8339
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8354
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PipeConnection.html Online documentation}
|
8340
8355
|
*/
|
8341
8356
|
export interface PipeConnection {
|
8342
8357
|
readonly flow_direction: FluidFlowDirection
|
@@ -8401,7 +8416,7 @@ declare module "factorio:runtime" {
|
|
8401
8416
|
}
|
8402
8417
|
/**
|
8403
8418
|
* @see AsteroidChunkWrite
|
8404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8419
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AsteroidChunk.html Online documentation}
|
8405
8420
|
*/
|
8406
8421
|
export interface AsteroidChunk {
|
8407
8422
|
/**
|
@@ -8413,7 +8428,7 @@ declare module "factorio:runtime" {
|
|
8413
8428
|
}
|
8414
8429
|
/**
|
8415
8430
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
8416
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8431
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AsteroidChunk.html Online documentation}
|
8417
8432
|
*/
|
8418
8433
|
export interface AsteroidChunkWrite {
|
8419
8434
|
/**
|
@@ -8425,7 +8440,7 @@ declare module "factorio:runtime" {
|
|
8425
8440
|
}
|
8426
8441
|
/**
|
8427
8442
|
* The data that can be extracted from a map exchange string, as a plain table.
|
8428
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8443
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/MapExchangeStringData.html Online documentation}
|
8429
8444
|
*/
|
8430
8445
|
export interface MapExchangeStringData {
|
8431
8446
|
readonly map_settings: MapAndDifficultySettings
|
@@ -8451,7 +8466,7 @@ declare module "factorio:runtime" {
|
|
8451
8466
|
}
|
8452
8467
|
/**
|
8453
8468
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
8454
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8469
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ChunkPositionAndArea.html Online documentation}
|
8455
8470
|
*/
|
8456
8471
|
export interface ChunkPositionAndArea {
|
8457
8472
|
readonly x: int
|
@@ -8499,7 +8514,7 @@ declare module "factorio:runtime" {
|
|
8499
8514
|
* - `"check-box"`
|
8500
8515
|
* - `"switch"`
|
8501
8516
|
* - `"label"`
|
8502
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8517
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SimulationWidgetType.html Online documentation}
|
8503
8518
|
*/
|
8504
8519
|
export type SimulationWidgetType =
|
8505
8520
|
| "signal-id"
|
@@ -8687,7 +8702,7 @@ declare module "factorio:runtime" {
|
|
8687
8702
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
8688
8703
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
8689
8704
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
8690
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8705
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SegmentedUnitAIState.html Online documentation}
|
8691
8706
|
*/
|
8692
8707
|
export type SegmentedUnitAIState =
|
8693
8708
|
| PatrollingSegmentedUnitAIState
|
@@ -8697,7 +8712,7 @@ declare module "factorio:runtime" {
|
|
8697
8712
|
| EnragedAtNothingSegmentedUnitAIState
|
8698
8713
|
/**
|
8699
8714
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
8700
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8715
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SegmentedUnitAIState.html Online documentation}
|
8701
8716
|
*/
|
8702
8717
|
export type SegmentedUnitAIStateWrite =
|
8703
8718
|
| PatrollingSegmentedUnitAIStateWrite
|
@@ -8737,6 +8752,7 @@ declare module "factorio:runtime" {
|
|
8737
8752
|
readonly condition_size: uint
|
8738
8753
|
readonly condition: CollisionMask
|
8739
8754
|
readonly invert: boolean
|
8755
|
+
readonly tile_condition: LuaTilePrototype[]
|
8740
8756
|
}
|
8741
8757
|
export interface AddRecordData {
|
8742
8758
|
/**
|
@@ -8748,8 +8764,17 @@ declare module "factorio:runtime" {
|
|
8748
8764
|
* When `rail` is given, this can be provided to further narrow down direction from which that rail should be approached.
|
8749
8765
|
*/
|
8750
8766
|
readonly rail_direction?: defines.rail_direction
|
8767
|
+
/**
|
8768
|
+
* Defaults to `false`.
|
8769
|
+
*/
|
8751
8770
|
readonly temporary?: boolean
|
8771
|
+
/**
|
8772
|
+
* Defaults to `false`.
|
8773
|
+
*/
|
8752
8774
|
readonly created_by_interrupt?: boolean
|
8775
|
+
/**
|
8776
|
+
* Defaults to `true`.
|
8777
|
+
*/
|
8753
8778
|
readonly allows_unloading?: boolean
|
8754
8779
|
readonly wait_conditions?: readonly WaitConditionWrite[]
|
8755
8780
|
/**
|
@@ -8835,7 +8860,7 @@ declare module "factorio:runtime" {
|
|
8835
8860
|
/**
|
8836
8861
|
* 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].
|
8837
8862
|
* @see ColorModifierArray
|
8838
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8863
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ColorModifier.html Online documentation}
|
8839
8864
|
*/
|
8840
8865
|
export interface ColorModifier {
|
8841
8866
|
readonly r?: float
|
@@ -8846,7 +8871,7 @@ declare module "factorio:runtime" {
|
|
8846
8871
|
/**
|
8847
8872
|
* Array form of {@link ColorModifier}.
|
8848
8873
|
* @see ColorModifier
|
8849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8874
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ColorModifier.html Online documentation}
|
8850
8875
|
*/
|
8851
8876
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
8852
8877
|
export interface Decorative {
|
@@ -8865,7 +8890,7 @@ declare module "factorio:runtime" {
|
|
8865
8890
|
/**
|
8866
8891
|
* An area defined using the map editor.
|
8867
8892
|
* @see ScriptAreaWrite
|
8868
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8893
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptArea.html Online documentation}
|
8869
8894
|
*/
|
8870
8895
|
export interface ScriptArea {
|
8871
8896
|
readonly area: BoundingBox
|
@@ -8875,7 +8900,7 @@ declare module "factorio:runtime" {
|
|
8875
8900
|
}
|
8876
8901
|
/**
|
8877
8902
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
8878
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8903
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptArea.html Online documentation}
|
8879
8904
|
*/
|
8880
8905
|
export interface ScriptAreaWrite {
|
8881
8906
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
@@ -8886,7 +8911,7 @@ declare module "factorio:runtime" {
|
|
8886
8911
|
/**
|
8887
8912
|
* A position defined using the map editor.
|
8888
8913
|
* @see ScriptPositionWrite
|
8889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8914
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptPosition.html Online documentation}
|
8890
8915
|
*/
|
8891
8916
|
export interface ScriptPosition {
|
8892
8917
|
readonly position: MapPosition
|
@@ -8896,7 +8921,7 @@ declare module "factorio:runtime" {
|
|
8896
8921
|
}
|
8897
8922
|
/**
|
8898
8923
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
8899
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8924
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ScriptPosition.html Online documentation}
|
8900
8925
|
*/
|
8901
8926
|
export interface ScriptPositionWrite {
|
8902
8927
|
readonly position: MapPosition | MapPositionArray
|
@@ -8906,7 +8931,7 @@ declare module "factorio:runtime" {
|
|
8906
8931
|
}
|
8907
8932
|
/**
|
8908
8933
|
* A table used to define a manual shape for a piece of equipment.
|
8909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8934
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentPoint.html Online documentation}
|
8910
8935
|
*/
|
8911
8936
|
export interface EquipmentPoint {
|
8912
8937
|
readonly x: uint
|
@@ -8915,7 +8940,7 @@ declare module "factorio:runtime" {
|
|
8915
8940
|
/**
|
8916
8941
|
* 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.
|
8917
8942
|
* @see GuiLocationArray
|
8918
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8943
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GuiLocation.html Online documentation}
|
8919
8944
|
*/
|
8920
8945
|
export interface GuiLocation {
|
8921
8946
|
readonly x: int
|
@@ -8924,7 +8949,7 @@ declare module "factorio:runtime" {
|
|
8924
8949
|
/**
|
8925
8950
|
* Array form of {@link GuiLocation}.
|
8926
8951
|
* @see GuiLocation
|
8927
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8952
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GuiLocation.html Online documentation}
|
8928
8953
|
*/
|
8929
8954
|
export type GuiLocationArray = readonly [int, int]
|
8930
8955
|
export interface TabAndContent {
|
@@ -8947,13 +8972,13 @@ declare module "factorio:runtime" {
|
|
8947
8972
|
*/
|
8948
8973
|
readonly names?: string[]
|
8949
8974
|
/**
|
8950
|
-
*
|
8975
|
+
* Defaults to `"only_real"`.
|
8951
8976
|
*/
|
8952
8977
|
readonly ghost_mode?: "both" | "only_ghosts" | "only_real"
|
8953
8978
|
}
|
8954
8979
|
/**
|
8955
8980
|
* Either `icon`, `text`, or both must be provided.
|
8956
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8981
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ChartTagSpec.html Online documentation}
|
8957
8982
|
*/
|
8958
8983
|
export interface ChartTagSpec {
|
8959
8984
|
readonly position: MapPosition | MapPositionArray
|
@@ -9082,7 +9107,7 @@ declare module "factorio:runtime" {
|
|
9082
9107
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
9083
9108
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
9084
9109
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
9085
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9110
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrainPathRequestType.html Online documentation}
|
9086
9111
|
*/
|
9087
9112
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
9088
9113
|
/**
|
@@ -9091,7 +9116,7 @@ declare module "factorio:runtime" {
|
|
9091
9116
|
* - {@link RailEndGoal}
|
9092
9117
|
* - {@link LuaRailEnd}
|
9093
9118
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
9094
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9119
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TrainPathFinderGoal.html Online documentation}
|
9095
9120
|
*/
|
9096
9121
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
9097
9122
|
export interface TrainStopGoal {
|
@@ -9286,7 +9311,7 @@ declare module "factorio:runtime" {
|
|
9286
9311
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
9287
9312
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
9288
9313
|
* @see EventFilterWrite
|
9289
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9314
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EventFilter.html Online documentation}
|
9290
9315
|
*/
|
9291
9316
|
export type EventFilter =
|
9292
9317
|
| LuaSegmentedUnitDiedEventFilter[]
|
@@ -9321,7 +9346,7 @@ declare module "factorio:runtime" {
|
|
9321
9346
|
| LuaScriptRaisedDestroyEventFilter[]
|
9322
9347
|
/**
|
9323
9348
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
9324
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9349
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EventFilter.html Online documentation}
|
9325
9350
|
*/
|
9326
9351
|
export type EventFilterWrite =
|
9327
9352
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
@@ -9356,7 +9381,7 @@ declare module "factorio:runtime" {
|
|
9356
9381
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
9357
9382
|
/**
|
9358
9383
|
* @see CircuitConditionDefinitionWrite
|
9359
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9384
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CircuitConditionDefinition.html Online documentation}
|
9360
9385
|
*/
|
9361
9386
|
export interface CircuitConditionDefinition {
|
9362
9387
|
/**
|
@@ -9382,7 +9407,7 @@ declare module "factorio:runtime" {
|
|
9382
9407
|
}
|
9383
9408
|
/**
|
9384
9409
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
9385
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9410
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CircuitConditionDefinition.html Online documentation}
|
9386
9411
|
*/
|
9387
9412
|
export interface CircuitConditionDefinitionWrite {
|
9388
9413
|
/**
|
@@ -9432,7 +9457,7 @@ declare module "factorio:runtime" {
|
|
9432
9457
|
* - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
|
9433
9458
|
* - {@link LuaTerritory}: Target type {@link defines.target_type.territory territory}
|
9434
9459
|
* - {@link LuaSegmentedUnit}: Target type {@link defines.target_type.segmented_unit segmented_unit}; `useful_id` {@link LuaSegmentedUnit#unit_number LuaSegmentedUnit::unit_number}
|
9435
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9460
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RegistrationTarget.html Online documentation}
|
9436
9461
|
*/
|
9437
9462
|
export type RegistrationTarget =
|
9438
9463
|
| LuaEntity
|
@@ -9503,7 +9528,7 @@ declare module "factorio:runtime" {
|
|
9503
9528
|
* - `"surface"`
|
9504
9529
|
* - `"mod-data"`
|
9505
9530
|
* - `"custom-event"`
|
9506
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9531
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/IDType.html Online documentation}
|
9507
9532
|
*/
|
9508
9533
|
export type IDType =
|
9509
9534
|
| "custom-input"
|
@@ -9564,7 +9589,7 @@ declare module "factorio:runtime" {
|
|
9564
9589
|
}
|
9565
9590
|
/**
|
9566
9591
|
* @see EntityIDFilterWrite
|
9567
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9592
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityIDFilter.html Online documentation}
|
9568
9593
|
*/
|
9569
9594
|
export interface EntityIDFilter {
|
9570
9595
|
/**
|
@@ -9582,7 +9607,7 @@ declare module "factorio:runtime" {
|
|
9582
9607
|
}
|
9583
9608
|
/**
|
9584
9609
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
9585
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9610
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityIDFilter.html Online documentation}
|
9586
9611
|
*/
|
9587
9612
|
export interface EntityIDFilterWrite {
|
9588
9613
|
/**
|
@@ -9617,7 +9642,7 @@ declare module "factorio:runtime" {
|
|
9617
9642
|
* - {@link FluidPrototypeFilter}
|
9618
9643
|
* - {@link EntityPrototypeFilter}
|
9619
9644
|
* @see PrototypeFilterWrite
|
9620
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9645
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PrototypeFilter.html Online documentation}
|
9621
9646
|
*/
|
9622
9647
|
export type PrototypeFilter =
|
9623
9648
|
| ModSettingPrototypeFilter[]
|
@@ -9634,7 +9659,7 @@ declare module "factorio:runtime" {
|
|
9634
9659
|
| EntityPrototypeFilter[]
|
9635
9660
|
/**
|
9636
9661
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
9637
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9662
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PrototypeFilter.html Online documentation}
|
9638
9663
|
*/
|
9639
9664
|
export type PrototypeFilterWrite =
|
9640
9665
|
| readonly ModSettingPrototypeFilter[]
|
@@ -9653,7 +9678,7 @@ declare module "factorio:runtime" {
|
|
9653
9678
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
9654
9679
|
*
|
9655
9680
|
* By default, none of these flags are set.
|
9656
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9681
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityPrototypeFlags.html Online documentation}
|
9657
9682
|
*/
|
9658
9683
|
export type EntityPrototypeFlags = {
|
9659
9684
|
readonly [T in EntityPrototypeFlag]?: true
|
@@ -9687,7 +9712,7 @@ declare module "factorio:runtime" {
|
|
9687
9712
|
* - `"building-direction-16-way"`
|
9688
9713
|
* - `"snap-to-rail-support-spot"`
|
9689
9714
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
9690
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9715
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityPrototypeFlag.html Online documentation}
|
9691
9716
|
*/
|
9692
9717
|
export type EntityPrototypeFlag =
|
9693
9718
|
| "not-rotatable"
|
@@ -9717,7 +9742,7 @@ declare module "factorio:runtime" {
|
|
9717
9742
|
| "not-in-made-in"
|
9718
9743
|
/**
|
9719
9744
|
* A single filter used by an infinity-pipe type entity.
|
9720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9745
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/InfinityPipeFilter.html Online documentation}
|
9721
9746
|
*/
|
9722
9747
|
export interface InfinityPipeFilter {
|
9723
9748
|
/**
|
@@ -9747,7 +9772,7 @@ declare module "factorio:runtime" {
|
|
9747
9772
|
}
|
9748
9773
|
/**
|
9749
9774
|
* @see ProgrammableSpeakerParametersWrite
|
9750
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9775
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
9751
9776
|
*/
|
9752
9777
|
export interface ProgrammableSpeakerParameters {
|
9753
9778
|
readonly playback_volume: float
|
@@ -9758,7 +9783,7 @@ declare module "factorio:runtime" {
|
|
9758
9783
|
}
|
9759
9784
|
/**
|
9760
9785
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
9761
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9786
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
9762
9787
|
*/
|
9763
9788
|
export interface ProgrammableSpeakerParametersWrite {
|
9764
9789
|
readonly playback_volume: float
|
@@ -9774,12 +9799,12 @@ declare module "factorio:runtime" {
|
|
9774
9799
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
9775
9800
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
9776
9801
|
* - `"global"`: The sound can be heard everywhere.
|
9777
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9802
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
9778
9803
|
*/
|
9779
9804
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
9780
9805
|
/**
|
9781
9806
|
* @see ProgrammableSpeakerAlertParametersWrite
|
9782
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9807
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
9783
9808
|
*/
|
9784
9809
|
export interface ProgrammableSpeakerAlertParameters {
|
9785
9810
|
readonly show_alert: boolean
|
@@ -9789,7 +9814,7 @@ declare module "factorio:runtime" {
|
|
9789
9814
|
}
|
9790
9815
|
/**
|
9791
9816
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
9792
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9817
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
9793
9818
|
*/
|
9794
9819
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
9795
9820
|
readonly show_alert: boolean
|
@@ -9817,12 +9842,12 @@ declare module "factorio:runtime" {
|
|
9817
9842
|
* - `"exactly"`
|
9818
9843
|
* - `"add"`
|
9819
9844
|
* - `"remove"`
|
9820
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9845
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/HeatSettingMode.html Online documentation}
|
9821
9846
|
*/
|
9822
9847
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
9823
9848
|
/**
|
9824
9849
|
* The settings used by a heat-interface type entity.
|
9825
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9850
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/HeatSetting.html Online documentation}
|
9826
9851
|
*/
|
9827
9852
|
export interface HeatSetting {
|
9828
9853
|
/**
|
@@ -9856,7 +9881,7 @@ declare module "factorio:runtime" {
|
|
9856
9881
|
* - `"none-to-south"`
|
9857
9882
|
* - `"south-to-none"`
|
9858
9883
|
* - `"none-to-north"`
|
9859
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9884
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/CliffOrientation.html Online documentation}
|
9860
9885
|
*/
|
9861
9886
|
export type CliffOrientation =
|
9862
9887
|
| "west-to-east"
|
@@ -9886,7 +9911,7 @@ declare module "factorio:runtime" {
|
|
9886
9911
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
9887
9912
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
9888
9913
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
9889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9914
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ValveMode.html Online documentation}
|
9890
9915
|
*/
|
9891
9916
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
9892
9917
|
/**
|
@@ -9894,12 +9919,12 @@ declare module "factorio:runtime" {
|
|
9894
9919
|
* - `"fresh_first"`
|
9895
9920
|
* - `"none"`
|
9896
9921
|
* - `"spoiled_first"`
|
9897
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9922
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpoilPriority.html Online documentation}
|
9898
9923
|
*/
|
9899
9924
|
export type SpoilPriority = "fresh_first" | "none" | "spoiled_first"
|
9900
9925
|
/**
|
9901
9926
|
* @see BlueprintInfinityInventorySettingsWrite
|
9902
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9927
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
9903
9928
|
*/
|
9904
9929
|
export interface BlueprintInfinityInventorySettings {
|
9905
9930
|
readonly filters?: InfinityInventoryFilter[]
|
@@ -9910,7 +9935,7 @@ declare module "factorio:runtime" {
|
|
9910
9935
|
}
|
9911
9936
|
/**
|
9912
9937
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
9913
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9938
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
9914
9939
|
*/
|
9915
9940
|
export interface BlueprintInfinityInventorySettingsWrite {
|
9916
9941
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
@@ -9955,7 +9980,7 @@ declare module "factorio:runtime" {
|
|
9955
9980
|
/**
|
9956
9981
|
* Defines an item type that a blueprint entity will request.
|
9957
9982
|
* @see BlueprintInsertPlanWrite
|
9958
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9983
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintInsertPlan.html Online documentation}
|
9959
9984
|
*/
|
9960
9985
|
export interface BlueprintInsertPlan {
|
9961
9986
|
/**
|
@@ -9969,7 +9994,7 @@ declare module "factorio:runtime" {
|
|
9969
9994
|
}
|
9970
9995
|
/**
|
9971
9996
|
* Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
|
9972
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9997
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintInsertPlan.html Online documentation}
|
9973
9998
|
*/
|
9974
9999
|
export interface BlueprintInsertPlanWrite {
|
9975
10000
|
/**
|
@@ -10007,7 +10032,7 @@ declare module "factorio:runtime" {
|
|
10007
10032
|
}
|
10008
10033
|
/**
|
10009
10034
|
* A single offer on a market entity.
|
10010
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10035
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Offer.html Online documentation}
|
10011
10036
|
*/
|
10012
10037
|
export interface Offer {
|
10013
10038
|
/**
|
@@ -10053,7 +10078,7 @@ declare module "factorio:runtime" {
|
|
10053
10078
|
/**
|
10054
10079
|
* A single filter used by an infinity-filters instance.
|
10055
10080
|
* @see InfinityInventoryFilterWrite
|
10056
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10081
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/InfinityInventoryFilter.html Online documentation}
|
10057
10082
|
*/
|
10058
10083
|
export interface InfinityInventoryFilter {
|
10059
10084
|
/**
|
@@ -10079,7 +10104,7 @@ declare module "factorio:runtime" {
|
|
10079
10104
|
}
|
10080
10105
|
/**
|
10081
10106
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
10082
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10107
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/InfinityInventoryFilter.html Online documentation}
|
10083
10108
|
*/
|
10084
10109
|
export interface InfinityInventoryFilterWrite {
|
10085
10110
|
/**
|
@@ -10143,14 +10168,14 @@ declare module "factorio:runtime" {
|
|
10143
10168
|
*
|
10144
10169
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
10145
10170
|
*
|
10146
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10171
|
+
* {@link https://lua-api.factorio.com/2.0.66/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
10147
10172
|
*
|
10148
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10173
|
+
* {@link https://lua-api.factorio.com/2.0.66/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
10149
10174
|
*
|
10150
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10175
|
+
* {@link https://lua-api.factorio.com/2.0.66/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
10151
10176
|
*
|
10152
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10153
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10177
|
+
* {@link https://lua-api.factorio.com/2.0.66/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
10178
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SoundPath.html Online documentation}
|
10154
10179
|
*/
|
10155
10180
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
10156
10181
|
/**
|
@@ -10168,7 +10193,7 @@ declare module "factorio:runtime" {
|
|
10168
10193
|
* - `"weapon"`
|
10169
10194
|
* - `"explosion"`
|
10170
10195
|
* - `"enemy"`
|
10171
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10196
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SoundType.html Online documentation}
|
10172
10197
|
*/
|
10173
10198
|
export type SoundType =
|
10174
10199
|
| "game-effect"
|
@@ -10209,7 +10234,7 @@ declare module "factorio:runtime" {
|
|
10209
10234
|
}
|
10210
10235
|
/**
|
10211
10236
|
* @see BlueprintLogisticFilterWrite
|
10212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10237
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintLogisticFilter.html Online documentation}
|
10213
10238
|
*/
|
10214
10239
|
export interface BlueprintLogisticFilter {
|
10215
10240
|
readonly index: LogisticFilterIndex
|
@@ -10239,7 +10264,7 @@ declare module "factorio:runtime" {
|
|
10239
10264
|
}
|
10240
10265
|
/**
|
10241
10266
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
10242
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10267
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintLogisticFilter.html Online documentation}
|
10243
10268
|
*/
|
10244
10269
|
export interface BlueprintLogisticFilterWrite {
|
10245
10270
|
readonly index: LogisticFilterIndex
|
@@ -10269,7 +10294,7 @@ declare module "factorio:runtime" {
|
|
10269
10294
|
}
|
10270
10295
|
/**
|
10271
10296
|
* @see BlueprintLogisticSectionsWrite
|
10272
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10297
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintLogisticSections.html Online documentation}
|
10273
10298
|
*/
|
10274
10299
|
export interface BlueprintLogisticSections {
|
10275
10300
|
readonly sections?: LogisticSection[]
|
@@ -10284,7 +10309,7 @@ declare module "factorio:runtime" {
|
|
10284
10309
|
}
|
10285
10310
|
/**
|
10286
10311
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
10287
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10312
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/BlueprintLogisticSections.html Online documentation}
|
10288
10313
|
*/
|
10289
10314
|
export interface BlueprintLogisticSectionsWrite {
|
10290
10315
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -10299,7 +10324,7 @@ declare module "factorio:runtime" {
|
|
10299
10324
|
}
|
10300
10325
|
/**
|
10301
10326
|
* @see LogisticSectionWrite
|
10302
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10327
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticSection.html Online documentation}
|
10303
10328
|
*/
|
10304
10329
|
export interface LogisticSection {
|
10305
10330
|
readonly index: uint8
|
@@ -10316,7 +10341,7 @@ declare module "factorio:runtime" {
|
|
10316
10341
|
}
|
10317
10342
|
/**
|
10318
10343
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
10319
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10344
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticSection.html Online documentation}
|
10320
10345
|
*/
|
10321
10346
|
export interface LogisticSectionWrite {
|
10322
10347
|
readonly index: uint8
|
@@ -10337,7 +10362,7 @@ declare module "factorio:runtime" {
|
|
10337
10362
|
}
|
10338
10363
|
/**
|
10339
10364
|
* @see LogisticSectionsWrite
|
10340
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10365
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticSections.html Online documentation}
|
10341
10366
|
*/
|
10342
10367
|
export interface LogisticSections {
|
10343
10368
|
readonly sections?: LogisticSection[]
|
@@ -10348,7 +10373,7 @@ declare module "factorio:runtime" {
|
|
10348
10373
|
}
|
10349
10374
|
/**
|
10350
10375
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
10351
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10376
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LogisticSections.html Online documentation}
|
10352
10377
|
*/
|
10353
10378
|
export interface LogisticSectionsWrite {
|
10354
10379
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -10371,7 +10396,7 @@ declare module "factorio:runtime" {
|
|
10371
10396
|
* - {@link LuaAsteroidChunkPrototype}
|
10372
10397
|
* - {@link LuaVirtualSignalPrototype}
|
10373
10398
|
* - {@link LuaSurfacePrototype}
|
10374
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10399
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FactoriopediaID.html Online documentation}
|
10375
10400
|
*/
|
10376
10401
|
export type FactoriopediaID =
|
10377
10402
|
| LuaItemPrototype
|
@@ -10392,7 +10417,7 @@ declare module "factorio:runtime" {
|
|
10392
10417
|
* ## Union members
|
10393
10418
|
* - `"horizontal"`
|
10394
10419
|
* - `"vertical"`
|
10395
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10420
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/GuiDirection.html Online documentation}
|
10396
10421
|
*/
|
10397
10422
|
export type GuiDirection = "horizontal" | "vertical"
|
10398
10423
|
/**
|
@@ -10410,7 +10435,7 @@ declare module "factorio:runtime" {
|
|
10410
10435
|
* - `"top-right"`
|
10411
10436
|
* - `"right"`: The same as `"middle-right"`
|
10412
10437
|
* - `"bottom-right"`
|
10413
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10438
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Alignment.html Online documentation}
|
10414
10439
|
*/
|
10415
10440
|
export type Alignment =
|
10416
10441
|
| "top-left"
|
@@ -10468,7 +10493,7 @@ declare module "factorio:runtime" {
|
|
10468
10493
|
}
|
10469
10494
|
/**
|
10470
10495
|
* A set of trigger target masks.
|
10471
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10496
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TriggerTargetMask.html Online documentation}
|
10472
10497
|
*/
|
10473
10498
|
export type TriggerTargetMask = Record<string, true>
|
10474
10499
|
export interface AttackReactionItem {
|
@@ -10538,7 +10563,7 @@ declare module "factorio:runtime" {
|
|
10538
10563
|
* - `"destroy-decoratives"`
|
10539
10564
|
* - `"camera-effect"`
|
10540
10565
|
* - `"activate-impact"`
|
10541
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10566
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TriggerEffectItemType.html Online documentation}
|
10542
10567
|
*/
|
10543
10568
|
export type TriggerEffectItemType =
|
10544
10569
|
| "damage"
|
@@ -10671,7 +10696,7 @@ declare module "factorio:runtime" {
|
|
10671
10696
|
* Other attributes may be specified depending on `type`:
|
10672
10697
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
10673
10698
|
* - `"stream"`: {@link StreamAttackParameters}
|
10674
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10699
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AttackParameters.html Online documentation}
|
10675
10700
|
*/
|
10676
10701
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
10677
10702
|
/**
|
@@ -10679,7 +10704,7 @@ declare module "factorio:runtime" {
|
|
10679
10704
|
* - `"left"`
|
10680
10705
|
* - `"none"`
|
10681
10706
|
* - `"right"`
|
10682
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10707
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SplitterPriority.html Online documentation}
|
10683
10708
|
*/
|
10684
10709
|
export type SplitterPriority = "left" | "none" | "right"
|
10685
10710
|
/**
|
@@ -10688,12 +10713,12 @@ declare module "factorio:runtime" {
|
|
10688
10713
|
* Note that the API returns tags as a simple table, meaning any modifications to it will not propagate back to the game. Thus, to modify a set of tags, the whole table needs to be written back to the respective property.
|
10689
10714
|
* @example
|
10690
10715
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
10691
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10716
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Tags.html Online documentation}
|
10692
10717
|
*/
|
10693
10718
|
export type Tags = Record<string, AnyBasic>
|
10694
10719
|
/**
|
10695
10720
|
* @see TileWrite
|
10696
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10721
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Tile.html Online documentation}
|
10697
10722
|
*/
|
10698
10723
|
export interface Tile {
|
10699
10724
|
/**
|
@@ -10707,7 +10732,7 @@ declare module "factorio:runtime" {
|
|
10707
10732
|
}
|
10708
10733
|
/**
|
10709
10734
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
10710
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10735
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Tile.html Online documentation}
|
10711
10736
|
*/
|
10712
10737
|
export interface TileWrite {
|
10713
10738
|
/**
|
@@ -10731,99 +10756,99 @@ declare module "factorio:runtime" {
|
|
10731
10756
|
}
|
10732
10757
|
/**
|
10733
10758
|
* 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.
|
10734
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10759
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/float.html Online documentation}
|
10735
10760
|
*/
|
10736
10761
|
export type float = number
|
10737
10762
|
/**
|
10738
10763
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
10739
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10764
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/double.html Online documentation}
|
10740
10765
|
*/
|
10741
10766
|
export type double = number
|
10742
10767
|
/**
|
10743
10768
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
10744
10769
|
*
|
10745
10770
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
10746
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10771
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/uint8.html Online documentation}
|
10747
10772
|
*/
|
10748
10773
|
export type uint8 = number
|
10749
10774
|
/**
|
10750
10775
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
10751
10776
|
*
|
10752
10777
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
10753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10778
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/int8.html Online documentation}
|
10754
10779
|
*/
|
10755
10780
|
export type int8 = number
|
10756
10781
|
/**
|
10757
10782
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
10758
10783
|
*
|
10759
10784
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
10760
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10785
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/uint16.html Online documentation}
|
10761
10786
|
*/
|
10762
10787
|
export type uint16 = number
|
10763
10788
|
/**
|
10764
10789
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
10765
10790
|
*
|
10766
10791
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
10767
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10792
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/int16.html Online documentation}
|
10768
10793
|
*/
|
10769
10794
|
export type int16 = number
|
10770
10795
|
/**
|
10771
10796
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
10772
10797
|
*
|
10773
10798
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
10774
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10799
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/uint.html Online documentation}
|
10775
10800
|
*/
|
10776
10801
|
export type uint = number
|
10777
10802
|
/**
|
10778
10803
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
10779
10804
|
*
|
10780
10805
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
10781
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10806
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/int.html Online documentation}
|
10782
10807
|
*/
|
10783
10808
|
export type int = number
|
10784
10809
|
/**
|
10785
10810
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
10786
10811
|
*
|
10787
10812
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
10788
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10813
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/uint64.html Online documentation}
|
10789
10814
|
*/
|
10790
10815
|
export type uint64 = number
|
10791
10816
|
/**
|
10792
10817
|
* 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.
|
10793
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10818
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/nil.html Online documentation}
|
10794
10819
|
*/
|
10795
10820
|
export type nil = undefined
|
10796
10821
|
/**
|
10797
10822
|
* Tables are enclosed in curly brackets, like this `{}`.
|
10798
10823
|
*
|
10799
10824
|
* Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain http://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination.
|
10800
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10825
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/table.html Online documentation}
|
10801
10826
|
*/
|
10802
10827
|
export type table = object
|
10803
10828
|
/**
|
10804
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.
|
10805
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10829
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.66/classes.html Classes} page.
|
10830
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaObject.html Online documentation}
|
10806
10831
|
*/
|
10807
10832
|
export interface LuaObject {
|
10808
10833
|
readonly object_name: string
|
10809
10834
|
}
|
10810
10835
|
/**
|
10811
10836
|
* Any basic type (string, number, boolean) or table.
|
10812
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10837
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AnyBasic.html Online documentation}
|
10813
10838
|
*/
|
10814
10839
|
export type AnyBasic = string | boolean | number | table
|
10815
10840
|
/**
|
10816
10841
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
10817
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10842
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/Any.html Online documentation}
|
10818
10843
|
*/
|
10819
10844
|
export type Any = string | boolean | number | table | LuaObject
|
10820
10845
|
/**
|
10821
10846
|
* 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}`.
|
10822
10847
|
*
|
10823
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10848
|
+
* {@link https://lua-api.factorio.com/2.0.66/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:}
|
10824
10849
|
*
|
10825
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10826
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10850
|
+
* {@link https://lua-api.factorio.com/2.0.66/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:}
|
10851
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/PropertyExpressionNames.html Online documentation}
|
10827
10852
|
*/
|
10828
10853
|
export type PropertyExpressionNames = Record<string, string>
|
10829
10854
|
/**
|
@@ -10880,7 +10905,7 @@ declare module "factorio:runtime" {
|
|
10880
10905
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
10881
10906
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
10882
10907
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
10883
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10908
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ModSettingPrototypeFilter.html Online documentation}
|
10884
10909
|
*/
|
10885
10910
|
export type ModSettingPrototypeFilter =
|
10886
10911
|
| TypeModSettingPrototypeFilter
|
@@ -10944,7 +10969,7 @@ declare module "factorio:runtime" {
|
|
10944
10969
|
* Other attributes may be specified depending on `filter`:
|
10945
10970
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
10946
10971
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
10947
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10972
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
10948
10973
|
*/
|
10949
10974
|
export type SpaceLocationPrototypeFilter =
|
10950
10975
|
| TypeSpaceLocationPrototypeFilter
|
@@ -10952,7 +10977,7 @@ declare module "factorio:runtime" {
|
|
10952
10977
|
| OtherSpaceLocationPrototypeFilter
|
10953
10978
|
/**
|
10954
10979
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
10955
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10980
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
10956
10981
|
*/
|
10957
10982
|
export type SpaceLocationPrototypeFilterWrite =
|
10958
10983
|
| TypeSpaceLocationPrototypeFilter
|
@@ -11000,7 +11025,7 @@ declare module "factorio:runtime" {
|
|
11000
11025
|
*
|
11001
11026
|
* Other attributes may be specified depending on `filter`:
|
11002
11027
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
11003
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11028
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/DecorativePrototypeFilter.html Online documentation}
|
11004
11029
|
*/
|
11005
11030
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
11006
11031
|
/**
|
@@ -11142,7 +11167,7 @@ declare module "factorio:runtime" {
|
|
11142
11167
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
11143
11168
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
11144
11169
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
11145
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11170
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TilePrototypeFilter.html Online documentation}
|
11146
11171
|
*/
|
11147
11172
|
export type TilePrototypeFilter =
|
11148
11173
|
| CollisionMaskTilePrototypeFilter
|
@@ -11153,7 +11178,7 @@ declare module "factorio:runtime" {
|
|
11153
11178
|
| OtherTilePrototypeFilter
|
11154
11179
|
/**
|
11155
11180
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11156
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11181
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TilePrototypeFilter.html Online documentation}
|
11157
11182
|
*/
|
11158
11183
|
export type TilePrototypeFilterWrite =
|
11159
11184
|
| CollisionMaskTilePrototypeFilter
|
@@ -11508,7 +11533,7 @@ declare module "factorio:runtime" {
|
|
11508
11533
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
11509
11534
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
11510
11535
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
11511
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11536
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemPrototypeFilter.html Online documentation}
|
11512
11537
|
*/
|
11513
11538
|
export type ItemPrototypeFilter =
|
11514
11539
|
| PlaceResultItemPrototypeFilter
|
@@ -11530,7 +11555,7 @@ declare module "factorio:runtime" {
|
|
11530
11555
|
| OtherItemPrototypeFilter
|
11531
11556
|
/**
|
11532
11557
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11533
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11558
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/ItemPrototypeFilter.html Online documentation}
|
11534
11559
|
*/
|
11535
11560
|
export type ItemPrototypeFilterWrite =
|
11536
11561
|
| PlaceResultItemPrototypeFilterWrite
|
@@ -11670,7 +11695,7 @@ declare module "factorio:runtime" {
|
|
11670
11695
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
11671
11696
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
11672
11697
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
11673
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11698
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TechnologyPrototypeFilter.html Online documentation}
|
11674
11699
|
*/
|
11675
11700
|
export type TechnologyPrototypeFilter =
|
11676
11701
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -11681,7 +11706,7 @@ declare module "factorio:runtime" {
|
|
11681
11706
|
| OtherTechnologyPrototypeFilter
|
11682
11707
|
/**
|
11683
11708
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11684
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11709
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/TechnologyPrototypeFilter.html Online documentation}
|
11685
11710
|
*/
|
11686
11711
|
export type TechnologyPrototypeFilterWrite =
|
11687
11712
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -11941,7 +11966,7 @@ declare module "factorio:runtime" {
|
|
11941
11966
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
11942
11967
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
11943
11968
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
11944
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11969
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RecipePrototypeFilter.html Online documentation}
|
11945
11970
|
*/
|
11946
11971
|
export type RecipePrototypeFilter =
|
11947
11972
|
| HasIngredientItemRecipePrototypeFilter
|
@@ -11957,7 +11982,7 @@ declare module "factorio:runtime" {
|
|
11957
11982
|
| OtherRecipePrototypeFilter
|
11958
11983
|
/**
|
11959
11984
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11960
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11985
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/RecipePrototypeFilter.html Online documentation}
|
11961
11986
|
*/
|
11962
11987
|
export type RecipePrototypeFilterWrite =
|
11963
11988
|
| HasIngredientItemRecipePrototypeFilterWrite
|
@@ -12009,7 +12034,7 @@ declare module "factorio:runtime" {
|
|
12009
12034
|
*
|
12010
12035
|
* Other attributes may be specified depending on `filter`:
|
12011
12036
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
12012
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12037
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/AchievementPrototypeFilter.html Online documentation}
|
12013
12038
|
*/
|
12014
12039
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
12015
12040
|
/**
|
@@ -12050,7 +12075,7 @@ declare module "factorio:runtime" {
|
|
12050
12075
|
*
|
12051
12076
|
* Other attributes may be specified depending on `filter`:
|
12052
12077
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
12053
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12078
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EquipmentPrototypeFilter.html Online documentation}
|
12054
12079
|
*/
|
12055
12080
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
12056
12081
|
/**
|
@@ -12235,7 +12260,7 @@ declare module "factorio:runtime" {
|
|
12235
12260
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
12236
12261
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
12237
12262
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
12238
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12263
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FluidPrototypeFilter.html Online documentation}
|
12239
12264
|
*/
|
12240
12265
|
export type FluidPrototypeFilter =
|
12241
12266
|
| NameFluidPrototypeFilter
|
@@ -12249,7 +12274,7 @@ declare module "factorio:runtime" {
|
|
12249
12274
|
| OtherFluidPrototypeFilter
|
12250
12275
|
/**
|
12251
12276
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
12252
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12277
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/FluidPrototypeFilter.html Online documentation}
|
12253
12278
|
*/
|
12254
12279
|
export type FluidPrototypeFilterWrite =
|
12255
12280
|
| NameFluidPrototypeFilter
|
@@ -12489,7 +12514,7 @@ declare module "factorio:runtime" {
|
|
12489
12514
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
12490
12515
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
12491
12516
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
12492
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12517
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityPrototypeFilter.html Online documentation}
|
12493
12518
|
*/
|
12494
12519
|
export type EntityPrototypeFilter =
|
12495
12520
|
| NameEntityPrototypeFilter
|
@@ -12503,7 +12528,7 @@ declare module "factorio:runtime" {
|
|
12503
12528
|
| OtherEntityPrototypeFilter
|
12504
12529
|
/**
|
12505
12530
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
12506
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12531
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/EntityPrototypeFilter.html Online documentation}
|
12507
12532
|
*/
|
12508
12533
|
export type EntityPrototypeFilterWrite =
|
12509
12534
|
| NameEntityPrototypeFilter
|
@@ -12547,7 +12572,7 @@ declare module "factorio:runtime" {
|
|
12547
12572
|
*
|
12548
12573
|
* Other attributes may be specified depending on `filter`:
|
12549
12574
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
12550
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12575
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
12551
12576
|
*/
|
12552
12577
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
12553
12578
|
/**
|
@@ -12647,7 +12672,7 @@ declare module "factorio:runtime" {
|
|
12647
12672
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
12648
12673
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
12649
12674
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
12650
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12675
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
12651
12676
|
*/
|
12652
12677
|
export type LuaScriptRaisedTeleportedEventFilter =
|
12653
12678
|
| TypeScriptRaisedTeleportedEventFilter
|
@@ -12752,7 +12777,7 @@ declare module "factorio:runtime" {
|
|
12752
12777
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
12753
12778
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
12754
12779
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
12755
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12780
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
12756
12781
|
*/
|
12757
12782
|
export type LuaPreRobotMinedEntityEventFilter =
|
12758
12783
|
| TypePreRobotMinedEntityEventFilter
|
@@ -12857,7 +12882,7 @@ declare module "factorio:runtime" {
|
|
12857
12882
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
12858
12883
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
12859
12884
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
12860
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12885
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
12861
12886
|
*/
|
12862
12887
|
export type LuaScriptRaisedBuiltEventFilter =
|
12863
12888
|
| TypeScriptRaisedBuiltEventFilter
|
@@ -12962,7 +12987,7 @@ declare module "factorio:runtime" {
|
|
12962
12987
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
12963
12988
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
12964
12989
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
12965
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12990
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
12966
12991
|
*/
|
12967
12992
|
export type LuaPlatformMinedEntityEventFilter =
|
12968
12993
|
| TypePlatformMinedEntityEventFilter
|
@@ -13079,7 +13104,7 @@ declare module "factorio:runtime" {
|
|
13079
13104
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
13080
13105
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
13081
13106
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
13082
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13107
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
13083
13108
|
*/
|
13084
13109
|
export type LuaRobotBuiltEntityEventFilter =
|
13085
13110
|
| TypeRobotBuiltEntityEventFilter
|
@@ -13185,7 +13210,7 @@ declare module "factorio:runtime" {
|
|
13185
13210
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
13186
13211
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
13187
13212
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
13188
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13213
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
13189
13214
|
*/
|
13190
13215
|
export type LuaPrePlayerMinedEntityEventFilter =
|
13191
13216
|
| TypePrePlayerMinedEntityEventFilter
|
@@ -13292,7 +13317,7 @@ declare module "factorio:runtime" {
|
|
13292
13317
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
13293
13318
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
13294
13319
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
13295
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13320
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
13296
13321
|
*/
|
13297
13322
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
13298
13323
|
| TypeEntityDeconstructionCancelledEventFilter
|
@@ -13397,7 +13422,7 @@ declare module "factorio:runtime" {
|
|
13397
13422
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
13398
13423
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
13399
13424
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
13400
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13425
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
13401
13426
|
*/
|
13402
13427
|
export type LuaPreGhostUpgradedEventFilter =
|
13403
13428
|
| TypePreGhostUpgradedEventFilter
|
@@ -13514,7 +13539,7 @@ declare module "factorio:runtime" {
|
|
13514
13539
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
13515
13540
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
13516
13541
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
13517
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13542
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
13518
13543
|
*/
|
13519
13544
|
export type LuaPlatformBuiltEntityEventFilter =
|
13520
13545
|
| TypePlatformBuiltEntityEventFilter
|
@@ -13620,7 +13645,7 @@ declare module "factorio:runtime" {
|
|
13620
13645
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
13621
13646
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
13622
13647
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
13623
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13648
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
13624
13649
|
*/
|
13625
13650
|
export type LuaPrePlatformMinedEntityEventFilter =
|
13626
13651
|
| TypePrePlatformMinedEntityEventFilter
|
@@ -13725,7 +13750,7 @@ declare module "factorio:runtime" {
|
|
13725
13750
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
13726
13751
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
13727
13752
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
13728
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13753
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
13729
13754
|
*/
|
13730
13755
|
export type LuaEntityClonedEventFilter =
|
13731
13756
|
| TypeEntityClonedEventFilter
|
@@ -13830,7 +13855,7 @@ declare module "factorio:runtime" {
|
|
13830
13855
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
13831
13856
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
13832
13857
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
13833
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13858
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
13834
13859
|
*/
|
13835
13860
|
export type LuaPlayerRepairedEntityEventFilter =
|
13836
13861
|
| TypePlayerRepairedEntityEventFilter
|
@@ -13870,7 +13895,7 @@ declare module "factorio:runtime" {
|
|
13870
13895
|
*
|
13871
13896
|
* Other attributes may be specified depending on `filter`:
|
13872
13897
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
13873
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13898
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
13874
13899
|
*/
|
13875
13900
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
13876
13901
|
/**
|
@@ -13906,7 +13931,7 @@ declare module "factorio:runtime" {
|
|
13906
13931
|
*
|
13907
13932
|
* Other attributes may be specified depending on `filter`:
|
13908
13933
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
13909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13934
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
13910
13935
|
*/
|
13911
13936
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
13912
13937
|
/**
|
@@ -14013,7 +14038,7 @@ declare module "factorio:runtime" {
|
|
14013
14038
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
14014
14039
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
14015
14040
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
14016
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14041
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
14017
14042
|
*/
|
14018
14043
|
export type LuaSegmentedUnitDamagedEventFilter =
|
14019
14044
|
| NameSegmentedUnitDamagedEventFilter
|
@@ -14023,7 +14048,7 @@ declare module "factorio:runtime" {
|
|
14023
14048
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
14024
14049
|
/**
|
14025
14050
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
14026
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14051
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
14027
14052
|
*/
|
14028
14053
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
14029
14054
|
| NameSegmentedUnitDamagedEventFilter
|
@@ -14128,7 +14153,7 @@ declare module "factorio:runtime" {
|
|
14128
14153
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
14129
14154
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
14130
14155
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
14131
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14156
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
14132
14157
|
*/
|
14133
14158
|
export type LuaPreGhostDeconstructedEventFilter =
|
14134
14159
|
| TypePreGhostDeconstructedEventFilter
|
@@ -14233,7 +14258,7 @@ declare module "factorio:runtime" {
|
|
14233
14258
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
14234
14259
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
14235
14260
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
14236
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14261
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
14237
14262
|
*/
|
14238
14263
|
export type LuaPlayerMinedEntityEventFilter =
|
14239
14264
|
| TypePlayerMinedEntityEventFilter
|
@@ -14338,7 +14363,7 @@ declare module "factorio:runtime" {
|
|
14338
14363
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
14339
14364
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
14340
14365
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
14341
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14366
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
14342
14367
|
*/
|
14343
14368
|
export type LuaSectorScannedEventFilter =
|
14344
14369
|
| TypeSectorScannedEventFilter
|
@@ -14443,7 +14468,7 @@ declare module "factorio:runtime" {
|
|
14443
14468
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
14444
14469
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
14445
14470
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
14446
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14471
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
14447
14472
|
*/
|
14448
14473
|
export type LuaRobotMinedEntityEventFilter =
|
14449
14474
|
| TypeRobotMinedEntityEventFilter
|
@@ -14550,7 +14575,7 @@ declare module "factorio:runtime" {
|
|
14550
14575
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
14551
14576
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
14552
14577
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
14553
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14578
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
14554
14579
|
*/
|
14555
14580
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
14556
14581
|
| TypeEntityMarkedForDeconstructionEventFilter
|
@@ -14590,7 +14615,7 @@ declare module "factorio:runtime" {
|
|
14590
14615
|
*
|
14591
14616
|
* Other attributes may be specified depending on `filter`:
|
14592
14617
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
14593
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14618
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
14594
14619
|
*/
|
14595
14620
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
14596
14621
|
/**
|
@@ -14690,7 +14715,7 @@ declare module "factorio:runtime" {
|
|
14690
14715
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
14691
14716
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
14692
14717
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
14693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14718
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
14694
14719
|
*/
|
14695
14720
|
export type LuaScriptRaisedReviveEventFilter =
|
14696
14721
|
| TypeScriptRaisedReviveEventFilter
|
@@ -14807,7 +14832,7 @@ declare module "factorio:runtime" {
|
|
14807
14832
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
14808
14833
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
14809
14834
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
14810
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14835
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
14811
14836
|
*/
|
14812
14837
|
export type LuaPlayerBuiltEntityEventFilter =
|
14813
14838
|
| TypePlayerBuiltEntityEventFilter
|
@@ -14913,7 +14938,7 @@ declare module "factorio:runtime" {
|
|
14913
14938
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
14914
14939
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
14915
14940
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
14916
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14941
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
14917
14942
|
*/
|
14918
14943
|
export type LuaUpgradeCancelledEventFilter =
|
14919
14944
|
| TypeUpgradeCancelledEventFilter
|
@@ -15093,7 +15118,7 @@ declare module "factorio:runtime" {
|
|
15093
15118
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
15094
15119
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
15095
15120
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
15096
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15121
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
15097
15122
|
*/
|
15098
15123
|
export type LuaEntityDamagedEventFilter =
|
15099
15124
|
| TypeEntityDamagedEventFilter
|
@@ -15107,7 +15132,7 @@ declare module "factorio:runtime" {
|
|
15107
15132
|
| OtherEntityDamagedEventFilter
|
15108
15133
|
/**
|
15109
15134
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
15110
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15135
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
15111
15136
|
*/
|
15112
15137
|
export type LuaEntityDamagedEventFilterWrite =
|
15113
15138
|
| TypeEntityDamagedEventFilter
|
@@ -15228,7 +15253,7 @@ declare module "factorio:runtime" {
|
|
15228
15253
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
15229
15254
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
15230
15255
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
15231
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15256
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
15232
15257
|
*/
|
15233
15258
|
export type LuaEntityDiedEventFilter =
|
15234
15259
|
| TypeEntityDiedEventFilter
|
@@ -15334,7 +15359,7 @@ declare module "factorio:runtime" {
|
|
15334
15359
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
15335
15360
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
15336
15361
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
15337
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15362
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
15338
15363
|
*/
|
15339
15364
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
15340
15365
|
| TypeEntityMarkedForUpgradeEventFilter
|
@@ -15385,7 +15410,7 @@ declare module "factorio:runtime" {
|
|
15385
15410
|
* Other attributes may be specified depending on `filter`:
|
15386
15411
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
15387
15412
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
15388
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15413
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
15389
15414
|
*/
|
15390
15415
|
export type LuaSegmentedUnitCreatedEventFilter =
|
15391
15416
|
| NameSegmentedUnitCreatedEventFilter
|
@@ -15487,7 +15512,7 @@ declare module "factorio:runtime" {
|
|
15487
15512
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
15488
15513
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
15489
15514
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
15490
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15515
|
+
* @see {@link https://lua-api.factorio.com/2.0.66/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
15491
15516
|
*/
|
15492
15517
|
export type LuaScriptRaisedDestroyEventFilter =
|
15493
15518
|
| TypeScriptRaisedDestroyEventFilter
|