typed-factorio 4.7.0 → 4.8.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 +2500 -2486
- package/prototype/generated/types.d.ts +2595 -2581
- package/runtime/generated/classes.d.ts +5060 -5044
- package/runtime/generated/concepts.d.ts +469 -465
- package/runtime/generated/defines.d.ts +216 -216
- package/runtime/generated/events.d.ts +229 -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.24/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.24/events.html the list of Factorio events} for more information on these.
|
|
58
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/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.24/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.24/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.24/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.24/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.24/concepts/SpritePath.html > The supported types are:}
|
|
199
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/concepts/PlatformSchedule.html Online documentation}
|
|
1578
1580
|
*/
|
|
1579
1581
|
export interface PlatformScheduleWrite {
|
|
1580
1582
|
/**
|
|
@@ -1649,7 +1651,7 @@ declare module "factorio:runtime" {
|
|
|
1649
1651
|
}
|
|
1650
1652
|
/**
|
|
1651
1653
|
* A recipe prototype with optional quality specification.
|
|
1652
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1654
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
|
1653
1655
|
*/
|
|
1654
1656
|
export interface RecipeIDAndQualityIDPair {
|
|
1655
1657
|
/**
|
|
@@ -1714,7 +1716,7 @@ declare module "factorio:runtime" {
|
|
|
1714
1716
|
}
|
|
1715
1717
|
/**
|
|
1716
1718
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1717
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1719
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentEngineSpecification.html Online documentation}
|
|
1718
1720
|
*/
|
|
1719
1721
|
export interface SegmentEngineSpecification {
|
|
1720
1722
|
/**
|
|
@@ -1728,7 +1730,7 @@ declare module "factorio:runtime" {
|
|
|
1728
1730
|
}
|
|
1729
1731
|
/**
|
|
1730
1732
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1731
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1733
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentSpecification.html Online documentation}
|
|
1732
1734
|
*/
|
|
1733
1735
|
export interface SegmentSpecification {
|
|
1734
1736
|
/**
|
|
@@ -1742,7 +1744,7 @@ declare module "factorio:runtime" {
|
|
|
1742
1744
|
}
|
|
1743
1745
|
/**
|
|
1744
1746
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1745
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1747
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TileBuildabilityRule.html Online documentation}
|
|
1746
1748
|
*/
|
|
1747
1749
|
export interface TileBuildabilityRule {
|
|
1748
1750
|
/**
|
|
@@ -1936,7 +1938,7 @@ declare module "factorio:runtime" {
|
|
|
1936
1938
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1937
1939
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1938
1940
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1939
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1941
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ForceID.html Online documentation}
|
|
1940
1942
|
*/
|
|
1941
1943
|
export type ForceID = string | uint8 | LuaForce
|
|
1942
1944
|
/**
|
|
@@ -1946,7 +1948,7 @@ declare module "factorio:runtime" {
|
|
|
1946
1948
|
* - `string`: The fluid name.
|
|
1947
1949
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1948
1950
|
* - {@link Fluid}: The fluid.
|
|
1949
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1951
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidID.html Online documentation}
|
|
1950
1952
|
*/
|
|
1951
1953
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1952
1954
|
/**
|
|
@@ -1957,12 +1959,12 @@ declare module "factorio:runtime" {
|
|
|
1957
1959
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1958
1960
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1959
1961
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1960
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1962
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityWithQualityID.html Online documentation}
|
|
1961
1963
|
*/
|
|
1962
1964
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1963
1965
|
/**
|
|
1964
1966
|
* An entity prototype with optional quality specification.
|
|
1965
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1967
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
|
1966
1968
|
*/
|
|
1967
1969
|
export interface EntityIDAndQualityIDPair {
|
|
1968
1970
|
/**
|
|
@@ -1982,13 +1984,13 @@ declare module "factorio:runtime" {
|
|
|
1982
1984
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
1983
1985
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1984
1986
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
1985
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1987
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemWithQualityID.html Online documentation}
|
|
1986
1988
|
*/
|
|
1987
1989
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
1988
1990
|
/**
|
|
1989
1991
|
* An item prototype with optional quality specification.
|
|
1990
1992
|
* @see ItemIDAndQualityIDPairWrite
|
|
1991
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1993
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1992
1994
|
*/
|
|
1993
1995
|
export interface ItemIDAndQualityIDPair {
|
|
1994
1996
|
/**
|
|
@@ -2002,7 +2004,7 @@ declare module "factorio:runtime" {
|
|
|
2002
2004
|
}
|
|
2003
2005
|
/**
|
|
2004
2006
|
* 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.
|
|
2007
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
2006
2008
|
*/
|
|
2007
2009
|
export interface ItemIDAndQualityIDPairWrite {
|
|
2008
2010
|
/**
|
|
@@ -2022,7 +2024,7 @@ declare module "factorio:runtime" {
|
|
|
2022
2024
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
2023
2025
|
* - {@link LuaItem}: The item.
|
|
2024
2026
|
* - `string`: The prototype name.
|
|
2025
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2027
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemID.html Online documentation}
|
|
2026
2028
|
*/
|
|
2027
2029
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
2028
2030
|
/**
|
|
@@ -2031,7 +2033,7 @@ declare module "factorio:runtime" {
|
|
|
2031
2033
|
* ## Union members
|
|
2032
2034
|
* - {@link LuaItemGroup}: The item group prototype.
|
|
2033
2035
|
* - `string`: The prototype name.
|
|
2034
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2036
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemGroupID.html Online documentation}
|
|
2035
2037
|
*/
|
|
2036
2038
|
export type ItemGroupID = LuaItemGroup | string
|
|
2037
2039
|
/**
|
|
@@ -2041,7 +2043,7 @@ declare module "factorio:runtime" {
|
|
|
2041
2043
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
2042
2044
|
* - {@link LuaEntity}: The entity.
|
|
2043
2045
|
* - `string`: The prototype name.
|
|
2044
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2046
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityID.html Online documentation}
|
|
2045
2047
|
*/
|
|
2046
2048
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
2047
2049
|
/**
|
|
@@ -2051,7 +2053,7 @@ declare module "factorio:runtime" {
|
|
|
2051
2053
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
2052
2054
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
2053
2055
|
* - `string`: The prototype name.
|
|
2054
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2056
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyID.html Online documentation}
|
|
2055
2057
|
*/
|
|
2056
2058
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
2057
2059
|
/**
|
|
@@ -2060,7 +2062,7 @@ declare module "factorio:runtime" {
|
|
|
2060
2062
|
* ## Union members
|
|
2061
2063
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
2062
2064
|
* - `string`: The prototype name.
|
|
2063
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2065
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ParticleID.html Online documentation}
|
|
2064
2066
|
*/
|
|
2065
2067
|
export type ParticleID = LuaParticlePrototype | string
|
|
2066
2068
|
/**
|
|
@@ -2069,7 +2071,7 @@ declare module "factorio:runtime" {
|
|
|
2069
2071
|
* ## Union members
|
|
2070
2072
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
2071
2073
|
* - `string`: The prototype name.
|
|
2072
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2074
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DamageTypeID.html Online documentation}
|
|
2073
2075
|
*/
|
|
2074
2076
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
2075
2077
|
/**
|
|
@@ -2078,7 +2080,7 @@ declare module "factorio:runtime" {
|
|
|
2078
2080
|
* ## Union members
|
|
2079
2081
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
2080
2082
|
* - `string`: The prototype name.
|
|
2081
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2083
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrivialSmokeID.html Online documentation}
|
|
2082
2084
|
*/
|
|
2083
2085
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
2084
2086
|
/**
|
|
@@ -2090,7 +2092,7 @@ declare module "factorio:runtime" {
|
|
|
2090
2092
|
* - `"left"`
|
|
2091
2093
|
* - `"right"`
|
|
2092
2094
|
* - `"center"`
|
|
2093
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2095
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TextAlign.html Online documentation}
|
|
2094
2096
|
*/
|
|
2095
2097
|
export type TextAlign = "left" | "right" | "center"
|
|
2096
2098
|
/**
|
|
@@ -2103,7 +2105,7 @@ declare module "factorio:runtime" {
|
|
|
2103
2105
|
* - `"middle"`
|
|
2104
2106
|
* - `"baseline"`
|
|
2105
2107
|
* - `"bottom"`
|
|
2106
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2108
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/VerticalTextAlign.html Online documentation}
|
|
2107
2109
|
*/
|
|
2108
2110
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
2109
2111
|
/**
|
|
@@ -2112,7 +2114,7 @@ declare module "factorio:runtime" {
|
|
|
2112
2114
|
* ## Union members
|
|
2113
2115
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
2114
2116
|
* - `string`: The prototype name.
|
|
2115
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2117
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/QualityID.html Online documentation}
|
|
2116
2118
|
*/
|
|
2117
2119
|
export type QualityID = LuaQualityPrototype | string
|
|
2118
2120
|
/**
|
|
@@ -2121,7 +2123,7 @@ declare module "factorio:runtime" {
|
|
|
2121
2123
|
* ## Union members
|
|
2122
2124
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
2123
2125
|
* - `string`: By name of the recipe category prototype.
|
|
2124
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2126
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipeCategoryID.html Online documentation}
|
|
2125
2127
|
*/
|
|
2126
2128
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
2127
2129
|
/**
|
|
@@ -2131,7 +2133,7 @@ declare module "factorio:runtime" {
|
|
|
2131
2133
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
2132
2134
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
2133
2135
|
* - `string`: By name of the recipe prototype.
|
|
2134
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2136
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipeID.html Online documentation}
|
|
2135
2137
|
*/
|
|
2136
2138
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
2137
2139
|
/**
|
|
@@ -2141,7 +2143,7 @@ declare module "factorio:runtime" {
|
|
|
2141
2143
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
2142
2144
|
* - {@link LuaTile}: By instance of tile.
|
|
2143
2145
|
* - `string`: By name of the tile prototype.
|
|
2144
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2146
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TileID.html Online documentation}
|
|
2145
2147
|
*/
|
|
2146
2148
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
2147
2149
|
export interface Fluid {
|
|
@@ -2165,7 +2167,7 @@ declare module "factorio:runtime" {
|
|
|
2165
2167
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
2166
2168
|
* - {@link LuaEquipment}: The equipment.
|
|
2167
2169
|
* - `string`: The prototype name.
|
|
2168
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2170
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentID.html Online documentation}
|
|
2169
2171
|
*/
|
|
2170
2172
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
2171
2173
|
/**
|
|
@@ -2177,19 +2179,19 @@ declare module "factorio:runtime" {
|
|
|
2177
2179
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2178
2180
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
2179
2181
|
* @see EquipmentWithQualityIDWrite
|
|
2180
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2182
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2181
2183
|
*/
|
|
2182
2184
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
2183
2185
|
/**
|
|
2184
2186
|
* 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.
|
|
2187
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2186
2188
|
*/
|
|
2187
2189
|
export type EquipmentWithQualityIDWrite =
|
|
2188
2190
|
LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite
|
|
2189
2191
|
/**
|
|
2190
2192
|
* An equipment prototype with optional quality specification.
|
|
2191
2193
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
2192
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2194
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2193
2195
|
*/
|
|
2194
2196
|
export interface EquipmentIDAndQualityIDPair {
|
|
2195
2197
|
/**
|
|
@@ -2203,7 +2205,7 @@ declare module "factorio:runtime" {
|
|
|
2203
2205
|
}
|
|
2204
2206
|
/**
|
|
2205
2207
|
* 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.
|
|
2208
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2207
2209
|
*/
|
|
2208
2210
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
2209
2211
|
/**
|
|
@@ -2250,7 +2252,7 @@ declare module "factorio:runtime" {
|
|
|
2250
2252
|
* @example
|
|
2251
2253
|
* -- Shorthand
|
|
2252
2254
|
* {{-2, -3}, {5, 8}}
|
|
2253
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2255
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoundingBox.html Online documentation}
|
|
2254
2256
|
*/
|
|
2255
2257
|
export interface BoundingBox {
|
|
2256
2258
|
readonly left_top: MapPosition
|
|
@@ -2260,7 +2262,7 @@ declare module "factorio:runtime" {
|
|
|
2260
2262
|
/**
|
|
2261
2263
|
* Array form of {@link BoundingBox}.
|
|
2262
2264
|
* @see BoundingBox
|
|
2263
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2265
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoundingBox.html Online documentation}
|
|
2264
2266
|
*/
|
|
2265
2267
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
2266
2268
|
export interface BoundingBoxWrite {
|
|
@@ -2323,7 +2325,7 @@ declare module "factorio:runtime" {
|
|
|
2323
2325
|
* - 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
2326
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
2325
2327
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
2326
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2328
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SurfaceIdentification.html Online documentation}
|
|
2327
2329
|
*/
|
|
2328
2330
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
2329
2331
|
/**
|
|
@@ -2333,7 +2335,7 @@ declare module "factorio:runtime" {
|
|
|
2333
2335
|
* - PlayerIndex: The player index.
|
|
2334
2336
|
* - `string`: The player name.
|
|
2335
2337
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
2336
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2338
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PlayerIdentification.html Online documentation}
|
|
2337
2339
|
*/
|
|
2338
2340
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
2339
2341
|
/**
|
|
@@ -2342,7 +2344,7 @@ declare module "factorio:runtime" {
|
|
|
2342
2344
|
* ## Union members
|
|
2343
2345
|
* - {@link ForceID}[]: Array of many forces.
|
|
2344
2346
|
* - {@link ForceID}: A single force.
|
|
2345
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2347
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ForceSet.html Online documentation}
|
|
2346
2348
|
*/
|
|
2347
2349
|
export type ForceSet = readonly ForceID[] | ForceID
|
|
2348
2350
|
/**
|
|
@@ -2351,7 +2353,7 @@ declare module "factorio:runtime" {
|
|
|
2351
2353
|
* ## Union members
|
|
2352
2354
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
2353
2355
|
* - `string`: The prototype name.
|
|
2354
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2356
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DecorativeID.html Online documentation}
|
|
2355
2357
|
*/
|
|
2356
2358
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
2357
2359
|
/**
|
|
@@ -2360,7 +2362,7 @@ declare module "factorio:runtime" {
|
|
|
2360
2362
|
* ## Union members
|
|
2361
2363
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
2362
2364
|
* - `string`: The prototype name.
|
|
2363
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2365
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidChunkID.html Online documentation}
|
|
2364
2366
|
*/
|
|
2365
2367
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
2366
2368
|
/**
|
|
@@ -2369,7 +2371,7 @@ declare module "factorio:runtime" {
|
|
|
2369
2371
|
* ## Union members
|
|
2370
2372
|
* - {@link LuaSpaceConnectionPrototype}: The space connection prototype.
|
|
2371
2373
|
* - `string`: The prototype name.
|
|
2372
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2374
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceConnectionID.html Online documentation}
|
|
2373
2375
|
*/
|
|
2374
2376
|
export type SpaceConnectionID = LuaSpaceConnectionPrototype | string
|
|
2375
2377
|
/**
|
|
@@ -2378,7 +2380,7 @@ declare module "factorio:runtime" {
|
|
|
2378
2380
|
* ## Union members
|
|
2379
2381
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
2380
2382
|
* - `string`: The prototype name.
|
|
2381
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2383
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceLocationID.html Online documentation}
|
|
2382
2384
|
*/
|
|
2383
2385
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
2384
2386
|
/**
|
|
@@ -2386,7 +2388,7 @@ declare module "factorio:runtime" {
|
|
|
2386
2388
|
*
|
|
2387
2389
|
* 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
2390
|
* @see SignalFilterWrite
|
|
2389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2391
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalFilter.html Online documentation}
|
|
2390
2392
|
*/
|
|
2391
2393
|
export type SignalFilter =
|
|
2392
2394
|
| {
|
|
@@ -2410,7 +2412,7 @@ declare module "factorio:runtime" {
|
|
|
2410
2412
|
| string
|
|
2411
2413
|
/**
|
|
2412
2414
|
* 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.
|
|
2415
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalFilter.html Online documentation}
|
|
2414
2416
|
*/
|
|
2415
2417
|
export type SignalFilterWrite =
|
|
2416
2418
|
| {
|
|
@@ -2434,7 +2436,7 @@ declare module "factorio:runtime" {
|
|
|
2434
2436
|
| string
|
|
2435
2437
|
/**
|
|
2436
2438
|
* @see LogisticFilterWrite
|
|
2437
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2439
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticFilter.html Online documentation}
|
|
2438
2440
|
*/
|
|
2439
2441
|
export interface LogisticFilter {
|
|
2440
2442
|
/**
|
|
@@ -2464,7 +2466,7 @@ declare module "factorio:runtime" {
|
|
|
2464
2466
|
}
|
|
2465
2467
|
/**
|
|
2466
2468
|
* 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.
|
|
2469
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticFilter.html Online documentation}
|
|
2468
2470
|
*/
|
|
2469
2471
|
export interface LogisticFilterWrite {
|
|
2470
2472
|
/**
|
|
@@ -2540,7 +2542,7 @@ declare module "factorio:runtime" {
|
|
|
2540
2542
|
* ## Union members
|
|
2541
2543
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
2542
2544
|
* - `string`: The prototype name.
|
|
2543
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2545
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SurfacePropertyID.html Online documentation}
|
|
2544
2546
|
*/
|
|
2545
2547
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
2546
2548
|
/**
|
|
@@ -2562,12 +2564,12 @@ declare module "factorio:runtime" {
|
|
|
2562
2564
|
* target = {type = "cursor", offset = {6, 7}}
|
|
2563
2565
|
* @example
|
|
2564
2566
|
* target = {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2567
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTarget.html Online documentation}
|
|
2566
2568
|
*/
|
|
2567
2569
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
2568
2570
|
/**
|
|
2569
2571
|
* 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.
|
|
2572
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTarget.html Online documentation}
|
|
2571
2573
|
*/
|
|
2572
2574
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
2573
2575
|
/**
|
|
@@ -2589,7 +2591,7 @@ declare module "factorio:runtime" {
|
|
|
2589
2591
|
* {type = "cursor", offset = {6, 7}}
|
|
2590
2592
|
* @example
|
|
2591
2593
|
* {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2592
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2594
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2593
2595
|
*/
|
|
2594
2596
|
export interface ScriptRenderTargetTable {
|
|
2595
2597
|
/**
|
|
@@ -2611,7 +2613,7 @@ declare module "factorio:runtime" {
|
|
|
2611
2613
|
}
|
|
2612
2614
|
/**
|
|
2613
2615
|
* 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.
|
|
2616
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2615
2617
|
*/
|
|
2616
2618
|
export interface ScriptRenderTargetTableWrite {
|
|
2617
2619
|
/**
|
|
@@ -2650,13 +2652,13 @@ declare module "factorio:runtime" {
|
|
|
2650
2652
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
2651
2653
|
* "iron-plate"
|
|
2652
2654
|
* {name="iron-plate", count=100}
|
|
2653
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2655
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemStackIdentification.html Online documentation}
|
|
2654
2656
|
*/
|
|
2655
2657
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
2656
2658
|
/**
|
|
2657
2659
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
2658
2660
|
* @see QualityConditionWrite
|
|
2659
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2661
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/QualityCondition.html Online documentation}
|
|
2660
2662
|
*/
|
|
2661
2663
|
export type QualityCondition =
|
|
2662
2664
|
| {
|
|
@@ -2672,7 +2674,7 @@ declare module "factorio:runtime" {
|
|
|
2672
2674
|
| string
|
|
2673
2675
|
/**
|
|
2674
2676
|
* 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.
|
|
2677
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/QualityCondition.html Online documentation}
|
|
2676
2678
|
*/
|
|
2677
2679
|
export type QualityConditionWrite =
|
|
2678
2680
|
| {
|
|
@@ -2689,7 +2691,7 @@ declare module "factorio:runtime" {
|
|
|
2689
2691
|
/**
|
|
2690
2692
|
* The destination of a cargo pod.
|
|
2691
2693
|
* @see CargoDestinationWrite
|
|
2692
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2694
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoDestination.html Online documentation}
|
|
2693
2695
|
*/
|
|
2694
2696
|
export interface CargoDestination {
|
|
2695
2697
|
/**
|
|
@@ -2727,7 +2729,7 @@ declare module "factorio:runtime" {
|
|
|
2727
2729
|
}
|
|
2728
2730
|
/**
|
|
2729
2731
|
* 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.
|
|
2732
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoDestination.html Online documentation}
|
|
2731
2733
|
*/
|
|
2732
2734
|
export interface CargoDestinationWrite {
|
|
2733
2735
|
/**
|
|
@@ -2781,7 +2783,7 @@ declare module "factorio:runtime" {
|
|
|
2781
2783
|
* furthest = { zoom = 1 / 16 },
|
|
2782
2784
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2783
2785
|
* }
|
|
2784
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2786
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ZoomLimits.html Online documentation}
|
|
2785
2787
|
*/
|
|
2786
2788
|
export interface ZoomLimits {
|
|
2787
2789
|
/**
|
|
@@ -2811,7 +2813,7 @@ declare module "factorio:runtime" {
|
|
|
2811
2813
|
*
|
|
2812
2814
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2813
2815
|
* { distance = 200, max_distance = 500 }
|
|
2814
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2816
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ZoomSpecification.html Online documentation}
|
|
2815
2817
|
*/
|
|
2816
2818
|
export interface ZoomSpecification {
|
|
2817
2819
|
/**
|
|
@@ -2832,7 +2834,7 @@ declare module "factorio:runtime" {
|
|
|
2832
2834
|
* - `"game"`: Draw the object in the game world.
|
|
2833
2835
|
* - `"chart"`: Draw the object on the map.
|
|
2834
2836
|
* - `"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.
|
|
2837
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderMode.html Online documentation}
|
|
2836
2838
|
*/
|
|
2837
2839
|
export type ScriptRenderMode = "game" | "chart" | "build-cursor"
|
|
2838
2840
|
/**
|
|
@@ -2840,7 +2842,7 @@ declare module "factorio:runtime" {
|
|
|
2840
2842
|
* - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings.
|
|
2841
2843
|
* - `"light"`: Draw as light.
|
|
2842
2844
|
* - `"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.
|
|
2845
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptSpriteLightMode.html Online documentation}
|
|
2844
2846
|
*/
|
|
2845
2847
|
export type ScriptSpriteLightMode = "occluder" | "light" | "glow"
|
|
2846
2848
|
/**
|
|
@@ -2851,7 +2853,7 @@ declare module "factorio:runtime" {
|
|
|
2851
2853
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2852
2854
|
* - {@link defines.events}: Event identifier.
|
|
2853
2855
|
* - `string`: Name of the event.
|
|
2854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2856
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEventType.html Online documentation}
|
|
2855
2857
|
*/
|
|
2856
2858
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2857
2859
|
export interface UnlockableID {
|
|
@@ -2890,7 +2892,7 @@ declare module "factorio:runtime" {
|
|
|
2890
2892
|
* - `"starter-packs-available"`
|
|
2891
2893
|
* - `"thrusters-available"`
|
|
2892
2894
|
* - `"capture-robots-available"`
|
|
2893
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2895
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/UnlockableIDType.html Online documentation}
|
|
2894
2896
|
*/
|
|
2895
2897
|
export type UnlockableIDType =
|
|
2896
2898
|
| "space-location"
|
|
@@ -2916,7 +2918,7 @@ declare module "factorio:runtime" {
|
|
|
2916
2918
|
* - `"planet"`
|
|
2917
2919
|
* - `"platforms"`
|
|
2918
2920
|
* - `"all"`
|
|
2919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2921
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RequestFromLocation.html Online documentation}
|
|
2920
2922
|
*/
|
|
2921
2923
|
export type RequestFromLocation = "planet" | "platforms" | "all"
|
|
2922
2924
|
/**
|
|
@@ -2924,13 +2926,13 @@ declare module "factorio:runtime" {
|
|
|
2924
2926
|
* - `"never"`
|
|
2925
2927
|
* - `"has-unit"`
|
|
2926
2928
|
* - `"always"`
|
|
2927
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2929
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TerritoryVisibilityCondition.html Online documentation}
|
|
2928
2930
|
*/
|
|
2929
2931
|
export type TerritoryVisibilityCondition = "never" | "has-unit" | "always"
|
|
2930
2932
|
/**
|
|
2931
2933
|
* 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
2934
|
* @see TilePositionArray
|
|
2933
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2935
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePosition.html Online documentation}
|
|
2934
2936
|
*/
|
|
2935
2937
|
export interface TilePosition {
|
|
2936
2938
|
readonly x: int32
|
|
@@ -2939,14 +2941,14 @@ declare module "factorio:runtime" {
|
|
|
2939
2941
|
/**
|
|
2940
2942
|
* Array form of {@link TilePosition}.
|
|
2941
2943
|
* @see TilePosition
|
|
2942
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2944
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePosition.html Online documentation}
|
|
2943
2945
|
*/
|
|
2944
2946
|
export type TilePositionArray = readonly [int32, int32]
|
|
2945
2947
|
/**
|
|
2946
2948
|
* 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
2949
|
*
|
|
2948
2950
|
* 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.
|
|
2951
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RealOrientation.html Online documentation}
|
|
2950
2952
|
*/
|
|
2951
2953
|
export type RealOrientation = float
|
|
2952
2954
|
export interface MapLocation {
|
|
@@ -2965,7 +2967,7 @@ declare module "factorio:runtime" {
|
|
|
2965
2967
|
* @example
|
|
2966
2968
|
* -- Shorthand
|
|
2967
2969
|
* {1.625, 2.375}
|
|
2968
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2970
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapPosition.html Online documentation}
|
|
2969
2971
|
*/
|
|
2970
2972
|
export interface MapPosition {
|
|
2971
2973
|
readonly x: double
|
|
@@ -2974,7 +2976,7 @@ declare module "factorio:runtime" {
|
|
|
2974
2976
|
/**
|
|
2975
2977
|
* Array form of {@link MapPosition}.
|
|
2976
2978
|
* @see MapPosition
|
|
2977
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2979
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapPosition.html Online documentation}
|
|
2978
2980
|
*/
|
|
2979
2981
|
export type MapPositionArray = readonly [double, double]
|
|
2980
2982
|
/**
|
|
@@ -2987,7 +2989,7 @@ declare module "factorio:runtime" {
|
|
|
2987
2989
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
2988
2990
|
* black = {} -- All channels omitted: black
|
|
2989
2991
|
* 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.
|
|
2992
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Color.html Online documentation}
|
|
2991
2993
|
*/
|
|
2992
2994
|
export interface Color {
|
|
2993
2995
|
readonly r?: float
|
|
@@ -2998,7 +3000,7 @@ declare module "factorio:runtime" {
|
|
|
2998
3000
|
/**
|
|
2999
3001
|
* Array form of {@link Color}.
|
|
3000
3002
|
* @see Color
|
|
3001
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3003
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Color.html Online documentation}
|
|
3002
3004
|
*/
|
|
3003
3005
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
3004
3006
|
/**
|
|
@@ -3006,7 +3008,7 @@ declare module "factorio:runtime" {
|
|
|
3006
3008
|
* - `"center-to-center"`
|
|
3007
3009
|
* - `"bounding-box-to-bounding-box"`
|
|
3008
3010
|
* - `"center-to-bounding-box"`
|
|
3009
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3011
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RangeMode.html Online documentation}
|
|
3010
3012
|
*/
|
|
3011
3013
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
3012
3014
|
export interface BlueprintRollingStockConnection {
|
|
@@ -4074,7 +4076,7 @@ declare module "factorio:runtime" {
|
|
|
4074
4076
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
4075
4077
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
4076
4078
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
4077
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4079
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEntity.html Online documentation}
|
|
4078
4080
|
*/
|
|
4079
4081
|
export type BlueprintEntity =
|
|
4080
4082
|
| AccumulatorBlueprintEntity
|
|
@@ -4141,7 +4143,7 @@ declare module "factorio:runtime" {
|
|
|
4141
4143
|
| WallBlueprintEntity
|
|
4142
4144
|
/**
|
|
4143
4145
|
* 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.
|
|
4146
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEntity.html Online documentation}
|
|
4145
4147
|
*/
|
|
4146
4148
|
export type BlueprintEntityWrite =
|
|
4147
4149
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -4216,7 +4218,7 @@ declare module "factorio:runtime" {
|
|
|
4216
4218
|
* - `target_entity_number`
|
|
4217
4219
|
*
|
|
4218
4220
|
* - `target_wire_connector_id`
|
|
4219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4221
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintWire.html Online documentation}
|
|
4220
4222
|
*/
|
|
4221
4223
|
export type BlueprintWire = [
|
|
4222
4224
|
source_entity_number: uint32,
|
|
@@ -4421,7 +4423,7 @@ declare module "factorio:runtime" {
|
|
|
4421
4423
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
4422
4424
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
4423
4425
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
4424
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4426
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/UndoRedoAction.html Online documentation}
|
|
4425
4427
|
*/
|
|
4426
4428
|
export type UndoRedoAction =
|
|
4427
4429
|
| BuiltEntityUndoRedoAction
|
|
@@ -4638,7 +4640,7 @@ declare module "factorio:runtime" {
|
|
|
4638
4640
|
* - `"play-previous-track"`
|
|
4639
4641
|
* - `"pause-resume-music"`
|
|
4640
4642
|
* - `""`: Indicates no linked game control.
|
|
4641
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4643
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LinkedGameControl.html Online documentation}
|
|
4642
4644
|
*/
|
|
4643
4645
|
export type LinkedGameControl =
|
|
4644
4646
|
| "move-up"
|
|
@@ -4846,7 +4848,7 @@ declare module "factorio:runtime" {
|
|
|
4846
4848
|
* - {@link LuaSpaceLocationPrototype}
|
|
4847
4849
|
* - {@link LuaTilePrototype}
|
|
4848
4850
|
* - {@link LuaVirtualSignalPrototype}
|
|
4849
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4851
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PipetteID.html Online documentation}
|
|
4850
4852
|
*/
|
|
4851
4853
|
export type PipetteID =
|
|
4852
4854
|
| LuaEntityPrototype
|
|
@@ -4866,7 +4868,7 @@ declare module "factorio:runtime" {
|
|
|
4866
4868
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4867
4869
|
* - `"same"`: The same force pass.
|
|
4868
4870
|
* - `"not-same"`: The non-same forces pass.
|
|
4869
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4871
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ForceCondition.html Online documentation}
|
|
4870
4872
|
*/
|
|
4871
4873
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4872
4874
|
/**
|
|
@@ -4874,7 +4876,7 @@ declare module "factorio:runtime" {
|
|
|
4874
4876
|
* - `"input-output"`
|
|
4875
4877
|
* - `"input"`
|
|
4876
4878
|
* - `"output"`
|
|
4877
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4879
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidFlowDirection.html Online documentation}
|
|
4878
4880
|
*/
|
|
4879
4881
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4880
4882
|
/**
|
|
@@ -4882,7 +4884,7 @@ declare module "factorio:runtime" {
|
|
|
4882
4884
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4883
4885
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4884
4886
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4885
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4887
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PipeConnectionType.html Online documentation}
|
|
4886
4888
|
*/
|
|
4887
4889
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4888
4890
|
export interface PipeConnectionDefinition {
|
|
@@ -4914,7 +4916,7 @@ declare module "factorio:runtime" {
|
|
|
4914
4916
|
}
|
|
4915
4917
|
/**
|
|
4916
4918
|
* 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.
|
|
4919
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidAmount.html Online documentation}
|
|
4918
4920
|
*/
|
|
4919
4921
|
export type FluidAmount = double
|
|
4920
4922
|
/**
|
|
@@ -4925,7 +4927,7 @@ declare module "factorio:runtime" {
|
|
|
4925
4927
|
* - `"input"`
|
|
4926
4928
|
* - `"input-output"`
|
|
4927
4929
|
* - `"output"`
|
|
4928
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4930
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProductionType.html Online documentation}
|
|
4929
4931
|
*/
|
|
4930
4932
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4931
4933
|
export interface SurfaceCondition {
|
|
@@ -4937,7 +4939,7 @@ declare module "factorio:runtime" {
|
|
|
4937
4939
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4938
4940
|
*
|
|
4939
4941
|
* By default, none of these flags are set.
|
|
4940
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4942
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFlags.html Online documentation}
|
|
4941
4943
|
*/
|
|
4942
4944
|
export type ItemPrototypeFlags = {
|
|
4943
4945
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4947,6 +4949,7 @@ declare module "factorio:runtime" {
|
|
|
4947
4949
|
*
|
|
4948
4950
|
* ## Union members
|
|
4949
4951
|
* - `"draw-logistic-overlay"`: Determines whether the logistics areas of roboports should be drawn when holding this item. Used by the deconstruction planner by default.
|
|
4952
|
+
* - `"disable-logistic-overlay"`: Prevents the logistics areas of roboports from being drawn when holding this item.
|
|
4950
4953
|
* - `"excluded-from-trash-unrequested"`: If this item is skipped by the trash-unrequested logic.
|
|
4951
4954
|
* - `"excluded-from-character-lift-weight"`: Whether the rocket passenger feature skips this item when checking lift weight.
|
|
4952
4955
|
* - `"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 +4965,11 @@ declare module "factorio:runtime" {
|
|
|
4962
4965
|
* - `"hide-health-bar-in-world"`
|
|
4963
4966
|
* - `"hide-spoilage-bar-in-world"`
|
|
4964
4967
|
* - `"no-item-on-ground-merging"`
|
|
4965
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4968
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFlag.html Online documentation}
|
|
4966
4969
|
*/
|
|
4967
4970
|
export type ItemPrototypeFlag =
|
|
4968
4971
|
| "draw-logistic-overlay"
|
|
4972
|
+
| "disable-logistic-overlay"
|
|
4969
4973
|
| "excluded-from-trash-unrequested"
|
|
4970
4974
|
| "excluded-from-character-lift-weight"
|
|
4971
4975
|
| "always-show"
|
|
@@ -4983,7 +4987,7 @@ declare module "factorio:runtime" {
|
|
|
4983
4987
|
| "no-item-on-ground-merging"
|
|
4984
4988
|
/**
|
|
4985
4989
|
* @see UpgradeMapperSourceWrite
|
|
4986
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4990
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/UpgradeMapperSource.html Online documentation}
|
|
4987
4991
|
*/
|
|
4988
4992
|
export interface UpgradeMapperSource {
|
|
4989
4993
|
readonly type: "item" | "entity"
|
|
@@ -5006,7 +5010,7 @@ declare module "factorio:runtime" {
|
|
|
5006
5010
|
}
|
|
5007
5011
|
/**
|
|
5008
5012
|
* 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.
|
|
5013
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/UpgradeMapperSource.html Online documentation}
|
|
5010
5014
|
*/
|
|
5011
5015
|
export interface UpgradeMapperSourceWrite {
|
|
5012
5016
|
readonly type: "item" | "entity"
|
|
@@ -5096,7 +5100,7 @@ declare module "factorio:runtime" {
|
|
|
5096
5100
|
* - `"controllable-remove"`
|
|
5097
5101
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
5098
5102
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
5099
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5103
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectionModeFlags.html Online documentation}
|
|
5100
5104
|
*/
|
|
5101
5105
|
export interface SelectionModeFlags {
|
|
5102
5106
|
/**
|
|
@@ -5253,7 +5257,7 @@ declare module "factorio:runtime" {
|
|
|
5253
5257
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
5254
5258
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
5255
5259
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
5256
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5260
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CapsuleAction.html Online documentation}
|
|
5257
5261
|
*/
|
|
5258
5262
|
export type CapsuleAction =
|
|
5259
5263
|
| ThrowCapsuleAction
|
|
@@ -5266,7 +5270,7 @@ declare module "factorio:runtime" {
|
|
|
5266
5270
|
* - `"none"`
|
|
5267
5271
|
* - `"whitelist"`
|
|
5268
5272
|
* - `"blacklist"`
|
|
5269
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5273
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PrototypeFilterMode.html Online documentation}
|
|
5270
5274
|
*/
|
|
5271
5275
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
5272
5276
|
export interface SpoilToTriggerResult {
|
|
@@ -5305,7 +5309,7 @@ declare module "factorio:runtime" {
|
|
|
5305
5309
|
* - `"entity"`: Fires at an entity.
|
|
5306
5310
|
* - `"position"`: Fires directly at a position.
|
|
5307
5311
|
* - `"direction"`: Fires in a direction.
|
|
5308
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5312
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TargetType.html Online documentation}
|
|
5309
5313
|
*/
|
|
5310
5314
|
export type TargetType = "entity" | "position" | "direction"
|
|
5311
5315
|
export interface AmmoType {
|
|
@@ -5329,7 +5333,7 @@ declare module "factorio:runtime" {
|
|
|
5329
5333
|
}
|
|
5330
5334
|
/**
|
|
5331
5335
|
* @see BlueprintItemFilterWrite
|
|
5332
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5336
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintItemFilter.html Online documentation}
|
|
5333
5337
|
*/
|
|
5334
5338
|
export interface BlueprintItemFilter {
|
|
5335
5339
|
readonly index: uint32
|
|
@@ -5348,7 +5352,7 @@ declare module "factorio:runtime" {
|
|
|
5348
5352
|
}
|
|
5349
5353
|
/**
|
|
5350
5354
|
* 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.
|
|
5355
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintItemFilter.html Online documentation}
|
|
5352
5356
|
*/
|
|
5353
5357
|
export interface BlueprintItemFilterWrite {
|
|
5354
5358
|
readonly index: uint32
|
|
@@ -5367,7 +5371,7 @@ declare module "factorio:runtime" {
|
|
|
5367
5371
|
}
|
|
5368
5372
|
/**
|
|
5369
5373
|
* @see BlueprintInventoryWithFiltersWrite
|
|
5370
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5374
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5371
5375
|
*/
|
|
5372
5376
|
export interface BlueprintInventoryWithFilters {
|
|
5373
5377
|
readonly bar?: ItemStackIndex
|
|
@@ -5375,7 +5379,7 @@ declare module "factorio:runtime" {
|
|
|
5375
5379
|
}
|
|
5376
5380
|
/**
|
|
5377
5381
|
* 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.
|
|
5382
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5379
5383
|
*/
|
|
5380
5384
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
5381
5385
|
readonly bar?: ItemStackIndex
|
|
@@ -5442,7 +5446,7 @@ declare module "factorio:runtime" {
|
|
|
5442
5446
|
}
|
|
5443
5447
|
/**
|
|
5444
5448
|
* @see BlueprintEquipmentWrite
|
|
5445
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5449
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEquipment.html Online documentation}
|
|
5446
5450
|
*/
|
|
5447
5451
|
export interface BlueprintEquipment {
|
|
5448
5452
|
readonly equipment: LuaEquipmentPrototype
|
|
@@ -5466,7 +5470,7 @@ declare module "factorio:runtime" {
|
|
|
5466
5470
|
}
|
|
5467
5471
|
/**
|
|
5468
5472
|
* 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.
|
|
5473
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEquipment.html Online documentation}
|
|
5470
5474
|
*/
|
|
5471
5475
|
export interface BlueprintEquipmentWrite {
|
|
5472
5476
|
readonly equipment: EquipmentWithQualityID
|
|
@@ -5498,7 +5502,7 @@ declare module "factorio:runtime" {
|
|
|
5498
5502
|
* @example
|
|
5499
5503
|
* -- Shorthand
|
|
5500
5504
|
* {1, 2}
|
|
5501
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5505
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPosition.html Online documentation}
|
|
5502
5506
|
*/
|
|
5503
5507
|
export interface EquipmentPosition {
|
|
5504
5508
|
readonly x: int32
|
|
@@ -5507,12 +5511,12 @@ declare module "factorio:runtime" {
|
|
|
5507
5511
|
/**
|
|
5508
5512
|
* Array form of {@link EquipmentPosition}.
|
|
5509
5513
|
* @see EquipmentPosition
|
|
5510
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5514
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPosition.html Online documentation}
|
|
5511
5515
|
*/
|
|
5512
5516
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
5513
5517
|
/**
|
|
5514
5518
|
* @see MapEditorSettingWrite
|
|
5515
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5519
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapEditorSetting.html Online documentation}
|
|
5516
5520
|
*/
|
|
5517
5521
|
export interface MapEditorSetting {
|
|
5518
5522
|
readonly position?: MapPosition
|
|
@@ -5550,7 +5554,7 @@ declare module "factorio:runtime" {
|
|
|
5550
5554
|
}
|
|
5551
5555
|
/**
|
|
5552
5556
|
* 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.
|
|
5557
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapEditorSetting.html Online documentation}
|
|
5554
5558
|
*/
|
|
5555
5559
|
export interface MapEditorSettingWrite {
|
|
5556
5560
|
readonly position?: MapPosition | MapPositionArray
|
|
@@ -5588,7 +5592,7 @@ declare module "factorio:runtime" {
|
|
|
5588
5592
|
}
|
|
5589
5593
|
/**
|
|
5590
5594
|
* An actual signal transmitted by the network.
|
|
5591
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5595
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Signal.html Online documentation}
|
|
5592
5596
|
*/
|
|
5593
5597
|
export interface Signal {
|
|
5594
5598
|
/**
|
|
@@ -5602,7 +5606,7 @@ declare module "factorio:runtime" {
|
|
|
5602
5606
|
}
|
|
5603
5607
|
/**
|
|
5604
5608
|
* @see DisplayPanelMessageDefinitionWrite
|
|
5605
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5609
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5606
5610
|
*/
|
|
5607
5611
|
export interface DisplayPanelMessageDefinition {
|
|
5608
5612
|
/**
|
|
@@ -5620,7 +5624,7 @@ declare module "factorio:runtime" {
|
|
|
5620
5624
|
}
|
|
5621
5625
|
/**
|
|
5622
5626
|
* 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.
|
|
5627
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5624
5628
|
*/
|
|
5625
5629
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
5626
5630
|
/**
|
|
@@ -5648,7 +5652,7 @@ declare module "factorio:runtime" {
|
|
|
5648
5652
|
}
|
|
5649
5653
|
/**
|
|
5650
5654
|
* @see CircuitConditionWrite
|
|
5651
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5655
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitCondition.html Online documentation}
|
|
5652
5656
|
*/
|
|
5653
5657
|
export interface CircuitCondition {
|
|
5654
5658
|
/**
|
|
@@ -5670,7 +5674,7 @@ declare module "factorio:runtime" {
|
|
|
5670
5674
|
}
|
|
5671
5675
|
/**
|
|
5672
5676
|
* 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.
|
|
5677
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitCondition.html Online documentation}
|
|
5674
5678
|
*/
|
|
5675
5679
|
export interface CircuitConditionWrite {
|
|
5676
5680
|
/**
|
|
@@ -5692,7 +5696,7 @@ declare module "factorio:runtime" {
|
|
|
5692
5696
|
}
|
|
5693
5697
|
/**
|
|
5694
5698
|
* @see SignalIDWrite
|
|
5695
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5699
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalID.html Online documentation}
|
|
5696
5700
|
*/
|
|
5697
5701
|
export interface SignalID {
|
|
5698
5702
|
/**
|
|
@@ -5710,7 +5714,7 @@ declare module "factorio:runtime" {
|
|
|
5710
5714
|
}
|
|
5711
5715
|
/**
|
|
5712
5716
|
* 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.
|
|
5717
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalID.html Online documentation}
|
|
5714
5718
|
*/
|
|
5715
5719
|
export interface SignalIDWrite {
|
|
5716
5720
|
/**
|
|
@@ -5746,13 +5750,13 @@ declare module "factorio:runtime" {
|
|
|
5746
5750
|
* - `"space-location"`
|
|
5747
5751
|
* - `"asteroid-chunk"`
|
|
5748
5752
|
* - `"quality"`
|
|
5749
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5753
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalIDType.html Online documentation}
|
|
5750
5754
|
*/
|
|
5751
5755
|
export type SignalIDType =
|
|
5752
5756
|
"item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality"
|
|
5753
5757
|
/**
|
|
5754
5758
|
* @see DeciderCombinatorParametersWrite
|
|
5755
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5759
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5756
5760
|
*/
|
|
5757
5761
|
export interface DeciderCombinatorParameters {
|
|
5758
5762
|
/**
|
|
@@ -5770,7 +5774,7 @@ declare module "factorio:runtime" {
|
|
|
5770
5774
|
}
|
|
5771
5775
|
/**
|
|
5772
5776
|
* 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.
|
|
5777
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5774
5778
|
*/
|
|
5775
5779
|
export interface DeciderCombinatorParametersWrite {
|
|
5776
5780
|
/**
|
|
@@ -5788,7 +5792,7 @@ declare module "factorio:runtime" {
|
|
|
5788
5792
|
}
|
|
5789
5793
|
/**
|
|
5790
5794
|
* @see DeciderCombinatorConditionWrite
|
|
5791
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5795
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5792
5796
|
*/
|
|
5793
5797
|
export interface DeciderCombinatorCondition {
|
|
5794
5798
|
/**
|
|
@@ -5822,7 +5826,7 @@ declare module "factorio:runtime" {
|
|
|
5822
5826
|
}
|
|
5823
5827
|
/**
|
|
5824
5828
|
* 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.
|
|
5829
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5826
5830
|
*/
|
|
5827
5831
|
export interface DeciderCombinatorConditionWrite {
|
|
5828
5832
|
/**
|
|
@@ -5856,7 +5860,7 @@ declare module "factorio:runtime" {
|
|
|
5856
5860
|
}
|
|
5857
5861
|
/**
|
|
5858
5862
|
* @see DeciderCombinatorOutputWrite
|
|
5859
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5863
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5860
5864
|
*/
|
|
5861
5865
|
export interface DeciderCombinatorOutput {
|
|
5862
5866
|
/**
|
|
@@ -5878,7 +5882,7 @@ declare module "factorio:runtime" {
|
|
|
5878
5882
|
}
|
|
5879
5883
|
/**
|
|
5880
5884
|
* 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.
|
|
5885
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5882
5886
|
*/
|
|
5883
5887
|
export interface DeciderCombinatorOutputWrite {
|
|
5884
5888
|
/**
|
|
@@ -5900,7 +5904,7 @@ declare module "factorio:runtime" {
|
|
|
5900
5904
|
}
|
|
5901
5905
|
/**
|
|
5902
5906
|
* @see ArithmeticCombinatorParametersWrite
|
|
5903
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5907
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5904
5908
|
*/
|
|
5905
5909
|
export interface ArithmeticCombinatorParameters {
|
|
5906
5910
|
/**
|
|
@@ -5938,7 +5942,7 @@ declare module "factorio:runtime" {
|
|
|
5938
5942
|
}
|
|
5939
5943
|
/**
|
|
5940
5944
|
* 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.
|
|
5945
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5942
5946
|
*/
|
|
5943
5947
|
export interface ArithmeticCombinatorParametersWrite {
|
|
5944
5948
|
/**
|
|
@@ -5987,7 +5991,7 @@ declare module "factorio:runtime" {
|
|
|
5987
5991
|
* - `"AND"`
|
|
5988
5992
|
* - `"OR"`
|
|
5989
5993
|
* - `"XOR"`
|
|
5990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5994
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
|
5991
5995
|
*/
|
|
5992
5996
|
export type ArithmeticCombinatorParameterOperation =
|
|
5993
5997
|
"*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR"
|
|
@@ -6163,7 +6167,7 @@ declare module "factorio:runtime" {
|
|
|
6163
6167
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
6164
6168
|
* - `"time"`: {@link TimeSelectorCombinatorParameters}
|
|
6165
6169
|
* - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters}
|
|
6166
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6170
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6167
6171
|
*/
|
|
6168
6172
|
export type SelectorCombinatorParameters =
|
|
6169
6173
|
| SelectSelectorCombinatorParameters
|
|
@@ -6176,7 +6180,7 @@ declare module "factorio:runtime" {
|
|
|
6176
6180
|
| OtherSelectorCombinatorParameters
|
|
6177
6181
|
/**
|
|
6178
6182
|
* 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.
|
|
6183
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6180
6184
|
*/
|
|
6181
6185
|
export type SelectorCombinatorParametersWrite =
|
|
6182
6186
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -6198,7 +6202,7 @@ declare module "factorio:runtime" {
|
|
|
6198
6202
|
* - `"quality-filter"`
|
|
6199
6203
|
* - `"time"`
|
|
6200
6204
|
* - `"quality-select"`
|
|
6201
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6205
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
|
6202
6206
|
*/
|
|
6203
6207
|
export type SelectorCombinatorParameterOperation =
|
|
6204
6208
|
| "select"
|
|
@@ -6259,7 +6263,7 @@ declare module "factorio:runtime" {
|
|
|
6259
6263
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6260
6264
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6261
6265
|
* {{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.
|
|
6266
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Product.html Online documentation}
|
|
6263
6267
|
*/
|
|
6264
6268
|
export type Product = ItemProduct | FluidProduct
|
|
6265
6269
|
export interface SharedProbabilityDefinition {
|
|
@@ -6280,7 +6284,7 @@ declare module "factorio:runtime" {
|
|
|
6280
6284
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6281
6285
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6282
6286
|
* {{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.
|
|
6287
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemProduct.html Online documentation}
|
|
6284
6288
|
*/
|
|
6285
6289
|
export interface ItemProduct {
|
|
6286
6290
|
readonly type: "item"
|
|
@@ -6331,7 +6335,7 @@ declare module "factorio:runtime" {
|
|
|
6331
6335
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6332
6336
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6333
6337
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6334
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6338
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidProduct.html Online documentation}
|
|
6335
6339
|
*/
|
|
6336
6340
|
export interface FluidProduct {
|
|
6337
6341
|
readonly type: "fluid"
|
|
@@ -6372,7 +6376,7 @@ declare module "factorio:runtime" {
|
|
|
6372
6376
|
}
|
|
6373
6377
|
/**
|
|
6374
6378
|
* @see BlueprintScheduleRecordWrite
|
|
6375
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6379
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6376
6380
|
*/
|
|
6377
6381
|
export interface BlueprintScheduleRecord {
|
|
6378
6382
|
/**
|
|
@@ -6386,7 +6390,7 @@ declare module "factorio:runtime" {
|
|
|
6386
6390
|
}
|
|
6387
6391
|
/**
|
|
6388
6392
|
* 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.
|
|
6393
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6390
6394
|
*/
|
|
6391
6395
|
export interface BlueprintScheduleRecordWrite {
|
|
6392
6396
|
/**
|
|
@@ -6400,7 +6404,7 @@ declare module "factorio:runtime" {
|
|
|
6400
6404
|
}
|
|
6401
6405
|
/**
|
|
6402
6406
|
* @see ScheduleRecordWrite
|
|
6403
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6407
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleRecord.html Online documentation}
|
|
6404
6408
|
*/
|
|
6405
6409
|
export interface ScheduleRecord {
|
|
6406
6410
|
/**
|
|
@@ -6419,7 +6423,7 @@ declare module "factorio:runtime" {
|
|
|
6419
6423
|
}
|
|
6420
6424
|
/**
|
|
6421
6425
|
* 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.
|
|
6426
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleRecord.html Online documentation}
|
|
6423
6427
|
*/
|
|
6424
6428
|
export interface ScheduleRecordWrite {
|
|
6425
6429
|
/**
|
|
@@ -6438,7 +6442,7 @@ declare module "factorio:runtime" {
|
|
|
6438
6442
|
}
|
|
6439
6443
|
/**
|
|
6440
6444
|
* @see BlueprintScheduleInterruptWrite
|
|
6441
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6445
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6442
6446
|
*/
|
|
6443
6447
|
export interface BlueprintScheduleInterrupt {
|
|
6444
6448
|
/**
|
|
@@ -6454,7 +6458,7 @@ declare module "factorio:runtime" {
|
|
|
6454
6458
|
}
|
|
6455
6459
|
/**
|
|
6456
6460
|
* 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.
|
|
6461
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6458
6462
|
*/
|
|
6459
6463
|
export interface BlueprintScheduleInterruptWrite {
|
|
6460
6464
|
/**
|
|
@@ -6470,7 +6474,7 @@ declare module "factorio:runtime" {
|
|
|
6470
6474
|
}
|
|
6471
6475
|
/**
|
|
6472
6476
|
* @see ScheduleInterruptWrite
|
|
6473
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6477
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleInterrupt.html Online documentation}
|
|
6474
6478
|
*/
|
|
6475
6479
|
export interface ScheduleInterrupt {
|
|
6476
6480
|
/**
|
|
@@ -6486,7 +6490,7 @@ declare module "factorio:runtime" {
|
|
|
6486
6490
|
}
|
|
6487
6491
|
/**
|
|
6488
6492
|
* 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.
|
|
6493
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleInterrupt.html Online documentation}
|
|
6490
6494
|
*/
|
|
6491
6495
|
export interface ScheduleInterruptWrite {
|
|
6492
6496
|
/**
|
|
@@ -6502,7 +6506,7 @@ declare module "factorio:runtime" {
|
|
|
6502
6506
|
}
|
|
6503
6507
|
/**
|
|
6504
6508
|
* @see WaitConditionWrite
|
|
6505
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6509
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/WaitCondition.html Online documentation}
|
|
6506
6510
|
*/
|
|
6507
6511
|
export interface WaitCondition {
|
|
6508
6512
|
readonly type: WaitConditionType
|
|
@@ -6533,7 +6537,7 @@ declare module "factorio:runtime" {
|
|
|
6533
6537
|
}
|
|
6534
6538
|
/**
|
|
6535
6539
|
* 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.
|
|
6540
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/WaitCondition.html Online documentation}
|
|
6537
6541
|
*/
|
|
6538
6542
|
export interface WaitConditionWrite {
|
|
6539
6543
|
readonly type: WaitConditionType
|
|
@@ -6592,7 +6596,7 @@ declare module "factorio:runtime" {
|
|
|
6592
6596
|
* - `"at_station"`
|
|
6593
6597
|
* - `"not_at_station"`
|
|
6594
6598
|
* - `"damage_taken"`
|
|
6595
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6599
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/WaitConditionType.html Online documentation}
|
|
6596
6600
|
*/
|
|
6597
6601
|
export type WaitConditionType =
|
|
6598
6602
|
| "time"
|
|
@@ -6623,7 +6627,7 @@ declare module "factorio:runtime" {
|
|
|
6623
6627
|
| "damage_taken"
|
|
6624
6628
|
/**
|
|
6625
6629
|
* @see BlueprintScheduleWrite
|
|
6626
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6630
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSchedule.html Online documentation}
|
|
6627
6631
|
*/
|
|
6628
6632
|
export interface BlueprintSchedule {
|
|
6629
6633
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6632,7 +6636,7 @@ declare module "factorio:runtime" {
|
|
|
6632
6636
|
}
|
|
6633
6637
|
/**
|
|
6634
6638
|
* 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.
|
|
6639
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSchedule.html Online documentation}
|
|
6636
6640
|
*/
|
|
6637
6641
|
export interface BlueprintScheduleWrite {
|
|
6638
6642
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6704,7 +6708,7 @@ declare module "factorio:runtime" {
|
|
|
6704
6708
|
* - `"vehicle-logistics"`
|
|
6705
6709
|
* - `"unlock-logistic-network"`
|
|
6706
6710
|
* - `"unlock-travel-to-space-platforms"`
|
|
6707
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6711
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ModifierType.html Online documentation}
|
|
6708
6712
|
*/
|
|
6709
6713
|
export type ModifierType =
|
|
6710
6714
|
| "inserter-stack-size-bonus"
|
|
@@ -7359,7 +7363,7 @@ declare module "factorio:runtime" {
|
|
|
7359
7363
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7360
7364
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7361
7365
|
* - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier}
|
|
7362
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7366
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyModifier.html Online documentation}
|
|
7363
7367
|
*/
|
|
7364
7368
|
export type TechnologyModifier =
|
|
7365
7369
|
| AmmoDamageTechnologyModifier
|
|
@@ -7467,7 +7471,7 @@ declare module "factorio:runtime" {
|
|
|
7467
7471
|
* Other attributes may be specified depending on `type`:
|
|
7468
7472
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7469
7473
|
* - `"item"`: {@link ItemIngredient}
|
|
7470
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7474
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Ingredient.html Online documentation}
|
|
7471
7475
|
*/
|
|
7472
7476
|
export type Ingredient = FluidIngredient | ItemIngredient
|
|
7473
7477
|
/**
|
|
@@ -7488,7 +7492,7 @@ declare module "factorio:runtime" {
|
|
|
7488
7492
|
* * other_base_coefficient
|
|
7489
7493
|
* score(chunk) = 1 / (1 + player + base)
|
|
7490
7494
|
* ```
|
|
7491
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7495
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EnemyExpansionMapSettings.html Online documentation}
|
|
7492
7496
|
*/
|
|
7493
7497
|
export interface EnemyExpansionMapSettings {
|
|
7494
7498
|
/**
|
|
@@ -7753,23 +7757,23 @@ declare module "factorio:runtime" {
|
|
|
7753
7757
|
}
|
|
7754
7758
|
/**
|
|
7755
7759
|
* 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.
|
|
7760
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DifficultySettings.html Online documentation}
|
|
7757
7761
|
*/
|
|
7758
7762
|
export interface DifficultySettings {
|
|
7759
7763
|
/**
|
|
7760
7764
|
* A value in range [0.001, 100000].
|
|
7761
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7765
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
|
7762
7766
|
*/
|
|
7763
7767
|
technology_price_multiplier: double
|
|
7764
7768
|
/**
|
|
7765
7769
|
* A value in range [0.01, 100].
|
|
7766
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7770
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
|
7767
7771
|
*/
|
|
7768
7772
|
spoil_time_modifier: double
|
|
7769
7773
|
}
|
|
7770
7774
|
/**
|
|
7771
7775
|
* 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.
|
|
7776
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapAndDifficultySettings.html Online documentation}
|
|
7773
7777
|
*/
|
|
7774
7778
|
export interface MapAndDifficultySettings {
|
|
7775
7779
|
readonly pollution: PollutionMapSettings
|
|
@@ -7789,7 +7793,7 @@ declare module "factorio:runtime" {
|
|
|
7789
7793
|
* @example
|
|
7790
7794
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7791
7795
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7792
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7796
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapSettings.html Online documentation}
|
|
7793
7797
|
*/
|
|
7794
7798
|
export interface MapSettings {
|
|
7795
7799
|
pollution: PollutionMapSettings
|
|
@@ -7800,7 +7804,7 @@ declare module "factorio:runtime" {
|
|
|
7800
7804
|
asteroids: AsteroidMapSettings
|
|
7801
7805
|
/**
|
|
7802
7806
|
* 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.
|
|
7807
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
|
7804
7808
|
*/
|
|
7805
7809
|
max_failed_behavior_count: uint32
|
|
7806
7810
|
}
|
|
@@ -7829,7 +7833,7 @@ declare module "factorio:runtime" {
|
|
|
7829
7833
|
* - `"very-high"`: equivalent to `2`.
|
|
7830
7834
|
* - `"very-big"`: equivalent to `2`.
|
|
7831
7835
|
* - `"very-good"`: equivalent to `2`.
|
|
7832
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7836
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapGenSize.html Online documentation}
|
|
7833
7837
|
*/
|
|
7834
7838
|
export type MapGenSize =
|
|
7835
7839
|
| float
|
|
@@ -7851,7 +7855,7 @@ declare module "factorio:runtime" {
|
|
|
7851
7855
|
| "very-good"
|
|
7852
7856
|
/**
|
|
7853
7857
|
* These values are for the time frame of one second (60 ticks).
|
|
7854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7858
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PollutionMapSettings.html Online documentation}
|
|
7855
7859
|
*/
|
|
7856
7860
|
export interface PollutionMapSettings {
|
|
7857
7861
|
/**
|
|
@@ -7901,7 +7905,7 @@ declare module "factorio:runtime" {
|
|
|
7901
7905
|
}
|
|
7902
7906
|
/**
|
|
7903
7907
|
* 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.
|
|
7908
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
|
7905
7909
|
*/
|
|
7906
7910
|
export interface EnemyEvolutionMapSettings {
|
|
7907
7911
|
/**
|
|
@@ -7923,7 +7927,7 @@ declare module "factorio:runtime" {
|
|
|
7923
7927
|
}
|
|
7924
7928
|
/**
|
|
7925
7929
|
* @see AutoplaceControlWrite
|
|
7926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7930
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceControl.html Online documentation}
|
|
7927
7931
|
*/
|
|
7928
7932
|
export interface AutoplaceControl {
|
|
7929
7933
|
/**
|
|
@@ -7941,7 +7945,7 @@ declare module "factorio:runtime" {
|
|
|
7941
7945
|
}
|
|
7942
7946
|
/**
|
|
7943
7947
|
* 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.
|
|
7948
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceControl.html Online documentation}
|
|
7945
7949
|
*/
|
|
7946
7950
|
export interface AutoplaceControlWrite {
|
|
7947
7951
|
/**
|
|
@@ -7959,7 +7963,7 @@ declare module "factorio:runtime" {
|
|
|
7959
7963
|
}
|
|
7960
7964
|
/**
|
|
7961
7965
|
* @see CliffPlacementSettingsWrite
|
|
7962
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7966
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CliffPlacementSettings.html Online documentation}
|
|
7963
7967
|
*/
|
|
7964
7968
|
export interface CliffPlacementSettings {
|
|
7965
7969
|
/**
|
|
@@ -7989,7 +7993,7 @@ declare module "factorio:runtime" {
|
|
|
7989
7993
|
}
|
|
7990
7994
|
/**
|
|
7991
7995
|
* 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.
|
|
7996
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CliffPlacementSettings.html Online documentation}
|
|
7993
7997
|
*/
|
|
7994
7998
|
export interface CliffPlacementSettingsWrite {
|
|
7995
7999
|
/**
|
|
@@ -8019,7 +8023,7 @@ declare module "factorio:runtime" {
|
|
|
8019
8023
|
}
|
|
8020
8024
|
/**
|
|
8021
8025
|
* @see AutoplaceSettingsWrite
|
|
8022
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8026
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceSettings.html Online documentation}
|
|
8023
8027
|
*/
|
|
8024
8028
|
export interface AutoplaceSettings {
|
|
8025
8029
|
/**
|
|
@@ -8033,7 +8037,7 @@ declare module "factorio:runtime" {
|
|
|
8033
8037
|
}
|
|
8034
8038
|
/**
|
|
8035
8039
|
* 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.
|
|
8040
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceSettings.html Online documentation}
|
|
8037
8041
|
*/
|
|
8038
8042
|
export interface AutoplaceSettingsWrite {
|
|
8039
8043
|
/**
|
|
@@ -8069,7 +8073,7 @@ declare module "factorio:runtime" {
|
|
|
8069
8073
|
* surface.map_gen_settings = mgs
|
|
8070
8074
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
8071
8075
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
8072
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8076
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapGenSettings.html Online documentation}
|
|
8073
8077
|
*/
|
|
8074
8078
|
export interface MapGenSettings {
|
|
8075
8079
|
/**
|
|
@@ -8124,7 +8128,7 @@ declare module "factorio:runtime" {
|
|
|
8124
8128
|
}
|
|
8125
8129
|
/**
|
|
8126
8130
|
* 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.
|
|
8131
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapGenSettings.html Online documentation}
|
|
8128
8132
|
*/
|
|
8129
8133
|
export interface MapGenSettingsWrite {
|
|
8130
8134
|
/**
|
|
@@ -8208,12 +8212,12 @@ declare module "factorio:runtime" {
|
|
|
8208
8212
|
}
|
|
8209
8213
|
/**
|
|
8210
8214
|
* 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.
|
|
8215
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/NoiseExpressionSourceString.html Online documentation}
|
|
8212
8216
|
*/
|
|
8213
8217
|
export type NoiseExpressionSourceString = string
|
|
8214
8218
|
/**
|
|
8215
8219
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
8216
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8220
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceSpecification.html Online documentation}
|
|
8217
8221
|
*/
|
|
8218
8222
|
export interface AutoplaceSpecification {
|
|
8219
8223
|
readonly placement_density: uint32
|
|
@@ -8296,13 +8300,13 @@ declare module "factorio:runtime" {
|
|
|
8296
8300
|
*/
|
|
8297
8301
|
readonly migration_applied: boolean
|
|
8298
8302
|
/**
|
|
8299
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.
|
|
8303
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.24/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
8304
|
*/
|
|
8301
8305
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8302
8306
|
}
|
|
8303
8307
|
/**
|
|
8304
8308
|
* @see AsteroidChunkWrite
|
|
8305
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8309
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidChunk.html Online documentation}
|
|
8306
8310
|
*/
|
|
8307
8311
|
export interface AsteroidChunk {
|
|
8308
8312
|
/**
|
|
@@ -8314,7 +8318,7 @@ declare module "factorio:runtime" {
|
|
|
8314
8318
|
}
|
|
8315
8319
|
/**
|
|
8316
8320
|
* 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.
|
|
8321
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidChunk.html Online documentation}
|
|
8318
8322
|
*/
|
|
8319
8323
|
export interface AsteroidChunkWrite {
|
|
8320
8324
|
/**
|
|
@@ -8326,7 +8330,7 @@ declare module "factorio:runtime" {
|
|
|
8326
8330
|
}
|
|
8327
8331
|
/**
|
|
8328
8332
|
* An item thrown overboard on a space platform.
|
|
8329
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8333
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EjectedItem.html Online documentation}
|
|
8330
8334
|
*/
|
|
8331
8335
|
export interface EjectedItem {
|
|
8332
8336
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8338,7 +8342,7 @@ declare module "factorio:runtime" {
|
|
|
8338
8342
|
}
|
|
8339
8343
|
/**
|
|
8340
8344
|
* 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.
|
|
8345
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapExchangeStringData.html Online documentation}
|
|
8342
8346
|
*/
|
|
8343
8347
|
export interface MapExchangeStringData {
|
|
8344
8348
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8364,7 +8368,7 @@ declare module "factorio:runtime" {
|
|
|
8364
8368
|
}
|
|
8365
8369
|
/**
|
|
8366
8370
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8367
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8371
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ChunkPositionAndArea.html Online documentation}
|
|
8368
8372
|
*/
|
|
8369
8373
|
export interface ChunkPositionAndArea {
|
|
8370
8374
|
readonly x: int32
|
|
@@ -8413,7 +8417,7 @@ declare module "factorio:runtime" {
|
|
|
8413
8417
|
* - `"check-box"`
|
|
8414
8418
|
* - `"switch"`
|
|
8415
8419
|
* - `"label"`
|
|
8416
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8420
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SimulationWidgetType.html Online documentation}
|
|
8417
8421
|
*/
|
|
8418
8422
|
export type SimulationWidgetType =
|
|
8419
8423
|
| "signal-id"
|
|
@@ -8602,7 +8606,7 @@ declare module "factorio:runtime" {
|
|
|
8602
8606
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8603
8607
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8604
8608
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8605
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8609
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8606
8610
|
*/
|
|
8607
8611
|
export type SegmentedUnitAIState =
|
|
8608
8612
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8612,7 +8616,7 @@ declare module "factorio:runtime" {
|
|
|
8612
8616
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8613
8617
|
/**
|
|
8614
8618
|
* 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.
|
|
8619
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8616
8620
|
*/
|
|
8617
8621
|
export type SegmentedUnitAIStateWrite =
|
|
8618
8622
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8760,7 +8764,7 @@ declare module "factorio:runtime" {
|
|
|
8760
8764
|
/**
|
|
8761
8765
|
* 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
8766
|
* @see ColorModifierArray
|
|
8763
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8767
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ColorModifier.html Online documentation}
|
|
8764
8768
|
*/
|
|
8765
8769
|
export interface ColorModifier {
|
|
8766
8770
|
readonly r?: float
|
|
@@ -8771,7 +8775,7 @@ declare module "factorio:runtime" {
|
|
|
8771
8775
|
/**
|
|
8772
8776
|
* Array form of {@link ColorModifier}.
|
|
8773
8777
|
* @see ColorModifier
|
|
8774
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8778
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ColorModifier.html Online documentation}
|
|
8775
8779
|
*/
|
|
8776
8780
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8777
8781
|
export interface Decorative {
|
|
@@ -8790,7 +8794,7 @@ declare module "factorio:runtime" {
|
|
|
8790
8794
|
/**
|
|
8791
8795
|
* An area defined using the map editor.
|
|
8792
8796
|
* @see ScriptAreaWrite
|
|
8793
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8797
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptArea.html Online documentation}
|
|
8794
8798
|
*/
|
|
8795
8799
|
export interface ScriptArea {
|
|
8796
8800
|
readonly area: BoundingBox
|
|
@@ -8800,7 +8804,7 @@ declare module "factorio:runtime" {
|
|
|
8800
8804
|
}
|
|
8801
8805
|
/**
|
|
8802
8806
|
* 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.
|
|
8807
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptArea.html Online documentation}
|
|
8804
8808
|
*/
|
|
8805
8809
|
export interface ScriptAreaWrite {
|
|
8806
8810
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8811,7 +8815,7 @@ declare module "factorio:runtime" {
|
|
|
8811
8815
|
/**
|
|
8812
8816
|
* A position defined using the map editor.
|
|
8813
8817
|
* @see ScriptPositionWrite
|
|
8814
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8818
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptPosition.html Online documentation}
|
|
8815
8819
|
*/
|
|
8816
8820
|
export interface ScriptPosition {
|
|
8817
8821
|
readonly position: MapPosition
|
|
@@ -8821,7 +8825,7 @@ declare module "factorio:runtime" {
|
|
|
8821
8825
|
}
|
|
8822
8826
|
/**
|
|
8823
8827
|
* 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.
|
|
8828
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptPosition.html Online documentation}
|
|
8825
8829
|
*/
|
|
8826
8830
|
export interface ScriptPositionWrite {
|
|
8827
8831
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8837,7 +8841,7 @@ declare module "factorio:runtime" {
|
|
|
8837
8841
|
}
|
|
8838
8842
|
/**
|
|
8839
8843
|
* A table used to define a manual shape for a piece of equipment.
|
|
8840
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8844
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPoint.html Online documentation}
|
|
8841
8845
|
*/
|
|
8842
8846
|
export interface EquipmentPoint {
|
|
8843
8847
|
readonly x: uint32
|
|
@@ -8846,7 +8850,7 @@ declare module "factorio:runtime" {
|
|
|
8846
8850
|
/**
|
|
8847
8851
|
* 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
8852
|
* @see GuiLocationArray
|
|
8849
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8853
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiLocation.html Online documentation}
|
|
8850
8854
|
*/
|
|
8851
8855
|
export interface GuiLocation {
|
|
8852
8856
|
readonly x: int32
|
|
@@ -8855,7 +8859,7 @@ declare module "factorio:runtime" {
|
|
|
8855
8859
|
/**
|
|
8856
8860
|
* Array form of {@link GuiLocation}.
|
|
8857
8861
|
* @see GuiLocation
|
|
8858
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8862
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiLocation.html Online documentation}
|
|
8859
8863
|
*/
|
|
8860
8864
|
export type GuiLocationArray = readonly [int32, int32]
|
|
8861
8865
|
export interface TabAndContent {
|
|
@@ -8884,7 +8888,7 @@ declare module "factorio:runtime" {
|
|
|
8884
8888
|
}
|
|
8885
8889
|
/**
|
|
8886
8890
|
* Either `icon`, `text`, or both must be provided.
|
|
8887
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8891
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ChartTagSpec.html Online documentation}
|
|
8888
8892
|
*/
|
|
8889
8893
|
export interface ChartTagSpec {
|
|
8890
8894
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -9027,7 +9031,7 @@ declare module "factorio:runtime" {
|
|
|
9027
9031
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
9028
9032
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
9029
9033
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
9030
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9034
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainPathRequestType.html Online documentation}
|
|
9031
9035
|
*/
|
|
9032
9036
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
9033
9037
|
/**
|
|
@@ -9036,7 +9040,7 @@ declare module "factorio:runtime" {
|
|
|
9036
9040
|
* - {@link RailEndGoal}
|
|
9037
9041
|
* - {@link LuaRailEnd}
|
|
9038
9042
|
* - {@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.
|
|
9043
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainPathFinderGoal.html Online documentation}
|
|
9040
9044
|
*/
|
|
9041
9045
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
9042
9046
|
export interface TrainStopGoal {
|
|
@@ -9169,7 +9173,7 @@ declare module "factorio:runtime" {
|
|
|
9169
9173
|
}
|
|
9170
9174
|
/**
|
|
9171
9175
|
* @see QuickBarSlotWrite
|
|
9172
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9176
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/QuickBarSlot.html Online documentation}
|
|
9173
9177
|
*/
|
|
9174
9178
|
export interface QuickBarSlot {
|
|
9175
9179
|
/**
|
|
@@ -9195,7 +9199,7 @@ declare module "factorio:runtime" {
|
|
|
9195
9199
|
}
|
|
9196
9200
|
/**
|
|
9197
9201
|
* 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.
|
|
9202
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/QuickBarSlot.html Online documentation}
|
|
9199
9203
|
*/
|
|
9200
9204
|
export interface QuickBarSlotWrite {
|
|
9201
9205
|
/**
|
|
@@ -9248,7 +9252,7 @@ declare module "factorio:runtime" {
|
|
|
9248
9252
|
}
|
|
9249
9253
|
/**
|
|
9250
9254
|
* Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}.
|
|
9251
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9255
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidStorageIndex.html Online documentation}
|
|
9252
9256
|
*/
|
|
9253
9257
|
export type FluidStorageIndex = uint32
|
|
9254
9258
|
export interface FluidBoxNeighbourRecord {
|
|
@@ -9257,7 +9261,7 @@ declare module "factorio:runtime" {
|
|
|
9257
9261
|
}
|
|
9258
9262
|
/**
|
|
9259
9263
|
* A single pipe connection for a given fluidbox.
|
|
9260
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9264
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PipeConnection.html Online documentation}
|
|
9261
9265
|
*/
|
|
9262
9266
|
export interface PipeConnection {
|
|
9263
9267
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -9306,7 +9310,7 @@ declare module "factorio:runtime" {
|
|
|
9306
9310
|
}
|
|
9307
9311
|
/**
|
|
9308
9312
|
* @see LabStoredDurabilityWrite
|
|
9309
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9313
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabStoredDurability.html Online documentation}
|
|
9310
9314
|
*/
|
|
9311
9315
|
export interface LabStoredDurability {
|
|
9312
9316
|
/**
|
|
@@ -9320,7 +9324,7 @@ declare module "factorio:runtime" {
|
|
|
9320
9324
|
}
|
|
9321
9325
|
/**
|
|
9322
9326
|
* 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.
|
|
9327
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabStoredDurability.html Online documentation}
|
|
9324
9328
|
*/
|
|
9325
9329
|
export interface LabStoredDurabilityWrite {
|
|
9326
9330
|
/**
|
|
@@ -9382,7 +9386,7 @@ declare module "factorio:runtime" {
|
|
|
9382
9386
|
* - `"surface"`
|
|
9383
9387
|
* - `"mod-data"`
|
|
9384
9388
|
* - `"custom-event"`
|
|
9385
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9389
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/IDType.html Online documentation}
|
|
9386
9390
|
*/
|
|
9387
9391
|
export type IDType =
|
|
9388
9392
|
| "custom-input"
|
|
@@ -9435,7 +9439,7 @@ declare module "factorio:runtime" {
|
|
|
9435
9439
|
}
|
|
9436
9440
|
/**
|
|
9437
9441
|
* An item prototype with optional quality specification.
|
|
9438
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9442
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation}
|
|
9439
9443
|
*/
|
|
9440
9444
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9441
9445
|
/**
|
|
@@ -9463,7 +9467,7 @@ declare module "factorio:runtime" {
|
|
|
9463
9467
|
}
|
|
9464
9468
|
/**
|
|
9465
9469
|
* @see EntityIDFilterWrite
|
|
9466
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9470
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityIDFilter.html Online documentation}
|
|
9467
9471
|
*/
|
|
9468
9472
|
export interface EntityIDFilter {
|
|
9469
9473
|
/**
|
|
@@ -9481,7 +9485,7 @@ declare module "factorio:runtime" {
|
|
|
9481
9485
|
}
|
|
9482
9486
|
/**
|
|
9483
9487
|
* 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.
|
|
9488
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityIDFilter.html Online documentation}
|
|
9485
9489
|
*/
|
|
9486
9490
|
export interface EntityIDFilterWrite {
|
|
9487
9491
|
/**
|
|
@@ -9501,7 +9505,7 @@ declare module "factorio:runtime" {
|
|
|
9501
9505
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9502
9506
|
*
|
|
9503
9507
|
* By default, none of these flags are set.
|
|
9504
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9508
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFlags.html Online documentation}
|
|
9505
9509
|
*/
|
|
9506
9510
|
export type EntityPrototypeFlags = {
|
|
9507
9511
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9539,7 +9543,7 @@ declare module "factorio:runtime" {
|
|
|
9539
9543
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia.
|
|
9540
9544
|
* - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI.
|
|
9541
9545
|
* - `"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.
|
|
9546
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFlag.html Online documentation}
|
|
9543
9547
|
*/
|
|
9544
9548
|
export type EntityPrototypeFlag =
|
|
9545
9549
|
| "not-rotatable"
|
|
@@ -9573,7 +9577,7 @@ declare module "factorio:runtime" {
|
|
|
9573
9577
|
| "not-in-mined-by"
|
|
9574
9578
|
/**
|
|
9575
9579
|
* A single filter used by an infinity-pipe type entity.
|
|
9576
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9580
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/InfinityPipeFilter.html Online documentation}
|
|
9577
9581
|
*/
|
|
9578
9582
|
export interface InfinityPipeFilter {
|
|
9579
9583
|
/**
|
|
@@ -9603,7 +9607,7 @@ declare module "factorio:runtime" {
|
|
|
9603
9607
|
}
|
|
9604
9608
|
/**
|
|
9605
9609
|
* @see ProgrammableSpeakerParametersWrite
|
|
9606
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9610
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9607
9611
|
*/
|
|
9608
9612
|
export interface ProgrammableSpeakerParameters {
|
|
9609
9613
|
readonly playback_volume: float
|
|
@@ -9614,7 +9618,7 @@ declare module "factorio:runtime" {
|
|
|
9614
9618
|
}
|
|
9615
9619
|
/**
|
|
9616
9620
|
* 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.
|
|
9621
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9618
9622
|
*/
|
|
9619
9623
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9620
9624
|
readonly playback_volume: float
|
|
@@ -9630,12 +9634,12 @@ declare module "factorio:runtime" {
|
|
|
9630
9634
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9631
9635
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9632
9636
|
* - `"global"`: The sound can be heard everywhere.
|
|
9633
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9637
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
|
9634
9638
|
*/
|
|
9635
9639
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9636
9640
|
/**
|
|
9637
9641
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9638
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9642
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9639
9643
|
*/
|
|
9640
9644
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9641
9645
|
readonly show_alert: boolean
|
|
@@ -9645,7 +9649,7 @@ declare module "factorio:runtime" {
|
|
|
9645
9649
|
}
|
|
9646
9650
|
/**
|
|
9647
9651
|
* 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.
|
|
9652
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9649
9653
|
*/
|
|
9650
9654
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9651
9655
|
readonly show_alert: boolean
|
|
@@ -9673,12 +9677,12 @@ declare module "factorio:runtime" {
|
|
|
9673
9677
|
* - `"exactly"`
|
|
9674
9678
|
* - `"add"`
|
|
9675
9679
|
* - `"remove"`
|
|
9676
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9680
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatSettingMode.html Online documentation}
|
|
9677
9681
|
*/
|
|
9678
9682
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9679
9683
|
/**
|
|
9680
9684
|
* The settings used by a heat-interface type entity.
|
|
9681
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9685
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatSetting.html Online documentation}
|
|
9682
9686
|
*/
|
|
9683
9687
|
export interface HeatSetting {
|
|
9684
9688
|
/**
|
|
@@ -9712,7 +9716,7 @@ declare module "factorio:runtime" {
|
|
|
9712
9716
|
* - `"none-to-south"`
|
|
9713
9717
|
* - `"south-to-none"`
|
|
9714
9718
|
* - `"none-to-north"`
|
|
9715
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9719
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CliffOrientation.html Online documentation}
|
|
9716
9720
|
*/
|
|
9717
9721
|
export type CliffOrientation =
|
|
9718
9722
|
| "west-to-east"
|
|
@@ -9742,14 +9746,14 @@ declare module "factorio:runtime" {
|
|
|
9742
9746
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9743
9747
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9744
9748
|
* - `"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.
|
|
9749
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ValveMode.html Online documentation}
|
|
9746
9750
|
*/
|
|
9747
9751
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9748
9752
|
/**
|
|
9749
9753
|
* ## Union members
|
|
9750
9754
|
* - `"fresh-first"`
|
|
9751
9755
|
* - `"spoiled-first"`
|
|
9752
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9756
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSpoilPriority.html Online documentation}
|
|
9753
9757
|
*/
|
|
9754
9758
|
export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first"
|
|
9755
9759
|
/**
|
|
@@ -9757,7 +9761,7 @@ declare module "factorio:runtime" {
|
|
|
9757
9761
|
* - `"fresh-first"`
|
|
9758
9762
|
* - `"none"`
|
|
9759
9763
|
* - `"spoiled-first"`
|
|
9760
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9764
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpoilPriority.html Online documentation}
|
|
9761
9765
|
*/
|
|
9762
9766
|
export type SpoilPriority = "fresh-first" | "none" | "spoiled-first"
|
|
9763
9767
|
export interface SpiderLegSpecification {
|
|
@@ -9777,7 +9781,7 @@ declare module "factorio:runtime" {
|
|
|
9777
9781
|
}
|
|
9778
9782
|
/**
|
|
9779
9783
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
9780
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9784
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9781
9785
|
*/
|
|
9782
9786
|
export interface BlueprintInfinityInventorySettings {
|
|
9783
9787
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -9788,7 +9792,7 @@ declare module "factorio:runtime" {
|
|
|
9788
9792
|
}
|
|
9789
9793
|
/**
|
|
9790
9794
|
* 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.
|
|
9795
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9792
9796
|
*/
|
|
9793
9797
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
9794
9798
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -9832,7 +9836,7 @@ declare module "factorio:runtime" {
|
|
|
9832
9836
|
}
|
|
9833
9837
|
/**
|
|
9834
9838
|
* Defines an item type that a blueprint entity will request.
|
|
9835
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9839
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInsertPlan.html Online documentation}
|
|
9836
9840
|
*/
|
|
9837
9841
|
export interface BlueprintInsertPlan {
|
|
9838
9842
|
/**
|
|
@@ -9870,7 +9874,7 @@ declare module "factorio:runtime" {
|
|
|
9870
9874
|
}
|
|
9871
9875
|
/**
|
|
9872
9876
|
* A single offer on a market entity.
|
|
9873
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9877
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Offer.html Online documentation}
|
|
9874
9878
|
*/
|
|
9875
9879
|
export interface Offer {
|
|
9876
9880
|
/**
|
|
@@ -9916,7 +9920,7 @@ declare module "factorio:runtime" {
|
|
|
9916
9920
|
/**
|
|
9917
9921
|
* A single filter used by an infinity-filters instance.
|
|
9918
9922
|
* @see InfinityInventoryFilterWrite
|
|
9919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9923
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9920
9924
|
*/
|
|
9921
9925
|
export interface InfinityInventoryFilter {
|
|
9922
9926
|
/**
|
|
@@ -9942,7 +9946,7 @@ declare module "factorio:runtime" {
|
|
|
9942
9946
|
}
|
|
9943
9947
|
/**
|
|
9944
9948
|
* 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.
|
|
9949
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9946
9950
|
*/
|
|
9947
9951
|
export interface InfinityInventoryFilterWrite {
|
|
9948
9952
|
/**
|
|
@@ -9985,7 +9989,7 @@ declare module "factorio:runtime" {
|
|
|
9985
9989
|
}
|
|
9986
9990
|
/**
|
|
9987
9991
|
* Used to specify what type of damage and how much damage something deals.
|
|
9988
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9992
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DamageParameters.html Online documentation}
|
|
9989
9993
|
*/
|
|
9990
9994
|
export interface DamageParameters {
|
|
9991
9995
|
readonly amount: float
|
|
@@ -10015,14 +10019,14 @@ declare module "factorio:runtime" {
|
|
|
10015
10019
|
*
|
|
10016
10020
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
10017
10021
|
*
|
|
10018
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10022
|
+
* {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
|
10019
10023
|
*
|
|
10020
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10024
|
+
* {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
|
10021
10025
|
*
|
|
10022
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10026
|
+
* {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
|
10023
10027
|
*
|
|
10024
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10025
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10028
|
+
* {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
|
10029
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html Online documentation}
|
|
10026
10030
|
*/
|
|
10027
10031
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
10028
10032
|
/**
|
|
@@ -10040,7 +10044,7 @@ declare module "factorio:runtime" {
|
|
|
10040
10044
|
* - `"weapon"`
|
|
10041
10045
|
* - `"explosion"`
|
|
10042
10046
|
* - `"enemy"`
|
|
10043
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10047
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SoundType.html Online documentation}
|
|
10044
10048
|
*/
|
|
10045
10049
|
export type SoundType =
|
|
10046
10050
|
| "game-effect"
|
|
@@ -10090,12 +10094,12 @@ declare module "factorio:runtime" {
|
|
|
10090
10094
|
* - `"requester"`
|
|
10091
10095
|
* - `"storage"`
|
|
10092
10096
|
* - `"buffer"`
|
|
10093
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10097
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticMode.html Online documentation}
|
|
10094
10098
|
*/
|
|
10095
10099
|
export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer"
|
|
10096
10100
|
/**
|
|
10097
10101
|
* @see BlueprintLogisticFilterWrite
|
|
10098
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10102
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10099
10103
|
*/
|
|
10100
10104
|
export interface BlueprintLogisticFilter {
|
|
10101
10105
|
readonly index: LogisticFilterIndex
|
|
@@ -10129,7 +10133,7 @@ declare module "factorio:runtime" {
|
|
|
10129
10133
|
}
|
|
10130
10134
|
/**
|
|
10131
10135
|
* 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.
|
|
10136
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10133
10137
|
*/
|
|
10134
10138
|
export interface BlueprintLogisticFilterWrite {
|
|
10135
10139
|
readonly index: LogisticFilterIndex
|
|
@@ -10163,7 +10167,7 @@ declare module "factorio:runtime" {
|
|
|
10163
10167
|
}
|
|
10164
10168
|
/**
|
|
10165
10169
|
* @see BlueprintLogisticSectionsWrite
|
|
10166
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10170
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10167
10171
|
*/
|
|
10168
10172
|
export interface BlueprintLogisticSections {
|
|
10169
10173
|
readonly sections?: LogisticSection[]
|
|
@@ -10178,7 +10182,7 @@ declare module "factorio:runtime" {
|
|
|
10178
10182
|
}
|
|
10179
10183
|
/**
|
|
10180
10184
|
* 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.
|
|
10185
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10182
10186
|
*/
|
|
10183
10187
|
export interface BlueprintLogisticSectionsWrite {
|
|
10184
10188
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10193,7 +10197,7 @@ declare module "factorio:runtime" {
|
|
|
10193
10197
|
}
|
|
10194
10198
|
/**
|
|
10195
10199
|
* @see LogisticSectionWrite
|
|
10196
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10200
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSection.html Online documentation}
|
|
10197
10201
|
*/
|
|
10198
10202
|
export interface LogisticSection {
|
|
10199
10203
|
readonly index: uint8
|
|
@@ -10210,7 +10214,7 @@ declare module "factorio:runtime" {
|
|
|
10210
10214
|
}
|
|
10211
10215
|
/**
|
|
10212
10216
|
* 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.
|
|
10217
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSection.html Online documentation}
|
|
10214
10218
|
*/
|
|
10215
10219
|
export interface LogisticSectionWrite {
|
|
10216
10220
|
readonly index: uint8
|
|
@@ -10227,7 +10231,7 @@ declare module "factorio:runtime" {
|
|
|
10227
10231
|
}
|
|
10228
10232
|
/**
|
|
10229
10233
|
* @see LogisticSectionsWrite
|
|
10230
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10234
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSections.html Online documentation}
|
|
10231
10235
|
*/
|
|
10232
10236
|
export interface LogisticSections {
|
|
10233
10237
|
readonly sections?: LogisticSection[]
|
|
@@ -10238,7 +10242,7 @@ declare module "factorio:runtime" {
|
|
|
10238
10242
|
}
|
|
10239
10243
|
/**
|
|
10240
10244
|
* 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.
|
|
10245
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSections.html Online documentation}
|
|
10242
10246
|
*/
|
|
10243
10247
|
export interface LogisticSectionsWrite {
|
|
10244
10248
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10261,7 +10265,7 @@ declare module "factorio:runtime" {
|
|
|
10261
10265
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10262
10266
|
* - {@link LuaVirtualSignalPrototype}
|
|
10263
10267
|
* - {@link LuaSurfacePrototype}
|
|
10264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10268
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FactoriopediaID.html Online documentation}
|
|
10265
10269
|
*/
|
|
10266
10270
|
export type FactoriopediaID =
|
|
10267
10271
|
| LuaItemPrototype
|
|
@@ -10282,7 +10286,7 @@ declare module "factorio:runtime" {
|
|
|
10282
10286
|
* ## Union members
|
|
10283
10287
|
* - `"horizontal"`
|
|
10284
10288
|
* - `"vertical"`
|
|
10285
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10289
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiDirection.html Online documentation}
|
|
10286
10290
|
*/
|
|
10287
10291
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10288
10292
|
export interface AttackParameterFluid {
|
|
@@ -10369,7 +10373,7 @@ declare module "factorio:runtime" {
|
|
|
10369
10373
|
* - `"cluster"`: {@link ClusterTriggerItem}
|
|
10370
10374
|
* - `"direct"`: {@link DirectTriggerItem}
|
|
10371
10375
|
* - `"line"`: {@link LineTriggerItem}
|
|
10372
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10376
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerItem.html Online documentation}
|
|
10373
10377
|
*/
|
|
10374
10378
|
export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem
|
|
10375
10379
|
export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[]
|
|
@@ -10384,12 +10388,12 @@ declare module "factorio:runtime" {
|
|
|
10384
10388
|
* ## Union members
|
|
10385
10389
|
* - `"primary"`
|
|
10386
10390
|
* - `"secondary"`
|
|
10387
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10391
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ApplyTileTint.html Online documentation}
|
|
10388
10392
|
*/
|
|
10389
10393
|
export type ApplyTileTint = "primary" | "secondary"
|
|
10390
10394
|
/**
|
|
10391
10395
|
* A set of trigger target masks.
|
|
10392
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10396
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerTargetMask.html Online documentation}
|
|
10393
10397
|
*/
|
|
10394
10398
|
export type TriggerTargetMask = Record<string, true>
|
|
10395
10399
|
export interface AttackReactionItem {
|
|
@@ -10482,7 +10486,7 @@ declare module "factorio:runtime" {
|
|
|
10482
10486
|
* - `"delayed"`: {@link DelayedTriggerDelivery}
|
|
10483
10487
|
* - `"projectile"`: {@link ProjectileTriggerDelivery}
|
|
10484
10488
|
* - `"stream"`: {@link StreamTriggerDelivery}
|
|
10485
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10489
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerDelivery.html Online documentation}
|
|
10486
10490
|
*/
|
|
10487
10491
|
export type TriggerDelivery =
|
|
10488
10492
|
| ArtilleryTriggerDelivery
|
|
@@ -10549,7 +10553,7 @@ declare module "factorio:runtime" {
|
|
|
10549
10553
|
* - `"camera-effect"`
|
|
10550
10554
|
* - `"activate-impact"`
|
|
10551
10555
|
* - `"create-pollution"`
|
|
10552
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10556
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerEffectItemType.html Online documentation}
|
|
10553
10557
|
*/
|
|
10554
10558
|
export type TriggerEffectItemType =
|
|
10555
10559
|
| "damage"
|
|
@@ -10923,7 +10927,7 @@ declare module "factorio:runtime" {
|
|
|
10923
10927
|
* - `"script"`: {@link ScriptTriggerEffectItem}
|
|
10924
10928
|
* - `"set-tile"`: {@link SetTileTriggerEffectItem}
|
|
10925
10929
|
* - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem}
|
|
10926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10930
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerEffectItem.html Online documentation}
|
|
10927
10931
|
*/
|
|
10928
10932
|
export type TriggerEffectItem =
|
|
10929
10933
|
| ActivateImpactTriggerEffectItem
|
|
@@ -11052,7 +11056,7 @@ declare module "factorio:runtime" {
|
|
|
11052
11056
|
* Other attributes may be specified depending on `type`:
|
|
11053
11057
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
11054
11058
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
11055
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11059
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AttackParameters.html Online documentation}
|
|
11056
11060
|
*/
|
|
11057
11061
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
11058
11062
|
/**
|
|
@@ -11060,7 +11064,7 @@ declare module "factorio:runtime" {
|
|
|
11060
11064
|
* - `"left"`
|
|
11061
11065
|
* - `"none"`
|
|
11062
11066
|
* - `"right"`
|
|
11063
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11067
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SplitterPriority.html Online documentation}
|
|
11064
11068
|
*/
|
|
11065
11069
|
export type SplitterPriority = "left" | "none" | "right"
|
|
11066
11070
|
/**
|
|
@@ -11079,7 +11083,7 @@ declare module "factorio:runtime" {
|
|
|
11079
11083
|
* - `"middle-right"`
|
|
11080
11084
|
* - `"right"`: The same as `"middle-right"`
|
|
11081
11085
|
* - `"bottom-right"`
|
|
11082
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11086
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Alignment.html Online documentation}
|
|
11083
11087
|
*/
|
|
11084
11088
|
export type Alignment =
|
|
11085
11089
|
| "top-left"
|
|
@@ -11114,7 +11118,7 @@ declare module "factorio:runtime" {
|
|
|
11114
11118
|
* - {@link FluidPrototypeFilter}
|
|
11115
11119
|
* - {@link EntityPrototypeFilter}
|
|
11116
11120
|
* @see PrototypeFilterWrite
|
|
11117
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11121
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PrototypeFilter.html Online documentation}
|
|
11118
11122
|
*/
|
|
11119
11123
|
export type PrototypeFilter =
|
|
11120
11124
|
| ModSettingPrototypeFilter[]
|
|
@@ -11132,7 +11136,7 @@ declare module "factorio:runtime" {
|
|
|
11132
11136
|
| EntityPrototypeFilter[]
|
|
11133
11137
|
/**
|
|
11134
11138
|
* 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.
|
|
11139
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PrototypeFilter.html Online documentation}
|
|
11136
11140
|
*/
|
|
11137
11141
|
export type PrototypeFilterWrite =
|
|
11138
11142
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -11185,7 +11189,7 @@ declare module "factorio:runtime" {
|
|
|
11185
11189
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
11186
11190
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
11187
11191
|
* @see EventFilterWrite
|
|
11188
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11192
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EventFilter.html Online documentation}
|
|
11189
11193
|
*/
|
|
11190
11194
|
export type EventFilter =
|
|
11191
11195
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11220,7 +11224,7 @@ declare module "factorio:runtime" {
|
|
|
11220
11224
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
11221
11225
|
/**
|
|
11222
11226
|
* 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.
|
|
11227
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EventFilter.html Online documentation}
|
|
11224
11228
|
*/
|
|
11225
11229
|
export type EventFilterWrite =
|
|
11226
11230
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11255,7 +11259,7 @@ declare module "factorio:runtime" {
|
|
|
11255
11259
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
11256
11260
|
/**
|
|
11257
11261
|
* @see CircuitConditionDefinitionWrite
|
|
11258
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11262
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11259
11263
|
*/
|
|
11260
11264
|
export interface CircuitConditionDefinition {
|
|
11261
11265
|
/**
|
|
@@ -11281,7 +11285,7 @@ declare module "factorio:runtime" {
|
|
|
11281
11285
|
}
|
|
11282
11286
|
/**
|
|
11283
11287
|
* 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.
|
|
11288
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11285
11289
|
*/
|
|
11286
11290
|
export interface CircuitConditionDefinitionWrite {
|
|
11287
11291
|
/**
|
|
@@ -11309,7 +11313,7 @@ declare module "factorio:runtime" {
|
|
|
11309
11313
|
* 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
11314
|
*
|
|
11311
11315
|
* Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table.
|
|
11312
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11316
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/UtilityConstants.html Online documentation}
|
|
11313
11317
|
*/
|
|
11314
11318
|
export interface UtilityConstants {
|
|
11315
11319
|
/**
|
|
@@ -11779,7 +11783,7 @@ declare module "factorio:runtime" {
|
|
|
11779
11783
|
* - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network}
|
|
11780
11784
|
* - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id}
|
|
11781
11785
|
* - {@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.
|
|
11786
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RegistrationTarget.html Online documentation}
|
|
11783
11787
|
*/
|
|
11784
11788
|
export type RegistrationTarget =
|
|
11785
11789
|
| LuaEntity
|
|
@@ -11887,7 +11891,7 @@ declare module "factorio:runtime" {
|
|
|
11887
11891
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
11888
11892
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
11889
11893
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
11890
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11894
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ResearchTrigger.html Online documentation}
|
|
11891
11895
|
*/
|
|
11892
11896
|
export type ResearchTrigger =
|
|
11893
11897
|
| CraftItemResearchTrigger
|
|
@@ -11900,26 +11904,26 @@ declare module "factorio:runtime" {
|
|
|
11900
11904
|
| OtherResearchTrigger
|
|
11901
11905
|
/**
|
|
11902
11906
|
* The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}.
|
|
11903
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11907
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProcessionID.html Online documentation}
|
|
11904
11908
|
*/
|
|
11905
11909
|
export type ProcessionID = string
|
|
11906
11910
|
/**
|
|
11907
11911
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
11908
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11912
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11909
11913
|
*/
|
|
11910
11914
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
11911
11915
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
11912
11916
|
}
|
|
11913
11917
|
/**
|
|
11914
11918
|
* 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.
|
|
11919
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11916
11920
|
*/
|
|
11917
11921
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
11918
11922
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
11919
11923
|
}
|
|
11920
11924
|
/**
|
|
11921
11925
|
* @see RocketSiloBlueprintControlBehaviorWrite
|
|
11922
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11926
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11923
11927
|
*/
|
|
11924
11928
|
export interface RocketSiloBlueprintControlBehavior {
|
|
11925
11929
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11935,7 +11939,7 @@ declare module "factorio:runtime" {
|
|
|
11935
11939
|
}
|
|
11936
11940
|
/**
|
|
11937
11941
|
* 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.
|
|
11942
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11939
11943
|
*/
|
|
11940
11944
|
export interface RocketSiloBlueprintControlBehaviorWrite {
|
|
11941
11945
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11951,7 +11955,7 @@ declare module "factorio:runtime" {
|
|
|
11951
11955
|
}
|
|
11952
11956
|
/**
|
|
11953
11957
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
11954
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11958
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11955
11959
|
*/
|
|
11956
11960
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
11957
11961
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11994,7 +11998,7 @@ declare module "factorio:runtime" {
|
|
|
11994
11998
|
}
|
|
11995
11999
|
/**
|
|
11996
12000
|
* 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.
|
|
12001
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11998
12002
|
*/
|
|
11999
12003
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
12000
12004
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12037,7 +12041,7 @@ declare module "factorio:runtime" {
|
|
|
12037
12041
|
}
|
|
12038
12042
|
/**
|
|
12039
12043
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
12040
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12044
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
12041
12045
|
*/
|
|
12042
12046
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
12043
12047
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12052,7 +12056,7 @@ declare module "factorio:runtime" {
|
|
|
12052
12056
|
}
|
|
12053
12057
|
/**
|
|
12054
12058
|
* 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.
|
|
12059
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
12056
12060
|
*/
|
|
12057
12061
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
12058
12062
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12067,7 +12071,7 @@ declare module "factorio:runtime" {
|
|
|
12067
12071
|
}
|
|
12068
12072
|
/**
|
|
12069
12073
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
12070
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12074
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
12071
12075
|
*/
|
|
12072
12076
|
export interface FurnaceBlueprintControlBehavior {
|
|
12073
12077
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12111,7 +12115,7 @@ declare module "factorio:runtime" {
|
|
|
12111
12115
|
}
|
|
12112
12116
|
/**
|
|
12113
12117
|
* 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.
|
|
12118
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
12115
12119
|
*/
|
|
12116
12120
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
12117
12121
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12155,21 +12159,21 @@ declare module "factorio:runtime" {
|
|
|
12155
12159
|
}
|
|
12156
12160
|
/**
|
|
12157
12161
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
12158
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12162
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12159
12163
|
*/
|
|
12160
12164
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
12161
12165
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
12162
12166
|
}
|
|
12163
12167
|
/**
|
|
12164
12168
|
* 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.
|
|
12169
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12166
12170
|
*/
|
|
12167
12171
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
12168
12172
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
12169
12173
|
}
|
|
12170
12174
|
/**
|
|
12171
12175
|
* @see CargoLandingPadBlueprintControlBehaviorWrite
|
|
12172
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12176
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12173
12177
|
*/
|
|
12174
12178
|
export interface CargoLandingPadBlueprintControlBehavior {
|
|
12175
12179
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12190,7 +12194,7 @@ declare module "factorio:runtime" {
|
|
|
12190
12194
|
}
|
|
12191
12195
|
/**
|
|
12192
12196
|
* 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.
|
|
12197
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12194
12198
|
*/
|
|
12195
12199
|
export interface CargoLandingPadBlueprintControlBehaviorWrite {
|
|
12196
12200
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12211,7 +12215,7 @@ declare module "factorio:runtime" {
|
|
|
12211
12215
|
}
|
|
12212
12216
|
/**
|
|
12213
12217
|
* @see LampBlueprintControlBehaviorWrite
|
|
12214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12218
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
12215
12219
|
*/
|
|
12216
12220
|
export interface LampBlueprintControlBehavior {
|
|
12217
12221
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12240,7 +12244,7 @@ declare module "factorio:runtime" {
|
|
|
12240
12244
|
}
|
|
12241
12245
|
/**
|
|
12242
12246
|
* 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.
|
|
12247
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
12244
12248
|
*/
|
|
12245
12249
|
export interface LampBlueprintControlBehaviorWrite {
|
|
12246
12250
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12269,7 +12273,7 @@ declare module "factorio:runtime" {
|
|
|
12269
12273
|
}
|
|
12270
12274
|
/**
|
|
12271
12275
|
* @see ProxyContainerBlueprintControlBehaviorWrite
|
|
12272
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12276
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12273
12277
|
*/
|
|
12274
12278
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
12275
12279
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12285,7 +12289,7 @@ declare module "factorio:runtime" {
|
|
|
12285
12289
|
}
|
|
12286
12290
|
/**
|
|
12287
12291
|
* 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.
|
|
12292
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12289
12293
|
*/
|
|
12290
12294
|
export interface ProxyContainerBlueprintControlBehaviorWrite {
|
|
12291
12295
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12301,7 +12305,7 @@ declare module "factorio:runtime" {
|
|
|
12301
12305
|
}
|
|
12302
12306
|
/**
|
|
12303
12307
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
12304
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12308
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12305
12309
|
*/
|
|
12306
12310
|
export interface MiningDrillBlueprintControlBehavior {
|
|
12307
12311
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12321,7 +12325,7 @@ declare module "factorio:runtime" {
|
|
|
12321
12325
|
}
|
|
12322
12326
|
/**
|
|
12323
12327
|
* 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.
|
|
12328
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12325
12329
|
*/
|
|
12326
12330
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
12327
12331
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12341,7 +12345,7 @@ declare module "factorio:runtime" {
|
|
|
12341
12345
|
}
|
|
12342
12346
|
/**
|
|
12343
12347
|
* @see LoaderBlueprintControlBehaviorWrite
|
|
12344
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12348
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12345
12349
|
*/
|
|
12346
12350
|
export interface LoaderBlueprintControlBehavior {
|
|
12347
12351
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12367,7 +12371,7 @@ declare module "factorio:runtime" {
|
|
|
12367
12371
|
}
|
|
12368
12372
|
/**
|
|
12369
12373
|
* 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.
|
|
12374
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12371
12375
|
*/
|
|
12372
12376
|
export interface LoaderBlueprintControlBehaviorWrite {
|
|
12373
12377
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12393,7 +12397,7 @@ declare module "factorio:runtime" {
|
|
|
12393
12397
|
}
|
|
12394
12398
|
/**
|
|
12395
12399
|
* @see WallBlueprintControlBehaviorWrite
|
|
12396
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12400
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12397
12401
|
*/
|
|
12398
12402
|
export interface WallBlueprintControlBehavior {
|
|
12399
12403
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12405,7 +12409,7 @@ declare module "factorio:runtime" {
|
|
|
12405
12409
|
}
|
|
12406
12410
|
/**
|
|
12407
12411
|
* 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.
|
|
12412
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12409
12413
|
*/
|
|
12410
12414
|
export interface WallBlueprintControlBehaviorWrite {
|
|
12411
12415
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12417,7 +12421,7 @@ declare module "factorio:runtime" {
|
|
|
12417
12421
|
}
|
|
12418
12422
|
/**
|
|
12419
12423
|
* @see GenericOnOffBlueprintControlBehaviorWrite
|
|
12420
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12424
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12421
12425
|
*/
|
|
12422
12426
|
export interface GenericOnOffBlueprintControlBehavior {
|
|
12423
12427
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12434,7 +12438,7 @@ declare module "factorio:runtime" {
|
|
|
12434
12438
|
}
|
|
12435
12439
|
/**
|
|
12436
12440
|
* 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.
|
|
12441
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12438
12442
|
*/
|
|
12439
12443
|
export interface GenericOnOffBlueprintControlBehaviorWrite {
|
|
12440
12444
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12451,7 +12455,7 @@ declare module "factorio:runtime" {
|
|
|
12451
12455
|
}
|
|
12452
12456
|
/**
|
|
12453
12457
|
* @see ResearchConditionWrite
|
|
12454
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12458
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ResearchCondition.html Online documentation}
|
|
12455
12459
|
*/
|
|
12456
12460
|
export interface ResearchCondition {
|
|
12457
12461
|
readonly condition?: CircuitCondition
|
|
@@ -12466,7 +12470,7 @@ declare module "factorio:runtime" {
|
|
|
12466
12470
|
}
|
|
12467
12471
|
/**
|
|
12468
12472
|
* 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.
|
|
12473
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ResearchCondition.html Online documentation}
|
|
12470
12474
|
*/
|
|
12471
12475
|
export interface ResearchConditionWrite {
|
|
12472
12476
|
readonly condition?: CircuitConditionWrite
|
|
@@ -12481,7 +12485,7 @@ declare module "factorio:runtime" {
|
|
|
12481
12485
|
}
|
|
12482
12486
|
/**
|
|
12483
12487
|
* @see BoilerBlueprintControlBehaviorWrite
|
|
12484
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12488
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12485
12489
|
*/
|
|
12486
12490
|
export interface BoilerBlueprintControlBehavior {
|
|
12487
12491
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12503,7 +12507,7 @@ declare module "factorio:runtime" {
|
|
|
12503
12507
|
}
|
|
12504
12508
|
/**
|
|
12505
12509
|
* 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.
|
|
12510
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12507
12511
|
*/
|
|
12508
12512
|
export interface BoilerBlueprintControlBehaviorWrite {
|
|
12509
12513
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12525,7 +12529,7 @@ declare module "factorio:runtime" {
|
|
|
12525
12529
|
}
|
|
12526
12530
|
/**
|
|
12527
12531
|
* @see ContainerBlueprintControlBehaviorWrite
|
|
12528
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12532
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12529
12533
|
*/
|
|
12530
12534
|
export interface ContainerBlueprintControlBehavior {
|
|
12531
12535
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12541,7 +12545,7 @@ declare module "factorio:runtime" {
|
|
|
12541
12545
|
}
|
|
12542
12546
|
/**
|
|
12543
12547
|
* 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.
|
|
12548
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12545
12549
|
*/
|
|
12546
12550
|
export interface ContainerBlueprintControlBehaviorWrite {
|
|
12547
12551
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12557,7 +12561,7 @@ declare module "factorio:runtime" {
|
|
|
12557
12561
|
}
|
|
12558
12562
|
/**
|
|
12559
12563
|
* @see PumpBlueprintControlBehaviorWrite
|
|
12560
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12564
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12561
12565
|
*/
|
|
12562
12566
|
export interface PumpBlueprintControlBehavior {
|
|
12563
12567
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12578,7 +12582,7 @@ declare module "factorio:runtime" {
|
|
|
12578
12582
|
}
|
|
12579
12583
|
/**
|
|
12580
12584
|
* 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.
|
|
12585
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12582
12586
|
*/
|
|
12583
12587
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
12584
12588
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12599,7 +12603,7 @@ declare module "factorio:runtime" {
|
|
|
12599
12603
|
}
|
|
12600
12604
|
/**
|
|
12601
12605
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
12602
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12606
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12603
12607
|
*/
|
|
12604
12608
|
export interface TrainStopBlueprintControlBehavior {
|
|
12605
12609
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12645,7 +12649,7 @@ declare module "factorio:runtime" {
|
|
|
12645
12649
|
}
|
|
12646
12650
|
/**
|
|
12647
12651
|
* 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.
|
|
12652
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12649
12653
|
*/
|
|
12650
12654
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
12651
12655
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12691,7 +12695,7 @@ declare module "factorio:runtime" {
|
|
|
12691
12695
|
}
|
|
12692
12696
|
/**
|
|
12693
12697
|
* @see LandMineBlueprintControlBehaviorWrite
|
|
12694
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12698
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12695
12699
|
*/
|
|
12696
12700
|
export interface LandMineBlueprintControlBehavior {
|
|
12697
12701
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12708,7 +12712,7 @@ declare module "factorio:runtime" {
|
|
|
12708
12712
|
}
|
|
12709
12713
|
/**
|
|
12710
12714
|
* 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.
|
|
12715
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12712
12716
|
*/
|
|
12713
12717
|
export interface LandMineBlueprintControlBehaviorWrite {
|
|
12714
12718
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12725,7 +12729,7 @@ declare module "factorio:runtime" {
|
|
|
12725
12729
|
}
|
|
12726
12730
|
/**
|
|
12727
12731
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
12728
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12732
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12729
12733
|
*/
|
|
12730
12734
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
12731
12735
|
readonly circuit_condition: CircuitCondition
|
|
@@ -12733,7 +12737,7 @@ declare module "factorio:runtime" {
|
|
|
12733
12737
|
}
|
|
12734
12738
|
/**
|
|
12735
12739
|
* 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.
|
|
12740
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12737
12741
|
*/
|
|
12738
12742
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
12739
12743
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -12741,7 +12745,7 @@ declare module "factorio:runtime" {
|
|
|
12741
12745
|
}
|
|
12742
12746
|
/**
|
|
12743
12747
|
* @see HeatPipeBlueprintControlBehaviorWrite
|
|
12744
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12748
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12745
12749
|
*/
|
|
12746
12750
|
export interface HeatPipeBlueprintControlBehavior {
|
|
12747
12751
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12753,7 +12757,7 @@ declare module "factorio:runtime" {
|
|
|
12753
12757
|
}
|
|
12754
12758
|
/**
|
|
12755
12759
|
* 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.
|
|
12760
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12757
12761
|
*/
|
|
12758
12762
|
export interface HeatPipeBlueprintControlBehaviorWrite {
|
|
12759
12763
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12765,7 +12769,7 @@ declare module "factorio:runtime" {
|
|
|
12765
12769
|
}
|
|
12766
12770
|
/**
|
|
12767
12771
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
12768
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12772
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12769
12773
|
*/
|
|
12770
12774
|
export interface SplitterBlueprintControlBehavior {
|
|
12771
12775
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12788,7 +12792,7 @@ declare module "factorio:runtime" {
|
|
|
12788
12792
|
}
|
|
12789
12793
|
/**
|
|
12790
12794
|
* 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.
|
|
12795
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12792
12796
|
*/
|
|
12793
12797
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
12794
12798
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12811,7 +12815,7 @@ declare module "factorio:runtime" {
|
|
|
12811
12815
|
}
|
|
12812
12816
|
/**
|
|
12813
12817
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
12814
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12818
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12815
12819
|
*/
|
|
12816
12820
|
export interface TransportBeltBlueprintControlBehavior {
|
|
12817
12821
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12831,7 +12835,7 @@ declare module "factorio:runtime" {
|
|
|
12831
12835
|
}
|
|
12832
12836
|
/**
|
|
12833
12837
|
* 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.
|
|
12838
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12835
12839
|
*/
|
|
12836
12840
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
12837
12841
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12851,7 +12855,7 @@ declare module "factorio:runtime" {
|
|
|
12851
12855
|
}
|
|
12852
12856
|
/**
|
|
12853
12857
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
12854
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12858
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12855
12859
|
*/
|
|
12856
12860
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
12857
12861
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12877,7 +12881,7 @@ declare module "factorio:runtime" {
|
|
|
12877
12881
|
}
|
|
12878
12882
|
/**
|
|
12879
12883
|
* 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.
|
|
12884
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12881
12885
|
*/
|
|
12882
12886
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
12883
12887
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12903,7 +12907,7 @@ declare module "factorio:runtime" {
|
|
|
12903
12907
|
}
|
|
12904
12908
|
/**
|
|
12905
12909
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
12906
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12910
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12907
12911
|
*/
|
|
12908
12912
|
export interface ReactorBlueprintControlBehavior {
|
|
12909
12913
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12919,7 +12923,7 @@ declare module "factorio:runtime" {
|
|
|
12919
12923
|
}
|
|
12920
12924
|
/**
|
|
12921
12925
|
* 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.
|
|
12926
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12923
12927
|
*/
|
|
12924
12928
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
12925
12929
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12935,7 +12939,7 @@ declare module "factorio:runtime" {
|
|
|
12935
12939
|
}
|
|
12936
12940
|
/**
|
|
12937
12941
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
12938
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12942
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12939
12943
|
*/
|
|
12940
12944
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
12941
12945
|
readonly sections: LogisticSections
|
|
@@ -12946,7 +12950,7 @@ declare module "factorio:runtime" {
|
|
|
12946
12950
|
}
|
|
12947
12951
|
/**
|
|
12948
12952
|
* 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.
|
|
12953
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12950
12954
|
*/
|
|
12951
12955
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
12952
12956
|
readonly sections: LogisticSectionsWrite
|
|
@@ -12957,7 +12961,7 @@ declare module "factorio:runtime" {
|
|
|
12957
12961
|
}
|
|
12958
12962
|
/**
|
|
12959
12963
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
12960
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12964
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12961
12965
|
*/
|
|
12962
12966
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
12963
12967
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12976,7 +12980,7 @@ declare module "factorio:runtime" {
|
|
|
12976
12980
|
}
|
|
12977
12981
|
/**
|
|
12978
12982
|
* 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.
|
|
12983
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12980
12984
|
*/
|
|
12981
12985
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
12982
12986
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12995,7 +12999,7 @@ declare module "factorio:runtime" {
|
|
|
12995
12999
|
}
|
|
12996
13000
|
/**
|
|
12997
13001
|
* @see LabBlueprintControlBehaviorWrite
|
|
12998
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13002
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
12999
13003
|
*/
|
|
13000
13004
|
export interface LabBlueprintControlBehavior {
|
|
13001
13005
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13010,7 +13014,7 @@ declare module "factorio:runtime" {
|
|
|
13010
13014
|
}
|
|
13011
13015
|
/**
|
|
13012
13016
|
* 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.
|
|
13017
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
13014
13018
|
*/
|
|
13015
13019
|
export interface LabBlueprintControlBehaviorWrite {
|
|
13016
13020
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13025,7 +13029,7 @@ declare module "factorio:runtime" {
|
|
|
13025
13029
|
}
|
|
13026
13030
|
/**
|
|
13027
13031
|
* @see RadarBlueprintControlBehaviorWrite
|
|
13028
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13032
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
13029
13033
|
*/
|
|
13030
13034
|
export interface RadarBlueprintControlBehavior {
|
|
13031
13035
|
/**
|
|
@@ -13036,7 +13040,7 @@ declare module "factorio:runtime" {
|
|
|
13036
13040
|
}
|
|
13037
13041
|
/**
|
|
13038
13042
|
* 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.
|
|
13043
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
13040
13044
|
*/
|
|
13041
13045
|
export interface RadarBlueprintControlBehaviorWrite {
|
|
13042
13046
|
/**
|
|
@@ -13047,7 +13051,7 @@ declare module "factorio:runtime" {
|
|
|
13047
13051
|
}
|
|
13048
13052
|
/**
|
|
13049
13053
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
13050
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13054
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
13051
13055
|
*/
|
|
13052
13056
|
export interface AccumulatorBlueprintControlBehavior {
|
|
13053
13057
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13059,7 +13063,7 @@ declare module "factorio:runtime" {
|
|
|
13059
13063
|
}
|
|
13060
13064
|
/**
|
|
13061
13065
|
* 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.
|
|
13066
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
13063
13067
|
*/
|
|
13064
13068
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
13065
13069
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13071,7 +13075,7 @@ declare module "factorio:runtime" {
|
|
|
13071
13075
|
}
|
|
13072
13076
|
/**
|
|
13073
13077
|
* @see SingleFluidBoxBlueprintControlBehaviorWrite
|
|
13074
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13078
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
13075
13079
|
*/
|
|
13076
13080
|
export interface SingleFluidBoxBlueprintControlBehavior {
|
|
13077
13081
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13087,7 +13091,7 @@ declare module "factorio:runtime" {
|
|
|
13087
13091
|
}
|
|
13088
13092
|
/**
|
|
13089
13093
|
* 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.
|
|
13094
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
13091
13095
|
*/
|
|
13092
13096
|
export interface SingleFluidBoxBlueprintControlBehaviorWrite {
|
|
13093
13097
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13103,7 +13107,7 @@ declare module "factorio:runtime" {
|
|
|
13103
13107
|
}
|
|
13104
13108
|
/**
|
|
13105
13109
|
* @see TurretBlueprintControlBehaviorWrite
|
|
13106
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13110
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
13107
13111
|
*/
|
|
13108
13112
|
export interface TurretBlueprintControlBehavior {
|
|
13109
13113
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13134,7 +13138,7 @@ declare module "factorio:runtime" {
|
|
|
13134
13138
|
}
|
|
13135
13139
|
/**
|
|
13136
13140
|
* 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.
|
|
13141
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
13138
13142
|
*/
|
|
13139
13143
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
13140
13144
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13165,7 +13169,7 @@ declare module "factorio:runtime" {
|
|
|
13165
13169
|
}
|
|
13166
13170
|
/**
|
|
13167
13171
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
13168
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13172
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
13169
13173
|
*/
|
|
13170
13174
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
13171
13175
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13195,7 +13199,7 @@ declare module "factorio:runtime" {
|
|
|
13195
13199
|
}
|
|
13196
13200
|
/**
|
|
13197
13201
|
* 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.
|
|
13202
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
13199
13203
|
*/
|
|
13200
13204
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
13201
13205
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13225,7 +13229,7 @@ declare module "factorio:runtime" {
|
|
|
13225
13229
|
}
|
|
13226
13230
|
/**
|
|
13227
13231
|
* @see InserterBlueprintControlBehaviorWrite
|
|
13228
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13232
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
13229
13233
|
*/
|
|
13230
13234
|
export interface InserterBlueprintControlBehavior {
|
|
13231
13235
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13260,7 +13264,7 @@ declare module "factorio:runtime" {
|
|
|
13260
13264
|
}
|
|
13261
13265
|
/**
|
|
13262
13266
|
* 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.
|
|
13267
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
13264
13268
|
*/
|
|
13265
13269
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
13266
13270
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13295,21 +13299,21 @@ declare module "factorio:runtime" {
|
|
|
13295
13299
|
}
|
|
13296
13300
|
/**
|
|
13297
13301
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
13298
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13302
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
13299
13303
|
*/
|
|
13300
13304
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
13301
13305
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
13302
13306
|
}
|
|
13303
13307
|
/**
|
|
13304
13308
|
* 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.
|
|
13309
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
13306
13310
|
*/
|
|
13307
13311
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
13308
13312
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
13309
13313
|
}
|
|
13310
13314
|
/**
|
|
13311
13315
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
13312
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13316
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
13313
13317
|
*/
|
|
13314
13318
|
export interface RoboportBlueprintControlBehavior {
|
|
13315
13319
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13323,7 +13327,7 @@ declare module "factorio:runtime" {
|
|
|
13323
13327
|
}
|
|
13324
13328
|
/**
|
|
13325
13329
|
* 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.
|
|
13330
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
13327
13331
|
*/
|
|
13328
13332
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
13329
13333
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13337,7 +13341,7 @@ declare module "factorio:runtime" {
|
|
|
13337
13341
|
}
|
|
13338
13342
|
/**
|
|
13339
13343
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
13340
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13344
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13341
13345
|
*/
|
|
13342
13346
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
13343
13347
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13385,7 +13389,7 @@ declare module "factorio:runtime" {
|
|
|
13385
13389
|
}
|
|
13386
13390
|
/**
|
|
13387
13391
|
* 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.
|
|
13392
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13389
13393
|
*/
|
|
13390
13394
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
13391
13395
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13433,7 +13437,7 @@ declare module "factorio:runtime" {
|
|
|
13433
13437
|
}
|
|
13434
13438
|
/**
|
|
13435
13439
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
13436
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13440
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13437
13441
|
*/
|
|
13438
13442
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
13439
13443
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13465,7 +13469,7 @@ declare module "factorio:runtime" {
|
|
|
13465
13469
|
}
|
|
13466
13470
|
/**
|
|
13467
13471
|
* 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.
|
|
13472
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13469
13473
|
*/
|
|
13470
13474
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
13471
13475
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13531,7 +13535,7 @@ declare module "factorio:runtime" {
|
|
|
13531
13535
|
* "2500 * (L - 3)"
|
|
13532
13536
|
* @example
|
|
13533
13537
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
13534
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13538
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/MathExpression.html Online documentation}
|
|
13535
13539
|
*/
|
|
13536
13540
|
export type MathExpression = string
|
|
13537
13541
|
/**
|
|
@@ -13542,12 +13546,12 @@ declare module "factorio:runtime" {
|
|
|
13542
13546
|
* 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
13547
|
* @example
|
|
13544
13548
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
13545
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13549
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Tags.html Online documentation}
|
|
13546
13550
|
*/
|
|
13547
13551
|
export type Tags = Record<string, AnyBasic>
|
|
13548
13552
|
/**
|
|
13549
13553
|
* @see TileWrite
|
|
13550
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13554
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Tile.html Online documentation}
|
|
13551
13555
|
*/
|
|
13552
13556
|
export interface Tile {
|
|
13553
13557
|
/**
|
|
@@ -13561,7 +13565,7 @@ declare module "factorio:runtime" {
|
|
|
13561
13565
|
}
|
|
13562
13566
|
/**
|
|
13563
13567
|
* 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.
|
|
13568
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Tile.html Online documentation}
|
|
13565
13569
|
*/
|
|
13566
13570
|
export interface TileWrite {
|
|
13567
13571
|
/**
|
|
@@ -13585,99 +13589,99 @@ declare module "factorio:runtime" {
|
|
|
13585
13589
|
}
|
|
13586
13590
|
/**
|
|
13587
13591
|
* 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.
|
|
13592
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/float.html Online documentation}
|
|
13589
13593
|
*/
|
|
13590
13594
|
export type float = number
|
|
13591
13595
|
/**
|
|
13592
13596
|
* 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.
|
|
13597
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/double.html Online documentation}
|
|
13594
13598
|
*/
|
|
13595
13599
|
export type double = number
|
|
13596
13600
|
/**
|
|
13597
13601
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
13598
13602
|
*
|
|
13599
13603
|
* 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.
|
|
13604
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint8.html Online documentation}
|
|
13601
13605
|
*/
|
|
13602
13606
|
export type uint8 = number
|
|
13603
13607
|
/**
|
|
13604
13608
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
13605
13609
|
*
|
|
13606
13610
|
* 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.
|
|
13611
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/int8.html Online documentation}
|
|
13608
13612
|
*/
|
|
13609
13613
|
export type int8 = number
|
|
13610
13614
|
/**
|
|
13611
13615
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
13612
13616
|
*
|
|
13613
13617
|
* 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.
|
|
13618
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint16.html Online documentation}
|
|
13615
13619
|
*/
|
|
13616
13620
|
export type uint16 = number
|
|
13617
13621
|
/**
|
|
13618
13622
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
13619
13623
|
*
|
|
13620
13624
|
* 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.
|
|
13625
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/int16.html Online documentation}
|
|
13622
13626
|
*/
|
|
13623
13627
|
export type int16 = number
|
|
13624
13628
|
/**
|
|
13625
13629
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
13626
13630
|
*
|
|
13627
13631
|
* 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.
|
|
13632
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint32.html Online documentation}
|
|
13629
13633
|
*/
|
|
13630
13634
|
export type uint32 = number
|
|
13631
13635
|
/**
|
|
13632
13636
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
13633
13637
|
*
|
|
13634
13638
|
* 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.
|
|
13639
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/int32.html Online documentation}
|
|
13636
13640
|
*/
|
|
13637
13641
|
export type int32 = number
|
|
13638
13642
|
/**
|
|
13639
13643
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
13640
13644
|
*
|
|
13641
13645
|
* 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.
|
|
13646
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint64.html Online documentation}
|
|
13643
13647
|
*/
|
|
13644
13648
|
export type uint64 = number
|
|
13645
13649
|
/**
|
|
13646
13650
|
* 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.
|
|
13651
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/nil.html Online documentation}
|
|
13648
13652
|
*/
|
|
13649
13653
|
export type nil = undefined
|
|
13650
13654
|
/**
|
|
13651
13655
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
13652
13656
|
*
|
|
13653
13657
|
* 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.
|
|
13658
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/table.html Online documentation}
|
|
13655
13659
|
*/
|
|
13656
13660
|
export type table = object
|
|
13657
13661
|
/**
|
|
13658
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.
|
|
13659
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13662
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.24/classes.html Classes} page.
|
|
13663
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaObject.html Online documentation}
|
|
13660
13664
|
*/
|
|
13661
13665
|
export interface LuaObject {
|
|
13662
13666
|
readonly object_name: string
|
|
13663
13667
|
}
|
|
13664
13668
|
/**
|
|
13665
13669
|
* Any basic type (string, number, boolean) or table.
|
|
13666
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13670
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AnyBasic.html Online documentation}
|
|
13667
13671
|
*/
|
|
13668
13672
|
export type AnyBasic = string | boolean | number | table
|
|
13669
13673
|
/**
|
|
13670
13674
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
13671
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13675
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/Any.html Online documentation}
|
|
13672
13676
|
*/
|
|
13673
13677
|
export type Any = string | boolean | number | table | LuaObject
|
|
13674
13678
|
/**
|
|
13675
13679
|
* 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
13680
|
*
|
|
13677
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13681
|
+
* {@link https://lua-api.factorio.com/2.1.24/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
13682
|
*
|
|
13679
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13680
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13683
|
+
* {@link https://lua-api.factorio.com/2.1.24/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:}
|
|
13684
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/PropertyExpressionNames.html Online documentation}
|
|
13681
13685
|
*/
|
|
13682
13686
|
export type PropertyExpressionNames = Record<string, string>
|
|
13683
13687
|
/**
|
|
@@ -13734,7 +13738,7 @@ declare module "factorio:runtime" {
|
|
|
13734
13738
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
13735
13739
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
13736
13740
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
13737
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13741
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ModSettingPrototypeFilter.html Online documentation}
|
|
13738
13742
|
*/
|
|
13739
13743
|
export type ModSettingPrototypeFilter =
|
|
13740
13744
|
TypeModSettingPrototypeFilter | ModModSettingPrototypeFilter | SettingTypeModSettingPrototypeFilter
|
|
@@ -13796,13 +13800,13 @@ declare module "factorio:runtime" {
|
|
|
13796
13800
|
* Other attributes may be specified depending on `filter`:
|
|
13797
13801
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
13798
13802
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
13799
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13803
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13800
13804
|
*/
|
|
13801
13805
|
export type SpaceLocationPrototypeFilter =
|
|
13802
13806
|
TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter
|
|
13803
13807
|
/**
|
|
13804
13808
|
* 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.
|
|
13809
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13806
13810
|
*/
|
|
13807
13811
|
export type SpaceLocationPrototypeFilterWrite =
|
|
13808
13812
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -13850,7 +13854,7 @@ declare module "factorio:runtime" {
|
|
|
13850
13854
|
*
|
|
13851
13855
|
* Other attributes may be specified depending on `filter`:
|
|
13852
13856
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
13853
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13857
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/DecorativePrototypeFilter.html Online documentation}
|
|
13854
13858
|
*/
|
|
13855
13859
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
13856
13860
|
/**
|
|
@@ -13992,7 +13996,7 @@ declare module "factorio:runtime" {
|
|
|
13992
13996
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
13993
13997
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
13994
13998
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
13995
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13999
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePrototypeFilter.html Online documentation}
|
|
13996
14000
|
*/
|
|
13997
14001
|
export type TilePrototypeFilter =
|
|
13998
14002
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14003,7 +14007,7 @@ declare module "factorio:runtime" {
|
|
|
14003
14007
|
| OtherTilePrototypeFilter
|
|
14004
14008
|
/**
|
|
14005
14009
|
* 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.
|
|
14010
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePrototypeFilter.html Online documentation}
|
|
14007
14011
|
*/
|
|
14008
14012
|
export type TilePrototypeFilterWrite =
|
|
14009
14013
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14360,7 +14364,7 @@ declare module "factorio:runtime" {
|
|
|
14360
14364
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
14361
14365
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
14362
14366
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
14363
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14367
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14364
14368
|
*/
|
|
14365
14369
|
export type ItemPrototypeFilter =
|
|
14366
14370
|
| PlaceResultItemPrototypeFilter
|
|
@@ -14382,7 +14386,7 @@ declare module "factorio:runtime" {
|
|
|
14382
14386
|
| OtherItemPrototypeFilter
|
|
14383
14387
|
/**
|
|
14384
14388
|
* 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.
|
|
14389
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14386
14390
|
*/
|
|
14387
14391
|
export type ItemPrototypeFilterWrite =
|
|
14388
14392
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -14522,7 +14526,7 @@ declare module "factorio:runtime" {
|
|
|
14522
14526
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
14523
14527
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
14524
14528
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
14525
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14529
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14526
14530
|
*/
|
|
14527
14531
|
export type TechnologyPrototypeFilter =
|
|
14528
14532
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14533,7 +14537,7 @@ declare module "factorio:runtime" {
|
|
|
14533
14537
|
| OtherTechnologyPrototypeFilter
|
|
14534
14538
|
/**
|
|
14535
14539
|
* 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.
|
|
14540
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14537
14541
|
*/
|
|
14538
14542
|
export type TechnologyPrototypeFilterWrite =
|
|
14539
14543
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14789,7 +14793,7 @@ declare module "factorio:runtime" {
|
|
|
14789
14793
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
14790
14794
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
14791
14795
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
14792
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14796
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14793
14797
|
*/
|
|
14794
14798
|
export type RecipePrototypeFilter =
|
|
14795
14799
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -14805,7 +14809,7 @@ declare module "factorio:runtime" {
|
|
|
14805
14809
|
| OtherRecipePrototypeFilter
|
|
14806
14810
|
/**
|
|
14807
14811
|
* 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.
|
|
14812
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14809
14813
|
*/
|
|
14810
14814
|
export type RecipePrototypeFilterWrite =
|
|
14811
14815
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -14857,7 +14861,7 @@ declare module "factorio:runtime" {
|
|
|
14857
14861
|
*
|
|
14858
14862
|
* Other attributes may be specified depending on `filter`:
|
|
14859
14863
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
14860
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14864
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/AchievementPrototypeFilter.html Online documentation}
|
|
14861
14865
|
*/
|
|
14862
14866
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
14863
14867
|
export interface VirtualSignalPrototypeFilter {
|
|
@@ -14912,7 +14916,7 @@ declare module "factorio:runtime" {
|
|
|
14912
14916
|
*
|
|
14913
14917
|
* Other attributes may be specified depending on `filter`:
|
|
14914
14918
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
14915
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14919
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPrototypeFilter.html Online documentation}
|
|
14916
14920
|
*/
|
|
14917
14921
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
14918
14922
|
/**
|
|
@@ -15097,7 +15101,7 @@ declare module "factorio:runtime" {
|
|
|
15097
15101
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
15098
15102
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
15099
15103
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
15100
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15104
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidPrototypeFilter.html Online documentation}
|
|
15101
15105
|
*/
|
|
15102
15106
|
export type FluidPrototypeFilter =
|
|
15103
15107
|
| NameFluidPrototypeFilter
|
|
@@ -15111,7 +15115,7 @@ declare module "factorio:runtime" {
|
|
|
15111
15115
|
| OtherFluidPrototypeFilter
|
|
15112
15116
|
/**
|
|
15113
15117
|
* 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.
|
|
15118
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidPrototypeFilter.html Online documentation}
|
|
15115
15119
|
*/
|
|
15116
15120
|
export type FluidPrototypeFilterWrite =
|
|
15117
15121
|
| NameFluidPrototypeFilter
|
|
@@ -15330,7 +15334,7 @@ declare module "factorio:runtime" {
|
|
|
15330
15334
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
15331
15335
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
15332
15336
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
15333
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15337
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFilter.html Online documentation}
|
|
15334
15338
|
*/
|
|
15335
15339
|
export type EntityPrototypeFilter =
|
|
15336
15340
|
| NameEntityPrototypeFilter
|
|
@@ -15343,7 +15347,7 @@ declare module "factorio:runtime" {
|
|
|
15343
15347
|
| OtherEntityPrototypeFilter
|
|
15344
15348
|
/**
|
|
15345
15349
|
* 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.
|
|
15350
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFilter.html Online documentation}
|
|
15347
15351
|
*/
|
|
15348
15352
|
export type EntityPrototypeFilterWrite =
|
|
15349
15353
|
| NameEntityPrototypeFilter
|
|
@@ -15386,7 +15390,7 @@ declare module "factorio:runtime" {
|
|
|
15386
15390
|
*
|
|
15387
15391
|
* Other attributes may be specified depending on `filter`:
|
|
15388
15392
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
15389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15393
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
|
15390
15394
|
*/
|
|
15391
15395
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
15392
15396
|
/**
|
|
@@ -15486,7 +15490,7 @@ declare module "factorio:runtime" {
|
|
|
15486
15490
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
15487
15491
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
15488
15492
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
15489
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15493
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
|
15490
15494
|
*/
|
|
15491
15495
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
15492
15496
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -15591,7 +15595,7 @@ declare module "factorio:runtime" {
|
|
|
15591
15595
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
15592
15596
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
15593
15597
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
15594
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15598
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
|
15595
15599
|
*/
|
|
15596
15600
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
15597
15601
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -15696,7 +15700,7 @@ declare module "factorio:runtime" {
|
|
|
15696
15700
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
15697
15701
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
15698
15702
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
15699
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15703
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
|
15700
15704
|
*/
|
|
15701
15705
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
15702
15706
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -15801,7 +15805,7 @@ declare module "factorio:runtime" {
|
|
|
15801
15805
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
15802
15806
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
15803
15807
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
15804
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15808
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
|
15805
15809
|
*/
|
|
15806
15810
|
export type LuaPlatformMinedEntityEventFilter =
|
|
15807
15811
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -15918,7 +15922,7 @@ declare module "factorio:runtime" {
|
|
|
15918
15922
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
15919
15923
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
15920
15924
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
15921
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15925
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
|
15922
15926
|
*/
|
|
15923
15927
|
export type LuaRobotBuiltEntityEventFilter =
|
|
15924
15928
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -16024,7 +16028,7 @@ declare module "factorio:runtime" {
|
|
|
16024
16028
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
16025
16029
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
16026
16030
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
16027
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16031
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
|
16028
16032
|
*/
|
|
16029
16033
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
16030
16034
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -16129,7 +16133,7 @@ declare module "factorio:runtime" {
|
|
|
16129
16133
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
16130
16134
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
16131
16135
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
16132
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16136
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
|
16133
16137
|
*/
|
|
16134
16138
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
16135
16139
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -16234,7 +16238,7 @@ declare module "factorio:runtime" {
|
|
|
16234
16238
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
16235
16239
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
16236
16240
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
16237
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16241
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
|
16238
16242
|
*/
|
|
16239
16243
|
export type LuaPreGhostUpgradedEventFilter =
|
|
16240
16244
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -16351,7 +16355,7 @@ declare module "factorio:runtime" {
|
|
|
16351
16355
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
16352
16356
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
16353
16357
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
16354
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16358
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
|
16355
16359
|
*/
|
|
16356
16360
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
16357
16361
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -16457,7 +16461,7 @@ declare module "factorio:runtime" {
|
|
|
16457
16461
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
16458
16462
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
16459
16463
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
16460
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16464
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
|
16461
16465
|
*/
|
|
16462
16466
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
16463
16467
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -16562,7 +16566,7 @@ declare module "factorio:runtime" {
|
|
|
16562
16566
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
16563
16567
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
16564
16568
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
16565
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16569
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
|
16566
16570
|
*/
|
|
16567
16571
|
export type LuaEntityClonedEventFilter =
|
|
16568
16572
|
| TypeEntityClonedEventFilter
|
|
@@ -16667,7 +16671,7 @@ declare module "factorio:runtime" {
|
|
|
16667
16671
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
16668
16672
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
16669
16673
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
16670
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16674
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
|
16671
16675
|
*/
|
|
16672
16676
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
16673
16677
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -16707,7 +16711,7 @@ declare module "factorio:runtime" {
|
|
|
16707
16711
|
*
|
|
16708
16712
|
* Other attributes may be specified depending on `filter`:
|
|
16709
16713
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
16710
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16714
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
|
16711
16715
|
*/
|
|
16712
16716
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
16713
16717
|
/**
|
|
@@ -16742,7 +16746,7 @@ declare module "factorio:runtime" {
|
|
|
16742
16746
|
*
|
|
16743
16747
|
* Other attributes may be specified depending on `filter`:
|
|
16744
16748
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
16745
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16749
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
|
16746
16750
|
*/
|
|
16747
16751
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
16748
16752
|
/**
|
|
@@ -16848,7 +16852,7 @@ declare module "factorio:runtime" {
|
|
|
16848
16852
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
16849
16853
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
16850
16854
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
16851
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16855
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16852
16856
|
*/
|
|
16853
16857
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
16854
16858
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16858,7 +16862,7 @@ declare module "factorio:runtime" {
|
|
|
16858
16862
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
16859
16863
|
/**
|
|
16860
16864
|
* 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.
|
|
16865
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16862
16866
|
*/
|
|
16863
16867
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
16864
16868
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16963,7 +16967,7 @@ declare module "factorio:runtime" {
|
|
|
16963
16967
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
16964
16968
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
16965
16969
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
16966
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16970
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
|
16967
16971
|
*/
|
|
16968
16972
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
16969
16973
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -17068,7 +17072,7 @@ declare module "factorio:runtime" {
|
|
|
17068
17072
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
17069
17073
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
17070
17074
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
17071
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17075
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
|
17072
17076
|
*/
|
|
17073
17077
|
export type LuaPlayerMinedEntityEventFilter =
|
|
17074
17078
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -17173,7 +17177,7 @@ declare module "factorio:runtime" {
|
|
|
17173
17177
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
17174
17178
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
17175
17179
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
17176
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17180
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
|
17177
17181
|
*/
|
|
17178
17182
|
export type LuaSectorScannedEventFilter =
|
|
17179
17183
|
| TypeSectorScannedEventFilter
|
|
@@ -17278,7 +17282,7 @@ declare module "factorio:runtime" {
|
|
|
17278
17282
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
17279
17283
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
17280
17284
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
17281
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17285
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
|
17282
17286
|
*/
|
|
17283
17287
|
export type LuaRobotMinedEntityEventFilter =
|
|
17284
17288
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -17383,7 +17387,7 @@ declare module "factorio:runtime" {
|
|
|
17383
17387
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
17384
17388
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
17385
17389
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
17386
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17390
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
|
17387
17391
|
*/
|
|
17388
17392
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
17389
17393
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -17423,7 +17427,7 @@ declare module "factorio:runtime" {
|
|
|
17423
17427
|
*
|
|
17424
17428
|
* Other attributes may be specified depending on `filter`:
|
|
17425
17429
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
17426
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17430
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
|
17427
17431
|
*/
|
|
17428
17432
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
17429
17433
|
/**
|
|
@@ -17523,7 +17527,7 @@ declare module "factorio:runtime" {
|
|
|
17523
17527
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
17524
17528
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
17525
17529
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
17526
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17530
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
|
17527
17531
|
*/
|
|
17528
17532
|
export type LuaScriptRaisedReviveEventFilter =
|
|
17529
17533
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -17640,7 +17644,7 @@ declare module "factorio:runtime" {
|
|
|
17640
17644
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
17641
17645
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
17642
17646
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
17643
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17647
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
|
17644
17648
|
*/
|
|
17645
17649
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
17646
17650
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -17746,7 +17750,7 @@ declare module "factorio:runtime" {
|
|
|
17746
17750
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
17747
17751
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
17748
17752
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
17749
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17753
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
|
17750
17754
|
*/
|
|
17751
17755
|
export type LuaUpgradeCancelledEventFilter =
|
|
17752
17756
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -17926,7 +17930,7 @@ declare module "factorio:runtime" {
|
|
|
17926
17930
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
17927
17931
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
17928
17932
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
17929
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17933
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17930
17934
|
*/
|
|
17931
17935
|
export type LuaEntityDamagedEventFilter =
|
|
17932
17936
|
| TypeEntityDamagedEventFilter
|
|
@@ -17940,7 +17944,7 @@ declare module "factorio:runtime" {
|
|
|
17940
17944
|
| OtherEntityDamagedEventFilter
|
|
17941
17945
|
/**
|
|
17942
17946
|
* 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.
|
|
17947
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17944
17948
|
*/
|
|
17945
17949
|
export type LuaEntityDamagedEventFilterWrite =
|
|
17946
17950
|
| TypeEntityDamagedEventFilter
|
|
@@ -18061,7 +18065,7 @@ declare module "factorio:runtime" {
|
|
|
18061
18065
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
18062
18066
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
18063
18067
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
18064
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18068
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
|
18065
18069
|
*/
|
|
18066
18070
|
export type LuaEntityDiedEventFilter =
|
|
18067
18071
|
| TypeEntityDiedEventFilter
|
|
@@ -18167,7 +18171,7 @@ declare module "factorio:runtime" {
|
|
|
18167
18171
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
18168
18172
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
18169
18173
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
18170
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18174
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
|
18171
18175
|
*/
|
|
18172
18176
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
18173
18177
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -18218,7 +18222,7 @@ declare module "factorio:runtime" {
|
|
|
18218
18222
|
* Other attributes may be specified depending on `filter`:
|
|
18219
18223
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
18220
18224
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
18221
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18225
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
|
18222
18226
|
*/
|
|
18223
18227
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
18224
18228
|
NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter
|
|
@@ -18319,7 +18323,7 @@ declare module "factorio:runtime" {
|
|
|
18319
18323
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
18320
18324
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
18321
18325
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
18322
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18326
|
+
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
|
18323
18327
|
*/
|
|
18324
18328
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
18325
18329
|
| TypeScriptRaisedDestroyEventFilter
|