typed-factorio 3.32.0 → 3.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +2226 -2226
- package/prototype/generated/types.d.ts +2166 -2166
- package/runtime/generated/classes.d.ts +4160 -4141
- package/runtime/generated/concepts.d.ts +560 -424
- package/runtime/generated/defines.d.ts +216 -216
- package/runtime/generated/events.d.ts +219 -219
- 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.72/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.72/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.72/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.72/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.72/concepts/SpritePath.html > The supported types are:}
|
|
107
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/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.72/concepts/RenderLayer.html Online documentation}
|
|
372
372
|
*/
|
|
373
373
|
export type RenderLayer =
|
|
374
374
|
| `${bigint}`
|
|
@@ -451,7 +451,7 @@ declare module "factorio:runtime" {
|
|
|
451
451
|
}
|
|
452
452
|
/**
|
|
453
453
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
|
454
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
454
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapViewSettings.html Online documentation}
|
|
455
455
|
*/
|
|
456
456
|
export interface MapViewSettings {
|
|
457
457
|
readonly "show-logistic-network"?: boolean
|
|
@@ -481,7 +481,7 @@ declare module "factorio:runtime" {
|
|
|
481
481
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
|
482
482
|
* - `"spidertron-remote-selected"`
|
|
483
483
|
* - `"spidertron-remote-to-be-selected"`
|
|
484
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
484
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CursorBoxRenderType.html Online documentation}
|
|
485
485
|
*/
|
|
486
486
|
export type CursorBoxRenderType =
|
|
487
487
|
| "entity"
|
|
@@ -508,7 +508,7 @@ declare module "factorio:runtime" {
|
|
|
508
508
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
|
509
509
|
* @example
|
|
510
510
|
* "is_lower_object"
|
|
511
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
511
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CollisionLayerID.html Online documentation}
|
|
512
512
|
*/
|
|
513
513
|
export type CollisionLayerID = string
|
|
514
514
|
/**
|
|
@@ -520,7 +520,7 @@ declare module "factorio:runtime" {
|
|
|
520
520
|
* - `"always"`
|
|
521
521
|
* - `"auto"`
|
|
522
522
|
* - `"auto-and-reserve-space"`
|
|
523
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
523
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScrollPolicy.html Online documentation}
|
|
524
524
|
*/
|
|
525
525
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
|
526
526
|
/**
|
|
@@ -538,7 +538,7 @@ declare module "factorio:runtime" {
|
|
|
538
538
|
* - `"button-7"`
|
|
539
539
|
* - `"button-8"`
|
|
540
540
|
* - `"button-9"`
|
|
541
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
541
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MouseButtonFlags.html Online documentation}
|
|
542
542
|
*/
|
|
543
543
|
export interface MouseButtonFlags {
|
|
544
544
|
readonly left?: true
|
|
@@ -559,7 +559,7 @@ declare module "factorio:runtime" {
|
|
|
559
559
|
* - `"left"`
|
|
560
560
|
* - `"right"`
|
|
561
561
|
* - `"none"`
|
|
562
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
562
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SwitchState.html Online documentation}
|
|
563
563
|
*/
|
|
564
564
|
export type SwitchState = "left" | "right" | "none"
|
|
565
565
|
/**
|
|
@@ -589,7 +589,7 @@ declare module "factorio:runtime" {
|
|
|
589
589
|
* - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
|
|
590
590
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
|
591
591
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
|
592
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
592
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/GuiElementType.html Online documentation}
|
|
593
593
|
*/
|
|
594
594
|
export type GuiElementType =
|
|
595
595
|
| "button"
|
|
@@ -652,7 +652,7 @@ declare module "factorio:runtime" {
|
|
|
652
652
|
* - `"entity-with-quality"`
|
|
653
653
|
* - `"recipe-with-quality"`
|
|
654
654
|
* - `"equipment-with-quality"`
|
|
655
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
655
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ElemType.html Online documentation}
|
|
656
656
|
*/
|
|
657
657
|
export type ElemType =
|
|
658
658
|
| "achievement"
|
|
@@ -692,13 +692,13 @@ declare module "factorio:runtime" {
|
|
|
692
692
|
* @see VectorTable
|
|
693
693
|
* @example
|
|
694
694
|
* right = {1.0, 0.0}
|
|
695
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
695
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Vector.html Online documentation}
|
|
696
696
|
*/
|
|
697
697
|
export type Vector = readonly [float, float]
|
|
698
698
|
/**
|
|
699
699
|
* Table form of {@link Vector}.
|
|
700
700
|
* @see Vector
|
|
701
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
701
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Vector.html Online documentation}
|
|
702
702
|
*/
|
|
703
703
|
export interface VectorTable {
|
|
704
704
|
readonly x: float
|
|
@@ -707,7 +707,7 @@ declare module "factorio:runtime" {
|
|
|
707
707
|
/**
|
|
708
708
|
* Coordinates of a chunk in a {@link LuaSurface} where each integer `x`/`y` represents a different chunk. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys. A {@link MapPosition} can be translated to a ChunkPosition by dividing the `x`/`y` values by 32.
|
|
709
709
|
* @see ChunkPositionArray
|
|
710
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
710
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ChunkPosition.html Online documentation}
|
|
711
711
|
*/
|
|
712
712
|
export interface ChunkPosition {
|
|
713
713
|
readonly x: int32
|
|
@@ -716,7 +716,7 @@ declare module "factorio:runtime" {
|
|
|
716
716
|
/**
|
|
717
717
|
* Array form of {@link ChunkPosition}.
|
|
718
718
|
* @see ChunkPosition
|
|
719
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
719
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ChunkPosition.html Online documentation}
|
|
720
720
|
*/
|
|
721
721
|
export type ChunkPositionArray = readonly [int32, int32]
|
|
722
722
|
export interface ItemStackLocation {
|
|
@@ -740,7 +740,7 @@ declare module "factorio:runtime" {
|
|
|
740
740
|
/**
|
|
741
741
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
|
742
742
|
* @see ItemFilterWrite
|
|
743
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
743
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemFilter.html Online documentation}
|
|
744
744
|
*/
|
|
745
745
|
export type ItemFilter =
|
|
746
746
|
| {
|
|
@@ -760,7 +760,7 @@ declare module "factorio:runtime" {
|
|
|
760
760
|
| string
|
|
761
761
|
/**
|
|
762
762
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
763
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
763
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemFilter.html Online documentation}
|
|
764
764
|
*/
|
|
765
765
|
export type ItemFilterWrite =
|
|
766
766
|
| {
|
|
@@ -1016,7 +1016,7 @@ declare module "factorio:runtime" {
|
|
|
1016
1016
|
* - {@link defines.command.stop}: {@link StopCommand}
|
|
1017
1017
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
|
1018
1018
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
|
1019
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1019
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Command.html Online documentation}
|
|
1020
1020
|
*/
|
|
1021
1021
|
export type Command =
|
|
1022
1022
|
| AttackCommand
|
|
@@ -1030,7 +1030,7 @@ declare module "factorio:runtime" {
|
|
|
1030
1030
|
| BuildBaseCommand
|
|
1031
1031
|
/**
|
|
1032
1032
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
|
1033
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1033
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Command.html Online documentation}
|
|
1034
1034
|
*/
|
|
1035
1035
|
export type CommandWrite =
|
|
1036
1036
|
| AttackCommand
|
|
@@ -1107,7 +1107,7 @@ declare module "factorio:runtime" {
|
|
|
1107
1107
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
|
1108
1108
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
|
1109
1109
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
|
1110
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1110
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/GuiArrowSpecification.html Online documentation}
|
|
1111
1111
|
*/
|
|
1112
1112
|
export type GuiArrowSpecification =
|
|
1113
1113
|
| EntityGuiArrowSpecification
|
|
@@ -1127,7 +1127,7 @@ declare module "factorio:runtime" {
|
|
|
1127
1127
|
* - `"position"`
|
|
1128
1128
|
* - `"crafting_queue"`
|
|
1129
1129
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
|
1130
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1130
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/GuiArrowType.html Online documentation}
|
|
1131
1131
|
*/
|
|
1132
1132
|
export type GuiArrowType =
|
|
1133
1133
|
| "nowhere"
|
|
@@ -1143,7 +1143,7 @@ declare module "factorio:runtime" {
|
|
|
1143
1143
|
*
|
|
1144
1144
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
|
1145
1145
|
* @see Vector3DArray
|
|
1146
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1146
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Vector3D.html Online documentation}
|
|
1147
1147
|
*/
|
|
1148
1148
|
export interface Vector3D {
|
|
1149
1149
|
readonly x: float
|
|
@@ -1153,7 +1153,7 @@ declare module "factorio:runtime" {
|
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Array form of {@link Vector3D}.
|
|
1155
1155
|
* @see Vector3D
|
|
1156
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1156
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Vector3D.html Online documentation}
|
|
1157
1157
|
*/
|
|
1158
1158
|
export type Vector3DArray = readonly [float, float, float]
|
|
1159
1159
|
export interface RidingState {
|
|
@@ -1187,7 +1187,7 @@ declare module "factorio:runtime" {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
/**
|
|
1189
1189
|
* @see TrainScheduleWrite
|
|
1190
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1190
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrainSchedule.html Online documentation}
|
|
1191
1191
|
*/
|
|
1192
1192
|
export interface TrainSchedule {
|
|
1193
1193
|
/**
|
|
@@ -1198,7 +1198,7 @@ declare module "factorio:runtime" {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1201
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1201
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrainSchedule.html Online documentation}
|
|
1202
1202
|
*/
|
|
1203
1203
|
export interface TrainScheduleWrite {
|
|
1204
1204
|
/**
|
|
@@ -1209,7 +1209,7 @@ declare module "factorio:runtime" {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
/**
|
|
1211
1211
|
* @see PlatformScheduleWrite
|
|
1212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1212
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PlatformSchedule.html Online documentation}
|
|
1213
1213
|
*/
|
|
1214
1214
|
export interface PlatformSchedule {
|
|
1215
1215
|
/**
|
|
@@ -1220,7 +1220,7 @@ declare module "factorio:runtime" {
|
|
|
1220
1220
|
}
|
|
1221
1221
|
/**
|
|
1222
1222
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1223
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PlatformSchedule.html Online documentation}
|
|
1224
1224
|
*/
|
|
1225
1225
|
export interface PlatformScheduleWrite {
|
|
1226
1226
|
/**
|
|
@@ -1245,7 +1245,7 @@ declare module "factorio:runtime" {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
/**
|
|
1247
1247
|
* A recipe prototype with optional quality specification.
|
|
1248
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1248
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
|
1249
1249
|
*/
|
|
1250
1250
|
export interface RecipeIDAndQualityIDPair {
|
|
1251
1251
|
/**
|
|
@@ -1289,7 +1289,7 @@ declare module "factorio:runtime" {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
/**
|
|
1291
1291
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1292
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1292
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SegmentEngineSpecification.html Online documentation}
|
|
1293
1293
|
*/
|
|
1294
1294
|
export interface SegmentEngineSpecification {
|
|
1295
1295
|
/**
|
|
@@ -1303,7 +1303,7 @@ declare module "factorio:runtime" {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
/**
|
|
1305
1305
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1306
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1306
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SegmentSpecification.html Online documentation}
|
|
1307
1307
|
*/
|
|
1308
1308
|
export interface SegmentSpecification {
|
|
1309
1309
|
/**
|
|
@@ -1317,7 +1317,7 @@ declare module "factorio:runtime" {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
/**
|
|
1319
1319
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1320
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1320
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TileBuildabilityRule.html Online documentation}
|
|
1321
1321
|
*/
|
|
1322
1322
|
export interface TileBuildabilityRule {
|
|
1323
1323
|
/**
|
|
@@ -1356,7 +1356,7 @@ declare module "factorio:runtime" {
|
|
|
1356
1356
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1357
1357
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1358
1358
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1359
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1359
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ForceID.html Online documentation}
|
|
1360
1360
|
*/
|
|
1361
1361
|
export type ForceID = string | uint8 | LuaForce
|
|
1362
1362
|
/**
|
|
@@ -1366,7 +1366,7 @@ declare module "factorio:runtime" {
|
|
|
1366
1366
|
* - `string`: The fluid name.
|
|
1367
1367
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1368
1368
|
* - {@link Fluid}: The fluid.
|
|
1369
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1369
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FluidID.html Online documentation}
|
|
1370
1370
|
*/
|
|
1371
1371
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1372
1372
|
/**
|
|
@@ -1377,12 +1377,12 @@ declare module "factorio:runtime" {
|
|
|
1377
1377
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1378
1378
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1379
1379
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1380
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1380
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityWithQualityID.html Online documentation}
|
|
1381
1381
|
*/
|
|
1382
1382
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1383
1383
|
/**
|
|
1384
1384
|
* An entity prototype with optional quality specification.
|
|
1385
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1385
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
|
1386
1386
|
*/
|
|
1387
1387
|
export interface EntityIDAndQualityIDPair {
|
|
1388
1388
|
/**
|
|
@@ -1402,13 +1402,13 @@ declare module "factorio:runtime" {
|
|
|
1402
1402
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
1403
1403
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1404
1404
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
1405
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1405
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemWithQualityID.html Online documentation}
|
|
1406
1406
|
*/
|
|
1407
1407
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
1408
1408
|
/**
|
|
1409
1409
|
* An item prototype with optional quality specification.
|
|
1410
1410
|
* @see ItemIDAndQualityIDPairWrite
|
|
1411
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1411
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1412
1412
|
*/
|
|
1413
1413
|
export interface ItemIDAndQualityIDPair {
|
|
1414
1414
|
/**
|
|
@@ -1422,7 +1422,7 @@ declare module "factorio:runtime" {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
1425
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1425
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1426
1426
|
*/
|
|
1427
1427
|
export interface ItemIDAndQualityIDPairWrite {
|
|
1428
1428
|
/**
|
|
@@ -1442,7 +1442,7 @@ declare module "factorio:runtime" {
|
|
|
1442
1442
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
1443
1443
|
* - {@link LuaItem}: The item.
|
|
1444
1444
|
* - `string`: The prototype name.
|
|
1445
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1445
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemID.html Online documentation}
|
|
1446
1446
|
*/
|
|
1447
1447
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
1448
1448
|
/**
|
|
@@ -1452,7 +1452,7 @@ declare module "factorio:runtime" {
|
|
|
1452
1452
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
1453
1453
|
* - {@link LuaEntity}: The entity.
|
|
1454
1454
|
* - `string`: The prototype name.
|
|
1455
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1455
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityID.html Online documentation}
|
|
1456
1456
|
*/
|
|
1457
1457
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
1458
1458
|
/**
|
|
@@ -1462,7 +1462,7 @@ declare module "factorio:runtime" {
|
|
|
1462
1462
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
1463
1463
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
1464
1464
|
* - `string`: The prototype name.
|
|
1465
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1465
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TechnologyID.html Online documentation}
|
|
1466
1466
|
*/
|
|
1467
1467
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
1468
1468
|
/**
|
|
@@ -1471,7 +1471,7 @@ declare module "factorio:runtime" {
|
|
|
1471
1471
|
* ## Union members
|
|
1472
1472
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
1473
1473
|
* - `string`: The prototype name.
|
|
1474
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1474
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ParticleID.html Online documentation}
|
|
1475
1475
|
*/
|
|
1476
1476
|
export type ParticleID = LuaParticlePrototype | string
|
|
1477
1477
|
/**
|
|
@@ -1480,7 +1480,7 @@ declare module "factorio:runtime" {
|
|
|
1480
1480
|
* ## Union members
|
|
1481
1481
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
1482
1482
|
* - `string`: The prototype name.
|
|
1483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1483
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DamageTypeID.html Online documentation}
|
|
1484
1484
|
*/
|
|
1485
1485
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
1486
1486
|
/**
|
|
@@ -1489,7 +1489,7 @@ declare module "factorio:runtime" {
|
|
|
1489
1489
|
* ## Union members
|
|
1490
1490
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
1491
1491
|
* - `string`: The prototype name.
|
|
1492
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1492
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrivialSmokeID.html Online documentation}
|
|
1493
1493
|
*/
|
|
1494
1494
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
1495
1495
|
/**
|
|
@@ -1501,7 +1501,7 @@ declare module "factorio:runtime" {
|
|
|
1501
1501
|
* - `"left"`
|
|
1502
1502
|
* - `"right"`
|
|
1503
1503
|
* - `"center"`
|
|
1504
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1504
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TextAlign.html Online documentation}
|
|
1505
1505
|
*/
|
|
1506
1506
|
export type TextAlign = "left" | "right" | "center"
|
|
1507
1507
|
/**
|
|
@@ -1514,7 +1514,7 @@ declare module "factorio:runtime" {
|
|
|
1514
1514
|
* - `"middle"`
|
|
1515
1515
|
* - `"baseline"`
|
|
1516
1516
|
* - `"bottom"`
|
|
1517
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1517
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/VerticalTextAlign.html Online documentation}
|
|
1518
1518
|
*/
|
|
1519
1519
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
1520
1520
|
/**
|
|
@@ -1523,7 +1523,7 @@ declare module "factorio:runtime" {
|
|
|
1523
1523
|
* ## Union members
|
|
1524
1524
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
1525
1525
|
* - `string`: The prototype name.
|
|
1526
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1526
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/QualityID.html Online documentation}
|
|
1527
1527
|
*/
|
|
1528
1528
|
export type QualityID = LuaQualityPrototype | string
|
|
1529
1529
|
/**
|
|
@@ -1532,7 +1532,7 @@ declare module "factorio:runtime" {
|
|
|
1532
1532
|
* ## Union members
|
|
1533
1533
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
1534
1534
|
* - `string`: By name of the recipe category prototype.
|
|
1535
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1535
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RecipeCategoryID.html Online documentation}
|
|
1536
1536
|
*/
|
|
1537
1537
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
1538
1538
|
/**
|
|
@@ -1542,7 +1542,7 @@ declare module "factorio:runtime" {
|
|
|
1542
1542
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
1543
1543
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
1544
1544
|
* - `string`: By name of the recipe prototype.
|
|
1545
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1545
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RecipeID.html Online documentation}
|
|
1546
1546
|
*/
|
|
1547
1547
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
1548
1548
|
/**
|
|
@@ -1552,7 +1552,7 @@ declare module "factorio:runtime" {
|
|
|
1552
1552
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
1553
1553
|
* - {@link LuaTile}: By instance of tile.
|
|
1554
1554
|
* - `string`: By name of the tile prototype.
|
|
1555
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1555
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TileID.html Online documentation}
|
|
1556
1556
|
*/
|
|
1557
1557
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
1558
1558
|
export interface Fluid {
|
|
@@ -1576,7 +1576,7 @@ declare module "factorio:runtime" {
|
|
|
1576
1576
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
1577
1577
|
* - {@link LuaEquipment}: The equipment.
|
|
1578
1578
|
* - `string`: The prototype name.
|
|
1579
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1579
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentID.html Online documentation}
|
|
1580
1580
|
*/
|
|
1581
1581
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
1582
1582
|
/**
|
|
@@ -1588,12 +1588,12 @@ declare module "factorio:runtime" {
|
|
|
1588
1588
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1589
1589
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
1590
1590
|
* @see EquipmentWithQualityIDWrite
|
|
1591
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1591
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentWithQualityID.html Online documentation}
|
|
1592
1592
|
*/
|
|
1593
1593
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
|
1596
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1596
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentWithQualityID.html Online documentation}
|
|
1597
1597
|
*/
|
|
1598
1598
|
export type EquipmentWithQualityIDWrite =
|
|
1599
1599
|
| LuaEquipmentPrototype
|
|
@@ -1603,7 +1603,7 @@ declare module "factorio:runtime" {
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* An equipment prototype with optional quality specification.
|
|
1605
1605
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
1606
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1606
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
1607
1607
|
*/
|
|
1608
1608
|
export interface EquipmentIDAndQualityIDPair {
|
|
1609
1609
|
/**
|
|
@@ -1617,7 +1617,7 @@ declare module "factorio:runtime" {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
/**
|
|
1619
1619
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
1620
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1620
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
1621
1621
|
*/
|
|
1622
1622
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
1623
1623
|
/**
|
|
@@ -1664,7 +1664,7 @@ declare module "factorio:runtime" {
|
|
|
1664
1664
|
* @example
|
|
1665
1665
|
* -- Shorthand
|
|
1666
1666
|
* {{-2, -3}, {5, 8}}
|
|
1667
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1667
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BoundingBox.html Online documentation}
|
|
1668
1668
|
*/
|
|
1669
1669
|
export interface BoundingBox {
|
|
1670
1670
|
readonly left_top: MapPosition
|
|
@@ -1674,7 +1674,7 @@ declare module "factorio:runtime" {
|
|
|
1674
1674
|
/**
|
|
1675
1675
|
* Array form of {@link BoundingBox}.
|
|
1676
1676
|
* @see BoundingBox
|
|
1677
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1677
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BoundingBox.html Online documentation}
|
|
1678
1678
|
*/
|
|
1679
1679
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
1680
1680
|
export interface BoundingBoxWrite {
|
|
@@ -1707,7 +1707,7 @@ declare module "factorio:runtime" {
|
|
|
1707
1707
|
* - 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.
|
|
1708
1708
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
1709
1709
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
1710
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1710
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SurfaceIdentification.html Online documentation}
|
|
1711
1711
|
*/
|
|
1712
1712
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
1713
1713
|
/**
|
|
@@ -1717,7 +1717,7 @@ declare module "factorio:runtime" {
|
|
|
1717
1717
|
* - PlayerIndex: The player index.
|
|
1718
1718
|
* - `string`: The player name.
|
|
1719
1719
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
1720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1720
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PlayerIdentification.html Online documentation}
|
|
1721
1721
|
*/
|
|
1722
1722
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
1723
1723
|
/**
|
|
@@ -1727,12 +1727,12 @@ declare module "factorio:runtime" {
|
|
|
1727
1727
|
* - {@link LuaForce}[]: Array of many forces.
|
|
1728
1728
|
* - {@link LuaForce}: A single force.
|
|
1729
1729
|
* @see ForceSetWrite
|
|
1730
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1730
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ForceSet.html Online documentation}
|
|
1731
1731
|
*/
|
|
1732
1732
|
export type ForceSet = LuaForce[] | LuaForce
|
|
1733
1733
|
/**
|
|
1734
1734
|
* Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
|
|
1735
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1735
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ForceSet.html Online documentation}
|
|
1736
1736
|
*/
|
|
1737
1737
|
export type ForceSetWrite = readonly ForceID[] | ForceID
|
|
1738
1738
|
/**
|
|
@@ -1741,7 +1741,7 @@ declare module "factorio:runtime" {
|
|
|
1741
1741
|
* ## Union members
|
|
1742
1742
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
1743
1743
|
* - `string`: The prototype name.
|
|
1744
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1744
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DecorativeID.html Online documentation}
|
|
1745
1745
|
*/
|
|
1746
1746
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
1747
1747
|
/**
|
|
@@ -1750,7 +1750,7 @@ declare module "factorio:runtime" {
|
|
|
1750
1750
|
* ## Union members
|
|
1751
1751
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
1752
1752
|
* - `string`: The prototype name.
|
|
1753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1753
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AsteroidChunkID.html Online documentation}
|
|
1754
1754
|
*/
|
|
1755
1755
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
1756
1756
|
/**
|
|
@@ -1759,7 +1759,7 @@ declare module "factorio:runtime" {
|
|
|
1759
1759
|
* ## Union members
|
|
1760
1760
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
1761
1761
|
* - `string`: The prototype name.
|
|
1762
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1762
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SpaceLocationID.html Online documentation}
|
|
1763
1763
|
*/
|
|
1764
1764
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
1765
1765
|
/**
|
|
@@ -1767,7 +1767,7 @@ declare module "factorio:runtime" {
|
|
|
1767
1767
|
*
|
|
1768
1768
|
* When the LogisticFilter that this is used in has a non-zero `min` value then `comparator` must be `"="` (the default when writing) and `quality` is mandatory.
|
|
1769
1769
|
* @see SignalFilterWrite
|
|
1770
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1770
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SignalFilter.html Online documentation}
|
|
1771
1771
|
*/
|
|
1772
1772
|
export type SignalFilter =
|
|
1773
1773
|
| {
|
|
@@ -1791,7 +1791,7 @@ declare module "factorio:runtime" {
|
|
|
1791
1791
|
| string
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
|
1794
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1794
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SignalFilter.html Online documentation}
|
|
1795
1795
|
*/
|
|
1796
1796
|
export type SignalFilterWrite =
|
|
1797
1797
|
| {
|
|
@@ -1815,7 +1815,7 @@ declare module "factorio:runtime" {
|
|
|
1815
1815
|
| string
|
|
1816
1816
|
/**
|
|
1817
1817
|
* @see LogisticFilterWrite
|
|
1818
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1818
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticFilter.html Online documentation}
|
|
1819
1819
|
*/
|
|
1820
1820
|
export interface LogisticFilter {
|
|
1821
1821
|
/**
|
|
@@ -1841,7 +1841,7 @@ declare module "factorio:runtime" {
|
|
|
1841
1841
|
}
|
|
1842
1842
|
/**
|
|
1843
1843
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
1844
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1844
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticFilter.html Online documentation}
|
|
1845
1845
|
*/
|
|
1846
1846
|
export interface LogisticFilterWrite {
|
|
1847
1847
|
/**
|
|
@@ -1904,23 +1904,23 @@ declare module "factorio:runtime" {
|
|
|
1904
1904
|
* ## Union members
|
|
1905
1905
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
1906
1906
|
* - `string`: The prototype name.
|
|
1907
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1907
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SurfacePropertyID.html Online documentation}
|
|
1908
1908
|
*/
|
|
1909
1909
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
1910
1910
|
/**
|
|
1911
1911
|
* When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
|
|
1912
1912
|
* @see ScriptRenderTargetWrite
|
|
1913
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1913
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptRenderTarget.html Online documentation}
|
|
1914
1914
|
*/
|
|
1915
1915
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
1916
1916
|
/**
|
|
1917
1917
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
|
1918
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1918
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptRenderTarget.html Online documentation}
|
|
1919
1919
|
*/
|
|
1920
1920
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
1921
1921
|
/**
|
|
1922
1922
|
* @see ScriptRenderTargetTableWrite
|
|
1923
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1923
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
1924
1924
|
*/
|
|
1925
1925
|
export interface ScriptRenderTargetTable {
|
|
1926
1926
|
readonly entity?: LuaEntity
|
|
@@ -1935,7 +1935,7 @@ declare module "factorio:runtime" {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
|
1938
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1938
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
1939
1939
|
*/
|
|
1940
1940
|
export interface ScriptRenderTargetTableWrite {
|
|
1941
1941
|
readonly entity?: LuaEntity
|
|
@@ -1967,13 +1967,13 @@ declare module "factorio:runtime" {
|
|
|
1967
1967
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
1968
1968
|
* "iron-plate"
|
|
1969
1969
|
* {name="iron-plate", count=100}
|
|
1970
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1970
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemStackIdentification.html Online documentation}
|
|
1971
1971
|
*/
|
|
1972
1972
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
1973
1973
|
/**
|
|
1974
1974
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
1975
1975
|
* @see QualityConditionWrite
|
|
1976
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1976
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/QualityCondition.html Online documentation}
|
|
1977
1977
|
*/
|
|
1978
1978
|
export type QualityCondition =
|
|
1979
1979
|
| {
|
|
@@ -1989,7 +1989,7 @@ declare module "factorio:runtime" {
|
|
|
1989
1989
|
| string
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
|
1992
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1992
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/QualityCondition.html Online documentation}
|
|
1993
1993
|
*/
|
|
1994
1994
|
export type QualityConditionWrite =
|
|
1995
1995
|
| {
|
|
@@ -2006,7 +2006,7 @@ declare module "factorio:runtime" {
|
|
|
2006
2006
|
/**
|
|
2007
2007
|
* The destination of a cargo pod.
|
|
2008
2008
|
* @see CargoDestinationWrite
|
|
2009
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2009
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CargoDestination.html Online documentation}
|
|
2010
2010
|
*/
|
|
2011
2011
|
export interface CargoDestination {
|
|
2012
2012
|
/**
|
|
@@ -2044,7 +2044,7 @@ declare module "factorio:runtime" {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
/**
|
|
2046
2046
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
|
2047
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2047
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CargoDestination.html Online documentation}
|
|
2048
2048
|
*/
|
|
2049
2049
|
export interface CargoDestinationWrite {
|
|
2050
2050
|
/**
|
|
@@ -2098,7 +2098,7 @@ declare module "factorio:runtime" {
|
|
|
2098
2098
|
* furthest = { zoom = 1 / 16 },
|
|
2099
2099
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2100
2100
|
* }
|
|
2101
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2101
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ZoomLimits.html Online documentation}
|
|
2102
2102
|
*/
|
|
2103
2103
|
export interface ZoomLimits {
|
|
2104
2104
|
/**
|
|
@@ -2128,7 +2128,7 @@ declare module "factorio:runtime" {
|
|
|
2128
2128
|
*
|
|
2129
2129
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2130
2130
|
* { distance = 200, max_distance = 500 }
|
|
2131
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2131
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ZoomSpecification.html Online documentation}
|
|
2132
2132
|
*/
|
|
2133
2133
|
export interface ZoomSpecification {
|
|
2134
2134
|
/**
|
|
@@ -2148,7 +2148,7 @@ declare module "factorio:runtime" {
|
|
|
2148
2148
|
* ## Union members
|
|
2149
2149
|
* - `"game"`
|
|
2150
2150
|
* - `"chart"`
|
|
2151
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2151
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptRenderMode.html Online documentation}
|
|
2152
2152
|
*/
|
|
2153
2153
|
export type ScriptRenderMode = "game" | "chart"
|
|
2154
2154
|
/**
|
|
@@ -2159,13 +2159,13 @@ declare module "factorio:runtime" {
|
|
|
2159
2159
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2160
2160
|
* - {@link defines.events}: Event identifier.
|
|
2161
2161
|
* - `string`: Name of the event.
|
|
2162
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2162
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEventType.html Online documentation}
|
|
2163
2163
|
*/
|
|
2164
2164
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2165
2165
|
/**
|
|
2166
2166
|
* 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.
|
|
2167
2167
|
* @see TilePositionArray
|
|
2168
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2168
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TilePosition.html Online documentation}
|
|
2169
2169
|
*/
|
|
2170
2170
|
export interface TilePosition {
|
|
2171
2171
|
readonly x: int32
|
|
@@ -2174,14 +2174,14 @@ declare module "factorio:runtime" {
|
|
|
2174
2174
|
/**
|
|
2175
2175
|
* Array form of {@link TilePosition}.
|
|
2176
2176
|
* @see TilePosition
|
|
2177
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2177
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TilePosition.html Online documentation}
|
|
2178
2178
|
*/
|
|
2179
2179
|
export type TilePositionArray = readonly [int32, int32]
|
|
2180
2180
|
/**
|
|
2181
2181
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
|
2182
2182
|
*
|
|
2183
2183
|
* 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".
|
|
2184
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2184
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RealOrientation.html Online documentation}
|
|
2185
2185
|
*/
|
|
2186
2186
|
export type RealOrientation = float
|
|
2187
2187
|
export interface MapLocation {
|
|
@@ -2217,7 +2217,7 @@ declare module "factorio:runtime" {
|
|
|
2217
2217
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
|
2218
2218
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
|
2219
2219
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
|
2220
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2220
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LocalisedString.html Online documentation}
|
|
2221
2221
|
*/
|
|
2222
2222
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
|
2223
2223
|
/**
|
|
@@ -2232,7 +2232,7 @@ declare module "factorio:runtime" {
|
|
|
2232
2232
|
* @example
|
|
2233
2233
|
* -- Shorthand
|
|
2234
2234
|
* {1.625, 2.375}
|
|
2235
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2235
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapPosition.html Online documentation}
|
|
2236
2236
|
*/
|
|
2237
2237
|
export interface MapPosition {
|
|
2238
2238
|
readonly x: double
|
|
@@ -2241,7 +2241,7 @@ declare module "factorio:runtime" {
|
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Array form of {@link MapPosition}.
|
|
2243
2243
|
* @see MapPosition
|
|
2244
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2244
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapPosition.html Online documentation}
|
|
2245
2245
|
*/
|
|
2246
2246
|
export type MapPositionArray = readonly [double, double]
|
|
2247
2247
|
/**
|
|
@@ -2254,7 +2254,7 @@ declare module "factorio:runtime" {
|
|
|
2254
2254
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
2255
2255
|
* black = {} -- All channels omitted: black
|
|
2256
2256
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
|
2257
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2257
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Color.html Online documentation}
|
|
2258
2258
|
*/
|
|
2259
2259
|
export interface Color {
|
|
2260
2260
|
readonly r?: float
|
|
@@ -2265,7 +2265,7 @@ declare module "factorio:runtime" {
|
|
|
2265
2265
|
/**
|
|
2266
2266
|
* Array form of {@link Color}.
|
|
2267
2267
|
* @see Color
|
|
2268
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2268
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Color.html Online documentation}
|
|
2269
2269
|
*/
|
|
2270
2270
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
2271
2271
|
/**
|
|
@@ -2273,12 +2273,12 @@ declare module "factorio:runtime" {
|
|
|
2273
2273
|
* - `"center-to-center"`
|
|
2274
2274
|
* - `"bounding-box-to-bounding-box"`
|
|
2275
2275
|
* - `"center-to-bounding-box"`
|
|
2276
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2276
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RangeMode.html Online documentation}
|
|
2277
2277
|
*/
|
|
2278
2278
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
2279
2279
|
/**
|
|
2280
2280
|
* @see PowerSwitchBlueprintControlBehaviorWrite
|
|
2281
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2281
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
|
2282
2282
|
*/
|
|
2283
2283
|
export interface PowerSwitchBlueprintControlBehavior {
|
|
2284
2284
|
/**
|
|
@@ -2294,7 +2294,7 @@ declare module "factorio:runtime" {
|
|
|
2294
2294
|
}
|
|
2295
2295
|
/**
|
|
2296
2296
|
* Write form of {@link PowerSwitchBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
2297
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2297
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
|
2298
2298
|
*/
|
|
2299
2299
|
export interface PowerSwitchBlueprintControlBehaviorWrite {
|
|
2300
2300
|
/**
|
|
@@ -2420,7 +2420,7 @@ declare module "factorio:runtime" {
|
|
|
2420
2420
|
* `"ammo-turret"` variant of {@link BlueprintEntity}.
|
|
2421
2421
|
*/
|
|
2422
2422
|
export interface AmmoTurretBlueprintEntity extends BaseBlueprintEntity {
|
|
2423
|
-
readonly "priority-list"?: SlotFilter
|
|
2423
|
+
readonly "priority-list"?: SlotFilter[]
|
|
2424
2424
|
/**
|
|
2425
2425
|
* Defaults to `false`.
|
|
2426
2426
|
*/
|
|
@@ -2428,7 +2428,7 @@ declare module "factorio:runtime" {
|
|
|
2428
2428
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
|
2429
2429
|
}
|
|
2430
2430
|
export interface AmmoTurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2431
|
-
readonly "priority-list"?: SlotFilter
|
|
2431
|
+
readonly "priority-list"?: SlotFilter[]
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Defaults to `false`.
|
|
2434
2434
|
*/
|
|
@@ -2645,7 +2645,7 @@ declare module "factorio:runtime" {
|
|
|
2645
2645
|
* `"electric-turret"` variant of {@link BlueprintEntity}.
|
|
2646
2646
|
*/
|
|
2647
2647
|
export interface ElectricTurretBlueprintEntity extends BaseBlueprintEntity {
|
|
2648
|
-
readonly "priority-list"?: SlotFilter
|
|
2648
|
+
readonly "priority-list"?: SlotFilter[]
|
|
2649
2649
|
/**
|
|
2650
2650
|
* Defaults to `false`.
|
|
2651
2651
|
*/
|
|
@@ -2653,7 +2653,7 @@ declare module "factorio:runtime" {
|
|
|
2653
2653
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
|
2654
2654
|
}
|
|
2655
2655
|
export interface ElectricTurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2656
|
-
readonly "priority-list"?: SlotFilter
|
|
2656
|
+
readonly "priority-list"?: SlotFilter[]
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Defaults to `false`.
|
|
2659
2659
|
*/
|
|
@@ -2664,7 +2664,7 @@ declare module "factorio:runtime" {
|
|
|
2664
2664
|
* `"fluid-turret"` variant of {@link BlueprintEntity}.
|
|
2665
2665
|
*/
|
|
2666
2666
|
export interface FluidTurretBlueprintEntity extends BaseBlueprintEntity {
|
|
2667
|
-
readonly "priority-list"?: SlotFilter
|
|
2667
|
+
readonly "priority-list"?: SlotFilter[]
|
|
2668
2668
|
/**
|
|
2669
2669
|
* Defaults to `false`.
|
|
2670
2670
|
*/
|
|
@@ -2672,7 +2672,7 @@ declare module "factorio:runtime" {
|
|
|
2672
2672
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
|
2673
2673
|
}
|
|
2674
2674
|
export interface FluidTurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2675
|
-
readonly "priority-list"?: SlotFilter
|
|
2675
|
+
readonly "priority-list"?: SlotFilter[]
|
|
2676
2676
|
/**
|
|
2677
2677
|
* Defaults to `false`.
|
|
2678
2678
|
*/
|
|
@@ -2812,6 +2812,7 @@ declare module "factorio:runtime" {
|
|
|
2812
2812
|
* Defaults to `false`.
|
|
2813
2813
|
*/
|
|
2814
2814
|
readonly always_on?: boolean
|
|
2815
|
+
readonly control_behavior?: LampBlueprintControlBehavior
|
|
2815
2816
|
}
|
|
2816
2817
|
export interface LampBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2817
2818
|
readonly color?: Color | ColorArray
|
|
@@ -2819,6 +2820,7 @@ declare module "factorio:runtime" {
|
|
|
2819
2820
|
* Defaults to `false`.
|
|
2820
2821
|
*/
|
|
2821
2822
|
readonly always_on?: boolean
|
|
2823
|
+
readonly control_behavior?: LampBlueprintControlBehaviorWrite
|
|
2822
2824
|
}
|
|
2823
2825
|
/**
|
|
2824
2826
|
* `"lane-splitter"` variant of {@link BlueprintEntity}.
|
|
@@ -2857,6 +2859,7 @@ declare module "factorio:runtime" {
|
|
|
2857
2859
|
readonly filter_mode?: PrototypeFilterMode
|
|
2858
2860
|
readonly type: BeltConnectionType
|
|
2859
2861
|
readonly belt_stack_size_override?: uint8
|
|
2862
|
+
readonly control_behavior?: LoaderBlueprintControlBehavior
|
|
2860
2863
|
}
|
|
2861
2864
|
export interface LoaderBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2862
2865
|
readonly filters?: readonly BlueprintItemFilterWrite[]
|
|
@@ -2866,6 +2869,7 @@ declare module "factorio:runtime" {
|
|
|
2866
2869
|
readonly filter_mode?: PrototypeFilterMode
|
|
2867
2870
|
readonly type: BeltConnectionType
|
|
2868
2871
|
readonly belt_stack_size_override?: uint8
|
|
2872
|
+
readonly control_behavior?: LoaderBlueprintControlBehaviorWrite
|
|
2869
2873
|
}
|
|
2870
2874
|
/**
|
|
2871
2875
|
* `"loader-1x1"` variant of {@link BlueprintEntity}.
|
|
@@ -2878,6 +2882,7 @@ declare module "factorio:runtime" {
|
|
|
2878
2882
|
readonly filter_mode?: PrototypeFilterMode
|
|
2879
2883
|
readonly type: BeltConnectionType
|
|
2880
2884
|
readonly belt_stack_size_override?: uint8
|
|
2885
|
+
readonly control_behavior?: LoaderBlueprintControlBehavior
|
|
2881
2886
|
}
|
|
2882
2887
|
export interface Loader1x1BlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2883
2888
|
readonly filters?: readonly BlueprintItemFilterWrite[]
|
|
@@ -2887,6 +2892,7 @@ declare module "factorio:runtime" {
|
|
|
2887
2892
|
readonly filter_mode?: PrototypeFilterMode
|
|
2888
2893
|
readonly type: BeltConnectionType
|
|
2889
2894
|
readonly belt_stack_size_override?: uint8
|
|
2895
|
+
readonly control_behavior?: LoaderBlueprintControlBehaviorWrite
|
|
2890
2896
|
}
|
|
2891
2897
|
/**
|
|
2892
2898
|
* `"locomotive"` variant of {@link BlueprintEntity}.
|
|
@@ -2978,18 +2984,34 @@ declare module "factorio:runtime" {
|
|
|
2978
2984
|
* `"rail-chain-signal"` variant of {@link BlueprintEntity}.
|
|
2979
2985
|
*/
|
|
2980
2986
|
export interface RailChainSignalBlueprintEntity extends BaseBlueprintEntity {
|
|
2987
|
+
/**
|
|
2988
|
+
* Defaults to `"ground"`.
|
|
2989
|
+
*/
|
|
2990
|
+
readonly rail_layer?: "ground" | "elevated"
|
|
2981
2991
|
readonly control_behavior?: RailSignalBaseBlueprintControlBehavior
|
|
2982
2992
|
}
|
|
2983
2993
|
export interface RailChainSignalBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
2994
|
+
/**
|
|
2995
|
+
* Defaults to `"ground"`.
|
|
2996
|
+
*/
|
|
2997
|
+
readonly rail_layer?: "ground" | "elevated"
|
|
2984
2998
|
readonly control_behavior?: RailSignalBaseBlueprintControlBehaviorWrite
|
|
2985
2999
|
}
|
|
2986
3000
|
/**
|
|
2987
3001
|
* `"rail-signal"` variant of {@link BlueprintEntity}.
|
|
2988
3002
|
*/
|
|
2989
3003
|
export interface RailSignalBlueprintEntity extends BaseBlueprintEntity {
|
|
3004
|
+
/**
|
|
3005
|
+
* Defaults to `"ground"`.
|
|
3006
|
+
*/
|
|
3007
|
+
readonly rail_layer?: "ground" | "elevated"
|
|
2990
3008
|
readonly control_behavior?: RailSignalBaseBlueprintControlBehavior
|
|
2991
3009
|
}
|
|
2992
3010
|
export interface RailSignalBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
3011
|
+
/**
|
|
3012
|
+
* Defaults to `"ground"`.
|
|
3013
|
+
*/
|
|
3014
|
+
readonly rail_layer?: "ground" | "elevated"
|
|
2993
3015
|
readonly control_behavior?: RailSignalBaseBlueprintControlBehaviorWrite
|
|
2994
3016
|
}
|
|
2995
3017
|
/**
|
|
@@ -3126,7 +3148,7 @@ declare module "factorio:runtime" {
|
|
|
3126
3148
|
* `"turret"` variant of {@link BlueprintEntity}.
|
|
3127
3149
|
*/
|
|
3128
3150
|
export interface TurretBlueprintEntity extends BaseBlueprintEntity {
|
|
3129
|
-
readonly "priority-list"?: SlotFilter
|
|
3151
|
+
readonly "priority-list"?: SlotFilter[]
|
|
3130
3152
|
/**
|
|
3131
3153
|
* Defaults to `false`.
|
|
3132
3154
|
*/
|
|
@@ -3134,7 +3156,7 @@ declare module "factorio:runtime" {
|
|
|
3134
3156
|
readonly control_behavior?: TurretBlueprintControlBehavior
|
|
3135
3157
|
}
|
|
3136
3158
|
export interface TurretBlueprintEntityWrite extends BaseBlueprintEntityWrite {
|
|
3137
|
-
readonly "priority-list"?: SlotFilter
|
|
3159
|
+
readonly "priority-list"?: SlotFilter[]
|
|
3138
3160
|
/**
|
|
3139
3161
|
* Defaults to `false`.
|
|
3140
3162
|
*/
|
|
@@ -3222,7 +3244,7 @@ declare module "factorio:runtime" {
|
|
|
3222
3244
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
3223
3245
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
3224
3246
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
3225
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3247
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintEntity.html Online documentation}
|
|
3226
3248
|
*/
|
|
3227
3249
|
export type BlueprintEntity =
|
|
3228
3250
|
| AccumulatorBlueprintEntity
|
|
@@ -3281,7 +3303,7 @@ declare module "factorio:runtime" {
|
|
|
3281
3303
|
| WallBlueprintEntity
|
|
3282
3304
|
/**
|
|
3283
3305
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
|
3284
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3306
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintEntity.html Online documentation}
|
|
3285
3307
|
*/
|
|
3286
3308
|
export type BlueprintEntityWrite =
|
|
3287
3309
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -3348,7 +3370,7 @@ declare module "factorio:runtime" {
|
|
|
3348
3370
|
* - `target_entity_number`
|
|
3349
3371
|
*
|
|
3350
3372
|
* - `target_wire_connector_id`
|
|
3351
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3373
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintWire.html Online documentation}
|
|
3352
3374
|
*/
|
|
3353
3375
|
export type BlueprintWire = [
|
|
3354
3376
|
source_entity_number: uint32,
|
|
@@ -3386,7 +3408,7 @@ declare module "factorio:runtime" {
|
|
|
3386
3408
|
* "2500 * (L - 3)"
|
|
3387
3409
|
* @example
|
|
3388
3410
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
3389
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3411
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MathExpression.html Online documentation}
|
|
3390
3412
|
*/
|
|
3391
3413
|
export type MathExpression = string
|
|
3392
3414
|
/**
|
|
@@ -3592,7 +3614,7 @@ declare module "factorio:runtime" {
|
|
|
3592
3614
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
3593
3615
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
3594
3616
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
3595
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3617
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/UndoRedoAction.html Online documentation}
|
|
3596
3618
|
*/
|
|
3597
3619
|
export type UndoRedoAction =
|
|
3598
3620
|
| BuiltEntityUndoRedoAction
|
|
@@ -3806,7 +3828,7 @@ declare module "factorio:runtime" {
|
|
|
3806
3828
|
* - `"play-previous-track"`
|
|
3807
3829
|
* - `"pause-resume-music"`
|
|
3808
3830
|
* - `""`: Indicates no linked game control.
|
|
3809
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3831
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LinkedGameControl.html Online documentation}
|
|
3810
3832
|
*/
|
|
3811
3833
|
export type LinkedGameControl =
|
|
3812
3834
|
| "move-up"
|
|
@@ -4011,7 +4033,7 @@ declare module "factorio:runtime" {
|
|
|
4011
4033
|
* - {@link LuaSpaceLocationPrototype}
|
|
4012
4034
|
* - {@link LuaTilePrototype}
|
|
4013
4035
|
* - {@link LuaVirtualSignalPrototype}
|
|
4014
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4036
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PipetteID.html Online documentation}
|
|
4015
4037
|
*/
|
|
4016
4038
|
export type PipetteID =
|
|
4017
4039
|
| LuaEntityPrototype
|
|
@@ -4031,7 +4053,7 @@ declare module "factorio:runtime" {
|
|
|
4031
4053
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4032
4054
|
* - `"same"`: The same force pass.
|
|
4033
4055
|
* - `"not-same"`: The non-same forces pass.
|
|
4034
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4056
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ForceCondition.html Online documentation}
|
|
4035
4057
|
*/
|
|
4036
4058
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4037
4059
|
/**
|
|
@@ -4039,7 +4061,7 @@ declare module "factorio:runtime" {
|
|
|
4039
4061
|
* - `"input-output"`
|
|
4040
4062
|
* - `"input"`
|
|
4041
4063
|
* - `"output"`
|
|
4042
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4064
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FluidFlowDirection.html Online documentation}
|
|
4043
4065
|
*/
|
|
4044
4066
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4045
4067
|
/**
|
|
@@ -4047,7 +4069,7 @@ declare module "factorio:runtime" {
|
|
|
4047
4069
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4048
4070
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4049
4071
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4050
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4072
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PipeConnectionType.html Online documentation}
|
|
4051
4073
|
*/
|
|
4052
4074
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4053
4075
|
export interface PipeConnectionDefinition {
|
|
@@ -4070,7 +4092,7 @@ declare module "factorio:runtime" {
|
|
|
4070
4092
|
}
|
|
4071
4093
|
/**
|
|
4072
4094
|
* 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`.
|
|
4073
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4095
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FluidAmount.html Online documentation}
|
|
4074
4096
|
*/
|
|
4075
4097
|
export type FluidAmount = double
|
|
4076
4098
|
/**
|
|
@@ -4081,7 +4103,7 @@ declare module "factorio:runtime" {
|
|
|
4081
4103
|
* - `"input"`
|
|
4082
4104
|
* - `"input-output"`
|
|
4083
4105
|
* - `"output"`
|
|
4084
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4106
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProductionType.html Online documentation}
|
|
4085
4107
|
*/
|
|
4086
4108
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4087
4109
|
export interface SurfaceCondition {
|
|
@@ -4093,7 +4115,7 @@ declare module "factorio:runtime" {
|
|
|
4093
4115
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4094
4116
|
*
|
|
4095
4117
|
* By default, none of these flags are set.
|
|
4096
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4118
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemPrototypeFlags.html Online documentation}
|
|
4097
4119
|
*/
|
|
4098
4120
|
export type ItemPrototypeFlags = {
|
|
4099
4121
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4114,7 +4136,7 @@ declare module "factorio:runtime" {
|
|
|
4114
4136
|
* - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
|
|
4115
4137
|
* - `"spoil-result"`
|
|
4116
4138
|
* - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
|
|
4117
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4139
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemPrototypeFlag.html Online documentation}
|
|
4118
4140
|
*/
|
|
4119
4141
|
export type ItemPrototypeFlag =
|
|
4120
4142
|
| "draw-logistic-overlay"
|
|
@@ -4131,7 +4153,7 @@ declare module "factorio:runtime" {
|
|
|
4131
4153
|
| "ignore-spoil-time-modifier"
|
|
4132
4154
|
/**
|
|
4133
4155
|
* @see UpgradeMapperSourceWrite
|
|
4134
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4156
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/UpgradeMapperSource.html Online documentation}
|
|
4135
4157
|
*/
|
|
4136
4158
|
export interface UpgradeMapperSource {
|
|
4137
4159
|
readonly type: "item" | "entity"
|
|
@@ -4154,7 +4176,7 @@ declare module "factorio:runtime" {
|
|
|
4154
4176
|
}
|
|
4155
4177
|
/**
|
|
4156
4178
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
|
4157
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4179
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/UpgradeMapperSource.html Online documentation}
|
|
4158
4180
|
*/
|
|
4159
4181
|
export interface UpgradeMapperSourceWrite {
|
|
4160
4182
|
readonly type: "item" | "entity"
|
|
@@ -4244,7 +4266,7 @@ declare module "factorio:runtime" {
|
|
|
4244
4266
|
* - `"controllable-remove"`
|
|
4245
4267
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
4246
4268
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
4247
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4269
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SelectionModeFlags.html Online documentation}
|
|
4248
4270
|
*/
|
|
4249
4271
|
export interface SelectionModeFlags {
|
|
4250
4272
|
/**
|
|
@@ -4401,7 +4423,7 @@ declare module "factorio:runtime" {
|
|
|
4401
4423
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
4402
4424
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
4403
4425
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
4404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4426
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CapsuleAction.html Online documentation}
|
|
4405
4427
|
*/
|
|
4406
4428
|
export type CapsuleAction =
|
|
4407
4429
|
| ThrowCapsuleAction
|
|
@@ -4414,7 +4436,7 @@ declare module "factorio:runtime" {
|
|
|
4414
4436
|
* - `"none"`
|
|
4415
4437
|
* - `"whitelist"`
|
|
4416
4438
|
* - `"blacklist"`
|
|
4417
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4439
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PrototypeFilterMode.html Online documentation}
|
|
4418
4440
|
*/
|
|
4419
4441
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
4420
4442
|
export interface SpoilToTriggerResult {
|
|
@@ -4453,7 +4475,7 @@ declare module "factorio:runtime" {
|
|
|
4453
4475
|
* - `"entity"`: Fires at an entity.
|
|
4454
4476
|
* - `"position"`: Fires directly at a position.
|
|
4455
4477
|
* - `"direction"`: Fires in a direction.
|
|
4456
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4478
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TargetType.html Online documentation}
|
|
4457
4479
|
*/
|
|
4458
4480
|
export type TargetType = "entity" | "position" | "direction"
|
|
4459
4481
|
export interface AmmoType {
|
|
@@ -4477,7 +4499,7 @@ declare module "factorio:runtime" {
|
|
|
4477
4499
|
}
|
|
4478
4500
|
/**
|
|
4479
4501
|
* @see BlueprintItemFilterWrite
|
|
4480
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4502
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintItemFilter.html Online documentation}
|
|
4481
4503
|
*/
|
|
4482
4504
|
export interface BlueprintItemFilter {
|
|
4483
4505
|
readonly index: uint32
|
|
@@ -4496,7 +4518,7 @@ declare module "factorio:runtime" {
|
|
|
4496
4518
|
}
|
|
4497
4519
|
/**
|
|
4498
4520
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
4499
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4521
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintItemFilter.html Online documentation}
|
|
4500
4522
|
*/
|
|
4501
4523
|
export interface BlueprintItemFilterWrite {
|
|
4502
4524
|
readonly index: uint32
|
|
@@ -4515,7 +4537,7 @@ declare module "factorio:runtime" {
|
|
|
4515
4537
|
}
|
|
4516
4538
|
/**
|
|
4517
4539
|
* @see BlueprintInventoryWithFiltersWrite
|
|
4518
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4540
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
4519
4541
|
*/
|
|
4520
4542
|
export interface BlueprintInventoryWithFilters {
|
|
4521
4543
|
readonly bar?: ItemStackIndex
|
|
@@ -4523,7 +4545,7 @@ declare module "factorio:runtime" {
|
|
|
4523
4545
|
}
|
|
4524
4546
|
/**
|
|
4525
4547
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
|
4526
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4548
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
4527
4549
|
*/
|
|
4528
4550
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
4529
4551
|
readonly bar?: ItemStackIndex
|
|
@@ -4567,7 +4589,7 @@ declare module "factorio:runtime" {
|
|
|
4567
4589
|
}
|
|
4568
4590
|
/**
|
|
4569
4591
|
* @see BlueprintEquipmentWrite
|
|
4570
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4592
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintEquipment.html Online documentation}
|
|
4571
4593
|
*/
|
|
4572
4594
|
export interface BlueprintEquipment {
|
|
4573
4595
|
readonly equipment: LuaEquipmentPrototype
|
|
@@ -4575,7 +4597,7 @@ declare module "factorio:runtime" {
|
|
|
4575
4597
|
}
|
|
4576
4598
|
/**
|
|
4577
4599
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
|
4578
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4600
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintEquipment.html Online documentation}
|
|
4579
4601
|
*/
|
|
4580
4602
|
export interface BlueprintEquipmentWrite {
|
|
4581
4603
|
readonly equipment: EquipmentWithQualityID
|
|
@@ -4591,7 +4613,7 @@ declare module "factorio:runtime" {
|
|
|
4591
4613
|
* @example
|
|
4592
4614
|
* -- Shorthand
|
|
4593
4615
|
* {1, 2}
|
|
4594
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4616
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentPosition.html Online documentation}
|
|
4595
4617
|
*/
|
|
4596
4618
|
export interface EquipmentPosition {
|
|
4597
4619
|
readonly x: int32
|
|
@@ -4600,7 +4622,7 @@ declare module "factorio:runtime" {
|
|
|
4600
4622
|
/**
|
|
4601
4623
|
* Array form of {@link EquipmentPosition}.
|
|
4602
4624
|
* @see EquipmentPosition
|
|
4603
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4625
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentPosition.html Online documentation}
|
|
4604
4626
|
*/
|
|
4605
4627
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
4606
4628
|
export interface ModSetting {
|
|
@@ -4611,7 +4633,7 @@ declare module "factorio:runtime" {
|
|
|
4611
4633
|
}
|
|
4612
4634
|
/**
|
|
4613
4635
|
* An actual signal transmitted by the network.
|
|
4614
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4636
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Signal.html Online documentation}
|
|
4615
4637
|
*/
|
|
4616
4638
|
export interface Signal {
|
|
4617
4639
|
/**
|
|
@@ -4625,7 +4647,7 @@ declare module "factorio:runtime" {
|
|
|
4625
4647
|
}
|
|
4626
4648
|
/**
|
|
4627
4649
|
* @see DisplayPanelMessageDefinitionWrite
|
|
4628
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4650
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
4629
4651
|
*/
|
|
4630
4652
|
export interface DisplayPanelMessageDefinition {
|
|
4631
4653
|
/**
|
|
@@ -4643,7 +4665,7 @@ declare module "factorio:runtime" {
|
|
|
4643
4665
|
}
|
|
4644
4666
|
/**
|
|
4645
4667
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
|
4646
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4668
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
4647
4669
|
*/
|
|
4648
4670
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
4649
4671
|
/**
|
|
@@ -4671,7 +4693,7 @@ declare module "factorio:runtime" {
|
|
|
4671
4693
|
}
|
|
4672
4694
|
/**
|
|
4673
4695
|
* @see CircuitConditionWrite
|
|
4674
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4696
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CircuitCondition.html Online documentation}
|
|
4675
4697
|
*/
|
|
4676
4698
|
export interface CircuitCondition {
|
|
4677
4699
|
/**
|
|
@@ -4693,7 +4715,7 @@ declare module "factorio:runtime" {
|
|
|
4693
4715
|
}
|
|
4694
4716
|
/**
|
|
4695
4717
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
|
4696
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4718
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CircuitCondition.html Online documentation}
|
|
4697
4719
|
*/
|
|
4698
4720
|
export interface CircuitConditionWrite {
|
|
4699
4721
|
/**
|
|
@@ -4715,7 +4737,7 @@ declare module "factorio:runtime" {
|
|
|
4715
4737
|
}
|
|
4716
4738
|
/**
|
|
4717
4739
|
* @see SignalIDWrite
|
|
4718
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4740
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SignalID.html Online documentation}
|
|
4719
4741
|
*/
|
|
4720
4742
|
export interface SignalID {
|
|
4721
4743
|
/**
|
|
@@ -4733,7 +4755,7 @@ declare module "factorio:runtime" {
|
|
|
4733
4755
|
}
|
|
4734
4756
|
/**
|
|
4735
4757
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
|
4736
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4758
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SignalID.html Online documentation}
|
|
4737
4759
|
*/
|
|
4738
4760
|
export interface SignalIDWrite {
|
|
4739
4761
|
/**
|
|
@@ -4769,7 +4791,7 @@ declare module "factorio:runtime" {
|
|
|
4769
4791
|
* - `"space-location"`
|
|
4770
4792
|
* - `"asteroid-chunk"`
|
|
4771
4793
|
* - `"quality"`
|
|
4772
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4794
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SignalIDType.html Online documentation}
|
|
4773
4795
|
*/
|
|
4774
4796
|
export type SignalIDType =
|
|
4775
4797
|
| "item"
|
|
@@ -4782,7 +4804,7 @@ declare module "factorio:runtime" {
|
|
|
4782
4804
|
| "quality"
|
|
4783
4805
|
/**
|
|
4784
4806
|
* @see DeciderCombinatorParametersWrite
|
|
4785
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4807
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
4786
4808
|
*/
|
|
4787
4809
|
export interface DeciderCombinatorParameters {
|
|
4788
4810
|
/**
|
|
@@ -4796,7 +4818,7 @@ declare module "factorio:runtime" {
|
|
|
4796
4818
|
}
|
|
4797
4819
|
/**
|
|
4798
4820
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
4799
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4821
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
4800
4822
|
*/
|
|
4801
4823
|
export interface DeciderCombinatorParametersWrite {
|
|
4802
4824
|
/**
|
|
@@ -4810,7 +4832,7 @@ declare module "factorio:runtime" {
|
|
|
4810
4832
|
}
|
|
4811
4833
|
/**
|
|
4812
4834
|
* @see DeciderCombinatorConditionWrite
|
|
4813
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4835
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
4814
4836
|
*/
|
|
4815
4837
|
export interface DeciderCombinatorCondition {
|
|
4816
4838
|
/**
|
|
@@ -4844,7 +4866,7 @@ declare module "factorio:runtime" {
|
|
|
4844
4866
|
}
|
|
4845
4867
|
/**
|
|
4846
4868
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
|
4847
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4869
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
4848
4870
|
*/
|
|
4849
4871
|
export interface DeciderCombinatorConditionWrite {
|
|
4850
4872
|
/**
|
|
@@ -4878,7 +4900,7 @@ declare module "factorio:runtime" {
|
|
|
4878
4900
|
}
|
|
4879
4901
|
/**
|
|
4880
4902
|
* @see DeciderCombinatorOutputWrite
|
|
4881
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4903
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
4882
4904
|
*/
|
|
4883
4905
|
export interface DeciderCombinatorOutput {
|
|
4884
4906
|
/**
|
|
@@ -4900,7 +4922,7 @@ declare module "factorio:runtime" {
|
|
|
4900
4922
|
}
|
|
4901
4923
|
/**
|
|
4902
4924
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
|
4903
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4925
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
4904
4926
|
*/
|
|
4905
4927
|
export interface DeciderCombinatorOutputWrite {
|
|
4906
4928
|
/**
|
|
@@ -4922,7 +4944,7 @@ declare module "factorio:runtime" {
|
|
|
4922
4944
|
}
|
|
4923
4945
|
/**
|
|
4924
4946
|
* @see ArithmeticCombinatorParametersWrite
|
|
4925
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4947
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
4926
4948
|
*/
|
|
4927
4949
|
export interface ArithmeticCombinatorParameters {
|
|
4928
4950
|
/**
|
|
@@ -4960,7 +4982,7 @@ declare module "factorio:runtime" {
|
|
|
4960
4982
|
}
|
|
4961
4983
|
/**
|
|
4962
4984
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
4963
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
4985
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
4964
4986
|
*/
|
|
4965
4987
|
export interface ArithmeticCombinatorParametersWrite {
|
|
4966
4988
|
/**
|
|
@@ -5009,7 +5031,7 @@ declare module "factorio:runtime" {
|
|
|
5009
5031
|
* - `"AND"`
|
|
5010
5032
|
* - `"OR"`
|
|
5011
5033
|
* - `"XOR"`
|
|
5012
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5034
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
|
5013
5035
|
*/
|
|
5014
5036
|
export type ArithmeticCombinatorParameterOperation =
|
|
5015
5037
|
| "*"
|
|
@@ -5070,14 +5092,14 @@ declare module "factorio:runtime" {
|
|
|
5070
5092
|
/**
|
|
5071
5093
|
* The signal to emit.
|
|
5072
5094
|
*/
|
|
5073
|
-
readonly count_signal
|
|
5095
|
+
readonly count_signal?: SignalID
|
|
5074
5096
|
}
|
|
5075
5097
|
export interface CountSelectorCombinatorParametersWrite extends BaseSelectorCombinatorParameters {
|
|
5076
5098
|
readonly operation: "count"
|
|
5077
5099
|
/**
|
|
5078
5100
|
* The signal to emit.
|
|
5079
5101
|
*/
|
|
5080
|
-
readonly count_signal
|
|
5102
|
+
readonly count_signal?: SignalIDWrite
|
|
5081
5103
|
}
|
|
5082
5104
|
/**
|
|
5083
5105
|
* `"random"` variant of {@link SelectorCombinatorParameters}.
|
|
@@ -5115,10 +5137,7 @@ declare module "factorio:runtime" {
|
|
|
5115
5137
|
* Defaults to `false`.
|
|
5116
5138
|
*/
|
|
5117
5139
|
readonly select_quality_from_signal?: boolean
|
|
5118
|
-
|
|
5119
|
-
* The name of the quality prototype. Defaults to `"normal"`.
|
|
5120
|
-
*/
|
|
5121
|
-
readonly quality_source_static?: string
|
|
5140
|
+
readonly quality_source_static?: BlueprintQualityID
|
|
5122
5141
|
readonly quality_source_signal?: SignalIDBase
|
|
5123
5142
|
readonly quality_destination_signal: SignalID
|
|
5124
5143
|
}
|
|
@@ -5128,10 +5147,7 @@ declare module "factorio:runtime" {
|
|
|
5128
5147
|
* Defaults to `false`.
|
|
5129
5148
|
*/
|
|
5130
5149
|
readonly select_quality_from_signal?: boolean
|
|
5131
|
-
|
|
5132
|
-
* The name of the quality prototype. Defaults to `"normal"`.
|
|
5133
|
-
*/
|
|
5134
|
-
readonly quality_source_static?: string
|
|
5150
|
+
readonly quality_source_static?: BlueprintQualityID
|
|
5135
5151
|
readonly quality_source_signal?: SignalIDBase
|
|
5136
5152
|
readonly quality_destination_signal: SignalIDWrite
|
|
5137
5153
|
}
|
|
@@ -5148,7 +5164,7 @@ declare module "factorio:runtime" {
|
|
|
5148
5164
|
* - `"random"`: {@link RandomSelectorCombinatorParameters}
|
|
5149
5165
|
* - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
|
|
5150
5166
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
5151
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5167
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
5152
5168
|
*/
|
|
5153
5169
|
export type SelectorCombinatorParameters =
|
|
5154
5170
|
| SelectSelectorCombinatorParameters
|
|
@@ -5159,7 +5175,7 @@ declare module "factorio:runtime" {
|
|
|
5159
5175
|
| OtherSelectorCombinatorParameters
|
|
5160
5176
|
/**
|
|
5161
5177
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5162
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5178
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
5163
5179
|
*/
|
|
5164
5180
|
export type SelectorCombinatorParametersWrite =
|
|
5165
5181
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -5177,7 +5193,7 @@ declare module "factorio:runtime" {
|
|
|
5177
5193
|
* - `"rocket-capacity"`
|
|
5178
5194
|
* - `"stack-size"`
|
|
5179
5195
|
* - `"quality-filter"`
|
|
5180
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5196
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
|
5181
5197
|
*/
|
|
5182
5198
|
export type SelectorCombinatorParameterOperation =
|
|
5183
5199
|
| "select"
|
|
@@ -5189,14 +5205,14 @@ declare module "factorio:runtime" {
|
|
|
5189
5205
|
| "quality-filter"
|
|
5190
5206
|
/**
|
|
5191
5207
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
5192
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5208
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
5193
5209
|
*/
|
|
5194
5210
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
5195
5211
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
5196
5212
|
}
|
|
5197
5213
|
/**
|
|
5198
5214
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5199
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5215
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
5200
5216
|
*/
|
|
5201
5217
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
5202
5218
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
@@ -5209,7 +5225,7 @@ declare module "factorio:runtime" {
|
|
|
5209
5225
|
}
|
|
5210
5226
|
/**
|
|
5211
5227
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
5212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5228
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
5213
5229
|
*/
|
|
5214
5230
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
5215
5231
|
/**
|
|
@@ -5233,10 +5249,15 @@ declare module "factorio:runtime" {
|
|
|
5233
5249
|
*/
|
|
5234
5250
|
readonly read_speed?: boolean
|
|
5235
5251
|
readonly speed_signal?: SignalID
|
|
5252
|
+
/**
|
|
5253
|
+
* Defaults to `false`.
|
|
5254
|
+
*/
|
|
5255
|
+
readonly read_damage_taken?: boolean
|
|
5256
|
+
readonly damage_taken_signal?: SignalID
|
|
5236
5257
|
}
|
|
5237
5258
|
/**
|
|
5238
5259
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5239
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5260
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
5240
5261
|
*/
|
|
5241
5262
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
5242
5263
|
/**
|
|
@@ -5260,10 +5281,15 @@ declare module "factorio:runtime" {
|
|
|
5260
5281
|
*/
|
|
5261
5282
|
readonly read_speed?: boolean
|
|
5262
5283
|
readonly speed_signal?: SignalIDWrite
|
|
5284
|
+
/**
|
|
5285
|
+
* Defaults to `false`.
|
|
5286
|
+
*/
|
|
5287
|
+
readonly read_damage_taken?: boolean
|
|
5288
|
+
readonly damage_taken_signal?: SignalIDWrite
|
|
5263
5289
|
}
|
|
5264
5290
|
/**
|
|
5265
5291
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
5266
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5292
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
5267
5293
|
*/
|
|
5268
5294
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
5269
5295
|
readonly circuit_close_signal: boolean
|
|
@@ -5276,7 +5302,7 @@ declare module "factorio:runtime" {
|
|
|
5276
5302
|
}
|
|
5277
5303
|
/**
|
|
5278
5304
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5279
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5305
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
5280
5306
|
*/
|
|
5281
5307
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
5282
5308
|
readonly circuit_close_signal: boolean
|
|
@@ -5289,7 +5315,7 @@ declare module "factorio:runtime" {
|
|
|
5289
5315
|
}
|
|
5290
5316
|
/**
|
|
5291
5317
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
5292
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5318
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
5293
5319
|
*/
|
|
5294
5320
|
export interface FurnaceBlueprintControlBehavior {
|
|
5295
5321
|
/**
|
|
@@ -5331,7 +5357,7 @@ declare module "factorio:runtime" {
|
|
|
5331
5357
|
}
|
|
5332
5358
|
/**
|
|
5333
5359
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5334
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5360
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
5335
5361
|
*/
|
|
5336
5362
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
5337
5363
|
/**
|
|
@@ -5373,14 +5399,14 @@ declare module "factorio:runtime" {
|
|
|
5373
5399
|
}
|
|
5374
5400
|
/**
|
|
5375
5401
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
5376
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5402
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
5377
5403
|
*/
|
|
5378
5404
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
5379
5405
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
5380
5406
|
}
|
|
5381
5407
|
/**
|
|
5382
5408
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5383
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5409
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
5384
5410
|
*/
|
|
5385
5411
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
5386
5412
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
@@ -5391,6 +5417,62 @@ declare module "factorio:runtime" {
|
|
|
5391
5417
|
*/
|
|
5392
5418
|
readonly circuit_mode_of_operation?: defines.control_behavior.cargo_landing_pad.exclusive_mode
|
|
5393
5419
|
}
|
|
5420
|
+
/**
|
|
5421
|
+
* @see LampBlueprintControlBehaviorWrite
|
|
5422
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
5423
|
+
*/
|
|
5424
|
+
export interface LampBlueprintControlBehavior {
|
|
5425
|
+
/**
|
|
5426
|
+
* Defaults to `false`.
|
|
5427
|
+
*/
|
|
5428
|
+
readonly use_colors?: boolean
|
|
5429
|
+
readonly red_signal?: SignalID
|
|
5430
|
+
readonly green_signal?: SignalID
|
|
5431
|
+
readonly blue_signal?: SignalID
|
|
5432
|
+
readonly rgb_signal?: SignalID
|
|
5433
|
+
/**
|
|
5434
|
+
* Defaults to `defines.control_behavior.lamp.color_mapping`.
|
|
5435
|
+
*/
|
|
5436
|
+
readonly color_mode?: defines.control_behavior.lamp.color_mode
|
|
5437
|
+
/**
|
|
5438
|
+
* Defaults to `false`.
|
|
5439
|
+
*/
|
|
5440
|
+
readonly circuit_enabled?: boolean
|
|
5441
|
+
readonly circuit_condition?: CircuitCondition
|
|
5442
|
+
/**
|
|
5443
|
+
* Defaults to `false`.
|
|
5444
|
+
*/
|
|
5445
|
+
readonly connect_to_logistic_network?: boolean
|
|
5446
|
+
readonly logistic_condition?: CircuitCondition
|
|
5447
|
+
}
|
|
5448
|
+
/**
|
|
5449
|
+
* Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5450
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
5451
|
+
*/
|
|
5452
|
+
export interface LampBlueprintControlBehaviorWrite {
|
|
5453
|
+
/**
|
|
5454
|
+
* Defaults to `false`.
|
|
5455
|
+
*/
|
|
5456
|
+
readonly use_colors?: boolean
|
|
5457
|
+
readonly red_signal?: SignalIDWrite
|
|
5458
|
+
readonly green_signal?: SignalIDWrite
|
|
5459
|
+
readonly blue_signal?: SignalIDWrite
|
|
5460
|
+
readonly rgb_signal?: SignalIDWrite
|
|
5461
|
+
/**
|
|
5462
|
+
* Defaults to `defines.control_behavior.lamp.color_mapping`.
|
|
5463
|
+
*/
|
|
5464
|
+
readonly color_mode?: defines.control_behavior.lamp.color_mode
|
|
5465
|
+
/**
|
|
5466
|
+
* Defaults to `false`.
|
|
5467
|
+
*/
|
|
5468
|
+
readonly circuit_enabled?: boolean
|
|
5469
|
+
readonly circuit_condition?: CircuitConditionWrite
|
|
5470
|
+
/**
|
|
5471
|
+
* Defaults to `false`.
|
|
5472
|
+
*/
|
|
5473
|
+
readonly connect_to_logistic_network?: boolean
|
|
5474
|
+
readonly logistic_condition?: CircuitConditionWrite
|
|
5475
|
+
}
|
|
5394
5476
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
5395
5477
|
/**
|
|
5396
5478
|
* Defaults to `true`.
|
|
@@ -5399,7 +5481,7 @@ declare module "factorio:runtime" {
|
|
|
5399
5481
|
}
|
|
5400
5482
|
/**
|
|
5401
5483
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
5402
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5484
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
5403
5485
|
*/
|
|
5404
5486
|
export interface MiningDrillBlueprintControlBehavior {
|
|
5405
5487
|
readonly circuit_read_resources: boolean
|
|
@@ -5417,7 +5499,7 @@ declare module "factorio:runtime" {
|
|
|
5417
5499
|
}
|
|
5418
5500
|
/**
|
|
5419
5501
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5420
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5502
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
5421
5503
|
*/
|
|
5422
5504
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
5423
5505
|
readonly circuit_read_resources: boolean
|
|
@@ -5433,9 +5515,57 @@ declare module "factorio:runtime" {
|
|
|
5433
5515
|
readonly connect_to_logistic_network?: boolean
|
|
5434
5516
|
readonly logistic_condition?: CircuitConditionWrite
|
|
5435
5517
|
}
|
|
5518
|
+
/**
|
|
5519
|
+
* @see LoaderBlueprintControlBehaviorWrite
|
|
5520
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
5521
|
+
*/
|
|
5522
|
+
export interface LoaderBlueprintControlBehavior {
|
|
5523
|
+
/**
|
|
5524
|
+
* Defaults to `false`.
|
|
5525
|
+
*/
|
|
5526
|
+
readonly circuit_set_filters?: boolean
|
|
5527
|
+
/**
|
|
5528
|
+
* Defaults to `false`.
|
|
5529
|
+
*/
|
|
5530
|
+
readonly circuit_read_transfers?: boolean
|
|
5531
|
+
/**
|
|
5532
|
+
* Defaults to `false`.
|
|
5533
|
+
*/
|
|
5534
|
+
readonly circuit_enabled?: boolean
|
|
5535
|
+
readonly circuit_condition?: CircuitCondition
|
|
5536
|
+
/**
|
|
5537
|
+
* Defaults to `false`.
|
|
5538
|
+
*/
|
|
5539
|
+
readonly connect_to_logistic_network?: boolean
|
|
5540
|
+
readonly logistic_condition?: CircuitCondition
|
|
5541
|
+
}
|
|
5542
|
+
/**
|
|
5543
|
+
* Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5544
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
5545
|
+
*/
|
|
5546
|
+
export interface LoaderBlueprintControlBehaviorWrite {
|
|
5547
|
+
/**
|
|
5548
|
+
* Defaults to `false`.
|
|
5549
|
+
*/
|
|
5550
|
+
readonly circuit_set_filters?: boolean
|
|
5551
|
+
/**
|
|
5552
|
+
* Defaults to `false`.
|
|
5553
|
+
*/
|
|
5554
|
+
readonly circuit_read_transfers?: boolean
|
|
5555
|
+
/**
|
|
5556
|
+
* Defaults to `false`.
|
|
5557
|
+
*/
|
|
5558
|
+
readonly circuit_enabled?: boolean
|
|
5559
|
+
readonly circuit_condition?: CircuitConditionWrite
|
|
5560
|
+
/**
|
|
5561
|
+
* Defaults to `false`.
|
|
5562
|
+
*/
|
|
5563
|
+
readonly connect_to_logistic_network?: boolean
|
|
5564
|
+
readonly logistic_condition?: CircuitConditionWrite
|
|
5565
|
+
}
|
|
5436
5566
|
/**
|
|
5437
5567
|
* @see WallBlueprintControlBehaviorWrite
|
|
5438
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5568
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
5439
5569
|
*/
|
|
5440
5570
|
export interface WallBlueprintControlBehavior {
|
|
5441
5571
|
readonly circuit_open_gate: boolean
|
|
@@ -5445,7 +5575,7 @@ declare module "factorio:runtime" {
|
|
|
5445
5575
|
}
|
|
5446
5576
|
/**
|
|
5447
5577
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5578
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
5449
5579
|
*/
|
|
5450
5580
|
export interface WallBlueprintControlBehaviorWrite {
|
|
5451
5581
|
readonly circuit_open_gate: boolean
|
|
@@ -5461,7 +5591,7 @@ declare module "factorio:runtime" {
|
|
|
5461
5591
|
}
|
|
5462
5592
|
/**
|
|
5463
5593
|
* @see PumpBlueprintControlBehaviorWrite
|
|
5464
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5594
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
5465
5595
|
*/
|
|
5466
5596
|
export interface PumpBlueprintControlBehavior {
|
|
5467
5597
|
/**
|
|
@@ -5481,7 +5611,7 @@ declare module "factorio:runtime" {
|
|
|
5481
5611
|
}
|
|
5482
5612
|
/**
|
|
5483
5613
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5484
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5614
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
5485
5615
|
*/
|
|
5486
5616
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
5487
5617
|
/**
|
|
@@ -5501,7 +5631,7 @@ declare module "factorio:runtime" {
|
|
|
5501
5631
|
}
|
|
5502
5632
|
/**
|
|
5503
5633
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
5504
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5634
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
5505
5635
|
*/
|
|
5506
5636
|
export interface TrainStopBlueprintControlBehavior {
|
|
5507
5637
|
/**
|
|
@@ -5545,7 +5675,7 @@ declare module "factorio:runtime" {
|
|
|
5545
5675
|
}
|
|
5546
5676
|
/**
|
|
5547
5677
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5548
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5678
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
5549
5679
|
*/
|
|
5550
5680
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
5551
5681
|
/**
|
|
@@ -5589,7 +5719,7 @@ declare module "factorio:runtime" {
|
|
|
5589
5719
|
}
|
|
5590
5720
|
/**
|
|
5591
5721
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
5592
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5722
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
5593
5723
|
*/
|
|
5594
5724
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
5595
5725
|
readonly circuit_condition: CircuitCondition
|
|
@@ -5597,7 +5727,7 @@ declare module "factorio:runtime" {
|
|
|
5597
5727
|
}
|
|
5598
5728
|
/**
|
|
5599
5729
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5600
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5730
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
5601
5731
|
*/
|
|
5602
5732
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
5603
5733
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -5605,7 +5735,7 @@ declare module "factorio:runtime" {
|
|
|
5605
5735
|
}
|
|
5606
5736
|
/**
|
|
5607
5737
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
5608
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5738
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
5609
5739
|
*/
|
|
5610
5740
|
export interface SplitterBlueprintControlBehavior {
|
|
5611
5741
|
/**
|
|
@@ -5627,7 +5757,7 @@ declare module "factorio:runtime" {
|
|
|
5627
5757
|
}
|
|
5628
5758
|
/**
|
|
5629
5759
|
* Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5630
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5760
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
5631
5761
|
*/
|
|
5632
5762
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
5633
5763
|
/**
|
|
@@ -5649,7 +5779,7 @@ declare module "factorio:runtime" {
|
|
|
5649
5779
|
}
|
|
5650
5780
|
/**
|
|
5651
5781
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
5652
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5782
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
5653
5783
|
*/
|
|
5654
5784
|
export interface TransportBeltBlueprintControlBehavior {
|
|
5655
5785
|
readonly circuit_read_hand_contents: boolean
|
|
@@ -5667,7 +5797,7 @@ declare module "factorio:runtime" {
|
|
|
5667
5797
|
}
|
|
5668
5798
|
/**
|
|
5669
5799
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5670
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5800
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
5671
5801
|
*/
|
|
5672
5802
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
5673
5803
|
readonly circuit_read_hand_contents: boolean
|
|
@@ -5685,7 +5815,7 @@ declare module "factorio:runtime" {
|
|
|
5685
5815
|
}
|
|
5686
5816
|
/**
|
|
5687
5817
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
5688
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5818
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
5689
5819
|
*/
|
|
5690
5820
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
5691
5821
|
/**
|
|
@@ -5697,7 +5827,7 @@ declare module "factorio:runtime" {
|
|
|
5697
5827
|
}
|
|
5698
5828
|
/**
|
|
5699
5829
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5700
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5830
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
5701
5831
|
*/
|
|
5702
5832
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
5703
5833
|
/**
|
|
@@ -5709,7 +5839,7 @@ declare module "factorio:runtime" {
|
|
|
5709
5839
|
}
|
|
5710
5840
|
/**
|
|
5711
5841
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
5712
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5842
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
5713
5843
|
*/
|
|
5714
5844
|
export interface ReactorBlueprintControlBehavior {
|
|
5715
5845
|
/**
|
|
@@ -5724,7 +5854,7 @@ declare module "factorio:runtime" {
|
|
|
5724
5854
|
}
|
|
5725
5855
|
/**
|
|
5726
5856
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5727
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5857
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
5728
5858
|
*/
|
|
5729
5859
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
5730
5860
|
/**
|
|
@@ -5739,7 +5869,7 @@ declare module "factorio:runtime" {
|
|
|
5739
5869
|
}
|
|
5740
5870
|
/**
|
|
5741
5871
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
5742
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5872
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
5743
5873
|
*/
|
|
5744
5874
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
5745
5875
|
readonly sections: LogisticSections
|
|
@@ -5750,7 +5880,7 @@ declare module "factorio:runtime" {
|
|
|
5750
5880
|
}
|
|
5751
5881
|
/**
|
|
5752
5882
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5883
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
5754
5884
|
*/
|
|
5755
5885
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
5756
5886
|
readonly sections: LogisticSectionsWrite
|
|
@@ -5761,7 +5891,7 @@ declare module "factorio:runtime" {
|
|
|
5761
5891
|
}
|
|
5762
5892
|
/**
|
|
5763
5893
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
5764
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5894
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
5765
5895
|
*/
|
|
5766
5896
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
5767
5897
|
readonly read_ammo?: boolean
|
|
@@ -5778,7 +5908,7 @@ declare module "factorio:runtime" {
|
|
|
5778
5908
|
}
|
|
5779
5909
|
/**
|
|
5780
5910
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5781
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5911
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
5782
5912
|
*/
|
|
5783
5913
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
5784
5914
|
readonly read_ammo?: boolean
|
|
@@ -5795,7 +5925,7 @@ declare module "factorio:runtime" {
|
|
|
5795
5925
|
}
|
|
5796
5926
|
/**
|
|
5797
5927
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
5798
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5928
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
5799
5929
|
*/
|
|
5800
5930
|
export interface AccumulatorBlueprintControlBehavior {
|
|
5801
5931
|
readonly output_signal: SignalID
|
|
@@ -5806,7 +5936,7 @@ declare module "factorio:runtime" {
|
|
|
5806
5936
|
}
|
|
5807
5937
|
/**
|
|
5808
5938
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5809
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5939
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
5810
5940
|
*/
|
|
5811
5941
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
5812
5942
|
readonly output_signal: SignalIDWrite
|
|
@@ -5817,7 +5947,7 @@ declare module "factorio:runtime" {
|
|
|
5817
5947
|
}
|
|
5818
5948
|
/**
|
|
5819
5949
|
* @see TurretBlueprintControlBehaviorWrite
|
|
5820
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5950
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
5821
5951
|
*/
|
|
5822
5952
|
export interface TurretBlueprintControlBehavior {
|
|
5823
5953
|
/**
|
|
@@ -5846,7 +5976,7 @@ declare module "factorio:runtime" {
|
|
|
5846
5976
|
}
|
|
5847
5977
|
/**
|
|
5848
5978
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
5979
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
5850
5980
|
*/
|
|
5851
5981
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
5852
5982
|
/**
|
|
@@ -5875,7 +6005,7 @@ declare module "factorio:runtime" {
|
|
|
5875
6005
|
}
|
|
5876
6006
|
/**
|
|
5877
6007
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
5878
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6008
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
5879
6009
|
*/
|
|
5880
6010
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
5881
6011
|
/**
|
|
@@ -5903,7 +6033,7 @@ declare module "factorio:runtime" {
|
|
|
5903
6033
|
}
|
|
5904
6034
|
/**
|
|
5905
6035
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5906
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6036
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
5907
6037
|
*/
|
|
5908
6038
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
5909
6039
|
/**
|
|
@@ -5937,7 +6067,7 @@ declare module "factorio:runtime" {
|
|
|
5937
6067
|
}
|
|
5938
6068
|
/**
|
|
5939
6069
|
* @see InserterBlueprintControlBehaviorWrite
|
|
5940
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6070
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
5941
6071
|
*/
|
|
5942
6072
|
export interface InserterBlueprintControlBehavior {
|
|
5943
6073
|
/**
|
|
@@ -5970,7 +6100,7 @@ declare module "factorio:runtime" {
|
|
|
5970
6100
|
}
|
|
5971
6101
|
/**
|
|
5972
6102
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
5973
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6103
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
5974
6104
|
*/
|
|
5975
6105
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
5976
6106
|
/**
|
|
@@ -6003,21 +6133,21 @@ declare module "factorio:runtime" {
|
|
|
6003
6133
|
}
|
|
6004
6134
|
/**
|
|
6005
6135
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
6006
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6136
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
6007
6137
|
*/
|
|
6008
6138
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
6009
6139
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
6010
6140
|
}
|
|
6011
6141
|
/**
|
|
6012
6142
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
6013
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6143
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
6014
6144
|
*/
|
|
6015
6145
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
6016
6146
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
6017
6147
|
}
|
|
6018
6148
|
/**
|
|
6019
6149
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
6020
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6150
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
6021
6151
|
*/
|
|
6022
6152
|
export interface RoboportBlueprintControlBehavior {
|
|
6023
6153
|
readonly read_items_mode?: boolean
|
|
@@ -6030,7 +6160,7 @@ declare module "factorio:runtime" {
|
|
|
6030
6160
|
}
|
|
6031
6161
|
/**
|
|
6032
6162
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
6033
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6163
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
6034
6164
|
*/
|
|
6035
6165
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
6036
6166
|
readonly read_items_mode?: boolean
|
|
@@ -6043,7 +6173,7 @@ declare module "factorio:runtime" {
|
|
|
6043
6173
|
}
|
|
6044
6174
|
/**
|
|
6045
6175
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
6046
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6176
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
6047
6177
|
*/
|
|
6048
6178
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
6049
6179
|
/**
|
|
@@ -6089,7 +6219,7 @@ declare module "factorio:runtime" {
|
|
|
6089
6219
|
}
|
|
6090
6220
|
/**
|
|
6091
6221
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
6092
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6222
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
6093
6223
|
*/
|
|
6094
6224
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
6095
6225
|
/**
|
|
@@ -6135,7 +6265,7 @@ declare module "factorio:runtime" {
|
|
|
6135
6265
|
}
|
|
6136
6266
|
/**
|
|
6137
6267
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
6138
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6268
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
6139
6269
|
*/
|
|
6140
6270
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
6141
6271
|
/**
|
|
@@ -6155,7 +6285,7 @@ declare module "factorio:runtime" {
|
|
|
6155
6285
|
}
|
|
6156
6286
|
/**
|
|
6157
6287
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
6158
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6288
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
6159
6289
|
*/
|
|
6160
6290
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
6161
6291
|
/**
|
|
@@ -6220,7 +6350,7 @@ declare module "factorio:runtime" {
|
|
|
6220
6350
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6221
6351
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6222
6352
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
|
6223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6353
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Product.html Online documentation}
|
|
6224
6354
|
*/
|
|
6225
6355
|
export type Product = ItemProduct | FluidProduct
|
|
6226
6356
|
/**
|
|
@@ -6231,7 +6361,7 @@ declare module "factorio:runtime" {
|
|
|
6231
6361
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6232
6362
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6233
6363
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
|
6234
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6364
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemProduct.html Online documentation}
|
|
6235
6365
|
*/
|
|
6236
6366
|
export interface ItemProduct {
|
|
6237
6367
|
readonly type: "item"
|
|
@@ -6275,7 +6405,7 @@ declare module "factorio:runtime" {
|
|
|
6275
6405
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6276
6406
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6277
6407
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6278
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6408
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FluidProduct.html Online documentation}
|
|
6279
6409
|
*/
|
|
6280
6410
|
export interface FluidProduct {
|
|
6281
6411
|
readonly type: "fluid"
|
|
@@ -6315,7 +6445,7 @@ declare module "factorio:runtime" {
|
|
|
6315
6445
|
}
|
|
6316
6446
|
/**
|
|
6317
6447
|
* @see BlueprintScheduleRecordWrite
|
|
6318
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6448
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6319
6449
|
*/
|
|
6320
6450
|
export interface BlueprintScheduleRecord {
|
|
6321
6451
|
/**
|
|
@@ -6329,7 +6459,7 @@ declare module "factorio:runtime" {
|
|
|
6329
6459
|
}
|
|
6330
6460
|
/**
|
|
6331
6461
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6332
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6462
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6333
6463
|
*/
|
|
6334
6464
|
export interface BlueprintScheduleRecordWrite {
|
|
6335
6465
|
/**
|
|
@@ -6343,7 +6473,7 @@ declare module "factorio:runtime" {
|
|
|
6343
6473
|
}
|
|
6344
6474
|
/**
|
|
6345
6475
|
* @see ScheduleRecordWrite
|
|
6346
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6476
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScheduleRecord.html Online documentation}
|
|
6347
6477
|
*/
|
|
6348
6478
|
export interface ScheduleRecord {
|
|
6349
6479
|
/**
|
|
@@ -6362,7 +6492,7 @@ declare module "factorio:runtime" {
|
|
|
6362
6492
|
}
|
|
6363
6493
|
/**
|
|
6364
6494
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6365
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6495
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScheduleRecord.html Online documentation}
|
|
6366
6496
|
*/
|
|
6367
6497
|
export interface ScheduleRecordWrite {
|
|
6368
6498
|
/**
|
|
@@ -6381,7 +6511,7 @@ declare module "factorio:runtime" {
|
|
|
6381
6511
|
}
|
|
6382
6512
|
/**
|
|
6383
6513
|
* @see BlueprintScheduleInterruptWrite
|
|
6384
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6514
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6385
6515
|
*/
|
|
6386
6516
|
export interface BlueprintScheduleInterrupt {
|
|
6387
6517
|
/**
|
|
@@ -6397,7 +6527,7 @@ declare module "factorio:runtime" {
|
|
|
6397
6527
|
}
|
|
6398
6528
|
/**
|
|
6399
6529
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6400
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6530
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6401
6531
|
*/
|
|
6402
6532
|
export interface BlueprintScheduleInterruptWrite {
|
|
6403
6533
|
/**
|
|
@@ -6413,7 +6543,7 @@ declare module "factorio:runtime" {
|
|
|
6413
6543
|
}
|
|
6414
6544
|
/**
|
|
6415
6545
|
* @see ScheduleInterruptWrite
|
|
6416
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6546
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScheduleInterrupt.html Online documentation}
|
|
6417
6547
|
*/
|
|
6418
6548
|
export interface ScheduleInterrupt {
|
|
6419
6549
|
/**
|
|
@@ -6429,7 +6559,7 @@ declare module "factorio:runtime" {
|
|
|
6429
6559
|
}
|
|
6430
6560
|
/**
|
|
6431
6561
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6432
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6562
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScheduleInterrupt.html Online documentation}
|
|
6433
6563
|
*/
|
|
6434
6564
|
export interface ScheduleInterruptWrite {
|
|
6435
6565
|
/**
|
|
@@ -6445,7 +6575,7 @@ declare module "factorio:runtime" {
|
|
|
6445
6575
|
}
|
|
6446
6576
|
/**
|
|
6447
6577
|
* @see WaitConditionWrite
|
|
6448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6578
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/WaitCondition.html Online documentation}
|
|
6449
6579
|
*/
|
|
6450
6580
|
export interface WaitCondition {
|
|
6451
6581
|
readonly type: WaitConditionType
|
|
@@ -6476,7 +6606,7 @@ declare module "factorio:runtime" {
|
|
|
6476
6606
|
}
|
|
6477
6607
|
/**
|
|
6478
6608
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
|
6479
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6609
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/WaitCondition.html Online documentation}
|
|
6480
6610
|
*/
|
|
6481
6611
|
export interface WaitConditionWrite {
|
|
6482
6612
|
readonly type: WaitConditionType
|
|
@@ -6535,7 +6665,7 @@ declare module "factorio:runtime" {
|
|
|
6535
6665
|
* - `"at_station"`
|
|
6536
6666
|
* - `"not_at_station"`
|
|
6537
6667
|
* - `"damage_taken"`
|
|
6538
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6668
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/WaitConditionType.html Online documentation}
|
|
6539
6669
|
*/
|
|
6540
6670
|
export type WaitConditionType =
|
|
6541
6671
|
| "time"
|
|
@@ -6566,7 +6696,7 @@ declare module "factorio:runtime" {
|
|
|
6566
6696
|
| "damage_taken"
|
|
6567
6697
|
/**
|
|
6568
6698
|
* @see BlueprintScheduleWrite
|
|
6569
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6699
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintSchedule.html Online documentation}
|
|
6570
6700
|
*/
|
|
6571
6701
|
export interface BlueprintSchedule {
|
|
6572
6702
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6575,7 +6705,7 @@ declare module "factorio:runtime" {
|
|
|
6575
6705
|
}
|
|
6576
6706
|
/**
|
|
6577
6707
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
|
6578
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6708
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintSchedule.html Online documentation}
|
|
6579
6709
|
*/
|
|
6580
6710
|
export interface BlueprintScheduleWrite {
|
|
6581
6711
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6644,7 +6774,7 @@ declare module "factorio:runtime" {
|
|
|
6644
6774
|
* - `"create-ghost-on-entity-death"`
|
|
6645
6775
|
* - `"belt-stack-size-bonus"`
|
|
6646
6776
|
* - `"vehicle-logistics"`
|
|
6647
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
6777
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ModifierType.html Online documentation}
|
|
6648
6778
|
*/
|
|
6649
6779
|
export type ModifierType =
|
|
6650
6780
|
| "inserter-stack-size-bonus"
|
|
@@ -7257,7 +7387,7 @@ declare module "factorio:runtime" {
|
|
|
7257
7387
|
* - `"worker-robot-battery"`: {@link WorkerRobotBatteryTechnologyModifier}
|
|
7258
7388
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7259
7389
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7260
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7390
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TechnologyModifier.html Online documentation}
|
|
7261
7391
|
*/
|
|
7262
7392
|
export type TechnologyModifier =
|
|
7263
7393
|
| AmmoDamageTechnologyModifier
|
|
@@ -7385,7 +7515,7 @@ declare module "factorio:runtime" {
|
|
|
7385
7515
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
7386
7516
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
7387
7517
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
7388
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7518
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ResearchTrigger.html Online documentation}
|
|
7389
7519
|
*/
|
|
7390
7520
|
export type ResearchTrigger =
|
|
7391
7521
|
| CraftItemResearchTrigger
|
|
@@ -7445,7 +7575,7 @@ declare module "factorio:runtime" {
|
|
|
7445
7575
|
*
|
|
7446
7576
|
* Other attributes may be specified depending on `type`:
|
|
7447
7577
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7578
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Ingredient.html Online documentation}
|
|
7449
7579
|
*/
|
|
7450
7580
|
export type Ingredient = FluidIngredient | OtherIngredient
|
|
7451
7581
|
/**
|
|
@@ -7466,7 +7596,7 @@ declare module "factorio:runtime" {
|
|
|
7466
7596
|
* * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
|
|
7467
7597
|
* score(chunk) = 1 / (1 + player + base)
|
|
7468
7598
|
* ```
|
|
7469
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7599
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EnemyExpansionMapSettings.html Online documentation}
|
|
7470
7600
|
*/
|
|
7471
7601
|
export interface EnemyExpansionMapSettings {
|
|
7472
7602
|
/**
|
|
@@ -7739,7 +7869,7 @@ declare module "factorio:runtime" {
|
|
|
7739
7869
|
}
|
|
7740
7870
|
/**
|
|
7741
7871
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
|
7742
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7872
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapAndDifficultySettings.html Online documentation}
|
|
7743
7873
|
*/
|
|
7744
7874
|
export interface MapAndDifficultySettings {
|
|
7745
7875
|
readonly pollution: PollutionMapSettings
|
|
@@ -7760,7 +7890,7 @@ declare module "factorio:runtime" {
|
|
|
7760
7890
|
* @example
|
|
7761
7891
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7762
7892
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7763
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7893
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapSettings.html Online documentation}
|
|
7764
7894
|
*/
|
|
7765
7895
|
export interface MapSettings {
|
|
7766
7896
|
pollution: PollutionMapSettings
|
|
@@ -7772,7 +7902,7 @@ declare module "factorio:runtime" {
|
|
|
7772
7902
|
asteroids: AsteroidMapSettings
|
|
7773
7903
|
/**
|
|
7774
7904
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
7775
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7905
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
|
7776
7906
|
*/
|
|
7777
7907
|
max_failed_behavior_count: uint32
|
|
7778
7908
|
}
|
|
@@ -7801,7 +7931,7 @@ declare module "factorio:runtime" {
|
|
|
7801
7931
|
* - `"very-high"`: equivalent to `2`.
|
|
7802
7932
|
* - `"very-big"`: equivalent to `2`.
|
|
7803
7933
|
* - `"very-good"`: equivalent to `2`.
|
|
7804
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7934
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapGenSize.html Online documentation}
|
|
7805
7935
|
*/
|
|
7806
7936
|
export type MapGenSize =
|
|
7807
7937
|
| float
|
|
@@ -7823,7 +7953,7 @@ declare module "factorio:runtime" {
|
|
|
7823
7953
|
| "very-good"
|
|
7824
7954
|
/**
|
|
7825
7955
|
* These values are for the time frame of one second (60 ticks).
|
|
7826
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
7956
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PollutionMapSettings.html Online documentation}
|
|
7827
7957
|
*/
|
|
7828
7958
|
export interface PollutionMapSettings {
|
|
7829
7959
|
/**
|
|
@@ -7877,7 +8007,7 @@ declare module "factorio:runtime" {
|
|
|
7877
8007
|
}
|
|
7878
8008
|
/**
|
|
7879
8009
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
|
7880
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8010
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
|
7881
8011
|
*/
|
|
7882
8012
|
export interface EnemyEvolutionMapSettings {
|
|
7883
8013
|
/**
|
|
@@ -7899,7 +8029,7 @@ declare module "factorio:runtime" {
|
|
|
7899
8029
|
}
|
|
7900
8030
|
/**
|
|
7901
8031
|
* @see AutoplaceControlWrite
|
|
7902
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8032
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AutoplaceControl.html Online documentation}
|
|
7903
8033
|
*/
|
|
7904
8034
|
export interface AutoplaceControl {
|
|
7905
8035
|
/**
|
|
@@ -7917,7 +8047,7 @@ declare module "factorio:runtime" {
|
|
|
7917
8047
|
}
|
|
7918
8048
|
/**
|
|
7919
8049
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
|
7920
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8050
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AutoplaceControl.html Online documentation}
|
|
7921
8051
|
*/
|
|
7922
8052
|
export interface AutoplaceControlWrite {
|
|
7923
8053
|
/**
|
|
@@ -7935,7 +8065,7 @@ declare module "factorio:runtime" {
|
|
|
7935
8065
|
}
|
|
7936
8066
|
/**
|
|
7937
8067
|
* @see CliffPlacementSettingsWrite
|
|
7938
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8068
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CliffPlacementSettings.html Online documentation}
|
|
7939
8069
|
*/
|
|
7940
8070
|
export interface CliffPlacementSettings {
|
|
7941
8071
|
/**
|
|
@@ -7965,7 +8095,7 @@ declare module "factorio:runtime" {
|
|
|
7965
8095
|
}
|
|
7966
8096
|
/**
|
|
7967
8097
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
|
7968
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8098
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CliffPlacementSettings.html Online documentation}
|
|
7969
8099
|
*/
|
|
7970
8100
|
export interface CliffPlacementSettingsWrite {
|
|
7971
8101
|
/**
|
|
@@ -7995,7 +8125,7 @@ declare module "factorio:runtime" {
|
|
|
7995
8125
|
}
|
|
7996
8126
|
/**
|
|
7997
8127
|
* @see AutoplaceSettingsWrite
|
|
7998
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8128
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AutoplaceSettings.html Online documentation}
|
|
7999
8129
|
*/
|
|
8000
8130
|
export interface AutoplaceSettings {
|
|
8001
8131
|
/**
|
|
@@ -8009,7 +8139,7 @@ declare module "factorio:runtime" {
|
|
|
8009
8139
|
}
|
|
8010
8140
|
/**
|
|
8011
8141
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
|
8012
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8142
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AutoplaceSettings.html Online documentation}
|
|
8013
8143
|
*/
|
|
8014
8144
|
export interface AutoplaceSettingsWrite {
|
|
8015
8145
|
/**
|
|
@@ -8044,7 +8174,7 @@ declare module "factorio:runtime" {
|
|
|
8044
8174
|
* surface.map_gen_settings = mgs
|
|
8045
8175
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
8046
8176
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
8047
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8177
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapGenSettings.html Online documentation}
|
|
8048
8178
|
*/
|
|
8049
8179
|
export interface MapGenSettings {
|
|
8050
8180
|
/**
|
|
@@ -8099,7 +8229,7 @@ declare module "factorio:runtime" {
|
|
|
8099
8229
|
}
|
|
8100
8230
|
/**
|
|
8101
8231
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
|
8102
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8232
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapGenSettings.html Online documentation}
|
|
8103
8233
|
*/
|
|
8104
8234
|
export interface MapGenSettingsWrite {
|
|
8105
8235
|
/**
|
|
@@ -8183,12 +8313,12 @@ declare module "factorio:runtime" {
|
|
|
8183
8313
|
}
|
|
8184
8314
|
/**
|
|
8185
8315
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
|
8186
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8316
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/NoiseExpressionSourceString.html Online documentation}
|
|
8187
8317
|
*/
|
|
8188
8318
|
export type NoiseExpressionSourceString = string
|
|
8189
8319
|
/**
|
|
8190
8320
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
8191
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8321
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AutoplaceSpecification.html Online documentation}
|
|
8192
8322
|
*/
|
|
8193
8323
|
export interface AutoplaceSpecification {
|
|
8194
8324
|
readonly placement_density: uint32
|
|
@@ -8268,8 +8398,8 @@ declare module "factorio:runtime" {
|
|
|
8268
8398
|
_customEventIdBrand: any
|
|
8269
8399
|
}
|
|
8270
8400
|
/**
|
|
8271
|
-
* 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.
|
|
8272
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8401
|
+
* 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.72/events.html the list of Factorio events} for more information on these.
|
|
8402
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EventData.html Online documentation}
|
|
8273
8403
|
*/
|
|
8274
8404
|
export interface EventData {
|
|
8275
8405
|
/**
|
|
@@ -8287,7 +8417,7 @@ declare module "factorio:runtime" {
|
|
|
8287
8417
|
}
|
|
8288
8418
|
/**
|
|
8289
8419
|
* Information about an individual segment in a segmented unit when the unit died.
|
|
8290
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8420
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PostSegmentDiedData.html Online documentation}
|
|
8291
8421
|
*/
|
|
8292
8422
|
export interface PostSegmentDiedData {
|
|
8293
8423
|
/**
|
|
@@ -8333,11 +8463,11 @@ declare module "factorio:runtime" {
|
|
|
8333
8463
|
}
|
|
8334
8464
|
export interface ModChangeData {
|
|
8335
8465
|
/**
|
|
8336
|
-
* Old version of the mod.
|
|
8466
|
+
* Old version of the mod. `nil` if the mod wasn't previously present (i.e. it was just added).
|
|
8337
8467
|
*/
|
|
8338
8468
|
readonly old_version: VersionString | nil
|
|
8339
8469
|
/**
|
|
8340
|
-
* New version of the mod.
|
|
8470
|
+
* New version of the mod. `nil` if the mod is no longer present (i.e. it was just removed).
|
|
8341
8471
|
*/
|
|
8342
8472
|
readonly new_version: VersionString | nil
|
|
8343
8473
|
}
|
|
@@ -8363,29 +8493,29 @@ declare module "factorio:runtime" {
|
|
|
8363
8493
|
*/
|
|
8364
8494
|
readonly migration_applied: boolean
|
|
8365
8495
|
/**
|
|
8366
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.
|
|
8496
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.72/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.
|
|
8367
8497
|
*/
|
|
8368
8498
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8369
8499
|
}
|
|
8370
8500
|
/**
|
|
8371
8501
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
|
8372
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8502
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DifficultySettings.html Online documentation}
|
|
8373
8503
|
*/
|
|
8374
8504
|
export interface DifficultySettings {
|
|
8375
8505
|
/**
|
|
8376
8506
|
* A value in range [0.001, 1000].
|
|
8377
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8507
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
|
8378
8508
|
*/
|
|
8379
8509
|
technology_price_multiplier: double
|
|
8380
8510
|
/**
|
|
8381
8511
|
* A value in range [0.01, 100].
|
|
8382
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8512
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
|
8383
8513
|
*/
|
|
8384
8514
|
spoil_time_modifier: double
|
|
8385
8515
|
}
|
|
8386
8516
|
/**
|
|
8387
8517
|
* A single pipe connection for a given fluidbox.
|
|
8388
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8518
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PipeConnection.html Online documentation}
|
|
8389
8519
|
*/
|
|
8390
8520
|
export interface PipeConnection {
|
|
8391
8521
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -8450,7 +8580,7 @@ declare module "factorio:runtime" {
|
|
|
8450
8580
|
}
|
|
8451
8581
|
/**
|
|
8452
8582
|
* @see AsteroidChunkWrite
|
|
8453
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8583
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AsteroidChunk.html Online documentation}
|
|
8454
8584
|
*/
|
|
8455
8585
|
export interface AsteroidChunk {
|
|
8456
8586
|
/**
|
|
@@ -8462,7 +8592,7 @@ declare module "factorio:runtime" {
|
|
|
8462
8592
|
}
|
|
8463
8593
|
/**
|
|
8464
8594
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
|
8465
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8595
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AsteroidChunk.html Online documentation}
|
|
8466
8596
|
*/
|
|
8467
8597
|
export interface AsteroidChunkWrite {
|
|
8468
8598
|
/**
|
|
@@ -8474,7 +8604,7 @@ declare module "factorio:runtime" {
|
|
|
8474
8604
|
}
|
|
8475
8605
|
/**
|
|
8476
8606
|
* An item thrown overboard on a space platform.
|
|
8477
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8607
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EjectedItem.html Online documentation}
|
|
8478
8608
|
*/
|
|
8479
8609
|
export interface EjectedItem {
|
|
8480
8610
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8486,7 +8616,7 @@ declare module "factorio:runtime" {
|
|
|
8486
8616
|
}
|
|
8487
8617
|
/**
|
|
8488
8618
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
8489
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8619
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/MapExchangeStringData.html Online documentation}
|
|
8490
8620
|
*/
|
|
8491
8621
|
export interface MapExchangeStringData {
|
|
8492
8622
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8512,7 +8642,7 @@ declare module "factorio:runtime" {
|
|
|
8512
8642
|
}
|
|
8513
8643
|
/**
|
|
8514
8644
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8515
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8645
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ChunkPositionAndArea.html Online documentation}
|
|
8516
8646
|
*/
|
|
8517
8647
|
export interface ChunkPositionAndArea {
|
|
8518
8648
|
readonly x: int32
|
|
@@ -8560,7 +8690,7 @@ declare module "factorio:runtime" {
|
|
|
8560
8690
|
* - `"check-box"`
|
|
8561
8691
|
* - `"switch"`
|
|
8562
8692
|
* - `"label"`
|
|
8563
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8693
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SimulationWidgetType.html Online documentation}
|
|
8564
8694
|
*/
|
|
8565
8695
|
export type SimulationWidgetType =
|
|
8566
8696
|
| "signal-id"
|
|
@@ -8748,7 +8878,7 @@ declare module "factorio:runtime" {
|
|
|
8748
8878
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8749
8879
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8750
8880
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8751
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8881
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8752
8882
|
*/
|
|
8753
8883
|
export type SegmentedUnitAIState =
|
|
8754
8884
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8758,7 +8888,7 @@ declare module "factorio:runtime" {
|
|
|
8758
8888
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8759
8889
|
/**
|
|
8760
8890
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
|
8761
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
8891
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8762
8892
|
*/
|
|
8763
8893
|
export type SegmentedUnitAIStateWrite =
|
|
8764
8894
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8906,7 +9036,7 @@ declare module "factorio:runtime" {
|
|
|
8906
9036
|
/**
|
|
8907
9037
|
* 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].
|
|
8908
9038
|
* @see ColorModifierArray
|
|
8909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9039
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ColorModifier.html Online documentation}
|
|
8910
9040
|
*/
|
|
8911
9041
|
export interface ColorModifier {
|
|
8912
9042
|
readonly r?: float
|
|
@@ -8917,7 +9047,7 @@ declare module "factorio:runtime" {
|
|
|
8917
9047
|
/**
|
|
8918
9048
|
* Array form of {@link ColorModifier}.
|
|
8919
9049
|
* @see ColorModifier
|
|
8920
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9050
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ColorModifier.html Online documentation}
|
|
8921
9051
|
*/
|
|
8922
9052
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8923
9053
|
export interface Decorative {
|
|
@@ -8936,7 +9066,7 @@ declare module "factorio:runtime" {
|
|
|
8936
9066
|
/**
|
|
8937
9067
|
* An area defined using the map editor.
|
|
8938
9068
|
* @see ScriptAreaWrite
|
|
8939
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9069
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptArea.html Online documentation}
|
|
8940
9070
|
*/
|
|
8941
9071
|
export interface ScriptArea {
|
|
8942
9072
|
readonly area: BoundingBox
|
|
@@ -8946,7 +9076,7 @@ declare module "factorio:runtime" {
|
|
|
8946
9076
|
}
|
|
8947
9077
|
/**
|
|
8948
9078
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
|
8949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9079
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptArea.html Online documentation}
|
|
8950
9080
|
*/
|
|
8951
9081
|
export interface ScriptAreaWrite {
|
|
8952
9082
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8957,7 +9087,7 @@ declare module "factorio:runtime" {
|
|
|
8957
9087
|
/**
|
|
8958
9088
|
* A position defined using the map editor.
|
|
8959
9089
|
* @see ScriptPositionWrite
|
|
8960
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9090
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptPosition.html Online documentation}
|
|
8961
9091
|
*/
|
|
8962
9092
|
export interface ScriptPosition {
|
|
8963
9093
|
readonly position: MapPosition
|
|
@@ -8967,7 +9097,7 @@ declare module "factorio:runtime" {
|
|
|
8967
9097
|
}
|
|
8968
9098
|
/**
|
|
8969
9099
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
|
8970
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9100
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ScriptPosition.html Online documentation}
|
|
8971
9101
|
*/
|
|
8972
9102
|
export interface ScriptPositionWrite {
|
|
8973
9103
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8977,7 +9107,7 @@ declare module "factorio:runtime" {
|
|
|
8977
9107
|
}
|
|
8978
9108
|
/**
|
|
8979
9109
|
* A table used to define a manual shape for a piece of equipment.
|
|
8980
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9110
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentPoint.html Online documentation}
|
|
8981
9111
|
*/
|
|
8982
9112
|
export interface EquipmentPoint {
|
|
8983
9113
|
readonly x: uint32
|
|
@@ -8986,7 +9116,7 @@ declare module "factorio:runtime" {
|
|
|
8986
9116
|
/**
|
|
8987
9117
|
* 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.
|
|
8988
9118
|
* @see GuiLocationArray
|
|
8989
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9119
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/GuiLocation.html Online documentation}
|
|
8990
9120
|
*/
|
|
8991
9121
|
export interface GuiLocation {
|
|
8992
9122
|
readonly x: int32
|
|
@@ -8995,7 +9125,7 @@ declare module "factorio:runtime" {
|
|
|
8995
9125
|
/**
|
|
8996
9126
|
* Array form of {@link GuiLocation}.
|
|
8997
9127
|
* @see GuiLocation
|
|
8998
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9128
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/GuiLocation.html Online documentation}
|
|
8999
9129
|
*/
|
|
9000
9130
|
export type GuiLocationArray = readonly [int32, int32]
|
|
9001
9131
|
export interface TabAndContent {
|
|
@@ -9024,7 +9154,7 @@ declare module "factorio:runtime" {
|
|
|
9024
9154
|
}
|
|
9025
9155
|
/**
|
|
9026
9156
|
* Either `icon`, `text`, or both must be provided.
|
|
9027
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9157
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ChartTagSpec.html Online documentation}
|
|
9028
9158
|
*/
|
|
9029
9159
|
export interface ChartTagSpec {
|
|
9030
9160
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -9153,7 +9283,7 @@ declare module "factorio:runtime" {
|
|
|
9153
9283
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
9154
9284
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
9155
9285
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
9156
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9286
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrainPathRequestType.html Online documentation}
|
|
9157
9287
|
*/
|
|
9158
9288
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
9159
9289
|
/**
|
|
@@ -9162,7 +9292,7 @@ declare module "factorio:runtime" {
|
|
|
9162
9292
|
* - {@link RailEndGoal}
|
|
9163
9293
|
* - {@link LuaRailEnd}
|
|
9164
9294
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
|
9165
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9295
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TrainPathFinderGoal.html Online documentation}
|
|
9166
9296
|
*/
|
|
9167
9297
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
9168
9298
|
export interface TrainStopGoal {
|
|
@@ -9357,7 +9487,7 @@ declare module "factorio:runtime" {
|
|
|
9357
9487
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
9358
9488
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
9359
9489
|
* @see EventFilterWrite
|
|
9360
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9490
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EventFilter.html Online documentation}
|
|
9361
9491
|
*/
|
|
9362
9492
|
export type EventFilter =
|
|
9363
9493
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -9392,7 +9522,7 @@ declare module "factorio:runtime" {
|
|
|
9392
9522
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
9393
9523
|
/**
|
|
9394
9524
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
|
9395
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9525
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EventFilter.html Online documentation}
|
|
9396
9526
|
*/
|
|
9397
9527
|
export type EventFilterWrite =
|
|
9398
9528
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -9427,7 +9557,7 @@ declare module "factorio:runtime" {
|
|
|
9427
9557
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
9428
9558
|
/**
|
|
9429
9559
|
* @see CircuitConditionDefinitionWrite
|
|
9430
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9560
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CircuitConditionDefinition.html Online documentation}
|
|
9431
9561
|
*/
|
|
9432
9562
|
export interface CircuitConditionDefinition {
|
|
9433
9563
|
/**
|
|
@@ -9453,7 +9583,7 @@ declare module "factorio:runtime" {
|
|
|
9453
9583
|
}
|
|
9454
9584
|
/**
|
|
9455
9585
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
|
9456
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9586
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CircuitConditionDefinition.html Online documentation}
|
|
9457
9587
|
*/
|
|
9458
9588
|
export interface CircuitConditionDefinitionWrite {
|
|
9459
9589
|
/**
|
|
@@ -9503,7 +9633,7 @@ declare module "factorio:runtime" {
|
|
|
9503
9633
|
* - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
|
|
9504
9634
|
* - {@link LuaTerritory}: Target type {@link defines.target_type.territory territory}
|
|
9505
9635
|
* - {@link LuaSegmentedUnit}: Target type {@link defines.target_type.segmented_unit segmented_unit}; `useful_id` {@link LuaSegmentedUnit#unit_number LuaSegmentedUnit::unit_number}
|
|
9506
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9636
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RegistrationTarget.html Online documentation}
|
|
9507
9637
|
*/
|
|
9508
9638
|
export type RegistrationTarget =
|
|
9509
9639
|
| LuaEntity
|
|
@@ -9574,7 +9704,7 @@ declare module "factorio:runtime" {
|
|
|
9574
9704
|
* - `"surface"`
|
|
9575
9705
|
* - `"mod-data"`
|
|
9576
9706
|
* - `"custom-event"`
|
|
9577
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9707
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/IDType.html Online documentation}
|
|
9578
9708
|
*/
|
|
9579
9709
|
export type IDType =
|
|
9580
9710
|
| "custom-input"
|
|
@@ -9619,9 +9749,15 @@ declare module "factorio:runtime" {
|
|
|
9619
9749
|
| "surface"
|
|
9620
9750
|
| "mod-data"
|
|
9621
9751
|
| "custom-event"
|
|
9752
|
+
export interface BlueprintQualityID {
|
|
9753
|
+
/**
|
|
9754
|
+
* The name of the quality prototype. Defaults to `"normal"`.
|
|
9755
|
+
*/
|
|
9756
|
+
readonly name?: string
|
|
9757
|
+
}
|
|
9622
9758
|
/**
|
|
9623
9759
|
* An item prototype with optional quality specification.
|
|
9624
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9760
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation}
|
|
9625
9761
|
*/
|
|
9626
9762
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9627
9763
|
/**
|
|
@@ -9649,7 +9785,7 @@ declare module "factorio:runtime" {
|
|
|
9649
9785
|
}
|
|
9650
9786
|
/**
|
|
9651
9787
|
* @see EntityIDFilterWrite
|
|
9652
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9788
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityIDFilter.html Online documentation}
|
|
9653
9789
|
*/
|
|
9654
9790
|
export interface EntityIDFilter {
|
|
9655
9791
|
/**
|
|
@@ -9667,7 +9803,7 @@ declare module "factorio:runtime" {
|
|
|
9667
9803
|
}
|
|
9668
9804
|
/**
|
|
9669
9805
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
|
9670
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9806
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityIDFilter.html Online documentation}
|
|
9671
9807
|
*/
|
|
9672
9808
|
export interface EntityIDFilterWrite {
|
|
9673
9809
|
/**
|
|
@@ -9702,7 +9838,7 @@ declare module "factorio:runtime" {
|
|
|
9702
9838
|
* - {@link FluidPrototypeFilter}
|
|
9703
9839
|
* - {@link EntityPrototypeFilter}
|
|
9704
9840
|
* @see PrototypeFilterWrite
|
|
9705
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9841
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PrototypeFilter.html Online documentation}
|
|
9706
9842
|
*/
|
|
9707
9843
|
export type PrototypeFilter =
|
|
9708
9844
|
| ModSettingPrototypeFilter[]
|
|
@@ -9719,7 +9855,7 @@ declare module "factorio:runtime" {
|
|
|
9719
9855
|
| EntityPrototypeFilter[]
|
|
9720
9856
|
/**
|
|
9721
9857
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
9722
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9858
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PrototypeFilter.html Online documentation}
|
|
9723
9859
|
*/
|
|
9724
9860
|
export type PrototypeFilterWrite =
|
|
9725
9861
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -9738,7 +9874,7 @@ declare module "factorio:runtime" {
|
|
|
9738
9874
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9739
9875
|
*
|
|
9740
9876
|
* By default, none of these flags are set.
|
|
9741
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9877
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityPrototypeFlags.html Online documentation}
|
|
9742
9878
|
*/
|
|
9743
9879
|
export type EntityPrototypeFlags = {
|
|
9744
9880
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9772,7 +9908,7 @@ declare module "factorio:runtime" {
|
|
|
9772
9908
|
* - `"building-direction-16-way"`
|
|
9773
9909
|
* - `"snap-to-rail-support-spot"`
|
|
9774
9910
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
|
9775
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9911
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityPrototypeFlag.html Online documentation}
|
|
9776
9912
|
*/
|
|
9777
9913
|
export type EntityPrototypeFlag =
|
|
9778
9914
|
| "not-rotatable"
|
|
@@ -9802,7 +9938,7 @@ declare module "factorio:runtime" {
|
|
|
9802
9938
|
| "not-in-made-in"
|
|
9803
9939
|
/**
|
|
9804
9940
|
* A single filter used by an infinity-pipe type entity.
|
|
9805
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9941
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/InfinityPipeFilter.html Online documentation}
|
|
9806
9942
|
*/
|
|
9807
9943
|
export interface InfinityPipeFilter {
|
|
9808
9944
|
/**
|
|
@@ -9832,7 +9968,7 @@ declare module "factorio:runtime" {
|
|
|
9832
9968
|
}
|
|
9833
9969
|
/**
|
|
9834
9970
|
* @see ProgrammableSpeakerParametersWrite
|
|
9835
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9971
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9836
9972
|
*/
|
|
9837
9973
|
export interface ProgrammableSpeakerParameters {
|
|
9838
9974
|
readonly playback_volume: float
|
|
@@ -9843,7 +9979,7 @@ declare module "factorio:runtime" {
|
|
|
9843
9979
|
}
|
|
9844
9980
|
/**
|
|
9845
9981
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
|
9846
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9982
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9847
9983
|
*/
|
|
9848
9984
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9849
9985
|
readonly playback_volume: float
|
|
@@ -9859,12 +9995,12 @@ declare module "factorio:runtime" {
|
|
|
9859
9995
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9860
9996
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9861
9997
|
* - `"global"`: The sound can be heard everywhere.
|
|
9862
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
9998
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
|
9863
9999
|
*/
|
|
9864
10000
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9865
10001
|
/**
|
|
9866
10002
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9867
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10003
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9868
10004
|
*/
|
|
9869
10005
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9870
10006
|
readonly show_alert: boolean
|
|
@@ -9874,7 +10010,7 @@ declare module "factorio:runtime" {
|
|
|
9874
10010
|
}
|
|
9875
10011
|
/**
|
|
9876
10012
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
|
9877
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10013
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9878
10014
|
*/
|
|
9879
10015
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9880
10016
|
readonly show_alert: boolean
|
|
@@ -9889,7 +10025,7 @@ declare module "factorio:runtime" {
|
|
|
9889
10025
|
readonly note_id: uint32
|
|
9890
10026
|
}
|
|
9891
10027
|
export interface BlueprintMiningDrillFilter {
|
|
9892
|
-
readonly filters?: SlotFilter
|
|
10028
|
+
readonly filters?: SlotFilter[]
|
|
9893
10029
|
/**
|
|
9894
10030
|
* Defaults to `"whitelist"`.
|
|
9895
10031
|
*/
|
|
@@ -9902,12 +10038,12 @@ declare module "factorio:runtime" {
|
|
|
9902
10038
|
* - `"exactly"`
|
|
9903
10039
|
* - `"add"`
|
|
9904
10040
|
* - `"remove"`
|
|
9905
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10041
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/HeatSettingMode.html Online documentation}
|
|
9906
10042
|
*/
|
|
9907
10043
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9908
10044
|
/**
|
|
9909
10045
|
* The settings used by a heat-interface type entity.
|
|
9910
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10046
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/HeatSetting.html Online documentation}
|
|
9911
10047
|
*/
|
|
9912
10048
|
export interface HeatSetting {
|
|
9913
10049
|
/**
|
|
@@ -9941,7 +10077,7 @@ declare module "factorio:runtime" {
|
|
|
9941
10077
|
* - `"none-to-south"`
|
|
9942
10078
|
* - `"south-to-none"`
|
|
9943
10079
|
* - `"none-to-north"`
|
|
9944
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10080
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/CliffOrientation.html Online documentation}
|
|
9945
10081
|
*/
|
|
9946
10082
|
export type CliffOrientation =
|
|
9947
10083
|
| "west-to-east"
|
|
@@ -9971,7 +10107,7 @@ declare module "factorio:runtime" {
|
|
|
9971
10107
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9972
10108
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9973
10109
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9974
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10110
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ValveMode.html Online documentation}
|
|
9975
10111
|
*/
|
|
9976
10112
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9977
10113
|
/**
|
|
@@ -9979,7 +10115,7 @@ declare module "factorio:runtime" {
|
|
|
9979
10115
|
* - `"fresh_first"`
|
|
9980
10116
|
* - `"none"`
|
|
9981
10117
|
* - `"spoiled_first"`
|
|
9982
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10118
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SpoilPriority.html Online documentation}
|
|
9983
10119
|
*/
|
|
9984
10120
|
export type SpoilPriority = "fresh_first" | "none" | "spoiled_first"
|
|
9985
10121
|
export interface SpiderLegSpecification {
|
|
@@ -9999,7 +10135,7 @@ declare module "factorio:runtime" {
|
|
|
9999
10135
|
}
|
|
10000
10136
|
/**
|
|
10001
10137
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
10002
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10138
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
10003
10139
|
*/
|
|
10004
10140
|
export interface BlueprintInfinityInventorySettings {
|
|
10005
10141
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -10010,7 +10146,7 @@ declare module "factorio:runtime" {
|
|
|
10010
10146
|
}
|
|
10011
10147
|
/**
|
|
10012
10148
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
|
10013
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10149
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
10014
10150
|
*/
|
|
10015
10151
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
10016
10152
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -10054,7 +10190,7 @@ declare module "factorio:runtime" {
|
|
|
10054
10190
|
}
|
|
10055
10191
|
/**
|
|
10056
10192
|
* Defines an item type that a blueprint entity will request.
|
|
10057
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10193
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintInsertPlan.html Online documentation}
|
|
10058
10194
|
*/
|
|
10059
10195
|
export interface BlueprintInsertPlan {
|
|
10060
10196
|
/**
|
|
@@ -10092,7 +10228,7 @@ declare module "factorio:runtime" {
|
|
|
10092
10228
|
}
|
|
10093
10229
|
/**
|
|
10094
10230
|
* A single offer on a market entity.
|
|
10095
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10231
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Offer.html Online documentation}
|
|
10096
10232
|
*/
|
|
10097
10233
|
export interface Offer {
|
|
10098
10234
|
/**
|
|
@@ -10138,7 +10274,7 @@ declare module "factorio:runtime" {
|
|
|
10138
10274
|
/**
|
|
10139
10275
|
* A single filter used by an infinity-filters instance.
|
|
10140
10276
|
* @see InfinityInventoryFilterWrite
|
|
10141
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10277
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/InfinityInventoryFilter.html Online documentation}
|
|
10142
10278
|
*/
|
|
10143
10279
|
export interface InfinityInventoryFilter {
|
|
10144
10280
|
/**
|
|
@@ -10164,7 +10300,7 @@ declare module "factorio:runtime" {
|
|
|
10164
10300
|
}
|
|
10165
10301
|
/**
|
|
10166
10302
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
|
10167
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10303
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/InfinityInventoryFilter.html Online documentation}
|
|
10168
10304
|
*/
|
|
10169
10305
|
export interface InfinityInventoryFilterWrite {
|
|
10170
10306
|
/**
|
|
@@ -10228,14 +10364,14 @@ declare module "factorio:runtime" {
|
|
|
10228
10364
|
*
|
|
10229
10365
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
10230
10366
|
*
|
|
10231
|
-
* {@link https://lua-api.factorio.com/2.0.
|
|
10367
|
+
* {@link https://lua-api.factorio.com/2.0.72/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
|
10232
10368
|
*
|
|
10233
|
-
* {@link https://lua-api.factorio.com/2.0.
|
|
10369
|
+
* {@link https://lua-api.factorio.com/2.0.72/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
|
10234
10370
|
*
|
|
10235
|
-
* {@link https://lua-api.factorio.com/2.0.
|
|
10371
|
+
* {@link https://lua-api.factorio.com/2.0.72/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
|
10236
10372
|
*
|
|
10237
|
-
* {@link https://lua-api.factorio.com/2.0.
|
|
10238
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10373
|
+
* {@link https://lua-api.factorio.com/2.0.72/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
|
10374
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SoundPath.html Online documentation}
|
|
10239
10375
|
*/
|
|
10240
10376
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
10241
10377
|
/**
|
|
@@ -10253,7 +10389,7 @@ declare module "factorio:runtime" {
|
|
|
10253
10389
|
* - `"weapon"`
|
|
10254
10390
|
* - `"explosion"`
|
|
10255
10391
|
* - `"enemy"`
|
|
10256
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10392
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SoundType.html Online documentation}
|
|
10257
10393
|
*/
|
|
10258
10394
|
export type SoundType =
|
|
10259
10395
|
| "game-effect"
|
|
@@ -10294,7 +10430,7 @@ declare module "factorio:runtime" {
|
|
|
10294
10430
|
}
|
|
10295
10431
|
/**
|
|
10296
10432
|
* @see BlueprintLogisticFilterWrite
|
|
10297
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10433
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10298
10434
|
*/
|
|
10299
10435
|
export interface BlueprintLogisticFilter {
|
|
10300
10436
|
readonly index: LogisticFilterIndex
|
|
@@ -10324,7 +10460,7 @@ declare module "factorio:runtime" {
|
|
|
10324
10460
|
}
|
|
10325
10461
|
/**
|
|
10326
10462
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
10327
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10463
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10328
10464
|
*/
|
|
10329
10465
|
export interface BlueprintLogisticFilterWrite {
|
|
10330
10466
|
readonly index: LogisticFilterIndex
|
|
@@ -10354,7 +10490,7 @@ declare module "factorio:runtime" {
|
|
|
10354
10490
|
}
|
|
10355
10491
|
/**
|
|
10356
10492
|
* @see BlueprintLogisticSectionsWrite
|
|
10357
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10493
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10358
10494
|
*/
|
|
10359
10495
|
export interface BlueprintLogisticSections {
|
|
10360
10496
|
readonly sections?: LogisticSection[]
|
|
@@ -10369,7 +10505,7 @@ declare module "factorio:runtime" {
|
|
|
10369
10505
|
}
|
|
10370
10506
|
/**
|
|
10371
10507
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10372
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10508
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10373
10509
|
*/
|
|
10374
10510
|
export interface BlueprintLogisticSectionsWrite {
|
|
10375
10511
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10384,7 +10520,7 @@ declare module "factorio:runtime" {
|
|
|
10384
10520
|
}
|
|
10385
10521
|
/**
|
|
10386
10522
|
* @see LogisticSectionWrite
|
|
10387
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10523
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticSection.html Online documentation}
|
|
10388
10524
|
*/
|
|
10389
10525
|
export interface LogisticSection {
|
|
10390
10526
|
readonly index: uint8
|
|
@@ -10401,7 +10537,7 @@ declare module "factorio:runtime" {
|
|
|
10401
10537
|
}
|
|
10402
10538
|
/**
|
|
10403
10539
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
10404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10540
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticSection.html Online documentation}
|
|
10405
10541
|
*/
|
|
10406
10542
|
export interface LogisticSectionWrite {
|
|
10407
10543
|
readonly index: uint8
|
|
@@ -10422,7 +10558,7 @@ declare module "factorio:runtime" {
|
|
|
10422
10558
|
}
|
|
10423
10559
|
/**
|
|
10424
10560
|
* @see LogisticSectionsWrite
|
|
10425
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10561
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticSections.html Online documentation}
|
|
10426
10562
|
*/
|
|
10427
10563
|
export interface LogisticSections {
|
|
10428
10564
|
readonly sections?: LogisticSection[]
|
|
@@ -10433,7 +10569,7 @@ declare module "factorio:runtime" {
|
|
|
10433
10569
|
}
|
|
10434
10570
|
/**
|
|
10435
10571
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10436
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10572
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LogisticSections.html Online documentation}
|
|
10437
10573
|
*/
|
|
10438
10574
|
export interface LogisticSectionsWrite {
|
|
10439
10575
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10456,7 +10592,7 @@ declare module "factorio:runtime" {
|
|
|
10456
10592
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10457
10593
|
* - {@link LuaVirtualSignalPrototype}
|
|
10458
10594
|
* - {@link LuaSurfacePrototype}
|
|
10459
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10595
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FactoriopediaID.html Online documentation}
|
|
10460
10596
|
*/
|
|
10461
10597
|
export type FactoriopediaID =
|
|
10462
10598
|
| LuaItemPrototype
|
|
@@ -10477,7 +10613,7 @@ declare module "factorio:runtime" {
|
|
|
10477
10613
|
* ## Union members
|
|
10478
10614
|
* - `"horizontal"`
|
|
10479
10615
|
* - `"vertical"`
|
|
10480
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10616
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/GuiDirection.html Online documentation}
|
|
10481
10617
|
*/
|
|
10482
10618
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10483
10619
|
/**
|
|
@@ -10496,7 +10632,7 @@ declare module "factorio:runtime" {
|
|
|
10496
10632
|
* - `"middle-right"`
|
|
10497
10633
|
* - `"right"`: The same as `"middle-right"`
|
|
10498
10634
|
* - `"bottom-right"`
|
|
10499
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10635
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Alignment.html Online documentation}
|
|
10500
10636
|
*/
|
|
10501
10637
|
export type Alignment =
|
|
10502
10638
|
| "top-left"
|
|
@@ -10555,7 +10691,7 @@ declare module "factorio:runtime" {
|
|
|
10555
10691
|
}
|
|
10556
10692
|
/**
|
|
10557
10693
|
* A set of trigger target masks.
|
|
10558
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10694
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TriggerTargetMask.html Online documentation}
|
|
10559
10695
|
*/
|
|
10560
10696
|
export type TriggerTargetMask = Record<string, true>
|
|
10561
10697
|
export interface AttackReactionItem {
|
|
@@ -10625,7 +10761,7 @@ declare module "factorio:runtime" {
|
|
|
10625
10761
|
* - `"destroy-decoratives"`
|
|
10626
10762
|
* - `"camera-effect"`
|
|
10627
10763
|
* - `"activate-impact"`
|
|
10628
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10764
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TriggerEffectItemType.html Online documentation}
|
|
10629
10765
|
*/
|
|
10630
10766
|
export type TriggerEffectItemType =
|
|
10631
10767
|
| "damage"
|
|
@@ -10758,7 +10894,7 @@ declare module "factorio:runtime" {
|
|
|
10758
10894
|
* Other attributes may be specified depending on `type`:
|
|
10759
10895
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
10760
10896
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
10761
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10897
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AttackParameters.html Online documentation}
|
|
10762
10898
|
*/
|
|
10763
10899
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
10764
10900
|
/**
|
|
@@ -10766,7 +10902,7 @@ declare module "factorio:runtime" {
|
|
|
10766
10902
|
* - `"left"`
|
|
10767
10903
|
* - `"none"`
|
|
10768
10904
|
* - `"right"`
|
|
10769
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10905
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SplitterPriority.html Online documentation}
|
|
10770
10906
|
*/
|
|
10771
10907
|
export type SplitterPriority = "left" | "none" | "right"
|
|
10772
10908
|
/**
|
|
@@ -10777,12 +10913,12 @@ declare module "factorio:runtime" {
|
|
|
10777
10913
|
* Tables inside Tags that have numeric keys but are not sequences (e.g. `tags = {foo = {nil, "something"}}` or `tags = {bar = {[4] = "cat"}}`) will have their keys converted to strings when read back from the game (e.g. `{foo = {["2"] = "something"}}` or `{bar = {["4"] = "cat"}}`). Only sequences without gaps will have their keys maintained as numeric.
|
|
10778
10914
|
* @example
|
|
10779
10915
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
10780
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10916
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Tags.html Online documentation}
|
|
10781
10917
|
*/
|
|
10782
10918
|
export type Tags = Record<string, AnyBasic>
|
|
10783
10919
|
/**
|
|
10784
10920
|
* @see TileWrite
|
|
10785
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10921
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Tile.html Online documentation}
|
|
10786
10922
|
*/
|
|
10787
10923
|
export interface Tile {
|
|
10788
10924
|
/**
|
|
@@ -10796,7 +10932,7 @@ declare module "factorio:runtime" {
|
|
|
10796
10932
|
}
|
|
10797
10933
|
/**
|
|
10798
10934
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
|
10799
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10935
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Tile.html Online documentation}
|
|
10800
10936
|
*/
|
|
10801
10937
|
export interface TileWrite {
|
|
10802
10938
|
/**
|
|
@@ -10820,99 +10956,99 @@ declare module "factorio:runtime" {
|
|
|
10820
10956
|
}
|
|
10821
10957
|
/**
|
|
10822
10958
|
* 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.
|
|
10823
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10959
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/float.html Online documentation}
|
|
10824
10960
|
*/
|
|
10825
10961
|
export type float = number
|
|
10826
10962
|
/**
|
|
10827
10963
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
|
10828
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10964
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/double.html Online documentation}
|
|
10829
10965
|
*/
|
|
10830
10966
|
export type double = number
|
|
10831
10967
|
/**
|
|
10832
10968
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
10833
10969
|
*
|
|
10834
10970
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
|
10835
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10971
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/uint8.html Online documentation}
|
|
10836
10972
|
*/
|
|
10837
10973
|
export type uint8 = number
|
|
10838
10974
|
/**
|
|
10839
10975
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
10840
10976
|
*
|
|
10841
10977
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
|
10842
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10978
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/int8.html Online documentation}
|
|
10843
10979
|
*/
|
|
10844
10980
|
export type int8 = number
|
|
10845
10981
|
/**
|
|
10846
10982
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
10847
10983
|
*
|
|
10848
10984
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
|
10849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10985
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/uint16.html Online documentation}
|
|
10850
10986
|
*/
|
|
10851
10987
|
export type uint16 = number
|
|
10852
10988
|
/**
|
|
10853
10989
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
10854
10990
|
*
|
|
10855
10991
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
|
10856
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10992
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/int16.html Online documentation}
|
|
10857
10993
|
*/
|
|
10858
10994
|
export type int16 = number
|
|
10859
10995
|
/**
|
|
10860
10996
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
10861
10997
|
*
|
|
10862
10998
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
|
10863
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
10999
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/uint32.html Online documentation}
|
|
10864
11000
|
*/
|
|
10865
11001
|
export type uint32 = number
|
|
10866
11002
|
/**
|
|
10867
11003
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
10868
11004
|
*
|
|
10869
11005
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
|
10870
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11006
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/int32.html Online documentation}
|
|
10871
11007
|
*/
|
|
10872
11008
|
export type int32 = number
|
|
10873
11009
|
/**
|
|
10874
11010
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
10875
11011
|
*
|
|
10876
11012
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
|
10877
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11013
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/uint64.html Online documentation}
|
|
10878
11014
|
*/
|
|
10879
11015
|
export type uint64 = number
|
|
10880
11016
|
/**
|
|
10881
11017
|
* 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.
|
|
10882
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11018
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/nil.html Online documentation}
|
|
10883
11019
|
*/
|
|
10884
11020
|
export type nil = undefined
|
|
10885
11021
|
/**
|
|
10886
11022
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
10887
11023
|
*
|
|
10888
11024
|
* 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.
|
|
10889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11025
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/table.html Online documentation}
|
|
10890
11026
|
*/
|
|
10891
11027
|
export type table = object
|
|
10892
11028
|
/**
|
|
10893
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.
|
|
10894
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11029
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.72/classes.html Classes} page.
|
|
11030
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaObject.html Online documentation}
|
|
10895
11031
|
*/
|
|
10896
11032
|
export interface LuaObject {
|
|
10897
11033
|
readonly object_name: string
|
|
10898
11034
|
}
|
|
10899
11035
|
/**
|
|
10900
11036
|
* Any basic type (string, number, boolean) or table.
|
|
10901
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11037
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AnyBasic.html Online documentation}
|
|
10902
11038
|
*/
|
|
10903
11039
|
export type AnyBasic = string | boolean | number | table
|
|
10904
11040
|
/**
|
|
10905
11041
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
10906
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11042
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/Any.html Online documentation}
|
|
10907
11043
|
*/
|
|
10908
11044
|
export type Any = string | boolean | number | table | LuaObject
|
|
10909
11045
|
/**
|
|
10910
11046
|
* 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}`.
|
|
10911
11047
|
*
|
|
10912
|
-
* {@link https://lua-api.factorio.com/2.0.
|
|
11048
|
+
* {@link https://lua-api.factorio.com/2.0.72/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:}
|
|
10913
11049
|
*
|
|
10914
|
-
* {@link https://lua-api.factorio.com/2.0.
|
|
10915
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11050
|
+
* {@link https://lua-api.factorio.com/2.0.72/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:}
|
|
11051
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/PropertyExpressionNames.html Online documentation}
|
|
10916
11052
|
*/
|
|
10917
11053
|
export type PropertyExpressionNames = Record<string, string>
|
|
10918
11054
|
/**
|
|
@@ -10969,7 +11105,7 @@ declare module "factorio:runtime" {
|
|
|
10969
11105
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
10970
11106
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
10971
11107
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
10972
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11108
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ModSettingPrototypeFilter.html Online documentation}
|
|
10973
11109
|
*/
|
|
10974
11110
|
export type ModSettingPrototypeFilter =
|
|
10975
11111
|
| TypeModSettingPrototypeFilter
|
|
@@ -11033,7 +11169,7 @@ declare module "factorio:runtime" {
|
|
|
11033
11169
|
* Other attributes may be specified depending on `filter`:
|
|
11034
11170
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
11035
11171
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
11036
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11172
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
11037
11173
|
*/
|
|
11038
11174
|
export type SpaceLocationPrototypeFilter =
|
|
11039
11175
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -11041,7 +11177,7 @@ declare module "factorio:runtime" {
|
|
|
11041
11177
|
| OtherSpaceLocationPrototypeFilter
|
|
11042
11178
|
/**
|
|
11043
11179
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11044
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11180
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
11045
11181
|
*/
|
|
11046
11182
|
export type SpaceLocationPrototypeFilterWrite =
|
|
11047
11183
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -11089,7 +11225,7 @@ declare module "factorio:runtime" {
|
|
|
11089
11225
|
*
|
|
11090
11226
|
* Other attributes may be specified depending on `filter`:
|
|
11091
11227
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
11092
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11228
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/DecorativePrototypeFilter.html Online documentation}
|
|
11093
11229
|
*/
|
|
11094
11230
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
11095
11231
|
/**
|
|
@@ -11231,7 +11367,7 @@ declare module "factorio:runtime" {
|
|
|
11231
11367
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
11232
11368
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
11233
11369
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
11234
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11370
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TilePrototypeFilter.html Online documentation}
|
|
11235
11371
|
*/
|
|
11236
11372
|
export type TilePrototypeFilter =
|
|
11237
11373
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -11242,7 +11378,7 @@ declare module "factorio:runtime" {
|
|
|
11242
11378
|
| OtherTilePrototypeFilter
|
|
11243
11379
|
/**
|
|
11244
11380
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11245
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11381
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TilePrototypeFilter.html Online documentation}
|
|
11246
11382
|
*/
|
|
11247
11383
|
export type TilePrototypeFilterWrite =
|
|
11248
11384
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -11597,7 +11733,7 @@ declare module "factorio:runtime" {
|
|
|
11597
11733
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
11598
11734
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
11599
11735
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
11600
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11736
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemPrototypeFilter.html Online documentation}
|
|
11601
11737
|
*/
|
|
11602
11738
|
export type ItemPrototypeFilter =
|
|
11603
11739
|
| PlaceResultItemPrototypeFilter
|
|
@@ -11619,7 +11755,7 @@ declare module "factorio:runtime" {
|
|
|
11619
11755
|
| OtherItemPrototypeFilter
|
|
11620
11756
|
/**
|
|
11621
11757
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11622
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11758
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/ItemPrototypeFilter.html Online documentation}
|
|
11623
11759
|
*/
|
|
11624
11760
|
export type ItemPrototypeFilterWrite =
|
|
11625
11761
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -11759,7 +11895,7 @@ declare module "factorio:runtime" {
|
|
|
11759
11895
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
11760
11896
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
11761
11897
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
11762
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11898
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
11763
11899
|
*/
|
|
11764
11900
|
export type TechnologyPrototypeFilter =
|
|
11765
11901
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -11770,7 +11906,7 @@ declare module "factorio:runtime" {
|
|
|
11770
11906
|
| OtherTechnologyPrototypeFilter
|
|
11771
11907
|
/**
|
|
11772
11908
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11773
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
11909
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
11774
11910
|
*/
|
|
11775
11911
|
export type TechnologyPrototypeFilterWrite =
|
|
11776
11912
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -12030,7 +12166,7 @@ declare module "factorio:runtime" {
|
|
|
12030
12166
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
12031
12167
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
12032
12168
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
12033
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12169
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RecipePrototypeFilter.html Online documentation}
|
|
12034
12170
|
*/
|
|
12035
12171
|
export type RecipePrototypeFilter =
|
|
12036
12172
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -12046,7 +12182,7 @@ declare module "factorio:runtime" {
|
|
|
12046
12182
|
| OtherRecipePrototypeFilter
|
|
12047
12183
|
/**
|
|
12048
12184
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
12049
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12185
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/RecipePrototypeFilter.html Online documentation}
|
|
12050
12186
|
*/
|
|
12051
12187
|
export type RecipePrototypeFilterWrite =
|
|
12052
12188
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -12098,7 +12234,7 @@ declare module "factorio:runtime" {
|
|
|
12098
12234
|
*
|
|
12099
12235
|
* Other attributes may be specified depending on `filter`:
|
|
12100
12236
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
12101
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12237
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/AchievementPrototypeFilter.html Online documentation}
|
|
12102
12238
|
*/
|
|
12103
12239
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
12104
12240
|
/**
|
|
@@ -12139,7 +12275,7 @@ declare module "factorio:runtime" {
|
|
|
12139
12275
|
*
|
|
12140
12276
|
* Other attributes may be specified depending on `filter`:
|
|
12141
12277
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
12142
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12278
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EquipmentPrototypeFilter.html Online documentation}
|
|
12143
12279
|
*/
|
|
12144
12280
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
12145
12281
|
/**
|
|
@@ -12324,7 +12460,7 @@ declare module "factorio:runtime" {
|
|
|
12324
12460
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
12325
12461
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
12326
12462
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
12327
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12463
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FluidPrototypeFilter.html Online documentation}
|
|
12328
12464
|
*/
|
|
12329
12465
|
export type FluidPrototypeFilter =
|
|
12330
12466
|
| NameFluidPrototypeFilter
|
|
@@ -12338,7 +12474,7 @@ declare module "factorio:runtime" {
|
|
|
12338
12474
|
| OtherFluidPrototypeFilter
|
|
12339
12475
|
/**
|
|
12340
12476
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
12341
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12477
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/FluidPrototypeFilter.html Online documentation}
|
|
12342
12478
|
*/
|
|
12343
12479
|
export type FluidPrototypeFilterWrite =
|
|
12344
12480
|
| NameFluidPrototypeFilter
|
|
@@ -12578,7 +12714,7 @@ declare module "factorio:runtime" {
|
|
|
12578
12714
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
12579
12715
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
12580
12716
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
12581
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12717
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityPrototypeFilter.html Online documentation}
|
|
12582
12718
|
*/
|
|
12583
12719
|
export type EntityPrototypeFilter =
|
|
12584
12720
|
| NameEntityPrototypeFilter
|
|
@@ -12592,7 +12728,7 @@ declare module "factorio:runtime" {
|
|
|
12592
12728
|
| OtherEntityPrototypeFilter
|
|
12593
12729
|
/**
|
|
12594
12730
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
12595
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12731
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/EntityPrototypeFilter.html Online documentation}
|
|
12596
12732
|
*/
|
|
12597
12733
|
export type EntityPrototypeFilterWrite =
|
|
12598
12734
|
| NameEntityPrototypeFilter
|
|
@@ -12636,7 +12772,7 @@ declare module "factorio:runtime" {
|
|
|
12636
12772
|
*
|
|
12637
12773
|
* Other attributes may be specified depending on `filter`:
|
|
12638
12774
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
12639
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12775
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
|
12640
12776
|
*/
|
|
12641
12777
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
12642
12778
|
/**
|
|
@@ -12736,7 +12872,7 @@ declare module "factorio:runtime" {
|
|
|
12736
12872
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
12737
12873
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
12738
12874
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
12739
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12875
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
|
12740
12876
|
*/
|
|
12741
12877
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
12742
12878
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -12841,7 +12977,7 @@ declare module "factorio:runtime" {
|
|
|
12841
12977
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
12842
12978
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
12843
12979
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
12844
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
12980
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
|
12845
12981
|
*/
|
|
12846
12982
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
12847
12983
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -12946,7 +13082,7 @@ declare module "factorio:runtime" {
|
|
|
12946
13082
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
12947
13083
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
12948
13084
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
12949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13085
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
|
12950
13086
|
*/
|
|
12951
13087
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
12952
13088
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -13051,7 +13187,7 @@ declare module "factorio:runtime" {
|
|
|
13051
13187
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
13052
13188
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
13053
13189
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
13054
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13190
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
|
13055
13191
|
*/
|
|
13056
13192
|
export type LuaPlatformMinedEntityEventFilter =
|
|
13057
13193
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -13168,7 +13304,7 @@ declare module "factorio:runtime" {
|
|
|
13168
13304
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
13169
13305
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
13170
13306
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
13171
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13307
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
|
13172
13308
|
*/
|
|
13173
13309
|
export type LuaRobotBuiltEntityEventFilter =
|
|
13174
13310
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -13274,7 +13410,7 @@ declare module "factorio:runtime" {
|
|
|
13274
13410
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
13275
13411
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
13276
13412
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
13277
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13413
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
|
13278
13414
|
*/
|
|
13279
13415
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
13280
13416
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -13381,7 +13517,7 @@ declare module "factorio:runtime" {
|
|
|
13381
13517
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
13382
13518
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
13383
13519
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
13384
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13520
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
|
13385
13521
|
*/
|
|
13386
13522
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
13387
13523
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -13486,7 +13622,7 @@ declare module "factorio:runtime" {
|
|
|
13486
13622
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
13487
13623
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
13488
13624
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
13489
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13625
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
|
13490
13626
|
*/
|
|
13491
13627
|
export type LuaPreGhostUpgradedEventFilter =
|
|
13492
13628
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -13603,7 +13739,7 @@ declare module "factorio:runtime" {
|
|
|
13603
13739
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
13604
13740
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
13605
13741
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
13606
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13742
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
|
13607
13743
|
*/
|
|
13608
13744
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
13609
13745
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -13709,7 +13845,7 @@ declare module "factorio:runtime" {
|
|
|
13709
13845
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
13710
13846
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
13711
13847
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
13712
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13848
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
|
13713
13849
|
*/
|
|
13714
13850
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
13715
13851
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -13814,7 +13950,7 @@ declare module "factorio:runtime" {
|
|
|
13814
13950
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
13815
13951
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
13816
13952
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
13817
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
13953
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
|
13818
13954
|
*/
|
|
13819
13955
|
export type LuaEntityClonedEventFilter =
|
|
13820
13956
|
| TypeEntityClonedEventFilter
|
|
@@ -13919,7 +14055,7 @@ declare module "factorio:runtime" {
|
|
|
13919
14055
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
13920
14056
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
13921
14057
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
13922
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14058
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
|
13923
14059
|
*/
|
|
13924
14060
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
13925
14061
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -13959,7 +14095,7 @@ declare module "factorio:runtime" {
|
|
|
13959
14095
|
*
|
|
13960
14096
|
* Other attributes may be specified depending on `filter`:
|
|
13961
14097
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
13962
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14098
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
|
13963
14099
|
*/
|
|
13964
14100
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
13965
14101
|
/**
|
|
@@ -13995,7 +14131,7 @@ declare module "factorio:runtime" {
|
|
|
13995
14131
|
*
|
|
13996
14132
|
* Other attributes may be specified depending on `filter`:
|
|
13997
14133
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
13998
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14134
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
|
13999
14135
|
*/
|
|
14000
14136
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
14001
14137
|
/**
|
|
@@ -14102,7 +14238,7 @@ declare module "factorio:runtime" {
|
|
|
14102
14238
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
14103
14239
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
14104
14240
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
14105
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14241
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
14106
14242
|
*/
|
|
14107
14243
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
14108
14244
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -14112,7 +14248,7 @@ declare module "factorio:runtime" {
|
|
|
14112
14248
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
14113
14249
|
/**
|
|
14114
14250
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
14115
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14251
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
14116
14252
|
*/
|
|
14117
14253
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
14118
14254
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -14217,7 +14353,7 @@ declare module "factorio:runtime" {
|
|
|
14217
14353
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
14218
14354
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
14219
14355
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
14220
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14356
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
|
14221
14357
|
*/
|
|
14222
14358
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
14223
14359
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -14322,7 +14458,7 @@ declare module "factorio:runtime" {
|
|
|
14322
14458
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
14323
14459
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
14324
14460
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
14325
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14461
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
|
14326
14462
|
*/
|
|
14327
14463
|
export type LuaPlayerMinedEntityEventFilter =
|
|
14328
14464
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -14427,7 +14563,7 @@ declare module "factorio:runtime" {
|
|
|
14427
14563
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
14428
14564
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
14429
14565
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
14430
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14566
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
|
14431
14567
|
*/
|
|
14432
14568
|
export type LuaSectorScannedEventFilter =
|
|
14433
14569
|
| TypeSectorScannedEventFilter
|
|
@@ -14532,7 +14668,7 @@ declare module "factorio:runtime" {
|
|
|
14532
14668
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
14533
14669
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
14534
14670
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
14535
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14671
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
|
14536
14672
|
*/
|
|
14537
14673
|
export type LuaRobotMinedEntityEventFilter =
|
|
14538
14674
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -14639,7 +14775,7 @@ declare module "factorio:runtime" {
|
|
|
14639
14775
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
14640
14776
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
14641
14777
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
14642
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14778
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
|
14643
14779
|
*/
|
|
14644
14780
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
14645
14781
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -14679,7 +14815,7 @@ declare module "factorio:runtime" {
|
|
|
14679
14815
|
*
|
|
14680
14816
|
* Other attributes may be specified depending on `filter`:
|
|
14681
14817
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
14682
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14818
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
|
14683
14819
|
*/
|
|
14684
14820
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
14685
14821
|
/**
|
|
@@ -14779,7 +14915,7 @@ declare module "factorio:runtime" {
|
|
|
14779
14915
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
14780
14916
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
14781
14917
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
14782
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
14918
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
|
14783
14919
|
*/
|
|
14784
14920
|
export type LuaScriptRaisedReviveEventFilter =
|
|
14785
14921
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -14896,7 +15032,7 @@ declare module "factorio:runtime" {
|
|
|
14896
15032
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
14897
15033
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
14898
15034
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
14899
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15035
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
|
14900
15036
|
*/
|
|
14901
15037
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
14902
15038
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -15002,7 +15138,7 @@ declare module "factorio:runtime" {
|
|
|
15002
15138
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
15003
15139
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
15004
15140
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
15005
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15141
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
|
15006
15142
|
*/
|
|
15007
15143
|
export type LuaUpgradeCancelledEventFilter =
|
|
15008
15144
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -15182,7 +15318,7 @@ declare module "factorio:runtime" {
|
|
|
15182
15318
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
15183
15319
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
15184
15320
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
15185
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15321
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
15186
15322
|
*/
|
|
15187
15323
|
export type LuaEntityDamagedEventFilter =
|
|
15188
15324
|
| TypeEntityDamagedEventFilter
|
|
@@ -15196,7 +15332,7 @@ declare module "factorio:runtime" {
|
|
|
15196
15332
|
| OtherEntityDamagedEventFilter
|
|
15197
15333
|
/**
|
|
15198
15334
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
15199
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15335
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
15200
15336
|
*/
|
|
15201
15337
|
export type LuaEntityDamagedEventFilterWrite =
|
|
15202
15338
|
| TypeEntityDamagedEventFilter
|
|
@@ -15317,7 +15453,7 @@ declare module "factorio:runtime" {
|
|
|
15317
15453
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
15318
15454
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
15319
15455
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
15320
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15456
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
|
15321
15457
|
*/
|
|
15322
15458
|
export type LuaEntityDiedEventFilter =
|
|
15323
15459
|
| TypeEntityDiedEventFilter
|
|
@@ -15423,7 +15559,7 @@ declare module "factorio:runtime" {
|
|
|
15423
15559
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
15424
15560
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
15425
15561
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
15426
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15562
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
|
15427
15563
|
*/
|
|
15428
15564
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
15429
15565
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -15474,7 +15610,7 @@ declare module "factorio:runtime" {
|
|
|
15474
15610
|
* Other attributes may be specified depending on `filter`:
|
|
15475
15611
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
15476
15612
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
15477
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15613
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
|
15478
15614
|
*/
|
|
15479
15615
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
15480
15616
|
| NameSegmentedUnitCreatedEventFilter
|
|
@@ -15576,7 +15712,7 @@ declare module "factorio:runtime" {
|
|
|
15576
15712
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
15577
15713
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
15578
15714
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
15579
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
15715
|
+
* @see {@link https://lua-api.factorio.com/2.0.72/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
|
15580
15716
|
*/
|
|
15581
15717
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
15582
15718
|
| TypeScriptRaisedDestroyEventFilter
|