typed-factorio 4.7.0 → 4.9.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 +2554 -2493
- package/prototype/generated/types.d.ts +2645 -2620
- package/runtime/generated/classes.d.ts +5267 -5068
- package/runtime/generated/concepts.d.ts +588 -520
- package/runtime/generated/defines.d.ts +217 -216
- package/runtime/generated/events.d.ts +237 -233
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +7 -7
|
@@ -12,7 +12,7 @@ import type { VersionString } from "factorio:common"
|
|
|
12
12
|
declare module "factorio:runtime" {
|
|
13
13
|
/**
|
|
14
14
|
* Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is `1/2^16`.
|
|
15
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Weight.html Online documentation}
|
|
16
16
|
*/
|
|
17
17
|
export type Weight = double
|
|
18
18
|
export interface CircularParticleCreationSpecification {
|
|
@@ -54,8 +54,8 @@ declare module "factorio:runtime" {
|
|
|
54
54
|
_customEventIdBrand: any
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.1.
|
|
58
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
57
|
+
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.1.25/events.html the list of Factorio events} for more information on these.
|
|
58
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EventData.html Online documentation}
|
|
59
59
|
*/
|
|
60
60
|
export interface EventData {
|
|
61
61
|
/**
|
|
@@ -115,7 +115,7 @@ declare module "factorio:runtime" {
|
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* Information about an individual segment in a segmented unit when the unit died.
|
|
118
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
118
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PostSegmentDiedData.html Online documentation}
|
|
119
119
|
*/
|
|
120
120
|
export interface PostSegmentDiedData {
|
|
121
121
|
/**
|
|
@@ -131,7 +131,7 @@ declare module "factorio:runtime" {
|
|
|
131
131
|
* ## Union members
|
|
132
132
|
* - `"input"`
|
|
133
133
|
* - `"output"`
|
|
134
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
134
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BeltConnectionType.html Online documentation}
|
|
135
135
|
*/
|
|
136
136
|
export type BeltConnectionType = "input" | "output"
|
|
137
137
|
/**
|
|
@@ -142,7 +142,7 @@ declare module "factorio:runtime" {
|
|
|
142
142
|
* - {@link FluidID}: Used with fluid production statistics.
|
|
143
143
|
* - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
|
|
144
144
|
* - {@link EntityID}: Used with pollution statistics.
|
|
145
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
145
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FlowStatisticsID.html Online documentation}
|
|
146
146
|
*/
|
|
147
147
|
export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
|
|
148
148
|
export type ItemStackIndex = uint16
|
|
@@ -164,7 +164,7 @@ declare module "factorio:runtime" {
|
|
|
164
164
|
* - `"<="`: "lesser than or equal to"
|
|
165
165
|
* - `"≠"`: "not equal to"
|
|
166
166
|
* - `"!="`: "not equal to"
|
|
167
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
167
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ComparatorString.html Online documentation}
|
|
168
168
|
*/
|
|
169
169
|
export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
|
|
170
170
|
export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
|
|
@@ -195,116 +195,116 @@ declare module "factorio:runtime" {
|
|
|
195
195
|
*
|
|
196
196
|
* The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
|
|
197
197
|
*
|
|
198
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
199
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
198
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SpritePath.html > The supported types are:}
|
|
199
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpritePath.html Online documentation}
|
|
200
200
|
*/
|
|
201
201
|
export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
|
|
202
202
|
/**
|
|
203
203
|
* Parameters that affect the look and control of the game. Updating any of the member attributes here will immediately take effect in the game engine.
|
|
204
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
204
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.html Online documentation}
|
|
205
205
|
*/
|
|
206
206
|
export interface GameViewSettings {
|
|
207
207
|
/**
|
|
208
208
|
* Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
|
|
209
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
209
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_controller_gui.html Online documentation}
|
|
210
210
|
*/
|
|
211
211
|
show_controller_gui: boolean
|
|
212
212
|
/**
|
|
213
213
|
* Show the chart in the upper right-hand corner of the screen.
|
|
214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
214
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_minimap.html Online documentation}
|
|
215
215
|
*/
|
|
216
216
|
show_minimap: boolean
|
|
217
217
|
/**
|
|
218
218
|
* Show research progress and name in the upper right-hand corner of the screen.
|
|
219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
219
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_research_info.html Online documentation}
|
|
220
220
|
*/
|
|
221
221
|
show_research_info: boolean
|
|
222
222
|
/**
|
|
223
223
|
* Show overlay icons on entities. Also known as "alt-mode".
|
|
224
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
224
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_entity_info.html Online documentation}
|
|
225
225
|
*/
|
|
226
226
|
show_entity_info: boolean
|
|
227
227
|
/**
|
|
228
228
|
* Show the flashing alert icons next to the player's toolbar.
|
|
229
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
229
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_alert_gui.html Online documentation}
|
|
230
230
|
*/
|
|
231
231
|
show_alert_gui: boolean
|
|
232
232
|
/**
|
|
233
233
|
* When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
|
|
234
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
234
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.update_entity_selection.html Online documentation}
|
|
235
235
|
*/
|
|
236
236
|
update_entity_selection: boolean
|
|
237
237
|
/**
|
|
238
238
|
* When `true` (`false` is default), the rails will always show the rail block visualisation.
|
|
239
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
239
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
|
|
240
240
|
*/
|
|
241
241
|
show_rail_block_visualisation: boolean
|
|
242
242
|
/**
|
|
243
243
|
* Shows or hides the buttons row.
|
|
244
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_side_menu.html Online documentation}
|
|
245
245
|
*/
|
|
246
246
|
show_side_menu: boolean
|
|
247
247
|
/**
|
|
248
248
|
* Shows or hides the pins GUI on the right side of the screen.
|
|
249
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
249
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_pins_gui.html Online documentation}
|
|
250
250
|
*/
|
|
251
251
|
show_pins_gui: boolean
|
|
252
252
|
/**
|
|
253
253
|
* Shows or hides the view options when map is opened.
|
|
254
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
254
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_map_view_options.html Online documentation}
|
|
255
255
|
*/
|
|
256
256
|
show_map_view_options: boolean
|
|
257
257
|
/**
|
|
258
258
|
* Shows or hides the tooltip that is displayed when selecting an entity.
|
|
259
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
259
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
|
|
260
260
|
*/
|
|
261
261
|
show_entity_tooltip: boolean
|
|
262
262
|
/**
|
|
263
263
|
* Shows or hides quickbar of shortcuts.
|
|
264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
264
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_quickbar.html Online documentation}
|
|
265
265
|
*/
|
|
266
266
|
show_quickbar: boolean
|
|
267
267
|
/**
|
|
268
268
|
* Shows or hides the shortcut bar.
|
|
269
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
269
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
|
|
270
270
|
*/
|
|
271
271
|
show_shortcut_bar: boolean
|
|
272
272
|
/**
|
|
273
273
|
* Shows or hides the crafting queue.
|
|
274
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
274
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
|
|
275
275
|
*/
|
|
276
276
|
show_crafting_queue: boolean
|
|
277
277
|
/**
|
|
278
278
|
* Shows or hides the tool window with the weapons and armor.
|
|
279
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
279
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_tool_bar.html Online documentation}
|
|
280
280
|
*/
|
|
281
281
|
show_tool_bar: boolean
|
|
282
282
|
/**
|
|
283
283
|
* Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
|
|
284
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
284
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
|
|
285
285
|
*/
|
|
286
286
|
show_hotkey_suggestions: boolean
|
|
287
287
|
/**
|
|
288
288
|
* Shows or hides the surface list while in Remote View.
|
|
289
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
289
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_surface_list.html Online documentation}
|
|
290
290
|
*/
|
|
291
291
|
show_surface_list: boolean
|
|
292
292
|
/**
|
|
293
293
|
* Makes tall entities translucent and unselectable.
|
|
294
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
294
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.hide_tall_entities.html Online documentation}
|
|
295
295
|
*/
|
|
296
296
|
hide_tall_entities: boolean
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
299
|
* Precision is ignored beyond four decimals - `0.56789` results in `0.5678` and means 56.78% etc. Values can range from `-1000.0000` to `1000.0000`.
|
|
300
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
300
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EffectValue.html Online documentation}
|
|
301
301
|
*/
|
|
302
302
|
export type EffectValue = float
|
|
303
303
|
/**
|
|
304
304
|
* @example
|
|
305
305
|
* -- These are the effects of the vanilla Speed Module 3
|
|
306
306
|
* {speed = 0.5, consumption = 0.7, quality = -0.025}
|
|
307
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
307
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Effect.html Online documentation}
|
|
308
308
|
*/
|
|
309
309
|
export interface Effect {
|
|
310
310
|
readonly consumption?: EffectValue
|
|
@@ -315,12 +315,12 @@ declare module "factorio:runtime" {
|
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
317
|
* `math.huge` represents the maximum possible tick.
|
|
318
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
318
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapTick.html Online documentation}
|
|
319
319
|
*/
|
|
320
320
|
export type MapTick = uint64
|
|
321
321
|
/**
|
|
322
322
|
* @see BlueprintSignalIconWrite
|
|
323
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
323
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSignalIcon.html Online documentation}
|
|
324
324
|
*/
|
|
325
325
|
export interface BlueprintSignalIcon {
|
|
326
326
|
/**
|
|
@@ -334,7 +334,7 @@ declare module "factorio:runtime" {
|
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
|
|
337
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
337
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSignalIcon.html Online documentation}
|
|
338
338
|
*/
|
|
339
339
|
export interface BlueprintSignalIconWrite {
|
|
340
340
|
/**
|
|
@@ -423,7 +423,7 @@ declare module "factorio:runtime" {
|
|
|
423
423
|
* - `"collision-selection-box"`: 189
|
|
424
424
|
* - `"arrow"`: 190
|
|
425
425
|
* - `"cursor"`: 226
|
|
426
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
426
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RenderLayer.html Online documentation}
|
|
427
427
|
*/
|
|
428
428
|
export type RenderLayer =
|
|
429
429
|
| `${bigint}`
|
|
@@ -507,7 +507,7 @@ declare module "factorio:runtime" {
|
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
|
510
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
510
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapViewSettings.html Online documentation}
|
|
511
511
|
*/
|
|
512
512
|
export interface MapViewSettings {
|
|
513
513
|
readonly "show-logistic-network"?: boolean
|
|
@@ -537,7 +537,7 @@ declare module "factorio:runtime" {
|
|
|
537
537
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
|
538
538
|
* - `"spidertron-remote-selected"`
|
|
539
539
|
* - `"spidertron-remote-to-be-selected"`
|
|
540
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
540
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CursorBoxRenderType.html Online documentation}
|
|
541
541
|
*/
|
|
542
542
|
export type CursorBoxRenderType =
|
|
543
543
|
| "entity"
|
|
@@ -564,14 +564,14 @@ declare module "factorio:runtime" {
|
|
|
564
564
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
|
565
565
|
* @example
|
|
566
566
|
* "is_lower_object"
|
|
567
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
567
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CollisionLayerID.html Online documentation}
|
|
568
568
|
*/
|
|
569
569
|
export type CollisionLayerID = string
|
|
570
570
|
/**
|
|
571
571
|
* @example
|
|
572
572
|
* -- Most common collision mask of buildings:
|
|
573
573
|
* collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
|
|
574
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
574
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CollisionMask.html Online documentation}
|
|
575
575
|
*/
|
|
576
576
|
export interface CollisionMask {
|
|
577
577
|
/**
|
|
@@ -606,7 +606,7 @@ declare module "factorio:runtime" {
|
|
|
606
606
|
* - `"always"`
|
|
607
607
|
* - `"auto"`
|
|
608
608
|
* - `"auto-and-reserve-space"`
|
|
609
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
609
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScrollPolicy.html Online documentation}
|
|
610
610
|
*/
|
|
611
611
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
|
612
612
|
export interface EmptySlotInfo {
|
|
@@ -636,7 +636,7 @@ declare module "factorio:runtime" {
|
|
|
636
636
|
* - `"button-7"`
|
|
637
637
|
* - `"button-8"`
|
|
638
638
|
* - `"button-9"`
|
|
639
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
639
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ActiveMouseButtonFlags.html Online documentation}
|
|
640
640
|
*/
|
|
641
641
|
export interface ActiveMouseButtonFlags {
|
|
642
642
|
readonly "left"?: true
|
|
@@ -661,7 +661,7 @@ declare module "factorio:runtime" {
|
|
|
661
661
|
* - `"button-7"`
|
|
662
662
|
* - `"button-8"`
|
|
663
663
|
* - `"button-9"`
|
|
664
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
664
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MouseButtonFlags.html Online documentation}
|
|
665
665
|
*/
|
|
666
666
|
export type MouseButtonFlags = readonly (
|
|
667
667
|
| "left"
|
|
@@ -682,7 +682,7 @@ declare module "factorio:runtime" {
|
|
|
682
682
|
* - `"left"`
|
|
683
683
|
* - `"right"`
|
|
684
684
|
* - `"none"`
|
|
685
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
685
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SwitchState.html Online documentation}
|
|
686
686
|
*/
|
|
687
687
|
export type SwitchState = "left" | "right" | "none"
|
|
688
688
|
/**
|
|
@@ -713,7 +713,7 @@ declare module "factorio:runtime" {
|
|
|
713
713
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
|
714
714
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
|
715
715
|
* - `"inventory"`
|
|
716
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
716
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiElementType.html Online documentation}
|
|
717
717
|
*/
|
|
718
718
|
export type GuiElementType =
|
|
719
719
|
| "button"
|
|
@@ -784,7 +784,7 @@ declare module "factorio:runtime" {
|
|
|
784
784
|
* - `"space-connection"`
|
|
785
785
|
* - `"surface"`
|
|
786
786
|
* - `"virtual-signal"`
|
|
787
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
787
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ElemType.html Online documentation}
|
|
788
788
|
*/
|
|
789
789
|
export type ElemType =
|
|
790
790
|
| "achievement"
|
|
@@ -842,7 +842,7 @@ declare module "factorio:runtime" {
|
|
|
842
842
|
}
|
|
843
843
|
/**
|
|
844
844
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_VariablePresentationHint DebugAdapter VariablePresentationHint}
|
|
845
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
845
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DebugVariablePresentationHint.html Online documentation}
|
|
846
846
|
*/
|
|
847
847
|
export interface DebugVariablePresentationHint {
|
|
848
848
|
/**
|
|
@@ -857,7 +857,7 @@ declare module "factorio:runtime" {
|
|
|
857
857
|
}
|
|
858
858
|
/**
|
|
859
859
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable DebugAdapter Variable}
|
|
860
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
860
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DebugVariable.html Online documentation}
|
|
861
861
|
*/
|
|
862
862
|
export interface DebugVariable {
|
|
863
863
|
readonly name: string
|
|
@@ -873,13 +873,13 @@ declare module "factorio:runtime" {
|
|
|
873
873
|
* @see VectorTable
|
|
874
874
|
* @example
|
|
875
875
|
* right = {1.0, 0.0}
|
|
876
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
876
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector.html Online documentation}
|
|
877
877
|
*/
|
|
878
878
|
export type Vector = readonly [float, float]
|
|
879
879
|
/**
|
|
880
880
|
* Table form of {@link Vector}.
|
|
881
881
|
* @see Vector
|
|
882
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
882
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector.html Online documentation}
|
|
883
883
|
*/
|
|
884
884
|
export interface VectorTable {
|
|
885
885
|
readonly x: float
|
|
@@ -888,7 +888,7 @@ declare module "factorio:runtime" {
|
|
|
888
888
|
/**
|
|
889
889
|
* Coordinates of a chunk in a {@link LuaSurface} where each integer `x`/`y` represents a different chunk. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys. A {@link MapPosition} can be translated to a ChunkPosition by dividing the `x`/`y` values by 32.
|
|
890
890
|
* @see ChunkPositionArray
|
|
891
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
891
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChunkPosition.html Online documentation}
|
|
892
892
|
*/
|
|
893
893
|
export interface ChunkPosition {
|
|
894
894
|
readonly x: int32
|
|
@@ -897,7 +897,7 @@ declare module "factorio:runtime" {
|
|
|
897
897
|
/**
|
|
898
898
|
* Array form of {@link ChunkPosition}.
|
|
899
899
|
* @see ChunkPosition
|
|
900
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
900
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChunkPosition.html Online documentation}
|
|
901
901
|
*/
|
|
902
902
|
export type ChunkPositionArray = readonly [int32, int32]
|
|
903
903
|
export interface ItemStackLocation {
|
|
@@ -920,8 +920,10 @@ declare module "factorio:runtime" {
|
|
|
920
920
|
}
|
|
921
921
|
/**
|
|
922
922
|
* An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.
|
|
923
|
+
*
|
|
924
|
+
* If this is specified as a string that is an item prototype name, then quality is set to `"normal"` and the comparator is set to `"="`, so only normal quality items will match the filter.
|
|
923
925
|
* @see ItemFilterWrite
|
|
924
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
926
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemFilter.html Online documentation}
|
|
925
927
|
*/
|
|
926
928
|
export type ItemFilter =
|
|
927
929
|
| {
|
|
@@ -930,18 +932,18 @@ declare module "factorio:runtime" {
|
|
|
930
932
|
*/
|
|
931
933
|
readonly name?: LuaItemPrototype
|
|
932
934
|
/**
|
|
933
|
-
* The quality.
|
|
935
|
+
* The quality. Defaults to empty, so any quality items will match the filter.
|
|
934
936
|
*/
|
|
935
937
|
readonly quality?: LuaQualityPrototype
|
|
936
938
|
/**
|
|
937
|
-
* The quality comparison type.
|
|
939
|
+
* The quality comparison type. Defaults to `"="`.
|
|
938
940
|
*/
|
|
939
941
|
readonly comparator?: ComparatorStringRead
|
|
940
942
|
}
|
|
941
943
|
| string
|
|
942
944
|
/**
|
|
943
945
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
944
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
946
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemFilter.html Online documentation}
|
|
945
947
|
*/
|
|
946
948
|
export type ItemFilterWrite =
|
|
947
949
|
| {
|
|
@@ -950,18 +952,18 @@ declare module "factorio:runtime" {
|
|
|
950
952
|
*/
|
|
951
953
|
readonly name?: ItemID
|
|
952
954
|
/**
|
|
953
|
-
* The quality.
|
|
955
|
+
* The quality. Defaults to empty, so any quality items will match the filter.
|
|
954
956
|
*/
|
|
955
957
|
readonly quality?: QualityID
|
|
956
958
|
/**
|
|
957
|
-
* The quality comparison type.
|
|
959
|
+
* The quality comparison type. Defaults to `"="`.
|
|
958
960
|
*/
|
|
959
961
|
readonly comparator?: ComparatorString
|
|
960
962
|
}
|
|
961
963
|
| string
|
|
962
964
|
/**
|
|
963
965
|
* @see SavedLogisticFiltersWrite
|
|
964
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
966
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticFilters.html Online documentation}
|
|
965
967
|
*/
|
|
966
968
|
export interface SavedLogisticFilters {
|
|
967
969
|
readonly trash_not_requested: boolean
|
|
@@ -969,7 +971,7 @@ declare module "factorio:runtime" {
|
|
|
969
971
|
}
|
|
970
972
|
/**
|
|
971
973
|
* Write form of {@link SavedLogisticFilters}, where some properties allow additional values as input compared to the read form.
|
|
972
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
974
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticFilters.html Online documentation}
|
|
973
975
|
*/
|
|
974
976
|
export interface SavedLogisticFiltersWrite {
|
|
975
977
|
readonly trash_not_requested: boolean
|
|
@@ -977,7 +979,7 @@ declare module "factorio:runtime" {
|
|
|
977
979
|
}
|
|
978
980
|
/**
|
|
979
981
|
* @see SavedLogisticSectionWrite
|
|
980
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
982
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticSection.html Online documentation}
|
|
981
983
|
*/
|
|
982
984
|
export interface SavedLogisticSection {
|
|
983
985
|
readonly group?: string
|
|
@@ -987,7 +989,7 @@ declare module "factorio:runtime" {
|
|
|
987
989
|
}
|
|
988
990
|
/**
|
|
989
991
|
* Write form of {@link SavedLogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
992
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticSection.html Online documentation}
|
|
991
993
|
*/
|
|
992
994
|
export interface SavedLogisticSectionWrite {
|
|
993
995
|
readonly group?: string
|
|
@@ -1026,7 +1028,7 @@ declare module "factorio:runtime" {
|
|
|
1026
1028
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
|
1027
1029
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
|
1028
1030
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
|
1029
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1031
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LocalisedString.html Online documentation}
|
|
1030
1032
|
*/
|
|
1031
1033
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
|
1032
1034
|
export interface BaseCommand {
|
|
@@ -1259,7 +1261,7 @@ declare module "factorio:runtime" {
|
|
|
1259
1261
|
* - {@link defines.command.stop}: {@link StopCommand}
|
|
1260
1262
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
|
1261
1263
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
|
1262
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1264
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Command.html Online documentation}
|
|
1263
1265
|
*/
|
|
1264
1266
|
export type Command =
|
|
1265
1267
|
| AttackCommand
|
|
@@ -1273,7 +1275,7 @@ declare module "factorio:runtime" {
|
|
|
1273
1275
|
| BuildBaseCommand
|
|
1274
1276
|
/**
|
|
1275
1277
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
|
1276
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1278
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Command.html Online documentation}
|
|
1277
1279
|
*/
|
|
1278
1280
|
export type CommandWrite =
|
|
1279
1281
|
| AttackCommand
|
|
@@ -1350,7 +1352,7 @@ declare module "factorio:runtime" {
|
|
|
1350
1352
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
|
1351
1353
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
|
1352
1354
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
|
1353
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1355
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiArrowSpecification.html Online documentation}
|
|
1354
1356
|
*/
|
|
1355
1357
|
export type GuiArrowSpecification =
|
|
1356
1358
|
| EntityGuiArrowSpecification
|
|
@@ -1370,7 +1372,7 @@ declare module "factorio:runtime" {
|
|
|
1370
1372
|
* - `"position"`
|
|
1371
1373
|
* - `"crafting_queue"`
|
|
1372
1374
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
|
1373
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1375
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiArrowType.html Online documentation}
|
|
1374
1376
|
*/
|
|
1375
1377
|
export type GuiArrowType =
|
|
1376
1378
|
"nowhere" | "goal" | "entity_info" | "active_window" | "entity" | "position" | "crafting_queue" | "item_stack"
|
|
@@ -1379,7 +1381,7 @@ declare module "factorio:runtime" {
|
|
|
1379
1381
|
*
|
|
1380
1382
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
|
1381
1383
|
* @see Vector3DArray
|
|
1382
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1384
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector3D.html Online documentation}
|
|
1383
1385
|
*/
|
|
1384
1386
|
export interface Vector3D {
|
|
1385
1387
|
readonly x: float
|
|
@@ -1389,7 +1391,7 @@ declare module "factorio:runtime" {
|
|
|
1389
1391
|
/**
|
|
1390
1392
|
* Array form of {@link Vector3D}.
|
|
1391
1393
|
* @see Vector3D
|
|
1392
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1394
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector3D.html Online documentation}
|
|
1393
1395
|
*/
|
|
1394
1396
|
export type Vector3DArray = readonly [float, float, float]
|
|
1395
1397
|
export interface TrainVisualizationConstants {
|
|
@@ -1428,12 +1430,12 @@ declare module "factorio:runtime" {
|
|
|
1428
1430
|
}
|
|
1429
1431
|
/**
|
|
1430
1432
|
* Does not return the value at runtime.
|
|
1431
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1433
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ColorLookupTable.html Online documentation}
|
|
1432
1434
|
*/
|
|
1433
1435
|
export type ColorLookupTable = nil
|
|
1434
1436
|
/**
|
|
1435
1437
|
* Returns an empty table at runtime.
|
|
1436
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1438
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DaytimeColorLookupTable.html Online documentation}
|
|
1437
1439
|
*/
|
|
1438
1440
|
export type DaytimeColorLookupTable = "{}"
|
|
1439
1441
|
export interface ColorFilterData {
|
|
@@ -1541,7 +1543,7 @@ declare module "factorio:runtime" {
|
|
|
1541
1543
|
}
|
|
1542
1544
|
/**
|
|
1543
1545
|
* @see TrainScheduleWrite
|
|
1544
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1546
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainSchedule.html Online documentation}
|
|
1545
1547
|
*/
|
|
1546
1548
|
export interface TrainSchedule {
|
|
1547
1549
|
/**
|
|
@@ -1552,7 +1554,7 @@ declare module "factorio:runtime" {
|
|
|
1552
1554
|
}
|
|
1553
1555
|
/**
|
|
1554
1556
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1555
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1557
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainSchedule.html Online documentation}
|
|
1556
1558
|
*/
|
|
1557
1559
|
export interface TrainScheduleWrite {
|
|
1558
1560
|
/**
|
|
@@ -1563,7 +1565,7 @@ declare module "factorio:runtime" {
|
|
|
1563
1565
|
}
|
|
1564
1566
|
/**
|
|
1565
1567
|
* @see PlatformScheduleWrite
|
|
1566
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1568
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PlatformSchedule.html Online documentation}
|
|
1567
1569
|
*/
|
|
1568
1570
|
export interface PlatformSchedule {
|
|
1569
1571
|
/**
|
|
@@ -1574,7 +1576,7 @@ declare module "factorio:runtime" {
|
|
|
1574
1576
|
}
|
|
1575
1577
|
/**
|
|
1576
1578
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1577
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1579
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PlatformSchedule.html Online documentation}
|
|
1578
1580
|
*/
|
|
1579
1581
|
export interface PlatformScheduleWrite {
|
|
1580
1582
|
/**
|
|
@@ -1614,6 +1616,68 @@ declare module "factorio:runtime" {
|
|
|
1614
1616
|
readonly south_to_none: BoundingBox
|
|
1615
1617
|
readonly none_to_north: BoundingBox
|
|
1616
1618
|
}
|
|
1619
|
+
/**
|
|
1620
|
+
* @see ScheduleRecordWrite
|
|
1621
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleRecord.html Online documentation}
|
|
1622
|
+
*/
|
|
1623
|
+
export interface ScheduleRecord {
|
|
1624
|
+
/**
|
|
1625
|
+
* Name of the station.
|
|
1626
|
+
*/
|
|
1627
|
+
readonly station?: string
|
|
1628
|
+
readonly rail?: LuaEntity
|
|
1629
|
+
/**
|
|
1630
|
+
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
1631
|
+
*/
|
|
1632
|
+
readonly rail_direction?: defines.rail_direction
|
|
1633
|
+
/**
|
|
1634
|
+
* When reading this will always be present but may be an empty array.
|
|
1635
|
+
*/
|
|
1636
|
+
readonly wait_conditions?: WaitCondition[]
|
|
1637
|
+
/**
|
|
1638
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1639
|
+
*/
|
|
1640
|
+
readonly temporary?: boolean
|
|
1641
|
+
/**
|
|
1642
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1643
|
+
*/
|
|
1644
|
+
readonly created_by_interrupt?: boolean
|
|
1645
|
+
/**
|
|
1646
|
+
* When reading this will always be present. Defaults to `true` when writing.
|
|
1647
|
+
*/
|
|
1648
|
+
readonly allows_unloading?: boolean
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
1652
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleRecord.html Online documentation}
|
|
1653
|
+
*/
|
|
1654
|
+
export interface ScheduleRecordWrite {
|
|
1655
|
+
/**
|
|
1656
|
+
* Name of the station.
|
|
1657
|
+
*/
|
|
1658
|
+
readonly station?: string
|
|
1659
|
+
readonly rail?: LuaEntity
|
|
1660
|
+
/**
|
|
1661
|
+
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
1662
|
+
*/
|
|
1663
|
+
readonly rail_direction?: defines.rail_direction
|
|
1664
|
+
/**
|
|
1665
|
+
* When reading this will always be present but may be an empty array.
|
|
1666
|
+
*/
|
|
1667
|
+
readonly wait_conditions?: readonly WaitConditionWrite[]
|
|
1668
|
+
/**
|
|
1669
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1670
|
+
*/
|
|
1671
|
+
readonly temporary?: boolean
|
|
1672
|
+
/**
|
|
1673
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1674
|
+
*/
|
|
1675
|
+
readonly created_by_interrupt?: boolean
|
|
1676
|
+
/**
|
|
1677
|
+
* When reading this will always be present. Defaults to `true` when writing.
|
|
1678
|
+
*/
|
|
1679
|
+
readonly allows_unloading?: boolean
|
|
1680
|
+
}
|
|
1617
1681
|
export interface RailLocation {
|
|
1618
1682
|
readonly position: MapPosition
|
|
1619
1683
|
readonly direction: defines.direction
|
|
@@ -1649,7 +1713,7 @@ declare module "factorio:runtime" {
|
|
|
1649
1713
|
}
|
|
1650
1714
|
/**
|
|
1651
1715
|
* A recipe prototype with optional quality specification.
|
|
1652
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1716
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
|
1653
1717
|
*/
|
|
1654
1718
|
export interface RecipeIDAndQualityIDPair {
|
|
1655
1719
|
/**
|
|
@@ -1714,7 +1778,7 @@ declare module "factorio:runtime" {
|
|
|
1714
1778
|
}
|
|
1715
1779
|
/**
|
|
1716
1780
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1717
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1781
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentEngineSpecification.html Online documentation}
|
|
1718
1782
|
*/
|
|
1719
1783
|
export interface SegmentEngineSpecification {
|
|
1720
1784
|
/**
|
|
@@ -1728,7 +1792,7 @@ declare module "factorio:runtime" {
|
|
|
1728
1792
|
}
|
|
1729
1793
|
/**
|
|
1730
1794
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1731
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1795
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentSpecification.html Online documentation}
|
|
1732
1796
|
*/
|
|
1733
1797
|
export interface SegmentSpecification {
|
|
1734
1798
|
/**
|
|
@@ -1742,7 +1806,7 @@ declare module "factorio:runtime" {
|
|
|
1742
1806
|
}
|
|
1743
1807
|
/**
|
|
1744
1808
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1745
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1809
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TileBuildabilityRule.html Online documentation}
|
|
1746
1810
|
*/
|
|
1747
1811
|
export interface TileBuildabilityRule {
|
|
1748
1812
|
/**
|
|
@@ -1936,7 +2000,7 @@ declare module "factorio:runtime" {
|
|
|
1936
2000
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1937
2001
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1938
2002
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1939
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2003
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ForceID.html Online documentation}
|
|
1940
2004
|
*/
|
|
1941
2005
|
export type ForceID = string | uint8 | LuaForce
|
|
1942
2006
|
/**
|
|
@@ -1946,7 +2010,7 @@ declare module "factorio:runtime" {
|
|
|
1946
2010
|
* - `string`: The fluid name.
|
|
1947
2011
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1948
2012
|
* - {@link Fluid}: The fluid.
|
|
1949
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2013
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidID.html Online documentation}
|
|
1950
2014
|
*/
|
|
1951
2015
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1952
2016
|
/**
|
|
@@ -1957,12 +2021,12 @@ declare module "factorio:runtime" {
|
|
|
1957
2021
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1958
2022
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1959
2023
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1960
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2024
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityWithQualityID.html Online documentation}
|
|
1961
2025
|
*/
|
|
1962
2026
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1963
2027
|
/**
|
|
1964
2028
|
* An entity prototype with optional quality specification.
|
|
1965
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2029
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
|
1966
2030
|
*/
|
|
1967
2031
|
export interface EntityIDAndQualityIDPair {
|
|
1968
2032
|
/**
|
|
@@ -1982,13 +2046,13 @@ declare module "factorio:runtime" {
|
|
|
1982
2046
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
1983
2047
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1984
2048
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
1985
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2049
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemWithQualityID.html Online documentation}
|
|
1986
2050
|
*/
|
|
1987
2051
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
1988
2052
|
/**
|
|
1989
2053
|
* An item prototype with optional quality specification.
|
|
1990
2054
|
* @see ItemIDAndQualityIDPairWrite
|
|
1991
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2055
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1992
2056
|
*/
|
|
1993
2057
|
export interface ItemIDAndQualityIDPair {
|
|
1994
2058
|
/**
|
|
@@ -2002,7 +2066,7 @@ declare module "factorio:runtime" {
|
|
|
2002
2066
|
}
|
|
2003
2067
|
/**
|
|
2004
2068
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2005
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2069
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
2006
2070
|
*/
|
|
2007
2071
|
export interface ItemIDAndQualityIDPairWrite {
|
|
2008
2072
|
/**
|
|
@@ -2022,7 +2086,7 @@ declare module "factorio:runtime" {
|
|
|
2022
2086
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
2023
2087
|
* - {@link LuaItem}: The item.
|
|
2024
2088
|
* - `string`: The prototype name.
|
|
2025
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2089
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemID.html Online documentation}
|
|
2026
2090
|
*/
|
|
2027
2091
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
2028
2092
|
/**
|
|
@@ -2031,7 +2095,7 @@ declare module "factorio:runtime" {
|
|
|
2031
2095
|
* ## Union members
|
|
2032
2096
|
* - {@link LuaItemGroup}: The item group prototype.
|
|
2033
2097
|
* - `string`: The prototype name.
|
|
2034
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2098
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemGroupID.html Online documentation}
|
|
2035
2099
|
*/
|
|
2036
2100
|
export type ItemGroupID = LuaItemGroup | string
|
|
2037
2101
|
/**
|
|
@@ -2041,7 +2105,7 @@ declare module "factorio:runtime" {
|
|
|
2041
2105
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
2042
2106
|
* - {@link LuaEntity}: The entity.
|
|
2043
2107
|
* - `string`: The prototype name.
|
|
2044
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2108
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityID.html Online documentation}
|
|
2045
2109
|
*/
|
|
2046
2110
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
2047
2111
|
/**
|
|
@@ -2051,7 +2115,7 @@ declare module "factorio:runtime" {
|
|
|
2051
2115
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
2052
2116
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
2053
2117
|
* - `string`: The prototype name.
|
|
2054
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2118
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyID.html Online documentation}
|
|
2055
2119
|
*/
|
|
2056
2120
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
2057
2121
|
/**
|
|
@@ -2060,7 +2124,7 @@ declare module "factorio:runtime" {
|
|
|
2060
2124
|
* ## Union members
|
|
2061
2125
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
2062
2126
|
* - `string`: The prototype name.
|
|
2063
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2127
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ParticleID.html Online documentation}
|
|
2064
2128
|
*/
|
|
2065
2129
|
export type ParticleID = LuaParticlePrototype | string
|
|
2066
2130
|
/**
|
|
@@ -2069,7 +2133,7 @@ declare module "factorio:runtime" {
|
|
|
2069
2133
|
* ## Union members
|
|
2070
2134
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
2071
2135
|
* - `string`: The prototype name.
|
|
2072
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2136
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DamageTypeID.html Online documentation}
|
|
2073
2137
|
*/
|
|
2074
2138
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
2075
2139
|
/**
|
|
@@ -2078,7 +2142,7 @@ declare module "factorio:runtime" {
|
|
|
2078
2142
|
* ## Union members
|
|
2079
2143
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
2080
2144
|
* - `string`: The prototype name.
|
|
2081
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2145
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrivialSmokeID.html Online documentation}
|
|
2082
2146
|
*/
|
|
2083
2147
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
2084
2148
|
/**
|
|
@@ -2090,7 +2154,7 @@ declare module "factorio:runtime" {
|
|
|
2090
2154
|
* - `"left"`
|
|
2091
2155
|
* - `"right"`
|
|
2092
2156
|
* - `"center"`
|
|
2093
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2157
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TextAlign.html Online documentation}
|
|
2094
2158
|
*/
|
|
2095
2159
|
export type TextAlign = "left" | "right" | "center"
|
|
2096
2160
|
/**
|
|
@@ -2103,7 +2167,7 @@ declare module "factorio:runtime" {
|
|
|
2103
2167
|
* - `"middle"`
|
|
2104
2168
|
* - `"baseline"`
|
|
2105
2169
|
* - `"bottom"`
|
|
2106
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2170
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/VerticalTextAlign.html Online documentation}
|
|
2107
2171
|
*/
|
|
2108
2172
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
2109
2173
|
/**
|
|
@@ -2112,7 +2176,7 @@ declare module "factorio:runtime" {
|
|
|
2112
2176
|
* ## Union members
|
|
2113
2177
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
2114
2178
|
* - `string`: The prototype name.
|
|
2115
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2179
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QualityID.html Online documentation}
|
|
2116
2180
|
*/
|
|
2117
2181
|
export type QualityID = LuaQualityPrototype | string
|
|
2118
2182
|
/**
|
|
@@ -2121,7 +2185,7 @@ declare module "factorio:runtime" {
|
|
|
2121
2185
|
* ## Union members
|
|
2122
2186
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
2123
2187
|
* - `string`: By name of the recipe category prototype.
|
|
2124
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2188
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipeCategoryID.html Online documentation}
|
|
2125
2189
|
*/
|
|
2126
2190
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
2127
2191
|
/**
|
|
@@ -2131,7 +2195,7 @@ declare module "factorio:runtime" {
|
|
|
2131
2195
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
2132
2196
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
2133
2197
|
* - `string`: By name of the recipe prototype.
|
|
2134
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2198
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipeID.html Online documentation}
|
|
2135
2199
|
*/
|
|
2136
2200
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
2137
2201
|
/**
|
|
@@ -2141,7 +2205,7 @@ declare module "factorio:runtime" {
|
|
|
2141
2205
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
2142
2206
|
* - {@link LuaTile}: By instance of tile.
|
|
2143
2207
|
* - `string`: By name of the tile prototype.
|
|
2144
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2208
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TileID.html Online documentation}
|
|
2145
2209
|
*/
|
|
2146
2210
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
2147
2211
|
export interface Fluid {
|
|
@@ -2165,7 +2229,7 @@ declare module "factorio:runtime" {
|
|
|
2165
2229
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
2166
2230
|
* - {@link LuaEquipment}: The equipment.
|
|
2167
2231
|
* - `string`: The prototype name.
|
|
2168
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2232
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentID.html Online documentation}
|
|
2169
2233
|
*/
|
|
2170
2234
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
2171
2235
|
/**
|
|
@@ -2177,19 +2241,19 @@ declare module "factorio:runtime" {
|
|
|
2177
2241
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2178
2242
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
2179
2243
|
* @see EquipmentWithQualityIDWrite
|
|
2180
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2181
2245
|
*/
|
|
2182
2246
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
2183
2247
|
/**
|
|
2184
2248
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
|
2185
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2249
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2186
2250
|
*/
|
|
2187
2251
|
export type EquipmentWithQualityIDWrite =
|
|
2188
2252
|
LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite
|
|
2189
2253
|
/**
|
|
2190
2254
|
* An equipment prototype with optional quality specification.
|
|
2191
2255
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
2192
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2256
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2193
2257
|
*/
|
|
2194
2258
|
export interface EquipmentIDAndQualityIDPair {
|
|
2195
2259
|
/**
|
|
@@ -2203,7 +2267,7 @@ declare module "factorio:runtime" {
|
|
|
2203
2267
|
}
|
|
2204
2268
|
/**
|
|
2205
2269
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2206
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2270
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2207
2271
|
*/
|
|
2208
2272
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
2209
2273
|
/**
|
|
@@ -2250,7 +2314,7 @@ declare module "factorio:runtime" {
|
|
|
2250
2314
|
* @example
|
|
2251
2315
|
* -- Shorthand
|
|
2252
2316
|
* {{-2, -3}, {5, 8}}
|
|
2253
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2317
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoundingBox.html Online documentation}
|
|
2254
2318
|
*/
|
|
2255
2319
|
export interface BoundingBox {
|
|
2256
2320
|
readonly left_top: MapPosition
|
|
@@ -2260,7 +2324,7 @@ declare module "factorio:runtime" {
|
|
|
2260
2324
|
/**
|
|
2261
2325
|
* Array form of {@link BoundingBox}.
|
|
2262
2326
|
* @see BoundingBox
|
|
2263
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2327
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoundingBox.html Online documentation}
|
|
2264
2328
|
*/
|
|
2265
2329
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
2266
2330
|
export interface BoundingBoxWrite {
|
|
@@ -2323,7 +2387,7 @@ declare module "factorio:runtime" {
|
|
|
2323
2387
|
* - 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.
|
|
2324
2388
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
2325
2389
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
2326
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2390
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SurfaceIdentification.html Online documentation}
|
|
2327
2391
|
*/
|
|
2328
2392
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
2329
2393
|
/**
|
|
@@ -2333,7 +2397,7 @@ declare module "factorio:runtime" {
|
|
|
2333
2397
|
* - PlayerIndex: The player index.
|
|
2334
2398
|
* - `string`: The player name.
|
|
2335
2399
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
2336
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2400
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PlayerIdentification.html Online documentation}
|
|
2337
2401
|
*/
|
|
2338
2402
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
2339
2403
|
/**
|
|
@@ -2342,7 +2406,7 @@ declare module "factorio:runtime" {
|
|
|
2342
2406
|
* ## Union members
|
|
2343
2407
|
* - {@link ForceID}[]: Array of many forces.
|
|
2344
2408
|
* - {@link ForceID}: A single force.
|
|
2345
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2409
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ForceSet.html Online documentation}
|
|
2346
2410
|
*/
|
|
2347
2411
|
export type ForceSet = readonly ForceID[] | ForceID
|
|
2348
2412
|
/**
|
|
@@ -2351,7 +2415,7 @@ declare module "factorio:runtime" {
|
|
|
2351
2415
|
* ## Union members
|
|
2352
2416
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
2353
2417
|
* - `string`: The prototype name.
|
|
2354
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2418
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DecorativeID.html Online documentation}
|
|
2355
2419
|
*/
|
|
2356
2420
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
2357
2421
|
/**
|
|
@@ -2360,7 +2424,7 @@ declare module "factorio:runtime" {
|
|
|
2360
2424
|
* ## Union members
|
|
2361
2425
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
2362
2426
|
* - `string`: The prototype name.
|
|
2363
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2427
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidChunkID.html Online documentation}
|
|
2364
2428
|
*/
|
|
2365
2429
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
2366
2430
|
/**
|
|
@@ -2369,7 +2433,7 @@ declare module "factorio:runtime" {
|
|
|
2369
2433
|
* ## Union members
|
|
2370
2434
|
* - {@link LuaSpaceConnectionPrototype}: The space connection prototype.
|
|
2371
2435
|
* - `string`: The prototype name.
|
|
2372
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2436
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceConnectionID.html Online documentation}
|
|
2373
2437
|
*/
|
|
2374
2438
|
export type SpaceConnectionID = LuaSpaceConnectionPrototype | string
|
|
2375
2439
|
/**
|
|
@@ -2378,7 +2442,7 @@ declare module "factorio:runtime" {
|
|
|
2378
2442
|
* ## Union members
|
|
2379
2443
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
2380
2444
|
* - `string`: The prototype name.
|
|
2381
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2445
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceLocationID.html Online documentation}
|
|
2382
2446
|
*/
|
|
2383
2447
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
2384
2448
|
/**
|
|
@@ -2386,7 +2450,7 @@ declare module "factorio:runtime" {
|
|
|
2386
2450
|
*
|
|
2387
2451
|
* When the LogisticFilter that this is used in has a non-zero `min` value then `comparator` must be `"="` (the default when writing) and `quality` is mandatory.
|
|
2388
2452
|
* @see SignalFilterWrite
|
|
2389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2453
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalFilter.html Online documentation}
|
|
2390
2454
|
*/
|
|
2391
2455
|
export type SignalFilter =
|
|
2392
2456
|
| {
|
|
@@ -2410,7 +2474,7 @@ declare module "factorio:runtime" {
|
|
|
2410
2474
|
| string
|
|
2411
2475
|
/**
|
|
2412
2476
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
|
2413
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2477
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalFilter.html Online documentation}
|
|
2414
2478
|
*/
|
|
2415
2479
|
export type SignalFilterWrite =
|
|
2416
2480
|
| {
|
|
@@ -2434,7 +2498,7 @@ declare module "factorio:runtime" {
|
|
|
2434
2498
|
| string
|
|
2435
2499
|
/**
|
|
2436
2500
|
* @see LogisticFilterWrite
|
|
2437
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2501
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticFilter.html Online documentation}
|
|
2438
2502
|
*/
|
|
2439
2503
|
export interface LogisticFilter {
|
|
2440
2504
|
/**
|
|
@@ -2464,7 +2528,7 @@ declare module "factorio:runtime" {
|
|
|
2464
2528
|
}
|
|
2465
2529
|
/**
|
|
2466
2530
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
2467
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2531
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticFilter.html Online documentation}
|
|
2468
2532
|
*/
|
|
2469
2533
|
export interface LogisticFilterWrite {
|
|
2470
2534
|
/**
|
|
@@ -2540,7 +2604,7 @@ declare module "factorio:runtime" {
|
|
|
2540
2604
|
* ## Union members
|
|
2541
2605
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
2542
2606
|
* - `string`: The prototype name.
|
|
2543
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2607
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SurfacePropertyID.html Online documentation}
|
|
2544
2608
|
*/
|
|
2545
2609
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
2546
2610
|
/**
|
|
@@ -2562,12 +2626,12 @@ declare module "factorio:runtime" {
|
|
|
2562
2626
|
* target = {type = "cursor", offset = {6, 7}}
|
|
2563
2627
|
* @example
|
|
2564
2628
|
* target = {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2629
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTarget.html Online documentation}
|
|
2566
2630
|
*/
|
|
2567
2631
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
2568
2632
|
/**
|
|
2569
2633
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
|
2570
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2634
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTarget.html Online documentation}
|
|
2571
2635
|
*/
|
|
2572
2636
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
2573
2637
|
/**
|
|
@@ -2589,7 +2653,7 @@ declare module "factorio:runtime" {
|
|
|
2589
2653
|
* {type = "cursor", offset = {6, 7}}
|
|
2590
2654
|
* @example
|
|
2591
2655
|
* {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2592
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2656
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2593
2657
|
*/
|
|
2594
2658
|
export interface ScriptRenderTargetTable {
|
|
2595
2659
|
/**
|
|
@@ -2611,7 +2675,7 @@ declare module "factorio:runtime" {
|
|
|
2611
2675
|
}
|
|
2612
2676
|
/**
|
|
2613
2677
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
|
2614
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2678
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2615
2679
|
*/
|
|
2616
2680
|
export interface ScriptRenderTargetTableWrite {
|
|
2617
2681
|
/**
|
|
@@ -2650,13 +2714,13 @@ declare module "factorio:runtime" {
|
|
|
2650
2714
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
2651
2715
|
* "iron-plate"
|
|
2652
2716
|
* {name="iron-plate", count=100}
|
|
2653
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2717
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemStackIdentification.html Online documentation}
|
|
2654
2718
|
*/
|
|
2655
2719
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
2656
2720
|
/**
|
|
2657
2721
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
2658
2722
|
* @see QualityConditionWrite
|
|
2659
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2723
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QualityCondition.html Online documentation}
|
|
2660
2724
|
*/
|
|
2661
2725
|
export type QualityCondition =
|
|
2662
2726
|
| {
|
|
@@ -2672,7 +2736,7 @@ declare module "factorio:runtime" {
|
|
|
2672
2736
|
| string
|
|
2673
2737
|
/**
|
|
2674
2738
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
|
2675
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2739
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QualityCondition.html Online documentation}
|
|
2676
2740
|
*/
|
|
2677
2741
|
export type QualityConditionWrite =
|
|
2678
2742
|
| {
|
|
@@ -2689,7 +2753,7 @@ declare module "factorio:runtime" {
|
|
|
2689
2753
|
/**
|
|
2690
2754
|
* The destination of a cargo pod.
|
|
2691
2755
|
* @see CargoDestinationWrite
|
|
2692
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2756
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoDestination.html Online documentation}
|
|
2693
2757
|
*/
|
|
2694
2758
|
export interface CargoDestination {
|
|
2695
2759
|
/**
|
|
@@ -2727,7 +2791,7 @@ declare module "factorio:runtime" {
|
|
|
2727
2791
|
}
|
|
2728
2792
|
/**
|
|
2729
2793
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
|
2730
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2794
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoDestination.html Online documentation}
|
|
2731
2795
|
*/
|
|
2732
2796
|
export interface CargoDestinationWrite {
|
|
2733
2797
|
/**
|
|
@@ -2781,7 +2845,7 @@ declare module "factorio:runtime" {
|
|
|
2781
2845
|
* furthest = { zoom = 1 / 16 },
|
|
2782
2846
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2783
2847
|
* }
|
|
2784
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2848
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ZoomLimits.html Online documentation}
|
|
2785
2849
|
*/
|
|
2786
2850
|
export interface ZoomLimits {
|
|
2787
2851
|
/**
|
|
@@ -2811,7 +2875,7 @@ declare module "factorio:runtime" {
|
|
|
2811
2875
|
*
|
|
2812
2876
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2813
2877
|
* { distance = 200, max_distance = 500 }
|
|
2814
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2878
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ZoomSpecification.html Online documentation}
|
|
2815
2879
|
*/
|
|
2816
2880
|
export interface ZoomSpecification {
|
|
2817
2881
|
/**
|
|
@@ -2832,7 +2896,7 @@ declare module "factorio:runtime" {
|
|
|
2832
2896
|
* - `"game"`: Draw the object in the game world.
|
|
2833
2897
|
* - `"chart"`: Draw the object on the map.
|
|
2834
2898
|
* - `"build-cursor"`: Draw the object only when the player holds a buildable item trying to build an entity.
|
|
2835
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2899
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderMode.html Online documentation}
|
|
2836
2900
|
*/
|
|
2837
2901
|
export type ScriptRenderMode = "game" | "chart" | "build-cursor"
|
|
2838
2902
|
/**
|
|
@@ -2840,18 +2904,18 @@ declare module "factorio:runtime" {
|
|
|
2840
2904
|
* - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings.
|
|
2841
2905
|
* - `"light"`: Draw as light.
|
|
2842
2906
|
* - `"glow"`: Draw as both occluder and light at once to make the sprite visible during the day and glow at night.
|
|
2843
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2907
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptSpriteLightMode.html Online documentation}
|
|
2844
2908
|
*/
|
|
2845
2909
|
export type ScriptSpriteLightMode = "occluder" | "light" | "glow"
|
|
2846
2910
|
/**
|
|
2847
|
-
*
|
|
2911
|
+
* An event name may be specified in one of four ways.
|
|
2848
2912
|
*
|
|
2849
2913
|
* ## Union members
|
|
2850
2914
|
* - {@link LuaCustomEventPrototype}: Custom event prototype.
|
|
2851
2915
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2852
2916
|
* - {@link defines.events}: Event identifier.
|
|
2853
|
-
* - `string`: Name of
|
|
2854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2917
|
+
* - `string`: Name of a built-in event, custom event prototype or custom input prototype.
|
|
2918
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEventType.html Online documentation}
|
|
2855
2919
|
*/
|
|
2856
2920
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2857
2921
|
export interface UnlockableID {
|
|
@@ -2890,7 +2954,7 @@ declare module "factorio:runtime" {
|
|
|
2890
2954
|
* - `"starter-packs-available"`
|
|
2891
2955
|
* - `"thrusters-available"`
|
|
2892
2956
|
* - `"capture-robots-available"`
|
|
2893
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2957
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UnlockableIDType.html Online documentation}
|
|
2894
2958
|
*/
|
|
2895
2959
|
export type UnlockableIDType =
|
|
2896
2960
|
| "space-location"
|
|
@@ -2916,7 +2980,7 @@ declare module "factorio:runtime" {
|
|
|
2916
2980
|
* - `"planet"`
|
|
2917
2981
|
* - `"platforms"`
|
|
2918
2982
|
* - `"all"`
|
|
2919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2983
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RequestFromLocation.html Online documentation}
|
|
2920
2984
|
*/
|
|
2921
2985
|
export type RequestFromLocation = "planet" | "platforms" | "all"
|
|
2922
2986
|
/**
|
|
@@ -2924,13 +2988,13 @@ declare module "factorio:runtime" {
|
|
|
2924
2988
|
* - `"never"`
|
|
2925
2989
|
* - `"has-unit"`
|
|
2926
2990
|
* - `"always"`
|
|
2927
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2991
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TerritoryVisibilityCondition.html Online documentation}
|
|
2928
2992
|
*/
|
|
2929
2993
|
export type TerritoryVisibilityCondition = "never" | "has-unit" | "always"
|
|
2930
2994
|
/**
|
|
2931
2995
|
* 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.
|
|
2932
2996
|
* @see TilePositionArray
|
|
2933
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2997
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePosition.html Online documentation}
|
|
2934
2998
|
*/
|
|
2935
2999
|
export interface TilePosition {
|
|
2936
3000
|
readonly x: int32
|
|
@@ -2939,14 +3003,14 @@ declare module "factorio:runtime" {
|
|
|
2939
3003
|
/**
|
|
2940
3004
|
* Array form of {@link TilePosition}.
|
|
2941
3005
|
* @see TilePosition
|
|
2942
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3006
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePosition.html Online documentation}
|
|
2943
3007
|
*/
|
|
2944
3008
|
export type TilePositionArray = readonly [int32, int32]
|
|
2945
3009
|
/**
|
|
2946
3010
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
|
2947
3011
|
*
|
|
2948
3012
|
* 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".
|
|
2949
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3013
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RealOrientation.html Online documentation}
|
|
2950
3014
|
*/
|
|
2951
3015
|
export type RealOrientation = float
|
|
2952
3016
|
export interface MapLocation {
|
|
@@ -2965,7 +3029,7 @@ declare module "factorio:runtime" {
|
|
|
2965
3029
|
* @example
|
|
2966
3030
|
* -- Shorthand
|
|
2967
3031
|
* {1.625, 2.375}
|
|
2968
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3032
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapPosition.html Online documentation}
|
|
2969
3033
|
*/
|
|
2970
3034
|
export interface MapPosition {
|
|
2971
3035
|
readonly x: double
|
|
@@ -2974,7 +3038,7 @@ declare module "factorio:runtime" {
|
|
|
2974
3038
|
/**
|
|
2975
3039
|
* Array form of {@link MapPosition}.
|
|
2976
3040
|
* @see MapPosition
|
|
2977
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3041
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapPosition.html Online documentation}
|
|
2978
3042
|
*/
|
|
2979
3043
|
export type MapPositionArray = readonly [double, double]
|
|
2980
3044
|
/**
|
|
@@ -2987,7 +3051,7 @@ declare module "factorio:runtime" {
|
|
|
2987
3051
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
2988
3052
|
* black = {} -- All channels omitted: black
|
|
2989
3053
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
|
2990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3054
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Color.html Online documentation}
|
|
2991
3055
|
*/
|
|
2992
3056
|
export interface Color {
|
|
2993
3057
|
readonly r?: float
|
|
@@ -2998,7 +3062,7 @@ declare module "factorio:runtime" {
|
|
|
2998
3062
|
/**
|
|
2999
3063
|
* Array form of {@link Color}.
|
|
3000
3064
|
* @see Color
|
|
3001
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3065
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Color.html Online documentation}
|
|
3002
3066
|
*/
|
|
3003
3067
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
3004
3068
|
/**
|
|
@@ -3006,7 +3070,7 @@ declare module "factorio:runtime" {
|
|
|
3006
3070
|
* - `"center-to-center"`
|
|
3007
3071
|
* - `"bounding-box-to-bounding-box"`
|
|
3008
3072
|
* - `"center-to-bounding-box"`
|
|
3009
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3073
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RangeMode.html Online documentation}
|
|
3010
3074
|
*/
|
|
3011
3075
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
3012
3076
|
export interface BlueprintRollingStockConnection {
|
|
@@ -4074,7 +4138,7 @@ declare module "factorio:runtime" {
|
|
|
4074
4138
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
4075
4139
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
4076
4140
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
4077
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4141
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEntity.html Online documentation}
|
|
4078
4142
|
*/
|
|
4079
4143
|
export type BlueprintEntity =
|
|
4080
4144
|
| AccumulatorBlueprintEntity
|
|
@@ -4141,7 +4205,7 @@ declare module "factorio:runtime" {
|
|
|
4141
4205
|
| WallBlueprintEntity
|
|
4142
4206
|
/**
|
|
4143
4207
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
|
4144
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4208
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEntity.html Online documentation}
|
|
4145
4209
|
*/
|
|
4146
4210
|
export type BlueprintEntityWrite =
|
|
4147
4211
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -4216,7 +4280,7 @@ declare module "factorio:runtime" {
|
|
|
4216
4280
|
* - `target_entity_number`
|
|
4217
4281
|
*
|
|
4218
4282
|
* - `target_wire_connector_id`
|
|
4219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4283
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintWire.html Online documentation}
|
|
4220
4284
|
*/
|
|
4221
4285
|
export type BlueprintWire = [
|
|
4222
4286
|
source_entity_number: uint32,
|
|
@@ -4421,7 +4485,7 @@ declare module "factorio:runtime" {
|
|
|
4421
4485
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
4422
4486
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
4423
4487
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
4424
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4488
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UndoRedoAction.html Online documentation}
|
|
4425
4489
|
*/
|
|
4426
4490
|
export type UndoRedoAction =
|
|
4427
4491
|
| BuiltEntityUndoRedoAction
|
|
@@ -4638,7 +4702,7 @@ declare module "factorio:runtime" {
|
|
|
4638
4702
|
* - `"play-previous-track"`
|
|
4639
4703
|
* - `"pause-resume-music"`
|
|
4640
4704
|
* - `""`: Indicates no linked game control.
|
|
4641
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4705
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LinkedGameControl.html Online documentation}
|
|
4642
4706
|
*/
|
|
4643
4707
|
export type LinkedGameControl =
|
|
4644
4708
|
| "move-up"
|
|
@@ -4846,7 +4910,7 @@ declare module "factorio:runtime" {
|
|
|
4846
4910
|
* - {@link LuaSpaceLocationPrototype}
|
|
4847
4911
|
* - {@link LuaTilePrototype}
|
|
4848
4912
|
* - {@link LuaVirtualSignalPrototype}
|
|
4849
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4913
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PipetteID.html Online documentation}
|
|
4850
4914
|
*/
|
|
4851
4915
|
export type PipetteID =
|
|
4852
4916
|
| LuaEntityPrototype
|
|
@@ -4866,7 +4930,7 @@ declare module "factorio:runtime" {
|
|
|
4866
4930
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4867
4931
|
* - `"same"`: The same force pass.
|
|
4868
4932
|
* - `"not-same"`: The non-same forces pass.
|
|
4869
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4933
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ForceCondition.html Online documentation}
|
|
4870
4934
|
*/
|
|
4871
4935
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4872
4936
|
/**
|
|
@@ -4874,7 +4938,7 @@ declare module "factorio:runtime" {
|
|
|
4874
4938
|
* - `"input-output"`
|
|
4875
4939
|
* - `"input"`
|
|
4876
4940
|
* - `"output"`
|
|
4877
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4941
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidFlowDirection.html Online documentation}
|
|
4878
4942
|
*/
|
|
4879
4943
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4880
4944
|
/**
|
|
@@ -4882,7 +4946,7 @@ declare module "factorio:runtime" {
|
|
|
4882
4946
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4883
4947
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4884
4948
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4885
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4949
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PipeConnectionType.html Online documentation}
|
|
4886
4950
|
*/
|
|
4887
4951
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4888
4952
|
export interface PipeConnectionDefinition {
|
|
@@ -4914,7 +4978,7 @@ declare module "factorio:runtime" {
|
|
|
4914
4978
|
}
|
|
4915
4979
|
/**
|
|
4916
4980
|
* 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`.
|
|
4917
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4981
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidAmount.html Online documentation}
|
|
4918
4982
|
*/
|
|
4919
4983
|
export type FluidAmount = double
|
|
4920
4984
|
/**
|
|
@@ -4925,7 +4989,7 @@ declare module "factorio:runtime" {
|
|
|
4925
4989
|
* - `"input"`
|
|
4926
4990
|
* - `"input-output"`
|
|
4927
4991
|
* - `"output"`
|
|
4928
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4992
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProductionType.html Online documentation}
|
|
4929
4993
|
*/
|
|
4930
4994
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4931
4995
|
export interface SurfaceCondition {
|
|
@@ -4937,7 +5001,7 @@ declare module "factorio:runtime" {
|
|
|
4937
5001
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4938
5002
|
*
|
|
4939
5003
|
* By default, none of these flags are set.
|
|
4940
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5004
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFlags.html Online documentation}
|
|
4941
5005
|
*/
|
|
4942
5006
|
export type ItemPrototypeFlags = {
|
|
4943
5007
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4947,6 +5011,7 @@ declare module "factorio:runtime" {
|
|
|
4947
5011
|
*
|
|
4948
5012
|
* ## Union members
|
|
4949
5013
|
* - `"draw-logistic-overlay"`: Determines whether the logistics areas of roboports should be drawn when holding this item. Used by the deconstruction planner by default.
|
|
5014
|
+
* - `"disable-logistic-overlay"`: Prevents the logistics areas of roboports from being drawn when holding this item.
|
|
4950
5015
|
* - `"excluded-from-trash-unrequested"`: If this item is skipped by the trash-unrequested logic.
|
|
4951
5016
|
* - `"excluded-from-character-lift-weight"`: Whether the rocket passenger feature skips this item when checking lift weight.
|
|
4952
5017
|
* - `"always-show"`: Always shows the item in the logistic requests and filters GUIs (among others) even when the recipe for that item is locked.
|
|
@@ -4962,10 +5027,11 @@ declare module "factorio:runtime" {
|
|
|
4962
5027
|
* - `"hide-health-bar-in-world"`
|
|
4963
5028
|
* - `"hide-spoilage-bar-in-world"`
|
|
4964
5029
|
* - `"no-item-on-ground-merging"`
|
|
4965
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5030
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFlag.html Online documentation}
|
|
4966
5031
|
*/
|
|
4967
5032
|
export type ItemPrototypeFlag =
|
|
4968
5033
|
| "draw-logistic-overlay"
|
|
5034
|
+
| "disable-logistic-overlay"
|
|
4969
5035
|
| "excluded-from-trash-unrequested"
|
|
4970
5036
|
| "excluded-from-character-lift-weight"
|
|
4971
5037
|
| "always-show"
|
|
@@ -4983,7 +5049,7 @@ declare module "factorio:runtime" {
|
|
|
4983
5049
|
| "no-item-on-ground-merging"
|
|
4984
5050
|
/**
|
|
4985
5051
|
* @see UpgradeMapperSourceWrite
|
|
4986
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5052
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UpgradeMapperSource.html Online documentation}
|
|
4987
5053
|
*/
|
|
4988
5054
|
export interface UpgradeMapperSource {
|
|
4989
5055
|
readonly type: "item" | "entity"
|
|
@@ -5006,7 +5072,7 @@ declare module "factorio:runtime" {
|
|
|
5006
5072
|
}
|
|
5007
5073
|
/**
|
|
5008
5074
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
|
5009
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5075
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UpgradeMapperSource.html Online documentation}
|
|
5010
5076
|
*/
|
|
5011
5077
|
export interface UpgradeMapperSourceWrite {
|
|
5012
5078
|
readonly type: "item" | "entity"
|
|
@@ -5096,7 +5162,7 @@ declare module "factorio:runtime" {
|
|
|
5096
5162
|
* - `"controllable-remove"`
|
|
5097
5163
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
5098
5164
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
5099
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5165
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectionModeFlags.html Online documentation}
|
|
5100
5166
|
*/
|
|
5101
5167
|
export interface SelectionModeFlags {
|
|
5102
5168
|
/**
|
|
@@ -5253,7 +5319,7 @@ declare module "factorio:runtime" {
|
|
|
5253
5319
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
5254
5320
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
5255
5321
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
5256
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5322
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CapsuleAction.html Online documentation}
|
|
5257
5323
|
*/
|
|
5258
5324
|
export type CapsuleAction =
|
|
5259
5325
|
| ThrowCapsuleAction
|
|
@@ -5266,7 +5332,7 @@ declare module "factorio:runtime" {
|
|
|
5266
5332
|
* - `"none"`
|
|
5267
5333
|
* - `"whitelist"`
|
|
5268
5334
|
* - `"blacklist"`
|
|
5269
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5335
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PrototypeFilterMode.html Online documentation}
|
|
5270
5336
|
*/
|
|
5271
5337
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
5272
5338
|
export interface SpoilToTriggerResult {
|
|
@@ -5305,7 +5371,7 @@ declare module "factorio:runtime" {
|
|
|
5305
5371
|
* - `"entity"`: Fires at an entity.
|
|
5306
5372
|
* - `"position"`: Fires directly at a position.
|
|
5307
5373
|
* - `"direction"`: Fires in a direction.
|
|
5308
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5374
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TargetType.html Online documentation}
|
|
5309
5375
|
*/
|
|
5310
5376
|
export type TargetType = "entity" | "position" | "direction"
|
|
5311
5377
|
export interface AmmoType {
|
|
@@ -5329,7 +5395,7 @@ declare module "factorio:runtime" {
|
|
|
5329
5395
|
}
|
|
5330
5396
|
/**
|
|
5331
5397
|
* @see BlueprintItemFilterWrite
|
|
5332
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5398
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintItemFilter.html Online documentation}
|
|
5333
5399
|
*/
|
|
5334
5400
|
export interface BlueprintItemFilter {
|
|
5335
5401
|
readonly index: uint32
|
|
@@ -5348,7 +5414,7 @@ declare module "factorio:runtime" {
|
|
|
5348
5414
|
}
|
|
5349
5415
|
/**
|
|
5350
5416
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
5351
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5417
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintItemFilter.html Online documentation}
|
|
5352
5418
|
*/
|
|
5353
5419
|
export interface BlueprintItemFilterWrite {
|
|
5354
5420
|
readonly index: uint32
|
|
@@ -5367,7 +5433,7 @@ declare module "factorio:runtime" {
|
|
|
5367
5433
|
}
|
|
5368
5434
|
/**
|
|
5369
5435
|
* @see BlueprintInventoryWithFiltersWrite
|
|
5370
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5436
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5371
5437
|
*/
|
|
5372
5438
|
export interface BlueprintInventoryWithFilters {
|
|
5373
5439
|
readonly bar?: ItemStackIndex
|
|
@@ -5375,7 +5441,7 @@ declare module "factorio:runtime" {
|
|
|
5375
5441
|
}
|
|
5376
5442
|
/**
|
|
5377
5443
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
|
5378
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5444
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5379
5445
|
*/
|
|
5380
5446
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
5381
5447
|
readonly bar?: ItemStackIndex
|
|
@@ -5442,7 +5508,7 @@ declare module "factorio:runtime" {
|
|
|
5442
5508
|
}
|
|
5443
5509
|
/**
|
|
5444
5510
|
* @see BlueprintEquipmentWrite
|
|
5445
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5511
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEquipment.html Online documentation}
|
|
5446
5512
|
*/
|
|
5447
5513
|
export interface BlueprintEquipment {
|
|
5448
5514
|
readonly equipment: LuaEquipmentPrototype
|
|
@@ -5466,7 +5532,7 @@ declare module "factorio:runtime" {
|
|
|
5466
5532
|
}
|
|
5467
5533
|
/**
|
|
5468
5534
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
|
5469
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5535
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEquipment.html Online documentation}
|
|
5470
5536
|
*/
|
|
5471
5537
|
export interface BlueprintEquipmentWrite {
|
|
5472
5538
|
readonly equipment: EquipmentWithQualityID
|
|
@@ -5498,7 +5564,7 @@ declare module "factorio:runtime" {
|
|
|
5498
5564
|
* @example
|
|
5499
5565
|
* -- Shorthand
|
|
5500
5566
|
* {1, 2}
|
|
5501
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5567
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPosition.html Online documentation}
|
|
5502
5568
|
*/
|
|
5503
5569
|
export interface EquipmentPosition {
|
|
5504
5570
|
readonly x: int32
|
|
@@ -5507,12 +5573,12 @@ declare module "factorio:runtime" {
|
|
|
5507
5573
|
/**
|
|
5508
5574
|
* Array form of {@link EquipmentPosition}.
|
|
5509
5575
|
* @see EquipmentPosition
|
|
5510
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5576
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPosition.html Online documentation}
|
|
5511
5577
|
*/
|
|
5512
5578
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
5513
5579
|
/**
|
|
5514
5580
|
* @see MapEditorSettingWrite
|
|
5515
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5581
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapEditorSetting.html Online documentation}
|
|
5516
5582
|
*/
|
|
5517
5583
|
export interface MapEditorSetting {
|
|
5518
5584
|
readonly position?: MapPosition
|
|
@@ -5550,7 +5616,7 @@ declare module "factorio:runtime" {
|
|
|
5550
5616
|
}
|
|
5551
5617
|
/**
|
|
5552
5618
|
* Write form of {@link MapEditorSetting}, where some properties allow additional values as input compared to the read form.
|
|
5553
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5619
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapEditorSetting.html Online documentation}
|
|
5554
5620
|
*/
|
|
5555
5621
|
export interface MapEditorSettingWrite {
|
|
5556
5622
|
readonly position?: MapPosition | MapPositionArray
|
|
@@ -5588,7 +5654,7 @@ declare module "factorio:runtime" {
|
|
|
5588
5654
|
}
|
|
5589
5655
|
/**
|
|
5590
5656
|
* An actual signal transmitted by the network.
|
|
5591
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5657
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Signal.html Online documentation}
|
|
5592
5658
|
*/
|
|
5593
5659
|
export interface Signal {
|
|
5594
5660
|
/**
|
|
@@ -5602,7 +5668,7 @@ declare module "factorio:runtime" {
|
|
|
5602
5668
|
}
|
|
5603
5669
|
/**
|
|
5604
5670
|
* @see DisplayPanelMessageDefinitionWrite
|
|
5605
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5671
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5606
5672
|
*/
|
|
5607
5673
|
export interface DisplayPanelMessageDefinition {
|
|
5608
5674
|
/**
|
|
@@ -5620,7 +5686,7 @@ declare module "factorio:runtime" {
|
|
|
5620
5686
|
}
|
|
5621
5687
|
/**
|
|
5622
5688
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
|
5623
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5689
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5624
5690
|
*/
|
|
5625
5691
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
5626
5692
|
/**
|
|
@@ -5648,7 +5714,7 @@ declare module "factorio:runtime" {
|
|
|
5648
5714
|
}
|
|
5649
5715
|
/**
|
|
5650
5716
|
* @see CircuitConditionWrite
|
|
5651
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5717
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitCondition.html Online documentation}
|
|
5652
5718
|
*/
|
|
5653
5719
|
export interface CircuitCondition {
|
|
5654
5720
|
/**
|
|
@@ -5670,7 +5736,7 @@ declare module "factorio:runtime" {
|
|
|
5670
5736
|
}
|
|
5671
5737
|
/**
|
|
5672
5738
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
|
5673
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5739
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitCondition.html Online documentation}
|
|
5674
5740
|
*/
|
|
5675
5741
|
export interface CircuitConditionWrite {
|
|
5676
5742
|
/**
|
|
@@ -5692,7 +5758,7 @@ declare module "factorio:runtime" {
|
|
|
5692
5758
|
}
|
|
5693
5759
|
/**
|
|
5694
5760
|
* @see SignalIDWrite
|
|
5695
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5761
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalID.html Online documentation}
|
|
5696
5762
|
*/
|
|
5697
5763
|
export interface SignalID {
|
|
5698
5764
|
/**
|
|
@@ -5710,7 +5776,7 @@ declare module "factorio:runtime" {
|
|
|
5710
5776
|
}
|
|
5711
5777
|
/**
|
|
5712
5778
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
|
5713
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5779
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalID.html Online documentation}
|
|
5714
5780
|
*/
|
|
5715
5781
|
export interface SignalIDWrite {
|
|
5716
5782
|
/**
|
|
@@ -5746,13 +5812,13 @@ declare module "factorio:runtime" {
|
|
|
5746
5812
|
* - `"space-location"`
|
|
5747
5813
|
* - `"asteroid-chunk"`
|
|
5748
5814
|
* - `"quality"`
|
|
5749
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5815
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalIDType.html Online documentation}
|
|
5750
5816
|
*/
|
|
5751
5817
|
export type SignalIDType =
|
|
5752
5818
|
"item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality"
|
|
5753
5819
|
/**
|
|
5754
5820
|
* @see DeciderCombinatorParametersWrite
|
|
5755
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5821
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5756
5822
|
*/
|
|
5757
5823
|
export interface DeciderCombinatorParameters {
|
|
5758
5824
|
/**
|
|
@@ -5770,7 +5836,7 @@ declare module "factorio:runtime" {
|
|
|
5770
5836
|
}
|
|
5771
5837
|
/**
|
|
5772
5838
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5773
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5839
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5774
5840
|
*/
|
|
5775
5841
|
export interface DeciderCombinatorParametersWrite {
|
|
5776
5842
|
/**
|
|
@@ -5788,7 +5854,7 @@ declare module "factorio:runtime" {
|
|
|
5788
5854
|
}
|
|
5789
5855
|
/**
|
|
5790
5856
|
* @see DeciderCombinatorConditionWrite
|
|
5791
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5857
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5792
5858
|
*/
|
|
5793
5859
|
export interface DeciderCombinatorCondition {
|
|
5794
5860
|
/**
|
|
@@ -5822,7 +5888,7 @@ declare module "factorio:runtime" {
|
|
|
5822
5888
|
}
|
|
5823
5889
|
/**
|
|
5824
5890
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
|
5825
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5891
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5826
5892
|
*/
|
|
5827
5893
|
export interface DeciderCombinatorConditionWrite {
|
|
5828
5894
|
/**
|
|
@@ -5856,7 +5922,7 @@ declare module "factorio:runtime" {
|
|
|
5856
5922
|
}
|
|
5857
5923
|
/**
|
|
5858
5924
|
* @see DeciderCombinatorOutputWrite
|
|
5859
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5925
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5860
5926
|
*/
|
|
5861
5927
|
export interface DeciderCombinatorOutput {
|
|
5862
5928
|
/**
|
|
@@ -5878,7 +5944,7 @@ declare module "factorio:runtime" {
|
|
|
5878
5944
|
}
|
|
5879
5945
|
/**
|
|
5880
5946
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
|
5881
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5947
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5882
5948
|
*/
|
|
5883
5949
|
export interface DeciderCombinatorOutputWrite {
|
|
5884
5950
|
/**
|
|
@@ -5900,7 +5966,7 @@ declare module "factorio:runtime" {
|
|
|
5900
5966
|
}
|
|
5901
5967
|
/**
|
|
5902
5968
|
* @see ArithmeticCombinatorParametersWrite
|
|
5903
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5969
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5904
5970
|
*/
|
|
5905
5971
|
export interface ArithmeticCombinatorParameters {
|
|
5906
5972
|
/**
|
|
@@ -5938,7 +6004,7 @@ declare module "factorio:runtime" {
|
|
|
5938
6004
|
}
|
|
5939
6005
|
/**
|
|
5940
6006
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5941
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6007
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5942
6008
|
*/
|
|
5943
6009
|
export interface ArithmeticCombinatorParametersWrite {
|
|
5944
6010
|
/**
|
|
@@ -5987,7 +6053,7 @@ declare module "factorio:runtime" {
|
|
|
5987
6053
|
* - `"AND"`
|
|
5988
6054
|
* - `"OR"`
|
|
5989
6055
|
* - `"XOR"`
|
|
5990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6056
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
|
5991
6057
|
*/
|
|
5992
6058
|
export type ArithmeticCombinatorParameterOperation =
|
|
5993
6059
|
"*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR"
|
|
@@ -6163,7 +6229,7 @@ declare module "factorio:runtime" {
|
|
|
6163
6229
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
6164
6230
|
* - `"time"`: {@link TimeSelectorCombinatorParameters}
|
|
6165
6231
|
* - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters}
|
|
6166
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6232
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6167
6233
|
*/
|
|
6168
6234
|
export type SelectorCombinatorParameters =
|
|
6169
6235
|
| SelectSelectorCombinatorParameters
|
|
@@ -6176,7 +6242,7 @@ declare module "factorio:runtime" {
|
|
|
6176
6242
|
| OtherSelectorCombinatorParameters
|
|
6177
6243
|
/**
|
|
6178
6244
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
6179
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6245
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6180
6246
|
*/
|
|
6181
6247
|
export type SelectorCombinatorParametersWrite =
|
|
6182
6248
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -6198,7 +6264,7 @@ declare module "factorio:runtime" {
|
|
|
6198
6264
|
* - `"quality-filter"`
|
|
6199
6265
|
* - `"time"`
|
|
6200
6266
|
* - `"quality-select"`
|
|
6201
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6267
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
|
6202
6268
|
*/
|
|
6203
6269
|
export type SelectorCombinatorParameterOperation =
|
|
6204
6270
|
| "select"
|
|
@@ -6259,7 +6325,7 @@ declare module "factorio:runtime" {
|
|
|
6259
6325
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6260
6326
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6261
6327
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6262
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6328
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Product.html Online documentation}
|
|
6263
6329
|
*/
|
|
6264
6330
|
export type Product = ItemProduct | FluidProduct
|
|
6265
6331
|
export interface SharedProbabilityDefinition {
|
|
@@ -6280,7 +6346,7 @@ declare module "factorio:runtime" {
|
|
|
6280
6346
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6281
6347
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6282
6348
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6283
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6349
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemProduct.html Online documentation}
|
|
6284
6350
|
*/
|
|
6285
6351
|
export interface ItemProduct {
|
|
6286
6352
|
readonly type: "item"
|
|
@@ -6331,7 +6397,7 @@ declare module "factorio:runtime" {
|
|
|
6331
6397
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6332
6398
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6333
6399
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6334
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6400
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidProduct.html Online documentation}
|
|
6335
6401
|
*/
|
|
6336
6402
|
export interface FluidProduct {
|
|
6337
6403
|
readonly type: "fluid"
|
|
@@ -6372,7 +6438,7 @@ declare module "factorio:runtime" {
|
|
|
6372
6438
|
}
|
|
6373
6439
|
/**
|
|
6374
6440
|
* @see BlueprintScheduleRecordWrite
|
|
6375
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6441
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6376
6442
|
*/
|
|
6377
6443
|
export interface BlueprintScheduleRecord {
|
|
6378
6444
|
/**
|
|
@@ -6386,7 +6452,7 @@ declare module "factorio:runtime" {
|
|
|
6386
6452
|
}
|
|
6387
6453
|
/**
|
|
6388
6454
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6455
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6390
6456
|
*/
|
|
6391
6457
|
export interface BlueprintScheduleRecordWrite {
|
|
6392
6458
|
/**
|
|
@@ -6398,47 +6464,9 @@ declare module "factorio:runtime" {
|
|
|
6398
6464
|
readonly created_by_interrupt?: boolean
|
|
6399
6465
|
readonly allows_unloading?: boolean
|
|
6400
6466
|
}
|
|
6401
|
-
/**
|
|
6402
|
-
* @see ScheduleRecordWrite
|
|
6403
|
-
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleRecord.html Online documentation}
|
|
6404
|
-
*/
|
|
6405
|
-
export interface ScheduleRecord {
|
|
6406
|
-
/**
|
|
6407
|
-
* Name of the station.
|
|
6408
|
-
*/
|
|
6409
|
-
readonly station?: string
|
|
6410
|
-
readonly rail?: LuaEntity
|
|
6411
|
-
/**
|
|
6412
|
-
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
6413
|
-
*/
|
|
6414
|
-
readonly rail_direction?: defines.rail_direction
|
|
6415
|
-
readonly wait_conditions?: WaitCondition[]
|
|
6416
|
-
readonly temporary?: boolean
|
|
6417
|
-
readonly created_by_interrupt?: boolean
|
|
6418
|
-
readonly allows_unloading?: boolean
|
|
6419
|
-
}
|
|
6420
|
-
/**
|
|
6421
|
-
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6422
|
-
* @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleRecord.html Online documentation}
|
|
6423
|
-
*/
|
|
6424
|
-
export interface ScheduleRecordWrite {
|
|
6425
|
-
/**
|
|
6426
|
-
* Name of the station.
|
|
6427
|
-
*/
|
|
6428
|
-
readonly station?: string
|
|
6429
|
-
readonly rail?: LuaEntity
|
|
6430
|
-
/**
|
|
6431
|
-
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
6432
|
-
*/
|
|
6433
|
-
readonly rail_direction?: defines.rail_direction
|
|
6434
|
-
readonly wait_conditions?: readonly WaitConditionWrite[]
|
|
6435
|
-
readonly temporary?: boolean
|
|
6436
|
-
readonly created_by_interrupt?: boolean
|
|
6437
|
-
readonly allows_unloading?: boolean
|
|
6438
|
-
}
|
|
6439
6467
|
/**
|
|
6440
6468
|
* @see BlueprintScheduleInterruptWrite
|
|
6441
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6469
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6442
6470
|
*/
|
|
6443
6471
|
export interface BlueprintScheduleInterrupt {
|
|
6444
6472
|
/**
|
|
@@ -6454,7 +6482,7 @@ declare module "factorio:runtime" {
|
|
|
6454
6482
|
}
|
|
6455
6483
|
/**
|
|
6456
6484
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6457
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6485
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6458
6486
|
*/
|
|
6459
6487
|
export interface BlueprintScheduleInterruptWrite {
|
|
6460
6488
|
/**
|
|
@@ -6470,7 +6498,7 @@ declare module "factorio:runtime" {
|
|
|
6470
6498
|
}
|
|
6471
6499
|
/**
|
|
6472
6500
|
* @see ScheduleInterruptWrite
|
|
6473
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6501
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleInterrupt.html Online documentation}
|
|
6474
6502
|
*/
|
|
6475
6503
|
export interface ScheduleInterrupt {
|
|
6476
6504
|
/**
|
|
@@ -6486,7 +6514,7 @@ declare module "factorio:runtime" {
|
|
|
6486
6514
|
}
|
|
6487
6515
|
/**
|
|
6488
6516
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6489
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6517
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleInterrupt.html Online documentation}
|
|
6490
6518
|
*/
|
|
6491
6519
|
export interface ScheduleInterruptWrite {
|
|
6492
6520
|
/**
|
|
@@ -6502,7 +6530,7 @@ declare module "factorio:runtime" {
|
|
|
6502
6530
|
}
|
|
6503
6531
|
/**
|
|
6504
6532
|
* @see WaitConditionWrite
|
|
6505
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6533
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WaitCondition.html Online documentation}
|
|
6506
6534
|
*/
|
|
6507
6535
|
export interface WaitCondition {
|
|
6508
6536
|
readonly type: WaitConditionType
|
|
@@ -6533,7 +6561,7 @@ declare module "factorio:runtime" {
|
|
|
6533
6561
|
}
|
|
6534
6562
|
/**
|
|
6535
6563
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
|
6536
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6564
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WaitCondition.html Online documentation}
|
|
6537
6565
|
*/
|
|
6538
6566
|
export interface WaitConditionWrite {
|
|
6539
6567
|
readonly type: WaitConditionType
|
|
@@ -6592,7 +6620,7 @@ declare module "factorio:runtime" {
|
|
|
6592
6620
|
* - `"at_station"`
|
|
6593
6621
|
* - `"not_at_station"`
|
|
6594
6622
|
* - `"damage_taken"`
|
|
6595
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6623
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WaitConditionType.html Online documentation}
|
|
6596
6624
|
*/
|
|
6597
6625
|
export type WaitConditionType =
|
|
6598
6626
|
| "time"
|
|
@@ -6623,7 +6651,7 @@ declare module "factorio:runtime" {
|
|
|
6623
6651
|
| "damage_taken"
|
|
6624
6652
|
/**
|
|
6625
6653
|
* @see BlueprintScheduleWrite
|
|
6626
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6654
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSchedule.html Online documentation}
|
|
6627
6655
|
*/
|
|
6628
6656
|
export interface BlueprintSchedule {
|
|
6629
6657
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6632,7 +6660,7 @@ declare module "factorio:runtime" {
|
|
|
6632
6660
|
}
|
|
6633
6661
|
/**
|
|
6634
6662
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
|
6635
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6663
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSchedule.html Online documentation}
|
|
6636
6664
|
*/
|
|
6637
6665
|
export interface BlueprintScheduleWrite {
|
|
6638
6666
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6704,7 +6732,7 @@ declare module "factorio:runtime" {
|
|
|
6704
6732
|
* - `"vehicle-logistics"`
|
|
6705
6733
|
* - `"unlock-logistic-network"`
|
|
6706
6734
|
* - `"unlock-travel-to-space-platforms"`
|
|
6707
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6735
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ModifierType.html Online documentation}
|
|
6708
6736
|
*/
|
|
6709
6737
|
export type ModifierType =
|
|
6710
6738
|
| "inserter-stack-size-bonus"
|
|
@@ -7359,7 +7387,7 @@ declare module "factorio:runtime" {
|
|
|
7359
7387
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7360
7388
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7361
7389
|
* - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier}
|
|
7362
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7390
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyModifier.html Online documentation}
|
|
7363
7391
|
*/
|
|
7364
7392
|
export type TechnologyModifier =
|
|
7365
7393
|
| AmmoDamageTechnologyModifier
|
|
@@ -7467,7 +7495,7 @@ declare module "factorio:runtime" {
|
|
|
7467
7495
|
* Other attributes may be specified depending on `type`:
|
|
7468
7496
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7469
7497
|
* - `"item"`: {@link ItemIngredient}
|
|
7470
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7498
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Ingredient.html Online documentation}
|
|
7471
7499
|
*/
|
|
7472
7500
|
export type Ingredient = FluidIngredient | ItemIngredient
|
|
7473
7501
|
/**
|
|
@@ -7488,7 +7516,7 @@ declare module "factorio:runtime" {
|
|
|
7488
7516
|
* * other_base_coefficient
|
|
7489
7517
|
* score(chunk) = 1 / (1 + player + base)
|
|
7490
7518
|
* ```
|
|
7491
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7519
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EnemyExpansionMapSettings.html Online documentation}
|
|
7492
7520
|
*/
|
|
7493
7521
|
export interface EnemyExpansionMapSettings {
|
|
7494
7522
|
/**
|
|
@@ -7536,11 +7564,11 @@ declare module "factorio:runtime" {
|
|
|
7536
7564
|
*/
|
|
7537
7565
|
readonly settler_group_min_size: uint32
|
|
7538
7566
|
/**
|
|
7539
|
-
* The maximum size of a biter group that goes to build a new base. This is multiplied by the evolution factor. Defaults to `
|
|
7567
|
+
* The maximum size of a biter group that goes to build a new base. This is multiplied by the evolution factor. Defaults to `10`.
|
|
7540
7568
|
*/
|
|
7541
7569
|
readonly settler_group_max_size: uint32
|
|
7542
7570
|
/**
|
|
7543
|
-
* The minimum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `
|
|
7571
|
+
* The minimum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `10*3 600=36 000` ticks.
|
|
7544
7572
|
*/
|
|
7545
7573
|
readonly min_expansion_cooldown: uint32
|
|
7546
7574
|
/**
|
|
@@ -7753,23 +7781,23 @@ declare module "factorio:runtime" {
|
|
|
7753
7781
|
}
|
|
7754
7782
|
/**
|
|
7755
7783
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
|
7756
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7784
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DifficultySettings.html Online documentation}
|
|
7757
7785
|
*/
|
|
7758
7786
|
export interface DifficultySettings {
|
|
7759
7787
|
/**
|
|
7760
7788
|
* A value in range [0.001, 100000].
|
|
7761
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7789
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
|
7762
7790
|
*/
|
|
7763
7791
|
technology_price_multiplier: double
|
|
7764
7792
|
/**
|
|
7765
7793
|
* A value in range [0.01, 100].
|
|
7766
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7794
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
|
7767
7795
|
*/
|
|
7768
7796
|
spoil_time_modifier: double
|
|
7769
7797
|
}
|
|
7770
7798
|
/**
|
|
7771
7799
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
|
7772
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7800
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapAndDifficultySettings.html Online documentation}
|
|
7773
7801
|
*/
|
|
7774
7802
|
export interface MapAndDifficultySettings {
|
|
7775
7803
|
readonly pollution: PollutionMapSettings
|
|
@@ -7789,7 +7817,7 @@ declare module "factorio:runtime" {
|
|
|
7789
7817
|
* @example
|
|
7790
7818
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7791
7819
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7792
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7820
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapSettings.html Online documentation}
|
|
7793
7821
|
*/
|
|
7794
7822
|
export interface MapSettings {
|
|
7795
7823
|
pollution: PollutionMapSettings
|
|
@@ -7800,7 +7828,7 @@ declare module "factorio:runtime" {
|
|
|
7800
7828
|
asteroids: AsteroidMapSettings
|
|
7801
7829
|
/**
|
|
7802
7830
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
7803
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7831
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
|
7804
7832
|
*/
|
|
7805
7833
|
max_failed_behavior_count: uint32
|
|
7806
7834
|
}
|
|
@@ -7829,7 +7857,7 @@ declare module "factorio:runtime" {
|
|
|
7829
7857
|
* - `"very-high"`: equivalent to `2`.
|
|
7830
7858
|
* - `"very-big"`: equivalent to `2`.
|
|
7831
7859
|
* - `"very-good"`: equivalent to `2`.
|
|
7832
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7860
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapGenSize.html Online documentation}
|
|
7833
7861
|
*/
|
|
7834
7862
|
export type MapGenSize =
|
|
7835
7863
|
| float
|
|
@@ -7851,7 +7879,7 @@ declare module "factorio:runtime" {
|
|
|
7851
7879
|
| "very-good"
|
|
7852
7880
|
/**
|
|
7853
7881
|
* These values are for the time frame of one second (60 ticks).
|
|
7854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7882
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PollutionMapSettings.html Online documentation}
|
|
7855
7883
|
*/
|
|
7856
7884
|
export interface PollutionMapSettings {
|
|
7857
7885
|
/**
|
|
@@ -7901,7 +7929,7 @@ declare module "factorio:runtime" {
|
|
|
7901
7929
|
}
|
|
7902
7930
|
/**
|
|
7903
7931
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
|
7904
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7932
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
|
7905
7933
|
*/
|
|
7906
7934
|
export interface EnemyEvolutionMapSettings {
|
|
7907
7935
|
/**
|
|
@@ -7923,7 +7951,7 @@ declare module "factorio:runtime" {
|
|
|
7923
7951
|
}
|
|
7924
7952
|
/**
|
|
7925
7953
|
* @see AutoplaceControlWrite
|
|
7926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7954
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceControl.html Online documentation}
|
|
7927
7955
|
*/
|
|
7928
7956
|
export interface AutoplaceControl {
|
|
7929
7957
|
/**
|
|
@@ -7941,7 +7969,7 @@ declare module "factorio:runtime" {
|
|
|
7941
7969
|
}
|
|
7942
7970
|
/**
|
|
7943
7971
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
|
7944
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7972
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceControl.html Online documentation}
|
|
7945
7973
|
*/
|
|
7946
7974
|
export interface AutoplaceControlWrite {
|
|
7947
7975
|
/**
|
|
@@ -7959,7 +7987,7 @@ declare module "factorio:runtime" {
|
|
|
7959
7987
|
}
|
|
7960
7988
|
/**
|
|
7961
7989
|
* @see CliffPlacementSettingsWrite
|
|
7962
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7990
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CliffPlacementSettings.html Online documentation}
|
|
7963
7991
|
*/
|
|
7964
7992
|
export interface CliffPlacementSettings {
|
|
7965
7993
|
/**
|
|
@@ -7989,7 +8017,7 @@ declare module "factorio:runtime" {
|
|
|
7989
8017
|
}
|
|
7990
8018
|
/**
|
|
7991
8019
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
|
7992
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8020
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CliffPlacementSettings.html Online documentation}
|
|
7993
8021
|
*/
|
|
7994
8022
|
export interface CliffPlacementSettingsWrite {
|
|
7995
8023
|
/**
|
|
@@ -8019,7 +8047,7 @@ declare module "factorio:runtime" {
|
|
|
8019
8047
|
}
|
|
8020
8048
|
/**
|
|
8021
8049
|
* @see AutoplaceSettingsWrite
|
|
8022
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8050
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceSettings.html Online documentation}
|
|
8023
8051
|
*/
|
|
8024
8052
|
export interface AutoplaceSettings {
|
|
8025
8053
|
/**
|
|
@@ -8033,7 +8061,7 @@ declare module "factorio:runtime" {
|
|
|
8033
8061
|
}
|
|
8034
8062
|
/**
|
|
8035
8063
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
|
8036
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8064
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceSettings.html Online documentation}
|
|
8037
8065
|
*/
|
|
8038
8066
|
export interface AutoplaceSettingsWrite {
|
|
8039
8067
|
/**
|
|
@@ -8069,7 +8097,7 @@ declare module "factorio:runtime" {
|
|
|
8069
8097
|
* surface.map_gen_settings = mgs
|
|
8070
8098
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
8071
8099
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
8072
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8100
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapGenSettings.html Online documentation}
|
|
8073
8101
|
*/
|
|
8074
8102
|
export interface MapGenSettings {
|
|
8075
8103
|
/**
|
|
@@ -8124,7 +8152,7 @@ declare module "factorio:runtime" {
|
|
|
8124
8152
|
}
|
|
8125
8153
|
/**
|
|
8126
8154
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
|
8127
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8155
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapGenSettings.html Online documentation}
|
|
8128
8156
|
*/
|
|
8129
8157
|
export interface MapGenSettingsWrite {
|
|
8130
8158
|
/**
|
|
@@ -8208,12 +8236,12 @@ declare module "factorio:runtime" {
|
|
|
8208
8236
|
}
|
|
8209
8237
|
/**
|
|
8210
8238
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
|
8211
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8239
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/NoiseExpressionSourceString.html Online documentation}
|
|
8212
8240
|
*/
|
|
8213
8241
|
export type NoiseExpressionSourceString = string
|
|
8214
8242
|
/**
|
|
8215
8243
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
8216
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceSpecification.html Online documentation}
|
|
8217
8245
|
*/
|
|
8218
8246
|
export interface AutoplaceSpecification {
|
|
8219
8247
|
readonly placement_density: uint32
|
|
@@ -8296,13 +8324,13 @@ declare module "factorio:runtime" {
|
|
|
8296
8324
|
*/
|
|
8297
8325
|
readonly migration_applied: boolean
|
|
8298
8326
|
/**
|
|
8299
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.
|
|
8327
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.25/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.
|
|
8300
8328
|
*/
|
|
8301
8329
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8302
8330
|
}
|
|
8303
8331
|
/**
|
|
8304
8332
|
* @see AsteroidChunkWrite
|
|
8305
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8333
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidChunk.html Online documentation}
|
|
8306
8334
|
*/
|
|
8307
8335
|
export interface AsteroidChunk {
|
|
8308
8336
|
/**
|
|
@@ -8314,7 +8342,7 @@ declare module "factorio:runtime" {
|
|
|
8314
8342
|
}
|
|
8315
8343
|
/**
|
|
8316
8344
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
|
8317
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8345
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidChunk.html Online documentation}
|
|
8318
8346
|
*/
|
|
8319
8347
|
export interface AsteroidChunkWrite {
|
|
8320
8348
|
/**
|
|
@@ -8326,7 +8354,7 @@ declare module "factorio:runtime" {
|
|
|
8326
8354
|
}
|
|
8327
8355
|
/**
|
|
8328
8356
|
* An item thrown overboard on a space platform.
|
|
8329
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8357
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EjectedItem.html Online documentation}
|
|
8330
8358
|
*/
|
|
8331
8359
|
export interface EjectedItem {
|
|
8332
8360
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8338,7 +8366,7 @@ declare module "factorio:runtime" {
|
|
|
8338
8366
|
}
|
|
8339
8367
|
/**
|
|
8340
8368
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
8341
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8369
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapExchangeStringData.html Online documentation}
|
|
8342
8370
|
*/
|
|
8343
8371
|
export interface MapExchangeStringData {
|
|
8344
8372
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8364,7 +8392,7 @@ declare module "factorio:runtime" {
|
|
|
8364
8392
|
}
|
|
8365
8393
|
/**
|
|
8366
8394
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8367
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8395
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChunkPositionAndArea.html Online documentation}
|
|
8368
8396
|
*/
|
|
8369
8397
|
export interface ChunkPositionAndArea {
|
|
8370
8398
|
readonly x: int32
|
|
@@ -8413,7 +8441,7 @@ declare module "factorio:runtime" {
|
|
|
8413
8441
|
* - `"check-box"`
|
|
8414
8442
|
* - `"switch"`
|
|
8415
8443
|
* - `"label"`
|
|
8416
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8444
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SimulationWidgetType.html Online documentation}
|
|
8417
8445
|
*/
|
|
8418
8446
|
export type SimulationWidgetType =
|
|
8419
8447
|
| "signal-id"
|
|
@@ -8602,7 +8630,7 @@ declare module "factorio:runtime" {
|
|
|
8602
8630
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8603
8631
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8604
8632
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8605
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8633
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8606
8634
|
*/
|
|
8607
8635
|
export type SegmentedUnitAIState =
|
|
8608
8636
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8612,7 +8640,7 @@ declare module "factorio:runtime" {
|
|
|
8612
8640
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8613
8641
|
/**
|
|
8614
8642
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
|
8615
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8643
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8616
8644
|
*/
|
|
8617
8645
|
export type SegmentedUnitAIStateWrite =
|
|
8618
8646
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8760,7 +8788,7 @@ declare module "factorio:runtime" {
|
|
|
8760
8788
|
/**
|
|
8761
8789
|
* 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].
|
|
8762
8790
|
* @see ColorModifierArray
|
|
8763
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8791
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ColorModifier.html Online documentation}
|
|
8764
8792
|
*/
|
|
8765
8793
|
export interface ColorModifier {
|
|
8766
8794
|
readonly r?: float
|
|
@@ -8771,7 +8799,7 @@ declare module "factorio:runtime" {
|
|
|
8771
8799
|
/**
|
|
8772
8800
|
* Array form of {@link ColorModifier}.
|
|
8773
8801
|
* @see ColorModifier
|
|
8774
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8802
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ColorModifier.html Online documentation}
|
|
8775
8803
|
*/
|
|
8776
8804
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8777
8805
|
export interface Decorative {
|
|
@@ -8790,7 +8818,7 @@ declare module "factorio:runtime" {
|
|
|
8790
8818
|
/**
|
|
8791
8819
|
* An area defined using the map editor.
|
|
8792
8820
|
* @see ScriptAreaWrite
|
|
8793
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8821
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptArea.html Online documentation}
|
|
8794
8822
|
*/
|
|
8795
8823
|
export interface ScriptArea {
|
|
8796
8824
|
readonly area: BoundingBox
|
|
@@ -8800,7 +8828,7 @@ declare module "factorio:runtime" {
|
|
|
8800
8828
|
}
|
|
8801
8829
|
/**
|
|
8802
8830
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
|
8803
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8831
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptArea.html Online documentation}
|
|
8804
8832
|
*/
|
|
8805
8833
|
export interface ScriptAreaWrite {
|
|
8806
8834
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8811,7 +8839,7 @@ declare module "factorio:runtime" {
|
|
|
8811
8839
|
/**
|
|
8812
8840
|
* A position defined using the map editor.
|
|
8813
8841
|
* @see ScriptPositionWrite
|
|
8814
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8842
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptPosition.html Online documentation}
|
|
8815
8843
|
*/
|
|
8816
8844
|
export interface ScriptPosition {
|
|
8817
8845
|
readonly position: MapPosition
|
|
@@ -8821,7 +8849,7 @@ declare module "factorio:runtime" {
|
|
|
8821
8849
|
}
|
|
8822
8850
|
/**
|
|
8823
8851
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
|
8824
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8852
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptPosition.html Online documentation}
|
|
8825
8853
|
*/
|
|
8826
8854
|
export interface ScriptPositionWrite {
|
|
8827
8855
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8837,7 +8865,7 @@ declare module "factorio:runtime" {
|
|
|
8837
8865
|
}
|
|
8838
8866
|
/**
|
|
8839
8867
|
* A table used to define a manual shape for a piece of equipment.
|
|
8840
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8868
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPoint.html Online documentation}
|
|
8841
8869
|
*/
|
|
8842
8870
|
export interface EquipmentPoint {
|
|
8843
8871
|
readonly x: uint32
|
|
@@ -8846,7 +8874,7 @@ declare module "factorio:runtime" {
|
|
|
8846
8874
|
/**
|
|
8847
8875
|
* 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.
|
|
8848
8876
|
* @see GuiLocationArray
|
|
8849
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8877
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiLocation.html Online documentation}
|
|
8850
8878
|
*/
|
|
8851
8879
|
export interface GuiLocation {
|
|
8852
8880
|
readonly x: int32
|
|
@@ -8855,7 +8883,7 @@ declare module "factorio:runtime" {
|
|
|
8855
8883
|
/**
|
|
8856
8884
|
* Array form of {@link GuiLocation}.
|
|
8857
8885
|
* @see GuiLocation
|
|
8858
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8886
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiLocation.html Online documentation}
|
|
8859
8887
|
*/
|
|
8860
8888
|
export type GuiLocationArray = readonly [int32, int32]
|
|
8861
8889
|
export interface TabAndContent {
|
|
@@ -8884,7 +8912,7 @@ declare module "factorio:runtime" {
|
|
|
8884
8912
|
}
|
|
8885
8913
|
/**
|
|
8886
8914
|
* Either `icon`, `text`, or both must be provided.
|
|
8887
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8915
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChartTagSpec.html Online documentation}
|
|
8888
8916
|
*/
|
|
8889
8917
|
export interface ChartTagSpec {
|
|
8890
8918
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -9027,7 +9055,7 @@ declare module "factorio:runtime" {
|
|
|
9027
9055
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
9028
9056
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
9029
9057
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
9030
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9058
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainPathRequestType.html Online documentation}
|
|
9031
9059
|
*/
|
|
9032
9060
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
9033
9061
|
/**
|
|
@@ -9036,7 +9064,7 @@ declare module "factorio:runtime" {
|
|
|
9036
9064
|
* - {@link RailEndGoal}
|
|
9037
9065
|
* - {@link LuaRailEnd}
|
|
9038
9066
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
|
9039
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9067
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainPathFinderGoal.html Online documentation}
|
|
9040
9068
|
*/
|
|
9041
9069
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
9042
9070
|
export interface TrainStopGoal {
|
|
@@ -9169,7 +9197,7 @@ declare module "factorio:runtime" {
|
|
|
9169
9197
|
}
|
|
9170
9198
|
/**
|
|
9171
9199
|
* @see QuickBarSlotWrite
|
|
9172
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9200
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QuickBarSlot.html Online documentation}
|
|
9173
9201
|
*/
|
|
9174
9202
|
export interface QuickBarSlot {
|
|
9175
9203
|
/**
|
|
@@ -9195,7 +9223,7 @@ declare module "factorio:runtime" {
|
|
|
9195
9223
|
}
|
|
9196
9224
|
/**
|
|
9197
9225
|
* Write form of {@link QuickBarSlot}, where some properties allow additional values as input compared to the read form.
|
|
9198
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9226
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QuickBarSlot.html Online documentation}
|
|
9199
9227
|
*/
|
|
9200
9228
|
export interface QuickBarSlotWrite {
|
|
9201
9229
|
/**
|
|
@@ -9248,7 +9276,7 @@ declare module "factorio:runtime" {
|
|
|
9248
9276
|
}
|
|
9249
9277
|
/**
|
|
9250
9278
|
* Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}.
|
|
9251
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9279
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidStorageIndex.html Online documentation}
|
|
9252
9280
|
*/
|
|
9253
9281
|
export type FluidStorageIndex = uint32
|
|
9254
9282
|
export interface FluidBoxNeighbourRecord {
|
|
@@ -9257,7 +9285,7 @@ declare module "factorio:runtime" {
|
|
|
9257
9285
|
}
|
|
9258
9286
|
/**
|
|
9259
9287
|
* A single pipe connection for a given fluidbox.
|
|
9260
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9288
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PipeConnection.html Online documentation}
|
|
9261
9289
|
*/
|
|
9262
9290
|
export interface PipeConnection {
|
|
9263
9291
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -9306,7 +9334,7 @@ declare module "factorio:runtime" {
|
|
|
9306
9334
|
}
|
|
9307
9335
|
/**
|
|
9308
9336
|
* @see LabStoredDurabilityWrite
|
|
9309
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9337
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabStoredDurability.html Online documentation}
|
|
9310
9338
|
*/
|
|
9311
9339
|
export interface LabStoredDurability {
|
|
9312
9340
|
/**
|
|
@@ -9320,7 +9348,7 @@ declare module "factorio:runtime" {
|
|
|
9320
9348
|
}
|
|
9321
9349
|
/**
|
|
9322
9350
|
* Write form of {@link LabStoredDurability}, where some properties allow additional values as input compared to the read form.
|
|
9323
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9351
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabStoredDurability.html Online documentation}
|
|
9324
9352
|
*/
|
|
9325
9353
|
export interface LabStoredDurabilityWrite {
|
|
9326
9354
|
/**
|
|
@@ -9382,7 +9410,7 @@ declare module "factorio:runtime" {
|
|
|
9382
9410
|
* - `"surface"`
|
|
9383
9411
|
* - `"mod-data"`
|
|
9384
9412
|
* - `"custom-event"`
|
|
9385
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9413
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/IDType.html Online documentation}
|
|
9386
9414
|
*/
|
|
9387
9415
|
export type IDType =
|
|
9388
9416
|
| "custom-input"
|
|
@@ -9435,7 +9463,7 @@ declare module "factorio:runtime" {
|
|
|
9435
9463
|
}
|
|
9436
9464
|
/**
|
|
9437
9465
|
* An item prototype with optional quality specification.
|
|
9438
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9466
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation}
|
|
9439
9467
|
*/
|
|
9440
9468
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9441
9469
|
/**
|
|
@@ -9463,7 +9491,7 @@ declare module "factorio:runtime" {
|
|
|
9463
9491
|
}
|
|
9464
9492
|
/**
|
|
9465
9493
|
* @see EntityIDFilterWrite
|
|
9466
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9494
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityIDFilter.html Online documentation}
|
|
9467
9495
|
*/
|
|
9468
9496
|
export interface EntityIDFilter {
|
|
9469
9497
|
/**
|
|
@@ -9481,7 +9509,7 @@ declare module "factorio:runtime" {
|
|
|
9481
9509
|
}
|
|
9482
9510
|
/**
|
|
9483
9511
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
|
9484
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9512
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityIDFilter.html Online documentation}
|
|
9485
9513
|
*/
|
|
9486
9514
|
export interface EntityIDFilterWrite {
|
|
9487
9515
|
/**
|
|
@@ -9501,7 +9529,7 @@ declare module "factorio:runtime" {
|
|
|
9501
9529
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9502
9530
|
*
|
|
9503
9531
|
* By default, none of these flags are set.
|
|
9504
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9532
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFlags.html Online documentation}
|
|
9505
9533
|
*/
|
|
9506
9534
|
export type EntityPrototypeFlags = {
|
|
9507
9535
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9539,7 +9567,7 @@ declare module "factorio:runtime" {
|
|
|
9539
9567
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia.
|
|
9540
9568
|
* - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI.
|
|
9541
9569
|
* - `"not-in-mined-by"`: Prevents the entity from being shown in the mined-by tooltip of resources.
|
|
9542
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9570
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFlag.html Online documentation}
|
|
9543
9571
|
*/
|
|
9544
9572
|
export type EntityPrototypeFlag =
|
|
9545
9573
|
| "not-rotatable"
|
|
@@ -9573,7 +9601,7 @@ declare module "factorio:runtime" {
|
|
|
9573
9601
|
| "not-in-mined-by"
|
|
9574
9602
|
/**
|
|
9575
9603
|
* A single filter used by an infinity-pipe type entity.
|
|
9576
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9604
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InfinityPipeFilter.html Online documentation}
|
|
9577
9605
|
*/
|
|
9578
9606
|
export interface InfinityPipeFilter {
|
|
9579
9607
|
/**
|
|
@@ -9603,7 +9631,7 @@ declare module "factorio:runtime" {
|
|
|
9603
9631
|
}
|
|
9604
9632
|
/**
|
|
9605
9633
|
* @see ProgrammableSpeakerParametersWrite
|
|
9606
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9634
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9607
9635
|
*/
|
|
9608
9636
|
export interface ProgrammableSpeakerParameters {
|
|
9609
9637
|
readonly playback_volume: float
|
|
@@ -9614,7 +9642,7 @@ declare module "factorio:runtime" {
|
|
|
9614
9642
|
}
|
|
9615
9643
|
/**
|
|
9616
9644
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
|
9617
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9645
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9618
9646
|
*/
|
|
9619
9647
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9620
9648
|
readonly playback_volume: float
|
|
@@ -9630,12 +9658,12 @@ declare module "factorio:runtime" {
|
|
|
9630
9658
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9631
9659
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9632
9660
|
* - `"global"`: The sound can be heard everywhere.
|
|
9633
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9661
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
|
9634
9662
|
*/
|
|
9635
9663
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9636
9664
|
/**
|
|
9637
9665
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9638
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9666
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9639
9667
|
*/
|
|
9640
9668
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9641
9669
|
readonly show_alert: boolean
|
|
@@ -9645,7 +9673,7 @@ declare module "factorio:runtime" {
|
|
|
9645
9673
|
}
|
|
9646
9674
|
/**
|
|
9647
9675
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
|
9648
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9676
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9649
9677
|
*/
|
|
9650
9678
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9651
9679
|
readonly show_alert: boolean
|
|
@@ -9673,12 +9701,12 @@ declare module "factorio:runtime" {
|
|
|
9673
9701
|
* - `"exactly"`
|
|
9674
9702
|
* - `"add"`
|
|
9675
9703
|
* - `"remove"`
|
|
9676
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9704
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatSettingMode.html Online documentation}
|
|
9677
9705
|
*/
|
|
9678
9706
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9679
9707
|
/**
|
|
9680
9708
|
* The settings used by a heat-interface type entity.
|
|
9681
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9709
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatSetting.html Online documentation}
|
|
9682
9710
|
*/
|
|
9683
9711
|
export interface HeatSetting {
|
|
9684
9712
|
/**
|
|
@@ -9712,7 +9740,7 @@ declare module "factorio:runtime" {
|
|
|
9712
9740
|
* - `"none-to-south"`
|
|
9713
9741
|
* - `"south-to-none"`
|
|
9714
9742
|
* - `"none-to-north"`
|
|
9715
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9743
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CliffOrientation.html Online documentation}
|
|
9716
9744
|
*/
|
|
9717
9745
|
export type CliffOrientation =
|
|
9718
9746
|
| "west-to-east"
|
|
@@ -9742,14 +9770,14 @@ declare module "factorio:runtime" {
|
|
|
9742
9770
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9743
9771
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9744
9772
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9745
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9773
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ValveMode.html Online documentation}
|
|
9746
9774
|
*/
|
|
9747
9775
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9748
9776
|
/**
|
|
9749
9777
|
* ## Union members
|
|
9750
9778
|
* - `"fresh-first"`
|
|
9751
9779
|
* - `"spoiled-first"`
|
|
9752
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9780
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSpoilPriority.html Online documentation}
|
|
9753
9781
|
*/
|
|
9754
9782
|
export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first"
|
|
9755
9783
|
/**
|
|
@@ -9757,7 +9785,7 @@ declare module "factorio:runtime" {
|
|
|
9757
9785
|
* - `"fresh-first"`
|
|
9758
9786
|
* - `"none"`
|
|
9759
9787
|
* - `"spoiled-first"`
|
|
9760
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9788
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpoilPriority.html Online documentation}
|
|
9761
9789
|
*/
|
|
9762
9790
|
export type SpoilPriority = "fresh-first" | "none" | "spoiled-first"
|
|
9763
9791
|
export interface SpiderLegSpecification {
|
|
@@ -9777,7 +9805,7 @@ declare module "factorio:runtime" {
|
|
|
9777
9805
|
}
|
|
9778
9806
|
/**
|
|
9779
9807
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
9780
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9808
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9781
9809
|
*/
|
|
9782
9810
|
export interface BlueprintInfinityInventorySettings {
|
|
9783
9811
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -9788,7 +9816,7 @@ declare module "factorio:runtime" {
|
|
|
9788
9816
|
}
|
|
9789
9817
|
/**
|
|
9790
9818
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
|
9791
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9819
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9792
9820
|
*/
|
|
9793
9821
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
9794
9822
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -9832,7 +9860,7 @@ declare module "factorio:runtime" {
|
|
|
9832
9860
|
}
|
|
9833
9861
|
/**
|
|
9834
9862
|
* Defines an item type that a blueprint entity will request.
|
|
9835
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9863
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInsertPlan.html Online documentation}
|
|
9836
9864
|
*/
|
|
9837
9865
|
export interface BlueprintInsertPlan {
|
|
9838
9866
|
/**
|
|
@@ -9870,7 +9898,7 @@ declare module "factorio:runtime" {
|
|
|
9870
9898
|
}
|
|
9871
9899
|
/**
|
|
9872
9900
|
* A single offer on a market entity.
|
|
9873
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9901
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Offer.html Online documentation}
|
|
9874
9902
|
*/
|
|
9875
9903
|
export interface Offer {
|
|
9876
9904
|
/**
|
|
@@ -9916,7 +9944,7 @@ declare module "factorio:runtime" {
|
|
|
9916
9944
|
/**
|
|
9917
9945
|
* A single filter used by an infinity-filters instance.
|
|
9918
9946
|
* @see InfinityInventoryFilterWrite
|
|
9919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9947
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9920
9948
|
*/
|
|
9921
9949
|
export interface InfinityInventoryFilter {
|
|
9922
9950
|
/**
|
|
@@ -9942,7 +9970,7 @@ declare module "factorio:runtime" {
|
|
|
9942
9970
|
}
|
|
9943
9971
|
/**
|
|
9944
9972
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
|
9945
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9973
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9946
9974
|
*/
|
|
9947
9975
|
export interface InfinityInventoryFilterWrite {
|
|
9948
9976
|
/**
|
|
@@ -9985,7 +10013,7 @@ declare module "factorio:runtime" {
|
|
|
9985
10013
|
}
|
|
9986
10014
|
/**
|
|
9987
10015
|
* Used to specify what type of damage and how much damage something deals.
|
|
9988
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10016
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DamageParameters.html Online documentation}
|
|
9989
10017
|
*/
|
|
9990
10018
|
export interface DamageParameters {
|
|
9991
10019
|
readonly amount: float
|
|
@@ -10015,14 +10043,14 @@ declare module "factorio:runtime" {
|
|
|
10015
10043
|
*
|
|
10016
10044
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
10017
10045
|
*
|
|
10018
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10046
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
|
10019
10047
|
*
|
|
10020
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10048
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
|
10021
10049
|
*
|
|
10022
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10050
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
|
10023
10051
|
*
|
|
10024
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10025
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10052
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
|
10053
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html Online documentation}
|
|
10026
10054
|
*/
|
|
10027
10055
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
10028
10056
|
/**
|
|
@@ -10040,7 +10068,7 @@ declare module "factorio:runtime" {
|
|
|
10040
10068
|
* - `"weapon"`
|
|
10041
10069
|
* - `"explosion"`
|
|
10042
10070
|
* - `"enemy"`
|
|
10043
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10071
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SoundType.html Online documentation}
|
|
10044
10072
|
*/
|
|
10045
10073
|
export type SoundType =
|
|
10046
10074
|
| "game-effect"
|
|
@@ -10090,12 +10118,12 @@ declare module "factorio:runtime" {
|
|
|
10090
10118
|
* - `"requester"`
|
|
10091
10119
|
* - `"storage"`
|
|
10092
10120
|
* - `"buffer"`
|
|
10093
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10121
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticMode.html Online documentation}
|
|
10094
10122
|
*/
|
|
10095
10123
|
export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer"
|
|
10096
10124
|
/**
|
|
10097
10125
|
* @see BlueprintLogisticFilterWrite
|
|
10098
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10126
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10099
10127
|
*/
|
|
10100
10128
|
export interface BlueprintLogisticFilter {
|
|
10101
10129
|
readonly index: LogisticFilterIndex
|
|
@@ -10129,7 +10157,7 @@ declare module "factorio:runtime" {
|
|
|
10129
10157
|
}
|
|
10130
10158
|
/**
|
|
10131
10159
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
10132
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10160
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10133
10161
|
*/
|
|
10134
10162
|
export interface BlueprintLogisticFilterWrite {
|
|
10135
10163
|
readonly index: LogisticFilterIndex
|
|
@@ -10163,7 +10191,7 @@ declare module "factorio:runtime" {
|
|
|
10163
10191
|
}
|
|
10164
10192
|
/**
|
|
10165
10193
|
* @see BlueprintLogisticSectionsWrite
|
|
10166
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10194
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10167
10195
|
*/
|
|
10168
10196
|
export interface BlueprintLogisticSections {
|
|
10169
10197
|
readonly sections?: LogisticSection[]
|
|
@@ -10178,7 +10206,7 @@ declare module "factorio:runtime" {
|
|
|
10178
10206
|
}
|
|
10179
10207
|
/**
|
|
10180
10208
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10181
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10209
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10182
10210
|
*/
|
|
10183
10211
|
export interface BlueprintLogisticSectionsWrite {
|
|
10184
10212
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10193,7 +10221,7 @@ declare module "factorio:runtime" {
|
|
|
10193
10221
|
}
|
|
10194
10222
|
/**
|
|
10195
10223
|
* @see LogisticSectionWrite
|
|
10196
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10224
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSection.html Online documentation}
|
|
10197
10225
|
*/
|
|
10198
10226
|
export interface LogisticSection {
|
|
10199
10227
|
readonly index: uint8
|
|
@@ -10210,7 +10238,7 @@ declare module "factorio:runtime" {
|
|
|
10210
10238
|
}
|
|
10211
10239
|
/**
|
|
10212
10240
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
10213
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10241
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSection.html Online documentation}
|
|
10214
10242
|
*/
|
|
10215
10243
|
export interface LogisticSectionWrite {
|
|
10216
10244
|
readonly index: uint8
|
|
@@ -10227,7 +10255,7 @@ declare module "factorio:runtime" {
|
|
|
10227
10255
|
}
|
|
10228
10256
|
/**
|
|
10229
10257
|
* @see LogisticSectionsWrite
|
|
10230
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10258
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSections.html Online documentation}
|
|
10231
10259
|
*/
|
|
10232
10260
|
export interface LogisticSections {
|
|
10233
10261
|
readonly sections?: LogisticSection[]
|
|
@@ -10238,7 +10266,7 @@ declare module "factorio:runtime" {
|
|
|
10238
10266
|
}
|
|
10239
10267
|
/**
|
|
10240
10268
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10241
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10269
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSections.html Online documentation}
|
|
10242
10270
|
*/
|
|
10243
10271
|
export interface LogisticSectionsWrite {
|
|
10244
10272
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10261,7 +10289,7 @@ declare module "factorio:runtime" {
|
|
|
10261
10289
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10262
10290
|
* - {@link LuaVirtualSignalPrototype}
|
|
10263
10291
|
* - {@link LuaSurfacePrototype}
|
|
10264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10292
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FactoriopediaID.html Online documentation}
|
|
10265
10293
|
*/
|
|
10266
10294
|
export type FactoriopediaID =
|
|
10267
10295
|
| LuaItemPrototype
|
|
@@ -10282,7 +10310,7 @@ declare module "factorio:runtime" {
|
|
|
10282
10310
|
* ## Union members
|
|
10283
10311
|
* - `"horizontal"`
|
|
10284
10312
|
* - `"vertical"`
|
|
10285
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10313
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiDirection.html Online documentation}
|
|
10286
10314
|
*/
|
|
10287
10315
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10288
10316
|
export interface AttackParameterFluid {
|
|
@@ -10369,7 +10397,7 @@ declare module "factorio:runtime" {
|
|
|
10369
10397
|
* - `"cluster"`: {@link ClusterTriggerItem}
|
|
10370
10398
|
* - `"direct"`: {@link DirectTriggerItem}
|
|
10371
10399
|
* - `"line"`: {@link LineTriggerItem}
|
|
10372
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10400
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerItem.html Online documentation}
|
|
10373
10401
|
*/
|
|
10374
10402
|
export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem
|
|
10375
10403
|
export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[]
|
|
@@ -10384,12 +10412,12 @@ declare module "factorio:runtime" {
|
|
|
10384
10412
|
* ## Union members
|
|
10385
10413
|
* - `"primary"`
|
|
10386
10414
|
* - `"secondary"`
|
|
10387
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10415
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ApplyTileTint.html Online documentation}
|
|
10388
10416
|
*/
|
|
10389
10417
|
export type ApplyTileTint = "primary" | "secondary"
|
|
10390
10418
|
/**
|
|
10391
10419
|
* A set of trigger target masks.
|
|
10392
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10420
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerTargetMask.html Online documentation}
|
|
10393
10421
|
*/
|
|
10394
10422
|
export type TriggerTargetMask = Record<string, true>
|
|
10395
10423
|
export interface AttackReactionItem {
|
|
@@ -10482,7 +10510,7 @@ declare module "factorio:runtime" {
|
|
|
10482
10510
|
* - `"delayed"`: {@link DelayedTriggerDelivery}
|
|
10483
10511
|
* - `"projectile"`: {@link ProjectileTriggerDelivery}
|
|
10484
10512
|
* - `"stream"`: {@link StreamTriggerDelivery}
|
|
10485
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10513
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerDelivery.html Online documentation}
|
|
10486
10514
|
*/
|
|
10487
10515
|
export type TriggerDelivery =
|
|
10488
10516
|
| ArtilleryTriggerDelivery
|
|
@@ -10549,7 +10577,7 @@ declare module "factorio:runtime" {
|
|
|
10549
10577
|
* - `"camera-effect"`
|
|
10550
10578
|
* - `"activate-impact"`
|
|
10551
10579
|
* - `"create-pollution"`
|
|
10552
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10580
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerEffectItemType.html Online documentation}
|
|
10553
10581
|
*/
|
|
10554
10582
|
export type TriggerEffectItemType =
|
|
10555
10583
|
| "damage"
|
|
@@ -10923,7 +10951,7 @@ declare module "factorio:runtime" {
|
|
|
10923
10951
|
* - `"script"`: {@link ScriptTriggerEffectItem}
|
|
10924
10952
|
* - `"set-tile"`: {@link SetTileTriggerEffectItem}
|
|
10925
10953
|
* - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem}
|
|
10926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10954
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerEffectItem.html Online documentation}
|
|
10927
10955
|
*/
|
|
10928
10956
|
export type TriggerEffectItem =
|
|
10929
10957
|
| ActivateImpactTriggerEffectItem
|
|
@@ -11052,7 +11080,7 @@ declare module "factorio:runtime" {
|
|
|
11052
11080
|
* Other attributes may be specified depending on `type`:
|
|
11053
11081
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
11054
11082
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
11055
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11083
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AttackParameters.html Online documentation}
|
|
11056
11084
|
*/
|
|
11057
11085
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
11058
11086
|
/**
|
|
@@ -11060,7 +11088,7 @@ declare module "factorio:runtime" {
|
|
|
11060
11088
|
* - `"left"`
|
|
11061
11089
|
* - `"none"`
|
|
11062
11090
|
* - `"right"`
|
|
11063
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11091
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SplitterPriority.html Online documentation}
|
|
11064
11092
|
*/
|
|
11065
11093
|
export type SplitterPriority = "left" | "none" | "right"
|
|
11066
11094
|
/**
|
|
@@ -11079,7 +11107,7 @@ declare module "factorio:runtime" {
|
|
|
11079
11107
|
* - `"middle-right"`
|
|
11080
11108
|
* - `"right"`: The same as `"middle-right"`
|
|
11081
11109
|
* - `"bottom-right"`
|
|
11082
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11110
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Alignment.html Online documentation}
|
|
11083
11111
|
*/
|
|
11084
11112
|
export type Alignment =
|
|
11085
11113
|
| "top-left"
|
|
@@ -11114,7 +11142,7 @@ declare module "factorio:runtime" {
|
|
|
11114
11142
|
* - {@link FluidPrototypeFilter}
|
|
11115
11143
|
* - {@link EntityPrototypeFilter}
|
|
11116
11144
|
* @see PrototypeFilterWrite
|
|
11117
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11145
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PrototypeFilter.html Online documentation}
|
|
11118
11146
|
*/
|
|
11119
11147
|
export type PrototypeFilter =
|
|
11120
11148
|
| ModSettingPrototypeFilter[]
|
|
@@ -11132,7 +11160,7 @@ declare module "factorio:runtime" {
|
|
|
11132
11160
|
| EntityPrototypeFilter[]
|
|
11133
11161
|
/**
|
|
11134
11162
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11135
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11163
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PrototypeFilter.html Online documentation}
|
|
11136
11164
|
*/
|
|
11137
11165
|
export type PrototypeFilterWrite =
|
|
11138
11166
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -11185,7 +11213,7 @@ declare module "factorio:runtime" {
|
|
|
11185
11213
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
11186
11214
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
11187
11215
|
* @see EventFilterWrite
|
|
11188
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11216
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EventFilter.html Online documentation}
|
|
11189
11217
|
*/
|
|
11190
11218
|
export type EventFilter =
|
|
11191
11219
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11220,7 +11248,7 @@ declare module "factorio:runtime" {
|
|
|
11220
11248
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
11221
11249
|
/**
|
|
11222
11250
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
|
11223
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11251
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EventFilter.html Online documentation}
|
|
11224
11252
|
*/
|
|
11225
11253
|
export type EventFilterWrite =
|
|
11226
11254
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11255,7 +11283,7 @@ declare module "factorio:runtime" {
|
|
|
11255
11283
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
11256
11284
|
/**
|
|
11257
11285
|
* @see CircuitConditionDefinitionWrite
|
|
11258
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11286
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11259
11287
|
*/
|
|
11260
11288
|
export interface CircuitConditionDefinition {
|
|
11261
11289
|
/**
|
|
@@ -11281,7 +11309,7 @@ declare module "factorio:runtime" {
|
|
|
11281
11309
|
}
|
|
11282
11310
|
/**
|
|
11283
11311
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
|
11284
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11312
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11285
11313
|
*/
|
|
11286
11314
|
export interface CircuitConditionDefinitionWrite {
|
|
11287
11315
|
/**
|
|
@@ -11309,7 +11337,7 @@ declare module "factorio:runtime" {
|
|
|
11309
11337
|
* Constants used by the game that are not specific to certain prototypes. See {@linkplain https://github.com/wube/factorio-data/blob/master/core/prototypes/utility-constants.lua utility-constants.lua} for the values used by the base game.
|
|
11310
11338
|
*
|
|
11311
11339
|
* Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table.
|
|
11312
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11340
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UtilityConstants.html Online documentation}
|
|
11313
11341
|
*/
|
|
11314
11342
|
export interface UtilityConstants {
|
|
11315
11343
|
/**
|
|
@@ -11779,7 +11807,7 @@ declare module "factorio:runtime" {
|
|
|
11779
11807
|
* - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network}
|
|
11780
11808
|
* - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id}
|
|
11781
11809
|
* - {@link LuaForce}: Target type {@link defines.target_type.force force}; `useful_id` {@link LuaForce#index LuaForce::index}
|
|
11782
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11810
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RegistrationTarget.html Online documentation}
|
|
11783
11811
|
*/
|
|
11784
11812
|
export type RegistrationTarget =
|
|
11785
11813
|
| LuaEntity
|
|
@@ -11887,7 +11915,7 @@ declare module "factorio:runtime" {
|
|
|
11887
11915
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
11888
11916
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
11889
11917
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
11890
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11918
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ResearchTrigger.html Online documentation}
|
|
11891
11919
|
*/
|
|
11892
11920
|
export type ResearchTrigger =
|
|
11893
11921
|
| CraftItemResearchTrigger
|
|
@@ -11900,26 +11928,26 @@ declare module "factorio:runtime" {
|
|
|
11900
11928
|
| OtherResearchTrigger
|
|
11901
11929
|
/**
|
|
11902
11930
|
* The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}.
|
|
11903
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11931
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProcessionID.html Online documentation}
|
|
11904
11932
|
*/
|
|
11905
11933
|
export type ProcessionID = string
|
|
11906
11934
|
/**
|
|
11907
11935
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
11908
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11936
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11909
11937
|
*/
|
|
11910
11938
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
11911
11939
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
11912
11940
|
}
|
|
11913
11941
|
/**
|
|
11914
11942
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11915
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11943
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11916
11944
|
*/
|
|
11917
11945
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
11918
11946
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
11919
11947
|
}
|
|
11920
11948
|
/**
|
|
11921
11949
|
* @see RocketSiloBlueprintControlBehaviorWrite
|
|
11922
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11950
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11923
11951
|
*/
|
|
11924
11952
|
export interface RocketSiloBlueprintControlBehavior {
|
|
11925
11953
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11935,7 +11963,7 @@ declare module "factorio:runtime" {
|
|
|
11935
11963
|
}
|
|
11936
11964
|
/**
|
|
11937
11965
|
* Write form of {@link RocketSiloBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11938
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11966
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11939
11967
|
*/
|
|
11940
11968
|
export interface RocketSiloBlueprintControlBehaviorWrite {
|
|
11941
11969
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11951,7 +11979,7 @@ declare module "factorio:runtime" {
|
|
|
11951
11979
|
}
|
|
11952
11980
|
/**
|
|
11953
11981
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
11954
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11982
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11955
11983
|
*/
|
|
11956
11984
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
11957
11985
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11994,7 +12022,7 @@ declare module "factorio:runtime" {
|
|
|
11994
12022
|
}
|
|
11995
12023
|
/**
|
|
11996
12024
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11997
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12025
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11998
12026
|
*/
|
|
11999
12027
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
12000
12028
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12037,7 +12065,7 @@ declare module "factorio:runtime" {
|
|
|
12037
12065
|
}
|
|
12038
12066
|
/**
|
|
12039
12067
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
12040
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12068
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
12041
12069
|
*/
|
|
12042
12070
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
12043
12071
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12052,7 +12080,7 @@ declare module "factorio:runtime" {
|
|
|
12052
12080
|
}
|
|
12053
12081
|
/**
|
|
12054
12082
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12055
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12083
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
12056
12084
|
*/
|
|
12057
12085
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
12058
12086
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12067,7 +12095,7 @@ declare module "factorio:runtime" {
|
|
|
12067
12095
|
}
|
|
12068
12096
|
/**
|
|
12069
12097
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
12070
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12098
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
12071
12099
|
*/
|
|
12072
12100
|
export interface FurnaceBlueprintControlBehavior {
|
|
12073
12101
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12111,7 +12139,7 @@ declare module "factorio:runtime" {
|
|
|
12111
12139
|
}
|
|
12112
12140
|
/**
|
|
12113
12141
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12114
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12142
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
12115
12143
|
*/
|
|
12116
12144
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
12117
12145
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12155,21 +12183,21 @@ declare module "factorio:runtime" {
|
|
|
12155
12183
|
}
|
|
12156
12184
|
/**
|
|
12157
12185
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
12158
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12186
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12159
12187
|
*/
|
|
12160
12188
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
12161
12189
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
12162
12190
|
}
|
|
12163
12191
|
/**
|
|
12164
12192
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12165
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12193
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12166
12194
|
*/
|
|
12167
12195
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
12168
12196
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
12169
12197
|
}
|
|
12170
12198
|
/**
|
|
12171
12199
|
* @see CargoLandingPadBlueprintControlBehaviorWrite
|
|
12172
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12200
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12173
12201
|
*/
|
|
12174
12202
|
export interface CargoLandingPadBlueprintControlBehavior {
|
|
12175
12203
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12190,7 +12218,7 @@ declare module "factorio:runtime" {
|
|
|
12190
12218
|
}
|
|
12191
12219
|
/**
|
|
12192
12220
|
* Write form of {@link CargoLandingPadBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12193
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12221
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12194
12222
|
*/
|
|
12195
12223
|
export interface CargoLandingPadBlueprintControlBehaviorWrite {
|
|
12196
12224
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12211,7 +12239,7 @@ declare module "factorio:runtime" {
|
|
|
12211
12239
|
}
|
|
12212
12240
|
/**
|
|
12213
12241
|
* @see LampBlueprintControlBehaviorWrite
|
|
12214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12242
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
12215
12243
|
*/
|
|
12216
12244
|
export interface LampBlueprintControlBehavior {
|
|
12217
12245
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12240,7 +12268,7 @@ declare module "factorio:runtime" {
|
|
|
12240
12268
|
}
|
|
12241
12269
|
/**
|
|
12242
12270
|
* Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12243
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12271
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
12244
12272
|
*/
|
|
12245
12273
|
export interface LampBlueprintControlBehaviorWrite {
|
|
12246
12274
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12269,7 +12297,7 @@ declare module "factorio:runtime" {
|
|
|
12269
12297
|
}
|
|
12270
12298
|
/**
|
|
12271
12299
|
* @see ProxyContainerBlueprintControlBehaviorWrite
|
|
12272
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12300
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12273
12301
|
*/
|
|
12274
12302
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
12275
12303
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12285,7 +12313,7 @@ declare module "factorio:runtime" {
|
|
|
12285
12313
|
}
|
|
12286
12314
|
/**
|
|
12287
12315
|
* Write form of {@link ProxyContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12288
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12316
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12289
12317
|
*/
|
|
12290
12318
|
export interface ProxyContainerBlueprintControlBehaviorWrite {
|
|
12291
12319
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12301,7 +12329,7 @@ declare module "factorio:runtime" {
|
|
|
12301
12329
|
}
|
|
12302
12330
|
/**
|
|
12303
12331
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
12304
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12332
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12305
12333
|
*/
|
|
12306
12334
|
export interface MiningDrillBlueprintControlBehavior {
|
|
12307
12335
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12321,7 +12349,7 @@ declare module "factorio:runtime" {
|
|
|
12321
12349
|
}
|
|
12322
12350
|
/**
|
|
12323
12351
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12324
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12352
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12325
12353
|
*/
|
|
12326
12354
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
12327
12355
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12341,7 +12369,7 @@ declare module "factorio:runtime" {
|
|
|
12341
12369
|
}
|
|
12342
12370
|
/**
|
|
12343
12371
|
* @see LoaderBlueprintControlBehaviorWrite
|
|
12344
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12372
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12345
12373
|
*/
|
|
12346
12374
|
export interface LoaderBlueprintControlBehavior {
|
|
12347
12375
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12367,7 +12395,7 @@ declare module "factorio:runtime" {
|
|
|
12367
12395
|
}
|
|
12368
12396
|
/**
|
|
12369
12397
|
* Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12370
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12398
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12371
12399
|
*/
|
|
12372
12400
|
export interface LoaderBlueprintControlBehaviorWrite {
|
|
12373
12401
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12393,7 +12421,7 @@ declare module "factorio:runtime" {
|
|
|
12393
12421
|
}
|
|
12394
12422
|
/**
|
|
12395
12423
|
* @see WallBlueprintControlBehaviorWrite
|
|
12396
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12424
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12397
12425
|
*/
|
|
12398
12426
|
export interface WallBlueprintControlBehavior {
|
|
12399
12427
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12405,7 +12433,7 @@ declare module "factorio:runtime" {
|
|
|
12405
12433
|
}
|
|
12406
12434
|
/**
|
|
12407
12435
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12408
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12436
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12409
12437
|
*/
|
|
12410
12438
|
export interface WallBlueprintControlBehaviorWrite {
|
|
12411
12439
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12417,7 +12445,7 @@ declare module "factorio:runtime" {
|
|
|
12417
12445
|
}
|
|
12418
12446
|
/**
|
|
12419
12447
|
* @see GenericOnOffBlueprintControlBehaviorWrite
|
|
12420
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12448
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12421
12449
|
*/
|
|
12422
12450
|
export interface GenericOnOffBlueprintControlBehavior {
|
|
12423
12451
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12434,7 +12462,7 @@ declare module "factorio:runtime" {
|
|
|
12434
12462
|
}
|
|
12435
12463
|
/**
|
|
12436
12464
|
* Write form of {@link GenericOnOffBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12437
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12465
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12438
12466
|
*/
|
|
12439
12467
|
export interface GenericOnOffBlueprintControlBehaviorWrite {
|
|
12440
12468
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12451,7 +12479,7 @@ declare module "factorio:runtime" {
|
|
|
12451
12479
|
}
|
|
12452
12480
|
/**
|
|
12453
12481
|
* @see ResearchConditionWrite
|
|
12454
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12482
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ResearchCondition.html Online documentation}
|
|
12455
12483
|
*/
|
|
12456
12484
|
export interface ResearchCondition {
|
|
12457
12485
|
readonly condition?: CircuitCondition
|
|
@@ -12466,7 +12494,7 @@ declare module "factorio:runtime" {
|
|
|
12466
12494
|
}
|
|
12467
12495
|
/**
|
|
12468
12496
|
* Write form of {@link ResearchCondition}, where some properties allow additional values as input compared to the read form.
|
|
12469
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12497
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ResearchCondition.html Online documentation}
|
|
12470
12498
|
*/
|
|
12471
12499
|
export interface ResearchConditionWrite {
|
|
12472
12500
|
readonly condition?: CircuitConditionWrite
|
|
@@ -12481,7 +12509,7 @@ declare module "factorio:runtime" {
|
|
|
12481
12509
|
}
|
|
12482
12510
|
/**
|
|
12483
12511
|
* @see BoilerBlueprintControlBehaviorWrite
|
|
12484
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12512
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12485
12513
|
*/
|
|
12486
12514
|
export interface BoilerBlueprintControlBehavior {
|
|
12487
12515
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12503,7 +12531,7 @@ declare module "factorio:runtime" {
|
|
|
12503
12531
|
}
|
|
12504
12532
|
/**
|
|
12505
12533
|
* Write form of {@link BoilerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12506
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12534
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12507
12535
|
*/
|
|
12508
12536
|
export interface BoilerBlueprintControlBehaviorWrite {
|
|
12509
12537
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12525,7 +12553,7 @@ declare module "factorio:runtime" {
|
|
|
12525
12553
|
}
|
|
12526
12554
|
/**
|
|
12527
12555
|
* @see ContainerBlueprintControlBehaviorWrite
|
|
12528
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12556
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12529
12557
|
*/
|
|
12530
12558
|
export interface ContainerBlueprintControlBehavior {
|
|
12531
12559
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12541,7 +12569,7 @@ declare module "factorio:runtime" {
|
|
|
12541
12569
|
}
|
|
12542
12570
|
/**
|
|
12543
12571
|
* Write form of {@link ContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12544
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12572
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12545
12573
|
*/
|
|
12546
12574
|
export interface ContainerBlueprintControlBehaviorWrite {
|
|
12547
12575
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12557,7 +12585,7 @@ declare module "factorio:runtime" {
|
|
|
12557
12585
|
}
|
|
12558
12586
|
/**
|
|
12559
12587
|
* @see PumpBlueprintControlBehaviorWrite
|
|
12560
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12588
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12561
12589
|
*/
|
|
12562
12590
|
export interface PumpBlueprintControlBehavior {
|
|
12563
12591
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12578,7 +12606,7 @@ declare module "factorio:runtime" {
|
|
|
12578
12606
|
}
|
|
12579
12607
|
/**
|
|
12580
12608
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12581
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12609
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12582
12610
|
*/
|
|
12583
12611
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
12584
12612
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12599,7 +12627,7 @@ declare module "factorio:runtime" {
|
|
|
12599
12627
|
}
|
|
12600
12628
|
/**
|
|
12601
12629
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
12602
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12630
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12603
12631
|
*/
|
|
12604
12632
|
export interface TrainStopBlueprintControlBehavior {
|
|
12605
12633
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12645,7 +12673,7 @@ declare module "factorio:runtime" {
|
|
|
12645
12673
|
}
|
|
12646
12674
|
/**
|
|
12647
12675
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12648
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12676
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12649
12677
|
*/
|
|
12650
12678
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
12651
12679
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12691,7 +12719,7 @@ declare module "factorio:runtime" {
|
|
|
12691
12719
|
}
|
|
12692
12720
|
/**
|
|
12693
12721
|
* @see LandMineBlueprintControlBehaviorWrite
|
|
12694
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12722
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12695
12723
|
*/
|
|
12696
12724
|
export interface LandMineBlueprintControlBehavior {
|
|
12697
12725
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12708,7 +12736,7 @@ declare module "factorio:runtime" {
|
|
|
12708
12736
|
}
|
|
12709
12737
|
/**
|
|
12710
12738
|
* Write form of {@link LandMineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12711
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12739
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12712
12740
|
*/
|
|
12713
12741
|
export interface LandMineBlueprintControlBehaviorWrite {
|
|
12714
12742
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12725,7 +12753,7 @@ declare module "factorio:runtime" {
|
|
|
12725
12753
|
}
|
|
12726
12754
|
/**
|
|
12727
12755
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
12728
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12756
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12729
12757
|
*/
|
|
12730
12758
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
12731
12759
|
readonly circuit_condition: CircuitCondition
|
|
@@ -12733,7 +12761,7 @@ declare module "factorio:runtime" {
|
|
|
12733
12761
|
}
|
|
12734
12762
|
/**
|
|
12735
12763
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12736
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12764
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12737
12765
|
*/
|
|
12738
12766
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
12739
12767
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -12741,7 +12769,7 @@ declare module "factorio:runtime" {
|
|
|
12741
12769
|
}
|
|
12742
12770
|
/**
|
|
12743
12771
|
* @see HeatPipeBlueprintControlBehaviorWrite
|
|
12744
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12772
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12745
12773
|
*/
|
|
12746
12774
|
export interface HeatPipeBlueprintControlBehavior {
|
|
12747
12775
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12753,7 +12781,7 @@ declare module "factorio:runtime" {
|
|
|
12753
12781
|
}
|
|
12754
12782
|
/**
|
|
12755
12783
|
* Write form of {@link HeatPipeBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12756
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12784
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12757
12785
|
*/
|
|
12758
12786
|
export interface HeatPipeBlueprintControlBehaviorWrite {
|
|
12759
12787
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12765,7 +12793,7 @@ declare module "factorio:runtime" {
|
|
|
12765
12793
|
}
|
|
12766
12794
|
/**
|
|
12767
12795
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
12768
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12796
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12769
12797
|
*/
|
|
12770
12798
|
export interface SplitterBlueprintControlBehavior {
|
|
12771
12799
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12788,7 +12816,7 @@ declare module "factorio:runtime" {
|
|
|
12788
12816
|
}
|
|
12789
12817
|
/**
|
|
12790
12818
|
* Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12791
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12819
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12792
12820
|
*/
|
|
12793
12821
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
12794
12822
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12811,7 +12839,7 @@ declare module "factorio:runtime" {
|
|
|
12811
12839
|
}
|
|
12812
12840
|
/**
|
|
12813
12841
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
12814
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12842
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12815
12843
|
*/
|
|
12816
12844
|
export interface TransportBeltBlueprintControlBehavior {
|
|
12817
12845
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12831,7 +12859,7 @@ declare module "factorio:runtime" {
|
|
|
12831
12859
|
}
|
|
12832
12860
|
/**
|
|
12833
12861
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12834
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12862
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12835
12863
|
*/
|
|
12836
12864
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
12837
12865
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12851,7 +12879,7 @@ declare module "factorio:runtime" {
|
|
|
12851
12879
|
}
|
|
12852
12880
|
/**
|
|
12853
12881
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
12854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12882
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12855
12883
|
*/
|
|
12856
12884
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
12857
12885
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12877,7 +12905,7 @@ declare module "factorio:runtime" {
|
|
|
12877
12905
|
}
|
|
12878
12906
|
/**
|
|
12879
12907
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12880
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12908
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12881
12909
|
*/
|
|
12882
12910
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
12883
12911
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12903,7 +12931,7 @@ declare module "factorio:runtime" {
|
|
|
12903
12931
|
}
|
|
12904
12932
|
/**
|
|
12905
12933
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
12906
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12934
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12907
12935
|
*/
|
|
12908
12936
|
export interface ReactorBlueprintControlBehavior {
|
|
12909
12937
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12919,7 +12947,7 @@ declare module "factorio:runtime" {
|
|
|
12919
12947
|
}
|
|
12920
12948
|
/**
|
|
12921
12949
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12922
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12950
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12923
12951
|
*/
|
|
12924
12952
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
12925
12953
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12935,7 +12963,7 @@ declare module "factorio:runtime" {
|
|
|
12935
12963
|
}
|
|
12936
12964
|
/**
|
|
12937
12965
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
12938
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12966
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12939
12967
|
*/
|
|
12940
12968
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
12941
12969
|
readonly sections: LogisticSections
|
|
@@ -12946,7 +12974,7 @@ declare module "factorio:runtime" {
|
|
|
12946
12974
|
}
|
|
12947
12975
|
/**
|
|
12948
12976
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12949
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12977
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12950
12978
|
*/
|
|
12951
12979
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
12952
12980
|
readonly sections: LogisticSectionsWrite
|
|
@@ -12957,7 +12985,7 @@ declare module "factorio:runtime" {
|
|
|
12957
12985
|
}
|
|
12958
12986
|
/**
|
|
12959
12987
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
12960
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12988
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12961
12989
|
*/
|
|
12962
12990
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
12963
12991
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12976,7 +13004,7 @@ declare module "factorio:runtime" {
|
|
|
12976
13004
|
}
|
|
12977
13005
|
/**
|
|
12978
13006
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12979
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13007
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12980
13008
|
*/
|
|
12981
13009
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
12982
13010
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12995,7 +13023,7 @@ declare module "factorio:runtime" {
|
|
|
12995
13023
|
}
|
|
12996
13024
|
/**
|
|
12997
13025
|
* @see LabBlueprintControlBehaviorWrite
|
|
12998
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13026
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
12999
13027
|
*/
|
|
13000
13028
|
export interface LabBlueprintControlBehavior {
|
|
13001
13029
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13010,7 +13038,7 @@ declare module "factorio:runtime" {
|
|
|
13010
13038
|
}
|
|
13011
13039
|
/**
|
|
13012
13040
|
* Write form of {@link LabBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13013
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13041
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
13014
13042
|
*/
|
|
13015
13043
|
export interface LabBlueprintControlBehaviorWrite {
|
|
13016
13044
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13025,7 +13053,7 @@ declare module "factorio:runtime" {
|
|
|
13025
13053
|
}
|
|
13026
13054
|
/**
|
|
13027
13055
|
* @see RadarBlueprintControlBehaviorWrite
|
|
13028
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13056
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
13029
13057
|
*/
|
|
13030
13058
|
export interface RadarBlueprintControlBehavior {
|
|
13031
13059
|
/**
|
|
@@ -13036,7 +13064,7 @@ declare module "factorio:runtime" {
|
|
|
13036
13064
|
}
|
|
13037
13065
|
/**
|
|
13038
13066
|
* Write form of {@link RadarBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13039
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13067
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
13040
13068
|
*/
|
|
13041
13069
|
export interface RadarBlueprintControlBehaviorWrite {
|
|
13042
13070
|
/**
|
|
@@ -13047,7 +13075,7 @@ declare module "factorio:runtime" {
|
|
|
13047
13075
|
}
|
|
13048
13076
|
/**
|
|
13049
13077
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
13050
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13078
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
13051
13079
|
*/
|
|
13052
13080
|
export interface AccumulatorBlueprintControlBehavior {
|
|
13053
13081
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13059,7 +13087,7 @@ declare module "factorio:runtime" {
|
|
|
13059
13087
|
}
|
|
13060
13088
|
/**
|
|
13061
13089
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13062
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13090
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
13063
13091
|
*/
|
|
13064
13092
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
13065
13093
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13071,7 +13099,7 @@ declare module "factorio:runtime" {
|
|
|
13071
13099
|
}
|
|
13072
13100
|
/**
|
|
13073
13101
|
* @see SingleFluidBoxBlueprintControlBehaviorWrite
|
|
13074
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13102
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
13075
13103
|
*/
|
|
13076
13104
|
export interface SingleFluidBoxBlueprintControlBehavior {
|
|
13077
13105
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13087,7 +13115,7 @@ declare module "factorio:runtime" {
|
|
|
13087
13115
|
}
|
|
13088
13116
|
/**
|
|
13089
13117
|
* Write form of {@link SingleFluidBoxBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13090
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13118
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
13091
13119
|
*/
|
|
13092
13120
|
export interface SingleFluidBoxBlueprintControlBehaviorWrite {
|
|
13093
13121
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13103,7 +13131,7 @@ declare module "factorio:runtime" {
|
|
|
13103
13131
|
}
|
|
13104
13132
|
/**
|
|
13105
13133
|
* @see TurretBlueprintControlBehaviorWrite
|
|
13106
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13134
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
13107
13135
|
*/
|
|
13108
13136
|
export interface TurretBlueprintControlBehavior {
|
|
13109
13137
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13134,7 +13162,7 @@ declare module "factorio:runtime" {
|
|
|
13134
13162
|
}
|
|
13135
13163
|
/**
|
|
13136
13164
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13137
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13165
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
13138
13166
|
*/
|
|
13139
13167
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
13140
13168
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13165,7 +13193,7 @@ declare module "factorio:runtime" {
|
|
|
13165
13193
|
}
|
|
13166
13194
|
/**
|
|
13167
13195
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
13168
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13196
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
13169
13197
|
*/
|
|
13170
13198
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
13171
13199
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13195,7 +13223,7 @@ declare module "factorio:runtime" {
|
|
|
13195
13223
|
}
|
|
13196
13224
|
/**
|
|
13197
13225
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13198
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13226
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
13199
13227
|
*/
|
|
13200
13228
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
13201
13229
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13225,7 +13253,7 @@ declare module "factorio:runtime" {
|
|
|
13225
13253
|
}
|
|
13226
13254
|
/**
|
|
13227
13255
|
* @see InserterBlueprintControlBehaviorWrite
|
|
13228
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13256
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
13229
13257
|
*/
|
|
13230
13258
|
export interface InserterBlueprintControlBehavior {
|
|
13231
13259
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13260,7 +13288,7 @@ declare module "factorio:runtime" {
|
|
|
13260
13288
|
}
|
|
13261
13289
|
/**
|
|
13262
13290
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13263
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13291
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
13264
13292
|
*/
|
|
13265
13293
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
13266
13294
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13295,21 +13323,21 @@ declare module "factorio:runtime" {
|
|
|
13295
13323
|
}
|
|
13296
13324
|
/**
|
|
13297
13325
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
13298
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13326
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
13299
13327
|
*/
|
|
13300
13328
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
13301
13329
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
13302
13330
|
}
|
|
13303
13331
|
/**
|
|
13304
13332
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13305
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13333
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
13306
13334
|
*/
|
|
13307
13335
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
13308
13336
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
13309
13337
|
}
|
|
13310
13338
|
/**
|
|
13311
13339
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
13312
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13340
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
13313
13341
|
*/
|
|
13314
13342
|
export interface RoboportBlueprintControlBehavior {
|
|
13315
13343
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13323,7 +13351,7 @@ declare module "factorio:runtime" {
|
|
|
13323
13351
|
}
|
|
13324
13352
|
/**
|
|
13325
13353
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13326
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13354
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
13327
13355
|
*/
|
|
13328
13356
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
13329
13357
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13337,7 +13365,7 @@ declare module "factorio:runtime" {
|
|
|
13337
13365
|
}
|
|
13338
13366
|
/**
|
|
13339
13367
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
13340
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13368
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13341
13369
|
*/
|
|
13342
13370
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
13343
13371
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13385,7 +13413,7 @@ declare module "factorio:runtime" {
|
|
|
13385
13413
|
}
|
|
13386
13414
|
/**
|
|
13387
13415
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13388
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13416
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13389
13417
|
*/
|
|
13390
13418
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
13391
13419
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13433,7 +13461,7 @@ declare module "factorio:runtime" {
|
|
|
13433
13461
|
}
|
|
13434
13462
|
/**
|
|
13435
13463
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
13436
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13464
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13437
13465
|
*/
|
|
13438
13466
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
13439
13467
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13465,7 +13493,7 @@ declare module "factorio:runtime" {
|
|
|
13465
13493
|
}
|
|
13466
13494
|
/**
|
|
13467
13495
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13468
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13496
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13469
13497
|
*/
|
|
13470
13498
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
13471
13499
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13531,7 +13559,7 @@ declare module "factorio:runtime" {
|
|
|
13531
13559
|
* "2500 * (L - 3)"
|
|
13532
13560
|
* @example
|
|
13533
13561
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
13534
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13562
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MathExpression.html Online documentation}
|
|
13535
13563
|
*/
|
|
13536
13564
|
export type MathExpression = string
|
|
13537
13565
|
/**
|
|
@@ -13542,12 +13570,12 @@ declare module "factorio:runtime" {
|
|
|
13542
13570
|
* Tables inside Tags that have numeric keys but are not sequences (e.g. `tags = {foo = {nil, "something"}}` or `tags = {bar = {[4] = "cat"}}`) will have their keys converted to strings when read back from the game (e.g. `{foo = {["2"] = "something"}}` or `{bar = {["4"] = "cat"}}`). Only sequences without gaps will have their keys maintained as numeric.
|
|
13543
13571
|
* @example
|
|
13544
13572
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
13545
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13573
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Tags.html Online documentation}
|
|
13546
13574
|
*/
|
|
13547
13575
|
export type Tags = Record<string, AnyBasic>
|
|
13548
13576
|
/**
|
|
13549
13577
|
* @see TileWrite
|
|
13550
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13578
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Tile.html Online documentation}
|
|
13551
13579
|
*/
|
|
13552
13580
|
export interface Tile {
|
|
13553
13581
|
/**
|
|
@@ -13561,7 +13589,7 @@ declare module "factorio:runtime" {
|
|
|
13561
13589
|
}
|
|
13562
13590
|
/**
|
|
13563
13591
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
|
13564
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13592
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Tile.html Online documentation}
|
|
13565
13593
|
*/
|
|
13566
13594
|
export interface TileWrite {
|
|
13567
13595
|
/**
|
|
@@ -13585,99 +13613,99 @@ declare module "factorio:runtime" {
|
|
|
13585
13613
|
}
|
|
13586
13614
|
/**
|
|
13587
13615
|
* 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.
|
|
13588
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13616
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/float.html Online documentation}
|
|
13589
13617
|
*/
|
|
13590
13618
|
export type float = number
|
|
13591
13619
|
/**
|
|
13592
13620
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
|
13593
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13621
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/double.html Online documentation}
|
|
13594
13622
|
*/
|
|
13595
13623
|
export type double = number
|
|
13596
13624
|
/**
|
|
13597
13625
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
13598
13626
|
*
|
|
13599
13627
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
|
13600
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13628
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint8.html Online documentation}
|
|
13601
13629
|
*/
|
|
13602
13630
|
export type uint8 = number
|
|
13603
13631
|
/**
|
|
13604
13632
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
13605
13633
|
*
|
|
13606
13634
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
|
13607
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13635
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/int8.html Online documentation}
|
|
13608
13636
|
*/
|
|
13609
13637
|
export type int8 = number
|
|
13610
13638
|
/**
|
|
13611
13639
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
13612
13640
|
*
|
|
13613
13641
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
|
13614
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13642
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint16.html Online documentation}
|
|
13615
13643
|
*/
|
|
13616
13644
|
export type uint16 = number
|
|
13617
13645
|
/**
|
|
13618
13646
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
13619
13647
|
*
|
|
13620
13648
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
|
13621
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13649
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/int16.html Online documentation}
|
|
13622
13650
|
*/
|
|
13623
13651
|
export type int16 = number
|
|
13624
13652
|
/**
|
|
13625
13653
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
13626
13654
|
*
|
|
13627
13655
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
|
13628
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13656
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint32.html Online documentation}
|
|
13629
13657
|
*/
|
|
13630
13658
|
export type uint32 = number
|
|
13631
13659
|
/**
|
|
13632
13660
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
13633
13661
|
*
|
|
13634
13662
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
|
13635
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13663
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/int32.html Online documentation}
|
|
13636
13664
|
*/
|
|
13637
13665
|
export type int32 = number
|
|
13638
13666
|
/**
|
|
13639
13667
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
13640
13668
|
*
|
|
13641
13669
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
|
13642
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13670
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint64.html Online documentation}
|
|
13643
13671
|
*/
|
|
13644
13672
|
export type uint64 = number
|
|
13645
13673
|
/**
|
|
13646
13674
|
* 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.
|
|
13647
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13675
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/nil.html Online documentation}
|
|
13648
13676
|
*/
|
|
13649
13677
|
export type nil = undefined
|
|
13650
13678
|
/**
|
|
13651
13679
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
13652
13680
|
*
|
|
13653
13681
|
* Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain https://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination.
|
|
13654
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13682
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/table.html Online documentation}
|
|
13655
13683
|
*/
|
|
13656
13684
|
export type table = object
|
|
13657
13685
|
/**
|
|
13658
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.
|
|
13659
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13686
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.25/classes.html Classes} page.
|
|
13687
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaObject.html Online documentation}
|
|
13660
13688
|
*/
|
|
13661
13689
|
export interface LuaObject {
|
|
13662
13690
|
readonly object_name: string
|
|
13663
13691
|
}
|
|
13664
13692
|
/**
|
|
13665
13693
|
* Any basic type (string, number, boolean) or table.
|
|
13666
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13694
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AnyBasic.html Online documentation}
|
|
13667
13695
|
*/
|
|
13668
13696
|
export type AnyBasic = string | boolean | number | table
|
|
13669
13697
|
/**
|
|
13670
13698
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
13671
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13699
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Any.html Online documentation}
|
|
13672
13700
|
*/
|
|
13673
13701
|
export type Any = string | boolean | number | table | LuaObject
|
|
13674
13702
|
/**
|
|
13675
13703
|
* 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}`.
|
|
13676
13704
|
*
|
|
13677
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13705
|
+
* {@link https://lua-api.factorio.com/2.1.25/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:}
|
|
13678
13706
|
*
|
|
13679
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13680
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13707
|
+
* {@link https://lua-api.factorio.com/2.1.25/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:}
|
|
13708
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PropertyExpressionNames.html Online documentation}
|
|
13681
13709
|
*/
|
|
13682
13710
|
export type PropertyExpressionNames = Record<string, string>
|
|
13683
13711
|
/**
|
|
@@ -13687,7 +13715,7 @@ declare module "factorio:runtime" {
|
|
|
13687
13715
|
/**
|
|
13688
13716
|
* The condition to filter on.
|
|
13689
13717
|
*/
|
|
13690
|
-
readonly filter: "type" | "mod" | "setting-type"
|
|
13718
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "type" | "mod" | "setting-type"
|
|
13691
13719
|
/**
|
|
13692
13720
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
13693
13721
|
*/
|
|
@@ -13727,6 +13755,12 @@ declare module "factorio:runtime" {
|
|
|
13727
13755
|
*/
|
|
13728
13756
|
readonly type: "startup" | "runtime-global" | "runtime-per-user"
|
|
13729
13757
|
}
|
|
13758
|
+
/**
|
|
13759
|
+
* Variants of {@link ModSettingPrototypeFilter} with no additional attributes.
|
|
13760
|
+
*/
|
|
13761
|
+
export interface OtherModSettingPrototypeFilter extends BaseModSettingPrototypeFilter {
|
|
13762
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter"
|
|
13763
|
+
}
|
|
13730
13764
|
/**
|
|
13731
13765
|
* Base attributes: {@link BaseModSettingPrototypeFilter}
|
|
13732
13766
|
*
|
|
@@ -13734,10 +13768,13 @@ declare module "factorio:runtime" {
|
|
|
13734
13768
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
13735
13769
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
13736
13770
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
13737
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13771
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ModSettingPrototypeFilter.html Online documentation}
|
|
13738
13772
|
*/
|
|
13739
13773
|
export type ModSettingPrototypeFilter =
|
|
13740
|
-
|
|
13774
|
+
| TypeModSettingPrototypeFilter
|
|
13775
|
+
| ModModSettingPrototypeFilter
|
|
13776
|
+
| SettingTypeModSettingPrototypeFilter
|
|
13777
|
+
| OtherModSettingPrototypeFilter
|
|
13741
13778
|
/**
|
|
13742
13779
|
* Common attributes to all variants of {@link SpaceLocationPrototypeFilter}.
|
|
13743
13780
|
*/
|
|
@@ -13745,7 +13782,8 @@ declare module "factorio:runtime" {
|
|
|
13745
13782
|
/**
|
|
13746
13783
|
* The condition to filter on.
|
|
13747
13784
|
*/
|
|
13748
|
-
readonly filter:
|
|
13785
|
+
readonly filter:
|
|
13786
|
+
"hidden" | "hidden-in-factoriopedia" | "is-parameter" | "fly-condition" | "type" | "solar-power-in-space"
|
|
13749
13787
|
/**
|
|
13750
13788
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
13751
13789
|
*/
|
|
@@ -13788,7 +13826,7 @@ declare module "factorio:runtime" {
|
|
|
13788
13826
|
* Variants of {@link SpaceLocationPrototypeFilter} with no additional attributes.
|
|
13789
13827
|
*/
|
|
13790
13828
|
export interface OtherSpaceLocationPrototypeFilter extends BaseSpaceLocationPrototypeFilter {
|
|
13791
|
-
readonly filter: "fly-condition"
|
|
13829
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "fly-condition"
|
|
13792
13830
|
}
|
|
13793
13831
|
/**
|
|
13794
13832
|
* Base attributes: {@link BaseSpaceLocationPrototypeFilter}
|
|
@@ -13796,13 +13834,13 @@ declare module "factorio:runtime" {
|
|
|
13796
13834
|
* Other attributes may be specified depending on `filter`:
|
|
13797
13835
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
13798
13836
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
13799
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13837
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13800
13838
|
*/
|
|
13801
13839
|
export type SpaceLocationPrototypeFilter =
|
|
13802
13840
|
TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter
|
|
13803
13841
|
/**
|
|
13804
13842
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
13805
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13843
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13806
13844
|
*/
|
|
13807
13845
|
export type SpaceLocationPrototypeFilterWrite =
|
|
13808
13846
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -13815,7 +13853,7 @@ declare module "factorio:runtime" {
|
|
|
13815
13853
|
/**
|
|
13816
13854
|
* The condition to filter on.
|
|
13817
13855
|
*/
|
|
13818
|
-
readonly filter: "decal" | "autoplace" | "collision-mask"
|
|
13856
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "decal" | "autoplace" | "collision-mask"
|
|
13819
13857
|
/**
|
|
13820
13858
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
13821
13859
|
*/
|
|
@@ -13843,14 +13881,14 @@ declare module "factorio:runtime" {
|
|
|
13843
13881
|
* Variants of {@link DecorativePrototypeFilter} with no additional attributes.
|
|
13844
13882
|
*/
|
|
13845
13883
|
export interface OtherDecorativePrototypeFilter extends BaseDecorativePrototypeFilter {
|
|
13846
|
-
readonly filter: "decal" | "autoplace"
|
|
13884
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "decal" | "autoplace"
|
|
13847
13885
|
}
|
|
13848
13886
|
/**
|
|
13849
13887
|
* Base attributes: {@link BaseDecorativePrototypeFilter}
|
|
13850
13888
|
*
|
|
13851
13889
|
* Other attributes may be specified depending on `filter`:
|
|
13852
13890
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
13853
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13891
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DecorativePrototypeFilter.html Online documentation}
|
|
13854
13892
|
*/
|
|
13855
13893
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
13856
13894
|
/**
|
|
@@ -13861,6 +13899,9 @@ declare module "factorio:runtime" {
|
|
|
13861
13899
|
* The condition to filter on.
|
|
13862
13900
|
*/
|
|
13863
13901
|
readonly filter:
|
|
13902
|
+
| "hidden"
|
|
13903
|
+
| "hidden-in-factoriopedia"
|
|
13904
|
+
| "is-parameter"
|
|
13864
13905
|
| "minable"
|
|
13865
13906
|
| "autoplace"
|
|
13866
13907
|
| "blueprintable"
|
|
@@ -13981,7 +14022,14 @@ declare module "factorio:runtime" {
|
|
|
13981
14022
|
* Variants of {@link TilePrototypeFilter} with no additional attributes.
|
|
13982
14023
|
*/
|
|
13983
14024
|
export interface OtherTilePrototypeFilter extends BaseTilePrototypeFilter {
|
|
13984
|
-
readonly filter:
|
|
14025
|
+
readonly filter:
|
|
14026
|
+
| "hidden"
|
|
14027
|
+
| "hidden-in-factoriopedia"
|
|
14028
|
+
| "is-parameter"
|
|
14029
|
+
| "minable"
|
|
14030
|
+
| "autoplace"
|
|
14031
|
+
| "blueprintable"
|
|
14032
|
+
| "item-to-place"
|
|
13985
14033
|
}
|
|
13986
14034
|
/**
|
|
13987
14035
|
* Base attributes: {@link BaseTilePrototypeFilter}
|
|
@@ -13992,7 +14040,7 @@ declare module "factorio:runtime" {
|
|
|
13992
14040
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
13993
14041
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
13994
14042
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
13995
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14043
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePrototypeFilter.html Online documentation}
|
|
13996
14044
|
*/
|
|
13997
14045
|
export type TilePrototypeFilter =
|
|
13998
14046
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14003,7 +14051,7 @@ declare module "factorio:runtime" {
|
|
|
14003
14051
|
| OtherTilePrototypeFilter
|
|
14004
14052
|
/**
|
|
14005
14053
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14006
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14054
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePrototypeFilter.html Online documentation}
|
|
14007
14055
|
*/
|
|
14008
14056
|
export type TilePrototypeFilterWrite =
|
|
14009
14057
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14016,7 +14064,7 @@ declare module "factorio:runtime" {
|
|
|
14016
14064
|
/**
|
|
14017
14065
|
* The condition to filter on.
|
|
14018
14066
|
*/
|
|
14019
|
-
readonly filter: "minable"
|
|
14067
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "minable"
|
|
14020
14068
|
/**
|
|
14021
14069
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14022
14070
|
*/
|
|
@@ -14360,7 +14408,7 @@ declare module "factorio:runtime" {
|
|
|
14360
14408
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
14361
14409
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
14362
14410
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
14363
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14411
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14364
14412
|
*/
|
|
14365
14413
|
export type ItemPrototypeFilter =
|
|
14366
14414
|
| PlaceResultItemPrototypeFilter
|
|
@@ -14382,7 +14430,7 @@ declare module "factorio:runtime" {
|
|
|
14382
14430
|
| OtherItemPrototypeFilter
|
|
14383
14431
|
/**
|
|
14384
14432
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14385
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14433
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14386
14434
|
*/
|
|
14387
14435
|
export type ItemPrototypeFilterWrite =
|
|
14388
14436
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -14412,6 +14460,8 @@ declare module "factorio:runtime" {
|
|
|
14412
14460
|
readonly filter:
|
|
14413
14461
|
| "enabled"
|
|
14414
14462
|
| "hidden"
|
|
14463
|
+
| "hidden-in-factoriopedia"
|
|
14464
|
+
| "is-parameter"
|
|
14415
14465
|
| "upgrade"
|
|
14416
14466
|
| "visible-when-disabled"
|
|
14417
14467
|
| "has-effects"
|
|
@@ -14511,7 +14561,15 @@ declare module "factorio:runtime" {
|
|
|
14511
14561
|
* Variants of {@link TechnologyPrototypeFilter} with no additional attributes.
|
|
14512
14562
|
*/
|
|
14513
14563
|
export interface OtherTechnologyPrototypeFilter extends BaseTechnologyPrototypeFilter {
|
|
14514
|
-
readonly filter:
|
|
14564
|
+
readonly filter:
|
|
14565
|
+
| "enabled"
|
|
14566
|
+
| "hidden"
|
|
14567
|
+
| "hidden-in-factoriopedia"
|
|
14568
|
+
| "is-parameter"
|
|
14569
|
+
| "upgrade"
|
|
14570
|
+
| "visible-when-disabled"
|
|
14571
|
+
| "has-effects"
|
|
14572
|
+
| "has-prerequisites"
|
|
14515
14573
|
}
|
|
14516
14574
|
/**
|
|
14517
14575
|
* Base attributes: {@link BaseTechnologyPrototypeFilter}
|
|
@@ -14522,7 +14580,7 @@ declare module "factorio:runtime" {
|
|
|
14522
14580
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
14523
14581
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
14524
14582
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
14525
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14583
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14526
14584
|
*/
|
|
14527
14585
|
export type TechnologyPrototypeFilter =
|
|
14528
14586
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14533,7 +14591,7 @@ declare module "factorio:runtime" {
|
|
|
14533
14591
|
| OtherTechnologyPrototypeFilter
|
|
14534
14592
|
/**
|
|
14535
14593
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14536
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14594
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14537
14595
|
*/
|
|
14538
14596
|
export type TechnologyPrototypeFilterWrite =
|
|
14539
14597
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14554,6 +14612,8 @@ declare module "factorio:runtime" {
|
|
|
14554
14612
|
| "hidden"
|
|
14555
14613
|
| "hidden-from-flow-stats"
|
|
14556
14614
|
| "hidden-from-player-crafting"
|
|
14615
|
+
| "hidden-in-factoriopedia"
|
|
14616
|
+
| "is-parameter"
|
|
14557
14617
|
| "allow-as-intermediate"
|
|
14558
14618
|
| "allow-intermediates"
|
|
14559
14619
|
| "allow-decomposition"
|
|
@@ -14768,6 +14828,8 @@ declare module "factorio:runtime" {
|
|
|
14768
14828
|
| "hidden"
|
|
14769
14829
|
| "hidden-from-flow-stats"
|
|
14770
14830
|
| "hidden-from-player-crafting"
|
|
14831
|
+
| "hidden-in-factoriopedia"
|
|
14832
|
+
| "is-parameter"
|
|
14771
14833
|
| "allow-as-intermediate"
|
|
14772
14834
|
| "allow-intermediates"
|
|
14773
14835
|
| "allow-decomposition"
|
|
@@ -14789,7 +14851,7 @@ declare module "factorio:runtime" {
|
|
|
14789
14851
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
14790
14852
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
14791
14853
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
14792
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14854
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14793
14855
|
*/
|
|
14794
14856
|
export type RecipePrototypeFilter =
|
|
14795
14857
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -14805,7 +14867,7 @@ declare module "factorio:runtime" {
|
|
|
14805
14867
|
| OtherRecipePrototypeFilter
|
|
14806
14868
|
/**
|
|
14807
14869
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14808
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14870
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14809
14871
|
*/
|
|
14810
14872
|
export type RecipePrototypeFilterWrite =
|
|
14811
14873
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -14826,7 +14888,7 @@ declare module "factorio:runtime" {
|
|
|
14826
14888
|
/**
|
|
14827
14889
|
* The condition to filter on.
|
|
14828
14890
|
*/
|
|
14829
|
-
readonly filter: "allowed-without-fight" | "type"
|
|
14891
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "allowed-without-fight" | "type"
|
|
14830
14892
|
/**
|
|
14831
14893
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14832
14894
|
*/
|
|
@@ -14850,21 +14912,21 @@ declare module "factorio:runtime" {
|
|
|
14850
14912
|
* Variants of {@link AchievementPrototypeFilter} with no additional attributes.
|
|
14851
14913
|
*/
|
|
14852
14914
|
export interface OtherAchievementPrototypeFilter extends BaseAchievementPrototypeFilter {
|
|
14853
|
-
readonly filter: "allowed-without-fight"
|
|
14915
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "allowed-without-fight"
|
|
14854
14916
|
}
|
|
14855
14917
|
/**
|
|
14856
14918
|
* Base attributes: {@link BaseAchievementPrototypeFilter}
|
|
14857
14919
|
*
|
|
14858
14920
|
* Other attributes may be specified depending on `filter`:
|
|
14859
14921
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
14860
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14922
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AchievementPrototypeFilter.html Online documentation}
|
|
14861
14923
|
*/
|
|
14862
14924
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
14863
14925
|
export interface VirtualSignalPrototypeFilter {
|
|
14864
14926
|
/**
|
|
14865
14927
|
* The condition to filter on.
|
|
14866
14928
|
*/
|
|
14867
|
-
readonly filter: "special-signal"
|
|
14929
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "special-signal"
|
|
14868
14930
|
/**
|
|
14869
14931
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14870
14932
|
*/
|
|
@@ -14881,7 +14943,7 @@ declare module "factorio:runtime" {
|
|
|
14881
14943
|
/**
|
|
14882
14944
|
* The condition to filter on.
|
|
14883
14945
|
*/
|
|
14884
|
-
readonly filter: "item-to-place" | "type"
|
|
14946
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "item-to-place" | "type"
|
|
14885
14947
|
/**
|
|
14886
14948
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14887
14949
|
*/
|
|
@@ -14905,14 +14967,14 @@ declare module "factorio:runtime" {
|
|
|
14905
14967
|
* Variants of {@link EquipmentPrototypeFilter} with no additional attributes.
|
|
14906
14968
|
*/
|
|
14907
14969
|
export interface OtherEquipmentPrototypeFilter extends BaseEquipmentPrototypeFilter {
|
|
14908
|
-
readonly filter: "item-to-place"
|
|
14970
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "item-to-place"
|
|
14909
14971
|
}
|
|
14910
14972
|
/**
|
|
14911
14973
|
* Base attributes: {@link BaseEquipmentPrototypeFilter}
|
|
14912
14974
|
*
|
|
14913
14975
|
* Other attributes may be specified depending on `filter`:
|
|
14914
14976
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
14915
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14977
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPrototypeFilter.html Online documentation}
|
|
14916
14978
|
*/
|
|
14917
14979
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
14918
14980
|
/**
|
|
@@ -14924,6 +14986,8 @@ declare module "factorio:runtime" {
|
|
|
14924
14986
|
*/
|
|
14925
14987
|
readonly filter:
|
|
14926
14988
|
| "hidden"
|
|
14989
|
+
| "hidden-in-factoriopedia"
|
|
14990
|
+
| "is-parameter"
|
|
14927
14991
|
| "name"
|
|
14928
14992
|
| "subgroup"
|
|
14929
14993
|
| "default-temperature"
|
|
@@ -15083,7 +15147,7 @@ declare module "factorio:runtime" {
|
|
|
15083
15147
|
* Variants of {@link FluidPrototypeFilter} with no additional attributes.
|
|
15084
15148
|
*/
|
|
15085
15149
|
export interface OtherFluidPrototypeFilter extends BaseFluidPrototypeFilter {
|
|
15086
|
-
readonly filter: "hidden"
|
|
15150
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter"
|
|
15087
15151
|
}
|
|
15088
15152
|
/**
|
|
15089
15153
|
* Base attributes: {@link BaseFluidPrototypeFilter}
|
|
@@ -15097,7 +15161,7 @@ declare module "factorio:runtime" {
|
|
|
15097
15161
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
15098
15162
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
15099
15163
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
15100
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15164
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidPrototypeFilter.html Online documentation}
|
|
15101
15165
|
*/
|
|
15102
15166
|
export type FluidPrototypeFilter =
|
|
15103
15167
|
| NameFluidPrototypeFilter
|
|
@@ -15111,7 +15175,7 @@ declare module "factorio:runtime" {
|
|
|
15111
15175
|
| OtherFluidPrototypeFilter
|
|
15112
15176
|
/**
|
|
15113
15177
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15114
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15178
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidPrototypeFilter.html Online documentation}
|
|
15115
15179
|
*/
|
|
15116
15180
|
export type FluidPrototypeFilterWrite =
|
|
15117
15181
|
| NameFluidPrototypeFilter
|
|
@@ -15147,6 +15211,8 @@ declare module "factorio:runtime" {
|
|
|
15147
15211
|
| "clonable"
|
|
15148
15212
|
| "selectable"
|
|
15149
15213
|
| "hidden"
|
|
15214
|
+
| "hidden-in-factoriopedia"
|
|
15215
|
+
| "is-parameter"
|
|
15150
15216
|
| "entity-with-health"
|
|
15151
15217
|
| "building"
|
|
15152
15218
|
| "fast-replaceable"
|
|
@@ -15309,6 +15375,8 @@ declare module "factorio:runtime" {
|
|
|
15309
15375
|
| "clonable"
|
|
15310
15376
|
| "selectable"
|
|
15311
15377
|
| "hidden"
|
|
15378
|
+
| "hidden-in-factoriopedia"
|
|
15379
|
+
| "is-parameter"
|
|
15312
15380
|
| "entity-with-health"
|
|
15313
15381
|
| "building"
|
|
15314
15382
|
| "fast-replaceable"
|
|
@@ -15330,7 +15398,7 @@ declare module "factorio:runtime" {
|
|
|
15330
15398
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
15331
15399
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
15332
15400
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
15333
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15401
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFilter.html Online documentation}
|
|
15334
15402
|
*/
|
|
15335
15403
|
export type EntityPrototypeFilter =
|
|
15336
15404
|
| NameEntityPrototypeFilter
|
|
@@ -15343,7 +15411,7 @@ declare module "factorio:runtime" {
|
|
|
15343
15411
|
| OtherEntityPrototypeFilter
|
|
15344
15412
|
/**
|
|
15345
15413
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15346
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15414
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFilter.html Online documentation}
|
|
15347
15415
|
*/
|
|
15348
15416
|
export type EntityPrototypeFilterWrite =
|
|
15349
15417
|
| NameEntityPrototypeFilter
|
|
@@ -15386,7 +15454,7 @@ declare module "factorio:runtime" {
|
|
|
15386
15454
|
*
|
|
15387
15455
|
* Other attributes may be specified depending on `filter`:
|
|
15388
15456
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
15389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15457
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
|
15390
15458
|
*/
|
|
15391
15459
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
15392
15460
|
/**
|
|
@@ -15486,7 +15554,7 @@ declare module "factorio:runtime" {
|
|
|
15486
15554
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
15487
15555
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
15488
15556
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
15489
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15557
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
|
15490
15558
|
*/
|
|
15491
15559
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
15492
15560
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -15591,7 +15659,7 @@ declare module "factorio:runtime" {
|
|
|
15591
15659
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
15592
15660
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
15593
15661
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
15594
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15662
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
|
15595
15663
|
*/
|
|
15596
15664
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
15597
15665
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -15696,7 +15764,7 @@ declare module "factorio:runtime" {
|
|
|
15696
15764
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
15697
15765
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
15698
15766
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
15699
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15767
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
|
15700
15768
|
*/
|
|
15701
15769
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
15702
15770
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -15801,7 +15869,7 @@ declare module "factorio:runtime" {
|
|
|
15801
15869
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
15802
15870
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
15803
15871
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
15804
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15872
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
|
15805
15873
|
*/
|
|
15806
15874
|
export type LuaPlatformMinedEntityEventFilter =
|
|
15807
15875
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -15918,7 +15986,7 @@ declare module "factorio:runtime" {
|
|
|
15918
15986
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
15919
15987
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
15920
15988
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
15921
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15989
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
|
15922
15990
|
*/
|
|
15923
15991
|
export type LuaRobotBuiltEntityEventFilter =
|
|
15924
15992
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -16024,7 +16092,7 @@ declare module "factorio:runtime" {
|
|
|
16024
16092
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
16025
16093
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
16026
16094
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
16027
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16095
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
|
16028
16096
|
*/
|
|
16029
16097
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
16030
16098
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -16129,7 +16197,7 @@ declare module "factorio:runtime" {
|
|
|
16129
16197
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
16130
16198
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
16131
16199
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
16132
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16200
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
|
16133
16201
|
*/
|
|
16134
16202
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
16135
16203
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -16234,7 +16302,7 @@ declare module "factorio:runtime" {
|
|
|
16234
16302
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
16235
16303
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
16236
16304
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
16237
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16305
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
|
16238
16306
|
*/
|
|
16239
16307
|
export type LuaPreGhostUpgradedEventFilter =
|
|
16240
16308
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -16351,7 +16419,7 @@ declare module "factorio:runtime" {
|
|
|
16351
16419
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
16352
16420
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
16353
16421
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
16354
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16422
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
|
16355
16423
|
*/
|
|
16356
16424
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
16357
16425
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -16457,7 +16525,7 @@ declare module "factorio:runtime" {
|
|
|
16457
16525
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
16458
16526
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
16459
16527
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
16460
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16528
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
|
16461
16529
|
*/
|
|
16462
16530
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
16463
16531
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -16562,7 +16630,7 @@ declare module "factorio:runtime" {
|
|
|
16562
16630
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
16563
16631
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
16564
16632
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
16565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16633
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
|
16566
16634
|
*/
|
|
16567
16635
|
export type LuaEntityClonedEventFilter =
|
|
16568
16636
|
| TypeEntityClonedEventFilter
|
|
@@ -16667,7 +16735,7 @@ declare module "factorio:runtime" {
|
|
|
16667
16735
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
16668
16736
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
16669
16737
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
16670
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16738
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
|
16671
16739
|
*/
|
|
16672
16740
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
16673
16741
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -16707,7 +16775,7 @@ declare module "factorio:runtime" {
|
|
|
16707
16775
|
*
|
|
16708
16776
|
* Other attributes may be specified depending on `filter`:
|
|
16709
16777
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
16710
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16778
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
|
16711
16779
|
*/
|
|
16712
16780
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
16713
16781
|
/**
|
|
@@ -16742,7 +16810,7 @@ declare module "factorio:runtime" {
|
|
|
16742
16810
|
*
|
|
16743
16811
|
* Other attributes may be specified depending on `filter`:
|
|
16744
16812
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
16745
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16813
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
|
16746
16814
|
*/
|
|
16747
16815
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
16748
16816
|
/**
|
|
@@ -16848,7 +16916,7 @@ declare module "factorio:runtime" {
|
|
|
16848
16916
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
16849
16917
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
16850
16918
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
16851
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16919
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16852
16920
|
*/
|
|
16853
16921
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
16854
16922
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16858,7 +16926,7 @@ declare module "factorio:runtime" {
|
|
|
16858
16926
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
16859
16927
|
/**
|
|
16860
16928
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
16861
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16929
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16862
16930
|
*/
|
|
16863
16931
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
16864
16932
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16963,7 +17031,7 @@ declare module "factorio:runtime" {
|
|
|
16963
17031
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
16964
17032
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
16965
17033
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
16966
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17034
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
|
16967
17035
|
*/
|
|
16968
17036
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
16969
17037
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -17068,7 +17136,7 @@ declare module "factorio:runtime" {
|
|
|
17068
17136
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
17069
17137
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
17070
17138
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
17071
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17139
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
|
17072
17140
|
*/
|
|
17073
17141
|
export type LuaPlayerMinedEntityEventFilter =
|
|
17074
17142
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -17173,7 +17241,7 @@ declare module "factorio:runtime" {
|
|
|
17173
17241
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
17174
17242
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
17175
17243
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
17176
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
|
17177
17245
|
*/
|
|
17178
17246
|
export type LuaSectorScannedEventFilter =
|
|
17179
17247
|
| TypeSectorScannedEventFilter
|
|
@@ -17278,7 +17346,7 @@ declare module "factorio:runtime" {
|
|
|
17278
17346
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
17279
17347
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
17280
17348
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
17281
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17349
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
|
17282
17350
|
*/
|
|
17283
17351
|
export type LuaRobotMinedEntityEventFilter =
|
|
17284
17352
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -17383,7 +17451,7 @@ declare module "factorio:runtime" {
|
|
|
17383
17451
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
17384
17452
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
17385
17453
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
17386
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17454
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
|
17387
17455
|
*/
|
|
17388
17456
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
17389
17457
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -17423,7 +17491,7 @@ declare module "factorio:runtime" {
|
|
|
17423
17491
|
*
|
|
17424
17492
|
* Other attributes may be specified depending on `filter`:
|
|
17425
17493
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
17426
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17494
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
|
17427
17495
|
*/
|
|
17428
17496
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
17429
17497
|
/**
|
|
@@ -17523,7 +17591,7 @@ declare module "factorio:runtime" {
|
|
|
17523
17591
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
17524
17592
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
17525
17593
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
17526
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17594
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
|
17527
17595
|
*/
|
|
17528
17596
|
export type LuaScriptRaisedReviveEventFilter =
|
|
17529
17597
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -17640,7 +17708,7 @@ declare module "factorio:runtime" {
|
|
|
17640
17708
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
17641
17709
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
17642
17710
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
17643
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17711
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
|
17644
17712
|
*/
|
|
17645
17713
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
17646
17714
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -17746,7 +17814,7 @@ declare module "factorio:runtime" {
|
|
|
17746
17814
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
17747
17815
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
17748
17816
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
17749
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17817
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
|
17750
17818
|
*/
|
|
17751
17819
|
export type LuaUpgradeCancelledEventFilter =
|
|
17752
17820
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -17926,7 +17994,7 @@ declare module "factorio:runtime" {
|
|
|
17926
17994
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
17927
17995
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
17928
17996
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
17929
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17997
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17930
17998
|
*/
|
|
17931
17999
|
export type LuaEntityDamagedEventFilter =
|
|
17932
18000
|
| TypeEntityDamagedEventFilter
|
|
@@ -17940,7 +18008,7 @@ declare module "factorio:runtime" {
|
|
|
17940
18008
|
| OtherEntityDamagedEventFilter
|
|
17941
18009
|
/**
|
|
17942
18010
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
17943
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18011
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17944
18012
|
*/
|
|
17945
18013
|
export type LuaEntityDamagedEventFilterWrite =
|
|
17946
18014
|
| TypeEntityDamagedEventFilter
|
|
@@ -18061,7 +18129,7 @@ declare module "factorio:runtime" {
|
|
|
18061
18129
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
18062
18130
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
18063
18131
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
18064
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18132
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
|
18065
18133
|
*/
|
|
18066
18134
|
export type LuaEntityDiedEventFilter =
|
|
18067
18135
|
| TypeEntityDiedEventFilter
|
|
@@ -18167,7 +18235,7 @@ declare module "factorio:runtime" {
|
|
|
18167
18235
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
18168
18236
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
18169
18237
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
18170
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18238
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
|
18171
18239
|
*/
|
|
18172
18240
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
18173
18241
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -18218,7 +18286,7 @@ declare module "factorio:runtime" {
|
|
|
18218
18286
|
* Other attributes may be specified depending on `filter`:
|
|
18219
18287
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
18220
18288
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
18221
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18289
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
|
18222
18290
|
*/
|
|
18223
18291
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
18224
18292
|
NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter
|
|
@@ -18319,7 +18387,7 @@ declare module "factorio:runtime" {
|
|
|
18319
18387
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
18320
18388
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
18321
18389
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
18322
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18390
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
|
18323
18391
|
*/
|
|
18324
18392
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
18325
18393
|
| TypeScriptRaisedDestroyEventFilter
|