typed-factorio 3.27.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -4
- package/prototype/generated/prototypes.d.ts +2248 -2199
- package/prototype/generated/types.d.ts +2148 -2141
- package/runtime/generated/classes.d.ts +4772 -4189
- package/runtime/generated/concepts.d.ts +503 -479
- package/runtime/generated/defines.d.ts +214 -214
- package/runtime/generated/events.d.ts +217 -217
- 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.64/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.64/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.64/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.64/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.64/concepts/SpritePath.html > The supported types are:}
|
107
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/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.64/concepts/RenderLayer.html Online documentation}
|
372
372
|
*/
|
373
373
|
export type RenderLayer =
|
374
374
|
| `${bigint}`
|
@@ -445,7 +445,7 @@ declare module "factorio:runtime" {
|
|
445
445
|
| "cursor"
|
446
446
|
/**
|
447
447
|
* 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.
|
448
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapViewSettings.html Online documentation}
|
449
449
|
*/
|
450
450
|
export interface MapViewSettings {
|
451
451
|
readonly "show-logistic-network"?: boolean
|
@@ -475,7 +475,7 @@ declare module "factorio:runtime" {
|
|
475
475
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
476
476
|
* - `"spidertron-remote-selected"`
|
477
477
|
* - `"spidertron-remote-to-be-selected"`
|
478
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
478
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CursorBoxRenderType.html Online documentation}
|
479
479
|
*/
|
480
480
|
export type CursorBoxRenderType =
|
481
481
|
| "entity"
|
@@ -493,7 +493,7 @@ declare module "factorio:runtime" {
|
|
493
493
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
494
494
|
* @example
|
495
495
|
* "is_lower_object"
|
496
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
496
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CollisionLayerID.html Online documentation}
|
497
497
|
*/
|
498
498
|
export type CollisionLayerID = string
|
499
499
|
/**
|
@@ -505,7 +505,7 @@ declare module "factorio:runtime" {
|
|
505
505
|
* - `"always"`
|
506
506
|
* - `"auto"`
|
507
507
|
* - `"auto-and-reserve-space"`
|
508
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
508
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScrollPolicy.html Online documentation}
|
509
509
|
*/
|
510
510
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
511
511
|
/**
|
@@ -523,7 +523,7 @@ declare module "factorio:runtime" {
|
|
523
523
|
* - `"button-7"`
|
524
524
|
* - `"button-8"`
|
525
525
|
* - `"button-9"`
|
526
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
526
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MouseButtonFlags.html Online documentation}
|
527
527
|
*/
|
528
528
|
export interface MouseButtonFlags {
|
529
529
|
readonly left?: true
|
@@ -544,7 +544,7 @@ declare module "factorio:runtime" {
|
|
544
544
|
* - `"left"`
|
545
545
|
* - `"right"`
|
546
546
|
* - `"none"`
|
547
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
547
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SwitchState.html Online documentation}
|
548
548
|
*/
|
549
549
|
export type SwitchState = "left" | "right" | "none"
|
550
550
|
/**
|
@@ -574,7 +574,7 @@ declare module "factorio:runtime" {
|
|
574
574
|
* - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
|
575
575
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
576
576
|
* - `"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.
|
577
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/GuiElementType.html Online documentation}
|
578
578
|
*/
|
579
579
|
export type GuiElementType =
|
580
580
|
| "button"
|
@@ -637,7 +637,7 @@ declare module "factorio:runtime" {
|
|
637
637
|
* - `"entity-with-quality"`
|
638
638
|
* - `"recipe-with-quality"`
|
639
639
|
* - `"equipment-with-quality"`
|
640
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
640
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ElemType.html Online documentation}
|
641
641
|
*/
|
642
642
|
export type ElemType =
|
643
643
|
| "achievement"
|
@@ -664,22 +664,26 @@ declare module "factorio:runtime" {
|
|
664
664
|
*/
|
665
665
|
readonly name: string
|
666
666
|
/**
|
667
|
-
* Name of a quality prototype if `type`
|
667
|
+
* Name of a quality prototype if `type` uses quality.
|
668
668
|
*/
|
669
669
|
readonly quality?: string
|
670
|
+
/**
|
671
|
+
* Only loaded, and mandatory if `type` is `"signal"`.
|
672
|
+
*/
|
673
|
+
readonly signal_type?: SignalIDType
|
670
674
|
}
|
671
675
|
/**
|
672
676
|
* A vector is a two-element array or dictionary containing the `x` and `y` components. The game will always provide the array format. Positive x goes east, positive y goes south.
|
673
677
|
* @see VectorTable
|
674
678
|
* @example
|
675
679
|
* right = {1.0, 0.0}
|
676
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
680
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Vector.html Online documentation}
|
677
681
|
*/
|
678
682
|
export type Vector = readonly [float, float]
|
679
683
|
/**
|
680
684
|
* Table form of {@link Vector}.
|
681
685
|
* @see Vector
|
682
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
686
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Vector.html Online documentation}
|
683
687
|
*/
|
684
688
|
export interface VectorTable {
|
685
689
|
readonly x: float
|
@@ -688,7 +692,7 @@ declare module "factorio:runtime" {
|
|
688
692
|
/**
|
689
693
|
* 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.
|
690
694
|
* @see ChunkPositionArray
|
691
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
695
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ChunkPosition.html Online documentation}
|
692
696
|
*/
|
693
697
|
export interface ChunkPosition {
|
694
698
|
readonly x: int
|
@@ -697,7 +701,7 @@ declare module "factorio:runtime" {
|
|
697
701
|
/**
|
698
702
|
* Array form of {@link ChunkPosition}.
|
699
703
|
* @see ChunkPosition
|
700
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
704
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ChunkPosition.html Online documentation}
|
701
705
|
*/
|
702
706
|
export type ChunkPositionArray = readonly [int, int]
|
703
707
|
export interface ItemStackLocation {
|
@@ -721,7 +725,7 @@ declare module "factorio:runtime" {
|
|
721
725
|
/**
|
722
726
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
723
727
|
* @see ItemFilterWrite
|
724
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
728
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemFilter.html Online documentation}
|
725
729
|
*/
|
726
730
|
export type ItemFilter =
|
727
731
|
| {
|
@@ -741,7 +745,7 @@ declare module "factorio:runtime" {
|
|
741
745
|
| string
|
742
746
|
/**
|
743
747
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
744
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
748
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemFilter.html Online documentation}
|
745
749
|
*/
|
746
750
|
export type ItemFilterWrite =
|
747
751
|
| {
|
@@ -997,7 +1001,7 @@ declare module "factorio:runtime" {
|
|
997
1001
|
* - {@link defines.command.stop}: {@link StopCommand}
|
998
1002
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
999
1003
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
1000
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1004
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Command.html Online documentation}
|
1001
1005
|
*/
|
1002
1006
|
export type Command =
|
1003
1007
|
| AttackCommand
|
@@ -1011,7 +1015,7 @@ declare module "factorio:runtime" {
|
|
1011
1015
|
| BuildBaseCommand
|
1012
1016
|
/**
|
1013
1017
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
1014
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1018
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Command.html Online documentation}
|
1015
1019
|
*/
|
1016
1020
|
export type CommandWrite =
|
1017
1021
|
| AttackCommand
|
@@ -1088,7 +1092,7 @@ declare module "factorio:runtime" {
|
|
1088
1092
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
1089
1093
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
1090
1094
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
1091
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1095
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/GuiArrowSpecification.html Online documentation}
|
1092
1096
|
*/
|
1093
1097
|
export type GuiArrowSpecification =
|
1094
1098
|
| EntityGuiArrowSpecification
|
@@ -1108,7 +1112,7 @@ declare module "factorio:runtime" {
|
|
1108
1112
|
* - `"position"`
|
1109
1113
|
* - `"crafting_queue"`
|
1110
1114
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
1111
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1115
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/GuiArrowType.html Online documentation}
|
1112
1116
|
*/
|
1113
1117
|
export type GuiArrowType =
|
1114
1118
|
| "nowhere"
|
@@ -1124,7 +1128,7 @@ declare module "factorio:runtime" {
|
|
1124
1128
|
*
|
1125
1129
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
1126
1130
|
* @see Vector3DArray
|
1127
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1131
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Vector3D.html Online documentation}
|
1128
1132
|
*/
|
1129
1133
|
export interface Vector3D {
|
1130
1134
|
readonly x: float
|
@@ -1134,7 +1138,7 @@ declare module "factorio:runtime" {
|
|
1134
1138
|
/**
|
1135
1139
|
* Array form of {@link Vector3D}.
|
1136
1140
|
* @see Vector3D
|
1137
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1141
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Vector3D.html Online documentation}
|
1138
1142
|
*/
|
1139
1143
|
export type Vector3DArray = readonly [float, float, float]
|
1140
1144
|
export interface RidingState {
|
@@ -1168,7 +1172,7 @@ declare module "factorio:runtime" {
|
|
1168
1172
|
}
|
1169
1173
|
/**
|
1170
1174
|
* @see TrainScheduleWrite
|
1171
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1175
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrainSchedule.html Online documentation}
|
1172
1176
|
*/
|
1173
1177
|
export interface TrainSchedule {
|
1174
1178
|
/**
|
@@ -1179,7 +1183,7 @@ declare module "factorio:runtime" {
|
|
1179
1183
|
}
|
1180
1184
|
/**
|
1181
1185
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
1182
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1186
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrainSchedule.html Online documentation}
|
1183
1187
|
*/
|
1184
1188
|
export interface TrainScheduleWrite {
|
1185
1189
|
/**
|
@@ -1190,7 +1194,7 @@ declare module "factorio:runtime" {
|
|
1190
1194
|
}
|
1191
1195
|
/**
|
1192
1196
|
* @see PlatformScheduleWrite
|
1193
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1197
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PlatformSchedule.html Online documentation}
|
1194
1198
|
*/
|
1195
1199
|
export interface PlatformSchedule {
|
1196
1200
|
/**
|
@@ -1201,7 +1205,7 @@ declare module "factorio:runtime" {
|
|
1201
1205
|
}
|
1202
1206
|
/**
|
1203
1207
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
1204
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1208
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PlatformSchedule.html Online documentation}
|
1205
1209
|
*/
|
1206
1210
|
export interface PlatformScheduleWrite {
|
1207
1211
|
/**
|
@@ -1226,7 +1230,7 @@ declare module "factorio:runtime" {
|
|
1226
1230
|
}
|
1227
1231
|
/**
|
1228
1232
|
* A recipe prototype with optional quality specification.
|
1229
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1233
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
1230
1234
|
*/
|
1231
1235
|
export interface RecipeIDAndQualityIDPair {
|
1232
1236
|
/**
|
@@ -1270,7 +1274,7 @@ declare module "factorio:runtime" {
|
|
1270
1274
|
}
|
1271
1275
|
/**
|
1272
1276
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
1273
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1277
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SegmentEngineSpecification.html Online documentation}
|
1274
1278
|
*/
|
1275
1279
|
export interface SegmentEngineSpecification {
|
1276
1280
|
/**
|
@@ -1284,7 +1288,7 @@ declare module "factorio:runtime" {
|
|
1284
1288
|
}
|
1285
1289
|
/**
|
1286
1290
|
* A runtime representation of {@link SegmentSpecification}.
|
1287
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1291
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SegmentSpecification.html Online documentation}
|
1288
1292
|
*/
|
1289
1293
|
export interface SegmentSpecification {
|
1290
1294
|
/**
|
@@ -1298,7 +1302,7 @@ declare module "factorio:runtime" {
|
|
1298
1302
|
}
|
1299
1303
|
/**
|
1300
1304
|
* A runtime representation of {@link TileBuildabilityRule}.
|
1301
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1305
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TileBuildabilityRule.html Online documentation}
|
1302
1306
|
*/
|
1303
1307
|
export interface TileBuildabilityRule {
|
1304
1308
|
/**
|
@@ -1325,7 +1329,7 @@ declare module "factorio:runtime" {
|
|
1325
1329
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
1326
1330
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
1327
1331
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
1328
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1332
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ForceID.html Online documentation}
|
1329
1333
|
*/
|
1330
1334
|
export type ForceID = string | uint8 | LuaForce
|
1331
1335
|
/**
|
@@ -1335,7 +1339,7 @@ declare module "factorio:runtime" {
|
|
1335
1339
|
* - `string`: The fluid name.
|
1336
1340
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
1337
1341
|
* - {@link Fluid}: The fluid.
|
1338
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1342
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FluidID.html Online documentation}
|
1339
1343
|
*/
|
1340
1344
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
1341
1345
|
/**
|
@@ -1346,12 +1350,12 @@ declare module "factorio:runtime" {
|
|
1346
1350
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
1347
1351
|
* - `string`: The prototype name. Normal quality will be used.
|
1348
1352
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
1349
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1353
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityWithQualityID.html Online documentation}
|
1350
1354
|
*/
|
1351
1355
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
1352
1356
|
/**
|
1353
1357
|
* An entity prototype with optional quality specification.
|
1354
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1358
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
1355
1359
|
*/
|
1356
1360
|
export interface EntityIDAndQualityIDPair {
|
1357
1361
|
/**
|
@@ -1372,18 +1376,18 @@ declare module "factorio:runtime" {
|
|
1372
1376
|
* - `string`: The prototype name. Normal quality will be used.
|
1373
1377
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
1374
1378
|
* @see ItemWithQualityIDWrite
|
1375
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1379
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemWithQualityID.html Online documentation}
|
1376
1380
|
*/
|
1377
1381
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPair
|
1378
1382
|
/**
|
1379
1383
|
* Write form of {@link ItemWithQualityID}, where some properties allow additional values as input compared to the read form.
|
1380
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1384
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemWithQualityID.html Online documentation}
|
1381
1385
|
*/
|
1382
1386
|
export type ItemWithQualityIDWrite = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
1383
1387
|
/**
|
1384
1388
|
* An item prototype with optional quality specification.
|
1385
1389
|
* @see ItemIDAndQualityIDPairWrite
|
1386
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1390
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
1387
1391
|
*/
|
1388
1392
|
export interface ItemIDAndQualityIDPair {
|
1389
1393
|
/**
|
@@ -1397,7 +1401,7 @@ declare module "factorio:runtime" {
|
|
1397
1401
|
}
|
1398
1402
|
/**
|
1399
1403
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
1400
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1404
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
1401
1405
|
*/
|
1402
1406
|
export interface ItemIDAndQualityIDPairWrite {
|
1403
1407
|
/**
|
@@ -1417,7 +1421,7 @@ declare module "factorio:runtime" {
|
|
1417
1421
|
* - {@link LuaItemStack}: Non empty item stack.
|
1418
1422
|
* - {@link LuaItem}: The item.
|
1419
1423
|
* - `string`: The prototype name.
|
1420
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1424
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemID.html Online documentation}
|
1421
1425
|
*/
|
1422
1426
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
1423
1427
|
/**
|
@@ -1427,7 +1431,7 @@ declare module "factorio:runtime" {
|
|
1427
1431
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
1428
1432
|
* - {@link LuaEntity}: The entity.
|
1429
1433
|
* - `string`: The prototype name.
|
1430
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1434
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityID.html Online documentation}
|
1431
1435
|
*/
|
1432
1436
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
1433
1437
|
/**
|
@@ -1437,7 +1441,7 @@ declare module "factorio:runtime" {
|
|
1437
1441
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
1438
1442
|
* - {@link LuaTechnology}: Instance of the technology.
|
1439
1443
|
* - `string`: The prototype name.
|
1440
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1444
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TechnologyID.html Online documentation}
|
1441
1445
|
*/
|
1442
1446
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
1443
1447
|
/**
|
@@ -1446,7 +1450,7 @@ declare module "factorio:runtime" {
|
|
1446
1450
|
* ## Union members
|
1447
1451
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
1448
1452
|
* - `string`: The prototype name.
|
1449
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1453
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ParticleID.html Online documentation}
|
1450
1454
|
*/
|
1451
1455
|
export type ParticleID = LuaParticlePrototype | string
|
1452
1456
|
/**
|
@@ -1455,7 +1459,7 @@ declare module "factorio:runtime" {
|
|
1455
1459
|
* ## Union members
|
1456
1460
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
1457
1461
|
* - `string`: The prototype name.
|
1458
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1462
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DamageTypeID.html Online documentation}
|
1459
1463
|
*/
|
1460
1464
|
export type DamageTypeID = LuaDamagePrototype | string
|
1461
1465
|
/**
|
@@ -1464,7 +1468,7 @@ declare module "factorio:runtime" {
|
|
1464
1468
|
* ## Union members
|
1465
1469
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
1466
1470
|
* - `string`: The prototype name.
|
1467
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1471
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrivialSmokeID.html Online documentation}
|
1468
1472
|
*/
|
1469
1473
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
1470
1474
|
/**
|
@@ -1476,7 +1480,7 @@ declare module "factorio:runtime" {
|
|
1476
1480
|
* - `"left"`
|
1477
1481
|
* - `"right"`
|
1478
1482
|
* - `"center"`
|
1479
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1483
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TextAlign.html Online documentation}
|
1480
1484
|
*/
|
1481
1485
|
export type TextAlign = "left" | "right" | "center"
|
1482
1486
|
/**
|
@@ -1489,7 +1493,7 @@ declare module "factorio:runtime" {
|
|
1489
1493
|
* - `"middle"`
|
1490
1494
|
* - `"baseline"`
|
1491
1495
|
* - `"bottom"`
|
1492
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1496
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/VerticalTextAlign.html Online documentation}
|
1493
1497
|
*/
|
1494
1498
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
1495
1499
|
/**
|
@@ -1498,7 +1502,7 @@ declare module "factorio:runtime" {
|
|
1498
1502
|
* ## Union members
|
1499
1503
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
1500
1504
|
* - `string`: The prototype name.
|
1501
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1505
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/QualityID.html Online documentation}
|
1502
1506
|
*/
|
1503
1507
|
export type QualityID = LuaQualityPrototype | string
|
1504
1508
|
/**
|
@@ -1507,7 +1511,7 @@ declare module "factorio:runtime" {
|
|
1507
1511
|
* ## Union members
|
1508
1512
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
1509
1513
|
* - `string`: By name of the recipe category prototype.
|
1510
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1514
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RecipeCategoryID.html Online documentation}
|
1511
1515
|
*/
|
1512
1516
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
1513
1517
|
/**
|
@@ -1517,7 +1521,7 @@ declare module "factorio:runtime" {
|
|
1517
1521
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
1518
1522
|
* - {@link LuaRecipe}: By instance of recipe.
|
1519
1523
|
* - `string`: By name of the recipe prototype.
|
1520
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1524
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RecipeID.html Online documentation}
|
1521
1525
|
*/
|
1522
1526
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
1523
1527
|
/**
|
@@ -1527,7 +1531,7 @@ declare module "factorio:runtime" {
|
|
1527
1531
|
* - {@link LuaTilePrototype}: By tile prototype.
|
1528
1532
|
* - {@link LuaTile}: By instance of tile.
|
1529
1533
|
* - `string`: By name of the tile prototype.
|
1530
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1534
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TileID.html Online documentation}
|
1531
1535
|
*/
|
1532
1536
|
export type TileID = LuaTilePrototype | LuaTile | string
|
1533
1537
|
export interface Fluid {
|
@@ -1551,7 +1555,7 @@ declare module "factorio:runtime" {
|
|
1551
1555
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
1552
1556
|
* - {@link LuaEquipment}: The equipment.
|
1553
1557
|
* - `string`: The prototype name.
|
1554
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1558
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentID.html Online documentation}
|
1555
1559
|
*/
|
1556
1560
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
1557
1561
|
/**
|
@@ -1563,12 +1567,12 @@ declare module "factorio:runtime" {
|
|
1563
1567
|
* - `string`: The prototype name. Normal quality will be used.
|
1564
1568
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
1565
1569
|
* @see EquipmentWithQualityIDWrite
|
1566
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1570
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentWithQualityID.html Online documentation}
|
1567
1571
|
*/
|
1568
1572
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
1569
1573
|
/**
|
1570
1574
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
1571
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1575
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentWithQualityID.html Online documentation}
|
1572
1576
|
*/
|
1573
1577
|
export type EquipmentWithQualityIDWrite =
|
1574
1578
|
| LuaEquipmentPrototype
|
@@ -1578,7 +1582,7 @@ declare module "factorio:runtime" {
|
|
1578
1582
|
/**
|
1579
1583
|
* An equipment prototype with optional quality specification.
|
1580
1584
|
* @see EquipmentIDAndQualityIDPairWrite
|
1581
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1585
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
1582
1586
|
*/
|
1583
1587
|
export interface EquipmentIDAndQualityIDPair {
|
1584
1588
|
/**
|
@@ -1592,7 +1596,7 @@ declare module "factorio:runtime" {
|
|
1592
1596
|
}
|
1593
1597
|
/**
|
1594
1598
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
1595
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1599
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
1596
1600
|
*/
|
1597
1601
|
export interface EquipmentIDAndQualityIDPairWrite {
|
1598
1602
|
/**
|
@@ -1639,7 +1643,7 @@ declare module "factorio:runtime" {
|
|
1639
1643
|
* @example
|
1640
1644
|
* -- Shorthand
|
1641
1645
|
* {{-2, -3}, {5, 8}}
|
1642
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1646
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BoundingBox.html Online documentation}
|
1643
1647
|
*/
|
1644
1648
|
export interface BoundingBox {
|
1645
1649
|
readonly left_top: MapPosition
|
@@ -1649,7 +1653,7 @@ declare module "factorio:runtime" {
|
|
1649
1653
|
/**
|
1650
1654
|
* Array form of {@link BoundingBox}.
|
1651
1655
|
* @see BoundingBox
|
1652
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1656
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BoundingBox.html Online documentation}
|
1653
1657
|
*/
|
1654
1658
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
1655
1659
|
export interface BoundingBoxWrite {
|
@@ -1682,7 +1686,7 @@ declare module "factorio:runtime" {
|
|
1682
1686
|
* - 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.
|
1683
1687
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
1684
1688
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
1685
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1689
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SurfaceIdentification.html Online documentation}
|
1686
1690
|
*/
|
1687
1691
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
1688
1692
|
/**
|
@@ -1692,13 +1696,13 @@ declare module "factorio:runtime" {
|
|
1692
1696
|
* - PlayerIndex: The player index.
|
1693
1697
|
* - `string`: The player name.
|
1694
1698
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
1695
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1699
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PlayerIdentification.html Online documentation}
|
1696
1700
|
*/
|
1697
1701
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
1698
1702
|
/**
|
1699
1703
|
* ## Union members
|
1700
1704
|
* - {@link LuaSpacePlatform}
|
1701
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1705
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpacePlatformIdentification.html Online documentation}
|
1702
1706
|
*/
|
1703
1707
|
export type SpacePlatformIdentification = LuaSpacePlatform
|
1704
1708
|
/**
|
@@ -1708,12 +1712,12 @@ declare module "factorio:runtime" {
|
|
1708
1712
|
* - {@link LuaForce}[]: Array of many forces.
|
1709
1713
|
* - {@link LuaForce}: A single force.
|
1710
1714
|
* @see ForceSetWrite
|
1711
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1715
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ForceSet.html Online documentation}
|
1712
1716
|
*/
|
1713
1717
|
export type ForceSet = LuaForce[] | LuaForce
|
1714
1718
|
/**
|
1715
1719
|
* Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
|
1716
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1720
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ForceSet.html Online documentation}
|
1717
1721
|
*/
|
1718
1722
|
export type ForceSetWrite = readonly ForceID[] | ForceID
|
1719
1723
|
/**
|
@@ -1722,7 +1726,7 @@ declare module "factorio:runtime" {
|
|
1722
1726
|
* ## Union members
|
1723
1727
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
1724
1728
|
* - `string`: The prototype name.
|
1725
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1729
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DecorativeID.html Online documentation}
|
1726
1730
|
*/
|
1727
1731
|
export type DecorativeID = LuaDecorativePrototype | string
|
1728
1732
|
/**
|
@@ -1731,7 +1735,7 @@ declare module "factorio:runtime" {
|
|
1731
1735
|
* ## Union members
|
1732
1736
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
1733
1737
|
* - `string`: The prototype name.
|
1734
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1738
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AsteroidChunkID.html Online documentation}
|
1735
1739
|
*/
|
1736
1740
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
1737
1741
|
/**
|
@@ -1740,13 +1744,13 @@ declare module "factorio:runtime" {
|
|
1740
1744
|
* ## Union members
|
1741
1745
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
1742
1746
|
* - `string`: The prototype name.
|
1743
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1747
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpaceLocationID.html Online documentation}
|
1744
1748
|
*/
|
1745
1749
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
1746
1750
|
/**
|
1747
1751
|
* 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.
|
1748
1752
|
* @see SignalFilterWrite
|
1749
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1753
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SignalFilter.html Online documentation}
|
1750
1754
|
*/
|
1751
1755
|
export type SignalFilter =
|
1752
1756
|
| {
|
@@ -1770,7 +1774,7 @@ declare module "factorio:runtime" {
|
|
1770
1774
|
| string
|
1771
1775
|
/**
|
1772
1776
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
1773
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1777
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SignalFilter.html Online documentation}
|
1774
1778
|
*/
|
1775
1779
|
export type SignalFilterWrite =
|
1776
1780
|
| {
|
@@ -1794,7 +1798,7 @@ declare module "factorio:runtime" {
|
|
1794
1798
|
| string
|
1795
1799
|
/**
|
1796
1800
|
* @see LogisticFilterWrite
|
1797
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1801
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticFilter.html Online documentation}
|
1798
1802
|
*/
|
1799
1803
|
export interface LogisticFilter {
|
1800
1804
|
/**
|
@@ -1820,7 +1824,7 @@ declare module "factorio:runtime" {
|
|
1820
1824
|
}
|
1821
1825
|
/**
|
1822
1826
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
1823
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1827
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticFilter.html Online documentation}
|
1824
1828
|
*/
|
1825
1829
|
export interface LogisticFilterWrite {
|
1826
1830
|
/**
|
@@ -1883,23 +1887,23 @@ declare module "factorio:runtime" {
|
|
1883
1887
|
* ## Union members
|
1884
1888
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
1885
1889
|
* - `string`: The prototype name.
|
1886
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1890
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SurfacePropertyID.html Online documentation}
|
1887
1891
|
*/
|
1888
1892
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
1889
1893
|
/**
|
1890
1894
|
* When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
|
1891
1895
|
* @see ScriptRenderTargetWrite
|
1892
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1896
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptRenderTarget.html Online documentation}
|
1893
1897
|
*/
|
1894
1898
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
1895
1899
|
/**
|
1896
1900
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
1897
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1901
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptRenderTarget.html Online documentation}
|
1898
1902
|
*/
|
1899
1903
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
1900
1904
|
/**
|
1901
1905
|
* @see ScriptRenderTargetTableWrite
|
1902
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1906
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptRenderTargetTable.html Online documentation}
|
1903
1907
|
*/
|
1904
1908
|
export interface ScriptRenderTargetTable {
|
1905
1909
|
readonly entity?: LuaEntity
|
@@ -1914,7 +1918,7 @@ declare module "factorio:runtime" {
|
|
1914
1918
|
}
|
1915
1919
|
/**
|
1916
1920
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
1917
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1921
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptRenderTargetTable.html Online documentation}
|
1918
1922
|
*/
|
1919
1923
|
export interface ScriptRenderTargetTableWrite {
|
1920
1924
|
readonly entity?: LuaEntity
|
@@ -1946,13 +1950,13 @@ declare module "factorio:runtime" {
|
|
1946
1950
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
1947
1951
|
* "iron-plate"
|
1948
1952
|
* {name="iron-plate", count=100}
|
1949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1953
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemStackIdentification.html Online documentation}
|
1950
1954
|
*/
|
1951
1955
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
1952
1956
|
/**
|
1953
1957
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
1954
1958
|
* @see QualityConditionWrite
|
1955
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1959
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/QualityCondition.html Online documentation}
|
1956
1960
|
*/
|
1957
1961
|
export type QualityCondition =
|
1958
1962
|
| {
|
@@ -1968,7 +1972,7 @@ declare module "factorio:runtime" {
|
|
1968
1972
|
| string
|
1969
1973
|
/**
|
1970
1974
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
1971
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1975
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/QualityCondition.html Online documentation}
|
1972
1976
|
*/
|
1973
1977
|
export type QualityConditionWrite =
|
1974
1978
|
| {
|
@@ -1985,7 +1989,7 @@ declare module "factorio:runtime" {
|
|
1985
1989
|
/**
|
1986
1990
|
* The destination of a cargo pod.
|
1987
1991
|
* @see CargoDestinationWrite
|
1988
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1992
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CargoDestination.html Online documentation}
|
1989
1993
|
*/
|
1990
1994
|
export interface CargoDestination {
|
1991
1995
|
/**
|
@@ -2023,7 +2027,7 @@ declare module "factorio:runtime" {
|
|
2023
2027
|
}
|
2024
2028
|
/**
|
2025
2029
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
2026
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2030
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CargoDestination.html Online documentation}
|
2027
2031
|
*/
|
2028
2032
|
export interface CargoDestinationWrite {
|
2029
2033
|
/**
|
@@ -2077,7 +2081,7 @@ declare module "factorio:runtime" {
|
|
2077
2081
|
* furthest = { zoom = 1 / 16 },
|
2078
2082
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
2079
2083
|
* }
|
2080
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2084
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ZoomLimits.html Online documentation}
|
2081
2085
|
*/
|
2082
2086
|
export interface ZoomLimits {
|
2083
2087
|
/**
|
@@ -2107,7 +2111,7 @@ declare module "factorio:runtime" {
|
|
2107
2111
|
*
|
2108
2112
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
2109
2113
|
* { distance = 200, max_distance = 500 }
|
2110
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2114
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ZoomSpecification.html Online documentation}
|
2111
2115
|
*/
|
2112
2116
|
export interface ZoomSpecification {
|
2113
2117
|
/**
|
@@ -2127,7 +2131,7 @@ declare module "factorio:runtime" {
|
|
2127
2131
|
* ## Union members
|
2128
2132
|
* - `"game"`
|
2129
2133
|
* - `"chart"`
|
2130
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2134
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptRenderMode.html Online documentation}
|
2131
2135
|
*/
|
2132
2136
|
export type ScriptRenderMode = "game" | "chart"
|
2133
2137
|
/**
|
@@ -2138,13 +2142,13 @@ declare module "factorio:runtime" {
|
|
2138
2142
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
2139
2143
|
* - {@link defines.events}: Event identifier.
|
2140
2144
|
* - `string`: Name of the event.
|
2141
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2145
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEventType.html Online documentation}
|
2142
2146
|
*/
|
2143
2147
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
2144
2148
|
/**
|
2145
2149
|
* 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.
|
2146
2150
|
* @see TilePositionArray
|
2147
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2151
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TilePosition.html Online documentation}
|
2148
2152
|
*/
|
2149
2153
|
export interface TilePosition {
|
2150
2154
|
readonly x: int
|
@@ -2153,14 +2157,14 @@ declare module "factorio:runtime" {
|
|
2153
2157
|
/**
|
2154
2158
|
* Array form of {@link TilePosition}.
|
2155
2159
|
* @see TilePosition
|
2156
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2160
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TilePosition.html Online documentation}
|
2157
2161
|
*/
|
2158
2162
|
export type TilePositionArray = readonly [int, int]
|
2159
2163
|
/**
|
2160
2164
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
2161
2165
|
*
|
2162
2166
|
* 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".
|
2163
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2167
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RealOrientation.html Online documentation}
|
2164
2168
|
*/
|
2165
2169
|
export type RealOrientation = float
|
2166
2170
|
export interface MapLocation {
|
@@ -2196,7 +2200,7 @@ declare module "factorio:runtime" {
|
|
2196
2200
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
2197
2201
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
2198
2202
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
2199
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2203
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LocalisedString.html Online documentation}
|
2200
2204
|
*/
|
2201
2205
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
2202
2206
|
/**
|
@@ -2211,7 +2215,7 @@ declare module "factorio:runtime" {
|
|
2211
2215
|
* @example
|
2212
2216
|
* -- Shorthand
|
2213
2217
|
* {1.625, 2.375}
|
2214
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2218
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapPosition.html Online documentation}
|
2215
2219
|
*/
|
2216
2220
|
export interface MapPosition {
|
2217
2221
|
readonly x: double
|
@@ -2220,7 +2224,7 @@ declare module "factorio:runtime" {
|
|
2220
2224
|
/**
|
2221
2225
|
* Array form of {@link MapPosition}.
|
2222
2226
|
* @see MapPosition
|
2223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2227
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapPosition.html Online documentation}
|
2224
2228
|
*/
|
2225
2229
|
export type MapPositionArray = readonly [double, double]
|
2226
2230
|
/**
|
@@ -2233,7 +2237,7 @@ declare module "factorio:runtime" {
|
|
2233
2237
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
2234
2238
|
* black = {} -- All channels omitted: black
|
2235
2239
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
2236
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2240
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Color.html Online documentation}
|
2237
2241
|
*/
|
2238
2242
|
export interface Color {
|
2239
2243
|
readonly r?: float
|
@@ -2244,7 +2248,7 @@ declare module "factorio:runtime" {
|
|
2244
2248
|
/**
|
2245
2249
|
* Array form of {@link Color}.
|
2246
2250
|
* @see Color
|
2247
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2251
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Color.html Online documentation}
|
2248
2252
|
*/
|
2249
2253
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
2250
2254
|
/**
|
@@ -2252,12 +2256,12 @@ declare module "factorio:runtime" {
|
|
2252
2256
|
* - `"center-to-center"`
|
2253
2257
|
* - `"bounding-box-to-bounding-box"`
|
2254
2258
|
* - `"center-to-bounding-box"`
|
2255
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2259
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RangeMode.html Online documentation}
|
2256
2260
|
*/
|
2257
2261
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
2258
2262
|
/**
|
2259
2263
|
* @see PowerSwitchBlueprintControlBehaviorWrite
|
2260
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2264
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
2261
2265
|
*/
|
2262
2266
|
export interface PowerSwitchBlueprintControlBehavior {
|
2263
2267
|
/**
|
@@ -2273,7 +2277,7 @@ declare module "factorio:runtime" {
|
|
2273
2277
|
}
|
2274
2278
|
/**
|
2275
2279
|
* Write form of {@link PowerSwitchBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
2276
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2280
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
2277
2281
|
*/
|
2278
2282
|
export interface PowerSwitchBlueprintControlBehaviorWrite {
|
2279
2283
|
/**
|
@@ -2327,6 +2331,10 @@ declare module "factorio:runtime" {
|
|
2327
2331
|
* Wires connected to this entity in the blueprint.
|
2328
2332
|
*/
|
2329
2333
|
readonly wires?: BlueprintWire[]
|
2334
|
+
/**
|
2335
|
+
* Used by entities with a burner energy source.
|
2336
|
+
*/
|
2337
|
+
readonly burner_fuel_inventory?: BlueprintInventoryWithFilters
|
2330
2338
|
}
|
2331
2339
|
/**
|
2332
2340
|
* Write form of common attributes to all variants of {@link BlueprintEntity}.
|
@@ -2368,6 +2376,10 @@ declare module "factorio:runtime" {
|
|
2368
2376
|
* Wires connected to this entity in the blueprint.
|
2369
2377
|
*/
|
2370
2378
|
readonly wires?: BlueprintWire[]
|
2379
|
+
/**
|
2380
|
+
* Used by entities with a burner energy source.
|
2381
|
+
*/
|
2382
|
+
readonly burner_fuel_inventory?: BlueprintInventoryWithFiltersWrite
|
2371
2383
|
}
|
2372
2384
|
/**
|
2373
2385
|
* `"accumulator"` variant of {@link BlueprintEntity}.
|
@@ -2391,30 +2403,30 @@ declare module "factorio:runtime" {
|
|
2391
2403
|
* `"ammo-turret"` variant of {@link BlueprintEntity}.
|
2392
2404
|
*/
|
2393
2405
|
export interface AmmoTurretBlueprintEntity extends BaseBlueprintEntity {
|
2394
|
-
readonly
|
2406
|
+
readonly "priority-list"?: SlotFilter
|
2395
2407
|
/**
|
2396
2408
|
* Defaults to `false`.
|
2397
2409
|
*/
|
2398
|
-
readonly
|
2410
|
+
readonly "ignore-unprioritised"?: boolean
|
2399
2411
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
2400
2412
|
}
|
2401
2413
|
export interface AmmoTurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2402
|
-
readonly
|
2414
|
+
readonly "priority-list"?: SlotFilter
|
2403
2415
|
/**
|
2404
2416
|
* Defaults to `false`.
|
2405
2417
|
*/
|
2406
|
-
readonly
|
2418
|
+
readonly "ignore-unprioritised"?: boolean
|
2407
2419
|
readonly control_behavior?: TurretBlueprintControlBehaviorWrite
|
2408
2420
|
}
|
2409
2421
|
/**
|
2410
2422
|
* `"arithmetic-combinator"` variant of {@link BlueprintEntity}.
|
2411
2423
|
*/
|
2412
2424
|
export interface ArithmeticCombinatorBlueprintEntity extends BaseBlueprintEntity {
|
2413
|
-
readonly
|
2425
|
+
readonly player_description?: string
|
2414
2426
|
readonly control_behavior?: ArithmeticCombinatorBlueprintControlBehavior
|
2415
2427
|
}
|
2416
2428
|
export interface ArithmeticCombinatorBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2417
|
-
readonly
|
2429
|
+
readonly player_description?: string
|
2418
2430
|
readonly control_behavior?: ArithmeticCombinatorBlueprintControlBehaviorWrite
|
2419
2431
|
}
|
2420
2432
|
/**
|
@@ -2544,11 +2556,11 @@ declare module "factorio:runtime" {
|
|
2544
2556
|
* `"constant-combinator"` variant of {@link BlueprintEntity}.
|
2545
2557
|
*/
|
2546
2558
|
export interface ConstantCombinatorBlueprintEntity extends BaseBlueprintEntity {
|
2547
|
-
readonly
|
2559
|
+
readonly player_description?: string
|
2548
2560
|
readonly control_behavior?: ConstantCombinatorBlueprintControlBehavior
|
2549
2561
|
}
|
2550
2562
|
export interface ConstantCombinatorBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2551
|
-
readonly
|
2563
|
+
readonly player_description?: string
|
2552
2564
|
readonly control_behavior?: ConstantCombinatorBlueprintControlBehaviorWrite
|
2553
2565
|
}
|
2554
2566
|
/**
|
@@ -2568,11 +2580,11 @@ declare module "factorio:runtime" {
|
|
2568
2580
|
* `"decider-combinator"` variant of {@link BlueprintEntity}.
|
2569
2581
|
*/
|
2570
2582
|
export interface DeciderCombinatorBlueprintEntity extends BaseBlueprintEntity {
|
2571
|
-
readonly
|
2583
|
+
readonly player_description?: string
|
2572
2584
|
readonly control_behavior?: DeciderCombinatorBlueprintControlBehavior
|
2573
2585
|
}
|
2574
2586
|
export interface DeciderCombinatorBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2575
|
-
readonly
|
2587
|
+
readonly player_description?: string
|
2576
2588
|
readonly control_behavior?: DeciderCombinatorBlueprintControlBehaviorWrite
|
2577
2589
|
}
|
2578
2590
|
/**
|
@@ -2616,38 +2628,38 @@ declare module "factorio:runtime" {
|
|
2616
2628
|
* `"electric-turret"` variant of {@link BlueprintEntity}.
|
2617
2629
|
*/
|
2618
2630
|
export interface ElectricTurretBlueprintEntity extends BaseBlueprintEntity {
|
2619
|
-
readonly
|
2631
|
+
readonly "priority-list"?: SlotFilter
|
2620
2632
|
/**
|
2621
2633
|
* Defaults to `false`.
|
2622
2634
|
*/
|
2623
|
-
readonly
|
2635
|
+
readonly "ignore-unprioritised"?: boolean
|
2624
2636
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
2625
2637
|
}
|
2626
2638
|
export interface ElectricTurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2627
|
-
readonly
|
2639
|
+
readonly "priority-list"?: SlotFilter
|
2628
2640
|
/**
|
2629
2641
|
* Defaults to `false`.
|
2630
2642
|
*/
|
2631
|
-
readonly
|
2643
|
+
readonly "ignore-unprioritised"?: boolean
|
2632
2644
|
readonly control_behavior?: TurretBlueprintControlBehaviorWrite
|
2633
2645
|
}
|
2634
2646
|
/**
|
2635
2647
|
* `"fluid-turret"` variant of {@link BlueprintEntity}.
|
2636
2648
|
*/
|
2637
2649
|
export interface FluidTurretBlueprintEntity extends BaseBlueprintEntity {
|
2638
|
-
readonly
|
2650
|
+
readonly "priority-list"?: SlotFilter
|
2639
2651
|
/**
|
2640
2652
|
* Defaults to `false`.
|
2641
2653
|
*/
|
2642
|
-
readonly
|
2654
|
+
readonly "ignore-unprioritised"?: boolean
|
2643
2655
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
2644
2656
|
}
|
2645
2657
|
export interface FluidTurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2646
|
-
readonly
|
2658
|
+
readonly "priority-list"?: SlotFilter
|
2647
2659
|
/**
|
2648
2660
|
* Defaults to `false`.
|
2649
2661
|
*/
|
2650
|
-
readonly
|
2662
|
+
readonly "ignore-unprioritised"?: boolean
|
2651
2663
|
readonly control_behavior?: TurretBlueprintControlBehaviorWrite
|
2652
2664
|
}
|
2653
2665
|
/**
|
@@ -2687,20 +2699,22 @@ declare module "factorio:runtime" {
|
|
2687
2699
|
* `"infinity-cargo-wagon"` variant of {@link BlueprintEntity}.
|
2688
2700
|
*/
|
2689
2701
|
export interface InfinityCargoWagonBlueprintEntity extends BaseBlueprintEntity {
|
2690
|
-
readonly infinity_settings: BlueprintInfinityInventorySettings
|
2691
2702
|
readonly color?: Color
|
2692
2703
|
readonly enable_logistics_while_moving: boolean
|
2693
2704
|
readonly grid?: BlueprintEquipment[]
|
2694
2705
|
readonly orientation: RealOrientation
|
2695
2706
|
readonly copy_color_from_train_stop: boolean
|
2707
|
+
readonly inventory: BlueprintInventoryWithFilters
|
2708
|
+
readonly infinity_settings: BlueprintInfinityInventorySettings
|
2696
2709
|
}
|
2697
2710
|
export interface InfinityCargoWagonBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2698
|
-
readonly infinity_settings: BlueprintInfinityInventorySettingsWrite
|
2699
2711
|
readonly color?: Color | ColorArray
|
2700
2712
|
readonly enable_logistics_while_moving: boolean
|
2701
2713
|
readonly grid?: readonly BlueprintEquipmentWrite[]
|
2702
2714
|
readonly orientation: RealOrientation
|
2703
2715
|
readonly copy_color_from_train_stop: boolean
|
2716
|
+
readonly inventory: BlueprintInventoryWithFiltersWrite
|
2717
|
+
readonly infinity_settings: BlueprintInfinityInventorySettingsWrite
|
2704
2718
|
}
|
2705
2719
|
/**
|
2706
2720
|
* `"infinity-container"` variant of {@link BlueprintEntity}.
|
@@ -2981,15 +2995,25 @@ declare module "factorio:runtime" {
|
|
2981
2995
|
readonly request_filters: BlueprintLogisticSectionsWrite
|
2982
2996
|
readonly control_behavior?: RoboportBlueprintControlBehaviorWrite
|
2983
2997
|
}
|
2998
|
+
/**
|
2999
|
+
* `"rocket-silo"` variant of {@link BlueprintEntity}.
|
3000
|
+
*/
|
3001
|
+
export interface RocketSiloBlueprintEntity extends BaseBlueprintEntity {
|
3002
|
+
readonly recipe?: string
|
3003
|
+
readonly recipe_quality?: string
|
3004
|
+
readonly use_transitional_requests?: boolean
|
3005
|
+
readonly launch_to_orbit_automatically?: boolean
|
3006
|
+
readonly control_behavior?: RocketSiloBlueprintControlBehavior
|
3007
|
+
}
|
2984
3008
|
/**
|
2985
3009
|
* `"selector-combinator"` variant of {@link BlueprintEntity}.
|
2986
3010
|
*/
|
2987
3011
|
export interface SelectorCombinatorBlueprintEntity extends BaseBlueprintEntity {
|
2988
|
-
readonly
|
3012
|
+
readonly player_description?: string
|
2989
3013
|
readonly control_behavior?: SelectorCombinatorParameters
|
2990
3014
|
}
|
2991
3015
|
export interface SelectorCombinatorBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
2992
|
-
readonly
|
3016
|
+
readonly player_description?: string
|
2993
3017
|
readonly control_behavior?: SelectorCombinatorParametersWrite
|
2994
3018
|
}
|
2995
3019
|
/**
|
@@ -3025,24 +3049,26 @@ declare module "factorio:runtime" {
|
|
3025
3049
|
*/
|
3026
3050
|
export interface SpiderVehicleBlueprintEntity extends BaseBlueprintEntity {
|
3027
3051
|
readonly request_filters: BlueprintLogisticSections
|
3028
|
-
readonly color?: Color
|
3029
3052
|
readonly enable_logistics_while_moving: boolean
|
3030
3053
|
readonly grid?: BlueprintEquipment[]
|
3031
3054
|
readonly trunk_inventory: BlueprintInventoryWithFilters
|
3032
3055
|
readonly ammo_inventory: BlueprintInventoryWithFilters
|
3033
3056
|
readonly driver_is_main_gunner: boolean
|
3057
|
+
readonly automatic_targeting_parameters: VehicleAutomaticTargetingParameters
|
3034
3058
|
readonly selected_gun_index: ItemStackIndex
|
3059
|
+
readonly color?: Color
|
3035
3060
|
readonly label?: string
|
3036
3061
|
}
|
3037
3062
|
export interface SpiderVehicleBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
3038
3063
|
readonly request_filters: BlueprintLogisticSectionsWrite
|
3039
|
-
readonly color?: Color | ColorArray
|
3040
3064
|
readonly enable_logistics_while_moving: boolean
|
3041
3065
|
readonly grid?: readonly BlueprintEquipmentWrite[]
|
3042
3066
|
readonly trunk_inventory: BlueprintInventoryWithFiltersWrite
|
3043
3067
|
readonly ammo_inventory: BlueprintInventoryWithFiltersWrite
|
3044
3068
|
readonly driver_is_main_gunner: boolean
|
3069
|
+
readonly automatic_targeting_parameters: VehicleAutomaticTargetingParameters
|
3045
3070
|
readonly selected_gun_index: ItemStackIndex
|
3071
|
+
readonly color?: Color | ColorArray
|
3046
3072
|
readonly label?: string
|
3047
3073
|
}
|
3048
3074
|
/**
|
@@ -3055,12 +3081,14 @@ declare module "factorio:runtime" {
|
|
3055
3081
|
* `"train-stop"` variant of {@link BlueprintEntity}.
|
3056
3082
|
*/
|
3057
3083
|
export interface TrainStopBlueprintEntity extends BaseBlueprintEntity {
|
3084
|
+
readonly station: string
|
3058
3085
|
readonly color?: Color
|
3059
3086
|
readonly manual_trains_limit?: uint
|
3060
3087
|
readonly priority?: uint8
|
3061
3088
|
readonly control_behavior?: TrainStopBlueprintControlBehavior
|
3062
3089
|
}
|
3063
3090
|
export interface TrainStopBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
3091
|
+
readonly station: string
|
3064
3092
|
readonly color?: Color | ColorArray
|
3065
3093
|
readonly manual_trains_limit?: uint
|
3066
3094
|
readonly priority?: uint8
|
@@ -3079,19 +3107,19 @@ declare module "factorio:runtime" {
|
|
3079
3107
|
* `"turret"` variant of {@link BlueprintEntity}.
|
3080
3108
|
*/
|
3081
3109
|
export interface TurretBlueprintEntity extends BaseBlueprintEntity {
|
3082
|
-
readonly
|
3110
|
+
readonly "priority-list"?: SlotFilter
|
3083
3111
|
/**
|
3084
3112
|
* Defaults to `false`.
|
3085
3113
|
*/
|
3086
|
-
readonly
|
3114
|
+
readonly "ignore-unprioritised"?: boolean
|
3087
3115
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
3088
3116
|
}
|
3089
3117
|
export interface TurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
3090
|
-
readonly
|
3118
|
+
readonly "priority-list"?: SlotFilter
|
3091
3119
|
/**
|
3092
3120
|
* Defaults to `false`.
|
3093
3121
|
*/
|
3094
|
-
readonly
|
3122
|
+
readonly "ignore-unprioritised"?: boolean
|
3095
3123
|
readonly control_behavior?: TurretBlueprintControlBehaviorWrite
|
3096
3124
|
}
|
3097
3125
|
/**
|
@@ -3115,12 +3143,6 @@ declare module "factorio:runtime" {
|
|
3115
3143
|
export interface WallBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
3116
3144
|
readonly control_behavior?: WallBlueprintControlBehaviorWrite
|
3117
3145
|
}
|
3118
|
-
/**
|
3119
|
-
* `"rocket-silo"` variant of {@link BlueprintEntity}.
|
3120
|
-
*/
|
3121
|
-
export interface RocketSiloBlueprintEntity extends BaseBlueprintEntity {
|
3122
|
-
readonly control_behavior?: RocketSiloBlueprintControlBehavior
|
3123
|
-
}
|
3124
3146
|
/**
|
3125
3147
|
* The representation of an entity inside of a blueprint.
|
3126
3148
|
*
|
@@ -3169,6 +3191,7 @@ declare module "factorio:runtime" {
|
|
3169
3191
|
* - `"rail-signal"`: {@link RailSignalBlueprintEntity}
|
3170
3192
|
* - `"reactor"`: {@link ReactorBlueprintEntity}
|
3171
3193
|
* - `"roboport"`: {@link RoboportBlueprintEntity}
|
3194
|
+
* - `"rocket-silo"`: {@link RocketSiloBlueprintEntity}
|
3172
3195
|
* - `"selector-combinator"`: {@link SelectorCombinatorBlueprintEntity}
|
3173
3196
|
* - `"space-platform-hub"`: {@link SpacePlatformHubBlueprintEntity}
|
3174
3197
|
* - `"splitter"`: {@link SplitterBlueprintEntity}
|
@@ -3180,8 +3203,7 @@ declare module "factorio:runtime" {
|
|
3180
3203
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
3181
3204
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
3182
3205
|
* - `"wall"`: {@link WallBlueprintEntity}
|
3183
|
-
*
|
3184
|
-
* @see {@link https://lua-api.factorio.com/2.0.62/concepts/BlueprintEntity.html Online documentation}
|
3206
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintEntity.html Online documentation}
|
3185
3207
|
*/
|
3186
3208
|
export type BlueprintEntity =
|
3187
3209
|
| AccumulatorBlueprintEntity
|
@@ -3226,6 +3248,7 @@ declare module "factorio:runtime" {
|
|
3226
3248
|
| RailSignalBlueprintEntity
|
3227
3249
|
| ReactorBlueprintEntity
|
3228
3250
|
| RoboportBlueprintEntity
|
3251
|
+
| RocketSiloBlueprintEntity
|
3229
3252
|
| SelectorCombinatorBlueprintEntity
|
3230
3253
|
| SpacePlatformHubBlueprintEntity
|
3231
3254
|
| SplitterBlueprintEntity
|
@@ -3237,10 +3260,9 @@ declare module "factorio:runtime" {
|
|
3237
3260
|
| UndergroundBeltBlueprintEntity
|
3238
3261
|
| ValveBlueprintEntity
|
3239
3262
|
| WallBlueprintEntity
|
3240
|
-
| RocketSiloBlueprintEntity
|
3241
3263
|
/**
|
3242
3264
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
3243
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3265
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintEntity.html Online documentation}
|
3244
3266
|
*/
|
3245
3267
|
export type BlueprintEntityWrite =
|
3246
3268
|
| AccumulatorBlueprintEntityWrite
|
@@ -3285,6 +3307,7 @@ declare module "factorio:runtime" {
|
|
3285
3307
|
| RailSignalBlueprintEntityWrite
|
3286
3308
|
| ReactorBlueprintEntityWrite
|
3287
3309
|
| RoboportBlueprintEntityWrite
|
3310
|
+
| RocketSiloBlueprintEntity
|
3288
3311
|
| SelectorCombinatorBlueprintEntityWrite
|
3289
3312
|
| SpacePlatformHubBlueprintEntityWrite
|
3290
3313
|
| SplitterBlueprintEntityWrite
|
@@ -3296,7 +3319,6 @@ declare module "factorio:runtime" {
|
|
3296
3319
|
| UndergroundBeltBlueprintEntity
|
3297
3320
|
| ValveBlueprintEntity
|
3298
3321
|
| WallBlueprintEntityWrite
|
3299
|
-
| RocketSiloBlueprintEntity
|
3300
3322
|
/**
|
3301
3323
|
* Describes a single wire in the blueprint. The members of the tuple are, in order:
|
3302
3324
|
*
|
@@ -3307,7 +3329,7 @@ declare module "factorio:runtime" {
|
|
3307
3329
|
* - `target_entity_number`
|
3308
3330
|
*
|
3309
3331
|
* - `target_wire_connector_id`
|
3310
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3332
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintWire.html Online documentation}
|
3311
3333
|
*/
|
3312
3334
|
export type BlueprintWire = [
|
3313
3335
|
source_entity_number: uint,
|
@@ -3345,7 +3367,7 @@ declare module "factorio:runtime" {
|
|
3345
3367
|
* "2500 * (L - 3)"
|
3346
3368
|
* @example
|
3347
3369
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
3348
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3370
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MathExpression.html Online documentation}
|
3349
3371
|
*/
|
3350
3372
|
export type MathExpression = string
|
3351
3373
|
/**
|
@@ -3355,17 +3377,17 @@ declare module "factorio:runtime" {
|
|
3355
3377
|
/**
|
3356
3378
|
* The type of action that was undone or redone.
|
3357
3379
|
*/
|
3358
|
-
type:
|
3380
|
+
readonly type:
|
3359
3381
|
| "built-entity"
|
3360
|
-
| "removed-entity"
|
3361
3382
|
| "built-tile"
|
3383
|
+
| "copy-entity-settings"
|
3384
|
+
| "removed-entity"
|
3362
3385
|
| "removed-tile"
|
3363
3386
|
| "upgraded-entity"
|
3364
3387
|
| "upgraded-modules"
|
3365
3388
|
| "wire-added"
|
3366
3389
|
| "wire-removed"
|
3367
3390
|
| "rotated-entity"
|
3368
|
-
| "copy-entity-settings"
|
3369
3391
|
/**
|
3370
3392
|
* The tags attached to the undo action, if any.
|
3371
3393
|
*/
|
@@ -3528,7 +3550,7 @@ declare module "factorio:runtime" {
|
|
3528
3550
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
3529
3551
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
3530
3552
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
3531
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3553
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/UndoRedoAction.html Online documentation}
|
3532
3554
|
*/
|
3533
3555
|
export type UndoRedoAction =
|
3534
3556
|
| BuiltEntityUndoRedoAction
|
@@ -3741,7 +3763,7 @@ declare module "factorio:runtime" {
|
|
3741
3763
|
* - `"play-previous-track"`
|
3742
3764
|
* - `"pause-resume-music"`
|
3743
3765
|
* - `""`: Indicates no linked game control.
|
3744
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3766
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LinkedGameControl.html Online documentation}
|
3745
3767
|
*/
|
3746
3768
|
export type LinkedGameControl =
|
3747
3769
|
| "move-up"
|
@@ -3946,7 +3968,7 @@ declare module "factorio:runtime" {
|
|
3946
3968
|
* - {@link LuaSpaceLocationPrototype}
|
3947
3969
|
* - {@link LuaTilePrototype}
|
3948
3970
|
* - {@link LuaVirtualSignalPrototype}
|
3949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3971
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PipetteID.html Online documentation}
|
3950
3972
|
*/
|
3951
3973
|
export type PipetteID =
|
3952
3974
|
| LuaEntityPrototype
|
@@ -3966,7 +3988,7 @@ declare module "factorio:runtime" {
|
|
3966
3988
|
* - `"not-friend"`: Forces which are not friends pass.
|
3967
3989
|
* - `"same"`: The same force pass.
|
3968
3990
|
* - `"not-same"`: The non-same forces pass.
|
3969
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3991
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ForceCondition.html Online documentation}
|
3970
3992
|
*/
|
3971
3993
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
3972
3994
|
/**
|
@@ -3974,7 +3996,7 @@ declare module "factorio:runtime" {
|
|
3974
3996
|
* - `"input-output"`
|
3975
3997
|
* - `"input"`
|
3976
3998
|
* - `"output"`
|
3977
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3999
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FluidFlowDirection.html Online documentation}
|
3978
4000
|
*/
|
3979
4001
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
3980
4002
|
/**
|
@@ -3982,7 +4004,7 @@ declare module "factorio:runtime" {
|
|
3982
4004
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
3983
4005
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
3984
4006
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
3985
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4007
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PipeConnectionType.html Online documentation}
|
3986
4008
|
*/
|
3987
4009
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
3988
4010
|
export interface PipeConnectionDefinition {
|
@@ -4003,6 +4025,11 @@ declare module "factorio:runtime" {
|
|
4003
4025
|
*/
|
4004
4026
|
linked_connection_id: uint
|
4005
4027
|
}
|
4028
|
+
/**
|
4029
|
+
* 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.64/concepts/FluidAmount.html Online documentation}
|
4031
|
+
*/
|
4032
|
+
export type FluidAmount = double
|
4006
4033
|
/**
|
4007
4034
|
* Specifies how the entity will utilize this fluidbox. `input-output` should only be used for boilers in fluid heating mode.
|
4008
4035
|
*
|
@@ -4011,7 +4038,7 @@ declare module "factorio:runtime" {
|
|
4011
4038
|
* - `"input"`
|
4012
4039
|
* - `"input-output"`
|
4013
4040
|
* - `"output"`
|
4014
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4041
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProductionType.html Online documentation}
|
4015
4042
|
*/
|
4016
4043
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
4017
4044
|
export interface SurfaceCondition {
|
@@ -4023,7 +4050,7 @@ declare module "factorio:runtime" {
|
|
4023
4050
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
4024
4051
|
*
|
4025
4052
|
* By default, none of these flags are set.
|
4026
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4053
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemPrototypeFlags.html Online documentation}
|
4027
4054
|
*/
|
4028
4055
|
export type ItemPrototypeFlags = {
|
4029
4056
|
readonly [T in ItemPrototypeFlag]?: true
|
@@ -4044,7 +4071,7 @@ declare module "factorio:runtime" {
|
|
4044
4071
|
* - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
|
4045
4072
|
* - `"spoil-result"`
|
4046
4073
|
* - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
|
4047
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4074
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemPrototypeFlag.html Online documentation}
|
4048
4075
|
*/
|
4049
4076
|
export type ItemPrototypeFlag =
|
4050
4077
|
| "draw-logistic-overlay"
|
@@ -4061,7 +4088,7 @@ declare module "factorio:runtime" {
|
|
4061
4088
|
| "ignore-spoil-time-modifier"
|
4062
4089
|
/**
|
4063
4090
|
* @see UpgradeMapperSourceWrite
|
4064
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4091
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/UpgradeMapperSource.html Online documentation}
|
4065
4092
|
*/
|
4066
4093
|
export interface UpgradeMapperSource {
|
4067
4094
|
readonly type: "item" | "entity"
|
@@ -4084,7 +4111,7 @@ declare module "factorio:runtime" {
|
|
4084
4111
|
}
|
4085
4112
|
/**
|
4086
4113
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
4087
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4114
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/UpgradeMapperSource.html Online documentation}
|
4088
4115
|
*/
|
4089
4116
|
export interface UpgradeMapperSourceWrite {
|
4090
4117
|
readonly type: "item" | "entity"
|
@@ -4174,7 +4201,7 @@ declare module "factorio:runtime" {
|
|
4174
4201
|
* - `"controllable-remove"`
|
4175
4202
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
4176
4203
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
4177
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4204
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SelectionModeFlags.html Online documentation}
|
4178
4205
|
*/
|
4179
4206
|
export interface SelectionModeFlags {
|
4180
4207
|
/**
|
@@ -4331,7 +4358,7 @@ declare module "factorio:runtime" {
|
|
4331
4358
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
4332
4359
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
4333
4360
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
4334
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4361
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CapsuleAction.html Online documentation}
|
4335
4362
|
*/
|
4336
4363
|
export type CapsuleAction =
|
4337
4364
|
| ThrowCapsuleAction
|
@@ -4344,7 +4371,7 @@ declare module "factorio:runtime" {
|
|
4344
4371
|
* - `"none"`
|
4345
4372
|
* - `"whitelist"`
|
4346
4373
|
* - `"blacklist"`
|
4347
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4374
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PrototypeFilterMode.html Online documentation}
|
4348
4375
|
*/
|
4349
4376
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
4350
4377
|
export interface SpoilToTriggerResult {
|
@@ -4359,7 +4386,7 @@ declare module "factorio:runtime" {
|
|
4359
4386
|
}
|
4360
4387
|
/**
|
4361
4388
|
* @see UpgradeMapperDestinationWrite
|
4362
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4389
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/UpgradeMapperDestination.html Online documentation}
|
4363
4390
|
*/
|
4364
4391
|
export interface UpgradeMapperDestination {
|
4365
4392
|
readonly type: "item" | "entity"
|
@@ -4382,7 +4409,7 @@ declare module "factorio:runtime" {
|
|
4382
4409
|
}
|
4383
4410
|
/**
|
4384
4411
|
* Write form of {@link UpgradeMapperDestination}, where some properties allow additional values as input compared to the read form.
|
4385
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4412
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/UpgradeMapperDestination.html Online documentation}
|
4386
4413
|
*/
|
4387
4414
|
export interface UpgradeMapperDestinationWrite {
|
4388
4415
|
readonly type: "item" | "entity"
|
@@ -4410,7 +4437,7 @@ declare module "factorio:runtime" {
|
|
4410
4437
|
* - `"entity"`: Fires at an entity.
|
4411
4438
|
* - `"position"`: Fires directly at a position.
|
4412
4439
|
* - `"direction"`: Fires in a direction.
|
4413
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4440
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TargetType.html Online documentation}
|
4414
4441
|
*/
|
4415
4442
|
export type TargetType = "entity" | "position" | "direction"
|
4416
4443
|
export interface AmmoType {
|
@@ -4434,7 +4461,7 @@ declare module "factorio:runtime" {
|
|
4434
4461
|
}
|
4435
4462
|
/**
|
4436
4463
|
* @see BlueprintItemFilterWrite
|
4437
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4464
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintItemFilter.html Online documentation}
|
4438
4465
|
*/
|
4439
4466
|
export interface BlueprintItemFilter {
|
4440
4467
|
readonly index: uint
|
@@ -4453,7 +4480,7 @@ declare module "factorio:runtime" {
|
|
4453
4480
|
}
|
4454
4481
|
/**
|
4455
4482
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
4456
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4483
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintItemFilter.html Online documentation}
|
4457
4484
|
*/
|
4458
4485
|
export interface BlueprintItemFilterWrite {
|
4459
4486
|
readonly index: uint
|
@@ -4472,7 +4499,7 @@ declare module "factorio:runtime" {
|
|
4472
4499
|
}
|
4473
4500
|
/**
|
4474
4501
|
* @see BlueprintInventoryWithFiltersWrite
|
4475
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4502
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
4476
4503
|
*/
|
4477
4504
|
export interface BlueprintInventoryWithFilters {
|
4478
4505
|
readonly bar?: ItemStackIndex
|
@@ -4480,7 +4507,7 @@ declare module "factorio:runtime" {
|
|
4480
4507
|
}
|
4481
4508
|
/**
|
4482
4509
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
4483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4510
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
4484
4511
|
*/
|
4485
4512
|
export interface BlueprintInventoryWithFiltersWrite {
|
4486
4513
|
readonly bar?: ItemStackIndex
|
@@ -4524,7 +4551,7 @@ declare module "factorio:runtime" {
|
|
4524
4551
|
}
|
4525
4552
|
/**
|
4526
4553
|
* @see BlueprintEquipmentWrite
|
4527
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4554
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintEquipment.html Online documentation}
|
4528
4555
|
*/
|
4529
4556
|
export interface BlueprintEquipment {
|
4530
4557
|
readonly equipment: LuaEquipmentPrototype
|
@@ -4532,7 +4559,7 @@ declare module "factorio:runtime" {
|
|
4532
4559
|
}
|
4533
4560
|
/**
|
4534
4561
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
4535
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4562
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintEquipment.html Online documentation}
|
4536
4563
|
*/
|
4537
4564
|
export interface BlueprintEquipmentWrite {
|
4538
4565
|
readonly equipment: EquipmentWithQualityID
|
@@ -4548,7 +4575,7 @@ declare module "factorio:runtime" {
|
|
4548
4575
|
* @example
|
4549
4576
|
* -- Shorthand
|
4550
4577
|
* {1, 2}
|
4551
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4578
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentPosition.html Online documentation}
|
4552
4579
|
*/
|
4553
4580
|
export interface EquipmentPosition {
|
4554
4581
|
readonly x: int
|
@@ -4557,7 +4584,7 @@ declare module "factorio:runtime" {
|
|
4557
4584
|
/**
|
4558
4585
|
* Array form of {@link EquipmentPosition}.
|
4559
4586
|
* @see EquipmentPosition
|
4560
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4587
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentPosition.html Online documentation}
|
4561
4588
|
*/
|
4562
4589
|
export type EquipmentPositionArray = readonly [int, int]
|
4563
4590
|
export interface ModSetting {
|
@@ -4568,7 +4595,7 @@ declare module "factorio:runtime" {
|
|
4568
4595
|
}
|
4569
4596
|
/**
|
4570
4597
|
* An actual signal transmitted by the network.
|
4571
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4598
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Signal.html Online documentation}
|
4572
4599
|
*/
|
4573
4600
|
export interface Signal {
|
4574
4601
|
/**
|
@@ -4582,7 +4609,7 @@ declare module "factorio:runtime" {
|
|
4582
4609
|
}
|
4583
4610
|
/**
|
4584
4611
|
* @see DisplayPanelMessageDefinitionWrite
|
4585
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4612
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4586
4613
|
*/
|
4587
4614
|
export interface DisplayPanelMessageDefinition {
|
4588
4615
|
/**
|
@@ -4600,7 +4627,7 @@ declare module "factorio:runtime" {
|
|
4600
4627
|
}
|
4601
4628
|
/**
|
4602
4629
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
4603
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4630
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4604
4631
|
*/
|
4605
4632
|
export interface DisplayPanelMessageDefinitionWrite {
|
4606
4633
|
/**
|
@@ -4628,7 +4655,7 @@ declare module "factorio:runtime" {
|
|
4628
4655
|
}
|
4629
4656
|
/**
|
4630
4657
|
* @see CircuitConditionWrite
|
4631
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4658
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CircuitCondition.html Online documentation}
|
4632
4659
|
*/
|
4633
4660
|
export interface CircuitCondition {
|
4634
4661
|
/**
|
@@ -4650,7 +4677,7 @@ declare module "factorio:runtime" {
|
|
4650
4677
|
}
|
4651
4678
|
/**
|
4652
4679
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
4653
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4680
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CircuitCondition.html Online documentation}
|
4654
4681
|
*/
|
4655
4682
|
export interface CircuitConditionWrite {
|
4656
4683
|
/**
|
@@ -4672,7 +4699,7 @@ declare module "factorio:runtime" {
|
|
4672
4699
|
}
|
4673
4700
|
/**
|
4674
4701
|
* @see SignalIDWrite
|
4675
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4702
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SignalID.html Online documentation}
|
4676
4703
|
*/
|
4677
4704
|
export interface SignalID {
|
4678
4705
|
/**
|
@@ -4690,7 +4717,7 @@ declare module "factorio:runtime" {
|
|
4690
4717
|
}
|
4691
4718
|
/**
|
4692
4719
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
4693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4720
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SignalID.html Online documentation}
|
4694
4721
|
*/
|
4695
4722
|
export interface SignalIDWrite {
|
4696
4723
|
/**
|
@@ -4726,7 +4753,7 @@ declare module "factorio:runtime" {
|
|
4726
4753
|
* - `"space-location"`
|
4727
4754
|
* - `"asteroid-chunk"`
|
4728
4755
|
* - `"quality"`
|
4729
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4756
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SignalIDType.html Online documentation}
|
4730
4757
|
*/
|
4731
4758
|
export type SignalIDType =
|
4732
4759
|
| "item"
|
@@ -4739,7 +4766,7 @@ declare module "factorio:runtime" {
|
|
4739
4766
|
| "quality"
|
4740
4767
|
/**
|
4741
4768
|
* @see DeciderCombinatorParametersWrite
|
4742
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4769
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorParameters.html Online documentation}
|
4743
4770
|
*/
|
4744
4771
|
export interface DeciderCombinatorParameters {
|
4745
4772
|
/**
|
@@ -4753,7 +4780,7 @@ declare module "factorio:runtime" {
|
|
4753
4780
|
}
|
4754
4781
|
/**
|
4755
4782
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4756
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4783
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorParameters.html Online documentation}
|
4757
4784
|
*/
|
4758
4785
|
export interface DeciderCombinatorParametersWrite {
|
4759
4786
|
/**
|
@@ -4767,7 +4794,7 @@ declare module "factorio:runtime" {
|
|
4767
4794
|
}
|
4768
4795
|
/**
|
4769
4796
|
* @see DeciderCombinatorConditionWrite
|
4770
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4797
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorCondition.html Online documentation}
|
4771
4798
|
*/
|
4772
4799
|
export interface DeciderCombinatorCondition {
|
4773
4800
|
/**
|
@@ -4801,7 +4828,7 @@ declare module "factorio:runtime" {
|
|
4801
4828
|
}
|
4802
4829
|
/**
|
4803
4830
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
4804
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4831
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorCondition.html Online documentation}
|
4805
4832
|
*/
|
4806
4833
|
export interface DeciderCombinatorConditionWrite {
|
4807
4834
|
/**
|
@@ -4835,7 +4862,7 @@ declare module "factorio:runtime" {
|
|
4835
4862
|
}
|
4836
4863
|
/**
|
4837
4864
|
* @see DeciderCombinatorOutputWrite
|
4838
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4865
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorOutput.html Online documentation}
|
4839
4866
|
*/
|
4840
4867
|
export interface DeciderCombinatorOutput {
|
4841
4868
|
/**
|
@@ -4857,7 +4884,7 @@ declare module "factorio:runtime" {
|
|
4857
4884
|
}
|
4858
4885
|
/**
|
4859
4886
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
4860
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4887
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorOutput.html Online documentation}
|
4861
4888
|
*/
|
4862
4889
|
export interface DeciderCombinatorOutputWrite {
|
4863
4890
|
/**
|
@@ -4879,7 +4906,7 @@ declare module "factorio:runtime" {
|
|
4879
4906
|
}
|
4880
4907
|
/**
|
4881
4908
|
* @see ArithmeticCombinatorParametersWrite
|
4882
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4909
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4883
4910
|
*/
|
4884
4911
|
export interface ArithmeticCombinatorParameters {
|
4885
4912
|
/**
|
@@ -4917,7 +4944,7 @@ declare module "factorio:runtime" {
|
|
4917
4944
|
}
|
4918
4945
|
/**
|
4919
4946
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4920
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4947
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4921
4948
|
*/
|
4922
4949
|
export interface ArithmeticCombinatorParametersWrite {
|
4923
4950
|
/**
|
@@ -4966,7 +4993,7 @@ declare module "factorio:runtime" {
|
|
4966
4993
|
* - `"AND"`
|
4967
4994
|
* - `"OR"`
|
4968
4995
|
* - `"XOR"`
|
4969
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4996
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
4970
4997
|
*/
|
4971
4998
|
export type ArithmeticCombinatorParameterOperation =
|
4972
4999
|
| "*"
|
@@ -5105,7 +5132,7 @@ declare module "factorio:runtime" {
|
|
5105
5132
|
* - `"random"`: {@link RandomSelectorCombinatorParameters}
|
5106
5133
|
* - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
|
5107
5134
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
5108
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5135
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SelectorCombinatorParameters.html Online documentation}
|
5109
5136
|
*/
|
5110
5137
|
export type SelectorCombinatorParameters =
|
5111
5138
|
| SelectSelectorCombinatorParameters
|
@@ -5116,7 +5143,7 @@ declare module "factorio:runtime" {
|
|
5116
5143
|
| OtherSelectorCombinatorParameters
|
5117
5144
|
/**
|
5118
5145
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
5119
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5146
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SelectorCombinatorParameters.html Online documentation}
|
5120
5147
|
*/
|
5121
5148
|
export type SelectorCombinatorParametersWrite =
|
5122
5149
|
| SelectSelectorCombinatorParametersWrite
|
@@ -5134,7 +5161,7 @@ declare module "factorio:runtime" {
|
|
5134
5161
|
* - `"rocket-capacity"`
|
5135
5162
|
* - `"stack-size"`
|
5136
5163
|
* - `"quality-filter"`
|
5137
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5164
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
5138
5165
|
*/
|
5139
5166
|
export type SelectorCombinatorParameterOperation =
|
5140
5167
|
| "select"
|
@@ -5146,14 +5173,14 @@ declare module "factorio:runtime" {
|
|
5146
5173
|
| "quality-filter"
|
5147
5174
|
/**
|
5148
5175
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
5149
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5176
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
5150
5177
|
*/
|
5151
5178
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
5152
5179
|
readonly decider_conditions: DeciderCombinatorCondition
|
5153
5180
|
}
|
5154
5181
|
/**
|
5155
5182
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5156
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5183
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
5157
5184
|
*/
|
5158
5185
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
5159
5186
|
readonly decider_conditions: DeciderCombinatorConditionWrite
|
@@ -5166,7 +5193,7 @@ declare module "factorio:runtime" {
|
|
5166
5193
|
}
|
5167
5194
|
/**
|
5168
5195
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
5169
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5196
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
5170
5197
|
*/
|
5171
5198
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
5172
5199
|
/**
|
@@ -5193,7 +5220,7 @@ declare module "factorio:runtime" {
|
|
5193
5220
|
}
|
5194
5221
|
/**
|
5195
5222
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5196
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5223
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
5197
5224
|
*/
|
5198
5225
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
5199
5226
|
/**
|
@@ -5220,7 +5247,7 @@ declare module "factorio:runtime" {
|
|
5220
5247
|
}
|
5221
5248
|
/**
|
5222
5249
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
5223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5250
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
5224
5251
|
*/
|
5225
5252
|
export interface RailSignalBaseBlueprintControlBehavior {
|
5226
5253
|
readonly circuit_close_signal: boolean
|
@@ -5233,7 +5260,7 @@ declare module "factorio:runtime" {
|
|
5233
5260
|
}
|
5234
5261
|
/**
|
5235
5262
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5236
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5263
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
5237
5264
|
*/
|
5238
5265
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
5239
5266
|
readonly circuit_close_signal: boolean
|
@@ -5246,7 +5273,7 @@ declare module "factorio:runtime" {
|
|
5246
5273
|
}
|
5247
5274
|
/**
|
5248
5275
|
* @see FurnaceBlueprintControlBehaviorWrite
|
5249
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5276
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
5250
5277
|
*/
|
5251
5278
|
export interface FurnaceBlueprintControlBehavior {
|
5252
5279
|
/**
|
@@ -5288,7 +5315,7 @@ declare module "factorio:runtime" {
|
|
5288
5315
|
}
|
5289
5316
|
/**
|
5290
5317
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5291
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5318
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
5292
5319
|
*/
|
5293
5320
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
5294
5321
|
/**
|
@@ -5330,14 +5357,14 @@ declare module "factorio:runtime" {
|
|
5330
5357
|
}
|
5331
5358
|
/**
|
5332
5359
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
5333
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5360
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
5334
5361
|
*/
|
5335
5362
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
5336
5363
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
5337
5364
|
}
|
5338
5365
|
/**
|
5339
5366
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5340
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5367
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
5341
5368
|
*/
|
5342
5369
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
5343
5370
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
@@ -5356,7 +5383,7 @@ declare module "factorio:runtime" {
|
|
5356
5383
|
}
|
5357
5384
|
/**
|
5358
5385
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
5359
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5386
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
5360
5387
|
*/
|
5361
5388
|
export interface MiningDrillBlueprintControlBehavior {
|
5362
5389
|
readonly circuit_read_resources: boolean
|
@@ -5374,7 +5401,7 @@ declare module "factorio:runtime" {
|
|
5374
5401
|
}
|
5375
5402
|
/**
|
5376
5403
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5377
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5404
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
5378
5405
|
*/
|
5379
5406
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
5380
5407
|
readonly circuit_read_resources: boolean
|
@@ -5392,7 +5419,7 @@ declare module "factorio:runtime" {
|
|
5392
5419
|
}
|
5393
5420
|
/**
|
5394
5421
|
* @see WallBlueprintControlBehaviorWrite
|
5395
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5422
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/WallBlueprintControlBehavior.html Online documentation}
|
5396
5423
|
*/
|
5397
5424
|
export interface WallBlueprintControlBehavior {
|
5398
5425
|
readonly circuit_open_gate: boolean
|
@@ -5402,7 +5429,7 @@ declare module "factorio:runtime" {
|
|
5402
5429
|
}
|
5403
5430
|
/**
|
5404
5431
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5405
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5432
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/WallBlueprintControlBehavior.html Online documentation}
|
5406
5433
|
*/
|
5407
5434
|
export interface WallBlueprintControlBehaviorWrite {
|
5408
5435
|
readonly circuit_open_gate: boolean
|
@@ -5418,7 +5445,7 @@ declare module "factorio:runtime" {
|
|
5418
5445
|
}
|
5419
5446
|
/**
|
5420
5447
|
* @see PumpBlueprintControlBehaviorWrite
|
5421
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5448
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
5422
5449
|
*/
|
5423
5450
|
export interface PumpBlueprintControlBehavior {
|
5424
5451
|
/**
|
@@ -5438,7 +5465,7 @@ declare module "factorio:runtime" {
|
|
5438
5465
|
}
|
5439
5466
|
/**
|
5440
5467
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5441
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5468
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
5442
5469
|
*/
|
5443
5470
|
export interface PumpBlueprintControlBehaviorWrite {
|
5444
5471
|
/**
|
@@ -5458,7 +5485,7 @@ declare module "factorio:runtime" {
|
|
5458
5485
|
}
|
5459
5486
|
/**
|
5460
5487
|
* @see TrainStopBlueprintControlBehaviorWrite
|
5461
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5488
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
5462
5489
|
*/
|
5463
5490
|
export interface TrainStopBlueprintControlBehavior {
|
5464
5491
|
/**
|
@@ -5502,7 +5529,7 @@ declare module "factorio:runtime" {
|
|
5502
5529
|
}
|
5503
5530
|
/**
|
5504
5531
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5505
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5532
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
5506
5533
|
*/
|
5507
5534
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
5508
5535
|
/**
|
@@ -5546,7 +5573,7 @@ declare module "factorio:runtime" {
|
|
5546
5573
|
}
|
5547
5574
|
/**
|
5548
5575
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
5549
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5576
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
5550
5577
|
*/
|
5551
5578
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
5552
5579
|
readonly circuit_condition: CircuitCondition
|
@@ -5554,7 +5581,7 @@ declare module "factorio:runtime" {
|
|
5554
5581
|
}
|
5555
5582
|
/**
|
5556
5583
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5557
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5584
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
5558
5585
|
*/
|
5559
5586
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
5560
5587
|
readonly circuit_condition: CircuitConditionWrite
|
@@ -5562,7 +5589,7 @@ declare module "factorio:runtime" {
|
|
5562
5589
|
}
|
5563
5590
|
/**
|
5564
5591
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
5565
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5592
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
5566
5593
|
*/
|
5567
5594
|
export interface TransportBeltBlueprintControlBehavior {
|
5568
5595
|
readonly circuit_read_hand_contents: boolean
|
@@ -5580,7 +5607,7 @@ declare module "factorio:runtime" {
|
|
5580
5607
|
}
|
5581
5608
|
/**
|
5582
5609
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5583
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5610
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
5584
5611
|
*/
|
5585
5612
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
5586
5613
|
readonly circuit_read_hand_contents: boolean
|
@@ -5598,7 +5625,7 @@ declare module "factorio:runtime" {
|
|
5598
5625
|
}
|
5599
5626
|
/**
|
5600
5627
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
5601
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5628
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
5602
5629
|
*/
|
5603
5630
|
export interface LogisticContainerBlueprintControlBehavior {
|
5604
5631
|
/**
|
@@ -5610,7 +5637,7 @@ declare module "factorio:runtime" {
|
|
5610
5637
|
}
|
5611
5638
|
/**
|
5612
5639
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5613
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5640
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
5614
5641
|
*/
|
5615
5642
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
5616
5643
|
/**
|
@@ -5622,7 +5649,7 @@ declare module "factorio:runtime" {
|
|
5622
5649
|
}
|
5623
5650
|
/**
|
5624
5651
|
* @see ReactorBlueprintControlBehaviorWrite
|
5625
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5652
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
5626
5653
|
*/
|
5627
5654
|
export interface ReactorBlueprintControlBehavior {
|
5628
5655
|
/**
|
@@ -5637,7 +5664,7 @@ declare module "factorio:runtime" {
|
|
5637
5664
|
}
|
5638
5665
|
/**
|
5639
5666
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5640
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5667
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
5641
5668
|
*/
|
5642
5669
|
export interface ReactorBlueprintControlBehaviorWrite {
|
5643
5670
|
/**
|
@@ -5652,7 +5679,7 @@ declare module "factorio:runtime" {
|
|
5652
5679
|
}
|
5653
5680
|
/**
|
5654
5681
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
5655
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5682
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
5656
5683
|
*/
|
5657
5684
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
5658
5685
|
readonly sections: LogisticSections
|
@@ -5663,7 +5690,7 @@ declare module "factorio:runtime" {
|
|
5663
5690
|
}
|
5664
5691
|
/**
|
5665
5692
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5666
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5693
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
5667
5694
|
*/
|
5668
5695
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
5669
5696
|
readonly sections: LogisticSectionsWrite
|
@@ -5674,7 +5701,7 @@ declare module "factorio:runtime" {
|
|
5674
5701
|
}
|
5675
5702
|
/**
|
5676
5703
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
5677
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5704
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
5678
5705
|
*/
|
5679
5706
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
5680
5707
|
readonly read_ammo?: boolean
|
@@ -5691,7 +5718,7 @@ declare module "factorio:runtime" {
|
|
5691
5718
|
}
|
5692
5719
|
/**
|
5693
5720
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5694
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5721
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
5695
5722
|
*/
|
5696
5723
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
5697
5724
|
readonly read_ammo?: boolean
|
@@ -5708,7 +5735,7 @@ declare module "factorio:runtime" {
|
|
5708
5735
|
}
|
5709
5736
|
/**
|
5710
5737
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
5711
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5738
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
5712
5739
|
*/
|
5713
5740
|
export interface AccumulatorBlueprintControlBehavior {
|
5714
5741
|
readonly output_signal: SignalID
|
@@ -5719,7 +5746,7 @@ declare module "factorio:runtime" {
|
|
5719
5746
|
}
|
5720
5747
|
/**
|
5721
5748
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5722
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5749
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
5723
5750
|
*/
|
5724
5751
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
5725
5752
|
readonly output_signal: SignalIDWrite
|
@@ -5730,7 +5757,7 @@ declare module "factorio:runtime" {
|
|
5730
5757
|
}
|
5731
5758
|
/**
|
5732
5759
|
* @see TurretBlueprintControlBehaviorWrite
|
5733
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5760
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
5734
5761
|
*/
|
5735
5762
|
export interface TurretBlueprintControlBehavior {
|
5736
5763
|
/**
|
@@ -5759,7 +5786,7 @@ declare module "factorio:runtime" {
|
|
5759
5786
|
}
|
5760
5787
|
/**
|
5761
5788
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5762
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5789
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
5763
5790
|
*/
|
5764
5791
|
export interface TurretBlueprintControlBehaviorWrite {
|
5765
5792
|
/**
|
@@ -5788,7 +5815,7 @@ declare module "factorio:runtime" {
|
|
5788
5815
|
}
|
5789
5816
|
/**
|
5790
5817
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
5791
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5818
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
5792
5819
|
*/
|
5793
5820
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
5794
5821
|
/**
|
@@ -5816,7 +5843,7 @@ declare module "factorio:runtime" {
|
|
5816
5843
|
}
|
5817
5844
|
/**
|
5818
5845
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5819
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5846
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
5820
5847
|
*/
|
5821
5848
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
5822
5849
|
/**
|
@@ -5850,7 +5877,7 @@ declare module "factorio:runtime" {
|
|
5850
5877
|
}
|
5851
5878
|
/**
|
5852
5879
|
* @see InserterBlueprintControlBehaviorWrite
|
5853
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5880
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
5854
5881
|
*/
|
5855
5882
|
export interface InserterBlueprintControlBehavior {
|
5856
5883
|
/**
|
@@ -5883,7 +5910,7 @@ declare module "factorio:runtime" {
|
|
5883
5910
|
}
|
5884
5911
|
/**
|
5885
5912
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5886
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5913
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
5887
5914
|
*/
|
5888
5915
|
export interface InserterBlueprintControlBehaviorWrite {
|
5889
5916
|
/**
|
@@ -5916,21 +5943,21 @@ declare module "factorio:runtime" {
|
|
5916
5943
|
}
|
5917
5944
|
/**
|
5918
5945
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
5919
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5946
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
5920
5947
|
*/
|
5921
5948
|
export interface DisplayPanelBlueprintControlBehavior {
|
5922
5949
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
5923
5950
|
}
|
5924
5951
|
/**
|
5925
5952
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5926
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5953
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
5927
5954
|
*/
|
5928
5955
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
5929
5956
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
5930
5957
|
}
|
5931
5958
|
/**
|
5932
5959
|
* @see RoboportBlueprintControlBehaviorWrite
|
5933
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5960
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
5934
5961
|
*/
|
5935
5962
|
export interface RoboportBlueprintControlBehavior {
|
5936
5963
|
readonly read_items_mode?: boolean
|
@@ -5943,7 +5970,7 @@ declare module "factorio:runtime" {
|
|
5943
5970
|
}
|
5944
5971
|
/**
|
5945
5972
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5946
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5973
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
5947
5974
|
*/
|
5948
5975
|
export interface RoboportBlueprintControlBehaviorWrite {
|
5949
5976
|
readonly read_items_mode?: boolean
|
@@ -5956,7 +5983,7 @@ declare module "factorio:runtime" {
|
|
5956
5983
|
}
|
5957
5984
|
/**
|
5958
5985
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
5959
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5986
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
5960
5987
|
*/
|
5961
5988
|
export interface AssemblingMachineBlueprintControlBehavior {
|
5962
5989
|
/**
|
@@ -6002,7 +6029,7 @@ declare module "factorio:runtime" {
|
|
6002
6029
|
}
|
6003
6030
|
/**
|
6004
6031
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
6005
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6032
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
6006
6033
|
*/
|
6007
6034
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
6008
6035
|
/**
|
@@ -6048,7 +6075,7 @@ declare module "factorio:runtime" {
|
|
6048
6075
|
}
|
6049
6076
|
/**
|
6050
6077
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
6051
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6078
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
6052
6079
|
*/
|
6053
6080
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
6054
6081
|
/**
|
@@ -6068,7 +6095,7 @@ declare module "factorio:runtime" {
|
|
6068
6095
|
}
|
6069
6096
|
/**
|
6070
6097
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
6071
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6098
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
6072
6099
|
*/
|
6073
6100
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
6074
6101
|
/**
|
@@ -6090,7 +6117,7 @@ declare module "factorio:runtime" {
|
|
6090
6117
|
/**
|
6091
6118
|
* `asteroid-chunk` or `entity`
|
6092
6119
|
*/
|
6093
|
-
type: "asteroid-chunk" | "entity"
|
6120
|
+
readonly type: "asteroid-chunk" | "entity"
|
6094
6121
|
/**
|
6095
6122
|
* The asteroid chunk or entity name.
|
6096
6123
|
*/
|
@@ -6106,7 +6133,7 @@ declare module "factorio:runtime" {
|
|
6106
6133
|
/**
|
6107
6134
|
* `asteroid-chunk` or `entity`
|
6108
6135
|
*/
|
6109
|
-
type: "asteroid-chunk" | "entity"
|
6136
|
+
readonly type: "asteroid-chunk" | "entity"
|
6110
6137
|
/**
|
6111
6138
|
* The asteroid chunk or entity name.
|
6112
6139
|
*/
|
@@ -6117,7 +6144,7 @@ declare module "factorio:runtime" {
|
|
6117
6144
|
}
|
6118
6145
|
/**
|
6119
6146
|
* An item thrown overboard on a space platform.
|
6120
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6147
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EjectedItem.html Online documentation}
|
6121
6148
|
*/
|
6122
6149
|
export interface EjectedItem {
|
6123
6150
|
readonly item: LuaItemStack
|
@@ -6146,7 +6173,7 @@ declare module "factorio:runtime" {
|
|
6146
6173
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
6147
6174
|
* -- minimum amount of 1 and a maximum amount of 5
|
6148
6175
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
6149
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6176
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Product.html Online documentation}
|
6150
6177
|
*/
|
6151
6178
|
export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
|
6152
6179
|
/**
|
@@ -6157,7 +6184,7 @@ declare module "factorio:runtime" {
|
|
6157
6184
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
6158
6185
|
* -- minimum amount of 1 and a maximum amount of 5
|
6159
6186
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
6160
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6187
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemProduct.html Online documentation}
|
6161
6188
|
*/
|
6162
6189
|
export interface ItemProduct {
|
6163
6190
|
readonly type: "item"
|
@@ -6201,7 +6228,7 @@ declare module "factorio:runtime" {
|
|
6201
6228
|
* {{type="fluid", name="heavy-oil", amount=1},
|
6202
6229
|
* {type="fluid", name="light-oil", amount=4.5},
|
6203
6230
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
6204
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6231
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FluidProduct.html Online documentation}
|
6205
6232
|
*/
|
6206
6233
|
export interface FluidProduct {
|
6207
6234
|
readonly type: "fluid"
|
@@ -6249,7 +6276,7 @@ declare module "factorio:runtime" {
|
|
6249
6276
|
}
|
6250
6277
|
/**
|
6251
6278
|
* @see BlueprintScheduleRecordWrite
|
6252
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6279
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintScheduleRecord.html Online documentation}
|
6253
6280
|
*/
|
6254
6281
|
export interface BlueprintScheduleRecord {
|
6255
6282
|
/**
|
@@ -6263,7 +6290,7 @@ declare module "factorio:runtime" {
|
|
6263
6290
|
}
|
6264
6291
|
/**
|
6265
6292
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
6266
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6293
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintScheduleRecord.html Online documentation}
|
6267
6294
|
*/
|
6268
6295
|
export interface BlueprintScheduleRecordWrite {
|
6269
6296
|
/**
|
@@ -6277,7 +6304,7 @@ declare module "factorio:runtime" {
|
|
6277
6304
|
}
|
6278
6305
|
/**
|
6279
6306
|
* @see ScheduleRecordWrite
|
6280
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6307
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScheduleRecord.html Online documentation}
|
6281
6308
|
*/
|
6282
6309
|
export interface ScheduleRecord {
|
6283
6310
|
/**
|
@@ -6296,7 +6323,7 @@ declare module "factorio:runtime" {
|
|
6296
6323
|
}
|
6297
6324
|
/**
|
6298
6325
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
6299
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6326
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScheduleRecord.html Online documentation}
|
6300
6327
|
*/
|
6301
6328
|
export interface ScheduleRecordWrite {
|
6302
6329
|
/**
|
@@ -6315,7 +6342,7 @@ declare module "factorio:runtime" {
|
|
6315
6342
|
}
|
6316
6343
|
/**
|
6317
6344
|
* @see BlueprintScheduleInterruptWrite
|
6318
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6345
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
6319
6346
|
*/
|
6320
6347
|
export interface BlueprintScheduleInterrupt {
|
6321
6348
|
/**
|
@@ -6331,7 +6358,7 @@ declare module "factorio:runtime" {
|
|
6331
6358
|
}
|
6332
6359
|
/**
|
6333
6360
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
6334
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6361
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
6335
6362
|
*/
|
6336
6363
|
export interface BlueprintScheduleInterruptWrite {
|
6337
6364
|
/**
|
@@ -6347,7 +6374,7 @@ declare module "factorio:runtime" {
|
|
6347
6374
|
}
|
6348
6375
|
/**
|
6349
6376
|
* @see ScheduleInterruptWrite
|
6350
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6377
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScheduleInterrupt.html Online documentation}
|
6351
6378
|
*/
|
6352
6379
|
export interface ScheduleInterrupt {
|
6353
6380
|
/**
|
@@ -6363,7 +6390,7 @@ declare module "factorio:runtime" {
|
|
6363
6390
|
}
|
6364
6391
|
/**
|
6365
6392
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
6366
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6393
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScheduleInterrupt.html Online documentation}
|
6367
6394
|
*/
|
6368
6395
|
export interface ScheduleInterruptWrite {
|
6369
6396
|
/**
|
@@ -6379,7 +6406,7 @@ declare module "factorio:runtime" {
|
|
6379
6406
|
}
|
6380
6407
|
/**
|
6381
6408
|
* @see WaitConditionWrite
|
6382
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6409
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/WaitCondition.html Online documentation}
|
6383
6410
|
*/
|
6384
6411
|
export interface WaitCondition {
|
6385
6412
|
readonly type: WaitConditionType
|
@@ -6410,7 +6437,7 @@ declare module "factorio:runtime" {
|
|
6410
6437
|
}
|
6411
6438
|
/**
|
6412
6439
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
6413
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6440
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/WaitCondition.html Online documentation}
|
6414
6441
|
*/
|
6415
6442
|
export interface WaitConditionWrite {
|
6416
6443
|
readonly type: WaitConditionType
|
@@ -6469,7 +6496,7 @@ declare module "factorio:runtime" {
|
|
6469
6496
|
* - `"at_station"`
|
6470
6497
|
* - `"not_at_station"`
|
6471
6498
|
* - `"damage_taken"`
|
6472
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6499
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/WaitConditionType.html Online documentation}
|
6473
6500
|
*/
|
6474
6501
|
export type WaitConditionType =
|
6475
6502
|
| "time"
|
@@ -6500,7 +6527,7 @@ declare module "factorio:runtime" {
|
|
6500
6527
|
| "damage_taken"
|
6501
6528
|
/**
|
6502
6529
|
* @see BlueprintScheduleWrite
|
6503
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6530
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintSchedule.html Online documentation}
|
6504
6531
|
*/
|
6505
6532
|
export interface BlueprintSchedule {
|
6506
6533
|
readonly records?: BlueprintScheduleRecord[]
|
@@ -6509,7 +6536,7 @@ declare module "factorio:runtime" {
|
|
6509
6536
|
}
|
6510
6537
|
/**
|
6511
6538
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
6512
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6539
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintSchedule.html Online documentation}
|
6513
6540
|
*/
|
6514
6541
|
export interface BlueprintScheduleWrite {
|
6515
6542
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
@@ -6578,7 +6605,7 @@ declare module "factorio:runtime" {
|
|
6578
6605
|
* - `"create-ghost-on-entity-death"`
|
6579
6606
|
* - `"belt-stack-size-bonus"`
|
6580
6607
|
* - `"vehicle-logistics"`
|
6581
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6608
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ModifierType.html Online documentation}
|
6582
6609
|
*/
|
6583
6610
|
export type ModifierType =
|
6584
6611
|
| "inserter-stack-size-bonus"
|
@@ -7025,6 +7052,16 @@ declare module "factorio:runtime" {
|
|
7025
7052
|
*/
|
7026
7053
|
readonly modifier: boolean
|
7027
7054
|
}
|
7055
|
+
/**
|
7056
|
+
* `"train-braking-force-bonus"` variant of {@link TechnologyModifier}.
|
7057
|
+
*/
|
7058
|
+
export interface TrainBrakingForceBonusTechnologyModifier extends BaseTechnologyModifier {
|
7059
|
+
readonly type: "train-braking-force-bonus"
|
7060
|
+
/**
|
7061
|
+
* The amount to increase the current train braking force by upon researching.
|
7062
|
+
*/
|
7063
|
+
readonly modifier: boolean
|
7064
|
+
}
|
7028
7065
|
/**
|
7029
7066
|
* `"turret-attack"` variant of {@link TechnologyModifier}.
|
7030
7067
|
*/
|
@@ -7090,11 +7127,14 @@ declare module "factorio:runtime" {
|
|
7090
7127
|
readonly modifier: boolean
|
7091
7128
|
}
|
7092
7129
|
/**
|
7093
|
-
* `"
|
7130
|
+
* `"vehicle-logistics"` variant of {@link TechnologyModifier}.
|
7094
7131
|
*/
|
7095
|
-
export interface
|
7096
|
-
readonly type: "
|
7097
|
-
|
7132
|
+
export interface VehicleLogisticsTechnologyModifier extends BaseTechnologyModifier {
|
7133
|
+
readonly type: "vehicle-logistics"
|
7134
|
+
/**
|
7135
|
+
* The state this modifier will be in upon researching.
|
7136
|
+
*/
|
7137
|
+
readonly modifier: boolean
|
7098
7138
|
}
|
7099
7139
|
/**
|
7100
7140
|
* `"worker-robot-battery"` variant of {@link TechnologyModifier}.
|
@@ -7126,16 +7166,6 @@ declare module "factorio:runtime" {
|
|
7126
7166
|
*/
|
7127
7167
|
readonly modifier: double
|
7128
7168
|
}
|
7129
|
-
/**
|
7130
|
-
* `"vehicle-logistics"` variant of {@link TechnologyModifier}.
|
7131
|
-
*/
|
7132
|
-
export interface VehicleLogisticsTechnologyModifier extends BaseTechnologyModifier {
|
7133
|
-
readonly type: "vehicle-logistics"
|
7134
|
-
/**
|
7135
|
-
* The state this modifier will be in upon researching.
|
7136
|
-
*/
|
7137
|
-
readonly modifier: boolean
|
7138
|
-
}
|
7139
7169
|
/**
|
7140
7170
|
* The effect that is applied when a technology is researched.
|
7141
7171
|
*
|
@@ -7177,18 +7207,18 @@ declare module "factorio:runtime" {
|
|
7177
7207
|
* - `"nothing"`: {@link NothingTechnologyModifier}
|
7178
7208
|
* - `"rail-planner-allow-elevated-rails"`: {@link RailPlannerAllowElevatedRailsTechnologyModifier}
|
7179
7209
|
* - `"rail-support-on-deep-oil-ocean"`: {@link RailSupportOnDeepOilOceanTechnologyModifier}
|
7210
|
+
* - `"train-braking-force-bonus"`: {@link TrainBrakingForceBonusTechnologyModifier}
|
7180
7211
|
* - `"turret-attack"`: {@link TurretAttackTechnologyModifier}
|
7181
7212
|
* - `"unlock-circuit-network"`: {@link UnlockCircuitNetworkTechnologyModifier}
|
7182
7213
|
* - `"unlock-quality"`: {@link UnlockQualityTechnologyModifier}
|
7183
7214
|
* - `"unlock-recipe"`: {@link UnlockRecipeTechnologyModifier}
|
7184
7215
|
* - `"unlock-space-location"`: {@link UnlockSpaceLocationTechnologyModifier}
|
7185
7216
|
* - `"unlock-space-platforms"`: {@link UnlockSpacePlatformsTechnologyModifier}
|
7186
|
-
* - `"
|
7217
|
+
* - `"vehicle-logistics"`: {@link VehicleLogisticsTechnologyModifier}
|
7187
7218
|
* - `"worker-robot-battery"`: {@link WorkerRobotBatteryTechnologyModifier}
|
7188
7219
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
7189
7220
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
7190
|
-
*
|
7191
|
-
* @see {@link https://lua-api.factorio.com/2.0.62/concepts/TechnologyModifier.html Online documentation}
|
7221
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TechnologyModifier.html Online documentation}
|
7192
7222
|
*/
|
7193
7223
|
export type TechnologyModifier =
|
7194
7224
|
| AmmoDamageTechnologyModifier
|
@@ -7228,17 +7258,17 @@ declare module "factorio:runtime" {
|
|
7228
7258
|
| NothingTechnologyModifier
|
7229
7259
|
| RailPlannerAllowElevatedRailsTechnologyModifier
|
7230
7260
|
| RailSupportOnDeepOilOceanTechnologyModifier
|
7261
|
+
| TrainBrakingForceBonusTechnologyModifier
|
7231
7262
|
| TurretAttackTechnologyModifier
|
7232
7263
|
| UnlockCircuitNetworkTechnologyModifier
|
7233
7264
|
| UnlockQualityTechnologyModifier
|
7234
7265
|
| UnlockRecipeTechnologyModifier
|
7235
7266
|
| UnlockSpaceLocationTechnologyModifier
|
7236
7267
|
| UnlockSpacePlatformsTechnologyModifier
|
7237
|
-
|
|
7268
|
+
| VehicleLogisticsTechnologyModifier
|
7238
7269
|
| WorkerRobotBatteryTechnologyModifier
|
7239
7270
|
| WorkerRobotSpeedTechnologyModifier
|
7240
7271
|
| WorkerRobotStorageTechnologyModifier
|
7241
|
-
| VehicleLogisticsTechnologyModifier
|
7242
7272
|
export interface BaseResearchTrigger {
|
7243
7273
|
readonly type:
|
7244
7274
|
| "craft-item"
|
@@ -7307,7 +7337,7 @@ declare module "factorio:runtime" {
|
|
7307
7337
|
* - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
|
7308
7338
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
7309
7339
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
7310
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7340
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ResearchTrigger.html Online documentation}
|
7311
7341
|
*/
|
7312
7342
|
export type ResearchTrigger =
|
7313
7343
|
| CraftItemResearchTrigger
|
@@ -7366,7 +7396,7 @@ declare module "factorio:runtime" {
|
|
7366
7396
|
*
|
7367
7397
|
* Other attributes may be specified depending on `type`:
|
7368
7398
|
* - `"fluid"`: {@link FluidIngredient}
|
7369
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7399
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Ingredient.html Online documentation}
|
7370
7400
|
*/
|
7371
7401
|
export type Ingredient = FluidIngredient | OtherIngredient
|
7372
7402
|
/**
|
@@ -7387,7 +7417,7 @@ declare module "factorio:runtime" {
|
|
7387
7417
|
* * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
|
7388
7418
|
* score(chunk) = 1 / (1 + player + base)
|
7389
7419
|
* ```
|
7390
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7420
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EnemyExpansionMapSettings.html Online documentation}
|
7391
7421
|
*/
|
7392
7422
|
export interface EnemyExpansionMapSettings {
|
7393
7423
|
/**
|
@@ -7660,7 +7690,7 @@ declare module "factorio:runtime" {
|
|
7660
7690
|
}
|
7661
7691
|
/**
|
7662
7692
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
7663
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7693
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapAndDifficultySettings.html Online documentation}
|
7664
7694
|
*/
|
7665
7695
|
export interface MapAndDifficultySettings {
|
7666
7696
|
readonly pollution: PollutionMapSettings
|
@@ -7681,7 +7711,7 @@ declare module "factorio:runtime" {
|
|
7681
7711
|
* @example
|
7682
7712
|
* -- Increase the number of short paths the pathfinder can cache.
|
7683
7713
|
* game.map_settings.path_finder.short_cache_size = 15
|
7684
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7714
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapSettings.html Online documentation}
|
7685
7715
|
*/
|
7686
7716
|
export interface MapSettings {
|
7687
7717
|
pollution: PollutionMapSettings
|
@@ -7693,7 +7723,7 @@ declare module "factorio:runtime" {
|
|
7693
7723
|
asteroids: AsteroidMapSettings
|
7694
7724
|
/**
|
7695
7725
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
7696
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7726
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
7697
7727
|
*/
|
7698
7728
|
max_failed_behavior_count: uint
|
7699
7729
|
}
|
@@ -7722,7 +7752,7 @@ declare module "factorio:runtime" {
|
|
7722
7752
|
* - `"very-high"`: equivalent to `2`.
|
7723
7753
|
* - `"very-big"`: equivalent to `2`.
|
7724
7754
|
* - `"very-good"`: equivalent to `2`.
|
7725
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7755
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapGenSize.html Online documentation}
|
7726
7756
|
*/
|
7727
7757
|
export type MapGenSize =
|
7728
7758
|
| float
|
@@ -7744,7 +7774,7 @@ declare module "factorio:runtime" {
|
|
7744
7774
|
| "very-good"
|
7745
7775
|
/**
|
7746
7776
|
* These values are for the time frame of one second (60 ticks).
|
7747
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7777
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PollutionMapSettings.html Online documentation}
|
7748
7778
|
*/
|
7749
7779
|
export interface PollutionMapSettings {
|
7750
7780
|
/**
|
@@ -7798,7 +7828,7 @@ declare module "factorio:runtime" {
|
|
7798
7828
|
}
|
7799
7829
|
/**
|
7800
7830
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
7801
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7831
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
7802
7832
|
*/
|
7803
7833
|
export interface EnemyEvolutionMapSettings {
|
7804
7834
|
/**
|
@@ -7820,7 +7850,7 @@ declare module "factorio:runtime" {
|
|
7820
7850
|
}
|
7821
7851
|
/**
|
7822
7852
|
* @see AutoplaceControlWrite
|
7823
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7853
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AutoplaceControl.html Online documentation}
|
7824
7854
|
*/
|
7825
7855
|
export interface AutoplaceControl {
|
7826
7856
|
/**
|
@@ -7838,7 +7868,7 @@ declare module "factorio:runtime" {
|
|
7838
7868
|
}
|
7839
7869
|
/**
|
7840
7870
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
7841
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7871
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AutoplaceControl.html Online documentation}
|
7842
7872
|
*/
|
7843
7873
|
export interface AutoplaceControlWrite {
|
7844
7874
|
/**
|
@@ -7856,7 +7886,7 @@ declare module "factorio:runtime" {
|
|
7856
7886
|
}
|
7857
7887
|
/**
|
7858
7888
|
* @see CliffPlacementSettingsWrite
|
7859
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7889
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CliffPlacementSettings.html Online documentation}
|
7860
7890
|
*/
|
7861
7891
|
export interface CliffPlacementSettings {
|
7862
7892
|
/**
|
@@ -7886,7 +7916,7 @@ declare module "factorio:runtime" {
|
|
7886
7916
|
}
|
7887
7917
|
/**
|
7888
7918
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
7889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7919
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CliffPlacementSettings.html Online documentation}
|
7890
7920
|
*/
|
7891
7921
|
export interface CliffPlacementSettingsWrite {
|
7892
7922
|
/**
|
@@ -7916,7 +7946,7 @@ declare module "factorio:runtime" {
|
|
7916
7946
|
}
|
7917
7947
|
/**
|
7918
7948
|
* @see AutoplaceSettingsWrite
|
7919
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7949
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AutoplaceSettings.html Online documentation}
|
7920
7950
|
*/
|
7921
7951
|
export interface AutoplaceSettings {
|
7922
7952
|
/**
|
@@ -7930,7 +7960,7 @@ declare module "factorio:runtime" {
|
|
7930
7960
|
}
|
7931
7961
|
/**
|
7932
7962
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
7933
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7963
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AutoplaceSettings.html Online documentation}
|
7934
7964
|
*/
|
7935
7965
|
export interface AutoplaceSettingsWrite {
|
7936
7966
|
/**
|
@@ -7965,7 +7995,7 @@ declare module "factorio:runtime" {
|
|
7965
7995
|
* surface.map_gen_settings = mgs
|
7966
7996
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
7967
7997
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
7968
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7998
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapGenSettings.html Online documentation}
|
7969
7999
|
*/
|
7970
8000
|
export interface MapGenSettings {
|
7971
8001
|
/**
|
@@ -8020,7 +8050,7 @@ declare module "factorio:runtime" {
|
|
8020
8050
|
}
|
8021
8051
|
/**
|
8022
8052
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
8023
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8053
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapGenSettings.html Online documentation}
|
8024
8054
|
*/
|
8025
8055
|
export interface MapGenSettingsWrite {
|
8026
8056
|
/**
|
@@ -8104,12 +8134,12 @@ declare module "factorio:runtime" {
|
|
8104
8134
|
}
|
8105
8135
|
/**
|
8106
8136
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
8107
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8137
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/NoiseExpressionSourceString.html Online documentation}
|
8108
8138
|
*/
|
8109
8139
|
export type NoiseExpressionSourceString = string
|
8110
8140
|
/**
|
8111
8141
|
* Specifies how probability and richness are calculated when placing something on the map.
|
8112
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8142
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AutoplaceSpecification.html Online documentation}
|
8113
8143
|
*/
|
8114
8144
|
export interface AutoplaceSpecification {
|
8115
8145
|
readonly placement_density: uint
|
@@ -8189,8 +8219,8 @@ declare module "factorio:runtime" {
|
|
8189
8219
|
_customEventIdBrand: any
|
8190
8220
|
}
|
8191
8221
|
/**
|
8192
|
-
* 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.
|
8193
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
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.64/events.html the list of Factorio events} for more information on these.
|
8223
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EventData.html Online documentation}
|
8194
8224
|
*/
|
8195
8225
|
export interface EventData {
|
8196
8226
|
/**
|
@@ -8208,7 +8238,7 @@ declare module "factorio:runtime" {
|
|
8208
8238
|
}
|
8209
8239
|
/**
|
8210
8240
|
* Information about an individual segment in a segmented unit when the unit died.
|
8211
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8241
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PostSegmentDiedData.html Online documentation}
|
8212
8242
|
*/
|
8213
8243
|
export interface PostSegmentDiedData {
|
8214
8244
|
/**
|
@@ -8236,7 +8266,7 @@ declare module "factorio:runtime" {
|
|
8236
8266
|
}
|
8237
8267
|
export interface SelectedPrototypeData {
|
8238
8268
|
/**
|
8239
|
-
* E.g. `"entity"`.
|
8269
|
+
* The base type of the prototype. E.g. `"entity"`.
|
8240
8270
|
*/
|
8241
8271
|
readonly base_type: IDType
|
8242
8272
|
/**
|
@@ -8284,29 +8314,29 @@ declare module "factorio:runtime" {
|
|
8284
8314
|
*/
|
8285
8315
|
readonly migration_applied: boolean
|
8286
8316
|
/**
|
8287
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.
|
8317
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.64/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.
|
8288
8318
|
*/
|
8289
8319
|
readonly migrations: Record<IDType, Record<string, string>>
|
8290
8320
|
}
|
8291
8321
|
/**
|
8292
8322
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
8293
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8323
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DifficultySettings.html Online documentation}
|
8294
8324
|
*/
|
8295
8325
|
export interface DifficultySettings {
|
8296
8326
|
/**
|
8297
8327
|
* A value in range [0.001, 1000].
|
8298
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8328
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
8299
8329
|
*/
|
8300
8330
|
technology_price_multiplier: double
|
8301
8331
|
/**
|
8302
8332
|
* A value in range [0.01, 100].
|
8303
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8333
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
8304
8334
|
*/
|
8305
8335
|
spoil_time_modifier: double
|
8306
8336
|
}
|
8307
8337
|
/**
|
8308
8338
|
* A single pipe connection for a given fluidbox.
|
8309
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8339
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PipeConnection.html Online documentation}
|
8310
8340
|
*/
|
8311
8341
|
export interface PipeConnection {
|
8312
8342
|
readonly flow_direction: FluidFlowDirection
|
@@ -8371,7 +8401,7 @@ declare module "factorio:runtime" {
|
|
8371
8401
|
}
|
8372
8402
|
/**
|
8373
8403
|
* @see AsteroidChunkWrite
|
8374
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8404
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AsteroidChunk.html Online documentation}
|
8375
8405
|
*/
|
8376
8406
|
export interface AsteroidChunk {
|
8377
8407
|
/**
|
@@ -8383,7 +8413,7 @@ declare module "factorio:runtime" {
|
|
8383
8413
|
}
|
8384
8414
|
/**
|
8385
8415
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
8386
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8416
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AsteroidChunk.html Online documentation}
|
8387
8417
|
*/
|
8388
8418
|
export interface AsteroidChunkWrite {
|
8389
8419
|
/**
|
@@ -8395,7 +8425,7 @@ declare module "factorio:runtime" {
|
|
8395
8425
|
}
|
8396
8426
|
/**
|
8397
8427
|
* The data that can be extracted from a map exchange string, as a plain table.
|
8398
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8428
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/MapExchangeStringData.html Online documentation}
|
8399
8429
|
*/
|
8400
8430
|
export interface MapExchangeStringData {
|
8401
8431
|
readonly map_settings: MapAndDifficultySettings
|
@@ -8421,7 +8451,7 @@ declare module "factorio:runtime" {
|
|
8421
8451
|
}
|
8422
8452
|
/**
|
8423
8453
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
8424
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8454
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ChunkPositionAndArea.html Online documentation}
|
8425
8455
|
*/
|
8426
8456
|
export interface ChunkPositionAndArea {
|
8427
8457
|
readonly x: int
|
@@ -8469,7 +8499,7 @@ declare module "factorio:runtime" {
|
|
8469
8499
|
* - `"check-box"`
|
8470
8500
|
* - `"switch"`
|
8471
8501
|
* - `"label"`
|
8472
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8502
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SimulationWidgetType.html Online documentation}
|
8473
8503
|
*/
|
8474
8504
|
export type SimulationWidgetType =
|
8475
8505
|
| "signal-id"
|
@@ -8657,7 +8687,7 @@ declare module "factorio:runtime" {
|
|
8657
8687
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
8658
8688
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
8659
8689
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
8660
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8690
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SegmentedUnitAIState.html Online documentation}
|
8661
8691
|
*/
|
8662
8692
|
export type SegmentedUnitAIState =
|
8663
8693
|
| PatrollingSegmentedUnitAIState
|
@@ -8667,7 +8697,7 @@ declare module "factorio:runtime" {
|
|
8667
8697
|
| EnragedAtNothingSegmentedUnitAIState
|
8668
8698
|
/**
|
8669
8699
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
8670
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8700
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SegmentedUnitAIState.html Online documentation}
|
8671
8701
|
*/
|
8672
8702
|
export type SegmentedUnitAIStateWrite =
|
8673
8703
|
| PatrollingSegmentedUnitAIStateWrite
|
@@ -8802,14 +8832,10 @@ declare module "factorio:runtime" {
|
|
8802
8832
|
*/
|
8803
8833
|
readonly invert?: boolean
|
8804
8834
|
}
|
8805
|
-
export interface InserterCircuitConditions {
|
8806
|
-
readonly circuit?: CircuitConditionWrite
|
8807
|
-
readonly logistics?: CircuitConditionWrite
|
8808
|
-
}
|
8809
8835
|
/**
|
8810
8836
|
* 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].
|
8811
8837
|
* @see ColorModifierArray
|
8812
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8838
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ColorModifier.html Online documentation}
|
8813
8839
|
*/
|
8814
8840
|
export interface ColorModifier {
|
8815
8841
|
readonly r?: float
|
@@ -8820,7 +8846,7 @@ declare module "factorio:runtime" {
|
|
8820
8846
|
/**
|
8821
8847
|
* Array form of {@link ColorModifier}.
|
8822
8848
|
* @see ColorModifier
|
8823
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8849
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ColorModifier.html Online documentation}
|
8824
8850
|
*/
|
8825
8851
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
8826
8852
|
export interface Decorative {
|
@@ -8839,7 +8865,7 @@ declare module "factorio:runtime" {
|
|
8839
8865
|
/**
|
8840
8866
|
* An area defined using the map editor.
|
8841
8867
|
* @see ScriptAreaWrite
|
8842
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8868
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptArea.html Online documentation}
|
8843
8869
|
*/
|
8844
8870
|
export interface ScriptArea {
|
8845
8871
|
readonly area: BoundingBox
|
@@ -8849,7 +8875,7 @@ declare module "factorio:runtime" {
|
|
8849
8875
|
}
|
8850
8876
|
/**
|
8851
8877
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
8852
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8878
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptArea.html Online documentation}
|
8853
8879
|
*/
|
8854
8880
|
export interface ScriptAreaWrite {
|
8855
8881
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
@@ -8860,7 +8886,7 @@ declare module "factorio:runtime" {
|
|
8860
8886
|
/**
|
8861
8887
|
* A position defined using the map editor.
|
8862
8888
|
* @see ScriptPositionWrite
|
8863
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8889
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptPosition.html Online documentation}
|
8864
8890
|
*/
|
8865
8891
|
export interface ScriptPosition {
|
8866
8892
|
readonly position: MapPosition
|
@@ -8870,7 +8896,7 @@ declare module "factorio:runtime" {
|
|
8870
8896
|
}
|
8871
8897
|
/**
|
8872
8898
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
8873
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8899
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ScriptPosition.html Online documentation}
|
8874
8900
|
*/
|
8875
8901
|
export interface ScriptPositionWrite {
|
8876
8902
|
readonly position: MapPosition | MapPositionArray
|
@@ -8880,7 +8906,7 @@ declare module "factorio:runtime" {
|
|
8880
8906
|
}
|
8881
8907
|
/**
|
8882
8908
|
* A table used to define a manual shape for a piece of equipment.
|
8883
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8909
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentPoint.html Online documentation}
|
8884
8910
|
*/
|
8885
8911
|
export interface EquipmentPoint {
|
8886
8912
|
readonly x: uint
|
@@ -8889,7 +8915,7 @@ declare module "factorio:runtime" {
|
|
8889
8915
|
/**
|
8890
8916
|
* 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.
|
8891
8917
|
* @see GuiLocationArray
|
8892
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8918
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/GuiLocation.html Online documentation}
|
8893
8919
|
*/
|
8894
8920
|
export interface GuiLocation {
|
8895
8921
|
readonly x: int
|
@@ -8898,7 +8924,7 @@ declare module "factorio:runtime" {
|
|
8898
8924
|
/**
|
8899
8925
|
* Array form of {@link GuiLocation}.
|
8900
8926
|
* @see GuiLocation
|
8901
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8927
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/GuiLocation.html Online documentation}
|
8902
8928
|
*/
|
8903
8929
|
export type GuiLocationArray = readonly [int, int]
|
8904
8930
|
export interface TabAndContent {
|
@@ -8927,7 +8953,7 @@ declare module "factorio:runtime" {
|
|
8927
8953
|
}
|
8928
8954
|
/**
|
8929
8955
|
* Either `icon`, `text`, or both must be provided.
|
8930
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8956
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ChartTagSpec.html Online documentation}
|
8931
8957
|
*/
|
8932
8958
|
export interface ChartTagSpec {
|
8933
8959
|
readonly position: MapPosition | MapPositionArray
|
@@ -9056,7 +9082,7 @@ declare module "factorio:runtime" {
|
|
9056
9082
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
9057
9083
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
9058
9084
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
9059
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9085
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrainPathRequestType.html Online documentation}
|
9060
9086
|
*/
|
9061
9087
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
9062
9088
|
/**
|
@@ -9065,7 +9091,7 @@ declare module "factorio:runtime" {
|
|
9065
9091
|
* - {@link RailEndGoal}
|
9066
9092
|
* - {@link LuaRailEnd}
|
9067
9093
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
9068
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9094
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TrainPathFinderGoal.html Online documentation}
|
9069
9095
|
*/
|
9070
9096
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
9071
9097
|
export interface TrainStopGoal {
|
@@ -9260,7 +9286,7 @@ declare module "factorio:runtime" {
|
|
9260
9286
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
9261
9287
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
9262
9288
|
* @see EventFilterWrite
|
9263
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9289
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EventFilter.html Online documentation}
|
9264
9290
|
*/
|
9265
9291
|
export type EventFilter =
|
9266
9292
|
| LuaSegmentedUnitDiedEventFilter[]
|
@@ -9295,7 +9321,7 @@ declare module "factorio:runtime" {
|
|
9295
9321
|
| LuaScriptRaisedDestroyEventFilter[]
|
9296
9322
|
/**
|
9297
9323
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
9298
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9324
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EventFilter.html Online documentation}
|
9299
9325
|
*/
|
9300
9326
|
export type EventFilterWrite =
|
9301
9327
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
@@ -9330,7 +9356,7 @@ declare module "factorio:runtime" {
|
|
9330
9356
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
9331
9357
|
/**
|
9332
9358
|
* @see CircuitConditionDefinitionWrite
|
9333
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9359
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CircuitConditionDefinition.html Online documentation}
|
9334
9360
|
*/
|
9335
9361
|
export interface CircuitConditionDefinition {
|
9336
9362
|
/**
|
@@ -9356,7 +9382,7 @@ declare module "factorio:runtime" {
|
|
9356
9382
|
}
|
9357
9383
|
/**
|
9358
9384
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
9359
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9385
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CircuitConditionDefinition.html Online documentation}
|
9360
9386
|
*/
|
9361
9387
|
export interface CircuitConditionDefinitionWrite {
|
9362
9388
|
/**
|
@@ -9406,7 +9432,7 @@ declare module "factorio:runtime" {
|
|
9406
9432
|
* - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
|
9407
9433
|
* - {@link LuaTerritory}: Target type {@link defines.target_type.territory territory}
|
9408
9434
|
* - {@link LuaSegmentedUnit}: Target type {@link defines.target_type.segmented_unit segmented_unit}; `useful_id` {@link LuaSegmentedUnit#unit_number LuaSegmentedUnit::unit_number}
|
9409
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9435
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RegistrationTarget.html Online documentation}
|
9410
9436
|
*/
|
9411
9437
|
export type RegistrationTarget =
|
9412
9438
|
| LuaEntity
|
@@ -9477,7 +9503,7 @@ declare module "factorio:runtime" {
|
|
9477
9503
|
* - `"surface"`
|
9478
9504
|
* - `"mod-data"`
|
9479
9505
|
* - `"custom-event"`
|
9480
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9506
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/IDType.html Online documentation}
|
9481
9507
|
*/
|
9482
9508
|
export type IDType =
|
9483
9509
|
| "custom-input"
|
@@ -9538,7 +9564,7 @@ declare module "factorio:runtime" {
|
|
9538
9564
|
}
|
9539
9565
|
/**
|
9540
9566
|
* @see EntityIDFilterWrite
|
9541
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9567
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityIDFilter.html Online documentation}
|
9542
9568
|
*/
|
9543
9569
|
export interface EntityIDFilter {
|
9544
9570
|
/**
|
@@ -9556,7 +9582,7 @@ declare module "factorio:runtime" {
|
|
9556
9582
|
}
|
9557
9583
|
/**
|
9558
9584
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
9559
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9585
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityIDFilter.html Online documentation}
|
9560
9586
|
*/
|
9561
9587
|
export interface EntityIDFilterWrite {
|
9562
9588
|
/**
|
@@ -9591,7 +9617,7 @@ declare module "factorio:runtime" {
|
|
9591
9617
|
* - {@link FluidPrototypeFilter}
|
9592
9618
|
* - {@link EntityPrototypeFilter}
|
9593
9619
|
* @see PrototypeFilterWrite
|
9594
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9620
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PrototypeFilter.html Online documentation}
|
9595
9621
|
*/
|
9596
9622
|
export type PrototypeFilter =
|
9597
9623
|
| ModSettingPrototypeFilter[]
|
@@ -9608,7 +9634,7 @@ declare module "factorio:runtime" {
|
|
9608
9634
|
| EntityPrototypeFilter[]
|
9609
9635
|
/**
|
9610
9636
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
9611
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9637
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PrototypeFilter.html Online documentation}
|
9612
9638
|
*/
|
9613
9639
|
export type PrototypeFilterWrite =
|
9614
9640
|
| readonly ModSettingPrototypeFilter[]
|
@@ -9627,7 +9653,7 @@ declare module "factorio:runtime" {
|
|
9627
9653
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
9628
9654
|
*
|
9629
9655
|
* By default, none of these flags are set.
|
9630
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9656
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityPrototypeFlags.html Online documentation}
|
9631
9657
|
*/
|
9632
9658
|
export type EntityPrototypeFlags = {
|
9633
9659
|
readonly [T in EntityPrototypeFlag]?: true
|
@@ -9661,7 +9687,7 @@ declare module "factorio:runtime" {
|
|
9661
9687
|
* - `"building-direction-16-way"`
|
9662
9688
|
* - `"snap-to-rail-support-spot"`
|
9663
9689
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
9664
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9690
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityPrototypeFlag.html Online documentation}
|
9665
9691
|
*/
|
9666
9692
|
export type EntityPrototypeFlag =
|
9667
9693
|
| "not-rotatable"
|
@@ -9691,7 +9717,7 @@ declare module "factorio:runtime" {
|
|
9691
9717
|
| "not-in-made-in"
|
9692
9718
|
/**
|
9693
9719
|
* A single filter used by an infinity-pipe type entity.
|
9694
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9720
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/InfinityPipeFilter.html Online documentation}
|
9695
9721
|
*/
|
9696
9722
|
export interface InfinityPipeFilter {
|
9697
9723
|
/**
|
@@ -9721,7 +9747,7 @@ declare module "factorio:runtime" {
|
|
9721
9747
|
}
|
9722
9748
|
/**
|
9723
9749
|
* @see ProgrammableSpeakerParametersWrite
|
9724
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9750
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
9725
9751
|
*/
|
9726
9752
|
export interface ProgrammableSpeakerParameters {
|
9727
9753
|
readonly playback_volume: float
|
@@ -9732,7 +9758,7 @@ declare module "factorio:runtime" {
|
|
9732
9758
|
}
|
9733
9759
|
/**
|
9734
9760
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
9735
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9761
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
9736
9762
|
*/
|
9737
9763
|
export interface ProgrammableSpeakerParametersWrite {
|
9738
9764
|
readonly playback_volume: float
|
@@ -9748,12 +9774,12 @@ declare module "factorio:runtime" {
|
|
9748
9774
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
9749
9775
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
9750
9776
|
* - `"global"`: The sound can be heard everywhere.
|
9751
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9777
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
9752
9778
|
*/
|
9753
9779
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
9754
9780
|
/**
|
9755
9781
|
* @see ProgrammableSpeakerAlertParametersWrite
|
9756
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9782
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
9757
9783
|
*/
|
9758
9784
|
export interface ProgrammableSpeakerAlertParameters {
|
9759
9785
|
readonly show_alert: boolean
|
@@ -9763,7 +9789,7 @@ declare module "factorio:runtime" {
|
|
9763
9789
|
}
|
9764
9790
|
/**
|
9765
9791
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
9766
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9792
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
9767
9793
|
*/
|
9768
9794
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
9769
9795
|
readonly show_alert: boolean
|
@@ -9791,12 +9817,12 @@ declare module "factorio:runtime" {
|
|
9791
9817
|
* - `"exactly"`
|
9792
9818
|
* - `"add"`
|
9793
9819
|
* - `"remove"`
|
9794
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9820
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/HeatSettingMode.html Online documentation}
|
9795
9821
|
*/
|
9796
9822
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
9797
9823
|
/**
|
9798
9824
|
* The settings used by a heat-interface type entity.
|
9799
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9825
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/HeatSetting.html Online documentation}
|
9800
9826
|
*/
|
9801
9827
|
export interface HeatSetting {
|
9802
9828
|
/**
|
@@ -9830,7 +9856,7 @@ declare module "factorio:runtime" {
|
|
9830
9856
|
* - `"none-to-south"`
|
9831
9857
|
* - `"south-to-none"`
|
9832
9858
|
* - `"none-to-north"`
|
9833
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9859
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/CliffOrientation.html Online documentation}
|
9834
9860
|
*/
|
9835
9861
|
export type CliffOrientation =
|
9836
9862
|
| "west-to-east"
|
@@ -9860,7 +9886,7 @@ declare module "factorio:runtime" {
|
|
9860
9886
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
9861
9887
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
9862
9888
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
9863
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9889
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ValveMode.html Online documentation}
|
9864
9890
|
*/
|
9865
9891
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
9866
9892
|
/**
|
@@ -9868,12 +9894,12 @@ declare module "factorio:runtime" {
|
|
9868
9894
|
* - `"fresh_first"`
|
9869
9895
|
* - `"none"`
|
9870
9896
|
* - `"spoiled_first"`
|
9871
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9897
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpoilPriority.html Online documentation}
|
9872
9898
|
*/
|
9873
9899
|
export type SpoilPriority = "fresh_first" | "none" | "spoiled_first"
|
9874
9900
|
/**
|
9875
9901
|
* @see BlueprintInfinityInventorySettingsWrite
|
9876
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9902
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
9877
9903
|
*/
|
9878
9904
|
export interface BlueprintInfinityInventorySettings {
|
9879
9905
|
readonly filters?: InfinityInventoryFilter[]
|
@@ -9884,7 +9910,7 @@ declare module "factorio:runtime" {
|
|
9884
9910
|
}
|
9885
9911
|
/**
|
9886
9912
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
9887
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9913
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
9888
9914
|
*/
|
9889
9915
|
export interface BlueprintInfinityInventorySettingsWrite {
|
9890
9916
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
@@ -9929,7 +9955,7 @@ declare module "factorio:runtime" {
|
|
9929
9955
|
/**
|
9930
9956
|
* Defines an item type that a blueprint entity will request.
|
9931
9957
|
* @see BlueprintInsertPlanWrite
|
9932
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9958
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintInsertPlan.html Online documentation}
|
9933
9959
|
*/
|
9934
9960
|
export interface BlueprintInsertPlan {
|
9935
9961
|
/**
|
@@ -9943,7 +9969,7 @@ declare module "factorio:runtime" {
|
|
9943
9969
|
}
|
9944
9970
|
/**
|
9945
9971
|
* Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
|
9946
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9972
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintInsertPlan.html Online documentation}
|
9947
9973
|
*/
|
9948
9974
|
export interface BlueprintInsertPlanWrite {
|
9949
9975
|
/**
|
@@ -9981,7 +10007,7 @@ declare module "factorio:runtime" {
|
|
9981
10007
|
}
|
9982
10008
|
/**
|
9983
10009
|
* A single offer on a market entity.
|
9984
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10010
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Offer.html Online documentation}
|
9985
10011
|
*/
|
9986
10012
|
export interface Offer {
|
9987
10013
|
/**
|
@@ -10027,7 +10053,7 @@ declare module "factorio:runtime" {
|
|
10027
10053
|
/**
|
10028
10054
|
* A single filter used by an infinity-filters instance.
|
10029
10055
|
* @see InfinityInventoryFilterWrite
|
10030
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10056
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/InfinityInventoryFilter.html Online documentation}
|
10031
10057
|
*/
|
10032
10058
|
export interface InfinityInventoryFilter {
|
10033
10059
|
/**
|
@@ -10053,7 +10079,7 @@ declare module "factorio:runtime" {
|
|
10053
10079
|
}
|
10054
10080
|
/**
|
10055
10081
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
10056
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10082
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/InfinityInventoryFilter.html Online documentation}
|
10057
10083
|
*/
|
10058
10084
|
export interface InfinityInventoryFilterWrite {
|
10059
10085
|
/**
|
@@ -10104,23 +10130,27 @@ declare module "factorio:runtime" {
|
|
10104
10130
|
| "entity-build"
|
10105
10131
|
| "entity-mined"
|
10106
10132
|
| "entity-mining"
|
10107
|
-
| "entity-vehicle_impact"
|
10108
10133
|
| "entity-rotated"
|
10109
10134
|
| "entity-open"
|
10110
10135
|
| "entity-close"
|
10136
|
+
| "item-open"
|
10137
|
+
| "item-close"
|
10138
|
+
| "item-pick"
|
10139
|
+
| "item-drop"
|
10140
|
+
| "item-move"
|
10111
10141
|
/**
|
10112
10142
|
* It can be either the name of a {@link import("factorio:prototype").SoundPrototype SoundPrototype} defined in the data stage, or a path in the form `"type/name"`. The latter option can be sorted into four categories.
|
10113
10143
|
*
|
10114
10144
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
10115
10145
|
*
|
10116
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10146
|
+
* {@link https://lua-api.factorio.com/2.0.64/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
10117
10147
|
*
|
10118
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10148
|
+
* {@link https://lua-api.factorio.com/2.0.64/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
10119
10149
|
*
|
10120
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10150
|
+
* {@link https://lua-api.factorio.com/2.0.64/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
10121
10151
|
*
|
10122
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10123
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10152
|
+
* {@link https://lua-api.factorio.com/2.0.64/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
10153
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SoundPath.html Online documentation}
|
10124
10154
|
*/
|
10125
10155
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
10126
10156
|
/**
|
@@ -10138,7 +10168,7 @@ declare module "factorio:runtime" {
|
|
10138
10168
|
* - `"weapon"`
|
10139
10169
|
* - `"explosion"`
|
10140
10170
|
* - `"enemy"`
|
10141
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10171
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SoundType.html Online documentation}
|
10142
10172
|
*/
|
10143
10173
|
export type SoundType =
|
10144
10174
|
| "game-effect"
|
@@ -10179,7 +10209,7 @@ declare module "factorio:runtime" {
|
|
10179
10209
|
}
|
10180
10210
|
/**
|
10181
10211
|
* @see BlueprintLogisticFilterWrite
|
10182
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10212
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintLogisticFilter.html Online documentation}
|
10183
10213
|
*/
|
10184
10214
|
export interface BlueprintLogisticFilter {
|
10185
10215
|
readonly index: LogisticFilterIndex
|
@@ -10209,7 +10239,7 @@ declare module "factorio:runtime" {
|
|
10209
10239
|
}
|
10210
10240
|
/**
|
10211
10241
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
10212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10242
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintLogisticFilter.html Online documentation}
|
10213
10243
|
*/
|
10214
10244
|
export interface BlueprintLogisticFilterWrite {
|
10215
10245
|
readonly index: LogisticFilterIndex
|
@@ -10239,7 +10269,7 @@ declare module "factorio:runtime" {
|
|
10239
10269
|
}
|
10240
10270
|
/**
|
10241
10271
|
* @see BlueprintLogisticSectionsWrite
|
10242
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10272
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintLogisticSections.html Online documentation}
|
10243
10273
|
*/
|
10244
10274
|
export interface BlueprintLogisticSections {
|
10245
10275
|
readonly sections?: LogisticSection[]
|
@@ -10254,7 +10284,7 @@ declare module "factorio:runtime" {
|
|
10254
10284
|
}
|
10255
10285
|
/**
|
10256
10286
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
10257
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10287
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/BlueprintLogisticSections.html Online documentation}
|
10258
10288
|
*/
|
10259
10289
|
export interface BlueprintLogisticSectionsWrite {
|
10260
10290
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -10269,7 +10299,7 @@ declare module "factorio:runtime" {
|
|
10269
10299
|
}
|
10270
10300
|
/**
|
10271
10301
|
* @see LogisticSectionWrite
|
10272
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10302
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticSection.html Online documentation}
|
10273
10303
|
*/
|
10274
10304
|
export interface LogisticSection {
|
10275
10305
|
readonly index: uint8
|
@@ -10286,7 +10316,7 @@ declare module "factorio:runtime" {
|
|
10286
10316
|
}
|
10287
10317
|
/**
|
10288
10318
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
10289
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10319
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticSection.html Online documentation}
|
10290
10320
|
*/
|
10291
10321
|
export interface LogisticSectionWrite {
|
10292
10322
|
readonly index: uint8
|
@@ -10307,7 +10337,7 @@ declare module "factorio:runtime" {
|
|
10307
10337
|
}
|
10308
10338
|
/**
|
10309
10339
|
* @see LogisticSectionsWrite
|
10310
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10340
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticSections.html Online documentation}
|
10311
10341
|
*/
|
10312
10342
|
export interface LogisticSections {
|
10313
10343
|
readonly sections?: LogisticSection[]
|
@@ -10318,7 +10348,7 @@ declare module "factorio:runtime" {
|
|
10318
10348
|
}
|
10319
10349
|
/**
|
10320
10350
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
10321
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10351
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LogisticSections.html Online documentation}
|
10322
10352
|
*/
|
10323
10353
|
export interface LogisticSectionsWrite {
|
10324
10354
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -10341,7 +10371,7 @@ declare module "factorio:runtime" {
|
|
10341
10371
|
* - {@link LuaAsteroidChunkPrototype}
|
10342
10372
|
* - {@link LuaVirtualSignalPrototype}
|
10343
10373
|
* - {@link LuaSurfacePrototype}
|
10344
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10374
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FactoriopediaID.html Online documentation}
|
10345
10375
|
*/
|
10346
10376
|
export type FactoriopediaID =
|
10347
10377
|
| LuaItemPrototype
|
@@ -10362,7 +10392,7 @@ declare module "factorio:runtime" {
|
|
10362
10392
|
* ## Union members
|
10363
10393
|
* - `"horizontal"`
|
10364
10394
|
* - `"vertical"`
|
10365
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10395
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/GuiDirection.html Online documentation}
|
10366
10396
|
*/
|
10367
10397
|
export type GuiDirection = "horizontal" | "vertical"
|
10368
10398
|
/**
|
@@ -10380,7 +10410,7 @@ declare module "factorio:runtime" {
|
|
10380
10410
|
* - `"top-right"`
|
10381
10411
|
* - `"right"`: The same as `"middle-right"`
|
10382
10412
|
* - `"bottom-right"`
|
10383
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10413
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Alignment.html Online documentation}
|
10384
10414
|
*/
|
10385
10415
|
export type Alignment =
|
10386
10416
|
| "top-left"
|
@@ -10438,7 +10468,7 @@ declare module "factorio:runtime" {
|
|
10438
10468
|
}
|
10439
10469
|
/**
|
10440
10470
|
* A set of trigger target masks.
|
10441
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10471
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TriggerTargetMask.html Online documentation}
|
10442
10472
|
*/
|
10443
10473
|
export type TriggerTargetMask = Record<string, true>
|
10444
10474
|
export interface AttackReactionItem {
|
@@ -10508,7 +10538,7 @@ declare module "factorio:runtime" {
|
|
10508
10538
|
* - `"destroy-decoratives"`
|
10509
10539
|
* - `"camera-effect"`
|
10510
10540
|
* - `"activate-impact"`
|
10511
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10541
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TriggerEffectItemType.html Online documentation}
|
10512
10542
|
*/
|
10513
10543
|
export type TriggerEffectItemType =
|
10514
10544
|
| "damage"
|
@@ -10641,7 +10671,7 @@ declare module "factorio:runtime" {
|
|
10641
10671
|
* Other attributes may be specified depending on `type`:
|
10642
10672
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
10643
10673
|
* - `"stream"`: {@link StreamAttackParameters}
|
10644
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10674
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AttackParameters.html Online documentation}
|
10645
10675
|
*/
|
10646
10676
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
10647
10677
|
/**
|
@@ -10649,7 +10679,7 @@ declare module "factorio:runtime" {
|
|
10649
10679
|
* - `"left"`
|
10650
10680
|
* - `"none"`
|
10651
10681
|
* - `"right"`
|
10652
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10682
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SplitterPriority.html Online documentation}
|
10653
10683
|
*/
|
10654
10684
|
export type SplitterPriority = "left" | "none" | "right"
|
10655
10685
|
/**
|
@@ -10658,12 +10688,12 @@ declare module "factorio:runtime" {
|
|
10658
10688
|
* 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.
|
10659
10689
|
* @example
|
10660
10690
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
10661
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10691
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Tags.html Online documentation}
|
10662
10692
|
*/
|
10663
10693
|
export type Tags = Record<string, AnyBasic>
|
10664
10694
|
/**
|
10665
10695
|
* @see TileWrite
|
10666
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10696
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Tile.html Online documentation}
|
10667
10697
|
*/
|
10668
10698
|
export interface Tile {
|
10669
10699
|
/**
|
@@ -10677,7 +10707,7 @@ declare module "factorio:runtime" {
|
|
10677
10707
|
}
|
10678
10708
|
/**
|
10679
10709
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
10680
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10710
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Tile.html Online documentation}
|
10681
10711
|
*/
|
10682
10712
|
export interface TileWrite {
|
10683
10713
|
/**
|
@@ -10701,99 +10731,99 @@ declare module "factorio:runtime" {
|
|
10701
10731
|
}
|
10702
10732
|
/**
|
10703
10733
|
* 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.
|
10704
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10734
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/float.html Online documentation}
|
10705
10735
|
*/
|
10706
10736
|
export type float = number
|
10707
10737
|
/**
|
10708
10738
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
10709
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10739
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/double.html Online documentation}
|
10710
10740
|
*/
|
10711
10741
|
export type double = number
|
10712
10742
|
/**
|
10713
10743
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
10714
10744
|
*
|
10715
10745
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
10716
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10746
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/uint8.html Online documentation}
|
10717
10747
|
*/
|
10718
10748
|
export type uint8 = number
|
10719
10749
|
/**
|
10720
10750
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
10721
10751
|
*
|
10722
10752
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
10723
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10753
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/int8.html Online documentation}
|
10724
10754
|
*/
|
10725
10755
|
export type int8 = number
|
10726
10756
|
/**
|
10727
10757
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
10728
10758
|
*
|
10729
10759
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
10730
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10760
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/uint16.html Online documentation}
|
10731
10761
|
*/
|
10732
10762
|
export type uint16 = number
|
10733
10763
|
/**
|
10734
10764
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
10735
10765
|
*
|
10736
10766
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
10737
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10767
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/int16.html Online documentation}
|
10738
10768
|
*/
|
10739
10769
|
export type int16 = number
|
10740
10770
|
/**
|
10741
10771
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
10742
10772
|
*
|
10743
10773
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
10744
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10774
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/uint.html Online documentation}
|
10745
10775
|
*/
|
10746
10776
|
export type uint = number
|
10747
10777
|
/**
|
10748
10778
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
10749
10779
|
*
|
10750
10780
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
10751
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10781
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/int.html Online documentation}
|
10752
10782
|
*/
|
10753
10783
|
export type int = number
|
10754
10784
|
/**
|
10755
10785
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
10756
10786
|
*
|
10757
10787
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
10758
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10788
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/uint64.html Online documentation}
|
10759
10789
|
*/
|
10760
10790
|
export type uint64 = number
|
10761
10791
|
/**
|
10762
10792
|
* 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.
|
10763
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10793
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/nil.html Online documentation}
|
10764
10794
|
*/
|
10765
10795
|
export type nil = undefined
|
10766
10796
|
/**
|
10767
10797
|
* Tables are enclosed in curly brackets, like this `{}`.
|
10768
10798
|
*
|
10769
10799
|
* 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.
|
10770
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10800
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/table.html Online documentation}
|
10771
10801
|
*/
|
10772
10802
|
export type table = object
|
10773
10803
|
/**
|
10774
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.
|
10775
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10804
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.64/classes.html Classes} page.
|
10805
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaObject.html Online documentation}
|
10776
10806
|
*/
|
10777
10807
|
export interface LuaObject {
|
10778
10808
|
readonly object_name: string
|
10779
10809
|
}
|
10780
10810
|
/**
|
10781
10811
|
* Any basic type (string, number, boolean) or table.
|
10782
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10812
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AnyBasic.html Online documentation}
|
10783
10813
|
*/
|
10784
10814
|
export type AnyBasic = string | boolean | number | table
|
10785
10815
|
/**
|
10786
10816
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
10787
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10817
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/Any.html Online documentation}
|
10788
10818
|
*/
|
10789
10819
|
export type Any = string | boolean | number | table | LuaObject
|
10790
10820
|
/**
|
10791
10821
|
* 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}`.
|
10792
10822
|
*
|
10793
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10823
|
+
* {@link https://lua-api.factorio.com/2.0.64/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:}
|
10794
10824
|
*
|
10795
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10796
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10825
|
+
* {@link https://lua-api.factorio.com/2.0.64/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:}
|
10826
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/PropertyExpressionNames.html Online documentation}
|
10797
10827
|
*/
|
10798
10828
|
export type PropertyExpressionNames = Record<string, string>
|
10799
10829
|
/**
|
@@ -10850,7 +10880,7 @@ declare module "factorio:runtime" {
|
|
10850
10880
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
10851
10881
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
10852
10882
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
10853
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10883
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ModSettingPrototypeFilter.html Online documentation}
|
10854
10884
|
*/
|
10855
10885
|
export type ModSettingPrototypeFilter =
|
10856
10886
|
| TypeModSettingPrototypeFilter
|
@@ -10914,7 +10944,7 @@ declare module "factorio:runtime" {
|
|
10914
10944
|
* Other attributes may be specified depending on `filter`:
|
10915
10945
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
10916
10946
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
10917
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10947
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
10918
10948
|
*/
|
10919
10949
|
export type SpaceLocationPrototypeFilter =
|
10920
10950
|
| TypeSpaceLocationPrototypeFilter
|
@@ -10922,7 +10952,7 @@ declare module "factorio:runtime" {
|
|
10922
10952
|
| OtherSpaceLocationPrototypeFilter
|
10923
10953
|
/**
|
10924
10954
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
10925
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10955
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
10926
10956
|
*/
|
10927
10957
|
export type SpaceLocationPrototypeFilterWrite =
|
10928
10958
|
| TypeSpaceLocationPrototypeFilter
|
@@ -10970,7 +11000,7 @@ declare module "factorio:runtime" {
|
|
10970
11000
|
*
|
10971
11001
|
* Other attributes may be specified depending on `filter`:
|
10972
11002
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
10973
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11003
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/DecorativePrototypeFilter.html Online documentation}
|
10974
11004
|
*/
|
10975
11005
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
10976
11006
|
/**
|
@@ -11112,7 +11142,7 @@ declare module "factorio:runtime" {
|
|
11112
11142
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
11113
11143
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
11114
11144
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
11115
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11145
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TilePrototypeFilter.html Online documentation}
|
11116
11146
|
*/
|
11117
11147
|
export type TilePrototypeFilter =
|
11118
11148
|
| CollisionMaskTilePrototypeFilter
|
@@ -11123,7 +11153,7 @@ declare module "factorio:runtime" {
|
|
11123
11153
|
| OtherTilePrototypeFilter
|
11124
11154
|
/**
|
11125
11155
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11126
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11156
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TilePrototypeFilter.html Online documentation}
|
11127
11157
|
*/
|
11128
11158
|
export type TilePrototypeFilterWrite =
|
11129
11159
|
| CollisionMaskTilePrototypeFilter
|
@@ -11478,7 +11508,7 @@ declare module "factorio:runtime" {
|
|
11478
11508
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
11479
11509
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
11480
11510
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
11481
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11511
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemPrototypeFilter.html Online documentation}
|
11482
11512
|
*/
|
11483
11513
|
export type ItemPrototypeFilter =
|
11484
11514
|
| PlaceResultItemPrototypeFilter
|
@@ -11500,7 +11530,7 @@ declare module "factorio:runtime" {
|
|
11500
11530
|
| OtherItemPrototypeFilter
|
11501
11531
|
/**
|
11502
11532
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11503
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11533
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/ItemPrototypeFilter.html Online documentation}
|
11504
11534
|
*/
|
11505
11535
|
export type ItemPrototypeFilterWrite =
|
11506
11536
|
| PlaceResultItemPrototypeFilterWrite
|
@@ -11640,7 +11670,7 @@ declare module "factorio:runtime" {
|
|
11640
11670
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
11641
11671
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
11642
11672
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
11643
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11673
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TechnologyPrototypeFilter.html Online documentation}
|
11644
11674
|
*/
|
11645
11675
|
export type TechnologyPrototypeFilter =
|
11646
11676
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -11651,7 +11681,7 @@ declare module "factorio:runtime" {
|
|
11651
11681
|
| OtherTechnologyPrototypeFilter
|
11652
11682
|
/**
|
11653
11683
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11654
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11684
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/TechnologyPrototypeFilter.html Online documentation}
|
11655
11685
|
*/
|
11656
11686
|
export type TechnologyPrototypeFilterWrite =
|
11657
11687
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -11911,7 +11941,7 @@ declare module "factorio:runtime" {
|
|
11911
11941
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
11912
11942
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
11913
11943
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
11914
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11944
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RecipePrototypeFilter.html Online documentation}
|
11915
11945
|
*/
|
11916
11946
|
export type RecipePrototypeFilter =
|
11917
11947
|
| HasIngredientItemRecipePrototypeFilter
|
@@ -11927,7 +11957,7 @@ declare module "factorio:runtime" {
|
|
11927
11957
|
| OtherRecipePrototypeFilter
|
11928
11958
|
/**
|
11929
11959
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11930
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11960
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/RecipePrototypeFilter.html Online documentation}
|
11931
11961
|
*/
|
11932
11962
|
export type RecipePrototypeFilterWrite =
|
11933
11963
|
| HasIngredientItemRecipePrototypeFilterWrite
|
@@ -11979,7 +12009,7 @@ declare module "factorio:runtime" {
|
|
11979
12009
|
*
|
11980
12010
|
* Other attributes may be specified depending on `filter`:
|
11981
12011
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
11982
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12012
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/AchievementPrototypeFilter.html Online documentation}
|
11983
12013
|
*/
|
11984
12014
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
11985
12015
|
/**
|
@@ -12020,7 +12050,7 @@ declare module "factorio:runtime" {
|
|
12020
12050
|
*
|
12021
12051
|
* Other attributes may be specified depending on `filter`:
|
12022
12052
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
12023
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12053
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EquipmentPrototypeFilter.html Online documentation}
|
12024
12054
|
*/
|
12025
12055
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
12026
12056
|
/**
|
@@ -12205,7 +12235,7 @@ declare module "factorio:runtime" {
|
|
12205
12235
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
12206
12236
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
12207
12237
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
12208
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12238
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FluidPrototypeFilter.html Online documentation}
|
12209
12239
|
*/
|
12210
12240
|
export type FluidPrototypeFilter =
|
12211
12241
|
| NameFluidPrototypeFilter
|
@@ -12219,7 +12249,7 @@ declare module "factorio:runtime" {
|
|
12219
12249
|
| OtherFluidPrototypeFilter
|
12220
12250
|
/**
|
12221
12251
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
12222
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12252
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/FluidPrototypeFilter.html Online documentation}
|
12223
12253
|
*/
|
12224
12254
|
export type FluidPrototypeFilterWrite =
|
12225
12255
|
| NameFluidPrototypeFilter
|
@@ -12459,7 +12489,7 @@ declare module "factorio:runtime" {
|
|
12459
12489
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
12460
12490
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
12461
12491
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
12462
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12492
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityPrototypeFilter.html Online documentation}
|
12463
12493
|
*/
|
12464
12494
|
export type EntityPrototypeFilter =
|
12465
12495
|
| NameEntityPrototypeFilter
|
@@ -12473,7 +12503,7 @@ declare module "factorio:runtime" {
|
|
12473
12503
|
| OtherEntityPrototypeFilter
|
12474
12504
|
/**
|
12475
12505
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
12476
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12506
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/EntityPrototypeFilter.html Online documentation}
|
12477
12507
|
*/
|
12478
12508
|
export type EntityPrototypeFilterWrite =
|
12479
12509
|
| NameEntityPrototypeFilter
|
@@ -12517,7 +12547,7 @@ declare module "factorio:runtime" {
|
|
12517
12547
|
*
|
12518
12548
|
* Other attributes may be specified depending on `filter`:
|
12519
12549
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
12520
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12550
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
12521
12551
|
*/
|
12522
12552
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
12523
12553
|
/**
|
@@ -12617,7 +12647,7 @@ declare module "factorio:runtime" {
|
|
12617
12647
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
12618
12648
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
12619
12649
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
12620
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12650
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
12621
12651
|
*/
|
12622
12652
|
export type LuaScriptRaisedTeleportedEventFilter =
|
12623
12653
|
| TypeScriptRaisedTeleportedEventFilter
|
@@ -12722,7 +12752,7 @@ declare module "factorio:runtime" {
|
|
12722
12752
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
12723
12753
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
12724
12754
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
12725
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12755
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
12726
12756
|
*/
|
12727
12757
|
export type LuaPreRobotMinedEntityEventFilter =
|
12728
12758
|
| TypePreRobotMinedEntityEventFilter
|
@@ -12827,7 +12857,7 @@ declare module "factorio:runtime" {
|
|
12827
12857
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
12828
12858
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
12829
12859
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
12830
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12860
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
12831
12861
|
*/
|
12832
12862
|
export type LuaScriptRaisedBuiltEventFilter =
|
12833
12863
|
| TypeScriptRaisedBuiltEventFilter
|
@@ -12932,7 +12962,7 @@ declare module "factorio:runtime" {
|
|
12932
12962
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
12933
12963
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
12934
12964
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
12935
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12965
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
12936
12966
|
*/
|
12937
12967
|
export type LuaPlatformMinedEntityEventFilter =
|
12938
12968
|
| TypePlatformMinedEntityEventFilter
|
@@ -13049,7 +13079,7 @@ declare module "factorio:runtime" {
|
|
13049
13079
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
13050
13080
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
13051
13081
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
13052
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13082
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
13053
13083
|
*/
|
13054
13084
|
export type LuaRobotBuiltEntityEventFilter =
|
13055
13085
|
| TypeRobotBuiltEntityEventFilter
|
@@ -13155,7 +13185,7 @@ declare module "factorio:runtime" {
|
|
13155
13185
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
13156
13186
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
13157
13187
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
13158
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13188
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
13159
13189
|
*/
|
13160
13190
|
export type LuaPrePlayerMinedEntityEventFilter =
|
13161
13191
|
| TypePrePlayerMinedEntityEventFilter
|
@@ -13262,7 +13292,7 @@ declare module "factorio:runtime" {
|
|
13262
13292
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
13263
13293
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
13264
13294
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
13265
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13295
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
13266
13296
|
*/
|
13267
13297
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
13268
13298
|
| TypeEntityDeconstructionCancelledEventFilter
|
@@ -13367,7 +13397,7 @@ declare module "factorio:runtime" {
|
|
13367
13397
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
13368
13398
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
13369
13399
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
13370
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13400
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
13371
13401
|
*/
|
13372
13402
|
export type LuaPreGhostUpgradedEventFilter =
|
13373
13403
|
| TypePreGhostUpgradedEventFilter
|
@@ -13484,7 +13514,7 @@ declare module "factorio:runtime" {
|
|
13484
13514
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
13485
13515
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
13486
13516
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
13487
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13517
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
13488
13518
|
*/
|
13489
13519
|
export type LuaPlatformBuiltEntityEventFilter =
|
13490
13520
|
| TypePlatformBuiltEntityEventFilter
|
@@ -13590,7 +13620,7 @@ declare module "factorio:runtime" {
|
|
13590
13620
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
13591
13621
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
13592
13622
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
13593
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13623
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
13594
13624
|
*/
|
13595
13625
|
export type LuaPrePlatformMinedEntityEventFilter =
|
13596
13626
|
| TypePrePlatformMinedEntityEventFilter
|
@@ -13695,7 +13725,7 @@ declare module "factorio:runtime" {
|
|
13695
13725
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
13696
13726
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
13697
13727
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
13698
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13728
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
13699
13729
|
*/
|
13700
13730
|
export type LuaEntityClonedEventFilter =
|
13701
13731
|
| TypeEntityClonedEventFilter
|
@@ -13800,7 +13830,7 @@ declare module "factorio:runtime" {
|
|
13800
13830
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
13801
13831
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
13802
13832
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
13803
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13833
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
13804
13834
|
*/
|
13805
13835
|
export type LuaPlayerRepairedEntityEventFilter =
|
13806
13836
|
| TypePlayerRepairedEntityEventFilter
|
@@ -13815,7 +13845,7 @@ declare module "factorio:runtime" {
|
|
13815
13845
|
/**
|
13816
13846
|
* The condition to filter on.
|
13817
13847
|
*/
|
13818
|
-
filter: "
|
13848
|
+
readonly filter: "type"
|
13819
13849
|
/**
|
13820
13850
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
13821
13851
|
*/
|
@@ -13835,20 +13865,14 @@ declare module "factorio:runtime" {
|
|
13835
13865
|
*/
|
13836
13866
|
readonly type: EntityType
|
13837
13867
|
}
|
13838
|
-
/**
|
13839
|
-
* Variants of {@link LuaPostEntityDiedEventFilter} with no additional attributes.
|
13840
|
-
*/
|
13841
|
-
export interface OtherPostEntityDiedEventFilter extends BasePostEntityDiedEventFilter {
|
13842
|
-
readonly filter: "ghost"
|
13843
|
-
}
|
13844
13868
|
/**
|
13845
13869
|
* Base attributes: {@link BasePostEntityDiedEventFilter}
|
13846
13870
|
*
|
13847
13871
|
* Other attributes may be specified depending on `filter`:
|
13848
13872
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
13849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13873
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
13850
13874
|
*/
|
13851
|
-
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
13875
|
+
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
13852
13876
|
/**
|
13853
13877
|
* Common attributes to all variants of {@link LuaScriptRaisedDestroySegmentedUnitEventFilter}.
|
13854
13878
|
*/
|
@@ -13882,7 +13906,7 @@ declare module "factorio:runtime" {
|
|
13882
13906
|
*
|
13883
13907
|
* Other attributes may be specified depending on `filter`:
|
13884
13908
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
13885
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13909
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
13886
13910
|
*/
|
13887
13911
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
13888
13912
|
/**
|
@@ -13989,7 +14013,7 @@ declare module "factorio:runtime" {
|
|
13989
14013
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
13990
14014
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
13991
14015
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
13992
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14016
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
13993
14017
|
*/
|
13994
14018
|
export type LuaSegmentedUnitDamagedEventFilter =
|
13995
14019
|
| NameSegmentedUnitDamagedEventFilter
|
@@ -13999,7 +14023,7 @@ declare module "factorio:runtime" {
|
|
13999
14023
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
14000
14024
|
/**
|
14001
14025
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
14002
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14026
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
14003
14027
|
*/
|
14004
14028
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
14005
14029
|
| NameSegmentedUnitDamagedEventFilter
|
@@ -14104,7 +14128,7 @@ declare module "factorio:runtime" {
|
|
14104
14128
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
14105
14129
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
14106
14130
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
14107
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14131
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
14108
14132
|
*/
|
14109
14133
|
export type LuaPreGhostDeconstructedEventFilter =
|
14110
14134
|
| TypePreGhostDeconstructedEventFilter
|
@@ -14209,7 +14233,7 @@ declare module "factorio:runtime" {
|
|
14209
14233
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
14210
14234
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
14211
14235
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
14212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14236
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
14213
14237
|
*/
|
14214
14238
|
export type LuaPlayerMinedEntityEventFilter =
|
14215
14239
|
| TypePlayerMinedEntityEventFilter
|
@@ -14314,7 +14338,7 @@ declare module "factorio:runtime" {
|
|
14314
14338
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
14315
14339
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
14316
14340
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
14317
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14341
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
14318
14342
|
*/
|
14319
14343
|
export type LuaSectorScannedEventFilter =
|
14320
14344
|
| TypeSectorScannedEventFilter
|
@@ -14419,7 +14443,7 @@ declare module "factorio:runtime" {
|
|
14419
14443
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
14420
14444
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
14421
14445
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
14422
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14446
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
14423
14447
|
*/
|
14424
14448
|
export type LuaRobotMinedEntityEventFilter =
|
14425
14449
|
| TypeRobotMinedEntityEventFilter
|
@@ -14526,7 +14550,7 @@ declare module "factorio:runtime" {
|
|
14526
14550
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
14527
14551
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
14528
14552
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
14529
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14553
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
14530
14554
|
*/
|
14531
14555
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
14532
14556
|
| TypeEntityMarkedForDeconstructionEventFilter
|
@@ -14566,7 +14590,7 @@ declare module "factorio:runtime" {
|
|
14566
14590
|
*
|
14567
14591
|
* Other attributes may be specified depending on `filter`:
|
14568
14592
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
14569
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14593
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
14570
14594
|
*/
|
14571
14595
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
14572
14596
|
/**
|
@@ -14666,7 +14690,7 @@ declare module "factorio:runtime" {
|
|
14666
14690
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
14667
14691
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
14668
14692
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
14669
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14693
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
14670
14694
|
*/
|
14671
14695
|
export type LuaScriptRaisedReviveEventFilter =
|
14672
14696
|
| TypeScriptRaisedReviveEventFilter
|
@@ -14783,7 +14807,7 @@ declare module "factorio:runtime" {
|
|
14783
14807
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
14784
14808
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
14785
14809
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
14786
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14810
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
14787
14811
|
*/
|
14788
14812
|
export type LuaPlayerBuiltEntityEventFilter =
|
14789
14813
|
| TypePlayerBuiltEntityEventFilter
|
@@ -14889,7 +14913,7 @@ declare module "factorio:runtime" {
|
|
14889
14913
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
14890
14914
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
14891
14915
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
14892
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14916
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
14893
14917
|
*/
|
14894
14918
|
export type LuaUpgradeCancelledEventFilter =
|
14895
14919
|
| TypeUpgradeCancelledEventFilter
|
@@ -15069,7 +15093,7 @@ declare module "factorio:runtime" {
|
|
15069
15093
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
15070
15094
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
15071
15095
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
15072
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15096
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
15073
15097
|
*/
|
15074
15098
|
export type LuaEntityDamagedEventFilter =
|
15075
15099
|
| TypeEntityDamagedEventFilter
|
@@ -15083,7 +15107,7 @@ declare module "factorio:runtime" {
|
|
15083
15107
|
| OtherEntityDamagedEventFilter
|
15084
15108
|
/**
|
15085
15109
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
15086
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15110
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
15087
15111
|
*/
|
15088
15112
|
export type LuaEntityDamagedEventFilterWrite =
|
15089
15113
|
| TypeEntityDamagedEventFilter
|
@@ -15204,7 +15228,7 @@ declare module "factorio:runtime" {
|
|
15204
15228
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
15205
15229
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
15206
15230
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
15207
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15231
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
15208
15232
|
*/
|
15209
15233
|
export type LuaEntityDiedEventFilter =
|
15210
15234
|
| TypeEntityDiedEventFilter
|
@@ -15310,7 +15334,7 @@ declare module "factorio:runtime" {
|
|
15310
15334
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
15311
15335
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
15312
15336
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
15313
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15337
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
15314
15338
|
*/
|
15315
15339
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
15316
15340
|
| TypeEntityMarkedForUpgradeEventFilter
|
@@ -15361,7 +15385,7 @@ declare module "factorio:runtime" {
|
|
15361
15385
|
* Other attributes may be specified depending on `filter`:
|
15362
15386
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
15363
15387
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
15364
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15388
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
15365
15389
|
*/
|
15366
15390
|
export type LuaSegmentedUnitCreatedEventFilter =
|
15367
15391
|
| NameSegmentedUnitCreatedEventFilter
|
@@ -15463,7 +15487,7 @@ declare module "factorio:runtime" {
|
|
15463
15487
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
15464
15488
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
15465
15489
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
15466
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15490
|
+
* @see {@link https://lua-api.factorio.com/2.0.64/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
15467
15491
|
*/
|
15468
15492
|
export type LuaScriptRaisedDestroyEventFilter =
|
15469
15493
|
| TypeScriptRaisedDestroyEventFilter
|