typed-factorio 3.28.1 → 3.29.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 +2223 -2203
- package/prototype/generated/types.d.ts +2145 -2145
- package/runtime/generated/classes.d.ts +4048 -4038
- package/runtime/generated/concepts.d.ts +411 -411
- package/runtime/generated/defines.d.ts +214 -214
- package/runtime/generated/events.d.ts +217 -217
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +7 -7
@@ -12,7 +12,7 @@ import type { VersionString } from "factorio:common"
|
|
12
12
|
declare module "factorio:runtime" {
|
13
13
|
/**
|
14
14
|
* Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is `1/2^16`.
|
15
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/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.65/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.65/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.65/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.65/concepts/SpritePath.html > The supported types are:}
|
107
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/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.65/concepts/RenderLayer.html Online documentation}
|
372
372
|
*/
|
373
373
|
export type RenderLayer =
|
374
374
|
| `${bigint}`
|
@@ -445,7 +445,7 @@ declare module "factorio:runtime" {
|
|
445
445
|
| "cursor"
|
446
446
|
/**
|
447
447
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
448
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapViewSettings.html Online documentation}
|
449
449
|
*/
|
450
450
|
export interface MapViewSettings {
|
451
451
|
readonly "show-logistic-network"?: boolean
|
@@ -475,7 +475,7 @@ declare module "factorio:runtime" {
|
|
475
475
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
476
476
|
* - `"spidertron-remote-selected"`
|
477
477
|
* - `"spidertron-remote-to-be-selected"`
|
478
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
478
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CursorBoxRenderType.html Online documentation}
|
479
479
|
*/
|
480
480
|
export type CursorBoxRenderType =
|
481
481
|
| "entity"
|
@@ -493,7 +493,7 @@ declare module "factorio:runtime" {
|
|
493
493
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
494
494
|
* @example
|
495
495
|
* "is_lower_object"
|
496
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
496
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CollisionLayerID.html Online documentation}
|
497
497
|
*/
|
498
498
|
export type CollisionLayerID = string
|
499
499
|
/**
|
@@ -505,7 +505,7 @@ declare module "factorio:runtime" {
|
|
505
505
|
* - `"always"`
|
506
506
|
* - `"auto"`
|
507
507
|
* - `"auto-and-reserve-space"`
|
508
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
508
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScrollPolicy.html Online documentation}
|
509
509
|
*/
|
510
510
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
511
511
|
/**
|
@@ -523,7 +523,7 @@ declare module "factorio:runtime" {
|
|
523
523
|
* - `"button-7"`
|
524
524
|
* - `"button-8"`
|
525
525
|
* - `"button-9"`
|
526
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
526
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MouseButtonFlags.html Online documentation}
|
527
527
|
*/
|
528
528
|
export interface MouseButtonFlags {
|
529
529
|
readonly left?: true
|
@@ -544,7 +544,7 @@ declare module "factorio:runtime" {
|
|
544
544
|
* - `"left"`
|
545
545
|
* - `"right"`
|
546
546
|
* - `"none"`
|
547
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
547
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SwitchState.html Online documentation}
|
548
548
|
*/
|
549
549
|
export type SwitchState = "left" | "right" | "none"
|
550
550
|
/**
|
@@ -574,7 +574,7 @@ declare module "factorio:runtime" {
|
|
574
574
|
* - `"tabbed-pane"`: A collection of `tab`s and their contents. Relevant event: {@link OnGuiSelectedTabChangedEvent on_gui_selected_tab_changed}
|
575
575
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
576
576
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
577
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
577
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/GuiElementType.html Online documentation}
|
578
578
|
*/
|
579
579
|
export type GuiElementType =
|
580
580
|
| "button"
|
@@ -637,7 +637,7 @@ declare module "factorio:runtime" {
|
|
637
637
|
* - `"entity-with-quality"`
|
638
638
|
* - `"recipe-with-quality"`
|
639
639
|
* - `"equipment-with-quality"`
|
640
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
640
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ElemType.html Online documentation}
|
641
641
|
*/
|
642
642
|
export type ElemType =
|
643
643
|
| "achievement"
|
@@ -677,13 +677,13 @@ declare module "factorio:runtime" {
|
|
677
677
|
* @see VectorTable
|
678
678
|
* @example
|
679
679
|
* right = {1.0, 0.0}
|
680
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
680
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Vector.html Online documentation}
|
681
681
|
*/
|
682
682
|
export type Vector = readonly [float, float]
|
683
683
|
/**
|
684
684
|
* Table form of {@link Vector}.
|
685
685
|
* @see Vector
|
686
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
686
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Vector.html Online documentation}
|
687
687
|
*/
|
688
688
|
export interface VectorTable {
|
689
689
|
readonly x: float
|
@@ -692,7 +692,7 @@ declare module "factorio:runtime" {
|
|
692
692
|
/**
|
693
693
|
* Coordinates of a chunk in a {@link LuaSurface} where each integer `x`/`y` represents a different chunk. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys. A {@link MapPosition} can be translated to a ChunkPosition by dividing the `x`/`y` values by 32.
|
694
694
|
* @see ChunkPositionArray
|
695
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
695
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ChunkPosition.html Online documentation}
|
696
696
|
*/
|
697
697
|
export interface ChunkPosition {
|
698
698
|
readonly x: int
|
@@ -701,7 +701,7 @@ declare module "factorio:runtime" {
|
|
701
701
|
/**
|
702
702
|
* Array form of {@link ChunkPosition}.
|
703
703
|
* @see ChunkPosition
|
704
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
704
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ChunkPosition.html Online documentation}
|
705
705
|
*/
|
706
706
|
export type ChunkPositionArray = readonly [int, int]
|
707
707
|
export interface ItemStackLocation {
|
@@ -725,7 +725,7 @@ declare module "factorio:runtime" {
|
|
725
725
|
/**
|
726
726
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
727
727
|
* @see ItemFilterWrite
|
728
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
728
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemFilter.html Online documentation}
|
729
729
|
*/
|
730
730
|
export type ItemFilter =
|
731
731
|
| {
|
@@ -745,7 +745,7 @@ declare module "factorio:runtime" {
|
|
745
745
|
| string
|
746
746
|
/**
|
747
747
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
748
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
748
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemFilter.html Online documentation}
|
749
749
|
*/
|
750
750
|
export type ItemFilterWrite =
|
751
751
|
| {
|
@@ -1001,7 +1001,7 @@ declare module "factorio:runtime" {
|
|
1001
1001
|
* - {@link defines.command.stop}: {@link StopCommand}
|
1002
1002
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
1003
1003
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
1004
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1004
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Command.html Online documentation}
|
1005
1005
|
*/
|
1006
1006
|
export type Command =
|
1007
1007
|
| AttackCommand
|
@@ -1015,7 +1015,7 @@ declare module "factorio:runtime" {
|
|
1015
1015
|
| BuildBaseCommand
|
1016
1016
|
/**
|
1017
1017
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
1018
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1018
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Command.html Online documentation}
|
1019
1019
|
*/
|
1020
1020
|
export type CommandWrite =
|
1021
1021
|
| AttackCommand
|
@@ -1092,7 +1092,7 @@ declare module "factorio:runtime" {
|
|
1092
1092
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
1093
1093
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
1094
1094
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
1095
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1095
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/GuiArrowSpecification.html Online documentation}
|
1096
1096
|
*/
|
1097
1097
|
export type GuiArrowSpecification =
|
1098
1098
|
| EntityGuiArrowSpecification
|
@@ -1112,7 +1112,7 @@ declare module "factorio:runtime" {
|
|
1112
1112
|
* - `"position"`
|
1113
1113
|
* - `"crafting_queue"`
|
1114
1114
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
1115
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1115
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/GuiArrowType.html Online documentation}
|
1116
1116
|
*/
|
1117
1117
|
export type GuiArrowType =
|
1118
1118
|
| "nowhere"
|
@@ -1128,7 +1128,7 @@ declare module "factorio:runtime" {
|
|
1128
1128
|
*
|
1129
1129
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
1130
1130
|
* @see Vector3DArray
|
1131
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1131
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Vector3D.html Online documentation}
|
1132
1132
|
*/
|
1133
1133
|
export interface Vector3D {
|
1134
1134
|
readonly x: float
|
@@ -1138,7 +1138,7 @@ declare module "factorio:runtime" {
|
|
1138
1138
|
/**
|
1139
1139
|
* Array form of {@link Vector3D}.
|
1140
1140
|
* @see Vector3D
|
1141
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1141
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Vector3D.html Online documentation}
|
1142
1142
|
*/
|
1143
1143
|
export type Vector3DArray = readonly [float, float, float]
|
1144
1144
|
export interface RidingState {
|
@@ -1172,7 +1172,7 @@ declare module "factorio:runtime" {
|
|
1172
1172
|
}
|
1173
1173
|
/**
|
1174
1174
|
* @see TrainScheduleWrite
|
1175
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1175
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrainSchedule.html Online documentation}
|
1176
1176
|
*/
|
1177
1177
|
export interface TrainSchedule {
|
1178
1178
|
/**
|
@@ -1183,7 +1183,7 @@ declare module "factorio:runtime" {
|
|
1183
1183
|
}
|
1184
1184
|
/**
|
1185
1185
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
1186
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1186
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrainSchedule.html Online documentation}
|
1187
1187
|
*/
|
1188
1188
|
export interface TrainScheduleWrite {
|
1189
1189
|
/**
|
@@ -1194,7 +1194,7 @@ declare module "factorio:runtime" {
|
|
1194
1194
|
}
|
1195
1195
|
/**
|
1196
1196
|
* @see PlatformScheduleWrite
|
1197
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1197
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PlatformSchedule.html Online documentation}
|
1198
1198
|
*/
|
1199
1199
|
export interface PlatformSchedule {
|
1200
1200
|
/**
|
@@ -1205,7 +1205,7 @@ declare module "factorio:runtime" {
|
|
1205
1205
|
}
|
1206
1206
|
/**
|
1207
1207
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
1208
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1208
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PlatformSchedule.html Online documentation}
|
1209
1209
|
*/
|
1210
1210
|
export interface PlatformScheduleWrite {
|
1211
1211
|
/**
|
@@ -1230,7 +1230,7 @@ declare module "factorio:runtime" {
|
|
1230
1230
|
}
|
1231
1231
|
/**
|
1232
1232
|
* A recipe prototype with optional quality specification.
|
1233
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1233
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
1234
1234
|
*/
|
1235
1235
|
export interface RecipeIDAndQualityIDPair {
|
1236
1236
|
/**
|
@@ -1274,7 +1274,7 @@ declare module "factorio:runtime" {
|
|
1274
1274
|
}
|
1275
1275
|
/**
|
1276
1276
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
1277
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1277
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SegmentEngineSpecification.html Online documentation}
|
1278
1278
|
*/
|
1279
1279
|
export interface SegmentEngineSpecification {
|
1280
1280
|
/**
|
@@ -1288,7 +1288,7 @@ declare module "factorio:runtime" {
|
|
1288
1288
|
}
|
1289
1289
|
/**
|
1290
1290
|
* A runtime representation of {@link SegmentSpecification}.
|
1291
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1291
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SegmentSpecification.html Online documentation}
|
1292
1292
|
*/
|
1293
1293
|
export interface SegmentSpecification {
|
1294
1294
|
/**
|
@@ -1302,7 +1302,7 @@ declare module "factorio:runtime" {
|
|
1302
1302
|
}
|
1303
1303
|
/**
|
1304
1304
|
* A runtime representation of {@link TileBuildabilityRule}.
|
1305
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1305
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TileBuildabilityRule.html Online documentation}
|
1306
1306
|
*/
|
1307
1307
|
export interface TileBuildabilityRule {
|
1308
1308
|
/**
|
@@ -1329,7 +1329,7 @@ declare module "factorio:runtime" {
|
|
1329
1329
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
1330
1330
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
1331
1331
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
1332
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1332
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ForceID.html Online documentation}
|
1333
1333
|
*/
|
1334
1334
|
export type ForceID = string | uint8 | LuaForce
|
1335
1335
|
/**
|
@@ -1339,7 +1339,7 @@ declare module "factorio:runtime" {
|
|
1339
1339
|
* - `string`: The fluid name.
|
1340
1340
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
1341
1341
|
* - {@link Fluid}: The fluid.
|
1342
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1342
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FluidID.html Online documentation}
|
1343
1343
|
*/
|
1344
1344
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
1345
1345
|
/**
|
@@ -1350,12 +1350,12 @@ declare module "factorio:runtime" {
|
|
1350
1350
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
1351
1351
|
* - `string`: The prototype name. Normal quality will be used.
|
1352
1352
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
1353
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1353
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityWithQualityID.html Online documentation}
|
1354
1354
|
*/
|
1355
1355
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
1356
1356
|
/**
|
1357
1357
|
* An entity prototype with optional quality specification.
|
1358
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1358
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
1359
1359
|
*/
|
1360
1360
|
export interface EntityIDAndQualityIDPair {
|
1361
1361
|
/**
|
@@ -1376,18 +1376,18 @@ declare module "factorio:runtime" {
|
|
1376
1376
|
* - `string`: The prototype name. Normal quality will be used.
|
1377
1377
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
1378
1378
|
* @see ItemWithQualityIDWrite
|
1379
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1379
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemWithQualityID.html Online documentation}
|
1380
1380
|
*/
|
1381
1381
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPair
|
1382
1382
|
/**
|
1383
1383
|
* Write form of {@link ItemWithQualityID}, where some properties allow additional values as input compared to the read form.
|
1384
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1384
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemWithQualityID.html Online documentation}
|
1385
1385
|
*/
|
1386
1386
|
export type ItemWithQualityIDWrite = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
1387
1387
|
/**
|
1388
1388
|
* An item prototype with optional quality specification.
|
1389
1389
|
* @see ItemIDAndQualityIDPairWrite
|
1390
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1390
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
1391
1391
|
*/
|
1392
1392
|
export interface ItemIDAndQualityIDPair {
|
1393
1393
|
/**
|
@@ -1401,7 +1401,7 @@ declare module "factorio:runtime" {
|
|
1401
1401
|
}
|
1402
1402
|
/**
|
1403
1403
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
1404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1404
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
1405
1405
|
*/
|
1406
1406
|
export interface ItemIDAndQualityIDPairWrite {
|
1407
1407
|
/**
|
@@ -1421,7 +1421,7 @@ declare module "factorio:runtime" {
|
|
1421
1421
|
* - {@link LuaItemStack}: Non empty item stack.
|
1422
1422
|
* - {@link LuaItem}: The item.
|
1423
1423
|
* - `string`: The prototype name.
|
1424
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1424
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemID.html Online documentation}
|
1425
1425
|
*/
|
1426
1426
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
1427
1427
|
/**
|
@@ -1431,7 +1431,7 @@ declare module "factorio:runtime" {
|
|
1431
1431
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
1432
1432
|
* - {@link LuaEntity}: The entity.
|
1433
1433
|
* - `string`: The prototype name.
|
1434
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1434
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityID.html Online documentation}
|
1435
1435
|
*/
|
1436
1436
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
1437
1437
|
/**
|
@@ -1441,7 +1441,7 @@ declare module "factorio:runtime" {
|
|
1441
1441
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
1442
1442
|
* - {@link LuaTechnology}: Instance of the technology.
|
1443
1443
|
* - `string`: The prototype name.
|
1444
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1444
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TechnologyID.html Online documentation}
|
1445
1445
|
*/
|
1446
1446
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
1447
1447
|
/**
|
@@ -1450,7 +1450,7 @@ declare module "factorio:runtime" {
|
|
1450
1450
|
* ## Union members
|
1451
1451
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
1452
1452
|
* - `string`: The prototype name.
|
1453
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1453
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ParticleID.html Online documentation}
|
1454
1454
|
*/
|
1455
1455
|
export type ParticleID = LuaParticlePrototype | string
|
1456
1456
|
/**
|
@@ -1459,7 +1459,7 @@ declare module "factorio:runtime" {
|
|
1459
1459
|
* ## Union members
|
1460
1460
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
1461
1461
|
* - `string`: The prototype name.
|
1462
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1462
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DamageTypeID.html Online documentation}
|
1463
1463
|
*/
|
1464
1464
|
export type DamageTypeID = LuaDamagePrototype | string
|
1465
1465
|
/**
|
@@ -1468,7 +1468,7 @@ declare module "factorio:runtime" {
|
|
1468
1468
|
* ## Union members
|
1469
1469
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
1470
1470
|
* - `string`: The prototype name.
|
1471
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1471
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrivialSmokeID.html Online documentation}
|
1472
1472
|
*/
|
1473
1473
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
1474
1474
|
/**
|
@@ -1480,7 +1480,7 @@ declare module "factorio:runtime" {
|
|
1480
1480
|
* - `"left"`
|
1481
1481
|
* - `"right"`
|
1482
1482
|
* - `"center"`
|
1483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1483
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TextAlign.html Online documentation}
|
1484
1484
|
*/
|
1485
1485
|
export type TextAlign = "left" | "right" | "center"
|
1486
1486
|
/**
|
@@ -1493,7 +1493,7 @@ declare module "factorio:runtime" {
|
|
1493
1493
|
* - `"middle"`
|
1494
1494
|
* - `"baseline"`
|
1495
1495
|
* - `"bottom"`
|
1496
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1496
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/VerticalTextAlign.html Online documentation}
|
1497
1497
|
*/
|
1498
1498
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
1499
1499
|
/**
|
@@ -1502,7 +1502,7 @@ declare module "factorio:runtime" {
|
|
1502
1502
|
* ## Union members
|
1503
1503
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
1504
1504
|
* - `string`: The prototype name.
|
1505
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1505
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/QualityID.html Online documentation}
|
1506
1506
|
*/
|
1507
1507
|
export type QualityID = LuaQualityPrototype | string
|
1508
1508
|
/**
|
@@ -1511,7 +1511,7 @@ declare module "factorio:runtime" {
|
|
1511
1511
|
* ## Union members
|
1512
1512
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
1513
1513
|
* - `string`: By name of the recipe category prototype.
|
1514
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1514
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RecipeCategoryID.html Online documentation}
|
1515
1515
|
*/
|
1516
1516
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
1517
1517
|
/**
|
@@ -1521,7 +1521,7 @@ declare module "factorio:runtime" {
|
|
1521
1521
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
1522
1522
|
* - {@link LuaRecipe}: By instance of recipe.
|
1523
1523
|
* - `string`: By name of the recipe prototype.
|
1524
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1524
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RecipeID.html Online documentation}
|
1525
1525
|
*/
|
1526
1526
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
1527
1527
|
/**
|
@@ -1531,7 +1531,7 @@ declare module "factorio:runtime" {
|
|
1531
1531
|
* - {@link LuaTilePrototype}: By tile prototype.
|
1532
1532
|
* - {@link LuaTile}: By instance of tile.
|
1533
1533
|
* - `string`: By name of the tile prototype.
|
1534
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1534
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TileID.html Online documentation}
|
1535
1535
|
*/
|
1536
1536
|
export type TileID = LuaTilePrototype | LuaTile | string
|
1537
1537
|
export interface Fluid {
|
@@ -1555,7 +1555,7 @@ declare module "factorio:runtime" {
|
|
1555
1555
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
1556
1556
|
* - {@link LuaEquipment}: The equipment.
|
1557
1557
|
* - `string`: The prototype name.
|
1558
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1558
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentID.html Online documentation}
|
1559
1559
|
*/
|
1560
1560
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
1561
1561
|
/**
|
@@ -1567,12 +1567,12 @@ declare module "factorio:runtime" {
|
|
1567
1567
|
* - `string`: The prototype name. Normal quality will be used.
|
1568
1568
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
1569
1569
|
* @see EquipmentWithQualityIDWrite
|
1570
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1570
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentWithQualityID.html Online documentation}
|
1571
1571
|
*/
|
1572
1572
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
1573
1573
|
/**
|
1574
1574
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
1575
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1575
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentWithQualityID.html Online documentation}
|
1576
1576
|
*/
|
1577
1577
|
export type EquipmentWithQualityIDWrite =
|
1578
1578
|
| LuaEquipmentPrototype
|
@@ -1582,7 +1582,7 @@ declare module "factorio:runtime" {
|
|
1582
1582
|
/**
|
1583
1583
|
* An equipment prototype with optional quality specification.
|
1584
1584
|
* @see EquipmentIDAndQualityIDPairWrite
|
1585
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1585
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
1586
1586
|
*/
|
1587
1587
|
export interface EquipmentIDAndQualityIDPair {
|
1588
1588
|
/**
|
@@ -1596,7 +1596,7 @@ declare module "factorio:runtime" {
|
|
1596
1596
|
}
|
1597
1597
|
/**
|
1598
1598
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
1599
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1599
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
1600
1600
|
*/
|
1601
1601
|
export interface EquipmentIDAndQualityIDPairWrite {
|
1602
1602
|
/**
|
@@ -1643,7 +1643,7 @@ declare module "factorio:runtime" {
|
|
1643
1643
|
* @example
|
1644
1644
|
* -- Shorthand
|
1645
1645
|
* {{-2, -3}, {5, 8}}
|
1646
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1646
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BoundingBox.html Online documentation}
|
1647
1647
|
*/
|
1648
1648
|
export interface BoundingBox {
|
1649
1649
|
readonly left_top: MapPosition
|
@@ -1653,7 +1653,7 @@ declare module "factorio:runtime" {
|
|
1653
1653
|
/**
|
1654
1654
|
* Array form of {@link BoundingBox}.
|
1655
1655
|
* @see BoundingBox
|
1656
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1656
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BoundingBox.html Online documentation}
|
1657
1657
|
*/
|
1658
1658
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
1659
1659
|
export interface BoundingBoxWrite {
|
@@ -1686,7 +1686,7 @@ declare module "factorio:runtime" {
|
|
1686
1686
|
* - SurfaceIndex: It will be the index of the surface. `nauvis` has index `1`, the first surface-created surface will have index `2` and so on.
|
1687
1687
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
1688
1688
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
1689
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1689
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SurfaceIdentification.html Online documentation}
|
1690
1690
|
*/
|
1691
1691
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
1692
1692
|
/**
|
@@ -1696,13 +1696,13 @@ declare module "factorio:runtime" {
|
|
1696
1696
|
* - PlayerIndex: The player index.
|
1697
1697
|
* - `string`: The player name.
|
1698
1698
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
1699
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1699
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PlayerIdentification.html Online documentation}
|
1700
1700
|
*/
|
1701
1701
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
1702
1702
|
/**
|
1703
1703
|
* ## Union members
|
1704
1704
|
* - {@link LuaSpacePlatform}
|
1705
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1705
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpacePlatformIdentification.html Online documentation}
|
1706
1706
|
*/
|
1707
1707
|
export type SpacePlatformIdentification = LuaSpacePlatform
|
1708
1708
|
/**
|
@@ -1712,12 +1712,12 @@ declare module "factorio:runtime" {
|
|
1712
1712
|
* - {@link LuaForce}[]: Array of many forces.
|
1713
1713
|
* - {@link LuaForce}: A single force.
|
1714
1714
|
* @see ForceSetWrite
|
1715
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1715
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ForceSet.html Online documentation}
|
1716
1716
|
*/
|
1717
1717
|
export type ForceSet = LuaForce[] | LuaForce
|
1718
1718
|
/**
|
1719
1719
|
* Write form of {@link ForceSet}, where some properties allow additional values as input compared to the read form.
|
1720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1720
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ForceSet.html Online documentation}
|
1721
1721
|
*/
|
1722
1722
|
export type ForceSetWrite = readonly ForceID[] | ForceID
|
1723
1723
|
/**
|
@@ -1726,7 +1726,7 @@ declare module "factorio:runtime" {
|
|
1726
1726
|
* ## Union members
|
1727
1727
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
1728
1728
|
* - `string`: The prototype name.
|
1729
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1729
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DecorativeID.html Online documentation}
|
1730
1730
|
*/
|
1731
1731
|
export type DecorativeID = LuaDecorativePrototype | string
|
1732
1732
|
/**
|
@@ -1735,7 +1735,7 @@ declare module "factorio:runtime" {
|
|
1735
1735
|
* ## Union members
|
1736
1736
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
1737
1737
|
* - `string`: The prototype name.
|
1738
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1738
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AsteroidChunkID.html Online documentation}
|
1739
1739
|
*/
|
1740
1740
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
1741
1741
|
/**
|
@@ -1744,13 +1744,13 @@ declare module "factorio:runtime" {
|
|
1744
1744
|
* ## Union members
|
1745
1745
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
1746
1746
|
* - `string`: The prototype name.
|
1747
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1747
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpaceLocationID.html Online documentation}
|
1748
1748
|
*/
|
1749
1749
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
1750
1750
|
/**
|
1751
1751
|
* A signal filter may be specified in two ways, either as a string which is a virtual signal name or item prototype name or as a table.
|
1752
1752
|
* @see SignalFilterWrite
|
1753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1753
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SignalFilter.html Online documentation}
|
1754
1754
|
*/
|
1755
1755
|
export type SignalFilter =
|
1756
1756
|
| {
|
@@ -1774,7 +1774,7 @@ declare module "factorio:runtime" {
|
|
1774
1774
|
| string
|
1775
1775
|
/**
|
1776
1776
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
1777
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1777
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SignalFilter.html Online documentation}
|
1778
1778
|
*/
|
1779
1779
|
export type SignalFilterWrite =
|
1780
1780
|
| {
|
@@ -1798,7 +1798,7 @@ declare module "factorio:runtime" {
|
|
1798
1798
|
| string
|
1799
1799
|
/**
|
1800
1800
|
* @see LogisticFilterWrite
|
1801
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1801
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticFilter.html Online documentation}
|
1802
1802
|
*/
|
1803
1803
|
export interface LogisticFilter {
|
1804
1804
|
/**
|
@@ -1824,7 +1824,7 @@ declare module "factorio:runtime" {
|
|
1824
1824
|
}
|
1825
1825
|
/**
|
1826
1826
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
1827
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1827
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticFilter.html Online documentation}
|
1828
1828
|
*/
|
1829
1829
|
export interface LogisticFilterWrite {
|
1830
1830
|
/**
|
@@ -1887,23 +1887,23 @@ declare module "factorio:runtime" {
|
|
1887
1887
|
* ## Union members
|
1888
1888
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
1889
1889
|
* - `string`: The prototype name.
|
1890
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1890
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SurfacePropertyID.html Online documentation}
|
1891
1891
|
*/
|
1892
1892
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
1893
1893
|
/**
|
1894
1894
|
* When writing it is possible to give LuaEntity or MapPosition directly. However, reading always returns the full ScriptRenderTargetTable.
|
1895
1895
|
* @see ScriptRenderTargetWrite
|
1896
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1896
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptRenderTarget.html Online documentation}
|
1897
1897
|
*/
|
1898
1898
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
1899
1899
|
/**
|
1900
1900
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
1901
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1901
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptRenderTarget.html Online documentation}
|
1902
1902
|
*/
|
1903
1903
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
1904
1904
|
/**
|
1905
1905
|
* @see ScriptRenderTargetTableWrite
|
1906
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1906
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptRenderTargetTable.html Online documentation}
|
1907
1907
|
*/
|
1908
1908
|
export interface ScriptRenderTargetTable {
|
1909
1909
|
readonly entity?: LuaEntity
|
@@ -1918,7 +1918,7 @@ declare module "factorio:runtime" {
|
|
1918
1918
|
}
|
1919
1919
|
/**
|
1920
1920
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
1921
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1921
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptRenderTargetTable.html Online documentation}
|
1922
1922
|
*/
|
1923
1923
|
export interface ScriptRenderTargetTableWrite {
|
1924
1924
|
readonly entity?: LuaEntity
|
@@ -1950,13 +1950,13 @@ declare module "factorio:runtime" {
|
|
1950
1950
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
1951
1951
|
* "iron-plate"
|
1952
1952
|
* {name="iron-plate", count=100}
|
1953
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1953
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemStackIdentification.html Online documentation}
|
1954
1954
|
*/
|
1955
1955
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
1956
1956
|
/**
|
1957
1957
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
1958
1958
|
* @see QualityConditionWrite
|
1959
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1959
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/QualityCondition.html Online documentation}
|
1960
1960
|
*/
|
1961
1961
|
export type QualityCondition =
|
1962
1962
|
| {
|
@@ -1972,7 +1972,7 @@ declare module "factorio:runtime" {
|
|
1972
1972
|
| string
|
1973
1973
|
/**
|
1974
1974
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
1975
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1975
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/QualityCondition.html Online documentation}
|
1976
1976
|
*/
|
1977
1977
|
export type QualityConditionWrite =
|
1978
1978
|
| {
|
@@ -1989,7 +1989,7 @@ declare module "factorio:runtime" {
|
|
1989
1989
|
/**
|
1990
1990
|
* The destination of a cargo pod.
|
1991
1991
|
* @see CargoDestinationWrite
|
1992
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1992
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CargoDestination.html Online documentation}
|
1993
1993
|
*/
|
1994
1994
|
export interface CargoDestination {
|
1995
1995
|
/**
|
@@ -2027,7 +2027,7 @@ declare module "factorio:runtime" {
|
|
2027
2027
|
}
|
2028
2028
|
/**
|
2029
2029
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
2030
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2030
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CargoDestination.html Online documentation}
|
2031
2031
|
*/
|
2032
2032
|
export interface CargoDestinationWrite {
|
2033
2033
|
/**
|
@@ -2081,7 +2081,7 @@ declare module "factorio:runtime" {
|
|
2081
2081
|
* furthest = { zoom = 1 / 16 },
|
2082
2082
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
2083
2083
|
* }
|
2084
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2084
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ZoomLimits.html Online documentation}
|
2085
2085
|
*/
|
2086
2086
|
export interface ZoomLimits {
|
2087
2087
|
/**
|
@@ -2111,7 +2111,7 @@ declare module "factorio:runtime" {
|
|
2111
2111
|
*
|
2112
2112
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
2113
2113
|
* { distance = 200, max_distance = 500 }
|
2114
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2114
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ZoomSpecification.html Online documentation}
|
2115
2115
|
*/
|
2116
2116
|
export interface ZoomSpecification {
|
2117
2117
|
/**
|
@@ -2131,7 +2131,7 @@ declare module "factorio:runtime" {
|
|
2131
2131
|
* ## Union members
|
2132
2132
|
* - `"game"`
|
2133
2133
|
* - `"chart"`
|
2134
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2134
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptRenderMode.html Online documentation}
|
2135
2135
|
*/
|
2136
2136
|
export type ScriptRenderMode = "game" | "chart"
|
2137
2137
|
/**
|
@@ -2142,13 +2142,13 @@ declare module "factorio:runtime" {
|
|
2142
2142
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
2143
2143
|
* - {@link defines.events}: Event identifier.
|
2144
2144
|
* - `string`: Name of the event.
|
2145
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2145
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEventType.html Online documentation}
|
2146
2146
|
*/
|
2147
2147
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
2148
2148
|
/**
|
2149
2149
|
* Coordinates of a tile on a {@link LuaSurface} where each integer `x`/`y` represents a different tile. This uses the same format as {@link MapPosition}, except it rounds any non-integer `x`/`y` down to whole numbers. It can be specified either with or without explicit keys.
|
2150
2150
|
* @see TilePositionArray
|
2151
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2151
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TilePosition.html Online documentation}
|
2152
2152
|
*/
|
2153
2153
|
export interface TilePosition {
|
2154
2154
|
readonly x: int
|
@@ -2157,14 +2157,14 @@ declare module "factorio:runtime" {
|
|
2157
2157
|
/**
|
2158
2158
|
* Array form of {@link TilePosition}.
|
2159
2159
|
* @see TilePosition
|
2160
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2160
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TilePosition.html Online documentation}
|
2161
2161
|
*/
|
2162
2162
|
export type TilePositionArray = readonly [int, int]
|
2163
2163
|
/**
|
2164
2164
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
2165
2165
|
*
|
2166
2166
|
* This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
|
2167
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2167
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RealOrientation.html Online documentation}
|
2168
2168
|
*/
|
2169
2169
|
export type RealOrientation = float
|
2170
2170
|
export interface MapLocation {
|
@@ -2200,7 +2200,7 @@ declare module "factorio:runtime" {
|
|
2200
2200
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
2201
2201
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
2202
2202
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
2203
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2203
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LocalisedString.html Online documentation}
|
2204
2204
|
*/
|
2205
2205
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
2206
2206
|
/**
|
@@ -2215,7 +2215,7 @@ declare module "factorio:runtime" {
|
|
2215
2215
|
* @example
|
2216
2216
|
* -- Shorthand
|
2217
2217
|
* {1.625, 2.375}
|
2218
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2218
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapPosition.html Online documentation}
|
2219
2219
|
*/
|
2220
2220
|
export interface MapPosition {
|
2221
2221
|
readonly x: double
|
@@ -2224,7 +2224,7 @@ declare module "factorio:runtime" {
|
|
2224
2224
|
/**
|
2225
2225
|
* Array form of {@link MapPosition}.
|
2226
2226
|
* @see MapPosition
|
2227
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2227
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapPosition.html Online documentation}
|
2228
2228
|
*/
|
2229
2229
|
export type MapPositionArray = readonly [double, double]
|
2230
2230
|
/**
|
@@ -2237,7 +2237,7 @@ declare module "factorio:runtime" {
|
|
2237
2237
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
2238
2238
|
* black = {} -- All channels omitted: black
|
2239
2239
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
2240
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2240
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Color.html Online documentation}
|
2241
2241
|
*/
|
2242
2242
|
export interface Color {
|
2243
2243
|
readonly r?: float
|
@@ -2248,7 +2248,7 @@ declare module "factorio:runtime" {
|
|
2248
2248
|
/**
|
2249
2249
|
* Array form of {@link Color}.
|
2250
2250
|
* @see Color
|
2251
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2251
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Color.html Online documentation}
|
2252
2252
|
*/
|
2253
2253
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
2254
2254
|
/**
|
@@ -2256,12 +2256,12 @@ declare module "factorio:runtime" {
|
|
2256
2256
|
* - `"center-to-center"`
|
2257
2257
|
* - `"bounding-box-to-bounding-box"`
|
2258
2258
|
* - `"center-to-bounding-box"`
|
2259
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2259
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RangeMode.html Online documentation}
|
2260
2260
|
*/
|
2261
2261
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
2262
2262
|
/**
|
2263
2263
|
* @see PowerSwitchBlueprintControlBehaviorWrite
|
2264
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2264
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
2265
2265
|
*/
|
2266
2266
|
export interface PowerSwitchBlueprintControlBehavior {
|
2267
2267
|
/**
|
@@ -2277,7 +2277,7 @@ declare module "factorio:runtime" {
|
|
2277
2277
|
}
|
2278
2278
|
/**
|
2279
2279
|
* Write form of {@link PowerSwitchBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
2280
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2280
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PowerSwitchBlueprintControlBehavior.html Online documentation}
|
2281
2281
|
*/
|
2282
2282
|
export interface PowerSwitchBlueprintControlBehaviorWrite {
|
2283
2283
|
/**
|
@@ -3203,7 +3203,7 @@ declare module "factorio:runtime" {
|
|
3203
3203
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
3204
3204
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
3205
3205
|
* - `"wall"`: {@link WallBlueprintEntity}
|
3206
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3206
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintEntity.html Online documentation}
|
3207
3207
|
*/
|
3208
3208
|
export type BlueprintEntity =
|
3209
3209
|
| AccumulatorBlueprintEntity
|
@@ -3262,7 +3262,7 @@ declare module "factorio:runtime" {
|
|
3262
3262
|
| WallBlueprintEntity
|
3263
3263
|
/**
|
3264
3264
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
3265
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3265
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintEntity.html Online documentation}
|
3266
3266
|
*/
|
3267
3267
|
export type BlueprintEntityWrite =
|
3268
3268
|
| AccumulatorBlueprintEntityWrite
|
@@ -3329,7 +3329,7 @@ declare module "factorio:runtime" {
|
|
3329
3329
|
* - `target_entity_number`
|
3330
3330
|
*
|
3331
3331
|
* - `target_wire_connector_id`
|
3332
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3332
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintWire.html Online documentation}
|
3333
3333
|
*/
|
3334
3334
|
export type BlueprintWire = [
|
3335
3335
|
source_entity_number: uint,
|
@@ -3367,7 +3367,7 @@ declare module "factorio:runtime" {
|
|
3367
3367
|
* "2500 * (L - 3)"
|
3368
3368
|
* @example
|
3369
3369
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
3370
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3370
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MathExpression.html Online documentation}
|
3371
3371
|
*/
|
3372
3372
|
export type MathExpression = string
|
3373
3373
|
/**
|
@@ -3550,7 +3550,7 @@ declare module "factorio:runtime" {
|
|
3550
3550
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
3551
3551
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
3552
3552
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
3553
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3553
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/UndoRedoAction.html Online documentation}
|
3554
3554
|
*/
|
3555
3555
|
export type UndoRedoAction =
|
3556
3556
|
| BuiltEntityUndoRedoAction
|
@@ -3763,7 +3763,7 @@ declare module "factorio:runtime" {
|
|
3763
3763
|
* - `"play-previous-track"`
|
3764
3764
|
* - `"pause-resume-music"`
|
3765
3765
|
* - `""`: Indicates no linked game control.
|
3766
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3766
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LinkedGameControl.html Online documentation}
|
3767
3767
|
*/
|
3768
3768
|
export type LinkedGameControl =
|
3769
3769
|
| "move-up"
|
@@ -3968,7 +3968,7 @@ declare module "factorio:runtime" {
|
|
3968
3968
|
* - {@link LuaSpaceLocationPrototype}
|
3969
3969
|
* - {@link LuaTilePrototype}
|
3970
3970
|
* - {@link LuaVirtualSignalPrototype}
|
3971
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3971
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PipetteID.html Online documentation}
|
3972
3972
|
*/
|
3973
3973
|
export type PipetteID =
|
3974
3974
|
| LuaEntityPrototype
|
@@ -3988,7 +3988,7 @@ declare module "factorio:runtime" {
|
|
3988
3988
|
* - `"not-friend"`: Forces which are not friends pass.
|
3989
3989
|
* - `"same"`: The same force pass.
|
3990
3990
|
* - `"not-same"`: The non-same forces pass.
|
3991
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3991
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ForceCondition.html Online documentation}
|
3992
3992
|
*/
|
3993
3993
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
3994
3994
|
/**
|
@@ -3996,7 +3996,7 @@ declare module "factorio:runtime" {
|
|
3996
3996
|
* - `"input-output"`
|
3997
3997
|
* - `"input"`
|
3998
3998
|
* - `"output"`
|
3999
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3999
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FluidFlowDirection.html Online documentation}
|
4000
4000
|
*/
|
4001
4001
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
4002
4002
|
/**
|
@@ -4004,7 +4004,7 @@ declare module "factorio:runtime" {
|
|
4004
4004
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
4005
4005
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
4006
4006
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
4007
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4007
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PipeConnectionType.html Online documentation}
|
4008
4008
|
*/
|
4009
4009
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
4010
4010
|
export interface PipeConnectionDefinition {
|
@@ -4027,7 +4027,7 @@ declare module "factorio:runtime" {
|
|
4027
4027
|
}
|
4028
4028
|
/**
|
4029
4029
|
* A fluid amount. The amount is stored as a fixed-size signed 64 bit integer, with 24 bits reserved for decimal precision, meaning the smallest value step is `1/2^24`.
|
4030
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4030
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FluidAmount.html Online documentation}
|
4031
4031
|
*/
|
4032
4032
|
export type FluidAmount = double
|
4033
4033
|
/**
|
@@ -4038,7 +4038,7 @@ declare module "factorio:runtime" {
|
|
4038
4038
|
* - `"input"`
|
4039
4039
|
* - `"input-output"`
|
4040
4040
|
* - `"output"`
|
4041
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4041
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProductionType.html Online documentation}
|
4042
4042
|
*/
|
4043
4043
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
4044
4044
|
export interface SurfaceCondition {
|
@@ -4050,7 +4050,7 @@ declare module "factorio:runtime" {
|
|
4050
4050
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
4051
4051
|
*
|
4052
4052
|
* By default, none of these flags are set.
|
4053
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4053
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemPrototypeFlags.html Online documentation}
|
4054
4054
|
*/
|
4055
4055
|
export type ItemPrototypeFlags = {
|
4056
4056
|
readonly [T in ItemPrototypeFlag]?: true
|
@@ -4071,7 +4071,7 @@ declare module "factorio:runtime" {
|
|
4071
4071
|
* - `"spawnable"`: Allows the item to be spawned by a quickbar shortcut or custom input.
|
4072
4072
|
* - `"spoil-result"`
|
4073
4073
|
* - `"ignore-spoil-time-modifier"`: Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings}.
|
4074
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4074
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemPrototypeFlag.html Online documentation}
|
4075
4075
|
*/
|
4076
4076
|
export type ItemPrototypeFlag =
|
4077
4077
|
| "draw-logistic-overlay"
|
@@ -4088,7 +4088,7 @@ declare module "factorio:runtime" {
|
|
4088
4088
|
| "ignore-spoil-time-modifier"
|
4089
4089
|
/**
|
4090
4090
|
* @see UpgradeMapperSourceWrite
|
4091
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4091
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/UpgradeMapperSource.html Online documentation}
|
4092
4092
|
*/
|
4093
4093
|
export interface UpgradeMapperSource {
|
4094
4094
|
readonly type: "item" | "entity"
|
@@ -4111,7 +4111,7 @@ declare module "factorio:runtime" {
|
|
4111
4111
|
}
|
4112
4112
|
/**
|
4113
4113
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
4114
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4114
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/UpgradeMapperSource.html Online documentation}
|
4115
4115
|
*/
|
4116
4116
|
export interface UpgradeMapperSourceWrite {
|
4117
4117
|
readonly type: "item" | "entity"
|
@@ -4201,7 +4201,7 @@ declare module "factorio:runtime" {
|
|
4201
4201
|
* - `"controllable-remove"`
|
4202
4202
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
4203
4203
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
4204
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4204
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SelectionModeFlags.html Online documentation}
|
4205
4205
|
*/
|
4206
4206
|
export interface SelectionModeFlags {
|
4207
4207
|
/**
|
@@ -4358,7 +4358,7 @@ declare module "factorio:runtime" {
|
|
4358
4358
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
4359
4359
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
4360
4360
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
4361
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4361
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CapsuleAction.html Online documentation}
|
4362
4362
|
*/
|
4363
4363
|
export type CapsuleAction =
|
4364
4364
|
| ThrowCapsuleAction
|
@@ -4371,7 +4371,7 @@ declare module "factorio:runtime" {
|
|
4371
4371
|
* - `"none"`
|
4372
4372
|
* - `"whitelist"`
|
4373
4373
|
* - `"blacklist"`
|
4374
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4374
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PrototypeFilterMode.html Online documentation}
|
4375
4375
|
*/
|
4376
4376
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
4377
4377
|
export interface SpoilToTriggerResult {
|
@@ -4386,7 +4386,7 @@ declare module "factorio:runtime" {
|
|
4386
4386
|
}
|
4387
4387
|
/**
|
4388
4388
|
* @see UpgradeMapperDestinationWrite
|
4389
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4389
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/UpgradeMapperDestination.html Online documentation}
|
4390
4390
|
*/
|
4391
4391
|
export interface UpgradeMapperDestination {
|
4392
4392
|
readonly type: "item" | "entity"
|
@@ -4409,7 +4409,7 @@ declare module "factorio:runtime" {
|
|
4409
4409
|
}
|
4410
4410
|
/**
|
4411
4411
|
* Write form of {@link UpgradeMapperDestination}, where some properties allow additional values as input compared to the read form.
|
4412
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4412
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/UpgradeMapperDestination.html Online documentation}
|
4413
4413
|
*/
|
4414
4414
|
export interface UpgradeMapperDestinationWrite {
|
4415
4415
|
readonly type: "item" | "entity"
|
@@ -4437,7 +4437,7 @@ declare module "factorio:runtime" {
|
|
4437
4437
|
* - `"entity"`: Fires at an entity.
|
4438
4438
|
* - `"position"`: Fires directly at a position.
|
4439
4439
|
* - `"direction"`: Fires in a direction.
|
4440
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4440
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TargetType.html Online documentation}
|
4441
4441
|
*/
|
4442
4442
|
export type TargetType = "entity" | "position" | "direction"
|
4443
4443
|
export interface AmmoType {
|
@@ -4461,7 +4461,7 @@ declare module "factorio:runtime" {
|
|
4461
4461
|
}
|
4462
4462
|
/**
|
4463
4463
|
* @see BlueprintItemFilterWrite
|
4464
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4464
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintItemFilter.html Online documentation}
|
4465
4465
|
*/
|
4466
4466
|
export interface BlueprintItemFilter {
|
4467
4467
|
readonly index: uint
|
@@ -4480,7 +4480,7 @@ declare module "factorio:runtime" {
|
|
4480
4480
|
}
|
4481
4481
|
/**
|
4482
4482
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
4483
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4483
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintItemFilter.html Online documentation}
|
4484
4484
|
*/
|
4485
4485
|
export interface BlueprintItemFilterWrite {
|
4486
4486
|
readonly index: uint
|
@@ -4499,7 +4499,7 @@ declare module "factorio:runtime" {
|
|
4499
4499
|
}
|
4500
4500
|
/**
|
4501
4501
|
* @see BlueprintInventoryWithFiltersWrite
|
4502
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4502
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
4503
4503
|
*/
|
4504
4504
|
export interface BlueprintInventoryWithFilters {
|
4505
4505
|
readonly bar?: ItemStackIndex
|
@@ -4507,7 +4507,7 @@ declare module "factorio:runtime" {
|
|
4507
4507
|
}
|
4508
4508
|
/**
|
4509
4509
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
4510
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4510
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
4511
4511
|
*/
|
4512
4512
|
export interface BlueprintInventoryWithFiltersWrite {
|
4513
4513
|
readonly bar?: ItemStackIndex
|
@@ -4551,7 +4551,7 @@ declare module "factorio:runtime" {
|
|
4551
4551
|
}
|
4552
4552
|
/**
|
4553
4553
|
* @see BlueprintEquipmentWrite
|
4554
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4554
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintEquipment.html Online documentation}
|
4555
4555
|
*/
|
4556
4556
|
export interface BlueprintEquipment {
|
4557
4557
|
readonly equipment: LuaEquipmentPrototype
|
@@ -4559,7 +4559,7 @@ declare module "factorio:runtime" {
|
|
4559
4559
|
}
|
4560
4560
|
/**
|
4561
4561
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
4562
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4562
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintEquipment.html Online documentation}
|
4563
4563
|
*/
|
4564
4564
|
export interface BlueprintEquipmentWrite {
|
4565
4565
|
readonly equipment: EquipmentWithQualityID
|
@@ -4575,7 +4575,7 @@ declare module "factorio:runtime" {
|
|
4575
4575
|
* @example
|
4576
4576
|
* -- Shorthand
|
4577
4577
|
* {1, 2}
|
4578
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4578
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentPosition.html Online documentation}
|
4579
4579
|
*/
|
4580
4580
|
export interface EquipmentPosition {
|
4581
4581
|
readonly x: int
|
@@ -4584,7 +4584,7 @@ declare module "factorio:runtime" {
|
|
4584
4584
|
/**
|
4585
4585
|
* Array form of {@link EquipmentPosition}.
|
4586
4586
|
* @see EquipmentPosition
|
4587
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4587
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentPosition.html Online documentation}
|
4588
4588
|
*/
|
4589
4589
|
export type EquipmentPositionArray = readonly [int, int]
|
4590
4590
|
export interface ModSetting {
|
@@ -4595,7 +4595,7 @@ declare module "factorio:runtime" {
|
|
4595
4595
|
}
|
4596
4596
|
/**
|
4597
4597
|
* An actual signal transmitted by the network.
|
4598
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4598
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Signal.html Online documentation}
|
4599
4599
|
*/
|
4600
4600
|
export interface Signal {
|
4601
4601
|
/**
|
@@ -4609,7 +4609,7 @@ declare module "factorio:runtime" {
|
|
4609
4609
|
}
|
4610
4610
|
/**
|
4611
4611
|
* @see DisplayPanelMessageDefinitionWrite
|
4612
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4612
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4613
4613
|
*/
|
4614
4614
|
export interface DisplayPanelMessageDefinition {
|
4615
4615
|
/**
|
@@ -4627,7 +4627,7 @@ declare module "factorio:runtime" {
|
|
4627
4627
|
}
|
4628
4628
|
/**
|
4629
4629
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
4630
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4630
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
4631
4631
|
*/
|
4632
4632
|
export interface DisplayPanelMessageDefinitionWrite {
|
4633
4633
|
/**
|
@@ -4655,7 +4655,7 @@ declare module "factorio:runtime" {
|
|
4655
4655
|
}
|
4656
4656
|
/**
|
4657
4657
|
* @see CircuitConditionWrite
|
4658
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4658
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CircuitCondition.html Online documentation}
|
4659
4659
|
*/
|
4660
4660
|
export interface CircuitCondition {
|
4661
4661
|
/**
|
@@ -4677,7 +4677,7 @@ declare module "factorio:runtime" {
|
|
4677
4677
|
}
|
4678
4678
|
/**
|
4679
4679
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
4680
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4680
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CircuitCondition.html Online documentation}
|
4681
4681
|
*/
|
4682
4682
|
export interface CircuitConditionWrite {
|
4683
4683
|
/**
|
@@ -4699,7 +4699,7 @@ declare module "factorio:runtime" {
|
|
4699
4699
|
}
|
4700
4700
|
/**
|
4701
4701
|
* @see SignalIDWrite
|
4702
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4702
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SignalID.html Online documentation}
|
4703
4703
|
*/
|
4704
4704
|
export interface SignalID {
|
4705
4705
|
/**
|
@@ -4717,7 +4717,7 @@ declare module "factorio:runtime" {
|
|
4717
4717
|
}
|
4718
4718
|
/**
|
4719
4719
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
4720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4720
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SignalID.html Online documentation}
|
4721
4721
|
*/
|
4722
4722
|
export interface SignalIDWrite {
|
4723
4723
|
/**
|
@@ -4753,7 +4753,7 @@ declare module "factorio:runtime" {
|
|
4753
4753
|
* - `"space-location"`
|
4754
4754
|
* - `"asteroid-chunk"`
|
4755
4755
|
* - `"quality"`
|
4756
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4756
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SignalIDType.html Online documentation}
|
4757
4757
|
*/
|
4758
4758
|
export type SignalIDType =
|
4759
4759
|
| "item"
|
@@ -4766,7 +4766,7 @@ declare module "factorio:runtime" {
|
|
4766
4766
|
| "quality"
|
4767
4767
|
/**
|
4768
4768
|
* @see DeciderCombinatorParametersWrite
|
4769
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4769
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorParameters.html Online documentation}
|
4770
4770
|
*/
|
4771
4771
|
export interface DeciderCombinatorParameters {
|
4772
4772
|
/**
|
@@ -4780,7 +4780,7 @@ declare module "factorio:runtime" {
|
|
4780
4780
|
}
|
4781
4781
|
/**
|
4782
4782
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4783
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4783
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorParameters.html Online documentation}
|
4784
4784
|
*/
|
4785
4785
|
export interface DeciderCombinatorParametersWrite {
|
4786
4786
|
/**
|
@@ -4794,7 +4794,7 @@ declare module "factorio:runtime" {
|
|
4794
4794
|
}
|
4795
4795
|
/**
|
4796
4796
|
* @see DeciderCombinatorConditionWrite
|
4797
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4797
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorCondition.html Online documentation}
|
4798
4798
|
*/
|
4799
4799
|
export interface DeciderCombinatorCondition {
|
4800
4800
|
/**
|
@@ -4828,7 +4828,7 @@ declare module "factorio:runtime" {
|
|
4828
4828
|
}
|
4829
4829
|
/**
|
4830
4830
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
4831
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4831
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorCondition.html Online documentation}
|
4832
4832
|
*/
|
4833
4833
|
export interface DeciderCombinatorConditionWrite {
|
4834
4834
|
/**
|
@@ -4862,7 +4862,7 @@ declare module "factorio:runtime" {
|
|
4862
4862
|
}
|
4863
4863
|
/**
|
4864
4864
|
* @see DeciderCombinatorOutputWrite
|
4865
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4865
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorOutput.html Online documentation}
|
4866
4866
|
*/
|
4867
4867
|
export interface DeciderCombinatorOutput {
|
4868
4868
|
/**
|
@@ -4884,7 +4884,7 @@ declare module "factorio:runtime" {
|
|
4884
4884
|
}
|
4885
4885
|
/**
|
4886
4886
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
4887
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4887
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorOutput.html Online documentation}
|
4888
4888
|
*/
|
4889
4889
|
export interface DeciderCombinatorOutputWrite {
|
4890
4890
|
/**
|
@@ -4906,7 +4906,7 @@ declare module "factorio:runtime" {
|
|
4906
4906
|
}
|
4907
4907
|
/**
|
4908
4908
|
* @see ArithmeticCombinatorParametersWrite
|
4909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4909
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4910
4910
|
*/
|
4911
4911
|
export interface ArithmeticCombinatorParameters {
|
4912
4912
|
/**
|
@@ -4944,7 +4944,7 @@ declare module "factorio:runtime" {
|
|
4944
4944
|
}
|
4945
4945
|
/**
|
4946
4946
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
4947
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4947
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
4948
4948
|
*/
|
4949
4949
|
export interface ArithmeticCombinatorParametersWrite {
|
4950
4950
|
/**
|
@@ -4993,7 +4993,7 @@ declare module "factorio:runtime" {
|
|
4993
4993
|
* - `"AND"`
|
4994
4994
|
* - `"OR"`
|
4995
4995
|
* - `"XOR"`
|
4996
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
4996
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
4997
4997
|
*/
|
4998
4998
|
export type ArithmeticCombinatorParameterOperation =
|
4999
4999
|
| "*"
|
@@ -5029,7 +5029,7 @@ declare module "factorio:runtime" {
|
|
5029
5029
|
/**
|
5030
5030
|
* The signal index to use if not using a specific `index_signal`. Defaults to `0`.
|
5031
5031
|
*/
|
5032
|
-
readonly index_constant?:
|
5032
|
+
readonly index_constant?: int
|
5033
5033
|
}
|
5034
5034
|
export interface SelectSelectorCombinatorParametersWrite extends BaseSelectorCombinatorParameters {
|
5035
5035
|
readonly operation: "select"
|
@@ -5044,7 +5044,7 @@ declare module "factorio:runtime" {
|
|
5044
5044
|
/**
|
5045
5045
|
* The signal index to use if not using a specific `index_signal`. Defaults to `0`.
|
5046
5046
|
*/
|
5047
|
-
readonly index_constant?:
|
5047
|
+
readonly index_constant?: int
|
5048
5048
|
}
|
5049
5049
|
/**
|
5050
5050
|
* `"count"` variant of {@link SelectorCombinatorParameters}.
|
@@ -5100,9 +5100,9 @@ declare module "factorio:runtime" {
|
|
5100
5100
|
*/
|
5101
5101
|
readonly select_quality_from_signal?: boolean
|
5102
5102
|
/**
|
5103
|
-
* Defaults to normal
|
5103
|
+
* The name of the quality prototype. Defaults to `"normal"`.
|
5104
5104
|
*/
|
5105
|
-
readonly quality_source_static?:
|
5105
|
+
readonly quality_source_static?: string
|
5106
5106
|
readonly quality_source_signal?: SignalIDBase
|
5107
5107
|
readonly quality_destination_signal: SignalID
|
5108
5108
|
}
|
@@ -5113,9 +5113,9 @@ declare module "factorio:runtime" {
|
|
5113
5113
|
*/
|
5114
5114
|
readonly select_quality_from_signal?: boolean
|
5115
5115
|
/**
|
5116
|
-
* Defaults to normal
|
5116
|
+
* The name of the quality prototype. Defaults to `"normal"`.
|
5117
5117
|
*/
|
5118
|
-
readonly quality_source_static?:
|
5118
|
+
readonly quality_source_static?: string
|
5119
5119
|
readonly quality_source_signal?: SignalIDBase
|
5120
5120
|
readonly quality_destination_signal: SignalIDWrite
|
5121
5121
|
}
|
@@ -5132,7 +5132,7 @@ declare module "factorio:runtime" {
|
|
5132
5132
|
* - `"random"`: {@link RandomSelectorCombinatorParameters}
|
5133
5133
|
* - `"quality-filter"`: {@link QualityFilterSelectorCombinatorParameters}
|
5134
5134
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
5135
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5135
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SelectorCombinatorParameters.html Online documentation}
|
5136
5136
|
*/
|
5137
5137
|
export type SelectorCombinatorParameters =
|
5138
5138
|
| SelectSelectorCombinatorParameters
|
@@ -5143,7 +5143,7 @@ declare module "factorio:runtime" {
|
|
5143
5143
|
| OtherSelectorCombinatorParameters
|
5144
5144
|
/**
|
5145
5145
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
5146
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5146
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SelectorCombinatorParameters.html Online documentation}
|
5147
5147
|
*/
|
5148
5148
|
export type SelectorCombinatorParametersWrite =
|
5149
5149
|
| SelectSelectorCombinatorParametersWrite
|
@@ -5161,7 +5161,7 @@ declare module "factorio:runtime" {
|
|
5161
5161
|
* - `"rocket-capacity"`
|
5162
5162
|
* - `"stack-size"`
|
5163
5163
|
* - `"quality-filter"`
|
5164
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5164
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
5165
5165
|
*/
|
5166
5166
|
export type SelectorCombinatorParameterOperation =
|
5167
5167
|
| "select"
|
@@ -5173,14 +5173,14 @@ declare module "factorio:runtime" {
|
|
5173
5173
|
| "quality-filter"
|
5174
5174
|
/**
|
5175
5175
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
5176
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5176
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
5177
5177
|
*/
|
5178
5178
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
5179
5179
|
readonly decider_conditions: DeciderCombinatorCondition
|
5180
5180
|
}
|
5181
5181
|
/**
|
5182
5182
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5183
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5183
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
5184
5184
|
*/
|
5185
5185
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
5186
5186
|
readonly decider_conditions: DeciderCombinatorConditionWrite
|
@@ -5193,7 +5193,7 @@ declare module "factorio:runtime" {
|
|
5193
5193
|
}
|
5194
5194
|
/**
|
5195
5195
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
5196
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5196
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
5197
5197
|
*/
|
5198
5198
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
5199
5199
|
/**
|
@@ -5220,7 +5220,7 @@ declare module "factorio:runtime" {
|
|
5220
5220
|
}
|
5221
5221
|
/**
|
5222
5222
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5223
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
5224
5224
|
*/
|
5225
5225
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
5226
5226
|
/**
|
@@ -5247,7 +5247,7 @@ declare module "factorio:runtime" {
|
|
5247
5247
|
}
|
5248
5248
|
/**
|
5249
5249
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
5250
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5250
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
5251
5251
|
*/
|
5252
5252
|
export interface RailSignalBaseBlueprintControlBehavior {
|
5253
5253
|
readonly circuit_close_signal: boolean
|
@@ -5260,7 +5260,7 @@ declare module "factorio:runtime" {
|
|
5260
5260
|
}
|
5261
5261
|
/**
|
5262
5262
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5263
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5263
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
5264
5264
|
*/
|
5265
5265
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
5266
5266
|
readonly circuit_close_signal: boolean
|
@@ -5273,7 +5273,7 @@ declare module "factorio:runtime" {
|
|
5273
5273
|
}
|
5274
5274
|
/**
|
5275
5275
|
* @see FurnaceBlueprintControlBehaviorWrite
|
5276
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5276
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
5277
5277
|
*/
|
5278
5278
|
export interface FurnaceBlueprintControlBehavior {
|
5279
5279
|
/**
|
@@ -5315,7 +5315,7 @@ declare module "factorio:runtime" {
|
|
5315
5315
|
}
|
5316
5316
|
/**
|
5317
5317
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5318
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5318
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
5319
5319
|
*/
|
5320
5320
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
5321
5321
|
/**
|
@@ -5357,14 +5357,14 @@ declare module "factorio:runtime" {
|
|
5357
5357
|
}
|
5358
5358
|
/**
|
5359
5359
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
5360
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5360
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
5361
5361
|
*/
|
5362
5362
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
5363
5363
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
5364
5364
|
}
|
5365
5365
|
/**
|
5366
5366
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5367
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5367
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
5368
5368
|
*/
|
5369
5369
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
5370
5370
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
@@ -5383,7 +5383,7 @@ declare module "factorio:runtime" {
|
|
5383
5383
|
}
|
5384
5384
|
/**
|
5385
5385
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
5386
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5386
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
5387
5387
|
*/
|
5388
5388
|
export interface MiningDrillBlueprintControlBehavior {
|
5389
5389
|
readonly circuit_read_resources: boolean
|
@@ -5401,7 +5401,7 @@ declare module "factorio:runtime" {
|
|
5401
5401
|
}
|
5402
5402
|
/**
|
5403
5403
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5404
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
5405
5405
|
*/
|
5406
5406
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
5407
5407
|
readonly circuit_read_resources: boolean
|
@@ -5419,7 +5419,7 @@ declare module "factorio:runtime" {
|
|
5419
5419
|
}
|
5420
5420
|
/**
|
5421
5421
|
* @see WallBlueprintControlBehaviorWrite
|
5422
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5422
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/WallBlueprintControlBehavior.html Online documentation}
|
5423
5423
|
*/
|
5424
5424
|
export interface WallBlueprintControlBehavior {
|
5425
5425
|
readonly circuit_open_gate: boolean
|
@@ -5429,7 +5429,7 @@ declare module "factorio:runtime" {
|
|
5429
5429
|
}
|
5430
5430
|
/**
|
5431
5431
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5432
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5432
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/WallBlueprintControlBehavior.html Online documentation}
|
5433
5433
|
*/
|
5434
5434
|
export interface WallBlueprintControlBehaviorWrite {
|
5435
5435
|
readonly circuit_open_gate: boolean
|
@@ -5445,7 +5445,7 @@ declare module "factorio:runtime" {
|
|
5445
5445
|
}
|
5446
5446
|
/**
|
5447
5447
|
* @see PumpBlueprintControlBehaviorWrite
|
5448
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5448
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
5449
5449
|
*/
|
5450
5450
|
export interface PumpBlueprintControlBehavior {
|
5451
5451
|
/**
|
@@ -5465,7 +5465,7 @@ declare module "factorio:runtime" {
|
|
5465
5465
|
}
|
5466
5466
|
/**
|
5467
5467
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5468
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5468
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
5469
5469
|
*/
|
5470
5470
|
export interface PumpBlueprintControlBehaviorWrite {
|
5471
5471
|
/**
|
@@ -5485,7 +5485,7 @@ declare module "factorio:runtime" {
|
|
5485
5485
|
}
|
5486
5486
|
/**
|
5487
5487
|
* @see TrainStopBlueprintControlBehaviorWrite
|
5488
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5488
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
5489
5489
|
*/
|
5490
5490
|
export interface TrainStopBlueprintControlBehavior {
|
5491
5491
|
/**
|
@@ -5529,7 +5529,7 @@ declare module "factorio:runtime" {
|
|
5529
5529
|
}
|
5530
5530
|
/**
|
5531
5531
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5532
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5532
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
5533
5533
|
*/
|
5534
5534
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
5535
5535
|
/**
|
@@ -5573,7 +5573,7 @@ declare module "factorio:runtime" {
|
|
5573
5573
|
}
|
5574
5574
|
/**
|
5575
5575
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
5576
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5576
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
5577
5577
|
*/
|
5578
5578
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
5579
5579
|
readonly circuit_condition: CircuitCondition
|
@@ -5581,7 +5581,7 @@ declare module "factorio:runtime" {
|
|
5581
5581
|
}
|
5582
5582
|
/**
|
5583
5583
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5584
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5584
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
5585
5585
|
*/
|
5586
5586
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
5587
5587
|
readonly circuit_condition: CircuitConditionWrite
|
@@ -5589,7 +5589,7 @@ declare module "factorio:runtime" {
|
|
5589
5589
|
}
|
5590
5590
|
/**
|
5591
5591
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
5592
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5592
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
5593
5593
|
*/
|
5594
5594
|
export interface TransportBeltBlueprintControlBehavior {
|
5595
5595
|
readonly circuit_read_hand_contents: boolean
|
@@ -5607,7 +5607,7 @@ declare module "factorio:runtime" {
|
|
5607
5607
|
}
|
5608
5608
|
/**
|
5609
5609
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5610
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5610
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
5611
5611
|
*/
|
5612
5612
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
5613
5613
|
readonly circuit_read_hand_contents: boolean
|
@@ -5625,7 +5625,7 @@ declare module "factorio:runtime" {
|
|
5625
5625
|
}
|
5626
5626
|
/**
|
5627
5627
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
5628
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5628
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
5629
5629
|
*/
|
5630
5630
|
export interface LogisticContainerBlueprintControlBehavior {
|
5631
5631
|
/**
|
@@ -5637,7 +5637,7 @@ declare module "factorio:runtime" {
|
|
5637
5637
|
}
|
5638
5638
|
/**
|
5639
5639
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5640
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5640
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
5641
5641
|
*/
|
5642
5642
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
5643
5643
|
/**
|
@@ -5649,7 +5649,7 @@ declare module "factorio:runtime" {
|
|
5649
5649
|
}
|
5650
5650
|
/**
|
5651
5651
|
* @see ReactorBlueprintControlBehaviorWrite
|
5652
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5652
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
5653
5653
|
*/
|
5654
5654
|
export interface ReactorBlueprintControlBehavior {
|
5655
5655
|
/**
|
@@ -5664,7 +5664,7 @@ declare module "factorio:runtime" {
|
|
5664
5664
|
}
|
5665
5665
|
/**
|
5666
5666
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5667
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5667
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
5668
5668
|
*/
|
5669
5669
|
export interface ReactorBlueprintControlBehaviorWrite {
|
5670
5670
|
/**
|
@@ -5679,7 +5679,7 @@ declare module "factorio:runtime" {
|
|
5679
5679
|
}
|
5680
5680
|
/**
|
5681
5681
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
5682
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5682
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
5683
5683
|
*/
|
5684
5684
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
5685
5685
|
readonly sections: LogisticSections
|
@@ -5690,7 +5690,7 @@ declare module "factorio:runtime" {
|
|
5690
5690
|
}
|
5691
5691
|
/**
|
5692
5692
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5693
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
5694
5694
|
*/
|
5695
5695
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
5696
5696
|
readonly sections: LogisticSectionsWrite
|
@@ -5701,7 +5701,7 @@ declare module "factorio:runtime" {
|
|
5701
5701
|
}
|
5702
5702
|
/**
|
5703
5703
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
5704
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5704
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
5705
5705
|
*/
|
5706
5706
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
5707
5707
|
readonly read_ammo?: boolean
|
@@ -5718,7 +5718,7 @@ declare module "factorio:runtime" {
|
|
5718
5718
|
}
|
5719
5719
|
/**
|
5720
5720
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5721
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5721
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
5722
5722
|
*/
|
5723
5723
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
5724
5724
|
readonly read_ammo?: boolean
|
@@ -5735,7 +5735,7 @@ declare module "factorio:runtime" {
|
|
5735
5735
|
}
|
5736
5736
|
/**
|
5737
5737
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
5738
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5738
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
5739
5739
|
*/
|
5740
5740
|
export interface AccumulatorBlueprintControlBehavior {
|
5741
5741
|
readonly output_signal: SignalID
|
@@ -5746,7 +5746,7 @@ declare module "factorio:runtime" {
|
|
5746
5746
|
}
|
5747
5747
|
/**
|
5748
5748
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5749
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5749
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
5750
5750
|
*/
|
5751
5751
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
5752
5752
|
readonly output_signal: SignalIDWrite
|
@@ -5757,7 +5757,7 @@ declare module "factorio:runtime" {
|
|
5757
5757
|
}
|
5758
5758
|
/**
|
5759
5759
|
* @see TurretBlueprintControlBehaviorWrite
|
5760
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5760
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
5761
5761
|
*/
|
5762
5762
|
export interface TurretBlueprintControlBehavior {
|
5763
5763
|
/**
|
@@ -5786,7 +5786,7 @@ declare module "factorio:runtime" {
|
|
5786
5786
|
}
|
5787
5787
|
/**
|
5788
5788
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5789
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5789
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
5790
5790
|
*/
|
5791
5791
|
export interface TurretBlueprintControlBehaviorWrite {
|
5792
5792
|
/**
|
@@ -5815,7 +5815,7 @@ declare module "factorio:runtime" {
|
|
5815
5815
|
}
|
5816
5816
|
/**
|
5817
5817
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
5818
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5818
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
5819
5819
|
*/
|
5820
5820
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
5821
5821
|
/**
|
@@ -5843,7 +5843,7 @@ declare module "factorio:runtime" {
|
|
5843
5843
|
}
|
5844
5844
|
/**
|
5845
5845
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5846
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5846
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
5847
5847
|
*/
|
5848
5848
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
5849
5849
|
/**
|
@@ -5877,7 +5877,7 @@ declare module "factorio:runtime" {
|
|
5877
5877
|
}
|
5878
5878
|
/**
|
5879
5879
|
* @see InserterBlueprintControlBehaviorWrite
|
5880
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5880
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
5881
5881
|
*/
|
5882
5882
|
export interface InserterBlueprintControlBehavior {
|
5883
5883
|
/**
|
@@ -5910,7 +5910,7 @@ declare module "factorio:runtime" {
|
|
5910
5910
|
}
|
5911
5911
|
/**
|
5912
5912
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5913
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5913
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
5914
5914
|
*/
|
5915
5915
|
export interface InserterBlueprintControlBehaviorWrite {
|
5916
5916
|
/**
|
@@ -5943,21 +5943,21 @@ declare module "factorio:runtime" {
|
|
5943
5943
|
}
|
5944
5944
|
/**
|
5945
5945
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
5946
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5946
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
5947
5947
|
*/
|
5948
5948
|
export interface DisplayPanelBlueprintControlBehavior {
|
5949
5949
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
5950
5950
|
}
|
5951
5951
|
/**
|
5952
5952
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5953
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5953
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
5954
5954
|
*/
|
5955
5955
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
5956
5956
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
5957
5957
|
}
|
5958
5958
|
/**
|
5959
5959
|
* @see RoboportBlueprintControlBehaviorWrite
|
5960
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5960
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
5961
5961
|
*/
|
5962
5962
|
export interface RoboportBlueprintControlBehavior {
|
5963
5963
|
readonly read_items_mode?: boolean
|
@@ -5970,7 +5970,7 @@ declare module "factorio:runtime" {
|
|
5970
5970
|
}
|
5971
5971
|
/**
|
5972
5972
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
5973
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5973
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
5974
5974
|
*/
|
5975
5975
|
export interface RoboportBlueprintControlBehaviorWrite {
|
5976
5976
|
readonly read_items_mode?: boolean
|
@@ -5983,7 +5983,7 @@ declare module "factorio:runtime" {
|
|
5983
5983
|
}
|
5984
5984
|
/**
|
5985
5985
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
5986
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
5986
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
5987
5987
|
*/
|
5988
5988
|
export interface AssemblingMachineBlueprintControlBehavior {
|
5989
5989
|
/**
|
@@ -6029,7 +6029,7 @@ declare module "factorio:runtime" {
|
|
6029
6029
|
}
|
6030
6030
|
/**
|
6031
6031
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
6032
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6032
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
6033
6033
|
*/
|
6034
6034
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
6035
6035
|
/**
|
@@ -6075,7 +6075,7 @@ declare module "factorio:runtime" {
|
|
6075
6075
|
}
|
6076
6076
|
/**
|
6077
6077
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
6078
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6078
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
6079
6079
|
*/
|
6080
6080
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
6081
6081
|
/**
|
@@ -6095,7 +6095,7 @@ declare module "factorio:runtime" {
|
|
6095
6095
|
}
|
6096
6096
|
/**
|
6097
6097
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
6098
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6098
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
6099
6099
|
*/
|
6100
6100
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
6101
6101
|
/**
|
@@ -6144,7 +6144,7 @@ declare module "factorio:runtime" {
|
|
6144
6144
|
}
|
6145
6145
|
/**
|
6146
6146
|
* An item thrown overboard on a space platform.
|
6147
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6147
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EjectedItem.html Online documentation}
|
6148
6148
|
*/
|
6149
6149
|
export interface EjectedItem {
|
6150
6150
|
readonly item: LuaItemStack
|
@@ -6173,7 +6173,7 @@ declare module "factorio:runtime" {
|
|
6173
6173
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
6174
6174
|
* -- minimum amount of 1 and a maximum amount of 5
|
6175
6175
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
6176
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6176
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Product.html Online documentation}
|
6177
6177
|
*/
|
6178
6178
|
export type Product = ItemProduct | FluidProduct | ResearchProgressProduct
|
6179
6179
|
/**
|
@@ -6184,7 +6184,7 @@ declare module "factorio:runtime" {
|
|
6184
6184
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
6185
6185
|
* -- minimum amount of 1 and a maximum amount of 5
|
6186
6186
|
* {{type="item", name="custom-item", probability=0.5, amount_min=1, amount_max=5}}
|
6187
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6187
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemProduct.html Online documentation}
|
6188
6188
|
*/
|
6189
6189
|
export interface ItemProduct {
|
6190
6190
|
readonly type: "item"
|
@@ -6228,7 +6228,7 @@ declare module "factorio:runtime" {
|
|
6228
6228
|
* {{type="fluid", name="heavy-oil", amount=1},
|
6229
6229
|
* {type="fluid", name="light-oil", amount=4.5},
|
6230
6230
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
6231
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6231
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FluidProduct.html Online documentation}
|
6232
6232
|
*/
|
6233
6233
|
export interface FluidProduct {
|
6234
6234
|
readonly type: "fluid"
|
@@ -6276,7 +6276,7 @@ declare module "factorio:runtime" {
|
|
6276
6276
|
}
|
6277
6277
|
/**
|
6278
6278
|
* @see BlueprintScheduleRecordWrite
|
6279
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6279
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintScheduleRecord.html Online documentation}
|
6280
6280
|
*/
|
6281
6281
|
export interface BlueprintScheduleRecord {
|
6282
6282
|
/**
|
@@ -6290,7 +6290,7 @@ declare module "factorio:runtime" {
|
|
6290
6290
|
}
|
6291
6291
|
/**
|
6292
6292
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
6293
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6293
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintScheduleRecord.html Online documentation}
|
6294
6294
|
*/
|
6295
6295
|
export interface BlueprintScheduleRecordWrite {
|
6296
6296
|
/**
|
@@ -6304,7 +6304,7 @@ declare module "factorio:runtime" {
|
|
6304
6304
|
}
|
6305
6305
|
/**
|
6306
6306
|
* @see ScheduleRecordWrite
|
6307
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6307
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScheduleRecord.html Online documentation}
|
6308
6308
|
*/
|
6309
6309
|
export interface ScheduleRecord {
|
6310
6310
|
/**
|
@@ -6323,7 +6323,7 @@ declare module "factorio:runtime" {
|
|
6323
6323
|
}
|
6324
6324
|
/**
|
6325
6325
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
6326
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6326
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScheduleRecord.html Online documentation}
|
6327
6327
|
*/
|
6328
6328
|
export interface ScheduleRecordWrite {
|
6329
6329
|
/**
|
@@ -6342,7 +6342,7 @@ declare module "factorio:runtime" {
|
|
6342
6342
|
}
|
6343
6343
|
/**
|
6344
6344
|
* @see BlueprintScheduleInterruptWrite
|
6345
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6345
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
6346
6346
|
*/
|
6347
6347
|
export interface BlueprintScheduleInterrupt {
|
6348
6348
|
/**
|
@@ -6358,7 +6358,7 @@ declare module "factorio:runtime" {
|
|
6358
6358
|
}
|
6359
6359
|
/**
|
6360
6360
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
6361
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6361
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
6362
6362
|
*/
|
6363
6363
|
export interface BlueprintScheduleInterruptWrite {
|
6364
6364
|
/**
|
@@ -6374,7 +6374,7 @@ declare module "factorio:runtime" {
|
|
6374
6374
|
}
|
6375
6375
|
/**
|
6376
6376
|
* @see ScheduleInterruptWrite
|
6377
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6377
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScheduleInterrupt.html Online documentation}
|
6378
6378
|
*/
|
6379
6379
|
export interface ScheduleInterrupt {
|
6380
6380
|
/**
|
@@ -6390,7 +6390,7 @@ declare module "factorio:runtime" {
|
|
6390
6390
|
}
|
6391
6391
|
/**
|
6392
6392
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
6393
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6393
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScheduleInterrupt.html Online documentation}
|
6394
6394
|
*/
|
6395
6395
|
export interface ScheduleInterruptWrite {
|
6396
6396
|
/**
|
@@ -6406,7 +6406,7 @@ declare module "factorio:runtime" {
|
|
6406
6406
|
}
|
6407
6407
|
/**
|
6408
6408
|
* @see WaitConditionWrite
|
6409
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6409
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/WaitCondition.html Online documentation}
|
6410
6410
|
*/
|
6411
6411
|
export interface WaitCondition {
|
6412
6412
|
readonly type: WaitConditionType
|
@@ -6437,7 +6437,7 @@ declare module "factorio:runtime" {
|
|
6437
6437
|
}
|
6438
6438
|
/**
|
6439
6439
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
6440
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6440
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/WaitCondition.html Online documentation}
|
6441
6441
|
*/
|
6442
6442
|
export interface WaitConditionWrite {
|
6443
6443
|
readonly type: WaitConditionType
|
@@ -6496,7 +6496,7 @@ declare module "factorio:runtime" {
|
|
6496
6496
|
* - `"at_station"`
|
6497
6497
|
* - `"not_at_station"`
|
6498
6498
|
* - `"damage_taken"`
|
6499
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6499
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/WaitConditionType.html Online documentation}
|
6500
6500
|
*/
|
6501
6501
|
export type WaitConditionType =
|
6502
6502
|
| "time"
|
@@ -6527,7 +6527,7 @@ declare module "factorio:runtime" {
|
|
6527
6527
|
| "damage_taken"
|
6528
6528
|
/**
|
6529
6529
|
* @see BlueprintScheduleWrite
|
6530
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6530
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintSchedule.html Online documentation}
|
6531
6531
|
*/
|
6532
6532
|
export interface BlueprintSchedule {
|
6533
6533
|
readonly records?: BlueprintScheduleRecord[]
|
@@ -6536,7 +6536,7 @@ declare module "factorio:runtime" {
|
|
6536
6536
|
}
|
6537
6537
|
/**
|
6538
6538
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
6539
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6539
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintSchedule.html Online documentation}
|
6540
6540
|
*/
|
6541
6541
|
export interface BlueprintScheduleWrite {
|
6542
6542
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
@@ -6605,7 +6605,7 @@ declare module "factorio:runtime" {
|
|
6605
6605
|
* - `"create-ghost-on-entity-death"`
|
6606
6606
|
* - `"belt-stack-size-bonus"`
|
6607
6607
|
* - `"vehicle-logistics"`
|
6608
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
6608
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ModifierType.html Online documentation}
|
6609
6609
|
*/
|
6610
6610
|
export type ModifierType =
|
6611
6611
|
| "inserter-stack-size-bonus"
|
@@ -7218,7 +7218,7 @@ declare module "factorio:runtime" {
|
|
7218
7218
|
* - `"worker-robot-battery"`: {@link WorkerRobotBatteryTechnologyModifier}
|
7219
7219
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
7220
7220
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
7221
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7221
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TechnologyModifier.html Online documentation}
|
7222
7222
|
*/
|
7223
7223
|
export type TechnologyModifier =
|
7224
7224
|
| AmmoDamageTechnologyModifier
|
@@ -7337,7 +7337,7 @@ declare module "factorio:runtime" {
|
|
7337
7337
|
* - `"capture-spawner"`: {@link CaptureSpawnerResearchTrigger}
|
7338
7338
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
7339
7339
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
7340
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7340
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ResearchTrigger.html Online documentation}
|
7341
7341
|
*/
|
7342
7342
|
export type ResearchTrigger =
|
7343
7343
|
| CraftItemResearchTrigger
|
@@ -7396,7 +7396,7 @@ declare module "factorio:runtime" {
|
|
7396
7396
|
*
|
7397
7397
|
* Other attributes may be specified depending on `type`:
|
7398
7398
|
* - `"fluid"`: {@link FluidIngredient}
|
7399
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7399
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Ingredient.html Online documentation}
|
7400
7400
|
*/
|
7401
7401
|
export type Ingredient = FluidIngredient | OtherIngredient
|
7402
7402
|
/**
|
@@ -7417,7 +7417,7 @@ declare module "factorio:runtime" {
|
|
7417
7417
|
* * neighbouring_base_chunk_coefficient^distance(chunk, neighbour)
|
7418
7418
|
* score(chunk) = 1 / (1 + player + base)
|
7419
7419
|
* ```
|
7420
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7420
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EnemyExpansionMapSettings.html Online documentation}
|
7421
7421
|
*/
|
7422
7422
|
export interface EnemyExpansionMapSettings {
|
7423
7423
|
/**
|
@@ -7690,7 +7690,7 @@ declare module "factorio:runtime" {
|
|
7690
7690
|
}
|
7691
7691
|
/**
|
7692
7692
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
7693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7693
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapAndDifficultySettings.html Online documentation}
|
7694
7694
|
*/
|
7695
7695
|
export interface MapAndDifficultySettings {
|
7696
7696
|
readonly pollution: PollutionMapSettings
|
@@ -7711,7 +7711,7 @@ declare module "factorio:runtime" {
|
|
7711
7711
|
* @example
|
7712
7712
|
* -- Increase the number of short paths the pathfinder can cache.
|
7713
7713
|
* game.map_settings.path_finder.short_cache_size = 15
|
7714
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7714
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapSettings.html Online documentation}
|
7715
7715
|
*/
|
7716
7716
|
export interface MapSettings {
|
7717
7717
|
pollution: PollutionMapSettings
|
@@ -7723,7 +7723,7 @@ declare module "factorio:runtime" {
|
|
7723
7723
|
asteroids: AsteroidMapSettings
|
7724
7724
|
/**
|
7725
7725
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
7726
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7726
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
7727
7727
|
*/
|
7728
7728
|
max_failed_behavior_count: uint
|
7729
7729
|
}
|
@@ -7752,7 +7752,7 @@ declare module "factorio:runtime" {
|
|
7752
7752
|
* - `"very-high"`: equivalent to `2`.
|
7753
7753
|
* - `"very-big"`: equivalent to `2`.
|
7754
7754
|
* - `"very-good"`: equivalent to `2`.
|
7755
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7755
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapGenSize.html Online documentation}
|
7756
7756
|
*/
|
7757
7757
|
export type MapGenSize =
|
7758
7758
|
| float
|
@@ -7774,7 +7774,7 @@ declare module "factorio:runtime" {
|
|
7774
7774
|
| "very-good"
|
7775
7775
|
/**
|
7776
7776
|
* These values are for the time frame of one second (60 ticks).
|
7777
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7777
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PollutionMapSettings.html Online documentation}
|
7778
7778
|
*/
|
7779
7779
|
export interface PollutionMapSettings {
|
7780
7780
|
/**
|
@@ -7828,7 +7828,7 @@ declare module "factorio:runtime" {
|
|
7828
7828
|
}
|
7829
7829
|
/**
|
7830
7830
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
7831
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7831
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
7832
7832
|
*/
|
7833
7833
|
export interface EnemyEvolutionMapSettings {
|
7834
7834
|
/**
|
@@ -7850,7 +7850,7 @@ declare module "factorio:runtime" {
|
|
7850
7850
|
}
|
7851
7851
|
/**
|
7852
7852
|
* @see AutoplaceControlWrite
|
7853
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7853
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AutoplaceControl.html Online documentation}
|
7854
7854
|
*/
|
7855
7855
|
export interface AutoplaceControl {
|
7856
7856
|
/**
|
@@ -7868,7 +7868,7 @@ declare module "factorio:runtime" {
|
|
7868
7868
|
}
|
7869
7869
|
/**
|
7870
7870
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
7871
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7871
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AutoplaceControl.html Online documentation}
|
7872
7872
|
*/
|
7873
7873
|
export interface AutoplaceControlWrite {
|
7874
7874
|
/**
|
@@ -7886,7 +7886,7 @@ declare module "factorio:runtime" {
|
|
7886
7886
|
}
|
7887
7887
|
/**
|
7888
7888
|
* @see CliffPlacementSettingsWrite
|
7889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7889
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CliffPlacementSettings.html Online documentation}
|
7890
7890
|
*/
|
7891
7891
|
export interface CliffPlacementSettings {
|
7892
7892
|
/**
|
@@ -7916,7 +7916,7 @@ declare module "factorio:runtime" {
|
|
7916
7916
|
}
|
7917
7917
|
/**
|
7918
7918
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
7919
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7919
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CliffPlacementSettings.html Online documentation}
|
7920
7920
|
*/
|
7921
7921
|
export interface CliffPlacementSettingsWrite {
|
7922
7922
|
/**
|
@@ -7946,7 +7946,7 @@ declare module "factorio:runtime" {
|
|
7946
7946
|
}
|
7947
7947
|
/**
|
7948
7948
|
* @see AutoplaceSettingsWrite
|
7949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7949
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AutoplaceSettings.html Online documentation}
|
7950
7950
|
*/
|
7951
7951
|
export interface AutoplaceSettings {
|
7952
7952
|
/**
|
@@ -7960,7 +7960,7 @@ declare module "factorio:runtime" {
|
|
7960
7960
|
}
|
7961
7961
|
/**
|
7962
7962
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
7963
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7963
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AutoplaceSettings.html Online documentation}
|
7964
7964
|
*/
|
7965
7965
|
export interface AutoplaceSettingsWrite {
|
7966
7966
|
/**
|
@@ -7995,7 +7995,7 @@ declare module "factorio:runtime" {
|
|
7995
7995
|
* surface.map_gen_settings = mgs
|
7996
7996
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
7997
7997
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
7998
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
7998
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapGenSettings.html Online documentation}
|
7999
7999
|
*/
|
8000
8000
|
export interface MapGenSettings {
|
8001
8001
|
/**
|
@@ -8050,7 +8050,7 @@ declare module "factorio:runtime" {
|
|
8050
8050
|
}
|
8051
8051
|
/**
|
8052
8052
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
8053
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8053
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapGenSettings.html Online documentation}
|
8054
8054
|
*/
|
8055
8055
|
export interface MapGenSettingsWrite {
|
8056
8056
|
/**
|
@@ -8134,12 +8134,12 @@ declare module "factorio:runtime" {
|
|
8134
8134
|
}
|
8135
8135
|
/**
|
8136
8136
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
8137
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8137
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/NoiseExpressionSourceString.html Online documentation}
|
8138
8138
|
*/
|
8139
8139
|
export type NoiseExpressionSourceString = string
|
8140
8140
|
/**
|
8141
8141
|
* Specifies how probability and richness are calculated when placing something on the map.
|
8142
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8142
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AutoplaceSpecification.html Online documentation}
|
8143
8143
|
*/
|
8144
8144
|
export interface AutoplaceSpecification {
|
8145
8145
|
readonly placement_density: uint
|
@@ -8219,8 +8219,8 @@ declare module "factorio:runtime" {
|
|
8219
8219
|
_customEventIdBrand: any
|
8220
8220
|
}
|
8221
8221
|
/**
|
8222
|
-
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.
|
8223
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8222
|
+
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.0.65/events.html the list of Factorio events} for more information on these.
|
8223
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EventData.html Online documentation}
|
8224
8224
|
*/
|
8225
8225
|
export interface EventData {
|
8226
8226
|
/**
|
@@ -8238,7 +8238,7 @@ declare module "factorio:runtime" {
|
|
8238
8238
|
}
|
8239
8239
|
/**
|
8240
8240
|
* Information about an individual segment in a segmented unit when the unit died.
|
8241
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8241
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PostSegmentDiedData.html Online documentation}
|
8242
8242
|
*/
|
8243
8243
|
export interface PostSegmentDiedData {
|
8244
8244
|
/**
|
@@ -8314,29 +8314,29 @@ declare module "factorio:runtime" {
|
|
8314
8314
|
*/
|
8315
8315
|
readonly migration_applied: boolean
|
8316
8316
|
/**
|
8317
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.
|
8317
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.0.65/auxiliary/migrations.html migrations}. The inner dictionary maps the old prototype name to the new prototype name. The new name will be an empty string if the prototype was removed. Entries are omitted if the old and new prototype name are the same.
|
8318
8318
|
*/
|
8319
8319
|
readonly migrations: Record<IDType, Record<string, string>>
|
8320
8320
|
}
|
8321
8321
|
/**
|
8322
8322
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
8323
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8323
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DifficultySettings.html Online documentation}
|
8324
8324
|
*/
|
8325
8325
|
export interface DifficultySettings {
|
8326
8326
|
/**
|
8327
8327
|
* A value in range [0.001, 1000].
|
8328
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8328
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
8329
8329
|
*/
|
8330
8330
|
technology_price_multiplier: double
|
8331
8331
|
/**
|
8332
8332
|
* A value in range [0.01, 100].
|
8333
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8333
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
8334
8334
|
*/
|
8335
8335
|
spoil_time_modifier: double
|
8336
8336
|
}
|
8337
8337
|
/**
|
8338
8338
|
* A single pipe connection for a given fluidbox.
|
8339
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8339
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PipeConnection.html Online documentation}
|
8340
8340
|
*/
|
8341
8341
|
export interface PipeConnection {
|
8342
8342
|
readonly flow_direction: FluidFlowDirection
|
@@ -8401,7 +8401,7 @@ declare module "factorio:runtime" {
|
|
8401
8401
|
}
|
8402
8402
|
/**
|
8403
8403
|
* @see AsteroidChunkWrite
|
8404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8404
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AsteroidChunk.html Online documentation}
|
8405
8405
|
*/
|
8406
8406
|
export interface AsteroidChunk {
|
8407
8407
|
/**
|
@@ -8413,7 +8413,7 @@ declare module "factorio:runtime" {
|
|
8413
8413
|
}
|
8414
8414
|
/**
|
8415
8415
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
8416
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8416
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AsteroidChunk.html Online documentation}
|
8417
8417
|
*/
|
8418
8418
|
export interface AsteroidChunkWrite {
|
8419
8419
|
/**
|
@@ -8425,7 +8425,7 @@ declare module "factorio:runtime" {
|
|
8425
8425
|
}
|
8426
8426
|
/**
|
8427
8427
|
* The data that can be extracted from a map exchange string, as a plain table.
|
8428
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8428
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/MapExchangeStringData.html Online documentation}
|
8429
8429
|
*/
|
8430
8430
|
export interface MapExchangeStringData {
|
8431
8431
|
readonly map_settings: MapAndDifficultySettings
|
@@ -8451,7 +8451,7 @@ declare module "factorio:runtime" {
|
|
8451
8451
|
}
|
8452
8452
|
/**
|
8453
8453
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
8454
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8454
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ChunkPositionAndArea.html Online documentation}
|
8455
8455
|
*/
|
8456
8456
|
export interface ChunkPositionAndArea {
|
8457
8457
|
readonly x: int
|
@@ -8499,7 +8499,7 @@ declare module "factorio:runtime" {
|
|
8499
8499
|
* - `"check-box"`
|
8500
8500
|
* - `"switch"`
|
8501
8501
|
* - `"label"`
|
8502
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8502
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SimulationWidgetType.html Online documentation}
|
8503
8503
|
*/
|
8504
8504
|
export type SimulationWidgetType =
|
8505
8505
|
| "signal-id"
|
@@ -8687,7 +8687,7 @@ declare module "factorio:runtime" {
|
|
8687
8687
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
8688
8688
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
8689
8689
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
8690
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8690
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SegmentedUnitAIState.html Online documentation}
|
8691
8691
|
*/
|
8692
8692
|
export type SegmentedUnitAIState =
|
8693
8693
|
| PatrollingSegmentedUnitAIState
|
@@ -8697,7 +8697,7 @@ declare module "factorio:runtime" {
|
|
8697
8697
|
| EnragedAtNothingSegmentedUnitAIState
|
8698
8698
|
/**
|
8699
8699
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
8700
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8700
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SegmentedUnitAIState.html Online documentation}
|
8701
8701
|
*/
|
8702
8702
|
export type SegmentedUnitAIStateWrite =
|
8703
8703
|
| PatrollingSegmentedUnitAIStateWrite
|
@@ -8835,7 +8835,7 @@ declare module "factorio:runtime" {
|
|
8835
8835
|
/**
|
8836
8836
|
* Same as {@link Color}, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].
|
8837
8837
|
* @see ColorModifierArray
|
8838
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8838
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ColorModifier.html Online documentation}
|
8839
8839
|
*/
|
8840
8840
|
export interface ColorModifier {
|
8841
8841
|
readonly r?: float
|
@@ -8846,7 +8846,7 @@ declare module "factorio:runtime" {
|
|
8846
8846
|
/**
|
8847
8847
|
* Array form of {@link ColorModifier}.
|
8848
8848
|
* @see ColorModifier
|
8849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8849
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ColorModifier.html Online documentation}
|
8850
8850
|
*/
|
8851
8851
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
8852
8852
|
export interface Decorative {
|
@@ -8865,7 +8865,7 @@ declare module "factorio:runtime" {
|
|
8865
8865
|
/**
|
8866
8866
|
* An area defined using the map editor.
|
8867
8867
|
* @see ScriptAreaWrite
|
8868
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8868
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptArea.html Online documentation}
|
8869
8869
|
*/
|
8870
8870
|
export interface ScriptArea {
|
8871
8871
|
readonly area: BoundingBox
|
@@ -8875,7 +8875,7 @@ declare module "factorio:runtime" {
|
|
8875
8875
|
}
|
8876
8876
|
/**
|
8877
8877
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
8878
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8878
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptArea.html Online documentation}
|
8879
8879
|
*/
|
8880
8880
|
export interface ScriptAreaWrite {
|
8881
8881
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
@@ -8886,7 +8886,7 @@ declare module "factorio:runtime" {
|
|
8886
8886
|
/**
|
8887
8887
|
* A position defined using the map editor.
|
8888
8888
|
* @see ScriptPositionWrite
|
8889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8889
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptPosition.html Online documentation}
|
8890
8890
|
*/
|
8891
8891
|
export interface ScriptPosition {
|
8892
8892
|
readonly position: MapPosition
|
@@ -8896,7 +8896,7 @@ declare module "factorio:runtime" {
|
|
8896
8896
|
}
|
8897
8897
|
/**
|
8898
8898
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
8899
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8899
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ScriptPosition.html Online documentation}
|
8900
8900
|
*/
|
8901
8901
|
export interface ScriptPositionWrite {
|
8902
8902
|
readonly position: MapPosition | MapPositionArray
|
@@ -8906,7 +8906,7 @@ declare module "factorio:runtime" {
|
|
8906
8906
|
}
|
8907
8907
|
/**
|
8908
8908
|
* A table used to define a manual shape for a piece of equipment.
|
8909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8909
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentPoint.html Online documentation}
|
8910
8910
|
*/
|
8911
8911
|
export interface EquipmentPoint {
|
8912
8912
|
readonly x: uint
|
@@ -8915,7 +8915,7 @@ declare module "factorio:runtime" {
|
|
8915
8915
|
/**
|
8916
8916
|
* Screen coordinates of a GUI element in a {@link LuaGui}. This uses the same format as {@link TilePosition}, meaning it can be specified either with or without explicit keys.
|
8917
8917
|
* @see GuiLocationArray
|
8918
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8918
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/GuiLocation.html Online documentation}
|
8919
8919
|
*/
|
8920
8920
|
export interface GuiLocation {
|
8921
8921
|
readonly x: int
|
@@ -8924,7 +8924,7 @@ declare module "factorio:runtime" {
|
|
8924
8924
|
/**
|
8925
8925
|
* Array form of {@link GuiLocation}.
|
8926
8926
|
* @see GuiLocation
|
8927
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8927
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/GuiLocation.html Online documentation}
|
8928
8928
|
*/
|
8929
8929
|
export type GuiLocationArray = readonly [int, int]
|
8930
8930
|
export interface TabAndContent {
|
@@ -8953,7 +8953,7 @@ declare module "factorio:runtime" {
|
|
8953
8953
|
}
|
8954
8954
|
/**
|
8955
8955
|
* Either `icon`, `text`, or both must be provided.
|
8956
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
8956
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ChartTagSpec.html Online documentation}
|
8957
8957
|
*/
|
8958
8958
|
export interface ChartTagSpec {
|
8959
8959
|
readonly position: MapPosition | MapPositionArray
|
@@ -9082,7 +9082,7 @@ declare module "factorio:runtime" {
|
|
9082
9082
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
9083
9083
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
9084
9084
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
9085
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9085
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrainPathRequestType.html Online documentation}
|
9086
9086
|
*/
|
9087
9087
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
9088
9088
|
/**
|
@@ -9091,7 +9091,7 @@ declare module "factorio:runtime" {
|
|
9091
9091
|
* - {@link RailEndGoal}
|
9092
9092
|
* - {@link LuaRailEnd}
|
9093
9093
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
9094
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9094
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TrainPathFinderGoal.html Online documentation}
|
9095
9095
|
*/
|
9096
9096
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
9097
9097
|
export interface TrainStopGoal {
|
@@ -9286,7 +9286,7 @@ declare module "factorio:runtime" {
|
|
9286
9286
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
9287
9287
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
9288
9288
|
* @see EventFilterWrite
|
9289
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9289
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EventFilter.html Online documentation}
|
9290
9290
|
*/
|
9291
9291
|
export type EventFilter =
|
9292
9292
|
| LuaSegmentedUnitDiedEventFilter[]
|
@@ -9321,7 +9321,7 @@ declare module "factorio:runtime" {
|
|
9321
9321
|
| LuaScriptRaisedDestroyEventFilter[]
|
9322
9322
|
/**
|
9323
9323
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
9324
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9324
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EventFilter.html Online documentation}
|
9325
9325
|
*/
|
9326
9326
|
export type EventFilterWrite =
|
9327
9327
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
@@ -9356,7 +9356,7 @@ declare module "factorio:runtime" {
|
|
9356
9356
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
9357
9357
|
/**
|
9358
9358
|
* @see CircuitConditionDefinitionWrite
|
9359
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9359
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CircuitConditionDefinition.html Online documentation}
|
9360
9360
|
*/
|
9361
9361
|
export interface CircuitConditionDefinition {
|
9362
9362
|
/**
|
@@ -9382,7 +9382,7 @@ declare module "factorio:runtime" {
|
|
9382
9382
|
}
|
9383
9383
|
/**
|
9384
9384
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
9385
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9385
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CircuitConditionDefinition.html Online documentation}
|
9386
9386
|
*/
|
9387
9387
|
export interface CircuitConditionDefinitionWrite {
|
9388
9388
|
/**
|
@@ -9432,7 +9432,7 @@ declare module "factorio:runtime" {
|
|
9432
9432
|
* - {@link LuaSchedule}: Target type {@link defines.target_type.schedule schedule}
|
9433
9433
|
* - {@link LuaTerritory}: Target type {@link defines.target_type.territory territory}
|
9434
9434
|
* - {@link LuaSegmentedUnit}: Target type {@link defines.target_type.segmented_unit segmented_unit}; `useful_id` {@link LuaSegmentedUnit#unit_number LuaSegmentedUnit::unit_number}
|
9435
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9435
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RegistrationTarget.html Online documentation}
|
9436
9436
|
*/
|
9437
9437
|
export type RegistrationTarget =
|
9438
9438
|
| LuaEntity
|
@@ -9503,7 +9503,7 @@ declare module "factorio:runtime" {
|
|
9503
9503
|
* - `"surface"`
|
9504
9504
|
* - `"mod-data"`
|
9505
9505
|
* - `"custom-event"`
|
9506
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9506
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/IDType.html Online documentation}
|
9507
9507
|
*/
|
9508
9508
|
export type IDType =
|
9509
9509
|
| "custom-input"
|
@@ -9564,7 +9564,7 @@ declare module "factorio:runtime" {
|
|
9564
9564
|
}
|
9565
9565
|
/**
|
9566
9566
|
* @see EntityIDFilterWrite
|
9567
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9567
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityIDFilter.html Online documentation}
|
9568
9568
|
*/
|
9569
9569
|
export interface EntityIDFilter {
|
9570
9570
|
/**
|
@@ -9582,7 +9582,7 @@ declare module "factorio:runtime" {
|
|
9582
9582
|
}
|
9583
9583
|
/**
|
9584
9584
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
9585
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9585
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityIDFilter.html Online documentation}
|
9586
9586
|
*/
|
9587
9587
|
export interface EntityIDFilterWrite {
|
9588
9588
|
/**
|
@@ -9617,7 +9617,7 @@ declare module "factorio:runtime" {
|
|
9617
9617
|
* - {@link FluidPrototypeFilter}
|
9618
9618
|
* - {@link EntityPrototypeFilter}
|
9619
9619
|
* @see PrototypeFilterWrite
|
9620
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9620
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PrototypeFilter.html Online documentation}
|
9621
9621
|
*/
|
9622
9622
|
export type PrototypeFilter =
|
9623
9623
|
| ModSettingPrototypeFilter[]
|
@@ -9634,7 +9634,7 @@ declare module "factorio:runtime" {
|
|
9634
9634
|
| EntityPrototypeFilter[]
|
9635
9635
|
/**
|
9636
9636
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
9637
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9637
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PrototypeFilter.html Online documentation}
|
9638
9638
|
*/
|
9639
9639
|
export type PrototypeFilterWrite =
|
9640
9640
|
| readonly ModSettingPrototypeFilter[]
|
@@ -9653,7 +9653,7 @@ declare module "factorio:runtime" {
|
|
9653
9653
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
9654
9654
|
*
|
9655
9655
|
* By default, none of these flags are set.
|
9656
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9656
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityPrototypeFlags.html Online documentation}
|
9657
9657
|
*/
|
9658
9658
|
export type EntityPrototypeFlags = {
|
9659
9659
|
readonly [T in EntityPrototypeFlag]?: true
|
@@ -9687,7 +9687,7 @@ declare module "factorio:runtime" {
|
|
9687
9687
|
* - `"building-direction-16-way"`
|
9688
9688
|
* - `"snap-to-rail-support-spot"`
|
9689
9689
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips.
|
9690
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9690
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityPrototypeFlag.html Online documentation}
|
9691
9691
|
*/
|
9692
9692
|
export type EntityPrototypeFlag =
|
9693
9693
|
| "not-rotatable"
|
@@ -9717,7 +9717,7 @@ declare module "factorio:runtime" {
|
|
9717
9717
|
| "not-in-made-in"
|
9718
9718
|
/**
|
9719
9719
|
* A single filter used by an infinity-pipe type entity.
|
9720
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9720
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/InfinityPipeFilter.html Online documentation}
|
9721
9721
|
*/
|
9722
9722
|
export interface InfinityPipeFilter {
|
9723
9723
|
/**
|
@@ -9747,7 +9747,7 @@ declare module "factorio:runtime" {
|
|
9747
9747
|
}
|
9748
9748
|
/**
|
9749
9749
|
* @see ProgrammableSpeakerParametersWrite
|
9750
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9750
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
9751
9751
|
*/
|
9752
9752
|
export interface ProgrammableSpeakerParameters {
|
9753
9753
|
readonly playback_volume: float
|
@@ -9758,7 +9758,7 @@ declare module "factorio:runtime" {
|
|
9758
9758
|
}
|
9759
9759
|
/**
|
9760
9760
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
9761
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9761
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
9762
9762
|
*/
|
9763
9763
|
export interface ProgrammableSpeakerParametersWrite {
|
9764
9764
|
readonly playback_volume: float
|
@@ -9774,12 +9774,12 @@ declare module "factorio:runtime" {
|
|
9774
9774
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
9775
9775
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
9776
9776
|
* - `"global"`: The sound can be heard everywhere.
|
9777
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9777
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
9778
9778
|
*/
|
9779
9779
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
9780
9780
|
/**
|
9781
9781
|
* @see ProgrammableSpeakerAlertParametersWrite
|
9782
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9782
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
9783
9783
|
*/
|
9784
9784
|
export interface ProgrammableSpeakerAlertParameters {
|
9785
9785
|
readonly show_alert: boolean
|
@@ -9789,7 +9789,7 @@ declare module "factorio:runtime" {
|
|
9789
9789
|
}
|
9790
9790
|
/**
|
9791
9791
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
9792
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9792
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
9793
9793
|
*/
|
9794
9794
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
9795
9795
|
readonly show_alert: boolean
|
@@ -9817,12 +9817,12 @@ declare module "factorio:runtime" {
|
|
9817
9817
|
* - `"exactly"`
|
9818
9818
|
* - `"add"`
|
9819
9819
|
* - `"remove"`
|
9820
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9820
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/HeatSettingMode.html Online documentation}
|
9821
9821
|
*/
|
9822
9822
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
9823
9823
|
/**
|
9824
9824
|
* The settings used by a heat-interface type entity.
|
9825
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9825
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/HeatSetting.html Online documentation}
|
9826
9826
|
*/
|
9827
9827
|
export interface HeatSetting {
|
9828
9828
|
/**
|
@@ -9856,7 +9856,7 @@ declare module "factorio:runtime" {
|
|
9856
9856
|
* - `"none-to-south"`
|
9857
9857
|
* - `"south-to-none"`
|
9858
9858
|
* - `"none-to-north"`
|
9859
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9859
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/CliffOrientation.html Online documentation}
|
9860
9860
|
*/
|
9861
9861
|
export type CliffOrientation =
|
9862
9862
|
| "west-to-east"
|
@@ -9886,7 +9886,7 @@ declare module "factorio:runtime" {
|
|
9886
9886
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
9887
9887
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
9888
9888
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
9889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9889
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ValveMode.html Online documentation}
|
9890
9890
|
*/
|
9891
9891
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
9892
9892
|
/**
|
@@ -9894,12 +9894,12 @@ declare module "factorio:runtime" {
|
|
9894
9894
|
* - `"fresh_first"`
|
9895
9895
|
* - `"none"`
|
9896
9896
|
* - `"spoiled_first"`
|
9897
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9897
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpoilPriority.html Online documentation}
|
9898
9898
|
*/
|
9899
9899
|
export type SpoilPriority = "fresh_first" | "none" | "spoiled_first"
|
9900
9900
|
/**
|
9901
9901
|
* @see BlueprintInfinityInventorySettingsWrite
|
9902
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9902
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
9903
9903
|
*/
|
9904
9904
|
export interface BlueprintInfinityInventorySettings {
|
9905
9905
|
readonly filters?: InfinityInventoryFilter[]
|
@@ -9910,7 +9910,7 @@ declare module "factorio:runtime" {
|
|
9910
9910
|
}
|
9911
9911
|
/**
|
9912
9912
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
9913
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9913
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
9914
9914
|
*/
|
9915
9915
|
export interface BlueprintInfinityInventorySettingsWrite {
|
9916
9916
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
@@ -9955,7 +9955,7 @@ declare module "factorio:runtime" {
|
|
9955
9955
|
/**
|
9956
9956
|
* Defines an item type that a blueprint entity will request.
|
9957
9957
|
* @see BlueprintInsertPlanWrite
|
9958
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9958
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintInsertPlan.html Online documentation}
|
9959
9959
|
*/
|
9960
9960
|
export interface BlueprintInsertPlan {
|
9961
9961
|
/**
|
@@ -9969,7 +9969,7 @@ declare module "factorio:runtime" {
|
|
9969
9969
|
}
|
9970
9970
|
/**
|
9971
9971
|
* Write form of {@link BlueprintInsertPlan}, where some properties allow additional values as input compared to the read form.
|
9972
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
9972
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintInsertPlan.html Online documentation}
|
9973
9973
|
*/
|
9974
9974
|
export interface BlueprintInsertPlanWrite {
|
9975
9975
|
/**
|
@@ -10007,7 +10007,7 @@ declare module "factorio:runtime" {
|
|
10007
10007
|
}
|
10008
10008
|
/**
|
10009
10009
|
* A single offer on a market entity.
|
10010
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10010
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Offer.html Online documentation}
|
10011
10011
|
*/
|
10012
10012
|
export interface Offer {
|
10013
10013
|
/**
|
@@ -10053,7 +10053,7 @@ declare module "factorio:runtime" {
|
|
10053
10053
|
/**
|
10054
10054
|
* A single filter used by an infinity-filters instance.
|
10055
10055
|
* @see InfinityInventoryFilterWrite
|
10056
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10056
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/InfinityInventoryFilter.html Online documentation}
|
10057
10057
|
*/
|
10058
10058
|
export interface InfinityInventoryFilter {
|
10059
10059
|
/**
|
@@ -10079,7 +10079,7 @@ declare module "factorio:runtime" {
|
|
10079
10079
|
}
|
10080
10080
|
/**
|
10081
10081
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
10082
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10082
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/InfinityInventoryFilter.html Online documentation}
|
10083
10083
|
*/
|
10084
10084
|
export interface InfinityInventoryFilterWrite {
|
10085
10085
|
/**
|
@@ -10143,14 +10143,14 @@ declare module "factorio:runtime" {
|
|
10143
10143
|
*
|
10144
10144
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
10145
10145
|
*
|
10146
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10146
|
+
* {@link https://lua-api.factorio.com/2.0.65/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
10147
10147
|
*
|
10148
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10148
|
+
* {@link https://lua-api.factorio.com/2.0.65/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
10149
10149
|
*
|
10150
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10150
|
+
* {@link https://lua-api.factorio.com/2.0.65/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
10151
10151
|
*
|
10152
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10153
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10152
|
+
* {@link https://lua-api.factorio.com/2.0.65/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
10153
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SoundPath.html Online documentation}
|
10154
10154
|
*/
|
10155
10155
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
10156
10156
|
/**
|
@@ -10168,7 +10168,7 @@ declare module "factorio:runtime" {
|
|
10168
10168
|
* - `"weapon"`
|
10169
10169
|
* - `"explosion"`
|
10170
10170
|
* - `"enemy"`
|
10171
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10171
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SoundType.html Online documentation}
|
10172
10172
|
*/
|
10173
10173
|
export type SoundType =
|
10174
10174
|
| "game-effect"
|
@@ -10209,7 +10209,7 @@ declare module "factorio:runtime" {
|
|
10209
10209
|
}
|
10210
10210
|
/**
|
10211
10211
|
* @see BlueprintLogisticFilterWrite
|
10212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10212
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintLogisticFilter.html Online documentation}
|
10213
10213
|
*/
|
10214
10214
|
export interface BlueprintLogisticFilter {
|
10215
10215
|
readonly index: LogisticFilterIndex
|
@@ -10239,7 +10239,7 @@ declare module "factorio:runtime" {
|
|
10239
10239
|
}
|
10240
10240
|
/**
|
10241
10241
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
10242
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10242
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintLogisticFilter.html Online documentation}
|
10243
10243
|
*/
|
10244
10244
|
export interface BlueprintLogisticFilterWrite {
|
10245
10245
|
readonly index: LogisticFilterIndex
|
@@ -10269,7 +10269,7 @@ declare module "factorio:runtime" {
|
|
10269
10269
|
}
|
10270
10270
|
/**
|
10271
10271
|
* @see BlueprintLogisticSectionsWrite
|
10272
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10272
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintLogisticSections.html Online documentation}
|
10273
10273
|
*/
|
10274
10274
|
export interface BlueprintLogisticSections {
|
10275
10275
|
readonly sections?: LogisticSection[]
|
@@ -10284,7 +10284,7 @@ declare module "factorio:runtime" {
|
|
10284
10284
|
}
|
10285
10285
|
/**
|
10286
10286
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
10287
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10287
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/BlueprintLogisticSections.html Online documentation}
|
10288
10288
|
*/
|
10289
10289
|
export interface BlueprintLogisticSectionsWrite {
|
10290
10290
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -10299,7 +10299,7 @@ declare module "factorio:runtime" {
|
|
10299
10299
|
}
|
10300
10300
|
/**
|
10301
10301
|
* @see LogisticSectionWrite
|
10302
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10302
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticSection.html Online documentation}
|
10303
10303
|
*/
|
10304
10304
|
export interface LogisticSection {
|
10305
10305
|
readonly index: uint8
|
@@ -10316,7 +10316,7 @@ declare module "factorio:runtime" {
|
|
10316
10316
|
}
|
10317
10317
|
/**
|
10318
10318
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
10319
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10319
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticSection.html Online documentation}
|
10320
10320
|
*/
|
10321
10321
|
export interface LogisticSectionWrite {
|
10322
10322
|
readonly index: uint8
|
@@ -10337,7 +10337,7 @@ declare module "factorio:runtime" {
|
|
10337
10337
|
}
|
10338
10338
|
/**
|
10339
10339
|
* @see LogisticSectionsWrite
|
10340
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10340
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticSections.html Online documentation}
|
10341
10341
|
*/
|
10342
10342
|
export interface LogisticSections {
|
10343
10343
|
readonly sections?: LogisticSection[]
|
@@ -10348,7 +10348,7 @@ declare module "factorio:runtime" {
|
|
10348
10348
|
}
|
10349
10349
|
/**
|
10350
10350
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
10351
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10351
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LogisticSections.html Online documentation}
|
10352
10352
|
*/
|
10353
10353
|
export interface LogisticSectionsWrite {
|
10354
10354
|
readonly sections?: readonly LogisticSectionWrite[]
|
@@ -10371,7 +10371,7 @@ declare module "factorio:runtime" {
|
|
10371
10371
|
* - {@link LuaAsteroidChunkPrototype}
|
10372
10372
|
* - {@link LuaVirtualSignalPrototype}
|
10373
10373
|
* - {@link LuaSurfacePrototype}
|
10374
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10374
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FactoriopediaID.html Online documentation}
|
10375
10375
|
*/
|
10376
10376
|
export type FactoriopediaID =
|
10377
10377
|
| LuaItemPrototype
|
@@ -10392,7 +10392,7 @@ declare module "factorio:runtime" {
|
|
10392
10392
|
* ## Union members
|
10393
10393
|
* - `"horizontal"`
|
10394
10394
|
* - `"vertical"`
|
10395
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10395
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/GuiDirection.html Online documentation}
|
10396
10396
|
*/
|
10397
10397
|
export type GuiDirection = "horizontal" | "vertical"
|
10398
10398
|
/**
|
@@ -10410,7 +10410,7 @@ declare module "factorio:runtime" {
|
|
10410
10410
|
* - `"top-right"`
|
10411
10411
|
* - `"right"`: The same as `"middle-right"`
|
10412
10412
|
* - `"bottom-right"`
|
10413
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10413
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Alignment.html Online documentation}
|
10414
10414
|
*/
|
10415
10415
|
export type Alignment =
|
10416
10416
|
| "top-left"
|
@@ -10468,7 +10468,7 @@ declare module "factorio:runtime" {
|
|
10468
10468
|
}
|
10469
10469
|
/**
|
10470
10470
|
* A set of trigger target masks.
|
10471
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10471
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TriggerTargetMask.html Online documentation}
|
10472
10472
|
*/
|
10473
10473
|
export type TriggerTargetMask = Record<string, true>
|
10474
10474
|
export interface AttackReactionItem {
|
@@ -10538,7 +10538,7 @@ declare module "factorio:runtime" {
|
|
10538
10538
|
* - `"destroy-decoratives"`
|
10539
10539
|
* - `"camera-effect"`
|
10540
10540
|
* - `"activate-impact"`
|
10541
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10541
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TriggerEffectItemType.html Online documentation}
|
10542
10542
|
*/
|
10543
10543
|
export type TriggerEffectItemType =
|
10544
10544
|
| "damage"
|
@@ -10671,7 +10671,7 @@ declare module "factorio:runtime" {
|
|
10671
10671
|
* Other attributes may be specified depending on `type`:
|
10672
10672
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
10673
10673
|
* - `"stream"`: {@link StreamAttackParameters}
|
10674
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10674
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AttackParameters.html Online documentation}
|
10675
10675
|
*/
|
10676
10676
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
10677
10677
|
/**
|
@@ -10679,7 +10679,7 @@ declare module "factorio:runtime" {
|
|
10679
10679
|
* - `"left"`
|
10680
10680
|
* - `"none"`
|
10681
10681
|
* - `"right"`
|
10682
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10682
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SplitterPriority.html Online documentation}
|
10683
10683
|
*/
|
10684
10684
|
export type SplitterPriority = "left" | "none" | "right"
|
10685
10685
|
/**
|
@@ -10688,12 +10688,12 @@ declare module "factorio:runtime" {
|
|
10688
10688
|
* Note that the API returns tags as a simple table, meaning any modifications to it will not propagate back to the game. Thus, to modify a set of tags, the whole table needs to be written back to the respective property.
|
10689
10689
|
* @example
|
10690
10690
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
10691
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10691
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Tags.html Online documentation}
|
10692
10692
|
*/
|
10693
10693
|
export type Tags = Record<string, AnyBasic>
|
10694
10694
|
/**
|
10695
10695
|
* @see TileWrite
|
10696
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10696
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Tile.html Online documentation}
|
10697
10697
|
*/
|
10698
10698
|
export interface Tile {
|
10699
10699
|
/**
|
@@ -10707,7 +10707,7 @@ declare module "factorio:runtime" {
|
|
10707
10707
|
}
|
10708
10708
|
/**
|
10709
10709
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
10710
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10710
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Tile.html Online documentation}
|
10711
10711
|
*/
|
10712
10712
|
export interface TileWrite {
|
10713
10713
|
/**
|
@@ -10731,99 +10731,99 @@ declare module "factorio:runtime" {
|
|
10731
10731
|
}
|
10732
10732
|
/**
|
10733
10733
|
* A floating-point number. This is a single-precision floating point number. Whilst Lua only uses double-precision numbers, when a function takes a float, the game engine will immediately convert the double-precision number to single-precision.
|
10734
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10734
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/float.html Online documentation}
|
10735
10735
|
*/
|
10736
10736
|
export type float = number
|
10737
10737
|
/**
|
10738
10738
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
10739
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10739
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/double.html Online documentation}
|
10740
10740
|
*/
|
10741
10741
|
export type double = number
|
10742
10742
|
/**
|
10743
10743
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
10744
10744
|
*
|
10745
10745
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
10746
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10746
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/uint8.html Online documentation}
|
10747
10747
|
*/
|
10748
10748
|
export type uint8 = number
|
10749
10749
|
/**
|
10750
10750
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
10751
10751
|
*
|
10752
10752
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
10753
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10753
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/int8.html Online documentation}
|
10754
10754
|
*/
|
10755
10755
|
export type int8 = number
|
10756
10756
|
/**
|
10757
10757
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
10758
10758
|
*
|
10759
10759
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
10760
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10760
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/uint16.html Online documentation}
|
10761
10761
|
*/
|
10762
10762
|
export type uint16 = number
|
10763
10763
|
/**
|
10764
10764
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
10765
10765
|
*
|
10766
10766
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
10767
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10767
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/int16.html Online documentation}
|
10768
10768
|
*/
|
10769
10769
|
export type int16 = number
|
10770
10770
|
/**
|
10771
10771
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
10772
10772
|
*
|
10773
10773
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
10774
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10774
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/uint.html Online documentation}
|
10775
10775
|
*/
|
10776
10776
|
export type uint = number
|
10777
10777
|
/**
|
10778
10778
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
10779
10779
|
*
|
10780
10780
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
10781
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10781
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/int.html Online documentation}
|
10782
10782
|
*/
|
10783
10783
|
export type int = number
|
10784
10784
|
/**
|
10785
10785
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
10786
10786
|
*
|
10787
10787
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
10788
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10788
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/uint64.html Online documentation}
|
10789
10789
|
*/
|
10790
10790
|
export type uint64 = number
|
10791
10791
|
/**
|
10792
10792
|
* Nil is the type of the value `nil`, whose main property is to be different from any other value. It usually represents the absence of a useful value.
|
10793
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10793
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/nil.html Online documentation}
|
10794
10794
|
*/
|
10795
10795
|
export type nil = undefined
|
10796
10796
|
/**
|
10797
10797
|
* Tables are enclosed in curly brackets, like this `{}`.
|
10798
10798
|
*
|
10799
10799
|
* Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain http://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination.
|
10800
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10800
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/table.html Online documentation}
|
10801
10801
|
*/
|
10802
10802
|
export type table = object
|
10803
10803
|
/**
|
10804
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.
|
10805
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10804
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.0.65/classes.html Classes} page.
|
10805
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaObject.html Online documentation}
|
10806
10806
|
*/
|
10807
10807
|
export interface LuaObject {
|
10808
10808
|
readonly object_name: string
|
10809
10809
|
}
|
10810
10810
|
/**
|
10811
10811
|
* Any basic type (string, number, boolean) or table.
|
10812
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10812
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AnyBasic.html Online documentation}
|
10813
10813
|
*/
|
10814
10814
|
export type AnyBasic = string | boolean | number | table
|
10815
10815
|
/**
|
10816
10816
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
10817
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10817
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/Any.html Online documentation}
|
10818
10818
|
*/
|
10819
10819
|
export type Any = string | boolean | number | table | LuaObject
|
10820
10820
|
/**
|
10821
10821
|
* All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. The probability and richness functions for placing specific tiles, entities, and decoratives can be overridden by including an entry named `{tile|entity|decorative}:(prototype name):{probability|richness}`.
|
10822
10822
|
*
|
10823
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10823
|
+
* {@link https://lua-api.factorio.com/2.0.65/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:}
|
10824
10824
|
*
|
10825
|
-
* {@link https://lua-api.factorio.com/2.0.
|
10826
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10825
|
+
* {@link https://lua-api.factorio.com/2.0.65/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:}
|
10826
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/PropertyExpressionNames.html Online documentation}
|
10827
10827
|
*/
|
10828
10828
|
export type PropertyExpressionNames = Record<string, string>
|
10829
10829
|
/**
|
@@ -10880,7 +10880,7 @@ declare module "factorio:runtime" {
|
|
10880
10880
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
10881
10881
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
10882
10882
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
10883
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10883
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ModSettingPrototypeFilter.html Online documentation}
|
10884
10884
|
*/
|
10885
10885
|
export type ModSettingPrototypeFilter =
|
10886
10886
|
| TypeModSettingPrototypeFilter
|
@@ -10944,7 +10944,7 @@ declare module "factorio:runtime" {
|
|
10944
10944
|
* Other attributes may be specified depending on `filter`:
|
10945
10945
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
10946
10946
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
10947
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10947
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
10948
10948
|
*/
|
10949
10949
|
export type SpaceLocationPrototypeFilter =
|
10950
10950
|
| TypeSpaceLocationPrototypeFilter
|
@@ -10952,7 +10952,7 @@ declare module "factorio:runtime" {
|
|
10952
10952
|
| OtherSpaceLocationPrototypeFilter
|
10953
10953
|
/**
|
10954
10954
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
10955
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
10955
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
10956
10956
|
*/
|
10957
10957
|
export type SpaceLocationPrototypeFilterWrite =
|
10958
10958
|
| TypeSpaceLocationPrototypeFilter
|
@@ -11000,7 +11000,7 @@ declare module "factorio:runtime" {
|
|
11000
11000
|
*
|
11001
11001
|
* Other attributes may be specified depending on `filter`:
|
11002
11002
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
11003
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11003
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/DecorativePrototypeFilter.html Online documentation}
|
11004
11004
|
*/
|
11005
11005
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
11006
11006
|
/**
|
@@ -11142,7 +11142,7 @@ declare module "factorio:runtime" {
|
|
11142
11142
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
11143
11143
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
11144
11144
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
11145
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11145
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TilePrototypeFilter.html Online documentation}
|
11146
11146
|
*/
|
11147
11147
|
export type TilePrototypeFilter =
|
11148
11148
|
| CollisionMaskTilePrototypeFilter
|
@@ -11153,7 +11153,7 @@ declare module "factorio:runtime" {
|
|
11153
11153
|
| OtherTilePrototypeFilter
|
11154
11154
|
/**
|
11155
11155
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11156
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11156
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TilePrototypeFilter.html Online documentation}
|
11157
11157
|
*/
|
11158
11158
|
export type TilePrototypeFilterWrite =
|
11159
11159
|
| CollisionMaskTilePrototypeFilter
|
@@ -11508,7 +11508,7 @@ declare module "factorio:runtime" {
|
|
11508
11508
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
11509
11509
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
11510
11510
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
11511
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11511
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemPrototypeFilter.html Online documentation}
|
11512
11512
|
*/
|
11513
11513
|
export type ItemPrototypeFilter =
|
11514
11514
|
| PlaceResultItemPrototypeFilter
|
@@ -11530,7 +11530,7 @@ declare module "factorio:runtime" {
|
|
11530
11530
|
| OtherItemPrototypeFilter
|
11531
11531
|
/**
|
11532
11532
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11533
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11533
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/ItemPrototypeFilter.html Online documentation}
|
11534
11534
|
*/
|
11535
11535
|
export type ItemPrototypeFilterWrite =
|
11536
11536
|
| PlaceResultItemPrototypeFilterWrite
|
@@ -11670,7 +11670,7 @@ declare module "factorio:runtime" {
|
|
11670
11670
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
11671
11671
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
11672
11672
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
11673
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11673
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TechnologyPrototypeFilter.html Online documentation}
|
11674
11674
|
*/
|
11675
11675
|
export type TechnologyPrototypeFilter =
|
11676
11676
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -11681,7 +11681,7 @@ declare module "factorio:runtime" {
|
|
11681
11681
|
| OtherTechnologyPrototypeFilter
|
11682
11682
|
/**
|
11683
11683
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11684
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11684
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/TechnologyPrototypeFilter.html Online documentation}
|
11685
11685
|
*/
|
11686
11686
|
export type TechnologyPrototypeFilterWrite =
|
11687
11687
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
@@ -11941,7 +11941,7 @@ declare module "factorio:runtime" {
|
|
11941
11941
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
11942
11942
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
11943
11943
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
11944
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11944
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RecipePrototypeFilter.html Online documentation}
|
11945
11945
|
*/
|
11946
11946
|
export type RecipePrototypeFilter =
|
11947
11947
|
| HasIngredientItemRecipePrototypeFilter
|
@@ -11957,7 +11957,7 @@ declare module "factorio:runtime" {
|
|
11957
11957
|
| OtherRecipePrototypeFilter
|
11958
11958
|
/**
|
11959
11959
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
11960
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
11960
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/RecipePrototypeFilter.html Online documentation}
|
11961
11961
|
*/
|
11962
11962
|
export type RecipePrototypeFilterWrite =
|
11963
11963
|
| HasIngredientItemRecipePrototypeFilterWrite
|
@@ -12009,7 +12009,7 @@ declare module "factorio:runtime" {
|
|
12009
12009
|
*
|
12010
12010
|
* Other attributes may be specified depending on `filter`:
|
12011
12011
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
12012
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12012
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/AchievementPrototypeFilter.html Online documentation}
|
12013
12013
|
*/
|
12014
12014
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
12015
12015
|
/**
|
@@ -12050,7 +12050,7 @@ declare module "factorio:runtime" {
|
|
12050
12050
|
*
|
12051
12051
|
* Other attributes may be specified depending on `filter`:
|
12052
12052
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
12053
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12053
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EquipmentPrototypeFilter.html Online documentation}
|
12054
12054
|
*/
|
12055
12055
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
12056
12056
|
/**
|
@@ -12235,7 +12235,7 @@ declare module "factorio:runtime" {
|
|
12235
12235
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
12236
12236
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
12237
12237
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
12238
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12238
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FluidPrototypeFilter.html Online documentation}
|
12239
12239
|
*/
|
12240
12240
|
export type FluidPrototypeFilter =
|
12241
12241
|
| NameFluidPrototypeFilter
|
@@ -12249,7 +12249,7 @@ declare module "factorio:runtime" {
|
|
12249
12249
|
| OtherFluidPrototypeFilter
|
12250
12250
|
/**
|
12251
12251
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
12252
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12252
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/FluidPrototypeFilter.html Online documentation}
|
12253
12253
|
*/
|
12254
12254
|
export type FluidPrototypeFilterWrite =
|
12255
12255
|
| NameFluidPrototypeFilter
|
@@ -12489,7 +12489,7 @@ declare module "factorio:runtime" {
|
|
12489
12489
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
12490
12490
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
12491
12491
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
12492
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12492
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityPrototypeFilter.html Online documentation}
|
12493
12493
|
*/
|
12494
12494
|
export type EntityPrototypeFilter =
|
12495
12495
|
| NameEntityPrototypeFilter
|
@@ -12503,7 +12503,7 @@ declare module "factorio:runtime" {
|
|
12503
12503
|
| OtherEntityPrototypeFilter
|
12504
12504
|
/**
|
12505
12505
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
12506
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12506
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/EntityPrototypeFilter.html Online documentation}
|
12507
12507
|
*/
|
12508
12508
|
export type EntityPrototypeFilterWrite =
|
12509
12509
|
| NameEntityPrototypeFilter
|
@@ -12547,7 +12547,7 @@ declare module "factorio:runtime" {
|
|
12547
12547
|
*
|
12548
12548
|
* Other attributes may be specified depending on `filter`:
|
12549
12549
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
12550
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12550
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
12551
12551
|
*/
|
12552
12552
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
12553
12553
|
/**
|
@@ -12647,7 +12647,7 @@ declare module "factorio:runtime" {
|
|
12647
12647
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
12648
12648
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
12649
12649
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
12650
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12650
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
12651
12651
|
*/
|
12652
12652
|
export type LuaScriptRaisedTeleportedEventFilter =
|
12653
12653
|
| TypeScriptRaisedTeleportedEventFilter
|
@@ -12752,7 +12752,7 @@ declare module "factorio:runtime" {
|
|
12752
12752
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
12753
12753
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
12754
12754
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
12755
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12755
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
12756
12756
|
*/
|
12757
12757
|
export type LuaPreRobotMinedEntityEventFilter =
|
12758
12758
|
| TypePreRobotMinedEntityEventFilter
|
@@ -12857,7 +12857,7 @@ declare module "factorio:runtime" {
|
|
12857
12857
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
12858
12858
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
12859
12859
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
12860
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12860
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
12861
12861
|
*/
|
12862
12862
|
export type LuaScriptRaisedBuiltEventFilter =
|
12863
12863
|
| TypeScriptRaisedBuiltEventFilter
|
@@ -12962,7 +12962,7 @@ declare module "factorio:runtime" {
|
|
12962
12962
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
12963
12963
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
12964
12964
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
12965
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
12965
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
12966
12966
|
*/
|
12967
12967
|
export type LuaPlatformMinedEntityEventFilter =
|
12968
12968
|
| TypePlatformMinedEntityEventFilter
|
@@ -13079,7 +13079,7 @@ declare module "factorio:runtime" {
|
|
13079
13079
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
13080
13080
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
13081
13081
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
13082
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13082
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
13083
13083
|
*/
|
13084
13084
|
export type LuaRobotBuiltEntityEventFilter =
|
13085
13085
|
| TypeRobotBuiltEntityEventFilter
|
@@ -13185,7 +13185,7 @@ declare module "factorio:runtime" {
|
|
13185
13185
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
13186
13186
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
13187
13187
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
13188
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13188
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
13189
13189
|
*/
|
13190
13190
|
export type LuaPrePlayerMinedEntityEventFilter =
|
13191
13191
|
| TypePrePlayerMinedEntityEventFilter
|
@@ -13292,7 +13292,7 @@ declare module "factorio:runtime" {
|
|
13292
13292
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
13293
13293
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
13294
13294
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
13295
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13295
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
13296
13296
|
*/
|
13297
13297
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
13298
13298
|
| TypeEntityDeconstructionCancelledEventFilter
|
@@ -13397,7 +13397,7 @@ declare module "factorio:runtime" {
|
|
13397
13397
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
13398
13398
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
13399
13399
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
13400
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13400
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
13401
13401
|
*/
|
13402
13402
|
export type LuaPreGhostUpgradedEventFilter =
|
13403
13403
|
| TypePreGhostUpgradedEventFilter
|
@@ -13514,7 +13514,7 @@ declare module "factorio:runtime" {
|
|
13514
13514
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
13515
13515
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
13516
13516
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
13517
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13517
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
13518
13518
|
*/
|
13519
13519
|
export type LuaPlatformBuiltEntityEventFilter =
|
13520
13520
|
| TypePlatformBuiltEntityEventFilter
|
@@ -13620,7 +13620,7 @@ declare module "factorio:runtime" {
|
|
13620
13620
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
13621
13621
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
13622
13622
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
13623
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13623
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
13624
13624
|
*/
|
13625
13625
|
export type LuaPrePlatformMinedEntityEventFilter =
|
13626
13626
|
| TypePrePlatformMinedEntityEventFilter
|
@@ -13725,7 +13725,7 @@ declare module "factorio:runtime" {
|
|
13725
13725
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
13726
13726
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
13727
13727
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
13728
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13728
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
13729
13729
|
*/
|
13730
13730
|
export type LuaEntityClonedEventFilter =
|
13731
13731
|
| TypeEntityClonedEventFilter
|
@@ -13830,7 +13830,7 @@ declare module "factorio:runtime" {
|
|
13830
13830
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
13831
13831
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
13832
13832
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
13833
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13833
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
13834
13834
|
*/
|
13835
13835
|
export type LuaPlayerRepairedEntityEventFilter =
|
13836
13836
|
| TypePlayerRepairedEntityEventFilter
|
@@ -13870,7 +13870,7 @@ declare module "factorio:runtime" {
|
|
13870
13870
|
*
|
13871
13871
|
* Other attributes may be specified depending on `filter`:
|
13872
13872
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
13873
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13873
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
13874
13874
|
*/
|
13875
13875
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
13876
13876
|
/**
|
@@ -13906,7 +13906,7 @@ declare module "factorio:runtime" {
|
|
13906
13906
|
*
|
13907
13907
|
* Other attributes may be specified depending on `filter`:
|
13908
13908
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
13909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
13909
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
13910
13910
|
*/
|
13911
13911
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
13912
13912
|
/**
|
@@ -14013,7 +14013,7 @@ declare module "factorio:runtime" {
|
|
14013
14013
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
14014
14014
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
14015
14015
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
14016
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14016
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
14017
14017
|
*/
|
14018
14018
|
export type LuaSegmentedUnitDamagedEventFilter =
|
14019
14019
|
| NameSegmentedUnitDamagedEventFilter
|
@@ -14023,7 +14023,7 @@ declare module "factorio:runtime" {
|
|
14023
14023
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
14024
14024
|
/**
|
14025
14025
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
14026
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14026
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
14027
14027
|
*/
|
14028
14028
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
14029
14029
|
| NameSegmentedUnitDamagedEventFilter
|
@@ -14128,7 +14128,7 @@ declare module "factorio:runtime" {
|
|
14128
14128
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
14129
14129
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
14130
14130
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
14131
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14131
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
14132
14132
|
*/
|
14133
14133
|
export type LuaPreGhostDeconstructedEventFilter =
|
14134
14134
|
| TypePreGhostDeconstructedEventFilter
|
@@ -14233,7 +14233,7 @@ declare module "factorio:runtime" {
|
|
14233
14233
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
14234
14234
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
14235
14235
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
14236
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14236
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
14237
14237
|
*/
|
14238
14238
|
export type LuaPlayerMinedEntityEventFilter =
|
14239
14239
|
| TypePlayerMinedEntityEventFilter
|
@@ -14338,7 +14338,7 @@ declare module "factorio:runtime" {
|
|
14338
14338
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
14339
14339
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
14340
14340
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
14341
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14341
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
14342
14342
|
*/
|
14343
14343
|
export type LuaSectorScannedEventFilter =
|
14344
14344
|
| TypeSectorScannedEventFilter
|
@@ -14443,7 +14443,7 @@ declare module "factorio:runtime" {
|
|
14443
14443
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
14444
14444
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
14445
14445
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
14446
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14446
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
14447
14447
|
*/
|
14448
14448
|
export type LuaRobotMinedEntityEventFilter =
|
14449
14449
|
| TypeRobotMinedEntityEventFilter
|
@@ -14550,7 +14550,7 @@ declare module "factorio:runtime" {
|
|
14550
14550
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
14551
14551
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
14552
14552
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
14553
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14553
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
14554
14554
|
*/
|
14555
14555
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
14556
14556
|
| TypeEntityMarkedForDeconstructionEventFilter
|
@@ -14590,7 +14590,7 @@ declare module "factorio:runtime" {
|
|
14590
14590
|
*
|
14591
14591
|
* Other attributes may be specified depending on `filter`:
|
14592
14592
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
14593
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14593
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
14594
14594
|
*/
|
14595
14595
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
14596
14596
|
/**
|
@@ -14690,7 +14690,7 @@ declare module "factorio:runtime" {
|
|
14690
14690
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
14691
14691
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
14692
14692
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
14693
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14693
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
14694
14694
|
*/
|
14695
14695
|
export type LuaScriptRaisedReviveEventFilter =
|
14696
14696
|
| TypeScriptRaisedReviveEventFilter
|
@@ -14807,7 +14807,7 @@ declare module "factorio:runtime" {
|
|
14807
14807
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
14808
14808
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
14809
14809
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
14810
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14810
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
14811
14811
|
*/
|
14812
14812
|
export type LuaPlayerBuiltEntityEventFilter =
|
14813
14813
|
| TypePlayerBuiltEntityEventFilter
|
@@ -14913,7 +14913,7 @@ declare module "factorio:runtime" {
|
|
14913
14913
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
14914
14914
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
14915
14915
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
14916
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
14916
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
14917
14917
|
*/
|
14918
14918
|
export type LuaUpgradeCancelledEventFilter =
|
14919
14919
|
| TypeUpgradeCancelledEventFilter
|
@@ -15093,7 +15093,7 @@ declare module "factorio:runtime" {
|
|
15093
15093
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
15094
15094
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
15095
15095
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
15096
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15096
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
15097
15097
|
*/
|
15098
15098
|
export type LuaEntityDamagedEventFilter =
|
15099
15099
|
| TypeEntityDamagedEventFilter
|
@@ -15107,7 +15107,7 @@ declare module "factorio:runtime" {
|
|
15107
15107
|
| OtherEntityDamagedEventFilter
|
15108
15108
|
/**
|
15109
15109
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
15110
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15110
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
15111
15111
|
*/
|
15112
15112
|
export type LuaEntityDamagedEventFilterWrite =
|
15113
15113
|
| TypeEntityDamagedEventFilter
|
@@ -15228,7 +15228,7 @@ declare module "factorio:runtime" {
|
|
15228
15228
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
15229
15229
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
15230
15230
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
15231
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15231
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
15232
15232
|
*/
|
15233
15233
|
export type LuaEntityDiedEventFilter =
|
15234
15234
|
| TypeEntityDiedEventFilter
|
@@ -15334,7 +15334,7 @@ declare module "factorio:runtime" {
|
|
15334
15334
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
15335
15335
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
15336
15336
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
15337
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15337
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
15338
15338
|
*/
|
15339
15339
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
15340
15340
|
| TypeEntityMarkedForUpgradeEventFilter
|
@@ -15385,7 +15385,7 @@ declare module "factorio:runtime" {
|
|
15385
15385
|
* Other attributes may be specified depending on `filter`:
|
15386
15386
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
15387
15387
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
15388
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15388
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
15389
15389
|
*/
|
15390
15390
|
export type LuaSegmentedUnitCreatedEventFilter =
|
15391
15391
|
| NameSegmentedUnitCreatedEventFilter
|
@@ -15487,7 +15487,7 @@ declare module "factorio:runtime" {
|
|
15487
15487
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
15488
15488
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
15489
15489
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
15490
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
15490
|
+
* @see {@link https://lua-api.factorio.com/2.0.65/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
15491
15491
|
*/
|
15492
15492
|
export type LuaScriptRaisedDestroyEventFilter =
|
15493
15493
|
| TypeScriptRaisedDestroyEventFilter
|