typed-factorio 4.6.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 +2566 -2473
- package/prototype/generated/types.d.ts +2689 -2613
- package/runtime/generated/classes.d.ts +5213 -5053
- package/runtime/generated/concepts.d.ts +484 -501
- package/runtime/generated/defines.d.ts +242 -218
- package/runtime/generated/events.d.ts +446 -230
- 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,46 +1372,16 @@ 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"
|
|
1377
|
-
/**
|
|
1378
|
-
* @see FluidFilterWrite
|
|
1379
|
-
* @see {@link https://lua-api.factorio.com/2.1.21/concepts/FluidFilter.html Online documentation}
|
|
1380
|
-
*/
|
|
1381
|
-
export interface FluidFilter {
|
|
1382
|
-
readonly fluid?: LuaFluidPrototype
|
|
1383
|
-
/**
|
|
1384
|
-
* The minimum fluid temperature required.
|
|
1385
|
-
*/
|
|
1386
|
-
readonly minimum_temperature?: float
|
|
1387
|
-
/**
|
|
1388
|
-
* The maximum fluid temperature allowed.
|
|
1389
|
-
*/
|
|
1390
|
-
readonly maximum_temperature?: float
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* Write form of {@link FluidFilter}, where some properties allow additional values as input compared to the read form.
|
|
1394
|
-
* @see {@link https://lua-api.factorio.com/2.1.21/concepts/FluidFilter.html Online documentation}
|
|
1395
|
-
*/
|
|
1396
|
-
export interface FluidFilterWrite {
|
|
1397
|
-
readonly fluid?: FluidID
|
|
1398
|
-
/**
|
|
1399
|
-
* The minimum fluid temperature required.
|
|
1400
|
-
*/
|
|
1401
|
-
readonly minimum_temperature?: float
|
|
1402
|
-
/**
|
|
1403
|
-
* The maximum fluid temperature allowed.
|
|
1404
|
-
*/
|
|
1405
|
-
readonly maximum_temperature?: float
|
|
1406
|
-
}
|
|
1407
1379
|
/**
|
|
1408
1380
|
* Reading this always returns the table with the named keys.
|
|
1409
1381
|
*
|
|
1410
1382
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
|
1411
1383
|
* @see Vector3DArray
|
|
1412
|
-
* @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}
|
|
1413
1385
|
*/
|
|
1414
1386
|
export interface Vector3D {
|
|
1415
1387
|
readonly x: float
|
|
@@ -1419,7 +1391,7 @@ declare module "factorio:runtime" {
|
|
|
1419
1391
|
/**
|
|
1420
1392
|
* Array form of {@link Vector3D}.
|
|
1421
1393
|
* @see Vector3D
|
|
1422
|
-
* @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}
|
|
1423
1395
|
*/
|
|
1424
1396
|
export type Vector3DArray = readonly [float, float, float]
|
|
1425
1397
|
export interface TrainVisualizationConstants {
|
|
@@ -1458,12 +1430,12 @@ declare module "factorio:runtime" {
|
|
|
1458
1430
|
}
|
|
1459
1431
|
/**
|
|
1460
1432
|
* Does not return the value at runtime.
|
|
1461
|
-
* @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}
|
|
1462
1434
|
*/
|
|
1463
1435
|
export type ColorLookupTable = nil
|
|
1464
1436
|
/**
|
|
1465
1437
|
* Returns an empty table at runtime.
|
|
1466
|
-
* @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}
|
|
1467
1439
|
*/
|
|
1468
1440
|
export type DaytimeColorLookupTable = "{}"
|
|
1469
1441
|
export interface ColorFilterData {
|
|
@@ -1499,6 +1471,18 @@ declare module "factorio:runtime" {
|
|
|
1499
1471
|
readonly x: float
|
|
1500
1472
|
readonly y: float
|
|
1501
1473
|
}
|
|
1474
|
+
export interface BuildPreviewTintSet {
|
|
1475
|
+
readonly buildable: Color
|
|
1476
|
+
readonly buildable_too_far: Color
|
|
1477
|
+
readonly ignorable: Color
|
|
1478
|
+
readonly not_buildable: Color
|
|
1479
|
+
}
|
|
1480
|
+
export interface BuildPreviewTints {
|
|
1481
|
+
readonly entity: BuildPreviewTintSet
|
|
1482
|
+
readonly tile: BuildPreviewTintSet
|
|
1483
|
+
readonly entity_chart: BuildPreviewTintSet
|
|
1484
|
+
readonly tile_chart: BuildPreviewTintSet
|
|
1485
|
+
}
|
|
1502
1486
|
export interface GhostTintSet {
|
|
1503
1487
|
readonly ghost_tint: Color
|
|
1504
1488
|
readonly ghost_delivery_tint: Color
|
|
@@ -1559,7 +1543,7 @@ declare module "factorio:runtime" {
|
|
|
1559
1543
|
}
|
|
1560
1544
|
/**
|
|
1561
1545
|
* @see TrainScheduleWrite
|
|
1562
|
-
* @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}
|
|
1563
1547
|
*/
|
|
1564
1548
|
export interface TrainSchedule {
|
|
1565
1549
|
/**
|
|
@@ -1570,7 +1554,7 @@ declare module "factorio:runtime" {
|
|
|
1570
1554
|
}
|
|
1571
1555
|
/**
|
|
1572
1556
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1573
|
-
* @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}
|
|
1574
1558
|
*/
|
|
1575
1559
|
export interface TrainScheduleWrite {
|
|
1576
1560
|
/**
|
|
@@ -1581,7 +1565,7 @@ declare module "factorio:runtime" {
|
|
|
1581
1565
|
}
|
|
1582
1566
|
/**
|
|
1583
1567
|
* @see PlatformScheduleWrite
|
|
1584
|
-
* @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}
|
|
1585
1569
|
*/
|
|
1586
1570
|
export interface PlatformSchedule {
|
|
1587
1571
|
/**
|
|
@@ -1592,7 +1576,7 @@ declare module "factorio:runtime" {
|
|
|
1592
1576
|
}
|
|
1593
1577
|
/**
|
|
1594
1578
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1595
|
-
* @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}
|
|
1596
1580
|
*/
|
|
1597
1581
|
export interface PlatformScheduleWrite {
|
|
1598
1582
|
/**
|
|
@@ -1667,7 +1651,7 @@ declare module "factorio:runtime" {
|
|
|
1667
1651
|
}
|
|
1668
1652
|
/**
|
|
1669
1653
|
* A recipe prototype with optional quality specification.
|
|
1670
|
-
* @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}
|
|
1671
1655
|
*/
|
|
1672
1656
|
export interface RecipeIDAndQualityIDPair {
|
|
1673
1657
|
/**
|
|
@@ -1732,7 +1716,7 @@ declare module "factorio:runtime" {
|
|
|
1732
1716
|
}
|
|
1733
1717
|
/**
|
|
1734
1718
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1735
|
-
* @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}
|
|
1736
1720
|
*/
|
|
1737
1721
|
export interface SegmentEngineSpecification {
|
|
1738
1722
|
/**
|
|
@@ -1746,7 +1730,7 @@ declare module "factorio:runtime" {
|
|
|
1746
1730
|
}
|
|
1747
1731
|
/**
|
|
1748
1732
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1749
|
-
* @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}
|
|
1750
1734
|
*/
|
|
1751
1735
|
export interface SegmentSpecification {
|
|
1752
1736
|
/**
|
|
@@ -1760,7 +1744,7 @@ declare module "factorio:runtime" {
|
|
|
1760
1744
|
}
|
|
1761
1745
|
/**
|
|
1762
1746
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1763
|
-
* @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}
|
|
1764
1748
|
*/
|
|
1765
1749
|
export interface TileBuildabilityRule {
|
|
1766
1750
|
/**
|
|
@@ -1954,7 +1938,7 @@ declare module "factorio:runtime" {
|
|
|
1954
1938
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1955
1939
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1956
1940
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1957
|
-
* @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}
|
|
1958
1942
|
*/
|
|
1959
1943
|
export type ForceID = string | uint8 | LuaForce
|
|
1960
1944
|
/**
|
|
@@ -1964,7 +1948,7 @@ declare module "factorio:runtime" {
|
|
|
1964
1948
|
* - `string`: The fluid name.
|
|
1965
1949
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1966
1950
|
* - {@link Fluid}: The fluid.
|
|
1967
|
-
* @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}
|
|
1968
1952
|
*/
|
|
1969
1953
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1970
1954
|
/**
|
|
@@ -1975,12 +1959,12 @@ declare module "factorio:runtime" {
|
|
|
1975
1959
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1976
1960
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1977
1961
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1978
|
-
* @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}
|
|
1979
1963
|
*/
|
|
1980
1964
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1981
1965
|
/**
|
|
1982
1966
|
* An entity prototype with optional quality specification.
|
|
1983
|
-
* @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}
|
|
1984
1968
|
*/
|
|
1985
1969
|
export interface EntityIDAndQualityIDPair {
|
|
1986
1970
|
/**
|
|
@@ -2000,13 +1984,13 @@ declare module "factorio:runtime" {
|
|
|
2000
1984
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
2001
1985
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2002
1986
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
2003
|
-
* @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}
|
|
2004
1988
|
*/
|
|
2005
1989
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
2006
1990
|
/**
|
|
2007
1991
|
* An item prototype with optional quality specification.
|
|
2008
1992
|
* @see ItemIDAndQualityIDPairWrite
|
|
2009
|
-
* @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}
|
|
2010
1994
|
*/
|
|
2011
1995
|
export interface ItemIDAndQualityIDPair {
|
|
2012
1996
|
/**
|
|
@@ -2020,7 +2004,7 @@ declare module "factorio:runtime" {
|
|
|
2020
2004
|
}
|
|
2021
2005
|
/**
|
|
2022
2006
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2023
|
-
* @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}
|
|
2024
2008
|
*/
|
|
2025
2009
|
export interface ItemIDAndQualityIDPairWrite {
|
|
2026
2010
|
/**
|
|
@@ -2040,7 +2024,7 @@ declare module "factorio:runtime" {
|
|
|
2040
2024
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
2041
2025
|
* - {@link LuaItem}: The item.
|
|
2042
2026
|
* - `string`: The prototype name.
|
|
2043
|
-
* @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}
|
|
2044
2028
|
*/
|
|
2045
2029
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
2046
2030
|
/**
|
|
@@ -2049,7 +2033,7 @@ declare module "factorio:runtime" {
|
|
|
2049
2033
|
* ## Union members
|
|
2050
2034
|
* - {@link LuaItemGroup}: The item group prototype.
|
|
2051
2035
|
* - `string`: The prototype name.
|
|
2052
|
-
* @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}
|
|
2053
2037
|
*/
|
|
2054
2038
|
export type ItemGroupID = LuaItemGroup | string
|
|
2055
2039
|
/**
|
|
@@ -2059,7 +2043,7 @@ declare module "factorio:runtime" {
|
|
|
2059
2043
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
2060
2044
|
* - {@link LuaEntity}: The entity.
|
|
2061
2045
|
* - `string`: The prototype name.
|
|
2062
|
-
* @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}
|
|
2063
2047
|
*/
|
|
2064
2048
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
2065
2049
|
/**
|
|
@@ -2069,7 +2053,7 @@ declare module "factorio:runtime" {
|
|
|
2069
2053
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
2070
2054
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
2071
2055
|
* - `string`: The prototype name.
|
|
2072
|
-
* @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}
|
|
2073
2057
|
*/
|
|
2074
2058
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
2075
2059
|
/**
|
|
@@ -2078,7 +2062,7 @@ declare module "factorio:runtime" {
|
|
|
2078
2062
|
* ## Union members
|
|
2079
2063
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
2080
2064
|
* - `string`: The prototype name.
|
|
2081
|
-
* @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}
|
|
2082
2066
|
*/
|
|
2083
2067
|
export type ParticleID = LuaParticlePrototype | string
|
|
2084
2068
|
/**
|
|
@@ -2087,7 +2071,7 @@ declare module "factorio:runtime" {
|
|
|
2087
2071
|
* ## Union members
|
|
2088
2072
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
2089
2073
|
* - `string`: The prototype name.
|
|
2090
|
-
* @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}
|
|
2091
2075
|
*/
|
|
2092
2076
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
2093
2077
|
/**
|
|
@@ -2096,7 +2080,7 @@ declare module "factorio:runtime" {
|
|
|
2096
2080
|
* ## Union members
|
|
2097
2081
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
2098
2082
|
* - `string`: The prototype name.
|
|
2099
|
-
* @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}
|
|
2100
2084
|
*/
|
|
2101
2085
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
2102
2086
|
/**
|
|
@@ -2108,7 +2092,7 @@ declare module "factorio:runtime" {
|
|
|
2108
2092
|
* - `"left"`
|
|
2109
2093
|
* - `"right"`
|
|
2110
2094
|
* - `"center"`
|
|
2111
|
-
* @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}
|
|
2112
2096
|
*/
|
|
2113
2097
|
export type TextAlign = "left" | "right" | "center"
|
|
2114
2098
|
/**
|
|
@@ -2121,7 +2105,7 @@ declare module "factorio:runtime" {
|
|
|
2121
2105
|
* - `"middle"`
|
|
2122
2106
|
* - `"baseline"`
|
|
2123
2107
|
* - `"bottom"`
|
|
2124
|
-
* @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}
|
|
2125
2109
|
*/
|
|
2126
2110
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
2127
2111
|
/**
|
|
@@ -2130,7 +2114,7 @@ declare module "factorio:runtime" {
|
|
|
2130
2114
|
* ## Union members
|
|
2131
2115
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
2132
2116
|
* - `string`: The prototype name.
|
|
2133
|
-
* @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}
|
|
2134
2118
|
*/
|
|
2135
2119
|
export type QualityID = LuaQualityPrototype | string
|
|
2136
2120
|
/**
|
|
@@ -2139,7 +2123,7 @@ declare module "factorio:runtime" {
|
|
|
2139
2123
|
* ## Union members
|
|
2140
2124
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
2141
2125
|
* - `string`: By name of the recipe category prototype.
|
|
2142
|
-
* @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}
|
|
2143
2127
|
*/
|
|
2144
2128
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
2145
2129
|
/**
|
|
@@ -2149,7 +2133,7 @@ declare module "factorio:runtime" {
|
|
|
2149
2133
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
2150
2134
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
2151
2135
|
* - `string`: By name of the recipe prototype.
|
|
2152
|
-
* @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}
|
|
2153
2137
|
*/
|
|
2154
2138
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
2155
2139
|
/**
|
|
@@ -2159,7 +2143,7 @@ declare module "factorio:runtime" {
|
|
|
2159
2143
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
2160
2144
|
* - {@link LuaTile}: By instance of tile.
|
|
2161
2145
|
* - `string`: By name of the tile prototype.
|
|
2162
|
-
* @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}
|
|
2163
2147
|
*/
|
|
2164
2148
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
2165
2149
|
export interface Fluid {
|
|
@@ -2183,7 +2167,7 @@ declare module "factorio:runtime" {
|
|
|
2183
2167
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
2184
2168
|
* - {@link LuaEquipment}: The equipment.
|
|
2185
2169
|
* - `string`: The prototype name.
|
|
2186
|
-
* @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}
|
|
2187
2171
|
*/
|
|
2188
2172
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
2189
2173
|
/**
|
|
@@ -2195,19 +2179,19 @@ declare module "factorio:runtime" {
|
|
|
2195
2179
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2196
2180
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
2197
2181
|
* @see EquipmentWithQualityIDWrite
|
|
2198
|
-
* @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}
|
|
2199
2183
|
*/
|
|
2200
2184
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
2201
2185
|
/**
|
|
2202
2186
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
|
2203
|
-
* @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}
|
|
2204
2188
|
*/
|
|
2205
2189
|
export type EquipmentWithQualityIDWrite =
|
|
2206
2190
|
LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite
|
|
2207
2191
|
/**
|
|
2208
2192
|
* An equipment prototype with optional quality specification.
|
|
2209
2193
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
2210
|
-
* @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}
|
|
2211
2195
|
*/
|
|
2212
2196
|
export interface EquipmentIDAndQualityIDPair {
|
|
2213
2197
|
/**
|
|
@@ -2221,7 +2205,7 @@ declare module "factorio:runtime" {
|
|
|
2221
2205
|
}
|
|
2222
2206
|
/**
|
|
2223
2207
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2224
|
-
* @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}
|
|
2225
2209
|
*/
|
|
2226
2210
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
2227
2211
|
/**
|
|
@@ -2268,7 +2252,7 @@ declare module "factorio:runtime" {
|
|
|
2268
2252
|
* @example
|
|
2269
2253
|
* -- Shorthand
|
|
2270
2254
|
* {{-2, -3}, {5, 8}}
|
|
2271
|
-
* @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}
|
|
2272
2256
|
*/
|
|
2273
2257
|
export interface BoundingBox {
|
|
2274
2258
|
readonly left_top: MapPosition
|
|
@@ -2278,7 +2262,7 @@ declare module "factorio:runtime" {
|
|
|
2278
2262
|
/**
|
|
2279
2263
|
* Array form of {@link BoundingBox}.
|
|
2280
2264
|
* @see BoundingBox
|
|
2281
|
-
* @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}
|
|
2282
2266
|
*/
|
|
2283
2267
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
2284
2268
|
export interface BoundingBoxWrite {
|
|
@@ -2341,7 +2325,7 @@ declare module "factorio:runtime" {
|
|
|
2341
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.
|
|
2342
2326
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
2343
2327
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
2344
|
-
* @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}
|
|
2345
2329
|
*/
|
|
2346
2330
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
2347
2331
|
/**
|
|
@@ -2351,7 +2335,7 @@ declare module "factorio:runtime" {
|
|
|
2351
2335
|
* - PlayerIndex: The player index.
|
|
2352
2336
|
* - `string`: The player name.
|
|
2353
2337
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
2354
|
-
* @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}
|
|
2355
2339
|
*/
|
|
2356
2340
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
2357
2341
|
/**
|
|
@@ -2360,7 +2344,7 @@ declare module "factorio:runtime" {
|
|
|
2360
2344
|
* ## Union members
|
|
2361
2345
|
* - {@link ForceID}[]: Array of many forces.
|
|
2362
2346
|
* - {@link ForceID}: A single force.
|
|
2363
|
-
* @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}
|
|
2364
2348
|
*/
|
|
2365
2349
|
export type ForceSet = readonly ForceID[] | ForceID
|
|
2366
2350
|
/**
|
|
@@ -2369,7 +2353,7 @@ declare module "factorio:runtime" {
|
|
|
2369
2353
|
* ## Union members
|
|
2370
2354
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
2371
2355
|
* - `string`: The prototype name.
|
|
2372
|
-
* @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}
|
|
2373
2357
|
*/
|
|
2374
2358
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
2375
2359
|
/**
|
|
@@ -2378,7 +2362,7 @@ declare module "factorio:runtime" {
|
|
|
2378
2362
|
* ## Union members
|
|
2379
2363
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
2380
2364
|
* - `string`: The prototype name.
|
|
2381
|
-
* @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}
|
|
2382
2366
|
*/
|
|
2383
2367
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
2384
2368
|
/**
|
|
@@ -2387,7 +2371,7 @@ declare module "factorio:runtime" {
|
|
|
2387
2371
|
* ## Union members
|
|
2388
2372
|
* - {@link LuaSpaceConnectionPrototype}: The space connection prototype.
|
|
2389
2373
|
* - `string`: The prototype name.
|
|
2390
|
-
* @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}
|
|
2391
2375
|
*/
|
|
2392
2376
|
export type SpaceConnectionID = LuaSpaceConnectionPrototype | string
|
|
2393
2377
|
/**
|
|
@@ -2396,7 +2380,7 @@ declare module "factorio:runtime" {
|
|
|
2396
2380
|
* ## Union members
|
|
2397
2381
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
2398
2382
|
* - `string`: The prototype name.
|
|
2399
|
-
* @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}
|
|
2400
2384
|
*/
|
|
2401
2385
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
2402
2386
|
/**
|
|
@@ -2404,7 +2388,7 @@ declare module "factorio:runtime" {
|
|
|
2404
2388
|
*
|
|
2405
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.
|
|
2406
2390
|
* @see SignalFilterWrite
|
|
2407
|
-
* @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}
|
|
2408
2392
|
*/
|
|
2409
2393
|
export type SignalFilter =
|
|
2410
2394
|
| {
|
|
@@ -2428,7 +2412,7 @@ declare module "factorio:runtime" {
|
|
|
2428
2412
|
| string
|
|
2429
2413
|
/**
|
|
2430
2414
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
|
2431
|
-
* @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}
|
|
2432
2416
|
*/
|
|
2433
2417
|
export type SignalFilterWrite =
|
|
2434
2418
|
| {
|
|
@@ -2452,7 +2436,7 @@ declare module "factorio:runtime" {
|
|
|
2452
2436
|
| string
|
|
2453
2437
|
/**
|
|
2454
2438
|
* @see LogisticFilterWrite
|
|
2455
|
-
* @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}
|
|
2456
2440
|
*/
|
|
2457
2441
|
export interface LogisticFilter {
|
|
2458
2442
|
/**
|
|
@@ -2482,7 +2466,7 @@ declare module "factorio:runtime" {
|
|
|
2482
2466
|
}
|
|
2483
2467
|
/**
|
|
2484
2468
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
2485
|
-
* @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}
|
|
2486
2470
|
*/
|
|
2487
2471
|
export interface LogisticFilterWrite {
|
|
2488
2472
|
/**
|
|
@@ -2558,7 +2542,7 @@ declare module "factorio:runtime" {
|
|
|
2558
2542
|
* ## Union members
|
|
2559
2543
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
2560
2544
|
* - `string`: The prototype name.
|
|
2561
|
-
* @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}
|
|
2562
2546
|
*/
|
|
2563
2547
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
2564
2548
|
/**
|
|
@@ -2580,12 +2564,12 @@ declare module "factorio:runtime" {
|
|
|
2580
2564
|
* target = {type = "cursor", offset = {6, 7}}
|
|
2581
2565
|
* @example
|
|
2582
2566
|
* target = {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2583
|
-
* @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}
|
|
2584
2568
|
*/
|
|
2585
2569
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
2586
2570
|
/**
|
|
2587
2571
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
|
2588
|
-
* @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}
|
|
2589
2573
|
*/
|
|
2590
2574
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
2591
2575
|
/**
|
|
@@ -2607,7 +2591,7 @@ declare module "factorio:runtime" {
|
|
|
2607
2591
|
* {type = "cursor", offset = {6, 7}}
|
|
2608
2592
|
* @example
|
|
2609
2593
|
* {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2610
|
-
* @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}
|
|
2611
2595
|
*/
|
|
2612
2596
|
export interface ScriptRenderTargetTable {
|
|
2613
2597
|
/**
|
|
@@ -2629,7 +2613,7 @@ declare module "factorio:runtime" {
|
|
|
2629
2613
|
}
|
|
2630
2614
|
/**
|
|
2631
2615
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
|
2632
|
-
* @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}
|
|
2633
2617
|
*/
|
|
2634
2618
|
export interface ScriptRenderTargetTableWrite {
|
|
2635
2619
|
/**
|
|
@@ -2668,13 +2652,13 @@ declare module "factorio:runtime" {
|
|
|
2668
2652
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
2669
2653
|
* "iron-plate"
|
|
2670
2654
|
* {name="iron-plate", count=100}
|
|
2671
|
-
* @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}
|
|
2672
2656
|
*/
|
|
2673
2657
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
2674
2658
|
/**
|
|
2675
2659
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
2676
2660
|
* @see QualityConditionWrite
|
|
2677
|
-
* @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}
|
|
2678
2662
|
*/
|
|
2679
2663
|
export type QualityCondition =
|
|
2680
2664
|
| {
|
|
@@ -2690,7 +2674,7 @@ declare module "factorio:runtime" {
|
|
|
2690
2674
|
| string
|
|
2691
2675
|
/**
|
|
2692
2676
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
|
2693
|
-
* @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}
|
|
2694
2678
|
*/
|
|
2695
2679
|
export type QualityConditionWrite =
|
|
2696
2680
|
| {
|
|
@@ -2707,7 +2691,7 @@ declare module "factorio:runtime" {
|
|
|
2707
2691
|
/**
|
|
2708
2692
|
* The destination of a cargo pod.
|
|
2709
2693
|
* @see CargoDestinationWrite
|
|
2710
|
-
* @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}
|
|
2711
2695
|
*/
|
|
2712
2696
|
export interface CargoDestination {
|
|
2713
2697
|
/**
|
|
@@ -2745,7 +2729,7 @@ declare module "factorio:runtime" {
|
|
|
2745
2729
|
}
|
|
2746
2730
|
/**
|
|
2747
2731
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
|
2748
|
-
* @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}
|
|
2749
2733
|
*/
|
|
2750
2734
|
export interface CargoDestinationWrite {
|
|
2751
2735
|
/**
|
|
@@ -2799,7 +2783,7 @@ declare module "factorio:runtime" {
|
|
|
2799
2783
|
* furthest = { zoom = 1 / 16 },
|
|
2800
2784
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2801
2785
|
* }
|
|
2802
|
-
* @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}
|
|
2803
2787
|
*/
|
|
2804
2788
|
export interface ZoomLimits {
|
|
2805
2789
|
/**
|
|
@@ -2829,7 +2813,7 @@ declare module "factorio:runtime" {
|
|
|
2829
2813
|
*
|
|
2830
2814
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2831
2815
|
* { distance = 200, max_distance = 500 }
|
|
2832
|
-
* @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}
|
|
2833
2817
|
*/
|
|
2834
2818
|
export interface ZoomSpecification {
|
|
2835
2819
|
/**
|
|
@@ -2850,7 +2834,7 @@ declare module "factorio:runtime" {
|
|
|
2850
2834
|
* - `"game"`: Draw the object in the game world.
|
|
2851
2835
|
* - `"chart"`: Draw the object on the map.
|
|
2852
2836
|
* - `"build-cursor"`: Draw the object only when the player holds a buildable item trying to build an entity.
|
|
2853
|
-
* @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}
|
|
2854
2838
|
*/
|
|
2855
2839
|
export type ScriptRenderMode = "game" | "chart" | "build-cursor"
|
|
2856
2840
|
/**
|
|
@@ -2858,7 +2842,7 @@ declare module "factorio:runtime" {
|
|
|
2858
2842
|
* - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings.
|
|
2859
2843
|
* - `"light"`: Draw as light.
|
|
2860
2844
|
* - `"glow"`: Draw as both occluder and light at once to make the sprite visible during the day and glow at night.
|
|
2861
|
-
* @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}
|
|
2862
2846
|
*/
|
|
2863
2847
|
export type ScriptSpriteLightMode = "occluder" | "light" | "glow"
|
|
2864
2848
|
/**
|
|
@@ -2869,7 +2853,7 @@ declare module "factorio:runtime" {
|
|
|
2869
2853
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2870
2854
|
* - {@link defines.events}: Event identifier.
|
|
2871
2855
|
* - `string`: Name of the event.
|
|
2872
|
-
* @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}
|
|
2873
2857
|
*/
|
|
2874
2858
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2875
2859
|
export interface UnlockableID {
|
|
@@ -2908,7 +2892,7 @@ declare module "factorio:runtime" {
|
|
|
2908
2892
|
* - `"starter-packs-available"`
|
|
2909
2893
|
* - `"thrusters-available"`
|
|
2910
2894
|
* - `"capture-robots-available"`
|
|
2911
|
-
* @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}
|
|
2912
2896
|
*/
|
|
2913
2897
|
export type UnlockableIDType =
|
|
2914
2898
|
| "space-location"
|
|
@@ -2934,7 +2918,7 @@ declare module "factorio:runtime" {
|
|
|
2934
2918
|
* - `"planet"`
|
|
2935
2919
|
* - `"platforms"`
|
|
2936
2920
|
* - `"all"`
|
|
2937
|
-
* @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}
|
|
2938
2922
|
*/
|
|
2939
2923
|
export type RequestFromLocation = "planet" | "platforms" | "all"
|
|
2940
2924
|
/**
|
|
@@ -2942,13 +2926,13 @@ declare module "factorio:runtime" {
|
|
|
2942
2926
|
* - `"never"`
|
|
2943
2927
|
* - `"has-unit"`
|
|
2944
2928
|
* - `"always"`
|
|
2945
|
-
* @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}
|
|
2946
2930
|
*/
|
|
2947
2931
|
export type TerritoryVisibilityCondition = "never" | "has-unit" | "always"
|
|
2948
2932
|
/**
|
|
2949
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.
|
|
2950
2934
|
* @see TilePositionArray
|
|
2951
|
-
* @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}
|
|
2952
2936
|
*/
|
|
2953
2937
|
export interface TilePosition {
|
|
2954
2938
|
readonly x: int32
|
|
@@ -2957,14 +2941,14 @@ declare module "factorio:runtime" {
|
|
|
2957
2941
|
/**
|
|
2958
2942
|
* Array form of {@link TilePosition}.
|
|
2959
2943
|
* @see TilePosition
|
|
2960
|
-
* @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}
|
|
2961
2945
|
*/
|
|
2962
2946
|
export type TilePositionArray = readonly [int32, int32]
|
|
2963
2947
|
/**
|
|
2964
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.
|
|
2965
2949
|
*
|
|
2966
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".
|
|
2967
|
-
* @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}
|
|
2968
2952
|
*/
|
|
2969
2953
|
export type RealOrientation = float
|
|
2970
2954
|
export interface MapLocation {
|
|
@@ -2983,7 +2967,7 @@ declare module "factorio:runtime" {
|
|
|
2983
2967
|
* @example
|
|
2984
2968
|
* -- Shorthand
|
|
2985
2969
|
* {1.625, 2.375}
|
|
2986
|
-
* @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}
|
|
2987
2971
|
*/
|
|
2988
2972
|
export interface MapPosition {
|
|
2989
2973
|
readonly x: double
|
|
@@ -2992,7 +2976,7 @@ declare module "factorio:runtime" {
|
|
|
2992
2976
|
/**
|
|
2993
2977
|
* Array form of {@link MapPosition}.
|
|
2994
2978
|
* @see MapPosition
|
|
2995
|
-
* @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}
|
|
2996
2980
|
*/
|
|
2997
2981
|
export type MapPositionArray = readonly [double, double]
|
|
2998
2982
|
/**
|
|
@@ -3005,7 +2989,7 @@ declare module "factorio:runtime" {
|
|
|
3005
2989
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
3006
2990
|
* black = {} -- All channels omitted: black
|
|
3007
2991
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
|
3008
|
-
* @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}
|
|
3009
2993
|
*/
|
|
3010
2994
|
export interface Color {
|
|
3011
2995
|
readonly r?: float
|
|
@@ -3016,7 +3000,7 @@ declare module "factorio:runtime" {
|
|
|
3016
3000
|
/**
|
|
3017
3001
|
* Array form of {@link Color}.
|
|
3018
3002
|
* @see Color
|
|
3019
|
-
* @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}
|
|
3020
3004
|
*/
|
|
3021
3005
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
3022
3006
|
/**
|
|
@@ -3024,7 +3008,7 @@ declare module "factorio:runtime" {
|
|
|
3024
3008
|
* - `"center-to-center"`
|
|
3025
3009
|
* - `"bounding-box-to-bounding-box"`
|
|
3026
3010
|
* - `"center-to-bounding-box"`
|
|
3027
|
-
* @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}
|
|
3028
3012
|
*/
|
|
3029
3013
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
3030
3014
|
export interface BlueprintRollingStockConnection {
|
|
@@ -4092,7 +4076,7 @@ declare module "factorio:runtime" {
|
|
|
4092
4076
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
4093
4077
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
4094
4078
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
4095
|
-
* @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}
|
|
4096
4080
|
*/
|
|
4097
4081
|
export type BlueprintEntity =
|
|
4098
4082
|
| AccumulatorBlueprintEntity
|
|
@@ -4159,7 +4143,7 @@ declare module "factorio:runtime" {
|
|
|
4159
4143
|
| WallBlueprintEntity
|
|
4160
4144
|
/**
|
|
4161
4145
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
|
4162
|
-
* @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}
|
|
4163
4147
|
*/
|
|
4164
4148
|
export type BlueprintEntityWrite =
|
|
4165
4149
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -4234,7 +4218,7 @@ declare module "factorio:runtime" {
|
|
|
4234
4218
|
* - `target_entity_number`
|
|
4235
4219
|
*
|
|
4236
4220
|
* - `target_wire_connector_id`
|
|
4237
|
-
* @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}
|
|
4238
4222
|
*/
|
|
4239
4223
|
export type BlueprintWire = [
|
|
4240
4224
|
source_entity_number: uint32,
|
|
@@ -4439,7 +4423,7 @@ declare module "factorio:runtime" {
|
|
|
4439
4423
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
4440
4424
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
4441
4425
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
4442
|
-
* @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}
|
|
4443
4427
|
*/
|
|
4444
4428
|
export type UndoRedoAction =
|
|
4445
4429
|
| BuiltEntityUndoRedoAction
|
|
@@ -4656,7 +4640,7 @@ declare module "factorio:runtime" {
|
|
|
4656
4640
|
* - `"play-previous-track"`
|
|
4657
4641
|
* - `"pause-resume-music"`
|
|
4658
4642
|
* - `""`: Indicates no linked game control.
|
|
4659
|
-
* @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}
|
|
4660
4644
|
*/
|
|
4661
4645
|
export type LinkedGameControl =
|
|
4662
4646
|
| "move-up"
|
|
@@ -4864,7 +4848,7 @@ declare module "factorio:runtime" {
|
|
|
4864
4848
|
* - {@link LuaSpaceLocationPrototype}
|
|
4865
4849
|
* - {@link LuaTilePrototype}
|
|
4866
4850
|
* - {@link LuaVirtualSignalPrototype}
|
|
4867
|
-
* @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}
|
|
4868
4852
|
*/
|
|
4869
4853
|
export type PipetteID =
|
|
4870
4854
|
| LuaEntityPrototype
|
|
@@ -4884,7 +4868,7 @@ declare module "factorio:runtime" {
|
|
|
4884
4868
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4885
4869
|
* - `"same"`: The same force pass.
|
|
4886
4870
|
* - `"not-same"`: The non-same forces pass.
|
|
4887
|
-
* @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}
|
|
4888
4872
|
*/
|
|
4889
4873
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4890
4874
|
/**
|
|
@@ -4892,7 +4876,7 @@ declare module "factorio:runtime" {
|
|
|
4892
4876
|
* - `"input-output"`
|
|
4893
4877
|
* - `"input"`
|
|
4894
4878
|
* - `"output"`
|
|
4895
|
-
* @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}
|
|
4896
4880
|
*/
|
|
4897
4881
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4898
4882
|
/**
|
|
@@ -4900,7 +4884,7 @@ declare module "factorio:runtime" {
|
|
|
4900
4884
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4901
4885
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4902
4886
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4903
|
-
* @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}
|
|
4904
4888
|
*/
|
|
4905
4889
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4906
4890
|
export interface PipeConnectionDefinition {
|
|
@@ -4932,7 +4916,7 @@ declare module "factorio:runtime" {
|
|
|
4932
4916
|
}
|
|
4933
4917
|
/**
|
|
4934
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`.
|
|
4935
|
-
* @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}
|
|
4936
4920
|
*/
|
|
4937
4921
|
export type FluidAmount = double
|
|
4938
4922
|
/**
|
|
@@ -4943,7 +4927,7 @@ declare module "factorio:runtime" {
|
|
|
4943
4927
|
* - `"input"`
|
|
4944
4928
|
* - `"input-output"`
|
|
4945
4929
|
* - `"output"`
|
|
4946
|
-
* @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}
|
|
4947
4931
|
*/
|
|
4948
4932
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4949
4933
|
export interface SurfaceCondition {
|
|
@@ -4955,7 +4939,7 @@ declare module "factorio:runtime" {
|
|
|
4955
4939
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4956
4940
|
*
|
|
4957
4941
|
* By default, none of these flags are set.
|
|
4958
|
-
* @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}
|
|
4959
4943
|
*/
|
|
4960
4944
|
export type ItemPrototypeFlags = {
|
|
4961
4945
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4965,6 +4949,7 @@ declare module "factorio:runtime" {
|
|
|
4965
4949
|
*
|
|
4966
4950
|
* ## Union members
|
|
4967
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.
|
|
4968
4953
|
* - `"excluded-from-trash-unrequested"`: If this item is skipped by the trash-unrequested logic.
|
|
4969
4954
|
* - `"excluded-from-character-lift-weight"`: Whether the rocket passenger feature skips this item when checking lift weight.
|
|
4970
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.
|
|
@@ -4980,10 +4965,11 @@ declare module "factorio:runtime" {
|
|
|
4980
4965
|
* - `"hide-health-bar-in-world"`
|
|
4981
4966
|
* - `"hide-spoilage-bar-in-world"`
|
|
4982
4967
|
* - `"no-item-on-ground-merging"`
|
|
4983
|
-
* @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}
|
|
4984
4969
|
*/
|
|
4985
4970
|
export type ItemPrototypeFlag =
|
|
4986
4971
|
| "draw-logistic-overlay"
|
|
4972
|
+
| "disable-logistic-overlay"
|
|
4987
4973
|
| "excluded-from-trash-unrequested"
|
|
4988
4974
|
| "excluded-from-character-lift-weight"
|
|
4989
4975
|
| "always-show"
|
|
@@ -5001,7 +4987,7 @@ declare module "factorio:runtime" {
|
|
|
5001
4987
|
| "no-item-on-ground-merging"
|
|
5002
4988
|
/**
|
|
5003
4989
|
* @see UpgradeMapperSourceWrite
|
|
5004
|
-
* @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}
|
|
5005
4991
|
*/
|
|
5006
4992
|
export interface UpgradeMapperSource {
|
|
5007
4993
|
readonly type: "item" | "entity"
|
|
@@ -5024,7 +5010,7 @@ declare module "factorio:runtime" {
|
|
|
5024
5010
|
}
|
|
5025
5011
|
/**
|
|
5026
5012
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
|
5027
|
-
* @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}
|
|
5028
5014
|
*/
|
|
5029
5015
|
export interface UpgradeMapperSourceWrite {
|
|
5030
5016
|
readonly type: "item" | "entity"
|
|
@@ -5114,7 +5100,7 @@ declare module "factorio:runtime" {
|
|
|
5114
5100
|
* - `"controllable-remove"`
|
|
5115
5101
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
5116
5102
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
5117
|
-
* @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}
|
|
5118
5104
|
*/
|
|
5119
5105
|
export interface SelectionModeFlags {
|
|
5120
5106
|
/**
|
|
@@ -5271,7 +5257,7 @@ declare module "factorio:runtime" {
|
|
|
5271
5257
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
5272
5258
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
5273
5259
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
5274
|
-
* @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}
|
|
5275
5261
|
*/
|
|
5276
5262
|
export type CapsuleAction =
|
|
5277
5263
|
| ThrowCapsuleAction
|
|
@@ -5284,7 +5270,7 @@ declare module "factorio:runtime" {
|
|
|
5284
5270
|
* - `"none"`
|
|
5285
5271
|
* - `"whitelist"`
|
|
5286
5272
|
* - `"blacklist"`
|
|
5287
|
-
* @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}
|
|
5288
5274
|
*/
|
|
5289
5275
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
5290
5276
|
export interface SpoilToTriggerResult {
|
|
@@ -5323,7 +5309,7 @@ declare module "factorio:runtime" {
|
|
|
5323
5309
|
* - `"entity"`: Fires at an entity.
|
|
5324
5310
|
* - `"position"`: Fires directly at a position.
|
|
5325
5311
|
* - `"direction"`: Fires in a direction.
|
|
5326
|
-
* @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}
|
|
5327
5313
|
*/
|
|
5328
5314
|
export type TargetType = "entity" | "position" | "direction"
|
|
5329
5315
|
export interface AmmoType {
|
|
@@ -5347,7 +5333,7 @@ declare module "factorio:runtime" {
|
|
|
5347
5333
|
}
|
|
5348
5334
|
/**
|
|
5349
5335
|
* @see BlueprintItemFilterWrite
|
|
5350
|
-
* @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}
|
|
5351
5337
|
*/
|
|
5352
5338
|
export interface BlueprintItemFilter {
|
|
5353
5339
|
readonly index: uint32
|
|
@@ -5366,7 +5352,7 @@ declare module "factorio:runtime" {
|
|
|
5366
5352
|
}
|
|
5367
5353
|
/**
|
|
5368
5354
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
5369
|
-
* @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}
|
|
5370
5356
|
*/
|
|
5371
5357
|
export interface BlueprintItemFilterWrite {
|
|
5372
5358
|
readonly index: uint32
|
|
@@ -5385,7 +5371,7 @@ declare module "factorio:runtime" {
|
|
|
5385
5371
|
}
|
|
5386
5372
|
/**
|
|
5387
5373
|
* @see BlueprintInventoryWithFiltersWrite
|
|
5388
|
-
* @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}
|
|
5389
5375
|
*/
|
|
5390
5376
|
export interface BlueprintInventoryWithFilters {
|
|
5391
5377
|
readonly bar?: ItemStackIndex
|
|
@@ -5393,7 +5379,7 @@ declare module "factorio:runtime" {
|
|
|
5393
5379
|
}
|
|
5394
5380
|
/**
|
|
5395
5381
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
|
5396
|
-
* @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}
|
|
5397
5383
|
*/
|
|
5398
5384
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
5399
5385
|
readonly bar?: ItemStackIndex
|
|
@@ -5460,7 +5446,7 @@ declare module "factorio:runtime" {
|
|
|
5460
5446
|
}
|
|
5461
5447
|
/**
|
|
5462
5448
|
* @see BlueprintEquipmentWrite
|
|
5463
|
-
* @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}
|
|
5464
5450
|
*/
|
|
5465
5451
|
export interface BlueprintEquipment {
|
|
5466
5452
|
readonly equipment: LuaEquipmentPrototype
|
|
@@ -5484,7 +5470,7 @@ declare module "factorio:runtime" {
|
|
|
5484
5470
|
}
|
|
5485
5471
|
/**
|
|
5486
5472
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
|
5487
|
-
* @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}
|
|
5488
5474
|
*/
|
|
5489
5475
|
export interface BlueprintEquipmentWrite {
|
|
5490
5476
|
readonly equipment: EquipmentWithQualityID
|
|
@@ -5516,7 +5502,7 @@ declare module "factorio:runtime" {
|
|
|
5516
5502
|
* @example
|
|
5517
5503
|
* -- Shorthand
|
|
5518
5504
|
* {1, 2}
|
|
5519
|
-
* @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}
|
|
5520
5506
|
*/
|
|
5521
5507
|
export interface EquipmentPosition {
|
|
5522
5508
|
readonly x: int32
|
|
@@ -5525,12 +5511,12 @@ declare module "factorio:runtime" {
|
|
|
5525
5511
|
/**
|
|
5526
5512
|
* Array form of {@link EquipmentPosition}.
|
|
5527
5513
|
* @see EquipmentPosition
|
|
5528
|
-
* @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}
|
|
5529
5515
|
*/
|
|
5530
5516
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
5531
5517
|
/**
|
|
5532
5518
|
* @see MapEditorSettingWrite
|
|
5533
|
-
* @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}
|
|
5534
5520
|
*/
|
|
5535
5521
|
export interface MapEditorSetting {
|
|
5536
5522
|
readonly position?: MapPosition
|
|
@@ -5568,7 +5554,7 @@ declare module "factorio:runtime" {
|
|
|
5568
5554
|
}
|
|
5569
5555
|
/**
|
|
5570
5556
|
* Write form of {@link MapEditorSetting}, where some properties allow additional values as input compared to the read form.
|
|
5571
|
-
* @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}
|
|
5572
5558
|
*/
|
|
5573
5559
|
export interface MapEditorSettingWrite {
|
|
5574
5560
|
readonly position?: MapPosition | MapPositionArray
|
|
@@ -5606,7 +5592,7 @@ declare module "factorio:runtime" {
|
|
|
5606
5592
|
}
|
|
5607
5593
|
/**
|
|
5608
5594
|
* An actual signal transmitted by the network.
|
|
5609
|
-
* @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}
|
|
5610
5596
|
*/
|
|
5611
5597
|
export interface Signal {
|
|
5612
5598
|
/**
|
|
@@ -5620,7 +5606,7 @@ declare module "factorio:runtime" {
|
|
|
5620
5606
|
}
|
|
5621
5607
|
/**
|
|
5622
5608
|
* @see DisplayPanelMessageDefinitionWrite
|
|
5623
|
-
* @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}
|
|
5624
5610
|
*/
|
|
5625
5611
|
export interface DisplayPanelMessageDefinition {
|
|
5626
5612
|
/**
|
|
@@ -5638,7 +5624,7 @@ declare module "factorio:runtime" {
|
|
|
5638
5624
|
}
|
|
5639
5625
|
/**
|
|
5640
5626
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
|
5641
|
-
* @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}
|
|
5642
5628
|
*/
|
|
5643
5629
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
5644
5630
|
/**
|
|
@@ -5666,7 +5652,7 @@ declare module "factorio:runtime" {
|
|
|
5666
5652
|
}
|
|
5667
5653
|
/**
|
|
5668
5654
|
* @see CircuitConditionWrite
|
|
5669
|
-
* @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}
|
|
5670
5656
|
*/
|
|
5671
5657
|
export interface CircuitCondition {
|
|
5672
5658
|
/**
|
|
@@ -5688,7 +5674,7 @@ declare module "factorio:runtime" {
|
|
|
5688
5674
|
}
|
|
5689
5675
|
/**
|
|
5690
5676
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
|
5691
|
-
* @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}
|
|
5692
5678
|
*/
|
|
5693
5679
|
export interface CircuitConditionWrite {
|
|
5694
5680
|
/**
|
|
@@ -5710,7 +5696,7 @@ declare module "factorio:runtime" {
|
|
|
5710
5696
|
}
|
|
5711
5697
|
/**
|
|
5712
5698
|
* @see SignalIDWrite
|
|
5713
|
-
* @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}
|
|
5714
5700
|
*/
|
|
5715
5701
|
export interface SignalID {
|
|
5716
5702
|
/**
|
|
@@ -5728,7 +5714,7 @@ declare module "factorio:runtime" {
|
|
|
5728
5714
|
}
|
|
5729
5715
|
/**
|
|
5730
5716
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
|
5731
|
-
* @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}
|
|
5732
5718
|
*/
|
|
5733
5719
|
export interface SignalIDWrite {
|
|
5734
5720
|
/**
|
|
@@ -5764,13 +5750,13 @@ declare module "factorio:runtime" {
|
|
|
5764
5750
|
* - `"space-location"`
|
|
5765
5751
|
* - `"asteroid-chunk"`
|
|
5766
5752
|
* - `"quality"`
|
|
5767
|
-
* @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}
|
|
5768
5754
|
*/
|
|
5769
5755
|
export type SignalIDType =
|
|
5770
5756
|
"item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality"
|
|
5771
5757
|
/**
|
|
5772
5758
|
* @see DeciderCombinatorParametersWrite
|
|
5773
|
-
* @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}
|
|
5774
5760
|
*/
|
|
5775
5761
|
export interface DeciderCombinatorParameters {
|
|
5776
5762
|
/**
|
|
@@ -5788,7 +5774,7 @@ declare module "factorio:runtime" {
|
|
|
5788
5774
|
}
|
|
5789
5775
|
/**
|
|
5790
5776
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5791
|
-
* @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}
|
|
5792
5778
|
*/
|
|
5793
5779
|
export interface DeciderCombinatorParametersWrite {
|
|
5794
5780
|
/**
|
|
@@ -5806,7 +5792,7 @@ declare module "factorio:runtime" {
|
|
|
5806
5792
|
}
|
|
5807
5793
|
/**
|
|
5808
5794
|
* @see DeciderCombinatorConditionWrite
|
|
5809
|
-
* @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}
|
|
5810
5796
|
*/
|
|
5811
5797
|
export interface DeciderCombinatorCondition {
|
|
5812
5798
|
/**
|
|
@@ -5840,7 +5826,7 @@ declare module "factorio:runtime" {
|
|
|
5840
5826
|
}
|
|
5841
5827
|
/**
|
|
5842
5828
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
|
5843
|
-
* @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}
|
|
5844
5830
|
*/
|
|
5845
5831
|
export interface DeciderCombinatorConditionWrite {
|
|
5846
5832
|
/**
|
|
@@ -5874,7 +5860,7 @@ declare module "factorio:runtime" {
|
|
|
5874
5860
|
}
|
|
5875
5861
|
/**
|
|
5876
5862
|
* @see DeciderCombinatorOutputWrite
|
|
5877
|
-
* @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}
|
|
5878
5864
|
*/
|
|
5879
5865
|
export interface DeciderCombinatorOutput {
|
|
5880
5866
|
/**
|
|
@@ -5896,7 +5882,7 @@ declare module "factorio:runtime" {
|
|
|
5896
5882
|
}
|
|
5897
5883
|
/**
|
|
5898
5884
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
|
5899
|
-
* @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}
|
|
5900
5886
|
*/
|
|
5901
5887
|
export interface DeciderCombinatorOutputWrite {
|
|
5902
5888
|
/**
|
|
@@ -5918,7 +5904,7 @@ declare module "factorio:runtime" {
|
|
|
5918
5904
|
}
|
|
5919
5905
|
/**
|
|
5920
5906
|
* @see ArithmeticCombinatorParametersWrite
|
|
5921
|
-
* @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}
|
|
5922
5908
|
*/
|
|
5923
5909
|
export interface ArithmeticCombinatorParameters {
|
|
5924
5910
|
/**
|
|
@@ -5956,7 +5942,7 @@ declare module "factorio:runtime" {
|
|
|
5956
5942
|
}
|
|
5957
5943
|
/**
|
|
5958
5944
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5959
|
-
* @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}
|
|
5960
5946
|
*/
|
|
5961
5947
|
export interface ArithmeticCombinatorParametersWrite {
|
|
5962
5948
|
/**
|
|
@@ -6005,7 +5991,7 @@ declare module "factorio:runtime" {
|
|
|
6005
5991
|
* - `"AND"`
|
|
6006
5992
|
* - `"OR"`
|
|
6007
5993
|
* - `"XOR"`
|
|
6008
|
-
* @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}
|
|
6009
5995
|
*/
|
|
6010
5996
|
export type ArithmeticCombinatorParameterOperation =
|
|
6011
5997
|
"*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR"
|
|
@@ -6181,7 +6167,7 @@ declare module "factorio:runtime" {
|
|
|
6181
6167
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
6182
6168
|
* - `"time"`: {@link TimeSelectorCombinatorParameters}
|
|
6183
6169
|
* - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters}
|
|
6184
|
-
* @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}
|
|
6185
6171
|
*/
|
|
6186
6172
|
export type SelectorCombinatorParameters =
|
|
6187
6173
|
| SelectSelectorCombinatorParameters
|
|
@@ -6194,7 +6180,7 @@ declare module "factorio:runtime" {
|
|
|
6194
6180
|
| OtherSelectorCombinatorParameters
|
|
6195
6181
|
/**
|
|
6196
6182
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
6197
|
-
* @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}
|
|
6198
6184
|
*/
|
|
6199
6185
|
export type SelectorCombinatorParametersWrite =
|
|
6200
6186
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -6216,7 +6202,7 @@ declare module "factorio:runtime" {
|
|
|
6216
6202
|
* - `"quality-filter"`
|
|
6217
6203
|
* - `"time"`
|
|
6218
6204
|
* - `"quality-select"`
|
|
6219
|
-
* @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}
|
|
6220
6206
|
*/
|
|
6221
6207
|
export type SelectorCombinatorParameterOperation =
|
|
6222
6208
|
| "select"
|
|
@@ -6277,7 +6263,7 @@ declare module "factorio:runtime" {
|
|
|
6277
6263
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6278
6264
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6279
6265
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6280
|
-
* @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}
|
|
6281
6267
|
*/
|
|
6282
6268
|
export type Product = ItemProduct | FluidProduct
|
|
6283
6269
|
export interface SharedProbabilityDefinition {
|
|
@@ -6298,7 +6284,7 @@ declare module "factorio:runtime" {
|
|
|
6298
6284
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6299
6285
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6300
6286
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6301
|
-
* @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}
|
|
6302
6288
|
*/
|
|
6303
6289
|
export interface ItemProduct {
|
|
6304
6290
|
readonly type: "item"
|
|
@@ -6349,7 +6335,7 @@ declare module "factorio:runtime" {
|
|
|
6349
6335
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6350
6336
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6351
6337
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6352
|
-
* @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}
|
|
6353
6339
|
*/
|
|
6354
6340
|
export interface FluidProduct {
|
|
6355
6341
|
readonly type: "fluid"
|
|
@@ -6390,7 +6376,7 @@ declare module "factorio:runtime" {
|
|
|
6390
6376
|
}
|
|
6391
6377
|
/**
|
|
6392
6378
|
* @see BlueprintScheduleRecordWrite
|
|
6393
|
-
* @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}
|
|
6394
6380
|
*/
|
|
6395
6381
|
export interface BlueprintScheduleRecord {
|
|
6396
6382
|
/**
|
|
@@ -6404,7 +6390,7 @@ declare module "factorio:runtime" {
|
|
|
6404
6390
|
}
|
|
6405
6391
|
/**
|
|
6406
6392
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6407
|
-
* @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}
|
|
6408
6394
|
*/
|
|
6409
6395
|
export interface BlueprintScheduleRecordWrite {
|
|
6410
6396
|
/**
|
|
@@ -6418,7 +6404,7 @@ declare module "factorio:runtime" {
|
|
|
6418
6404
|
}
|
|
6419
6405
|
/**
|
|
6420
6406
|
* @see ScheduleRecordWrite
|
|
6421
|
-
* @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}
|
|
6422
6408
|
*/
|
|
6423
6409
|
export interface ScheduleRecord {
|
|
6424
6410
|
/**
|
|
@@ -6437,7 +6423,7 @@ declare module "factorio:runtime" {
|
|
|
6437
6423
|
}
|
|
6438
6424
|
/**
|
|
6439
6425
|
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6440
|
-
* @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}
|
|
6441
6427
|
*/
|
|
6442
6428
|
export interface ScheduleRecordWrite {
|
|
6443
6429
|
/**
|
|
@@ -6456,7 +6442,7 @@ declare module "factorio:runtime" {
|
|
|
6456
6442
|
}
|
|
6457
6443
|
/**
|
|
6458
6444
|
* @see BlueprintScheduleInterruptWrite
|
|
6459
|
-
* @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}
|
|
6460
6446
|
*/
|
|
6461
6447
|
export interface BlueprintScheduleInterrupt {
|
|
6462
6448
|
/**
|
|
@@ -6472,7 +6458,7 @@ declare module "factorio:runtime" {
|
|
|
6472
6458
|
}
|
|
6473
6459
|
/**
|
|
6474
6460
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6475
|
-
* @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}
|
|
6476
6462
|
*/
|
|
6477
6463
|
export interface BlueprintScheduleInterruptWrite {
|
|
6478
6464
|
/**
|
|
@@ -6488,7 +6474,7 @@ declare module "factorio:runtime" {
|
|
|
6488
6474
|
}
|
|
6489
6475
|
/**
|
|
6490
6476
|
* @see ScheduleInterruptWrite
|
|
6491
|
-
* @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}
|
|
6492
6478
|
*/
|
|
6493
6479
|
export interface ScheduleInterrupt {
|
|
6494
6480
|
/**
|
|
@@ -6504,7 +6490,7 @@ declare module "factorio:runtime" {
|
|
|
6504
6490
|
}
|
|
6505
6491
|
/**
|
|
6506
6492
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6507
|
-
* @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}
|
|
6508
6494
|
*/
|
|
6509
6495
|
export interface ScheduleInterruptWrite {
|
|
6510
6496
|
/**
|
|
@@ -6520,7 +6506,7 @@ declare module "factorio:runtime" {
|
|
|
6520
6506
|
}
|
|
6521
6507
|
/**
|
|
6522
6508
|
* @see WaitConditionWrite
|
|
6523
|
-
* @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}
|
|
6524
6510
|
*/
|
|
6525
6511
|
export interface WaitCondition {
|
|
6526
6512
|
readonly type: WaitConditionType
|
|
@@ -6551,7 +6537,7 @@ declare module "factorio:runtime" {
|
|
|
6551
6537
|
}
|
|
6552
6538
|
/**
|
|
6553
6539
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
|
6554
|
-
* @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}
|
|
6555
6541
|
*/
|
|
6556
6542
|
export interface WaitConditionWrite {
|
|
6557
6543
|
readonly type: WaitConditionType
|
|
@@ -6610,7 +6596,7 @@ declare module "factorio:runtime" {
|
|
|
6610
6596
|
* - `"at_station"`
|
|
6611
6597
|
* - `"not_at_station"`
|
|
6612
6598
|
* - `"damage_taken"`
|
|
6613
|
-
* @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}
|
|
6614
6600
|
*/
|
|
6615
6601
|
export type WaitConditionType =
|
|
6616
6602
|
| "time"
|
|
@@ -6641,7 +6627,7 @@ declare module "factorio:runtime" {
|
|
|
6641
6627
|
| "damage_taken"
|
|
6642
6628
|
/**
|
|
6643
6629
|
* @see BlueprintScheduleWrite
|
|
6644
|
-
* @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}
|
|
6645
6631
|
*/
|
|
6646
6632
|
export interface BlueprintSchedule {
|
|
6647
6633
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6650,7 +6636,7 @@ declare module "factorio:runtime" {
|
|
|
6650
6636
|
}
|
|
6651
6637
|
/**
|
|
6652
6638
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
|
6653
|
-
* @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}
|
|
6654
6640
|
*/
|
|
6655
6641
|
export interface BlueprintScheduleWrite {
|
|
6656
6642
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6722,7 +6708,7 @@ declare module "factorio:runtime" {
|
|
|
6722
6708
|
* - `"vehicle-logistics"`
|
|
6723
6709
|
* - `"unlock-logistic-network"`
|
|
6724
6710
|
* - `"unlock-travel-to-space-platforms"`
|
|
6725
|
-
* @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}
|
|
6726
6712
|
*/
|
|
6727
6713
|
export type ModifierType =
|
|
6728
6714
|
| "inserter-stack-size-bonus"
|
|
@@ -7377,7 +7363,7 @@ declare module "factorio:runtime" {
|
|
|
7377
7363
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7378
7364
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7379
7365
|
* - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier}
|
|
7380
|
-
* @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}
|
|
7381
7367
|
*/
|
|
7382
7368
|
export type TechnologyModifier =
|
|
7383
7369
|
| AmmoDamageTechnologyModifier
|
|
@@ -7485,7 +7471,7 @@ declare module "factorio:runtime" {
|
|
|
7485
7471
|
* Other attributes may be specified depending on `type`:
|
|
7486
7472
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7487
7473
|
* - `"item"`: {@link ItemIngredient}
|
|
7488
|
-
* @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}
|
|
7489
7475
|
*/
|
|
7490
7476
|
export type Ingredient = FluidIngredient | ItemIngredient
|
|
7491
7477
|
/**
|
|
@@ -7506,7 +7492,7 @@ declare module "factorio:runtime" {
|
|
|
7506
7492
|
* * other_base_coefficient
|
|
7507
7493
|
* score(chunk) = 1 / (1 + player + base)
|
|
7508
7494
|
* ```
|
|
7509
|
-
* @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}
|
|
7510
7496
|
*/
|
|
7511
7497
|
export interface EnemyExpansionMapSettings {
|
|
7512
7498
|
/**
|
|
@@ -7771,23 +7757,23 @@ declare module "factorio:runtime" {
|
|
|
7771
7757
|
}
|
|
7772
7758
|
/**
|
|
7773
7759
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
|
7774
|
-
* @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}
|
|
7775
7761
|
*/
|
|
7776
7762
|
export interface DifficultySettings {
|
|
7777
7763
|
/**
|
|
7778
7764
|
* A value in range [0.001, 100000].
|
|
7779
|
-
* @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}
|
|
7780
7766
|
*/
|
|
7781
7767
|
technology_price_multiplier: double
|
|
7782
7768
|
/**
|
|
7783
7769
|
* A value in range [0.01, 100].
|
|
7784
|
-
* @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}
|
|
7785
7771
|
*/
|
|
7786
7772
|
spoil_time_modifier: double
|
|
7787
7773
|
}
|
|
7788
7774
|
/**
|
|
7789
7775
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
|
7790
|
-
* @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}
|
|
7791
7777
|
*/
|
|
7792
7778
|
export interface MapAndDifficultySettings {
|
|
7793
7779
|
readonly pollution: PollutionMapSettings
|
|
@@ -7807,7 +7793,7 @@ declare module "factorio:runtime" {
|
|
|
7807
7793
|
* @example
|
|
7808
7794
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7809
7795
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7810
|
-
* @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}
|
|
7811
7797
|
*/
|
|
7812
7798
|
export interface MapSettings {
|
|
7813
7799
|
pollution: PollutionMapSettings
|
|
@@ -7818,7 +7804,7 @@ declare module "factorio:runtime" {
|
|
|
7818
7804
|
asteroids: AsteroidMapSettings
|
|
7819
7805
|
/**
|
|
7820
7806
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
7821
|
-
* @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}
|
|
7822
7808
|
*/
|
|
7823
7809
|
max_failed_behavior_count: uint32
|
|
7824
7810
|
}
|
|
@@ -7847,7 +7833,7 @@ declare module "factorio:runtime" {
|
|
|
7847
7833
|
* - `"very-high"`: equivalent to `2`.
|
|
7848
7834
|
* - `"very-big"`: equivalent to `2`.
|
|
7849
7835
|
* - `"very-good"`: equivalent to `2`.
|
|
7850
|
-
* @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}
|
|
7851
7837
|
*/
|
|
7852
7838
|
export type MapGenSize =
|
|
7853
7839
|
| float
|
|
@@ -7869,7 +7855,7 @@ declare module "factorio:runtime" {
|
|
|
7869
7855
|
| "very-good"
|
|
7870
7856
|
/**
|
|
7871
7857
|
* These values are for the time frame of one second (60 ticks).
|
|
7872
|
-
* @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}
|
|
7873
7859
|
*/
|
|
7874
7860
|
export interface PollutionMapSettings {
|
|
7875
7861
|
/**
|
|
@@ -7919,7 +7905,7 @@ declare module "factorio:runtime" {
|
|
|
7919
7905
|
}
|
|
7920
7906
|
/**
|
|
7921
7907
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
|
7922
|
-
* @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}
|
|
7923
7909
|
*/
|
|
7924
7910
|
export interface EnemyEvolutionMapSettings {
|
|
7925
7911
|
/**
|
|
@@ -7941,7 +7927,7 @@ declare module "factorio:runtime" {
|
|
|
7941
7927
|
}
|
|
7942
7928
|
/**
|
|
7943
7929
|
* @see AutoplaceControlWrite
|
|
7944
|
-
* @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}
|
|
7945
7931
|
*/
|
|
7946
7932
|
export interface AutoplaceControl {
|
|
7947
7933
|
/**
|
|
@@ -7959,7 +7945,7 @@ declare module "factorio:runtime" {
|
|
|
7959
7945
|
}
|
|
7960
7946
|
/**
|
|
7961
7947
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
|
7962
|
-
* @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}
|
|
7963
7949
|
*/
|
|
7964
7950
|
export interface AutoplaceControlWrite {
|
|
7965
7951
|
/**
|
|
@@ -7977,7 +7963,7 @@ declare module "factorio:runtime" {
|
|
|
7977
7963
|
}
|
|
7978
7964
|
/**
|
|
7979
7965
|
* @see CliffPlacementSettingsWrite
|
|
7980
|
-
* @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}
|
|
7981
7967
|
*/
|
|
7982
7968
|
export interface CliffPlacementSettings {
|
|
7983
7969
|
/**
|
|
@@ -8007,7 +7993,7 @@ declare module "factorio:runtime" {
|
|
|
8007
7993
|
}
|
|
8008
7994
|
/**
|
|
8009
7995
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
|
8010
|
-
* @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}
|
|
8011
7997
|
*/
|
|
8012
7998
|
export interface CliffPlacementSettingsWrite {
|
|
8013
7999
|
/**
|
|
@@ -8037,7 +8023,7 @@ declare module "factorio:runtime" {
|
|
|
8037
8023
|
}
|
|
8038
8024
|
/**
|
|
8039
8025
|
* @see AutoplaceSettingsWrite
|
|
8040
|
-
* @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}
|
|
8041
8027
|
*/
|
|
8042
8028
|
export interface AutoplaceSettings {
|
|
8043
8029
|
/**
|
|
@@ -8051,7 +8037,7 @@ declare module "factorio:runtime" {
|
|
|
8051
8037
|
}
|
|
8052
8038
|
/**
|
|
8053
8039
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
|
8054
|
-
* @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}
|
|
8055
8041
|
*/
|
|
8056
8042
|
export interface AutoplaceSettingsWrite {
|
|
8057
8043
|
/**
|
|
@@ -8087,7 +8073,7 @@ declare module "factorio:runtime" {
|
|
|
8087
8073
|
* surface.map_gen_settings = mgs
|
|
8088
8074
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
8089
8075
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
8090
|
-
* @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}
|
|
8091
8077
|
*/
|
|
8092
8078
|
export interface MapGenSettings {
|
|
8093
8079
|
/**
|
|
@@ -8142,7 +8128,7 @@ declare module "factorio:runtime" {
|
|
|
8142
8128
|
}
|
|
8143
8129
|
/**
|
|
8144
8130
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
|
8145
|
-
* @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}
|
|
8146
8132
|
*/
|
|
8147
8133
|
export interface MapGenSettingsWrite {
|
|
8148
8134
|
/**
|
|
@@ -8226,12 +8212,12 @@ declare module "factorio:runtime" {
|
|
|
8226
8212
|
}
|
|
8227
8213
|
/**
|
|
8228
8214
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
|
8229
|
-
* @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}
|
|
8230
8216
|
*/
|
|
8231
8217
|
export type NoiseExpressionSourceString = string
|
|
8232
8218
|
/**
|
|
8233
8219
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
8234
|
-
* @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}
|
|
8235
8221
|
*/
|
|
8236
8222
|
export interface AutoplaceSpecification {
|
|
8237
8223
|
readonly placement_density: uint32
|
|
@@ -8314,13 +8300,13 @@ declare module "factorio:runtime" {
|
|
|
8314
8300
|
*/
|
|
8315
8301
|
readonly migration_applied: boolean
|
|
8316
8302
|
/**
|
|
8317
|
-
* 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.
|
|
8318
8304
|
*/
|
|
8319
8305
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8320
8306
|
}
|
|
8321
8307
|
/**
|
|
8322
8308
|
* @see AsteroidChunkWrite
|
|
8323
|
-
* @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}
|
|
8324
8310
|
*/
|
|
8325
8311
|
export interface AsteroidChunk {
|
|
8326
8312
|
/**
|
|
@@ -8332,7 +8318,7 @@ declare module "factorio:runtime" {
|
|
|
8332
8318
|
}
|
|
8333
8319
|
/**
|
|
8334
8320
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
|
8335
|
-
* @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}
|
|
8336
8322
|
*/
|
|
8337
8323
|
export interface AsteroidChunkWrite {
|
|
8338
8324
|
/**
|
|
@@ -8344,7 +8330,7 @@ declare module "factorio:runtime" {
|
|
|
8344
8330
|
}
|
|
8345
8331
|
/**
|
|
8346
8332
|
* An item thrown overboard on a space platform.
|
|
8347
|
-
* @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}
|
|
8348
8334
|
*/
|
|
8349
8335
|
export interface EjectedItem {
|
|
8350
8336
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8356,7 +8342,7 @@ declare module "factorio:runtime" {
|
|
|
8356
8342
|
}
|
|
8357
8343
|
/**
|
|
8358
8344
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
8359
|
-
* @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}
|
|
8360
8346
|
*/
|
|
8361
8347
|
export interface MapExchangeStringData {
|
|
8362
8348
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8382,7 +8368,7 @@ declare module "factorio:runtime" {
|
|
|
8382
8368
|
}
|
|
8383
8369
|
/**
|
|
8384
8370
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8385
|
-
* @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}
|
|
8386
8372
|
*/
|
|
8387
8373
|
export interface ChunkPositionAndArea {
|
|
8388
8374
|
readonly x: int32
|
|
@@ -8431,7 +8417,7 @@ declare module "factorio:runtime" {
|
|
|
8431
8417
|
* - `"check-box"`
|
|
8432
8418
|
* - `"switch"`
|
|
8433
8419
|
* - `"label"`
|
|
8434
|
-
* @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}
|
|
8435
8421
|
*/
|
|
8436
8422
|
export type SimulationWidgetType =
|
|
8437
8423
|
| "signal-id"
|
|
@@ -8620,7 +8606,7 @@ declare module "factorio:runtime" {
|
|
|
8620
8606
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8621
8607
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8622
8608
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8623
|
-
* @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}
|
|
8624
8610
|
*/
|
|
8625
8611
|
export type SegmentedUnitAIState =
|
|
8626
8612
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8630,7 +8616,7 @@ declare module "factorio:runtime" {
|
|
|
8630
8616
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8631
8617
|
/**
|
|
8632
8618
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
|
8633
|
-
* @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}
|
|
8634
8620
|
*/
|
|
8635
8621
|
export type SegmentedUnitAIStateWrite =
|
|
8636
8622
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8778,7 +8764,7 @@ declare module "factorio:runtime" {
|
|
|
8778
8764
|
/**
|
|
8779
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].
|
|
8780
8766
|
* @see ColorModifierArray
|
|
8781
|
-
* @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}
|
|
8782
8768
|
*/
|
|
8783
8769
|
export interface ColorModifier {
|
|
8784
8770
|
readonly r?: float
|
|
@@ -8789,7 +8775,7 @@ declare module "factorio:runtime" {
|
|
|
8789
8775
|
/**
|
|
8790
8776
|
* Array form of {@link ColorModifier}.
|
|
8791
8777
|
* @see ColorModifier
|
|
8792
|
-
* @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}
|
|
8793
8779
|
*/
|
|
8794
8780
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8795
8781
|
export interface Decorative {
|
|
@@ -8808,7 +8794,7 @@ declare module "factorio:runtime" {
|
|
|
8808
8794
|
/**
|
|
8809
8795
|
* An area defined using the map editor.
|
|
8810
8796
|
* @see ScriptAreaWrite
|
|
8811
|
-
* @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}
|
|
8812
8798
|
*/
|
|
8813
8799
|
export interface ScriptArea {
|
|
8814
8800
|
readonly area: BoundingBox
|
|
@@ -8818,7 +8804,7 @@ declare module "factorio:runtime" {
|
|
|
8818
8804
|
}
|
|
8819
8805
|
/**
|
|
8820
8806
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
|
8821
|
-
* @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}
|
|
8822
8808
|
*/
|
|
8823
8809
|
export interface ScriptAreaWrite {
|
|
8824
8810
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8829,7 +8815,7 @@ declare module "factorio:runtime" {
|
|
|
8829
8815
|
/**
|
|
8830
8816
|
* A position defined using the map editor.
|
|
8831
8817
|
* @see ScriptPositionWrite
|
|
8832
|
-
* @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}
|
|
8833
8819
|
*/
|
|
8834
8820
|
export interface ScriptPosition {
|
|
8835
8821
|
readonly position: MapPosition
|
|
@@ -8839,7 +8825,7 @@ declare module "factorio:runtime" {
|
|
|
8839
8825
|
}
|
|
8840
8826
|
/**
|
|
8841
8827
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
|
8842
|
-
* @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}
|
|
8843
8829
|
*/
|
|
8844
8830
|
export interface ScriptPositionWrite {
|
|
8845
8831
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8855,7 +8841,7 @@ declare module "factorio:runtime" {
|
|
|
8855
8841
|
}
|
|
8856
8842
|
/**
|
|
8857
8843
|
* A table used to define a manual shape for a piece of equipment.
|
|
8858
|
-
* @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}
|
|
8859
8845
|
*/
|
|
8860
8846
|
export interface EquipmentPoint {
|
|
8861
8847
|
readonly x: uint32
|
|
@@ -8864,7 +8850,7 @@ declare module "factorio:runtime" {
|
|
|
8864
8850
|
/**
|
|
8865
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.
|
|
8866
8852
|
* @see GuiLocationArray
|
|
8867
|
-
* @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}
|
|
8868
8854
|
*/
|
|
8869
8855
|
export interface GuiLocation {
|
|
8870
8856
|
readonly x: int32
|
|
@@ -8873,7 +8859,7 @@ declare module "factorio:runtime" {
|
|
|
8873
8859
|
/**
|
|
8874
8860
|
* Array form of {@link GuiLocation}.
|
|
8875
8861
|
* @see GuiLocation
|
|
8876
|
-
* @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}
|
|
8877
8863
|
*/
|
|
8878
8864
|
export type GuiLocationArray = readonly [int32, int32]
|
|
8879
8865
|
export interface TabAndContent {
|
|
@@ -8902,7 +8888,7 @@ declare module "factorio:runtime" {
|
|
|
8902
8888
|
}
|
|
8903
8889
|
/**
|
|
8904
8890
|
* Either `icon`, `text`, or both must be provided.
|
|
8905
|
-
* @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}
|
|
8906
8892
|
*/
|
|
8907
8893
|
export interface ChartTagSpec {
|
|
8908
8894
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -9045,7 +9031,7 @@ declare module "factorio:runtime" {
|
|
|
9045
9031
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
9046
9032
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
9047
9033
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
9048
|
-
* @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}
|
|
9049
9035
|
*/
|
|
9050
9036
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
9051
9037
|
/**
|
|
@@ -9054,7 +9040,7 @@ declare module "factorio:runtime" {
|
|
|
9054
9040
|
* - {@link RailEndGoal}
|
|
9055
9041
|
* - {@link LuaRailEnd}
|
|
9056
9042
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
|
9057
|
-
* @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}
|
|
9058
9044
|
*/
|
|
9059
9045
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
9060
9046
|
export interface TrainStopGoal {
|
|
@@ -9187,7 +9173,7 @@ declare module "factorio:runtime" {
|
|
|
9187
9173
|
}
|
|
9188
9174
|
/**
|
|
9189
9175
|
* @see QuickBarSlotWrite
|
|
9190
|
-
* @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}
|
|
9191
9177
|
*/
|
|
9192
9178
|
export interface QuickBarSlot {
|
|
9193
9179
|
/**
|
|
@@ -9213,7 +9199,7 @@ declare module "factorio:runtime" {
|
|
|
9213
9199
|
}
|
|
9214
9200
|
/**
|
|
9215
9201
|
* Write form of {@link QuickBarSlot}, where some properties allow additional values as input compared to the read form.
|
|
9216
|
-
* @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}
|
|
9217
9203
|
*/
|
|
9218
9204
|
export interface QuickBarSlotWrite {
|
|
9219
9205
|
/**
|
|
@@ -9266,7 +9252,7 @@ declare module "factorio:runtime" {
|
|
|
9266
9252
|
}
|
|
9267
9253
|
/**
|
|
9268
9254
|
* Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}.
|
|
9269
|
-
* @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}
|
|
9270
9256
|
*/
|
|
9271
9257
|
export type FluidStorageIndex = uint32
|
|
9272
9258
|
export interface FluidBoxNeighbourRecord {
|
|
@@ -9275,7 +9261,7 @@ declare module "factorio:runtime" {
|
|
|
9275
9261
|
}
|
|
9276
9262
|
/**
|
|
9277
9263
|
* A single pipe connection for a given fluidbox.
|
|
9278
|
-
* @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}
|
|
9279
9265
|
*/
|
|
9280
9266
|
export interface PipeConnection {
|
|
9281
9267
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -9324,7 +9310,7 @@ declare module "factorio:runtime" {
|
|
|
9324
9310
|
}
|
|
9325
9311
|
/**
|
|
9326
9312
|
* @see LabStoredDurabilityWrite
|
|
9327
|
-
* @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}
|
|
9328
9314
|
*/
|
|
9329
9315
|
export interface LabStoredDurability {
|
|
9330
9316
|
/**
|
|
@@ -9338,7 +9324,7 @@ declare module "factorio:runtime" {
|
|
|
9338
9324
|
}
|
|
9339
9325
|
/**
|
|
9340
9326
|
* Write form of {@link LabStoredDurability}, where some properties allow additional values as input compared to the read form.
|
|
9341
|
-
* @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}
|
|
9342
9328
|
*/
|
|
9343
9329
|
export interface LabStoredDurabilityWrite {
|
|
9344
9330
|
/**
|
|
@@ -9400,7 +9386,7 @@ declare module "factorio:runtime" {
|
|
|
9400
9386
|
* - `"surface"`
|
|
9401
9387
|
* - `"mod-data"`
|
|
9402
9388
|
* - `"custom-event"`
|
|
9403
|
-
* @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}
|
|
9404
9390
|
*/
|
|
9405
9391
|
export type IDType =
|
|
9406
9392
|
| "custom-input"
|
|
@@ -9453,7 +9439,7 @@ declare module "factorio:runtime" {
|
|
|
9453
9439
|
}
|
|
9454
9440
|
/**
|
|
9455
9441
|
* An item prototype with optional quality specification.
|
|
9456
|
-
* @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}
|
|
9457
9443
|
*/
|
|
9458
9444
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9459
9445
|
/**
|
|
@@ -9481,7 +9467,7 @@ declare module "factorio:runtime" {
|
|
|
9481
9467
|
}
|
|
9482
9468
|
/**
|
|
9483
9469
|
* @see EntityIDFilterWrite
|
|
9484
|
-
* @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}
|
|
9485
9471
|
*/
|
|
9486
9472
|
export interface EntityIDFilter {
|
|
9487
9473
|
/**
|
|
@@ -9499,7 +9485,7 @@ declare module "factorio:runtime" {
|
|
|
9499
9485
|
}
|
|
9500
9486
|
/**
|
|
9501
9487
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
|
9502
|
-
* @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}
|
|
9503
9489
|
*/
|
|
9504
9490
|
export interface EntityIDFilterWrite {
|
|
9505
9491
|
/**
|
|
@@ -9519,7 +9505,7 @@ declare module "factorio:runtime" {
|
|
|
9519
9505
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9520
9506
|
*
|
|
9521
9507
|
* By default, none of these flags are set.
|
|
9522
|
-
* @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}
|
|
9523
9509
|
*/
|
|
9524
9510
|
export type EntityPrototypeFlags = {
|
|
9525
9511
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9557,7 +9543,7 @@ declare module "factorio:runtime" {
|
|
|
9557
9543
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia.
|
|
9558
9544
|
* - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI.
|
|
9559
9545
|
* - `"not-in-mined-by"`: Prevents the entity from being shown in the mined-by tooltip of resources.
|
|
9560
|
-
* @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}
|
|
9561
9547
|
*/
|
|
9562
9548
|
export type EntityPrototypeFlag =
|
|
9563
9549
|
| "not-rotatable"
|
|
@@ -9591,7 +9577,7 @@ declare module "factorio:runtime" {
|
|
|
9591
9577
|
| "not-in-mined-by"
|
|
9592
9578
|
/**
|
|
9593
9579
|
* A single filter used by an infinity-pipe type entity.
|
|
9594
|
-
* @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}
|
|
9595
9581
|
*/
|
|
9596
9582
|
export interface InfinityPipeFilter {
|
|
9597
9583
|
/**
|
|
@@ -9621,7 +9607,7 @@ declare module "factorio:runtime" {
|
|
|
9621
9607
|
}
|
|
9622
9608
|
/**
|
|
9623
9609
|
* @see ProgrammableSpeakerParametersWrite
|
|
9624
|
-
* @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}
|
|
9625
9611
|
*/
|
|
9626
9612
|
export interface ProgrammableSpeakerParameters {
|
|
9627
9613
|
readonly playback_volume: float
|
|
@@ -9632,7 +9618,7 @@ declare module "factorio:runtime" {
|
|
|
9632
9618
|
}
|
|
9633
9619
|
/**
|
|
9634
9620
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
|
9635
|
-
* @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}
|
|
9636
9622
|
*/
|
|
9637
9623
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9638
9624
|
readonly playback_volume: float
|
|
@@ -9648,12 +9634,12 @@ declare module "factorio:runtime" {
|
|
|
9648
9634
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9649
9635
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9650
9636
|
* - `"global"`: The sound can be heard everywhere.
|
|
9651
|
-
* @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}
|
|
9652
9638
|
*/
|
|
9653
9639
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9654
9640
|
/**
|
|
9655
9641
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9656
|
-
* @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}
|
|
9657
9643
|
*/
|
|
9658
9644
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9659
9645
|
readonly show_alert: boolean
|
|
@@ -9663,7 +9649,7 @@ declare module "factorio:runtime" {
|
|
|
9663
9649
|
}
|
|
9664
9650
|
/**
|
|
9665
9651
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
|
9666
|
-
* @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}
|
|
9667
9653
|
*/
|
|
9668
9654
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9669
9655
|
readonly show_alert: boolean
|
|
@@ -9691,12 +9677,12 @@ declare module "factorio:runtime" {
|
|
|
9691
9677
|
* - `"exactly"`
|
|
9692
9678
|
* - `"add"`
|
|
9693
9679
|
* - `"remove"`
|
|
9694
|
-
* @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}
|
|
9695
9681
|
*/
|
|
9696
9682
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9697
9683
|
/**
|
|
9698
9684
|
* The settings used by a heat-interface type entity.
|
|
9699
|
-
* @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}
|
|
9700
9686
|
*/
|
|
9701
9687
|
export interface HeatSetting {
|
|
9702
9688
|
/**
|
|
@@ -9730,7 +9716,7 @@ declare module "factorio:runtime" {
|
|
|
9730
9716
|
* - `"none-to-south"`
|
|
9731
9717
|
* - `"south-to-none"`
|
|
9732
9718
|
* - `"none-to-north"`
|
|
9733
|
-
* @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}
|
|
9734
9720
|
*/
|
|
9735
9721
|
export type CliffOrientation =
|
|
9736
9722
|
| "west-to-east"
|
|
@@ -9760,14 +9746,14 @@ declare module "factorio:runtime" {
|
|
|
9760
9746
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9761
9747
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9762
9748
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9763
|
-
* @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}
|
|
9764
9750
|
*/
|
|
9765
9751
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9766
9752
|
/**
|
|
9767
9753
|
* ## Union members
|
|
9768
9754
|
* - `"fresh-first"`
|
|
9769
9755
|
* - `"spoiled-first"`
|
|
9770
|
-
* @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}
|
|
9771
9757
|
*/
|
|
9772
9758
|
export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first"
|
|
9773
9759
|
/**
|
|
@@ -9775,7 +9761,7 @@ declare module "factorio:runtime" {
|
|
|
9775
9761
|
* - `"fresh-first"`
|
|
9776
9762
|
* - `"none"`
|
|
9777
9763
|
* - `"spoiled-first"`
|
|
9778
|
-
* @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}
|
|
9779
9765
|
*/
|
|
9780
9766
|
export type SpoilPriority = "fresh-first" | "none" | "spoiled-first"
|
|
9781
9767
|
export interface SpiderLegSpecification {
|
|
@@ -9795,7 +9781,7 @@ declare module "factorio:runtime" {
|
|
|
9795
9781
|
}
|
|
9796
9782
|
/**
|
|
9797
9783
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
9798
|
-
* @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}
|
|
9799
9785
|
*/
|
|
9800
9786
|
export interface BlueprintInfinityInventorySettings {
|
|
9801
9787
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -9806,7 +9792,7 @@ declare module "factorio:runtime" {
|
|
|
9806
9792
|
}
|
|
9807
9793
|
/**
|
|
9808
9794
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
|
9809
|
-
* @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}
|
|
9810
9796
|
*/
|
|
9811
9797
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
9812
9798
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -9850,7 +9836,7 @@ declare module "factorio:runtime" {
|
|
|
9850
9836
|
}
|
|
9851
9837
|
/**
|
|
9852
9838
|
* Defines an item type that a blueprint entity will request.
|
|
9853
|
-
* @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}
|
|
9854
9840
|
*/
|
|
9855
9841
|
export interface BlueprintInsertPlan {
|
|
9856
9842
|
/**
|
|
@@ -9888,7 +9874,7 @@ declare module "factorio:runtime" {
|
|
|
9888
9874
|
}
|
|
9889
9875
|
/**
|
|
9890
9876
|
* A single offer on a market entity.
|
|
9891
|
-
* @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}
|
|
9892
9878
|
*/
|
|
9893
9879
|
export interface Offer {
|
|
9894
9880
|
/**
|
|
@@ -9934,7 +9920,7 @@ declare module "factorio:runtime" {
|
|
|
9934
9920
|
/**
|
|
9935
9921
|
* A single filter used by an infinity-filters instance.
|
|
9936
9922
|
* @see InfinityInventoryFilterWrite
|
|
9937
|
-
* @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}
|
|
9938
9924
|
*/
|
|
9939
9925
|
export interface InfinityInventoryFilter {
|
|
9940
9926
|
/**
|
|
@@ -9960,7 +9946,7 @@ declare module "factorio:runtime" {
|
|
|
9960
9946
|
}
|
|
9961
9947
|
/**
|
|
9962
9948
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
|
9963
|
-
* @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}
|
|
9964
9950
|
*/
|
|
9965
9951
|
export interface InfinityInventoryFilterWrite {
|
|
9966
9952
|
/**
|
|
@@ -10003,7 +9989,7 @@ declare module "factorio:runtime" {
|
|
|
10003
9989
|
}
|
|
10004
9990
|
/**
|
|
10005
9991
|
* Used to specify what type of damage and how much damage something deals.
|
|
10006
|
-
* @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}
|
|
10007
9993
|
*/
|
|
10008
9994
|
export interface DamageParameters {
|
|
10009
9995
|
readonly amount: float
|
|
@@ -10033,14 +10019,14 @@ declare module "factorio:runtime" {
|
|
|
10033
10019
|
*
|
|
10034
10020
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
10035
10021
|
*
|
|
10036
|
-
* {@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.}
|
|
10037
10023
|
*
|
|
10038
|
-
* {@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.}
|
|
10039
10025
|
*
|
|
10040
|
-
* {@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.}
|
|
10041
10027
|
*
|
|
10042
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10043
|
-
* @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}
|
|
10044
10030
|
*/
|
|
10045
10031
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
10046
10032
|
/**
|
|
@@ -10058,7 +10044,7 @@ declare module "factorio:runtime" {
|
|
|
10058
10044
|
* - `"weapon"`
|
|
10059
10045
|
* - `"explosion"`
|
|
10060
10046
|
* - `"enemy"`
|
|
10061
|
-
* @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}
|
|
10062
10048
|
*/
|
|
10063
10049
|
export type SoundType =
|
|
10064
10050
|
| "game-effect"
|
|
@@ -10108,12 +10094,12 @@ declare module "factorio:runtime" {
|
|
|
10108
10094
|
* - `"requester"`
|
|
10109
10095
|
* - `"storage"`
|
|
10110
10096
|
* - `"buffer"`
|
|
10111
|
-
* @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}
|
|
10112
10098
|
*/
|
|
10113
10099
|
export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer"
|
|
10114
10100
|
/**
|
|
10115
10101
|
* @see BlueprintLogisticFilterWrite
|
|
10116
|
-
* @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}
|
|
10117
10103
|
*/
|
|
10118
10104
|
export interface BlueprintLogisticFilter {
|
|
10119
10105
|
readonly index: LogisticFilterIndex
|
|
@@ -10147,7 +10133,7 @@ declare module "factorio:runtime" {
|
|
|
10147
10133
|
}
|
|
10148
10134
|
/**
|
|
10149
10135
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
10150
|
-
* @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}
|
|
10151
10137
|
*/
|
|
10152
10138
|
export interface BlueprintLogisticFilterWrite {
|
|
10153
10139
|
readonly index: LogisticFilterIndex
|
|
@@ -10181,7 +10167,7 @@ declare module "factorio:runtime" {
|
|
|
10181
10167
|
}
|
|
10182
10168
|
/**
|
|
10183
10169
|
* @see BlueprintLogisticSectionsWrite
|
|
10184
|
-
* @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}
|
|
10185
10171
|
*/
|
|
10186
10172
|
export interface BlueprintLogisticSections {
|
|
10187
10173
|
readonly sections?: LogisticSection[]
|
|
@@ -10196,7 +10182,7 @@ declare module "factorio:runtime" {
|
|
|
10196
10182
|
}
|
|
10197
10183
|
/**
|
|
10198
10184
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10199
|
-
* @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}
|
|
10200
10186
|
*/
|
|
10201
10187
|
export interface BlueprintLogisticSectionsWrite {
|
|
10202
10188
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10211,7 +10197,7 @@ declare module "factorio:runtime" {
|
|
|
10211
10197
|
}
|
|
10212
10198
|
/**
|
|
10213
10199
|
* @see LogisticSectionWrite
|
|
10214
|
-
* @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}
|
|
10215
10201
|
*/
|
|
10216
10202
|
export interface LogisticSection {
|
|
10217
10203
|
readonly index: uint8
|
|
@@ -10228,7 +10214,7 @@ declare module "factorio:runtime" {
|
|
|
10228
10214
|
}
|
|
10229
10215
|
/**
|
|
10230
10216
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
10231
|
-
* @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}
|
|
10232
10218
|
*/
|
|
10233
10219
|
export interface LogisticSectionWrite {
|
|
10234
10220
|
readonly index: uint8
|
|
@@ -10245,7 +10231,7 @@ declare module "factorio:runtime" {
|
|
|
10245
10231
|
}
|
|
10246
10232
|
/**
|
|
10247
10233
|
* @see LogisticSectionsWrite
|
|
10248
|
-
* @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}
|
|
10249
10235
|
*/
|
|
10250
10236
|
export interface LogisticSections {
|
|
10251
10237
|
readonly sections?: LogisticSection[]
|
|
@@ -10256,7 +10242,7 @@ declare module "factorio:runtime" {
|
|
|
10256
10242
|
}
|
|
10257
10243
|
/**
|
|
10258
10244
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10259
|
-
* @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}
|
|
10260
10246
|
*/
|
|
10261
10247
|
export interface LogisticSectionsWrite {
|
|
10262
10248
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10279,7 +10265,7 @@ declare module "factorio:runtime" {
|
|
|
10279
10265
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10280
10266
|
* - {@link LuaVirtualSignalPrototype}
|
|
10281
10267
|
* - {@link LuaSurfacePrototype}
|
|
10282
|
-
* @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}
|
|
10283
10269
|
*/
|
|
10284
10270
|
export type FactoriopediaID =
|
|
10285
10271
|
| LuaItemPrototype
|
|
@@ -10300,7 +10286,7 @@ declare module "factorio:runtime" {
|
|
|
10300
10286
|
* ## Union members
|
|
10301
10287
|
* - `"horizontal"`
|
|
10302
10288
|
* - `"vertical"`
|
|
10303
|
-
* @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}
|
|
10304
10290
|
*/
|
|
10305
10291
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10306
10292
|
export interface AttackParameterFluid {
|
|
@@ -10387,7 +10373,7 @@ declare module "factorio:runtime" {
|
|
|
10387
10373
|
* - `"cluster"`: {@link ClusterTriggerItem}
|
|
10388
10374
|
* - `"direct"`: {@link DirectTriggerItem}
|
|
10389
10375
|
* - `"line"`: {@link LineTriggerItem}
|
|
10390
|
-
* @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}
|
|
10391
10377
|
*/
|
|
10392
10378
|
export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem
|
|
10393
10379
|
export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[]
|
|
@@ -10402,12 +10388,12 @@ declare module "factorio:runtime" {
|
|
|
10402
10388
|
* ## Union members
|
|
10403
10389
|
* - `"primary"`
|
|
10404
10390
|
* - `"secondary"`
|
|
10405
|
-
* @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}
|
|
10406
10392
|
*/
|
|
10407
10393
|
export type ApplyTileTint = "primary" | "secondary"
|
|
10408
10394
|
/**
|
|
10409
10395
|
* A set of trigger target masks.
|
|
10410
|
-
* @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}
|
|
10411
10397
|
*/
|
|
10412
10398
|
export type TriggerTargetMask = Record<string, true>
|
|
10413
10399
|
export interface AttackReactionItem {
|
|
@@ -10500,7 +10486,7 @@ declare module "factorio:runtime" {
|
|
|
10500
10486
|
* - `"delayed"`: {@link DelayedTriggerDelivery}
|
|
10501
10487
|
* - `"projectile"`: {@link ProjectileTriggerDelivery}
|
|
10502
10488
|
* - `"stream"`: {@link StreamTriggerDelivery}
|
|
10503
|
-
* @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}
|
|
10504
10490
|
*/
|
|
10505
10491
|
export type TriggerDelivery =
|
|
10506
10492
|
| ArtilleryTriggerDelivery
|
|
@@ -10567,7 +10553,7 @@ declare module "factorio:runtime" {
|
|
|
10567
10553
|
* - `"camera-effect"`
|
|
10568
10554
|
* - `"activate-impact"`
|
|
10569
10555
|
* - `"create-pollution"`
|
|
10570
|
-
* @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}
|
|
10571
10557
|
*/
|
|
10572
10558
|
export type TriggerEffectItemType =
|
|
10573
10559
|
| "damage"
|
|
@@ -10941,7 +10927,7 @@ declare module "factorio:runtime" {
|
|
|
10941
10927
|
* - `"script"`: {@link ScriptTriggerEffectItem}
|
|
10942
10928
|
* - `"set-tile"`: {@link SetTileTriggerEffectItem}
|
|
10943
10929
|
* - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem}
|
|
10944
|
-
* @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}
|
|
10945
10931
|
*/
|
|
10946
10932
|
export type TriggerEffectItem =
|
|
10947
10933
|
| ActivateImpactTriggerEffectItem
|
|
@@ -11070,7 +11056,7 @@ declare module "factorio:runtime" {
|
|
|
11070
11056
|
* Other attributes may be specified depending on `type`:
|
|
11071
11057
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
11072
11058
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
11073
|
-
* @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}
|
|
11074
11060
|
*/
|
|
11075
11061
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
11076
11062
|
/**
|
|
@@ -11078,7 +11064,7 @@ declare module "factorio:runtime" {
|
|
|
11078
11064
|
* - `"left"`
|
|
11079
11065
|
* - `"none"`
|
|
11080
11066
|
* - `"right"`
|
|
11081
|
-
* @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}
|
|
11082
11068
|
*/
|
|
11083
11069
|
export type SplitterPriority = "left" | "none" | "right"
|
|
11084
11070
|
/**
|
|
@@ -11097,7 +11083,7 @@ declare module "factorio:runtime" {
|
|
|
11097
11083
|
* - `"middle-right"`
|
|
11098
11084
|
* - `"right"`: The same as `"middle-right"`
|
|
11099
11085
|
* - `"bottom-right"`
|
|
11100
|
-
* @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}
|
|
11101
11087
|
*/
|
|
11102
11088
|
export type Alignment =
|
|
11103
11089
|
| "top-left"
|
|
@@ -11132,7 +11118,7 @@ declare module "factorio:runtime" {
|
|
|
11132
11118
|
* - {@link FluidPrototypeFilter}
|
|
11133
11119
|
* - {@link EntityPrototypeFilter}
|
|
11134
11120
|
* @see PrototypeFilterWrite
|
|
11135
|
-
* @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}
|
|
11136
11122
|
*/
|
|
11137
11123
|
export type PrototypeFilter =
|
|
11138
11124
|
| ModSettingPrototypeFilter[]
|
|
@@ -11150,7 +11136,7 @@ declare module "factorio:runtime" {
|
|
|
11150
11136
|
| EntityPrototypeFilter[]
|
|
11151
11137
|
/**
|
|
11152
11138
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11153
|
-
* @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}
|
|
11154
11140
|
*/
|
|
11155
11141
|
export type PrototypeFilterWrite =
|
|
11156
11142
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -11203,7 +11189,7 @@ declare module "factorio:runtime" {
|
|
|
11203
11189
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
11204
11190
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
11205
11191
|
* @see EventFilterWrite
|
|
11206
|
-
* @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}
|
|
11207
11193
|
*/
|
|
11208
11194
|
export type EventFilter =
|
|
11209
11195
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11238,7 +11224,7 @@ declare module "factorio:runtime" {
|
|
|
11238
11224
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
11239
11225
|
/**
|
|
11240
11226
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
|
11241
|
-
* @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}
|
|
11242
11228
|
*/
|
|
11243
11229
|
export type EventFilterWrite =
|
|
11244
11230
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11273,7 +11259,7 @@ declare module "factorio:runtime" {
|
|
|
11273
11259
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
11274
11260
|
/**
|
|
11275
11261
|
* @see CircuitConditionDefinitionWrite
|
|
11276
|
-
* @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}
|
|
11277
11263
|
*/
|
|
11278
11264
|
export interface CircuitConditionDefinition {
|
|
11279
11265
|
/**
|
|
@@ -11299,7 +11285,7 @@ declare module "factorio:runtime" {
|
|
|
11299
11285
|
}
|
|
11300
11286
|
/**
|
|
11301
11287
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
|
11302
|
-
* @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}
|
|
11303
11289
|
*/
|
|
11304
11290
|
export interface CircuitConditionDefinitionWrite {
|
|
11305
11291
|
/**
|
|
@@ -11327,7 +11313,7 @@ declare module "factorio:runtime" {
|
|
|
11327
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.
|
|
11328
11314
|
*
|
|
11329
11315
|
* Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table.
|
|
11330
|
-
* @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}
|
|
11331
11317
|
*/
|
|
11332
11318
|
export interface UtilityConstants {
|
|
11333
11319
|
/**
|
|
@@ -11340,10 +11326,7 @@ declare module "factorio:runtime" {
|
|
|
11340
11326
|
readonly bonus_gui_ordering: BonusUtilityConstants
|
|
11341
11327
|
readonly map_editor: EditorUtilityConstants
|
|
11342
11328
|
readonly entity_button_background_color: Color
|
|
11343
|
-
readonly
|
|
11344
|
-
readonly building_buildable_tint: Color
|
|
11345
|
-
readonly building_not_buildable_tint: Color
|
|
11346
|
-
readonly building_ignorable_tint: Color
|
|
11329
|
+
readonly build_preview_tints: BuildPreviewTints
|
|
11347
11330
|
readonly building_no_tint: Color
|
|
11348
11331
|
/**
|
|
11349
11332
|
* Tall entities will be tinted with this value when "Hide tall entities" mode is active.
|
|
@@ -11800,7 +11783,7 @@ declare module "factorio:runtime" {
|
|
|
11800
11783
|
* - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network}
|
|
11801
11784
|
* - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id}
|
|
11802
11785
|
* - {@link LuaForce}: Target type {@link defines.target_type.force force}; `useful_id` {@link LuaForce#index LuaForce::index}
|
|
11803
|
-
* @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}
|
|
11804
11787
|
*/
|
|
11805
11788
|
export type RegistrationTarget =
|
|
11806
11789
|
| LuaEntity
|
|
@@ -11908,7 +11891,7 @@ declare module "factorio:runtime" {
|
|
|
11908
11891
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
11909
11892
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
11910
11893
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
11911
|
-
* @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}
|
|
11912
11895
|
*/
|
|
11913
11896
|
export type ResearchTrigger =
|
|
11914
11897
|
| CraftItemResearchTrigger
|
|
@@ -11921,26 +11904,26 @@ declare module "factorio:runtime" {
|
|
|
11921
11904
|
| OtherResearchTrigger
|
|
11922
11905
|
/**
|
|
11923
11906
|
* The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}.
|
|
11924
|
-
* @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}
|
|
11925
11908
|
*/
|
|
11926
11909
|
export type ProcessionID = string
|
|
11927
11910
|
/**
|
|
11928
11911
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
11929
|
-
* @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}
|
|
11930
11913
|
*/
|
|
11931
11914
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
11932
11915
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
11933
11916
|
}
|
|
11934
11917
|
/**
|
|
11935
11918
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11936
|
-
* @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}
|
|
11937
11920
|
*/
|
|
11938
11921
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
11939
11922
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
11940
11923
|
}
|
|
11941
11924
|
/**
|
|
11942
11925
|
* @see RocketSiloBlueprintControlBehaviorWrite
|
|
11943
|
-
* @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}
|
|
11944
11927
|
*/
|
|
11945
11928
|
export interface RocketSiloBlueprintControlBehavior {
|
|
11946
11929
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11956,7 +11939,7 @@ declare module "factorio:runtime" {
|
|
|
11956
11939
|
}
|
|
11957
11940
|
/**
|
|
11958
11941
|
* Write form of {@link RocketSiloBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11959
|
-
* @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}
|
|
11960
11943
|
*/
|
|
11961
11944
|
export interface RocketSiloBlueprintControlBehaviorWrite {
|
|
11962
11945
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11972,7 +11955,7 @@ declare module "factorio:runtime" {
|
|
|
11972
11955
|
}
|
|
11973
11956
|
/**
|
|
11974
11957
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
11975
|
-
* @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}
|
|
11976
11959
|
*/
|
|
11977
11960
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
11978
11961
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12015,7 +11998,7 @@ declare module "factorio:runtime" {
|
|
|
12015
11998
|
}
|
|
12016
11999
|
/**
|
|
12017
12000
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12018
|
-
* @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}
|
|
12019
12002
|
*/
|
|
12020
12003
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
12021
12004
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12058,7 +12041,7 @@ declare module "factorio:runtime" {
|
|
|
12058
12041
|
}
|
|
12059
12042
|
/**
|
|
12060
12043
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
12061
|
-
* @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}
|
|
12062
12045
|
*/
|
|
12063
12046
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
12064
12047
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12073,7 +12056,7 @@ declare module "factorio:runtime" {
|
|
|
12073
12056
|
}
|
|
12074
12057
|
/**
|
|
12075
12058
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12076
|
-
* @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}
|
|
12077
12060
|
*/
|
|
12078
12061
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
12079
12062
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12088,7 +12071,7 @@ declare module "factorio:runtime" {
|
|
|
12088
12071
|
}
|
|
12089
12072
|
/**
|
|
12090
12073
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
12091
|
-
* @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}
|
|
12092
12075
|
*/
|
|
12093
12076
|
export interface FurnaceBlueprintControlBehavior {
|
|
12094
12077
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12132,7 +12115,7 @@ declare module "factorio:runtime" {
|
|
|
12132
12115
|
}
|
|
12133
12116
|
/**
|
|
12134
12117
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12135
|
-
* @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}
|
|
12136
12119
|
*/
|
|
12137
12120
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
12138
12121
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12176,21 +12159,21 @@ declare module "factorio:runtime" {
|
|
|
12176
12159
|
}
|
|
12177
12160
|
/**
|
|
12178
12161
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
12179
|
-
* @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}
|
|
12180
12163
|
*/
|
|
12181
12164
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
12182
12165
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
12183
12166
|
}
|
|
12184
12167
|
/**
|
|
12185
12168
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12186
|
-
* @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}
|
|
12187
12170
|
*/
|
|
12188
12171
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
12189
12172
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
12190
12173
|
}
|
|
12191
12174
|
/**
|
|
12192
12175
|
* @see CargoLandingPadBlueprintControlBehaviorWrite
|
|
12193
|
-
* @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}
|
|
12194
12177
|
*/
|
|
12195
12178
|
export interface CargoLandingPadBlueprintControlBehavior {
|
|
12196
12179
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12211,7 +12194,7 @@ declare module "factorio:runtime" {
|
|
|
12211
12194
|
}
|
|
12212
12195
|
/**
|
|
12213
12196
|
* Write form of {@link CargoLandingPadBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12214
|
-
* @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}
|
|
12215
12198
|
*/
|
|
12216
12199
|
export interface CargoLandingPadBlueprintControlBehaviorWrite {
|
|
12217
12200
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12232,7 +12215,7 @@ declare module "factorio:runtime" {
|
|
|
12232
12215
|
}
|
|
12233
12216
|
/**
|
|
12234
12217
|
* @see LampBlueprintControlBehaviorWrite
|
|
12235
|
-
* @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}
|
|
12236
12219
|
*/
|
|
12237
12220
|
export interface LampBlueprintControlBehavior {
|
|
12238
12221
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12261,7 +12244,7 @@ declare module "factorio:runtime" {
|
|
|
12261
12244
|
}
|
|
12262
12245
|
/**
|
|
12263
12246
|
* Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12264
|
-
* @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}
|
|
12265
12248
|
*/
|
|
12266
12249
|
export interface LampBlueprintControlBehaviorWrite {
|
|
12267
12250
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12290,7 +12273,7 @@ declare module "factorio:runtime" {
|
|
|
12290
12273
|
}
|
|
12291
12274
|
/**
|
|
12292
12275
|
* @see ProxyContainerBlueprintControlBehaviorWrite
|
|
12293
|
-
* @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}
|
|
12294
12277
|
*/
|
|
12295
12278
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
12296
12279
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12306,7 +12289,7 @@ declare module "factorio:runtime" {
|
|
|
12306
12289
|
}
|
|
12307
12290
|
/**
|
|
12308
12291
|
* Write form of {@link ProxyContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12309
|
-
* @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}
|
|
12310
12293
|
*/
|
|
12311
12294
|
export interface ProxyContainerBlueprintControlBehaviorWrite {
|
|
12312
12295
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12322,7 +12305,7 @@ declare module "factorio:runtime" {
|
|
|
12322
12305
|
}
|
|
12323
12306
|
/**
|
|
12324
12307
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
12325
|
-
* @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}
|
|
12326
12309
|
*/
|
|
12327
12310
|
export interface MiningDrillBlueprintControlBehavior {
|
|
12328
12311
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12342,7 +12325,7 @@ declare module "factorio:runtime" {
|
|
|
12342
12325
|
}
|
|
12343
12326
|
/**
|
|
12344
12327
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12345
|
-
* @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}
|
|
12346
12329
|
*/
|
|
12347
12330
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
12348
12331
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12362,7 +12345,7 @@ declare module "factorio:runtime" {
|
|
|
12362
12345
|
}
|
|
12363
12346
|
/**
|
|
12364
12347
|
* @see LoaderBlueprintControlBehaviorWrite
|
|
12365
|
-
* @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}
|
|
12366
12349
|
*/
|
|
12367
12350
|
export interface LoaderBlueprintControlBehavior {
|
|
12368
12351
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12388,7 +12371,7 @@ declare module "factorio:runtime" {
|
|
|
12388
12371
|
}
|
|
12389
12372
|
/**
|
|
12390
12373
|
* Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12391
|
-
* @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}
|
|
12392
12375
|
*/
|
|
12393
12376
|
export interface LoaderBlueprintControlBehaviorWrite {
|
|
12394
12377
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12414,7 +12397,7 @@ declare module "factorio:runtime" {
|
|
|
12414
12397
|
}
|
|
12415
12398
|
/**
|
|
12416
12399
|
* @see WallBlueprintControlBehaviorWrite
|
|
12417
|
-
* @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}
|
|
12418
12401
|
*/
|
|
12419
12402
|
export interface WallBlueprintControlBehavior {
|
|
12420
12403
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12426,7 +12409,7 @@ declare module "factorio:runtime" {
|
|
|
12426
12409
|
}
|
|
12427
12410
|
/**
|
|
12428
12411
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12429
|
-
* @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}
|
|
12430
12413
|
*/
|
|
12431
12414
|
export interface WallBlueprintControlBehaviorWrite {
|
|
12432
12415
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12438,7 +12421,7 @@ declare module "factorio:runtime" {
|
|
|
12438
12421
|
}
|
|
12439
12422
|
/**
|
|
12440
12423
|
* @see GenericOnOffBlueprintControlBehaviorWrite
|
|
12441
|
-
* @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}
|
|
12442
12425
|
*/
|
|
12443
12426
|
export interface GenericOnOffBlueprintControlBehavior {
|
|
12444
12427
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12455,7 +12438,7 @@ declare module "factorio:runtime" {
|
|
|
12455
12438
|
}
|
|
12456
12439
|
/**
|
|
12457
12440
|
* Write form of {@link GenericOnOffBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12458
|
-
* @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}
|
|
12459
12442
|
*/
|
|
12460
12443
|
export interface GenericOnOffBlueprintControlBehaviorWrite {
|
|
12461
12444
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12472,7 +12455,7 @@ declare module "factorio:runtime" {
|
|
|
12472
12455
|
}
|
|
12473
12456
|
/**
|
|
12474
12457
|
* @see ResearchConditionWrite
|
|
12475
|
-
* @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}
|
|
12476
12459
|
*/
|
|
12477
12460
|
export interface ResearchCondition {
|
|
12478
12461
|
readonly condition?: CircuitCondition
|
|
@@ -12487,7 +12470,7 @@ declare module "factorio:runtime" {
|
|
|
12487
12470
|
}
|
|
12488
12471
|
/**
|
|
12489
12472
|
* Write form of {@link ResearchCondition}, where some properties allow additional values as input compared to the read form.
|
|
12490
|
-
* @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}
|
|
12491
12474
|
*/
|
|
12492
12475
|
export interface ResearchConditionWrite {
|
|
12493
12476
|
readonly condition?: CircuitConditionWrite
|
|
@@ -12502,7 +12485,7 @@ declare module "factorio:runtime" {
|
|
|
12502
12485
|
}
|
|
12503
12486
|
/**
|
|
12504
12487
|
* @see BoilerBlueprintControlBehaviorWrite
|
|
12505
|
-
* @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}
|
|
12506
12489
|
*/
|
|
12507
12490
|
export interface BoilerBlueprintControlBehavior {
|
|
12508
12491
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12524,7 +12507,7 @@ declare module "factorio:runtime" {
|
|
|
12524
12507
|
}
|
|
12525
12508
|
/**
|
|
12526
12509
|
* Write form of {@link BoilerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12527
|
-
* @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}
|
|
12528
12511
|
*/
|
|
12529
12512
|
export interface BoilerBlueprintControlBehaviorWrite {
|
|
12530
12513
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12546,7 +12529,7 @@ declare module "factorio:runtime" {
|
|
|
12546
12529
|
}
|
|
12547
12530
|
/**
|
|
12548
12531
|
* @see ContainerBlueprintControlBehaviorWrite
|
|
12549
|
-
* @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}
|
|
12550
12533
|
*/
|
|
12551
12534
|
export interface ContainerBlueprintControlBehavior {
|
|
12552
12535
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12562,7 +12545,7 @@ declare module "factorio:runtime" {
|
|
|
12562
12545
|
}
|
|
12563
12546
|
/**
|
|
12564
12547
|
* Write form of {@link ContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12565
|
-
* @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}
|
|
12566
12549
|
*/
|
|
12567
12550
|
export interface ContainerBlueprintControlBehaviorWrite {
|
|
12568
12551
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12578,7 +12561,7 @@ declare module "factorio:runtime" {
|
|
|
12578
12561
|
}
|
|
12579
12562
|
/**
|
|
12580
12563
|
* @see PumpBlueprintControlBehaviorWrite
|
|
12581
|
-
* @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}
|
|
12582
12565
|
*/
|
|
12583
12566
|
export interface PumpBlueprintControlBehavior {
|
|
12584
12567
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12599,7 +12582,7 @@ declare module "factorio:runtime" {
|
|
|
12599
12582
|
}
|
|
12600
12583
|
/**
|
|
12601
12584
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12602
|
-
* @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}
|
|
12603
12586
|
*/
|
|
12604
12587
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
12605
12588
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12620,7 +12603,7 @@ declare module "factorio:runtime" {
|
|
|
12620
12603
|
}
|
|
12621
12604
|
/**
|
|
12622
12605
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
12623
|
-
* @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}
|
|
12624
12607
|
*/
|
|
12625
12608
|
export interface TrainStopBlueprintControlBehavior {
|
|
12626
12609
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12666,7 +12649,7 @@ declare module "factorio:runtime" {
|
|
|
12666
12649
|
}
|
|
12667
12650
|
/**
|
|
12668
12651
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12669
|
-
* @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}
|
|
12670
12653
|
*/
|
|
12671
12654
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
12672
12655
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12712,7 +12695,7 @@ declare module "factorio:runtime" {
|
|
|
12712
12695
|
}
|
|
12713
12696
|
/**
|
|
12714
12697
|
* @see LandMineBlueprintControlBehaviorWrite
|
|
12715
|
-
* @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}
|
|
12716
12699
|
*/
|
|
12717
12700
|
export interface LandMineBlueprintControlBehavior {
|
|
12718
12701
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12729,7 +12712,7 @@ declare module "factorio:runtime" {
|
|
|
12729
12712
|
}
|
|
12730
12713
|
/**
|
|
12731
12714
|
* Write form of {@link LandMineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12732
|
-
* @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}
|
|
12733
12716
|
*/
|
|
12734
12717
|
export interface LandMineBlueprintControlBehaviorWrite {
|
|
12735
12718
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12746,7 +12729,7 @@ declare module "factorio:runtime" {
|
|
|
12746
12729
|
}
|
|
12747
12730
|
/**
|
|
12748
12731
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
12749
|
-
* @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}
|
|
12750
12733
|
*/
|
|
12751
12734
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
12752
12735
|
readonly circuit_condition: CircuitCondition
|
|
@@ -12754,7 +12737,7 @@ declare module "factorio:runtime" {
|
|
|
12754
12737
|
}
|
|
12755
12738
|
/**
|
|
12756
12739
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12757
|
-
* @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}
|
|
12758
12741
|
*/
|
|
12759
12742
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
12760
12743
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -12762,7 +12745,7 @@ declare module "factorio:runtime" {
|
|
|
12762
12745
|
}
|
|
12763
12746
|
/**
|
|
12764
12747
|
* @see HeatPipeBlueprintControlBehaviorWrite
|
|
12765
|
-
* @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}
|
|
12766
12749
|
*/
|
|
12767
12750
|
export interface HeatPipeBlueprintControlBehavior {
|
|
12768
12751
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12774,7 +12757,7 @@ declare module "factorio:runtime" {
|
|
|
12774
12757
|
}
|
|
12775
12758
|
/**
|
|
12776
12759
|
* Write form of {@link HeatPipeBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12777
|
-
* @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}
|
|
12778
12761
|
*/
|
|
12779
12762
|
export interface HeatPipeBlueprintControlBehaviorWrite {
|
|
12780
12763
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12786,7 +12769,7 @@ declare module "factorio:runtime" {
|
|
|
12786
12769
|
}
|
|
12787
12770
|
/**
|
|
12788
12771
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
12789
|
-
* @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}
|
|
12790
12773
|
*/
|
|
12791
12774
|
export interface SplitterBlueprintControlBehavior {
|
|
12792
12775
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12809,7 +12792,7 @@ declare module "factorio:runtime" {
|
|
|
12809
12792
|
}
|
|
12810
12793
|
/**
|
|
12811
12794
|
* Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12812
|
-
* @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}
|
|
12813
12796
|
*/
|
|
12814
12797
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
12815
12798
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12832,7 +12815,7 @@ declare module "factorio:runtime" {
|
|
|
12832
12815
|
}
|
|
12833
12816
|
/**
|
|
12834
12817
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
12835
|
-
* @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}
|
|
12836
12819
|
*/
|
|
12837
12820
|
export interface TransportBeltBlueprintControlBehavior {
|
|
12838
12821
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12852,7 +12835,7 @@ declare module "factorio:runtime" {
|
|
|
12852
12835
|
}
|
|
12853
12836
|
/**
|
|
12854
12837
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12855
|
-
* @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}
|
|
12856
12839
|
*/
|
|
12857
12840
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
12858
12841
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12872,7 +12855,7 @@ declare module "factorio:runtime" {
|
|
|
12872
12855
|
}
|
|
12873
12856
|
/**
|
|
12874
12857
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
12875
|
-
* @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}
|
|
12876
12859
|
*/
|
|
12877
12860
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
12878
12861
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12898,7 +12881,7 @@ declare module "factorio:runtime" {
|
|
|
12898
12881
|
}
|
|
12899
12882
|
/**
|
|
12900
12883
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12901
|
-
* @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}
|
|
12902
12885
|
*/
|
|
12903
12886
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
12904
12887
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12924,7 +12907,7 @@ declare module "factorio:runtime" {
|
|
|
12924
12907
|
}
|
|
12925
12908
|
/**
|
|
12926
12909
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
12927
|
-
* @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}
|
|
12928
12911
|
*/
|
|
12929
12912
|
export interface ReactorBlueprintControlBehavior {
|
|
12930
12913
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12940,7 +12923,7 @@ declare module "factorio:runtime" {
|
|
|
12940
12923
|
}
|
|
12941
12924
|
/**
|
|
12942
12925
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12943
|
-
* @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}
|
|
12944
12927
|
*/
|
|
12945
12928
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
12946
12929
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12956,7 +12939,7 @@ declare module "factorio:runtime" {
|
|
|
12956
12939
|
}
|
|
12957
12940
|
/**
|
|
12958
12941
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
12959
|
-
* @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}
|
|
12960
12943
|
*/
|
|
12961
12944
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
12962
12945
|
readonly sections: LogisticSections
|
|
@@ -12967,7 +12950,7 @@ declare module "factorio:runtime" {
|
|
|
12967
12950
|
}
|
|
12968
12951
|
/**
|
|
12969
12952
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12970
|
-
* @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}
|
|
12971
12954
|
*/
|
|
12972
12955
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
12973
12956
|
readonly sections: LogisticSectionsWrite
|
|
@@ -12978,7 +12961,7 @@ declare module "factorio:runtime" {
|
|
|
12978
12961
|
}
|
|
12979
12962
|
/**
|
|
12980
12963
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
12981
|
-
* @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}
|
|
12982
12965
|
*/
|
|
12983
12966
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
12984
12967
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12997,7 +12980,7 @@ declare module "factorio:runtime" {
|
|
|
12997
12980
|
}
|
|
12998
12981
|
/**
|
|
12999
12982
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13000
|
-
* @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}
|
|
13001
12984
|
*/
|
|
13002
12985
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
13003
12986
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13016,7 +12999,7 @@ declare module "factorio:runtime" {
|
|
|
13016
12999
|
}
|
|
13017
13000
|
/**
|
|
13018
13001
|
* @see LabBlueprintControlBehaviorWrite
|
|
13019
|
-
* @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}
|
|
13020
13003
|
*/
|
|
13021
13004
|
export interface LabBlueprintControlBehavior {
|
|
13022
13005
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13031,7 +13014,7 @@ declare module "factorio:runtime" {
|
|
|
13031
13014
|
}
|
|
13032
13015
|
/**
|
|
13033
13016
|
* Write form of {@link LabBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13034
|
-
* @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}
|
|
13035
13018
|
*/
|
|
13036
13019
|
export interface LabBlueprintControlBehaviorWrite {
|
|
13037
13020
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13046,7 +13029,7 @@ declare module "factorio:runtime" {
|
|
|
13046
13029
|
}
|
|
13047
13030
|
/**
|
|
13048
13031
|
* @see RadarBlueprintControlBehaviorWrite
|
|
13049
|
-
* @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}
|
|
13050
13033
|
*/
|
|
13051
13034
|
export interface RadarBlueprintControlBehavior {
|
|
13052
13035
|
/**
|
|
@@ -13057,7 +13040,7 @@ declare module "factorio:runtime" {
|
|
|
13057
13040
|
}
|
|
13058
13041
|
/**
|
|
13059
13042
|
* Write form of {@link RadarBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13060
|
-
* @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}
|
|
13061
13044
|
*/
|
|
13062
13045
|
export interface RadarBlueprintControlBehaviorWrite {
|
|
13063
13046
|
/**
|
|
@@ -13068,7 +13051,7 @@ declare module "factorio:runtime" {
|
|
|
13068
13051
|
}
|
|
13069
13052
|
/**
|
|
13070
13053
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
13071
|
-
* @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}
|
|
13072
13055
|
*/
|
|
13073
13056
|
export interface AccumulatorBlueprintControlBehavior {
|
|
13074
13057
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13080,7 +13063,7 @@ declare module "factorio:runtime" {
|
|
|
13080
13063
|
}
|
|
13081
13064
|
/**
|
|
13082
13065
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13083
|
-
* @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}
|
|
13084
13067
|
*/
|
|
13085
13068
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
13086
13069
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13092,7 +13075,7 @@ declare module "factorio:runtime" {
|
|
|
13092
13075
|
}
|
|
13093
13076
|
/**
|
|
13094
13077
|
* @see SingleFluidBoxBlueprintControlBehaviorWrite
|
|
13095
|
-
* @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}
|
|
13096
13079
|
*/
|
|
13097
13080
|
export interface SingleFluidBoxBlueprintControlBehavior {
|
|
13098
13081
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13108,7 +13091,7 @@ declare module "factorio:runtime" {
|
|
|
13108
13091
|
}
|
|
13109
13092
|
/**
|
|
13110
13093
|
* Write form of {@link SingleFluidBoxBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13111
|
-
* @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}
|
|
13112
13095
|
*/
|
|
13113
13096
|
export interface SingleFluidBoxBlueprintControlBehaviorWrite {
|
|
13114
13097
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13124,7 +13107,7 @@ declare module "factorio:runtime" {
|
|
|
13124
13107
|
}
|
|
13125
13108
|
/**
|
|
13126
13109
|
* @see TurretBlueprintControlBehaviorWrite
|
|
13127
|
-
* @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}
|
|
13128
13111
|
*/
|
|
13129
13112
|
export interface TurretBlueprintControlBehavior {
|
|
13130
13113
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13155,7 +13138,7 @@ declare module "factorio:runtime" {
|
|
|
13155
13138
|
}
|
|
13156
13139
|
/**
|
|
13157
13140
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13158
|
-
* @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}
|
|
13159
13142
|
*/
|
|
13160
13143
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
13161
13144
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13186,7 +13169,7 @@ declare module "factorio:runtime" {
|
|
|
13186
13169
|
}
|
|
13187
13170
|
/**
|
|
13188
13171
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
13189
|
-
* @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}
|
|
13190
13173
|
*/
|
|
13191
13174
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
13192
13175
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13216,7 +13199,7 @@ declare module "factorio:runtime" {
|
|
|
13216
13199
|
}
|
|
13217
13200
|
/**
|
|
13218
13201
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13219
|
-
* @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}
|
|
13220
13203
|
*/
|
|
13221
13204
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
13222
13205
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13246,7 +13229,7 @@ declare module "factorio:runtime" {
|
|
|
13246
13229
|
}
|
|
13247
13230
|
/**
|
|
13248
13231
|
* @see InserterBlueprintControlBehaviorWrite
|
|
13249
|
-
* @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}
|
|
13250
13233
|
*/
|
|
13251
13234
|
export interface InserterBlueprintControlBehavior {
|
|
13252
13235
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13264,7 +13247,7 @@ declare module "factorio:runtime" {
|
|
|
13264
13247
|
*/
|
|
13265
13248
|
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
|
13266
13249
|
/**
|
|
13267
|
-
* Defaults to `false`.
|
|
13250
|
+
* Defaults to `false`. Whether the inserter hand size is controlled by the circuit network.
|
|
13268
13251
|
*/
|
|
13269
13252
|
readonly circuit_set_stack_size?: boolean
|
|
13270
13253
|
readonly stack_control_input_signal?: SignalID
|
|
@@ -13281,7 +13264,7 @@ declare module "factorio:runtime" {
|
|
|
13281
13264
|
}
|
|
13282
13265
|
/**
|
|
13283
13266
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13284
|
-
* @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}
|
|
13285
13268
|
*/
|
|
13286
13269
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
13287
13270
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13299,7 +13282,7 @@ declare module "factorio:runtime" {
|
|
|
13299
13282
|
*/
|
|
13300
13283
|
readonly circuit_hand_read_mode?: defines.control_behavior.inserter.hand_read_mode
|
|
13301
13284
|
/**
|
|
13302
|
-
* Defaults to `false`.
|
|
13285
|
+
* Defaults to `false`. Whether the inserter hand size is controlled by the circuit network.
|
|
13303
13286
|
*/
|
|
13304
13287
|
readonly circuit_set_stack_size?: boolean
|
|
13305
13288
|
readonly stack_control_input_signal?: SignalIDWrite
|
|
@@ -13316,21 +13299,21 @@ declare module "factorio:runtime" {
|
|
|
13316
13299
|
}
|
|
13317
13300
|
/**
|
|
13318
13301
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
13319
|
-
* @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}
|
|
13320
13303
|
*/
|
|
13321
13304
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
13322
13305
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
13323
13306
|
}
|
|
13324
13307
|
/**
|
|
13325
13308
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13326
|
-
* @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}
|
|
13327
13310
|
*/
|
|
13328
13311
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
13329
13312
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
13330
13313
|
}
|
|
13331
13314
|
/**
|
|
13332
13315
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
13333
|
-
* @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}
|
|
13334
13317
|
*/
|
|
13335
13318
|
export interface RoboportBlueprintControlBehavior {
|
|
13336
13319
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13344,7 +13327,7 @@ declare module "factorio:runtime" {
|
|
|
13344
13327
|
}
|
|
13345
13328
|
/**
|
|
13346
13329
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13347
|
-
* @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}
|
|
13348
13331
|
*/
|
|
13349
13332
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
13350
13333
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13358,7 +13341,7 @@ declare module "factorio:runtime" {
|
|
|
13358
13341
|
}
|
|
13359
13342
|
/**
|
|
13360
13343
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
13361
|
-
* @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}
|
|
13362
13345
|
*/
|
|
13363
13346
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
13364
13347
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13406,7 +13389,7 @@ declare module "factorio:runtime" {
|
|
|
13406
13389
|
}
|
|
13407
13390
|
/**
|
|
13408
13391
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13409
|
-
* @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}
|
|
13410
13393
|
*/
|
|
13411
13394
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
13412
13395
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13454,7 +13437,7 @@ declare module "factorio:runtime" {
|
|
|
13454
13437
|
}
|
|
13455
13438
|
/**
|
|
13456
13439
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
13457
|
-
* @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}
|
|
13458
13441
|
*/
|
|
13459
13442
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
13460
13443
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13486,7 +13469,7 @@ declare module "factorio:runtime" {
|
|
|
13486
13469
|
}
|
|
13487
13470
|
/**
|
|
13488
13471
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13489
|
-
* @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}
|
|
13490
13473
|
*/
|
|
13491
13474
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
13492
13475
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13552,7 +13535,7 @@ declare module "factorio:runtime" {
|
|
|
13552
13535
|
* "2500 * (L - 3)"
|
|
13553
13536
|
* @example
|
|
13554
13537
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
13555
|
-
* @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}
|
|
13556
13539
|
*/
|
|
13557
13540
|
export type MathExpression = string
|
|
13558
13541
|
/**
|
|
@@ -13563,12 +13546,12 @@ declare module "factorio:runtime" {
|
|
|
13563
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.
|
|
13564
13547
|
* @example
|
|
13565
13548
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
13566
|
-
* @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}
|
|
13567
13550
|
*/
|
|
13568
13551
|
export type Tags = Record<string, AnyBasic>
|
|
13569
13552
|
/**
|
|
13570
13553
|
* @see TileWrite
|
|
13571
|
-
* @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}
|
|
13572
13555
|
*/
|
|
13573
13556
|
export interface Tile {
|
|
13574
13557
|
/**
|
|
@@ -13582,7 +13565,7 @@ declare module "factorio:runtime" {
|
|
|
13582
13565
|
}
|
|
13583
13566
|
/**
|
|
13584
13567
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
|
13585
|
-
* @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}
|
|
13586
13569
|
*/
|
|
13587
13570
|
export interface TileWrite {
|
|
13588
13571
|
/**
|
|
@@ -13606,99 +13589,99 @@ declare module "factorio:runtime" {
|
|
|
13606
13589
|
}
|
|
13607
13590
|
/**
|
|
13608
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.
|
|
13609
|
-
* @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}
|
|
13610
13593
|
*/
|
|
13611
13594
|
export type float = number
|
|
13612
13595
|
/**
|
|
13613
13596
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
|
13614
|
-
* @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}
|
|
13615
13598
|
*/
|
|
13616
13599
|
export type double = number
|
|
13617
13600
|
/**
|
|
13618
13601
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
13619
13602
|
*
|
|
13620
13603
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
|
13621
|
-
* @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}
|
|
13622
13605
|
*/
|
|
13623
13606
|
export type uint8 = number
|
|
13624
13607
|
/**
|
|
13625
13608
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
13626
13609
|
*
|
|
13627
13610
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
|
13628
|
-
* @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}
|
|
13629
13612
|
*/
|
|
13630
13613
|
export type int8 = number
|
|
13631
13614
|
/**
|
|
13632
13615
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
13633
13616
|
*
|
|
13634
13617
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
|
13635
|
-
* @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}
|
|
13636
13619
|
*/
|
|
13637
13620
|
export type uint16 = number
|
|
13638
13621
|
/**
|
|
13639
13622
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
13640
13623
|
*
|
|
13641
13624
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
|
13642
|
-
* @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}
|
|
13643
13626
|
*/
|
|
13644
13627
|
export type int16 = number
|
|
13645
13628
|
/**
|
|
13646
13629
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
13647
13630
|
*
|
|
13648
13631
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
|
13649
|
-
* @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}
|
|
13650
13633
|
*/
|
|
13651
13634
|
export type uint32 = number
|
|
13652
13635
|
/**
|
|
13653
13636
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
13654
13637
|
*
|
|
13655
13638
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
|
13656
|
-
* @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}
|
|
13657
13640
|
*/
|
|
13658
13641
|
export type int32 = number
|
|
13659
13642
|
/**
|
|
13660
13643
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
13661
13644
|
*
|
|
13662
13645
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
|
13663
|
-
* @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}
|
|
13664
13647
|
*/
|
|
13665
13648
|
export type uint64 = number
|
|
13666
13649
|
/**
|
|
13667
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.
|
|
13668
|
-
* @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}
|
|
13669
13652
|
*/
|
|
13670
13653
|
export type nil = undefined
|
|
13671
13654
|
/**
|
|
13672
13655
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
13673
13656
|
*
|
|
13674
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.
|
|
13675
|
-
* @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}
|
|
13676
13659
|
*/
|
|
13677
13660
|
export type table = object
|
|
13678
13661
|
/**
|
|
13679
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.
|
|
13680
|
-
* @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}
|
|
13681
13664
|
*/
|
|
13682
13665
|
export interface LuaObject {
|
|
13683
13666
|
readonly object_name: string
|
|
13684
13667
|
}
|
|
13685
13668
|
/**
|
|
13686
13669
|
* Any basic type (string, number, boolean) or table.
|
|
13687
|
-
* @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}
|
|
13688
13671
|
*/
|
|
13689
13672
|
export type AnyBasic = string | boolean | number | table
|
|
13690
13673
|
/**
|
|
13691
13674
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
13692
|
-
* @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}
|
|
13693
13676
|
*/
|
|
13694
13677
|
export type Any = string | boolean | number | table | LuaObject
|
|
13695
13678
|
/**
|
|
13696
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}`.
|
|
13697
13680
|
*
|
|
13698
|
-
* {@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:}
|
|
13699
13682
|
*
|
|
13700
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13701
|
-
* @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}
|
|
13702
13685
|
*/
|
|
13703
13686
|
export type PropertyExpressionNames = Record<string, string>
|
|
13704
13687
|
/**
|
|
@@ -13755,7 +13738,7 @@ declare module "factorio:runtime" {
|
|
|
13755
13738
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
13756
13739
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
13757
13740
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
13758
|
-
* @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}
|
|
13759
13742
|
*/
|
|
13760
13743
|
export type ModSettingPrototypeFilter =
|
|
13761
13744
|
TypeModSettingPrototypeFilter | ModModSettingPrototypeFilter | SettingTypeModSettingPrototypeFilter
|
|
@@ -13817,13 +13800,13 @@ declare module "factorio:runtime" {
|
|
|
13817
13800
|
* Other attributes may be specified depending on `filter`:
|
|
13818
13801
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
13819
13802
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
13820
|
-
* @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}
|
|
13821
13804
|
*/
|
|
13822
13805
|
export type SpaceLocationPrototypeFilter =
|
|
13823
13806
|
TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter
|
|
13824
13807
|
/**
|
|
13825
13808
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
13826
|
-
* @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}
|
|
13827
13810
|
*/
|
|
13828
13811
|
export type SpaceLocationPrototypeFilterWrite =
|
|
13829
13812
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -13871,7 +13854,7 @@ declare module "factorio:runtime" {
|
|
|
13871
13854
|
*
|
|
13872
13855
|
* Other attributes may be specified depending on `filter`:
|
|
13873
13856
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
13874
|
-
* @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}
|
|
13875
13858
|
*/
|
|
13876
13859
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
13877
13860
|
/**
|
|
@@ -14013,7 +13996,7 @@ declare module "factorio:runtime" {
|
|
|
14013
13996
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
14014
13997
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
14015
13998
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
14016
|
-
* @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}
|
|
14017
14000
|
*/
|
|
14018
14001
|
export type TilePrototypeFilter =
|
|
14019
14002
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14024,7 +14007,7 @@ declare module "factorio:runtime" {
|
|
|
14024
14007
|
| OtherTilePrototypeFilter
|
|
14025
14008
|
/**
|
|
14026
14009
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14027
|
-
* @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}
|
|
14028
14011
|
*/
|
|
14029
14012
|
export type TilePrototypeFilterWrite =
|
|
14030
14013
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14381,7 +14364,7 @@ declare module "factorio:runtime" {
|
|
|
14381
14364
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
14382
14365
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
14383
14366
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
14384
|
-
* @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}
|
|
14385
14368
|
*/
|
|
14386
14369
|
export type ItemPrototypeFilter =
|
|
14387
14370
|
| PlaceResultItemPrototypeFilter
|
|
@@ -14403,7 +14386,7 @@ declare module "factorio:runtime" {
|
|
|
14403
14386
|
| OtherItemPrototypeFilter
|
|
14404
14387
|
/**
|
|
14405
14388
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14406
|
-
* @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}
|
|
14407
14390
|
*/
|
|
14408
14391
|
export type ItemPrototypeFilterWrite =
|
|
14409
14392
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -14543,7 +14526,7 @@ declare module "factorio:runtime" {
|
|
|
14543
14526
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
14544
14527
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
14545
14528
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
14546
|
-
* @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}
|
|
14547
14530
|
*/
|
|
14548
14531
|
export type TechnologyPrototypeFilter =
|
|
14549
14532
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14554,7 +14537,7 @@ declare module "factorio:runtime" {
|
|
|
14554
14537
|
| OtherTechnologyPrototypeFilter
|
|
14555
14538
|
/**
|
|
14556
14539
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14557
|
-
* @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}
|
|
14558
14541
|
*/
|
|
14559
14542
|
export type TechnologyPrototypeFilterWrite =
|
|
14560
14543
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14810,7 +14793,7 @@ declare module "factorio:runtime" {
|
|
|
14810
14793
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
14811
14794
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
14812
14795
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
14813
|
-
* @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}
|
|
14814
14797
|
*/
|
|
14815
14798
|
export type RecipePrototypeFilter =
|
|
14816
14799
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -14826,7 +14809,7 @@ declare module "factorio:runtime" {
|
|
|
14826
14809
|
| OtherRecipePrototypeFilter
|
|
14827
14810
|
/**
|
|
14828
14811
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14829
|
-
* @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}
|
|
14830
14813
|
*/
|
|
14831
14814
|
export type RecipePrototypeFilterWrite =
|
|
14832
14815
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -14878,7 +14861,7 @@ declare module "factorio:runtime" {
|
|
|
14878
14861
|
*
|
|
14879
14862
|
* Other attributes may be specified depending on `filter`:
|
|
14880
14863
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
14881
|
-
* @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}
|
|
14882
14865
|
*/
|
|
14883
14866
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
14884
14867
|
export interface VirtualSignalPrototypeFilter {
|
|
@@ -14933,7 +14916,7 @@ declare module "factorio:runtime" {
|
|
|
14933
14916
|
*
|
|
14934
14917
|
* Other attributes may be specified depending on `filter`:
|
|
14935
14918
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
14936
|
-
* @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}
|
|
14937
14920
|
*/
|
|
14938
14921
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
14939
14922
|
/**
|
|
@@ -15118,7 +15101,7 @@ declare module "factorio:runtime" {
|
|
|
15118
15101
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
15119
15102
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
15120
15103
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
15121
|
-
* @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}
|
|
15122
15105
|
*/
|
|
15123
15106
|
export type FluidPrototypeFilter =
|
|
15124
15107
|
| NameFluidPrototypeFilter
|
|
@@ -15132,7 +15115,7 @@ declare module "factorio:runtime" {
|
|
|
15132
15115
|
| OtherFluidPrototypeFilter
|
|
15133
15116
|
/**
|
|
15134
15117
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15135
|
-
* @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}
|
|
15136
15119
|
*/
|
|
15137
15120
|
export type FluidPrototypeFilterWrite =
|
|
15138
15121
|
| NameFluidPrototypeFilter
|
|
@@ -15351,7 +15334,7 @@ declare module "factorio:runtime" {
|
|
|
15351
15334
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
15352
15335
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
15353
15336
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
15354
|
-
* @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}
|
|
15355
15338
|
*/
|
|
15356
15339
|
export type EntityPrototypeFilter =
|
|
15357
15340
|
| NameEntityPrototypeFilter
|
|
@@ -15364,7 +15347,7 @@ declare module "factorio:runtime" {
|
|
|
15364
15347
|
| OtherEntityPrototypeFilter
|
|
15365
15348
|
/**
|
|
15366
15349
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15367
|
-
* @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}
|
|
15368
15351
|
*/
|
|
15369
15352
|
export type EntityPrototypeFilterWrite =
|
|
15370
15353
|
| NameEntityPrototypeFilter
|
|
@@ -15407,7 +15390,7 @@ declare module "factorio:runtime" {
|
|
|
15407
15390
|
*
|
|
15408
15391
|
* Other attributes may be specified depending on `filter`:
|
|
15409
15392
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
15410
|
-
* @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}
|
|
15411
15394
|
*/
|
|
15412
15395
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
15413
15396
|
/**
|
|
@@ -15507,7 +15490,7 @@ declare module "factorio:runtime" {
|
|
|
15507
15490
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
15508
15491
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
15509
15492
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
15510
|
-
* @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}
|
|
15511
15494
|
*/
|
|
15512
15495
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
15513
15496
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -15612,7 +15595,7 @@ declare module "factorio:runtime" {
|
|
|
15612
15595
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
15613
15596
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
15614
15597
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
15615
|
-
* @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}
|
|
15616
15599
|
*/
|
|
15617
15600
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
15618
15601
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -15717,7 +15700,7 @@ declare module "factorio:runtime" {
|
|
|
15717
15700
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
15718
15701
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
15719
15702
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
15720
|
-
* @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}
|
|
15721
15704
|
*/
|
|
15722
15705
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
15723
15706
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -15822,7 +15805,7 @@ declare module "factorio:runtime" {
|
|
|
15822
15805
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
15823
15806
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
15824
15807
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
15825
|
-
* @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}
|
|
15826
15809
|
*/
|
|
15827
15810
|
export type LuaPlatformMinedEntityEventFilter =
|
|
15828
15811
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -15939,7 +15922,7 @@ declare module "factorio:runtime" {
|
|
|
15939
15922
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
15940
15923
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
15941
15924
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
15942
|
-
* @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}
|
|
15943
15926
|
*/
|
|
15944
15927
|
export type LuaRobotBuiltEntityEventFilter =
|
|
15945
15928
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -16045,7 +16028,7 @@ declare module "factorio:runtime" {
|
|
|
16045
16028
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
16046
16029
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
16047
16030
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
16048
|
-
* @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}
|
|
16049
16032
|
*/
|
|
16050
16033
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
16051
16034
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -16150,7 +16133,7 @@ declare module "factorio:runtime" {
|
|
|
16150
16133
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
16151
16134
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
16152
16135
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
16153
|
-
* @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}
|
|
16154
16137
|
*/
|
|
16155
16138
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
16156
16139
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -16255,7 +16238,7 @@ declare module "factorio:runtime" {
|
|
|
16255
16238
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
16256
16239
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
16257
16240
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
16258
|
-
* @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}
|
|
16259
16242
|
*/
|
|
16260
16243
|
export type LuaPreGhostUpgradedEventFilter =
|
|
16261
16244
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -16372,7 +16355,7 @@ declare module "factorio:runtime" {
|
|
|
16372
16355
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
16373
16356
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
16374
16357
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
16375
|
-
* @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}
|
|
16376
16359
|
*/
|
|
16377
16360
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
16378
16361
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -16478,7 +16461,7 @@ declare module "factorio:runtime" {
|
|
|
16478
16461
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
16479
16462
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
16480
16463
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
16481
|
-
* @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}
|
|
16482
16465
|
*/
|
|
16483
16466
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
16484
16467
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -16583,7 +16566,7 @@ declare module "factorio:runtime" {
|
|
|
16583
16566
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
16584
16567
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
16585
16568
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
16586
|
-
* @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}
|
|
16587
16570
|
*/
|
|
16588
16571
|
export type LuaEntityClonedEventFilter =
|
|
16589
16572
|
| TypeEntityClonedEventFilter
|
|
@@ -16688,7 +16671,7 @@ declare module "factorio:runtime" {
|
|
|
16688
16671
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
16689
16672
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
16690
16673
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
16691
|
-
* @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}
|
|
16692
16675
|
*/
|
|
16693
16676
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
16694
16677
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -16728,7 +16711,7 @@ declare module "factorio:runtime" {
|
|
|
16728
16711
|
*
|
|
16729
16712
|
* Other attributes may be specified depending on `filter`:
|
|
16730
16713
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
16731
|
-
* @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}
|
|
16732
16715
|
*/
|
|
16733
16716
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
16734
16717
|
/**
|
|
@@ -16763,7 +16746,7 @@ declare module "factorio:runtime" {
|
|
|
16763
16746
|
*
|
|
16764
16747
|
* Other attributes may be specified depending on `filter`:
|
|
16765
16748
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
16766
|
-
* @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}
|
|
16767
16750
|
*/
|
|
16768
16751
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
16769
16752
|
/**
|
|
@@ -16869,7 +16852,7 @@ declare module "factorio:runtime" {
|
|
|
16869
16852
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
16870
16853
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
16871
16854
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
16872
|
-
* @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}
|
|
16873
16856
|
*/
|
|
16874
16857
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
16875
16858
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16879,7 +16862,7 @@ declare module "factorio:runtime" {
|
|
|
16879
16862
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
16880
16863
|
/**
|
|
16881
16864
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
16882
|
-
* @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}
|
|
16883
16866
|
*/
|
|
16884
16867
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
16885
16868
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16984,7 +16967,7 @@ declare module "factorio:runtime" {
|
|
|
16984
16967
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
16985
16968
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
16986
16969
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
16987
|
-
* @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}
|
|
16988
16971
|
*/
|
|
16989
16972
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
16990
16973
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -17089,7 +17072,7 @@ declare module "factorio:runtime" {
|
|
|
17089
17072
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
17090
17073
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
17091
17074
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
17092
|
-
* @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}
|
|
17093
17076
|
*/
|
|
17094
17077
|
export type LuaPlayerMinedEntityEventFilter =
|
|
17095
17078
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -17194,7 +17177,7 @@ declare module "factorio:runtime" {
|
|
|
17194
17177
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
17195
17178
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
17196
17179
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
17197
|
-
* @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}
|
|
17198
17181
|
*/
|
|
17199
17182
|
export type LuaSectorScannedEventFilter =
|
|
17200
17183
|
| TypeSectorScannedEventFilter
|
|
@@ -17299,7 +17282,7 @@ declare module "factorio:runtime" {
|
|
|
17299
17282
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
17300
17283
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
17301
17284
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
17302
|
-
* @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}
|
|
17303
17286
|
*/
|
|
17304
17287
|
export type LuaRobotMinedEntityEventFilter =
|
|
17305
17288
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -17404,7 +17387,7 @@ declare module "factorio:runtime" {
|
|
|
17404
17387
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
17405
17388
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
17406
17389
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
17407
|
-
* @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}
|
|
17408
17391
|
*/
|
|
17409
17392
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
17410
17393
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -17444,7 +17427,7 @@ declare module "factorio:runtime" {
|
|
|
17444
17427
|
*
|
|
17445
17428
|
* Other attributes may be specified depending on `filter`:
|
|
17446
17429
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
17447
|
-
* @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}
|
|
17448
17431
|
*/
|
|
17449
17432
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
17450
17433
|
/**
|
|
@@ -17544,7 +17527,7 @@ declare module "factorio:runtime" {
|
|
|
17544
17527
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
17545
17528
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
17546
17529
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
17547
|
-
* @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}
|
|
17548
17531
|
*/
|
|
17549
17532
|
export type LuaScriptRaisedReviveEventFilter =
|
|
17550
17533
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -17661,7 +17644,7 @@ declare module "factorio:runtime" {
|
|
|
17661
17644
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
17662
17645
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
17663
17646
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
17664
|
-
* @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}
|
|
17665
17648
|
*/
|
|
17666
17649
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
17667
17650
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -17767,7 +17750,7 @@ declare module "factorio:runtime" {
|
|
|
17767
17750
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
17768
17751
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
17769
17752
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
17770
|
-
* @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}
|
|
17771
17754
|
*/
|
|
17772
17755
|
export type LuaUpgradeCancelledEventFilter =
|
|
17773
17756
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -17947,7 +17930,7 @@ declare module "factorio:runtime" {
|
|
|
17947
17930
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
17948
17931
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
17949
17932
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
17950
|
-
* @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}
|
|
17951
17934
|
*/
|
|
17952
17935
|
export type LuaEntityDamagedEventFilter =
|
|
17953
17936
|
| TypeEntityDamagedEventFilter
|
|
@@ -17961,7 +17944,7 @@ declare module "factorio:runtime" {
|
|
|
17961
17944
|
| OtherEntityDamagedEventFilter
|
|
17962
17945
|
/**
|
|
17963
17946
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
17964
|
-
* @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}
|
|
17965
17948
|
*/
|
|
17966
17949
|
export type LuaEntityDamagedEventFilterWrite =
|
|
17967
17950
|
| TypeEntityDamagedEventFilter
|
|
@@ -18082,7 +18065,7 @@ declare module "factorio:runtime" {
|
|
|
18082
18065
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
18083
18066
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
18084
18067
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
18085
|
-
* @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}
|
|
18086
18069
|
*/
|
|
18087
18070
|
export type LuaEntityDiedEventFilter =
|
|
18088
18071
|
| TypeEntityDiedEventFilter
|
|
@@ -18188,7 +18171,7 @@ declare module "factorio:runtime" {
|
|
|
18188
18171
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
18189
18172
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
18190
18173
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
18191
|
-
* @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}
|
|
18192
18175
|
*/
|
|
18193
18176
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
18194
18177
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -18239,7 +18222,7 @@ declare module "factorio:runtime" {
|
|
|
18239
18222
|
* Other attributes may be specified depending on `filter`:
|
|
18240
18223
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
18241
18224
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
18242
|
-
* @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}
|
|
18243
18226
|
*/
|
|
18244
18227
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
18245
18228
|
NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter
|
|
@@ -18340,7 +18323,7 @@ declare module "factorio:runtime" {
|
|
|
18340
18323
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
18341
18324
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
18342
18325
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
18343
|
-
* @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}
|
|
18344
18327
|
*/
|
|
18345
18328
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
18346
18329
|
| TypeScriptRaisedDestroyEventFilter
|