typed-factorio 4.8.0 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +2540 -2493
- package/prototype/generated/types.d.ts +2630 -2619
- package/runtime/generated/classes.d.ts +5238 -5055
- package/runtime/generated/concepts.d.ts +580 -516
- package/runtime/generated/defines.d.ts +217 -216
- package/runtime/generated/events.d.ts +237 -229
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +7 -7
|
@@ -12,7 +12,7 @@ import type { VersionString } from "factorio:common"
|
|
|
12
12
|
declare module "factorio:runtime" {
|
|
13
13
|
/**
|
|
14
14
|
* Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is `1/2^16`.
|
|
15
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Weight.html Online documentation}
|
|
16
16
|
*/
|
|
17
17
|
export type Weight = double
|
|
18
18
|
export interface CircularParticleCreationSpecification {
|
|
@@ -54,8 +54,8 @@ declare module "factorio:runtime" {
|
|
|
54
54
|
_customEventIdBrand: any
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.1.
|
|
58
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
57
|
+
* Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.1.25/events.html the list of Factorio events} for more information on these.
|
|
58
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EventData.html Online documentation}
|
|
59
59
|
*/
|
|
60
60
|
export interface EventData {
|
|
61
61
|
/**
|
|
@@ -115,7 +115,7 @@ declare module "factorio:runtime" {
|
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* Information about an individual segment in a segmented unit when the unit died.
|
|
118
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
118
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PostSegmentDiedData.html Online documentation}
|
|
119
119
|
*/
|
|
120
120
|
export interface PostSegmentDiedData {
|
|
121
121
|
/**
|
|
@@ -131,7 +131,7 @@ declare module "factorio:runtime" {
|
|
|
131
131
|
* ## Union members
|
|
132
132
|
* - `"input"`
|
|
133
133
|
* - `"output"`
|
|
134
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
134
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BeltConnectionType.html Online documentation}
|
|
135
135
|
*/
|
|
136
136
|
export type BeltConnectionType = "input" | "output"
|
|
137
137
|
/**
|
|
@@ -142,7 +142,7 @@ declare module "factorio:runtime" {
|
|
|
142
142
|
* - {@link FluidID}: Used with fluid production statistics.
|
|
143
143
|
* - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics.
|
|
144
144
|
* - {@link EntityID}: Used with pollution statistics.
|
|
145
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
145
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FlowStatisticsID.html Online documentation}
|
|
146
146
|
*/
|
|
147
147
|
export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID
|
|
148
148
|
export type ItemStackIndex = uint16
|
|
@@ -164,7 +164,7 @@ declare module "factorio:runtime" {
|
|
|
164
164
|
* - `"<="`: "lesser than or equal to"
|
|
165
165
|
* - `"≠"`: "not equal to"
|
|
166
166
|
* - `"!="`: "not equal to"
|
|
167
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
167
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ComparatorString.html Online documentation}
|
|
168
168
|
*/
|
|
169
169
|
export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!="
|
|
170
170
|
export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠"
|
|
@@ -195,116 +195,116 @@ declare module "factorio:runtime" {
|
|
|
195
195
|
*
|
|
196
196
|
* The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}.
|
|
197
197
|
*
|
|
198
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
199
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
198
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SpritePath.html > The supported types are:}
|
|
199
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpritePath.html Online documentation}
|
|
200
200
|
*/
|
|
201
201
|
export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}`
|
|
202
202
|
/**
|
|
203
203
|
* Parameters that affect the look and control of the game. Updating any of the member attributes here will immediately take effect in the game engine.
|
|
204
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
204
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.html Online documentation}
|
|
205
205
|
*/
|
|
206
206
|
export interface GameViewSettings {
|
|
207
207
|
/**
|
|
208
208
|
* Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots.
|
|
209
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
209
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_controller_gui.html Online documentation}
|
|
210
210
|
*/
|
|
211
211
|
show_controller_gui: boolean
|
|
212
212
|
/**
|
|
213
213
|
* Show the chart in the upper right-hand corner of the screen.
|
|
214
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
214
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_minimap.html Online documentation}
|
|
215
215
|
*/
|
|
216
216
|
show_minimap: boolean
|
|
217
217
|
/**
|
|
218
218
|
* Show research progress and name in the upper right-hand corner of the screen.
|
|
219
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
219
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_research_info.html Online documentation}
|
|
220
220
|
*/
|
|
221
221
|
show_research_info: boolean
|
|
222
222
|
/**
|
|
223
223
|
* Show overlay icons on entities. Also known as "alt-mode".
|
|
224
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
224
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_entity_info.html Online documentation}
|
|
225
225
|
*/
|
|
226
226
|
show_entity_info: boolean
|
|
227
227
|
/**
|
|
228
228
|
* Show the flashing alert icons next to the player's toolbar.
|
|
229
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
229
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_alert_gui.html Online documentation}
|
|
230
230
|
*/
|
|
231
231
|
show_alert_gui: boolean
|
|
232
232
|
/**
|
|
233
233
|
* When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection.
|
|
234
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
234
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.update_entity_selection.html Online documentation}
|
|
235
235
|
*/
|
|
236
236
|
update_entity_selection: boolean
|
|
237
237
|
/**
|
|
238
238
|
* When `true` (`false` is default), the rails will always show the rail block visualisation.
|
|
239
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
239
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation}
|
|
240
240
|
*/
|
|
241
241
|
show_rail_block_visualisation: boolean
|
|
242
242
|
/**
|
|
243
243
|
* Shows or hides the buttons row.
|
|
244
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_side_menu.html Online documentation}
|
|
245
245
|
*/
|
|
246
246
|
show_side_menu: boolean
|
|
247
247
|
/**
|
|
248
248
|
* Shows or hides the pins GUI on the right side of the screen.
|
|
249
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
249
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_pins_gui.html Online documentation}
|
|
250
250
|
*/
|
|
251
251
|
show_pins_gui: boolean
|
|
252
252
|
/**
|
|
253
253
|
* Shows or hides the view options when map is opened.
|
|
254
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
254
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_map_view_options.html Online documentation}
|
|
255
255
|
*/
|
|
256
256
|
show_map_view_options: boolean
|
|
257
257
|
/**
|
|
258
258
|
* Shows or hides the tooltip that is displayed when selecting an entity.
|
|
259
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
259
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_entity_tooltip.html Online documentation}
|
|
260
260
|
*/
|
|
261
261
|
show_entity_tooltip: boolean
|
|
262
262
|
/**
|
|
263
263
|
* Shows or hides quickbar of shortcuts.
|
|
264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
264
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_quickbar.html Online documentation}
|
|
265
265
|
*/
|
|
266
266
|
show_quickbar: boolean
|
|
267
267
|
/**
|
|
268
268
|
* Shows or hides the shortcut bar.
|
|
269
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
269
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_shortcut_bar.html Online documentation}
|
|
270
270
|
*/
|
|
271
271
|
show_shortcut_bar: boolean
|
|
272
272
|
/**
|
|
273
273
|
* Shows or hides the crafting queue.
|
|
274
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
274
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_crafting_queue.html Online documentation}
|
|
275
275
|
*/
|
|
276
276
|
show_crafting_queue: boolean
|
|
277
277
|
/**
|
|
278
278
|
* Shows or hides the tool window with the weapons and armor.
|
|
279
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
279
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_tool_bar.html Online documentation}
|
|
280
280
|
*/
|
|
281
281
|
show_tool_bar: boolean
|
|
282
282
|
/**
|
|
283
283
|
* Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings.
|
|
284
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
284
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation}
|
|
285
285
|
*/
|
|
286
286
|
show_hotkey_suggestions: boolean
|
|
287
287
|
/**
|
|
288
288
|
* Shows or hides the surface list while in Remote View.
|
|
289
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
289
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.show_surface_list.html Online documentation}
|
|
290
290
|
*/
|
|
291
291
|
show_surface_list: boolean
|
|
292
292
|
/**
|
|
293
293
|
* Makes tall entities translucent and unselectable.
|
|
294
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
294
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GameViewSettings.hide_tall_entities.html Online documentation}
|
|
295
295
|
*/
|
|
296
296
|
hide_tall_entities: boolean
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
299
|
* Precision is ignored beyond four decimals - `0.56789` results in `0.5678` and means 56.78% etc. Values can range from `-1000.0000` to `1000.0000`.
|
|
300
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
300
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EffectValue.html Online documentation}
|
|
301
301
|
*/
|
|
302
302
|
export type EffectValue = float
|
|
303
303
|
/**
|
|
304
304
|
* @example
|
|
305
305
|
* -- These are the effects of the vanilla Speed Module 3
|
|
306
306
|
* {speed = 0.5, consumption = 0.7, quality = -0.025}
|
|
307
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
307
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Effect.html Online documentation}
|
|
308
308
|
*/
|
|
309
309
|
export interface Effect {
|
|
310
310
|
readonly consumption?: EffectValue
|
|
@@ -315,12 +315,12 @@ declare module "factorio:runtime" {
|
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
317
|
* `math.huge` represents the maximum possible tick.
|
|
318
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
318
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapTick.html Online documentation}
|
|
319
319
|
*/
|
|
320
320
|
export type MapTick = uint64
|
|
321
321
|
/**
|
|
322
322
|
* @see BlueprintSignalIconWrite
|
|
323
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
323
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSignalIcon.html Online documentation}
|
|
324
324
|
*/
|
|
325
325
|
export interface BlueprintSignalIcon {
|
|
326
326
|
/**
|
|
@@ -334,7 +334,7 @@ declare module "factorio:runtime" {
|
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form.
|
|
337
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
337
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSignalIcon.html Online documentation}
|
|
338
338
|
*/
|
|
339
339
|
export interface BlueprintSignalIconWrite {
|
|
340
340
|
/**
|
|
@@ -423,7 +423,7 @@ declare module "factorio:runtime" {
|
|
|
423
423
|
* - `"collision-selection-box"`: 189
|
|
424
424
|
* - `"arrow"`: 190
|
|
425
425
|
* - `"cursor"`: 226
|
|
426
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
426
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RenderLayer.html Online documentation}
|
|
427
427
|
*/
|
|
428
428
|
export type RenderLayer =
|
|
429
429
|
| `${bigint}`
|
|
@@ -507,7 +507,7 @@ declare module "factorio:runtime" {
|
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* What is shown in the map view. If a field is not given, that setting will not be changed.
|
|
510
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
510
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapViewSettings.html Online documentation}
|
|
511
511
|
*/
|
|
512
512
|
export interface MapViewSettings {
|
|
513
513
|
readonly "show-logistic-network"?: boolean
|
|
@@ -537,7 +537,7 @@ declare module "factorio:runtime" {
|
|
|
537
537
|
* - `"blueprint-snap-rectangle"`: Green by default.
|
|
538
538
|
* - `"spidertron-remote-selected"`
|
|
539
539
|
* - `"spidertron-remote-to-be-selected"`
|
|
540
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
540
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CursorBoxRenderType.html Online documentation}
|
|
541
541
|
*/
|
|
542
542
|
export type CursorBoxRenderType =
|
|
543
543
|
| "entity"
|
|
@@ -564,14 +564,14 @@ declare module "factorio:runtime" {
|
|
|
564
564
|
* The name of a {@link LuaCollisionLayerPrototype}.
|
|
565
565
|
* @example
|
|
566
566
|
* "is_lower_object"
|
|
567
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
567
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CollisionLayerID.html Online documentation}
|
|
568
568
|
*/
|
|
569
569
|
export type CollisionLayerID = string
|
|
570
570
|
/**
|
|
571
571
|
* @example
|
|
572
572
|
* -- Most common collision mask of buildings:
|
|
573
573
|
* collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}}
|
|
574
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
574
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CollisionMask.html Online documentation}
|
|
575
575
|
*/
|
|
576
576
|
export interface CollisionMask {
|
|
577
577
|
/**
|
|
@@ -606,7 +606,7 @@ declare module "factorio:runtime" {
|
|
|
606
606
|
* - `"always"`
|
|
607
607
|
* - `"auto"`
|
|
608
608
|
* - `"auto-and-reserve-space"`
|
|
609
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
609
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScrollPolicy.html Online documentation}
|
|
610
610
|
*/
|
|
611
611
|
export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space"
|
|
612
612
|
export interface EmptySlotInfo {
|
|
@@ -636,7 +636,7 @@ declare module "factorio:runtime" {
|
|
|
636
636
|
* - `"button-7"`
|
|
637
637
|
* - `"button-8"`
|
|
638
638
|
* - `"button-9"`
|
|
639
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
639
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ActiveMouseButtonFlags.html Online documentation}
|
|
640
640
|
*/
|
|
641
641
|
export interface ActiveMouseButtonFlags {
|
|
642
642
|
readonly "left"?: true
|
|
@@ -661,7 +661,7 @@ declare module "factorio:runtime" {
|
|
|
661
661
|
* - `"button-7"`
|
|
662
662
|
* - `"button-8"`
|
|
663
663
|
* - `"button-9"`
|
|
664
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
664
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MouseButtonFlags.html Online documentation}
|
|
665
665
|
*/
|
|
666
666
|
export type MouseButtonFlags = readonly (
|
|
667
667
|
| "left"
|
|
@@ -682,7 +682,7 @@ declare module "factorio:runtime" {
|
|
|
682
682
|
* - `"left"`
|
|
683
683
|
* - `"right"`
|
|
684
684
|
* - `"none"`
|
|
685
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
685
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SwitchState.html Online documentation}
|
|
686
686
|
*/
|
|
687
687
|
export type SwitchState = "left" | "right" | "none"
|
|
688
688
|
/**
|
|
@@ -713,7 +713,7 @@ declare module "factorio:runtime" {
|
|
|
713
713
|
* - `"tab"`: A tab for use in a `tabbed-pane`.
|
|
714
714
|
* - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed}
|
|
715
715
|
* - `"inventory"`
|
|
716
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
716
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiElementType.html Online documentation}
|
|
717
717
|
*/
|
|
718
718
|
export type GuiElementType =
|
|
719
719
|
| "button"
|
|
@@ -784,7 +784,7 @@ declare module "factorio:runtime" {
|
|
|
784
784
|
* - `"space-connection"`
|
|
785
785
|
* - `"surface"`
|
|
786
786
|
* - `"virtual-signal"`
|
|
787
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
787
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ElemType.html Online documentation}
|
|
788
788
|
*/
|
|
789
789
|
export type ElemType =
|
|
790
790
|
| "achievement"
|
|
@@ -842,7 +842,7 @@ declare module "factorio:runtime" {
|
|
|
842
842
|
}
|
|
843
843
|
/**
|
|
844
844
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_VariablePresentationHint DebugAdapter VariablePresentationHint}
|
|
845
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
845
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DebugVariablePresentationHint.html Online documentation}
|
|
846
846
|
*/
|
|
847
847
|
export interface DebugVariablePresentationHint {
|
|
848
848
|
/**
|
|
@@ -857,7 +857,7 @@ declare module "factorio:runtime" {
|
|
|
857
857
|
}
|
|
858
858
|
/**
|
|
859
859
|
* The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable DebugAdapter Variable}
|
|
860
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
860
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DebugVariable.html Online documentation}
|
|
861
861
|
*/
|
|
862
862
|
export interface DebugVariable {
|
|
863
863
|
readonly name: string
|
|
@@ -873,13 +873,13 @@ declare module "factorio:runtime" {
|
|
|
873
873
|
* @see VectorTable
|
|
874
874
|
* @example
|
|
875
875
|
* right = {1.0, 0.0}
|
|
876
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
876
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector.html Online documentation}
|
|
877
877
|
*/
|
|
878
878
|
export type Vector = readonly [float, float]
|
|
879
879
|
/**
|
|
880
880
|
* Table form of {@link Vector}.
|
|
881
881
|
* @see Vector
|
|
882
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
882
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector.html Online documentation}
|
|
883
883
|
*/
|
|
884
884
|
export interface VectorTable {
|
|
885
885
|
readonly x: float
|
|
@@ -888,7 +888,7 @@ declare module "factorio:runtime" {
|
|
|
888
888
|
/**
|
|
889
889
|
* Coordinates of a chunk in a {@link LuaSurface} where each integer `x`/`y` represents a different chunk. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys. A {@link MapPosition} can be translated to a ChunkPosition by dividing the `x`/`y` values by 32.
|
|
890
890
|
* @see ChunkPositionArray
|
|
891
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
891
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChunkPosition.html Online documentation}
|
|
892
892
|
*/
|
|
893
893
|
export interface ChunkPosition {
|
|
894
894
|
readonly x: int32
|
|
@@ -897,7 +897,7 @@ declare module "factorio:runtime" {
|
|
|
897
897
|
/**
|
|
898
898
|
* Array form of {@link ChunkPosition}.
|
|
899
899
|
* @see ChunkPosition
|
|
900
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
900
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChunkPosition.html Online documentation}
|
|
901
901
|
*/
|
|
902
902
|
export type ChunkPositionArray = readonly [int32, int32]
|
|
903
903
|
export interface ItemStackLocation {
|
|
@@ -923,7 +923,7 @@ declare module "factorio:runtime" {
|
|
|
923
923
|
*
|
|
924
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.
|
|
925
925
|
* @see ItemFilterWrite
|
|
926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
926
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemFilter.html Online documentation}
|
|
927
927
|
*/
|
|
928
928
|
export type ItemFilter =
|
|
929
929
|
| {
|
|
@@ -943,7 +943,7 @@ declare module "factorio:runtime" {
|
|
|
943
943
|
| string
|
|
944
944
|
/**
|
|
945
945
|
* Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
946
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
946
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemFilter.html Online documentation}
|
|
947
947
|
*/
|
|
948
948
|
export type ItemFilterWrite =
|
|
949
949
|
| {
|
|
@@ -963,7 +963,7 @@ declare module "factorio:runtime" {
|
|
|
963
963
|
| string
|
|
964
964
|
/**
|
|
965
965
|
* @see SavedLogisticFiltersWrite
|
|
966
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
966
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticFilters.html Online documentation}
|
|
967
967
|
*/
|
|
968
968
|
export interface SavedLogisticFilters {
|
|
969
969
|
readonly trash_not_requested: boolean
|
|
@@ -971,7 +971,7 @@ declare module "factorio:runtime" {
|
|
|
971
971
|
}
|
|
972
972
|
/**
|
|
973
973
|
* Write form of {@link SavedLogisticFilters}, where some properties allow additional values as input compared to the read form.
|
|
974
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
974
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticFilters.html Online documentation}
|
|
975
975
|
*/
|
|
976
976
|
export interface SavedLogisticFiltersWrite {
|
|
977
977
|
readonly trash_not_requested: boolean
|
|
@@ -979,7 +979,7 @@ declare module "factorio:runtime" {
|
|
|
979
979
|
}
|
|
980
980
|
/**
|
|
981
981
|
* @see SavedLogisticSectionWrite
|
|
982
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
982
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticSection.html Online documentation}
|
|
983
983
|
*/
|
|
984
984
|
export interface SavedLogisticSection {
|
|
985
985
|
readonly group?: string
|
|
@@ -989,7 +989,7 @@ declare module "factorio:runtime" {
|
|
|
989
989
|
}
|
|
990
990
|
/**
|
|
991
991
|
* Write form of {@link SavedLogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
992
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
992
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SavedLogisticSection.html Online documentation}
|
|
993
993
|
*/
|
|
994
994
|
export interface SavedLogisticSectionWrite {
|
|
995
995
|
readonly group?: string
|
|
@@ -1028,7 +1028,7 @@ declare module "factorio:runtime" {
|
|
|
1028
1028
|
* -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace'
|
|
1029
1029
|
* -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the
|
|
1030
1030
|
* -- translation result would be "Unknown key: 'item-description.furnace'".
|
|
1031
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1031
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LocalisedString.html Online documentation}
|
|
1032
1032
|
*/
|
|
1033
1033
|
export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]]
|
|
1034
1034
|
export interface BaseCommand {
|
|
@@ -1261,7 +1261,7 @@ declare module "factorio:runtime" {
|
|
|
1261
1261
|
* - {@link defines.command.stop}: {@link StopCommand}
|
|
1262
1262
|
* - {@link defines.command.flee}: {@link FleeCommand}
|
|
1263
1263
|
* - {@link defines.command.build_base}: {@link BuildBaseCommand}
|
|
1264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1264
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Command.html Online documentation}
|
|
1265
1265
|
*/
|
|
1266
1266
|
export type Command =
|
|
1267
1267
|
| AttackCommand
|
|
@@ -1275,7 +1275,7 @@ declare module "factorio:runtime" {
|
|
|
1275
1275
|
| BuildBaseCommand
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Write form of {@link Command}, where some properties allow additional values as input compared to the read form.
|
|
1278
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1278
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Command.html Online documentation}
|
|
1279
1279
|
*/
|
|
1280
1280
|
export type CommandWrite =
|
|
1281
1281
|
| AttackCommand
|
|
@@ -1352,7 +1352,7 @@ declare module "factorio:runtime" {
|
|
|
1352
1352
|
* - `"position"`: {@link PositionGuiArrowSpecification}
|
|
1353
1353
|
* - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification}
|
|
1354
1354
|
* - `"item_stack"`: {@link ItemStackGuiArrowSpecification}
|
|
1355
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1355
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiArrowSpecification.html Online documentation}
|
|
1356
1356
|
*/
|
|
1357
1357
|
export type GuiArrowSpecification =
|
|
1358
1358
|
| EntityGuiArrowSpecification
|
|
@@ -1372,7 +1372,7 @@ declare module "factorio:runtime" {
|
|
|
1372
1372
|
* - `"position"`
|
|
1373
1373
|
* - `"crafting_queue"`
|
|
1374
1374
|
* - `"item_stack"`: Will point to a given item stack in an inventory.
|
|
1375
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1375
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiArrowType.html Online documentation}
|
|
1376
1376
|
*/
|
|
1377
1377
|
export type GuiArrowType =
|
|
1378
1378
|
"nowhere" | "goal" | "entity_info" | "active_window" | "entity" | "position" | "crafting_queue" | "item_stack"
|
|
@@ -1381,7 +1381,7 @@ declare module "factorio:runtime" {
|
|
|
1381
1381
|
*
|
|
1382
1382
|
* If this is specified as a three-element array then the array items are x, y and z, in that order.
|
|
1383
1383
|
* @see Vector3DArray
|
|
1384
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1384
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector3D.html Online documentation}
|
|
1385
1385
|
*/
|
|
1386
1386
|
export interface Vector3D {
|
|
1387
1387
|
readonly x: float
|
|
@@ -1391,7 +1391,7 @@ declare module "factorio:runtime" {
|
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Array form of {@link Vector3D}.
|
|
1393
1393
|
* @see Vector3D
|
|
1394
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1394
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Vector3D.html Online documentation}
|
|
1395
1395
|
*/
|
|
1396
1396
|
export type Vector3DArray = readonly [float, float, float]
|
|
1397
1397
|
export interface TrainVisualizationConstants {
|
|
@@ -1430,12 +1430,12 @@ declare module "factorio:runtime" {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Does not return the value at runtime.
|
|
1433
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1433
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ColorLookupTable.html Online documentation}
|
|
1434
1434
|
*/
|
|
1435
1435
|
export type ColorLookupTable = nil
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Returns an empty table at runtime.
|
|
1438
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1438
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DaytimeColorLookupTable.html Online documentation}
|
|
1439
1439
|
*/
|
|
1440
1440
|
export type DaytimeColorLookupTable = "{}"
|
|
1441
1441
|
export interface ColorFilterData {
|
|
@@ -1543,7 +1543,7 @@ declare module "factorio:runtime" {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
/**
|
|
1545
1545
|
* @see TrainScheduleWrite
|
|
1546
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1546
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainSchedule.html Online documentation}
|
|
1547
1547
|
*/
|
|
1548
1548
|
export interface TrainSchedule {
|
|
1549
1549
|
/**
|
|
@@ -1554,7 +1554,7 @@ declare module "factorio:runtime" {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1557
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1557
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainSchedule.html Online documentation}
|
|
1558
1558
|
*/
|
|
1559
1559
|
export interface TrainScheduleWrite {
|
|
1560
1560
|
/**
|
|
@@ -1565,7 +1565,7 @@ declare module "factorio:runtime" {
|
|
|
1565
1565
|
}
|
|
1566
1566
|
/**
|
|
1567
1567
|
* @see PlatformScheduleWrite
|
|
1568
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1568
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PlatformSchedule.html Online documentation}
|
|
1569
1569
|
*/
|
|
1570
1570
|
export interface PlatformSchedule {
|
|
1571
1571
|
/**
|
|
@@ -1576,7 +1576,7 @@ declare module "factorio:runtime" {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
/**
|
|
1578
1578
|
* Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form.
|
|
1579
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1579
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PlatformSchedule.html Online documentation}
|
|
1580
1580
|
*/
|
|
1581
1581
|
export interface PlatformScheduleWrite {
|
|
1582
1582
|
/**
|
|
@@ -1616,6 +1616,68 @@ declare module "factorio:runtime" {
|
|
|
1616
1616
|
readonly south_to_none: BoundingBox
|
|
1617
1617
|
readonly none_to_north: BoundingBox
|
|
1618
1618
|
}
|
|
1619
|
+
/**
|
|
1620
|
+
* @see ScheduleRecordWrite
|
|
1621
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleRecord.html Online documentation}
|
|
1622
|
+
*/
|
|
1623
|
+
export interface ScheduleRecord {
|
|
1624
|
+
/**
|
|
1625
|
+
* Name of the station.
|
|
1626
|
+
*/
|
|
1627
|
+
readonly station?: string
|
|
1628
|
+
readonly rail?: LuaEntity
|
|
1629
|
+
/**
|
|
1630
|
+
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
1631
|
+
*/
|
|
1632
|
+
readonly rail_direction?: defines.rail_direction
|
|
1633
|
+
/**
|
|
1634
|
+
* When reading this will always be present but may be an empty array.
|
|
1635
|
+
*/
|
|
1636
|
+
readonly wait_conditions?: WaitCondition[]
|
|
1637
|
+
/**
|
|
1638
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1639
|
+
*/
|
|
1640
|
+
readonly temporary?: boolean
|
|
1641
|
+
/**
|
|
1642
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1643
|
+
*/
|
|
1644
|
+
readonly created_by_interrupt?: boolean
|
|
1645
|
+
/**
|
|
1646
|
+
* When reading this will always be present. Defaults to `true` when writing.
|
|
1647
|
+
*/
|
|
1648
|
+
readonly allows_unloading?: boolean
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
1652
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleRecord.html Online documentation}
|
|
1653
|
+
*/
|
|
1654
|
+
export interface ScheduleRecordWrite {
|
|
1655
|
+
/**
|
|
1656
|
+
* Name of the station.
|
|
1657
|
+
*/
|
|
1658
|
+
readonly station?: string
|
|
1659
|
+
readonly rail?: LuaEntity
|
|
1660
|
+
/**
|
|
1661
|
+
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
1662
|
+
*/
|
|
1663
|
+
readonly rail_direction?: defines.rail_direction
|
|
1664
|
+
/**
|
|
1665
|
+
* When reading this will always be present but may be an empty array.
|
|
1666
|
+
*/
|
|
1667
|
+
readonly wait_conditions?: readonly WaitConditionWrite[]
|
|
1668
|
+
/**
|
|
1669
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1670
|
+
*/
|
|
1671
|
+
readonly temporary?: boolean
|
|
1672
|
+
/**
|
|
1673
|
+
* When reading this will always be present. Defaults to `false` when writing.
|
|
1674
|
+
*/
|
|
1675
|
+
readonly created_by_interrupt?: boolean
|
|
1676
|
+
/**
|
|
1677
|
+
* When reading this will always be present. Defaults to `true` when writing.
|
|
1678
|
+
*/
|
|
1679
|
+
readonly allows_unloading?: boolean
|
|
1680
|
+
}
|
|
1619
1681
|
export interface RailLocation {
|
|
1620
1682
|
readonly position: MapPosition
|
|
1621
1683
|
readonly direction: defines.direction
|
|
@@ -1651,7 +1713,7 @@ declare module "factorio:runtime" {
|
|
|
1651
1713
|
}
|
|
1652
1714
|
/**
|
|
1653
1715
|
* A recipe prototype with optional quality specification.
|
|
1654
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1716
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipeIDAndQualityIDPair.html Online documentation}
|
|
1655
1717
|
*/
|
|
1656
1718
|
export interface RecipeIDAndQualityIDPair {
|
|
1657
1719
|
/**
|
|
@@ -1716,7 +1778,7 @@ declare module "factorio:runtime" {
|
|
|
1716
1778
|
}
|
|
1717
1779
|
/**
|
|
1718
1780
|
* A runtime representation of {@link SegmentEngineSpecification}.
|
|
1719
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1781
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentEngineSpecification.html Online documentation}
|
|
1720
1782
|
*/
|
|
1721
1783
|
export interface SegmentEngineSpecification {
|
|
1722
1784
|
/**
|
|
@@ -1730,7 +1792,7 @@ declare module "factorio:runtime" {
|
|
|
1730
1792
|
}
|
|
1731
1793
|
/**
|
|
1732
1794
|
* A runtime representation of {@link SegmentSpecification}.
|
|
1733
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1795
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentSpecification.html Online documentation}
|
|
1734
1796
|
*/
|
|
1735
1797
|
export interface SegmentSpecification {
|
|
1736
1798
|
/**
|
|
@@ -1744,7 +1806,7 @@ declare module "factorio:runtime" {
|
|
|
1744
1806
|
}
|
|
1745
1807
|
/**
|
|
1746
1808
|
* A runtime representation of {@link TileBuildabilityRule}.
|
|
1747
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
1809
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TileBuildabilityRule.html Online documentation}
|
|
1748
1810
|
*/
|
|
1749
1811
|
export interface TileBuildabilityRule {
|
|
1750
1812
|
/**
|
|
@@ -1938,7 +2000,7 @@ declare module "factorio:runtime" {
|
|
|
1938
2000
|
* - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}.
|
|
1939
2001
|
* - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}.
|
|
1940
2002
|
* - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly.
|
|
1941
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2003
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ForceID.html Online documentation}
|
|
1942
2004
|
*/
|
|
1943
2005
|
export type ForceID = string | uint8 | LuaForce
|
|
1944
2006
|
/**
|
|
@@ -1948,7 +2010,7 @@ declare module "factorio:runtime" {
|
|
|
1948
2010
|
* - `string`: The fluid name.
|
|
1949
2011
|
* - {@link LuaFluidPrototype}: The fluid prototype.
|
|
1950
2012
|
* - {@link Fluid}: The fluid.
|
|
1951
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2013
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidID.html Online documentation}
|
|
1952
2014
|
*/
|
|
1953
2015
|
export type FluidID = string | LuaFluidPrototype | Fluid
|
|
1954
2016
|
/**
|
|
@@ -1959,12 +2021,12 @@ declare module "factorio:runtime" {
|
|
|
1959
2021
|
* - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used.
|
|
1960
2022
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1961
2023
|
* - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality.
|
|
1962
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2024
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityWithQualityID.html Online documentation}
|
|
1963
2025
|
*/
|
|
1964
2026
|
export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair
|
|
1965
2027
|
/**
|
|
1966
2028
|
* An entity prototype with optional quality specification.
|
|
1967
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2029
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityIDAndQualityIDPair.html Online documentation}
|
|
1968
2030
|
*/
|
|
1969
2031
|
export interface EntityIDAndQualityIDPair {
|
|
1970
2032
|
/**
|
|
@@ -1984,13 +2046,13 @@ declare module "factorio:runtime" {
|
|
|
1984
2046
|
* - {@link LuaItemPrototype}: The item prototype. Normal quality will be used.
|
|
1985
2047
|
* - `string`: The prototype name. Normal quality will be used.
|
|
1986
2048
|
* - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality.
|
|
1987
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2049
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemWithQualityID.html Online documentation}
|
|
1988
2050
|
*/
|
|
1989
2051
|
export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite
|
|
1990
2052
|
/**
|
|
1991
2053
|
* An item prototype with optional quality specification.
|
|
1992
2054
|
* @see ItemIDAndQualityIDPairWrite
|
|
1993
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2055
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
1994
2056
|
*/
|
|
1995
2057
|
export interface ItemIDAndQualityIDPair {
|
|
1996
2058
|
/**
|
|
@@ -2004,7 +2066,7 @@ declare module "factorio:runtime" {
|
|
|
2004
2066
|
}
|
|
2005
2067
|
/**
|
|
2006
2068
|
* Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2007
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2069
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemIDAndQualityIDPair.html Online documentation}
|
|
2008
2070
|
*/
|
|
2009
2071
|
export interface ItemIDAndQualityIDPairWrite {
|
|
2010
2072
|
/**
|
|
@@ -2024,7 +2086,7 @@ declare module "factorio:runtime" {
|
|
|
2024
2086
|
* - {@link LuaItemStack}: Non empty item stack.
|
|
2025
2087
|
* - {@link LuaItem}: The item.
|
|
2026
2088
|
* - `string`: The prototype name.
|
|
2027
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2089
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemID.html Online documentation}
|
|
2028
2090
|
*/
|
|
2029
2091
|
export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string
|
|
2030
2092
|
/**
|
|
@@ -2033,7 +2095,7 @@ declare module "factorio:runtime" {
|
|
|
2033
2095
|
* ## Union members
|
|
2034
2096
|
* - {@link LuaItemGroup}: The item group prototype.
|
|
2035
2097
|
* - `string`: The prototype name.
|
|
2036
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2098
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemGroupID.html Online documentation}
|
|
2037
2099
|
*/
|
|
2038
2100
|
export type ItemGroupID = LuaItemGroup | string
|
|
2039
2101
|
/**
|
|
@@ -2043,7 +2105,7 @@ declare module "factorio:runtime" {
|
|
|
2043
2105
|
* - {@link LuaEntityPrototype}: The entity prototype.
|
|
2044
2106
|
* - {@link LuaEntity}: The entity.
|
|
2045
2107
|
* - `string`: The prototype name.
|
|
2046
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2108
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityID.html Online documentation}
|
|
2047
2109
|
*/
|
|
2048
2110
|
export type EntityID = LuaEntityPrototype | LuaEntity | string
|
|
2049
2111
|
/**
|
|
@@ -2053,7 +2115,7 @@ declare module "factorio:runtime" {
|
|
|
2053
2115
|
* - {@link LuaTechnologyPrototype}: The technology prototype.
|
|
2054
2116
|
* - {@link LuaTechnology}: Instance of the technology.
|
|
2055
2117
|
* - `string`: The prototype name.
|
|
2056
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2118
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyID.html Online documentation}
|
|
2057
2119
|
*/
|
|
2058
2120
|
export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string
|
|
2059
2121
|
/**
|
|
@@ -2062,7 +2124,7 @@ declare module "factorio:runtime" {
|
|
|
2062
2124
|
* ## Union members
|
|
2063
2125
|
* - {@link LuaParticlePrototype}: The particle prototype.
|
|
2064
2126
|
* - `string`: The prototype name.
|
|
2065
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2127
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ParticleID.html Online documentation}
|
|
2066
2128
|
*/
|
|
2067
2129
|
export type ParticleID = LuaParticlePrototype | string
|
|
2068
2130
|
/**
|
|
@@ -2071,7 +2133,7 @@ declare module "factorio:runtime" {
|
|
|
2071
2133
|
* ## Union members
|
|
2072
2134
|
* - {@link LuaDamagePrototype}: The damage type prototype.
|
|
2073
2135
|
* - `string`: The prototype name.
|
|
2074
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2136
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DamageTypeID.html Online documentation}
|
|
2075
2137
|
*/
|
|
2076
2138
|
export type DamageTypeID = LuaDamagePrototype | string
|
|
2077
2139
|
/**
|
|
@@ -2080,7 +2142,7 @@ declare module "factorio:runtime" {
|
|
|
2080
2142
|
* ## Union members
|
|
2081
2143
|
* - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype.
|
|
2082
2144
|
* - `string`: The prototype name.
|
|
2083
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2145
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrivialSmokeID.html Online documentation}
|
|
2084
2146
|
*/
|
|
2085
2147
|
export type TrivialSmokeID = LuaTrivialSmokePrototype | string
|
|
2086
2148
|
/**
|
|
@@ -2092,7 +2154,7 @@ declare module "factorio:runtime" {
|
|
|
2092
2154
|
* - `"left"`
|
|
2093
2155
|
* - `"right"`
|
|
2094
2156
|
* - `"center"`
|
|
2095
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2157
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TextAlign.html Online documentation}
|
|
2096
2158
|
*/
|
|
2097
2159
|
export type TextAlign = "left" | "right" | "center"
|
|
2098
2160
|
/**
|
|
@@ -2105,7 +2167,7 @@ declare module "factorio:runtime" {
|
|
|
2105
2167
|
* - `"middle"`
|
|
2106
2168
|
* - `"baseline"`
|
|
2107
2169
|
* - `"bottom"`
|
|
2108
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2170
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/VerticalTextAlign.html Online documentation}
|
|
2109
2171
|
*/
|
|
2110
2172
|
export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom"
|
|
2111
2173
|
/**
|
|
@@ -2114,7 +2176,7 @@ declare module "factorio:runtime" {
|
|
|
2114
2176
|
* ## Union members
|
|
2115
2177
|
* - {@link LuaQualityPrototype}: The quality prototype.
|
|
2116
2178
|
* - `string`: The prototype name.
|
|
2117
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2179
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QualityID.html Online documentation}
|
|
2118
2180
|
*/
|
|
2119
2181
|
export type QualityID = LuaQualityPrototype | string
|
|
2120
2182
|
/**
|
|
@@ -2123,7 +2185,7 @@ declare module "factorio:runtime" {
|
|
|
2123
2185
|
* ## Union members
|
|
2124
2186
|
* - {@link LuaRecipeCategoryPrototype}: By recipe category prototype.
|
|
2125
2187
|
* - `string`: By name of the recipe category prototype.
|
|
2126
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2188
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipeCategoryID.html Online documentation}
|
|
2127
2189
|
*/
|
|
2128
2190
|
export type RecipeCategoryID = LuaRecipeCategoryPrototype | string
|
|
2129
2191
|
/**
|
|
@@ -2133,7 +2195,7 @@ declare module "factorio:runtime" {
|
|
|
2133
2195
|
* - {@link LuaRecipePrototype}: By recipe prototype.
|
|
2134
2196
|
* - {@link LuaRecipe}: By instance of recipe.
|
|
2135
2197
|
* - `string`: By name of the recipe prototype.
|
|
2136
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2198
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipeID.html Online documentation}
|
|
2137
2199
|
*/
|
|
2138
2200
|
export type RecipeID = LuaRecipePrototype | LuaRecipe | string
|
|
2139
2201
|
/**
|
|
@@ -2143,7 +2205,7 @@ declare module "factorio:runtime" {
|
|
|
2143
2205
|
* - {@link LuaTilePrototype}: By tile prototype.
|
|
2144
2206
|
* - {@link LuaTile}: By instance of tile.
|
|
2145
2207
|
* - `string`: By name of the tile prototype.
|
|
2146
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2208
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TileID.html Online documentation}
|
|
2147
2209
|
*/
|
|
2148
2210
|
export type TileID = LuaTilePrototype | LuaTile | string
|
|
2149
2211
|
export interface Fluid {
|
|
@@ -2167,7 +2229,7 @@ declare module "factorio:runtime" {
|
|
|
2167
2229
|
* - {@link LuaEquipmentPrototype}: The equipment prototype.
|
|
2168
2230
|
* - {@link LuaEquipment}: The equipment.
|
|
2169
2231
|
* - `string`: The prototype name.
|
|
2170
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2232
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentID.html Online documentation}
|
|
2171
2233
|
*/
|
|
2172
2234
|
export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string
|
|
2173
2235
|
/**
|
|
@@ -2179,19 +2241,19 @@ declare module "factorio:runtime" {
|
|
|
2179
2241
|
* - `string`: The prototype name. Normal quality will be used.
|
|
2180
2242
|
* - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality.
|
|
2181
2243
|
* @see EquipmentWithQualityIDWrite
|
|
2182
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2183
2245
|
*/
|
|
2184
2246
|
export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair
|
|
2185
2247
|
/**
|
|
2186
2248
|
* Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form.
|
|
2187
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2249
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentWithQualityID.html Online documentation}
|
|
2188
2250
|
*/
|
|
2189
2251
|
export type EquipmentWithQualityIDWrite =
|
|
2190
2252
|
LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite
|
|
2191
2253
|
/**
|
|
2192
2254
|
* An equipment prototype with optional quality specification.
|
|
2193
2255
|
* @see EquipmentIDAndQualityIDPairWrite
|
|
2194
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2256
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2195
2257
|
*/
|
|
2196
2258
|
export interface EquipmentIDAndQualityIDPair {
|
|
2197
2259
|
/**
|
|
@@ -2205,7 +2267,7 @@ declare module "factorio:runtime" {
|
|
|
2205
2267
|
}
|
|
2206
2268
|
/**
|
|
2207
2269
|
* Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form.
|
|
2208
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2270
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentIDAndQualityIDPair.html Online documentation}
|
|
2209
2271
|
*/
|
|
2210
2272
|
export interface EquipmentIDAndQualityIDPairWrite {
|
|
2211
2273
|
/**
|
|
@@ -2252,7 +2314,7 @@ declare module "factorio:runtime" {
|
|
|
2252
2314
|
* @example
|
|
2253
2315
|
* -- Shorthand
|
|
2254
2316
|
* {{-2, -3}, {5, 8}}
|
|
2255
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2317
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoundingBox.html Online documentation}
|
|
2256
2318
|
*/
|
|
2257
2319
|
export interface BoundingBox {
|
|
2258
2320
|
readonly left_top: MapPosition
|
|
@@ -2262,7 +2324,7 @@ declare module "factorio:runtime" {
|
|
|
2262
2324
|
/**
|
|
2263
2325
|
* Array form of {@link BoundingBox}.
|
|
2264
2326
|
* @see BoundingBox
|
|
2265
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2327
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoundingBox.html Online documentation}
|
|
2266
2328
|
*/
|
|
2267
2329
|
export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray]
|
|
2268
2330
|
export interface BoundingBoxWrite {
|
|
@@ -2325,7 +2387,7 @@ declare module "factorio:runtime" {
|
|
|
2325
2387
|
* - SurfaceIndex: It will be the index of the surface. `nauvis` has index `1`, the first surface-created surface will have index `2` and so on.
|
|
2326
2388
|
* - `string`: It will be the surface name. E.g. `"nauvis"`.
|
|
2327
2389
|
* - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly.
|
|
2328
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2390
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SurfaceIdentification.html Online documentation}
|
|
2329
2391
|
*/
|
|
2330
2392
|
export type SurfaceIdentification = SurfaceIndex | string | LuaSurface
|
|
2331
2393
|
/**
|
|
@@ -2335,7 +2397,7 @@ declare module "factorio:runtime" {
|
|
|
2335
2397
|
* - PlayerIndex: The player index.
|
|
2336
2398
|
* - `string`: The player name.
|
|
2337
2399
|
* - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly.
|
|
2338
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2400
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PlayerIdentification.html Online documentation}
|
|
2339
2401
|
*/
|
|
2340
2402
|
export type PlayerIdentification = PlayerIndex | string | LuaPlayer
|
|
2341
2403
|
/**
|
|
@@ -2344,7 +2406,7 @@ declare module "factorio:runtime" {
|
|
|
2344
2406
|
* ## Union members
|
|
2345
2407
|
* - {@link ForceID}[]: Array of many forces.
|
|
2346
2408
|
* - {@link ForceID}: A single force.
|
|
2347
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2409
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ForceSet.html Online documentation}
|
|
2348
2410
|
*/
|
|
2349
2411
|
export type ForceSet = readonly ForceID[] | ForceID
|
|
2350
2412
|
/**
|
|
@@ -2353,7 +2415,7 @@ declare module "factorio:runtime" {
|
|
|
2353
2415
|
* ## Union members
|
|
2354
2416
|
* - {@link LuaDecorativePrototype}: The decorative prototype.
|
|
2355
2417
|
* - `string`: The prototype name.
|
|
2356
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2418
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DecorativeID.html Online documentation}
|
|
2357
2419
|
*/
|
|
2358
2420
|
export type DecorativeID = LuaDecorativePrototype | string
|
|
2359
2421
|
/**
|
|
@@ -2362,7 +2424,7 @@ declare module "factorio:runtime" {
|
|
|
2362
2424
|
* ## Union members
|
|
2363
2425
|
* - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype.
|
|
2364
2426
|
* - `string`: The prototype name.
|
|
2365
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2427
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidChunkID.html Online documentation}
|
|
2366
2428
|
*/
|
|
2367
2429
|
export type AsteroidChunkID = LuaAsteroidChunkPrototype | string
|
|
2368
2430
|
/**
|
|
@@ -2371,7 +2433,7 @@ declare module "factorio:runtime" {
|
|
|
2371
2433
|
* ## Union members
|
|
2372
2434
|
* - {@link LuaSpaceConnectionPrototype}: The space connection prototype.
|
|
2373
2435
|
* - `string`: The prototype name.
|
|
2374
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2436
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceConnectionID.html Online documentation}
|
|
2375
2437
|
*/
|
|
2376
2438
|
export type SpaceConnectionID = LuaSpaceConnectionPrototype | string
|
|
2377
2439
|
/**
|
|
@@ -2380,7 +2442,7 @@ declare module "factorio:runtime" {
|
|
|
2380
2442
|
* ## Union members
|
|
2381
2443
|
* - {@link LuaSpaceLocationPrototype}: The space location prototype.
|
|
2382
2444
|
* - `string`: The prototype name.
|
|
2383
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2445
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceLocationID.html Online documentation}
|
|
2384
2446
|
*/
|
|
2385
2447
|
export type SpaceLocationID = LuaSpaceLocationPrototype | string
|
|
2386
2448
|
/**
|
|
@@ -2388,7 +2450,7 @@ declare module "factorio:runtime" {
|
|
|
2388
2450
|
*
|
|
2389
2451
|
* When the LogisticFilter that this is used in has a non-zero `min` value then `comparator` must be `"="` (the default when writing) and `quality` is mandatory.
|
|
2390
2452
|
* @see SignalFilterWrite
|
|
2391
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2453
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalFilter.html Online documentation}
|
|
2392
2454
|
*/
|
|
2393
2455
|
export type SignalFilter =
|
|
2394
2456
|
| {
|
|
@@ -2412,7 +2474,7 @@ declare module "factorio:runtime" {
|
|
|
2412
2474
|
| string
|
|
2413
2475
|
/**
|
|
2414
2476
|
* Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form.
|
|
2415
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2477
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalFilter.html Online documentation}
|
|
2416
2478
|
*/
|
|
2417
2479
|
export type SignalFilterWrite =
|
|
2418
2480
|
| {
|
|
@@ -2436,7 +2498,7 @@ declare module "factorio:runtime" {
|
|
|
2436
2498
|
| string
|
|
2437
2499
|
/**
|
|
2438
2500
|
* @see LogisticFilterWrite
|
|
2439
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2501
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticFilter.html Online documentation}
|
|
2440
2502
|
*/
|
|
2441
2503
|
export interface LogisticFilter {
|
|
2442
2504
|
/**
|
|
@@ -2466,7 +2528,7 @@ declare module "factorio:runtime" {
|
|
|
2466
2528
|
}
|
|
2467
2529
|
/**
|
|
2468
2530
|
* Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
2469
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2531
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticFilter.html Online documentation}
|
|
2470
2532
|
*/
|
|
2471
2533
|
export interface LogisticFilterWrite {
|
|
2472
2534
|
/**
|
|
@@ -2542,7 +2604,7 @@ declare module "factorio:runtime" {
|
|
|
2542
2604
|
* ## Union members
|
|
2543
2605
|
* - {@link LuaSurfacePropertyPrototype}: The surface property prototype.
|
|
2544
2606
|
* - `string`: The prototype name.
|
|
2545
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2607
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SurfacePropertyID.html Online documentation}
|
|
2546
2608
|
*/
|
|
2547
2609
|
export type SurfacePropertyID = LuaSurfacePropertyPrototype | string
|
|
2548
2610
|
/**
|
|
@@ -2564,12 +2626,12 @@ declare module "factorio:runtime" {
|
|
|
2564
2626
|
* target = {type = "cursor", offset = {6, 7}}
|
|
2565
2627
|
* @example
|
|
2566
2628
|
* target = {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2567
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2629
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTarget.html Online documentation}
|
|
2568
2630
|
*/
|
|
2569
2631
|
export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable
|
|
2570
2632
|
/**
|
|
2571
2633
|
* Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form.
|
|
2572
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2634
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTarget.html Online documentation}
|
|
2573
2635
|
*/
|
|
2574
2636
|
export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite
|
|
2575
2637
|
/**
|
|
@@ -2591,7 +2653,7 @@ declare module "factorio:runtime" {
|
|
|
2591
2653
|
* {type = "cursor", offset = {6, 7}}
|
|
2592
2654
|
* @example
|
|
2593
2655
|
* {type = "build-cursor", offset = {3.2, -4.5}}
|
|
2594
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2656
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2595
2657
|
*/
|
|
2596
2658
|
export interface ScriptRenderTargetTable {
|
|
2597
2659
|
/**
|
|
@@ -2613,7 +2675,7 @@ declare module "factorio:runtime" {
|
|
|
2613
2675
|
}
|
|
2614
2676
|
/**
|
|
2615
2677
|
* Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form.
|
|
2616
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2678
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderTargetTable.html Online documentation}
|
|
2617
2679
|
*/
|
|
2618
2680
|
export interface ScriptRenderTargetTableWrite {
|
|
2619
2681
|
/**
|
|
@@ -2652,13 +2714,13 @@ declare module "factorio:runtime" {
|
|
|
2652
2714
|
* --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
|
|
2653
2715
|
* "iron-plate"
|
|
2654
2716
|
* {name="iron-plate", count=100}
|
|
2655
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2717
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemStackIdentification.html Online documentation}
|
|
2656
2718
|
*/
|
|
2657
2719
|
export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack
|
|
2658
2720
|
/**
|
|
2659
2721
|
* An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table.
|
|
2660
2722
|
* @see QualityConditionWrite
|
|
2661
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2723
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QualityCondition.html Online documentation}
|
|
2662
2724
|
*/
|
|
2663
2725
|
export type QualityCondition =
|
|
2664
2726
|
| {
|
|
@@ -2674,7 +2736,7 @@ declare module "factorio:runtime" {
|
|
|
2674
2736
|
| string
|
|
2675
2737
|
/**
|
|
2676
2738
|
* Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form.
|
|
2677
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2739
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QualityCondition.html Online documentation}
|
|
2678
2740
|
*/
|
|
2679
2741
|
export type QualityConditionWrite =
|
|
2680
2742
|
| {
|
|
@@ -2691,7 +2753,7 @@ declare module "factorio:runtime" {
|
|
|
2691
2753
|
/**
|
|
2692
2754
|
* The destination of a cargo pod.
|
|
2693
2755
|
* @see CargoDestinationWrite
|
|
2694
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2756
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoDestination.html Online documentation}
|
|
2695
2757
|
*/
|
|
2696
2758
|
export interface CargoDestination {
|
|
2697
2759
|
/**
|
|
@@ -2729,7 +2791,7 @@ declare module "factorio:runtime" {
|
|
|
2729
2791
|
}
|
|
2730
2792
|
/**
|
|
2731
2793
|
* Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form.
|
|
2732
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2794
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoDestination.html Online documentation}
|
|
2733
2795
|
*/
|
|
2734
2796
|
export interface CargoDestinationWrite {
|
|
2735
2797
|
/**
|
|
@@ -2783,7 +2845,7 @@ declare module "factorio:runtime" {
|
|
|
2783
2845
|
* furthest = { zoom = 1 / 16 },
|
|
2784
2846
|
* furthest_game_view = { distance = 200, max_distance = 400 }
|
|
2785
2847
|
* }
|
|
2786
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2848
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ZoomLimits.html Online documentation}
|
|
2787
2849
|
*/
|
|
2788
2850
|
export interface ZoomLimits {
|
|
2789
2851
|
/**
|
|
@@ -2813,7 +2875,7 @@ declare module "factorio:runtime" {
|
|
|
2813
2875
|
*
|
|
2814
2876
|
* -- Method 2: Specify a dynamic zoom level based on the window dimensions.
|
|
2815
2877
|
* { distance = 200, max_distance = 500 }
|
|
2816
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2878
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ZoomSpecification.html Online documentation}
|
|
2817
2879
|
*/
|
|
2818
2880
|
export interface ZoomSpecification {
|
|
2819
2881
|
/**
|
|
@@ -2834,7 +2896,7 @@ declare module "factorio:runtime" {
|
|
|
2834
2896
|
* - `"game"`: Draw the object in the game world.
|
|
2835
2897
|
* - `"chart"`: Draw the object on the map.
|
|
2836
2898
|
* - `"build-cursor"`: Draw the object only when the player holds a buildable item trying to build an entity.
|
|
2837
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2899
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptRenderMode.html Online documentation}
|
|
2838
2900
|
*/
|
|
2839
2901
|
export type ScriptRenderMode = "game" | "chart" | "build-cursor"
|
|
2840
2902
|
/**
|
|
@@ -2842,18 +2904,18 @@ declare module "factorio:runtime" {
|
|
|
2842
2904
|
* - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings.
|
|
2843
2905
|
* - `"light"`: Draw as light.
|
|
2844
2906
|
* - `"glow"`: Draw as both occluder and light at once to make the sprite visible during the day and glow at night.
|
|
2845
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2907
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptSpriteLightMode.html Online documentation}
|
|
2846
2908
|
*/
|
|
2847
2909
|
export type ScriptSpriteLightMode = "occluder" | "light" | "glow"
|
|
2848
2910
|
/**
|
|
2849
|
-
*
|
|
2911
|
+
* An event name may be specified in one of four ways.
|
|
2850
2912
|
*
|
|
2851
2913
|
* ## Union members
|
|
2852
2914
|
* - {@link LuaCustomEventPrototype}: Custom event prototype.
|
|
2853
2915
|
* - {@link LuaCustomInputPrototype}: Custom input prototype.
|
|
2854
2916
|
* - {@link defines.events}: Event identifier.
|
|
2855
|
-
* - `string`: Name of
|
|
2856
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2917
|
+
* - `string`: Name of a built-in event, custom event prototype or custom input prototype.
|
|
2918
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEventType.html Online documentation}
|
|
2857
2919
|
*/
|
|
2858
2920
|
export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId<any>
|
|
2859
2921
|
export interface UnlockableID {
|
|
@@ -2892,7 +2954,7 @@ declare module "factorio:runtime" {
|
|
|
2892
2954
|
* - `"starter-packs-available"`
|
|
2893
2955
|
* - `"thrusters-available"`
|
|
2894
2956
|
* - `"capture-robots-available"`
|
|
2895
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2957
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UnlockableIDType.html Online documentation}
|
|
2896
2958
|
*/
|
|
2897
2959
|
export type UnlockableIDType =
|
|
2898
2960
|
| "space-location"
|
|
@@ -2918,7 +2980,7 @@ declare module "factorio:runtime" {
|
|
|
2918
2980
|
* - `"planet"`
|
|
2919
2981
|
* - `"platforms"`
|
|
2920
2982
|
* - `"all"`
|
|
2921
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2983
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RequestFromLocation.html Online documentation}
|
|
2922
2984
|
*/
|
|
2923
2985
|
export type RequestFromLocation = "planet" | "platforms" | "all"
|
|
2924
2986
|
/**
|
|
@@ -2926,13 +2988,13 @@ declare module "factorio:runtime" {
|
|
|
2926
2988
|
* - `"never"`
|
|
2927
2989
|
* - `"has-unit"`
|
|
2928
2990
|
* - `"always"`
|
|
2929
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2991
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TerritoryVisibilityCondition.html Online documentation}
|
|
2930
2992
|
*/
|
|
2931
2993
|
export type TerritoryVisibilityCondition = "never" | "has-unit" | "always"
|
|
2932
2994
|
/**
|
|
2933
2995
|
* Coordinates of a tile on a {@link LuaSurface} where each integer `x`/`y` represents a different tile. This uses the same format as {@link MapPosition}, except it rounds any non-integer `x`/`y` down to whole numbers. It can be specified either with or without explicit keys.
|
|
2934
2996
|
* @see TilePositionArray
|
|
2935
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
2997
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePosition.html Online documentation}
|
|
2936
2998
|
*/
|
|
2937
2999
|
export interface TilePosition {
|
|
2938
3000
|
readonly x: int32
|
|
@@ -2941,14 +3003,14 @@ declare module "factorio:runtime" {
|
|
|
2941
3003
|
/**
|
|
2942
3004
|
* Array form of {@link TilePosition}.
|
|
2943
3005
|
* @see TilePosition
|
|
2944
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3006
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePosition.html Online documentation}
|
|
2945
3007
|
*/
|
|
2946
3008
|
export type TilePositionArray = readonly [int32, int32]
|
|
2947
3009
|
/**
|
|
2948
3010
|
* The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.
|
|
2949
3011
|
*
|
|
2950
3012
|
* This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".
|
|
2951
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3013
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RealOrientation.html Online documentation}
|
|
2952
3014
|
*/
|
|
2953
3015
|
export type RealOrientation = float
|
|
2954
3016
|
export interface MapLocation {
|
|
@@ -2967,7 +3029,7 @@ declare module "factorio:runtime" {
|
|
|
2967
3029
|
* @example
|
|
2968
3030
|
* -- Shorthand
|
|
2969
3031
|
* {1.625, 2.375}
|
|
2970
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3032
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapPosition.html Online documentation}
|
|
2971
3033
|
*/
|
|
2972
3034
|
export interface MapPosition {
|
|
2973
3035
|
readonly x: double
|
|
@@ -2976,7 +3038,7 @@ declare module "factorio:runtime" {
|
|
|
2976
3038
|
/**
|
|
2977
3039
|
* Array form of {@link MapPosition}.
|
|
2978
3040
|
* @see MapPosition
|
|
2979
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3041
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapPosition.html Online documentation}
|
|
2980
3042
|
*/
|
|
2981
3043
|
export type MapPositionArray = readonly [double, double]
|
|
2982
3044
|
/**
|
|
@@ -2989,7 +3051,7 @@ declare module "factorio:runtime" {
|
|
|
2989
3051
|
* red2 = {r = 0.5, a = 0.5} -- Same color as red1
|
|
2990
3052
|
* black = {} -- All channels omitted: black
|
|
2991
3053
|
* red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation
|
|
2992
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3054
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Color.html Online documentation}
|
|
2993
3055
|
*/
|
|
2994
3056
|
export interface Color {
|
|
2995
3057
|
readonly r?: float
|
|
@@ -3000,7 +3062,7 @@ declare module "factorio:runtime" {
|
|
|
3000
3062
|
/**
|
|
3001
3063
|
* Array form of {@link Color}.
|
|
3002
3064
|
* @see Color
|
|
3003
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3065
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Color.html Online documentation}
|
|
3004
3066
|
*/
|
|
3005
3067
|
export type ColorArray = readonly [r: double, g: double, b: double, a?: double]
|
|
3006
3068
|
/**
|
|
@@ -3008,7 +3070,7 @@ declare module "factorio:runtime" {
|
|
|
3008
3070
|
* - `"center-to-center"`
|
|
3009
3071
|
* - `"bounding-box-to-bounding-box"`
|
|
3010
3072
|
* - `"center-to-bounding-box"`
|
|
3011
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
3073
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RangeMode.html Online documentation}
|
|
3012
3074
|
*/
|
|
3013
3075
|
export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box"
|
|
3014
3076
|
export interface BlueprintRollingStockConnection {
|
|
@@ -4076,7 +4138,7 @@ declare module "factorio:runtime" {
|
|
|
4076
4138
|
* - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity}
|
|
4077
4139
|
* - `"valve"`: {@link ValveBlueprintEntity}
|
|
4078
4140
|
* - `"wall"`: {@link WallBlueprintEntity}
|
|
4079
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4141
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEntity.html Online documentation}
|
|
4080
4142
|
*/
|
|
4081
4143
|
export type BlueprintEntity =
|
|
4082
4144
|
| AccumulatorBlueprintEntity
|
|
@@ -4143,7 +4205,7 @@ declare module "factorio:runtime" {
|
|
|
4143
4205
|
| WallBlueprintEntity
|
|
4144
4206
|
/**
|
|
4145
4207
|
* Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form.
|
|
4146
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4208
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEntity.html Online documentation}
|
|
4147
4209
|
*/
|
|
4148
4210
|
export type BlueprintEntityWrite =
|
|
4149
4211
|
| AccumulatorBlueprintEntityWrite
|
|
@@ -4218,7 +4280,7 @@ declare module "factorio:runtime" {
|
|
|
4218
4280
|
* - `target_entity_number`
|
|
4219
4281
|
*
|
|
4220
4282
|
* - `target_wire_connector_id`
|
|
4221
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4283
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintWire.html Online documentation}
|
|
4222
4284
|
*/
|
|
4223
4285
|
export type BlueprintWire = [
|
|
4224
4286
|
source_entity_number: uint32,
|
|
@@ -4423,7 +4485,7 @@ declare module "factorio:runtime" {
|
|
|
4423
4485
|
* - `"wire-removed"`: {@link WireRemovedUndoRedoAction}
|
|
4424
4486
|
* - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction}
|
|
4425
4487
|
* - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction}
|
|
4426
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4488
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UndoRedoAction.html Online documentation}
|
|
4427
4489
|
*/
|
|
4428
4490
|
export type UndoRedoAction =
|
|
4429
4491
|
| BuiltEntityUndoRedoAction
|
|
@@ -4640,7 +4702,7 @@ declare module "factorio:runtime" {
|
|
|
4640
4702
|
* - `"play-previous-track"`
|
|
4641
4703
|
* - `"pause-resume-music"`
|
|
4642
4704
|
* - `""`: Indicates no linked game control.
|
|
4643
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4705
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LinkedGameControl.html Online documentation}
|
|
4644
4706
|
*/
|
|
4645
4707
|
export type LinkedGameControl =
|
|
4646
4708
|
| "move-up"
|
|
@@ -4848,7 +4910,7 @@ declare module "factorio:runtime" {
|
|
|
4848
4910
|
* - {@link LuaSpaceLocationPrototype}
|
|
4849
4911
|
* - {@link LuaTilePrototype}
|
|
4850
4912
|
* - {@link LuaVirtualSignalPrototype}
|
|
4851
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4913
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PipetteID.html Online documentation}
|
|
4852
4914
|
*/
|
|
4853
4915
|
export type PipetteID =
|
|
4854
4916
|
| LuaEntityPrototype
|
|
@@ -4868,7 +4930,7 @@ declare module "factorio:runtime" {
|
|
|
4868
4930
|
* - `"not-friend"`: Forces which are not friends pass.
|
|
4869
4931
|
* - `"same"`: The same force pass.
|
|
4870
4932
|
* - `"not-same"`: The non-same forces pass.
|
|
4871
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4933
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ForceCondition.html Online documentation}
|
|
4872
4934
|
*/
|
|
4873
4935
|
export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same"
|
|
4874
4936
|
/**
|
|
@@ -4876,7 +4938,7 @@ declare module "factorio:runtime" {
|
|
|
4876
4938
|
* - `"input-output"`
|
|
4877
4939
|
* - `"input"`
|
|
4878
4940
|
* - `"output"`
|
|
4879
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4941
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidFlowDirection.html Online documentation}
|
|
4880
4942
|
*/
|
|
4881
4943
|
export type FluidFlowDirection = "input-output" | "input" | "output"
|
|
4882
4944
|
/**
|
|
@@ -4884,7 +4946,7 @@ declare module "factorio:runtime" {
|
|
|
4884
4946
|
* - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions.
|
|
4885
4947
|
* - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles.
|
|
4886
4948
|
* - `"linked"`: For mods, connections between entities have to be explicitly requested by script.
|
|
4887
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4949
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PipeConnectionType.html Online documentation}
|
|
4888
4950
|
*/
|
|
4889
4951
|
export type PipeConnectionType = "normal" | "underground" | "linked"
|
|
4890
4952
|
export interface PipeConnectionDefinition {
|
|
@@ -4916,7 +4978,7 @@ declare module "factorio:runtime" {
|
|
|
4916
4978
|
}
|
|
4917
4979
|
/**
|
|
4918
4980
|
* A fluid amount. The amount is stored as a fixed-size signed 64 bit integer, with 24 bits reserved for decimal precision, meaning the smallest value step is `1/2^24`.
|
|
4919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4981
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidAmount.html Online documentation}
|
|
4920
4982
|
*/
|
|
4921
4983
|
export type FluidAmount = double
|
|
4922
4984
|
/**
|
|
@@ -4927,7 +4989,7 @@ declare module "factorio:runtime" {
|
|
|
4927
4989
|
* - `"input"`
|
|
4928
4990
|
* - `"input-output"`
|
|
4929
4991
|
* - `"output"`
|
|
4930
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
4992
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProductionType.html Online documentation}
|
|
4931
4993
|
*/
|
|
4932
4994
|
export type ProductionType = "none" | "input" | "input-output" | "output"
|
|
4933
4995
|
export interface SurfaceCondition {
|
|
@@ -4939,7 +5001,7 @@ declare module "factorio:runtime" {
|
|
|
4939
5001
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4940
5002
|
*
|
|
4941
5003
|
* By default, none of these flags are set.
|
|
4942
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5004
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFlags.html Online documentation}
|
|
4943
5005
|
*/
|
|
4944
5006
|
export type ItemPrototypeFlags = {
|
|
4945
5007
|
readonly [T in ItemPrototypeFlag]?: true
|
|
@@ -4965,7 +5027,7 @@ declare module "factorio:runtime" {
|
|
|
4965
5027
|
* - `"hide-health-bar-in-world"`
|
|
4966
5028
|
* - `"hide-spoilage-bar-in-world"`
|
|
4967
5029
|
* - `"no-item-on-ground-merging"`
|
|
4968
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5030
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFlag.html Online documentation}
|
|
4969
5031
|
*/
|
|
4970
5032
|
export type ItemPrototypeFlag =
|
|
4971
5033
|
| "draw-logistic-overlay"
|
|
@@ -4987,7 +5049,7 @@ declare module "factorio:runtime" {
|
|
|
4987
5049
|
| "no-item-on-ground-merging"
|
|
4988
5050
|
/**
|
|
4989
5051
|
* @see UpgradeMapperSourceWrite
|
|
4990
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5052
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UpgradeMapperSource.html Online documentation}
|
|
4991
5053
|
*/
|
|
4992
5054
|
export interface UpgradeMapperSource {
|
|
4993
5055
|
readonly type: "item" | "entity"
|
|
@@ -5010,7 +5072,7 @@ declare module "factorio:runtime" {
|
|
|
5010
5072
|
}
|
|
5011
5073
|
/**
|
|
5012
5074
|
* Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form.
|
|
5013
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5075
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UpgradeMapperSource.html Online documentation}
|
|
5014
5076
|
*/
|
|
5015
5077
|
export interface UpgradeMapperSourceWrite {
|
|
5016
5078
|
readonly type: "item" | "entity"
|
|
@@ -5100,7 +5162,7 @@ declare module "factorio:runtime" {
|
|
|
5100
5162
|
* - `"controllable-remove"`
|
|
5101
5163
|
* - `"entity-ghost"`: Selects entities that are `entity-ghost`s.
|
|
5102
5164
|
* - `"tile-ghost"`: Selects entities that are `tile-ghost`s.
|
|
5103
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5165
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectionModeFlags.html Online documentation}
|
|
5104
5166
|
*/
|
|
5105
5167
|
export interface SelectionModeFlags {
|
|
5106
5168
|
/**
|
|
@@ -5257,7 +5319,7 @@ declare module "factorio:runtime" {
|
|
|
5257
5319
|
* - `"use-on-self"`: {@link UseOnSelfCapsuleAction}
|
|
5258
5320
|
* - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction}
|
|
5259
5321
|
* - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction}
|
|
5260
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5322
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CapsuleAction.html Online documentation}
|
|
5261
5323
|
*/
|
|
5262
5324
|
export type CapsuleAction =
|
|
5263
5325
|
| ThrowCapsuleAction
|
|
@@ -5270,7 +5332,7 @@ declare module "factorio:runtime" {
|
|
|
5270
5332
|
* - `"none"`
|
|
5271
5333
|
* - `"whitelist"`
|
|
5272
5334
|
* - `"blacklist"`
|
|
5273
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5335
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PrototypeFilterMode.html Online documentation}
|
|
5274
5336
|
*/
|
|
5275
5337
|
export type PrototypeFilterMode = "none" | "whitelist" | "blacklist"
|
|
5276
5338
|
export interface SpoilToTriggerResult {
|
|
@@ -5309,7 +5371,7 @@ declare module "factorio:runtime" {
|
|
|
5309
5371
|
* - `"entity"`: Fires at an entity.
|
|
5310
5372
|
* - `"position"`: Fires directly at a position.
|
|
5311
5373
|
* - `"direction"`: Fires in a direction.
|
|
5312
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5374
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TargetType.html Online documentation}
|
|
5313
5375
|
*/
|
|
5314
5376
|
export type TargetType = "entity" | "position" | "direction"
|
|
5315
5377
|
export interface AmmoType {
|
|
@@ -5333,7 +5395,7 @@ declare module "factorio:runtime" {
|
|
|
5333
5395
|
}
|
|
5334
5396
|
/**
|
|
5335
5397
|
* @see BlueprintItemFilterWrite
|
|
5336
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5398
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintItemFilter.html Online documentation}
|
|
5337
5399
|
*/
|
|
5338
5400
|
export interface BlueprintItemFilter {
|
|
5339
5401
|
readonly index: uint32
|
|
@@ -5352,7 +5414,7 @@ declare module "factorio:runtime" {
|
|
|
5352
5414
|
}
|
|
5353
5415
|
/**
|
|
5354
5416
|
* Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form.
|
|
5355
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5417
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintItemFilter.html Online documentation}
|
|
5356
5418
|
*/
|
|
5357
5419
|
export interface BlueprintItemFilterWrite {
|
|
5358
5420
|
readonly index: uint32
|
|
@@ -5371,7 +5433,7 @@ declare module "factorio:runtime" {
|
|
|
5371
5433
|
}
|
|
5372
5434
|
/**
|
|
5373
5435
|
* @see BlueprintInventoryWithFiltersWrite
|
|
5374
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5436
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5375
5437
|
*/
|
|
5376
5438
|
export interface BlueprintInventoryWithFilters {
|
|
5377
5439
|
readonly bar?: ItemStackIndex
|
|
@@ -5379,7 +5441,7 @@ declare module "factorio:runtime" {
|
|
|
5379
5441
|
}
|
|
5380
5442
|
/**
|
|
5381
5443
|
* Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form.
|
|
5382
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5444
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInventoryWithFilters.html Online documentation}
|
|
5383
5445
|
*/
|
|
5384
5446
|
export interface BlueprintInventoryWithFiltersWrite {
|
|
5385
5447
|
readonly bar?: ItemStackIndex
|
|
@@ -5446,7 +5508,7 @@ declare module "factorio:runtime" {
|
|
|
5446
5508
|
}
|
|
5447
5509
|
/**
|
|
5448
5510
|
* @see BlueprintEquipmentWrite
|
|
5449
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5511
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEquipment.html Online documentation}
|
|
5450
5512
|
*/
|
|
5451
5513
|
export interface BlueprintEquipment {
|
|
5452
5514
|
readonly equipment: LuaEquipmentPrototype
|
|
@@ -5470,7 +5532,7 @@ declare module "factorio:runtime" {
|
|
|
5470
5532
|
}
|
|
5471
5533
|
/**
|
|
5472
5534
|
* Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form.
|
|
5473
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5535
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintEquipment.html Online documentation}
|
|
5474
5536
|
*/
|
|
5475
5537
|
export interface BlueprintEquipmentWrite {
|
|
5476
5538
|
readonly equipment: EquipmentWithQualityID
|
|
@@ -5502,7 +5564,7 @@ declare module "factorio:runtime" {
|
|
|
5502
5564
|
* @example
|
|
5503
5565
|
* -- Shorthand
|
|
5504
5566
|
* {1, 2}
|
|
5505
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5567
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPosition.html Online documentation}
|
|
5506
5568
|
*/
|
|
5507
5569
|
export interface EquipmentPosition {
|
|
5508
5570
|
readonly x: int32
|
|
@@ -5511,12 +5573,12 @@ declare module "factorio:runtime" {
|
|
|
5511
5573
|
/**
|
|
5512
5574
|
* Array form of {@link EquipmentPosition}.
|
|
5513
5575
|
* @see EquipmentPosition
|
|
5514
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5576
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPosition.html Online documentation}
|
|
5515
5577
|
*/
|
|
5516
5578
|
export type EquipmentPositionArray = readonly [int32, int32]
|
|
5517
5579
|
/**
|
|
5518
5580
|
* @see MapEditorSettingWrite
|
|
5519
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5581
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapEditorSetting.html Online documentation}
|
|
5520
5582
|
*/
|
|
5521
5583
|
export interface MapEditorSetting {
|
|
5522
5584
|
readonly position?: MapPosition
|
|
@@ -5554,7 +5616,7 @@ declare module "factorio:runtime" {
|
|
|
5554
5616
|
}
|
|
5555
5617
|
/**
|
|
5556
5618
|
* Write form of {@link MapEditorSetting}, where some properties allow additional values as input compared to the read form.
|
|
5557
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5619
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapEditorSetting.html Online documentation}
|
|
5558
5620
|
*/
|
|
5559
5621
|
export interface MapEditorSettingWrite {
|
|
5560
5622
|
readonly position?: MapPosition | MapPositionArray
|
|
@@ -5592,7 +5654,7 @@ declare module "factorio:runtime" {
|
|
|
5592
5654
|
}
|
|
5593
5655
|
/**
|
|
5594
5656
|
* An actual signal transmitted by the network.
|
|
5595
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5657
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Signal.html Online documentation}
|
|
5596
5658
|
*/
|
|
5597
5659
|
export interface Signal {
|
|
5598
5660
|
/**
|
|
@@ -5606,7 +5668,7 @@ declare module "factorio:runtime" {
|
|
|
5606
5668
|
}
|
|
5607
5669
|
/**
|
|
5608
5670
|
* @see DisplayPanelMessageDefinitionWrite
|
|
5609
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5671
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5610
5672
|
*/
|
|
5611
5673
|
export interface DisplayPanelMessageDefinition {
|
|
5612
5674
|
/**
|
|
@@ -5624,7 +5686,7 @@ declare module "factorio:runtime" {
|
|
|
5624
5686
|
}
|
|
5625
5687
|
/**
|
|
5626
5688
|
* Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form.
|
|
5627
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5689
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelMessageDefinition.html Online documentation}
|
|
5628
5690
|
*/
|
|
5629
5691
|
export interface DisplayPanelMessageDefinitionWrite {
|
|
5630
5692
|
/**
|
|
@@ -5652,7 +5714,7 @@ declare module "factorio:runtime" {
|
|
|
5652
5714
|
}
|
|
5653
5715
|
/**
|
|
5654
5716
|
* @see CircuitConditionWrite
|
|
5655
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5717
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitCondition.html Online documentation}
|
|
5656
5718
|
*/
|
|
5657
5719
|
export interface CircuitCondition {
|
|
5658
5720
|
/**
|
|
@@ -5674,7 +5736,7 @@ declare module "factorio:runtime" {
|
|
|
5674
5736
|
}
|
|
5675
5737
|
/**
|
|
5676
5738
|
* Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form.
|
|
5677
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5739
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitCondition.html Online documentation}
|
|
5678
5740
|
*/
|
|
5679
5741
|
export interface CircuitConditionWrite {
|
|
5680
5742
|
/**
|
|
@@ -5696,7 +5758,7 @@ declare module "factorio:runtime" {
|
|
|
5696
5758
|
}
|
|
5697
5759
|
/**
|
|
5698
5760
|
* @see SignalIDWrite
|
|
5699
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5761
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalID.html Online documentation}
|
|
5700
5762
|
*/
|
|
5701
5763
|
export interface SignalID {
|
|
5702
5764
|
/**
|
|
@@ -5714,7 +5776,7 @@ declare module "factorio:runtime" {
|
|
|
5714
5776
|
}
|
|
5715
5777
|
/**
|
|
5716
5778
|
* Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form.
|
|
5717
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5779
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalID.html Online documentation}
|
|
5718
5780
|
*/
|
|
5719
5781
|
export interface SignalIDWrite {
|
|
5720
5782
|
/**
|
|
@@ -5750,13 +5812,13 @@ declare module "factorio:runtime" {
|
|
|
5750
5812
|
* - `"space-location"`
|
|
5751
5813
|
* - `"asteroid-chunk"`
|
|
5752
5814
|
* - `"quality"`
|
|
5753
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5815
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SignalIDType.html Online documentation}
|
|
5754
5816
|
*/
|
|
5755
5817
|
export type SignalIDType =
|
|
5756
5818
|
"item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality"
|
|
5757
5819
|
/**
|
|
5758
5820
|
* @see DeciderCombinatorParametersWrite
|
|
5759
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5821
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5760
5822
|
*/
|
|
5761
5823
|
export interface DeciderCombinatorParameters {
|
|
5762
5824
|
/**
|
|
@@ -5774,7 +5836,7 @@ declare module "factorio:runtime" {
|
|
|
5774
5836
|
}
|
|
5775
5837
|
/**
|
|
5776
5838
|
* Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5777
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5839
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorParameters.html Online documentation}
|
|
5778
5840
|
*/
|
|
5779
5841
|
export interface DeciderCombinatorParametersWrite {
|
|
5780
5842
|
/**
|
|
@@ -5792,7 +5854,7 @@ declare module "factorio:runtime" {
|
|
|
5792
5854
|
}
|
|
5793
5855
|
/**
|
|
5794
5856
|
* @see DeciderCombinatorConditionWrite
|
|
5795
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5857
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5796
5858
|
*/
|
|
5797
5859
|
export interface DeciderCombinatorCondition {
|
|
5798
5860
|
/**
|
|
@@ -5826,7 +5888,7 @@ declare module "factorio:runtime" {
|
|
|
5826
5888
|
}
|
|
5827
5889
|
/**
|
|
5828
5890
|
* Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form.
|
|
5829
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5891
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorCondition.html Online documentation}
|
|
5830
5892
|
*/
|
|
5831
5893
|
export interface DeciderCombinatorConditionWrite {
|
|
5832
5894
|
/**
|
|
@@ -5860,7 +5922,7 @@ declare module "factorio:runtime" {
|
|
|
5860
5922
|
}
|
|
5861
5923
|
/**
|
|
5862
5924
|
* @see DeciderCombinatorOutputWrite
|
|
5863
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5925
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5864
5926
|
*/
|
|
5865
5927
|
export interface DeciderCombinatorOutput {
|
|
5866
5928
|
/**
|
|
@@ -5882,7 +5944,7 @@ declare module "factorio:runtime" {
|
|
|
5882
5944
|
}
|
|
5883
5945
|
/**
|
|
5884
5946
|
* Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form.
|
|
5885
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5947
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorOutput.html Online documentation}
|
|
5886
5948
|
*/
|
|
5887
5949
|
export interface DeciderCombinatorOutputWrite {
|
|
5888
5950
|
/**
|
|
@@ -5904,7 +5966,7 @@ declare module "factorio:runtime" {
|
|
|
5904
5966
|
}
|
|
5905
5967
|
/**
|
|
5906
5968
|
* @see ArithmeticCombinatorParametersWrite
|
|
5907
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
5969
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5908
5970
|
*/
|
|
5909
5971
|
export interface ArithmeticCombinatorParameters {
|
|
5910
5972
|
/**
|
|
@@ -5942,7 +6004,7 @@ declare module "factorio:runtime" {
|
|
|
5942
6004
|
}
|
|
5943
6005
|
/**
|
|
5944
6006
|
* Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
5945
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6007
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorParameters.html Online documentation}
|
|
5946
6008
|
*/
|
|
5947
6009
|
export interface ArithmeticCombinatorParametersWrite {
|
|
5948
6010
|
/**
|
|
@@ -5991,7 +6053,7 @@ declare module "factorio:runtime" {
|
|
|
5991
6053
|
* - `"AND"`
|
|
5992
6054
|
* - `"OR"`
|
|
5993
6055
|
* - `"XOR"`
|
|
5994
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6056
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorParameterOperation.html Online documentation}
|
|
5995
6057
|
*/
|
|
5996
6058
|
export type ArithmeticCombinatorParameterOperation =
|
|
5997
6059
|
"*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR"
|
|
@@ -6167,7 +6229,7 @@ declare module "factorio:runtime" {
|
|
|
6167
6229
|
* - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters}
|
|
6168
6230
|
* - `"time"`: {@link TimeSelectorCombinatorParameters}
|
|
6169
6231
|
* - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters}
|
|
6170
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6232
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6171
6233
|
*/
|
|
6172
6234
|
export type SelectorCombinatorParameters =
|
|
6173
6235
|
| SelectSelectorCombinatorParameters
|
|
@@ -6180,7 +6242,7 @@ declare module "factorio:runtime" {
|
|
|
6180
6242
|
| OtherSelectorCombinatorParameters
|
|
6181
6243
|
/**
|
|
6182
6244
|
* Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form.
|
|
6183
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6245
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectorCombinatorParameters.html Online documentation}
|
|
6184
6246
|
*/
|
|
6185
6247
|
export type SelectorCombinatorParametersWrite =
|
|
6186
6248
|
| SelectSelectorCombinatorParametersWrite
|
|
@@ -6202,7 +6264,7 @@ declare module "factorio:runtime" {
|
|
|
6202
6264
|
* - `"quality-filter"`
|
|
6203
6265
|
* - `"time"`
|
|
6204
6266
|
* - `"quality-select"`
|
|
6205
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6267
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SelectorCombinatorParameterOperation.html Online documentation}
|
|
6206
6268
|
*/
|
|
6207
6269
|
export type SelectorCombinatorParameterOperation =
|
|
6208
6270
|
| "select"
|
|
@@ -6263,7 +6325,7 @@ declare module "factorio:runtime" {
|
|
|
6263
6325
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6264
6326
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6265
6327
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6266
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6328
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Product.html Online documentation}
|
|
6267
6329
|
*/
|
|
6268
6330
|
export type Product = ItemProduct | FluidProduct
|
|
6269
6331
|
export interface SharedProbabilityDefinition {
|
|
@@ -6284,7 +6346,7 @@ declare module "factorio:runtime" {
|
|
|
6284
6346
|
* -- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
6285
6347
|
* -- minimum amount of 1 and a maximum amount of 5
|
|
6286
6348
|
* {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
6287
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6349
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemProduct.html Online documentation}
|
|
6288
6350
|
*/
|
|
6289
6351
|
export interface ItemProduct {
|
|
6290
6352
|
readonly type: "item"
|
|
@@ -6335,7 +6397,7 @@ declare module "factorio:runtime" {
|
|
|
6335
6397
|
* {{type="fluid", name="heavy-oil", amount=1},
|
|
6336
6398
|
* {type="fluid", name="light-oil", amount=4.5},
|
|
6337
6399
|
* {type="fluid", name="petroleum-gas", amount=5.5}}
|
|
6338
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6400
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidProduct.html Online documentation}
|
|
6339
6401
|
*/
|
|
6340
6402
|
export interface FluidProduct {
|
|
6341
6403
|
readonly type: "fluid"
|
|
@@ -6376,7 +6438,7 @@ declare module "factorio:runtime" {
|
|
|
6376
6438
|
}
|
|
6377
6439
|
/**
|
|
6378
6440
|
* @see BlueprintScheduleRecordWrite
|
|
6379
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6441
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6380
6442
|
*/
|
|
6381
6443
|
export interface BlueprintScheduleRecord {
|
|
6382
6444
|
/**
|
|
@@ -6390,7 +6452,7 @@ declare module "factorio:runtime" {
|
|
|
6390
6452
|
}
|
|
6391
6453
|
/**
|
|
6392
6454
|
* Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6393
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6455
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleRecord.html Online documentation}
|
|
6394
6456
|
*/
|
|
6395
6457
|
export interface BlueprintScheduleRecordWrite {
|
|
6396
6458
|
/**
|
|
@@ -6402,47 +6464,9 @@ declare module "factorio:runtime" {
|
|
|
6402
6464
|
readonly created_by_interrupt?: boolean
|
|
6403
6465
|
readonly allows_unloading?: boolean
|
|
6404
6466
|
}
|
|
6405
|
-
/**
|
|
6406
|
-
* @see ScheduleRecordWrite
|
|
6407
|
-
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleRecord.html Online documentation}
|
|
6408
|
-
*/
|
|
6409
|
-
export interface ScheduleRecord {
|
|
6410
|
-
/**
|
|
6411
|
-
* Name of the station.
|
|
6412
|
-
*/
|
|
6413
|
-
readonly station?: string
|
|
6414
|
-
readonly rail?: LuaEntity
|
|
6415
|
-
/**
|
|
6416
|
-
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
6417
|
-
*/
|
|
6418
|
-
readonly rail_direction?: defines.rail_direction
|
|
6419
|
-
readonly wait_conditions?: WaitCondition[]
|
|
6420
|
-
readonly temporary?: boolean
|
|
6421
|
-
readonly created_by_interrupt?: boolean
|
|
6422
|
-
readonly allows_unloading?: boolean
|
|
6423
|
-
}
|
|
6424
|
-
/**
|
|
6425
|
-
* Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form.
|
|
6426
|
-
* @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleRecord.html Online documentation}
|
|
6427
|
-
*/
|
|
6428
|
-
export interface ScheduleRecordWrite {
|
|
6429
|
-
/**
|
|
6430
|
-
* Name of the station.
|
|
6431
|
-
*/
|
|
6432
|
-
readonly station?: string
|
|
6433
|
-
readonly rail?: LuaEntity
|
|
6434
|
-
/**
|
|
6435
|
-
* When a train is allowed to reach rail target from any direction it will be `nil`. If rail has to be reached from specific direction, this value allows to choose the direction. This value corresponds to {@link LuaEntity#connected_rail_direction LuaEntity::connected_rail_direction} of a TrainStop.
|
|
6436
|
-
*/
|
|
6437
|
-
readonly rail_direction?: defines.rail_direction
|
|
6438
|
-
readonly wait_conditions?: readonly WaitConditionWrite[]
|
|
6439
|
-
readonly temporary?: boolean
|
|
6440
|
-
readonly created_by_interrupt?: boolean
|
|
6441
|
-
readonly allows_unloading?: boolean
|
|
6442
|
-
}
|
|
6443
6467
|
/**
|
|
6444
6468
|
* @see BlueprintScheduleInterruptWrite
|
|
6445
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6469
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6446
6470
|
*/
|
|
6447
6471
|
export interface BlueprintScheduleInterrupt {
|
|
6448
6472
|
/**
|
|
@@ -6458,7 +6482,7 @@ declare module "factorio:runtime" {
|
|
|
6458
6482
|
}
|
|
6459
6483
|
/**
|
|
6460
6484
|
* Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6461
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6485
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintScheduleInterrupt.html Online documentation}
|
|
6462
6486
|
*/
|
|
6463
6487
|
export interface BlueprintScheduleInterruptWrite {
|
|
6464
6488
|
/**
|
|
@@ -6474,7 +6498,7 @@ declare module "factorio:runtime" {
|
|
|
6474
6498
|
}
|
|
6475
6499
|
/**
|
|
6476
6500
|
* @see ScheduleInterruptWrite
|
|
6477
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6501
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleInterrupt.html Online documentation}
|
|
6478
6502
|
*/
|
|
6479
6503
|
export interface ScheduleInterrupt {
|
|
6480
6504
|
/**
|
|
@@ -6490,7 +6514,7 @@ declare module "factorio:runtime" {
|
|
|
6490
6514
|
}
|
|
6491
6515
|
/**
|
|
6492
6516
|
* Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form.
|
|
6493
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6517
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScheduleInterrupt.html Online documentation}
|
|
6494
6518
|
*/
|
|
6495
6519
|
export interface ScheduleInterruptWrite {
|
|
6496
6520
|
/**
|
|
@@ -6506,7 +6530,7 @@ declare module "factorio:runtime" {
|
|
|
6506
6530
|
}
|
|
6507
6531
|
/**
|
|
6508
6532
|
* @see WaitConditionWrite
|
|
6509
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6533
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WaitCondition.html Online documentation}
|
|
6510
6534
|
*/
|
|
6511
6535
|
export interface WaitCondition {
|
|
6512
6536
|
readonly type: WaitConditionType
|
|
@@ -6537,7 +6561,7 @@ declare module "factorio:runtime" {
|
|
|
6537
6561
|
}
|
|
6538
6562
|
/**
|
|
6539
6563
|
* Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form.
|
|
6540
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6564
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WaitCondition.html Online documentation}
|
|
6541
6565
|
*/
|
|
6542
6566
|
export interface WaitConditionWrite {
|
|
6543
6567
|
readonly type: WaitConditionType
|
|
@@ -6596,7 +6620,7 @@ declare module "factorio:runtime" {
|
|
|
6596
6620
|
* - `"at_station"`
|
|
6597
6621
|
* - `"not_at_station"`
|
|
6598
6622
|
* - `"damage_taken"`
|
|
6599
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6623
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WaitConditionType.html Online documentation}
|
|
6600
6624
|
*/
|
|
6601
6625
|
export type WaitConditionType =
|
|
6602
6626
|
| "time"
|
|
@@ -6627,7 +6651,7 @@ declare module "factorio:runtime" {
|
|
|
6627
6651
|
| "damage_taken"
|
|
6628
6652
|
/**
|
|
6629
6653
|
* @see BlueprintScheduleWrite
|
|
6630
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6654
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSchedule.html Online documentation}
|
|
6631
6655
|
*/
|
|
6632
6656
|
export interface BlueprintSchedule {
|
|
6633
6657
|
readonly records?: BlueprintScheduleRecord[]
|
|
@@ -6636,7 +6660,7 @@ declare module "factorio:runtime" {
|
|
|
6636
6660
|
}
|
|
6637
6661
|
/**
|
|
6638
6662
|
* Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form.
|
|
6639
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6663
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSchedule.html Online documentation}
|
|
6640
6664
|
*/
|
|
6641
6665
|
export interface BlueprintScheduleWrite {
|
|
6642
6666
|
readonly records?: readonly BlueprintScheduleRecordWrite[]
|
|
@@ -6708,7 +6732,7 @@ declare module "factorio:runtime" {
|
|
|
6708
6732
|
* - `"vehicle-logistics"`
|
|
6709
6733
|
* - `"unlock-logistic-network"`
|
|
6710
6734
|
* - `"unlock-travel-to-space-platforms"`
|
|
6711
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
6735
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ModifierType.html Online documentation}
|
|
6712
6736
|
*/
|
|
6713
6737
|
export type ModifierType =
|
|
6714
6738
|
| "inserter-stack-size-bonus"
|
|
@@ -7363,7 +7387,7 @@ declare module "factorio:runtime" {
|
|
|
7363
7387
|
* - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier}
|
|
7364
7388
|
* - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier}
|
|
7365
7389
|
* - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier}
|
|
7366
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7390
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyModifier.html Online documentation}
|
|
7367
7391
|
*/
|
|
7368
7392
|
export type TechnologyModifier =
|
|
7369
7393
|
| AmmoDamageTechnologyModifier
|
|
@@ -7471,7 +7495,7 @@ declare module "factorio:runtime" {
|
|
|
7471
7495
|
* Other attributes may be specified depending on `type`:
|
|
7472
7496
|
* - `"fluid"`: {@link FluidIngredient}
|
|
7473
7497
|
* - `"item"`: {@link ItemIngredient}
|
|
7474
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7498
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Ingredient.html Online documentation}
|
|
7475
7499
|
*/
|
|
7476
7500
|
export type Ingredient = FluidIngredient | ItemIngredient
|
|
7477
7501
|
/**
|
|
@@ -7492,7 +7516,7 @@ declare module "factorio:runtime" {
|
|
|
7492
7516
|
* * other_base_coefficient
|
|
7493
7517
|
* score(chunk) = 1 / (1 + player + base)
|
|
7494
7518
|
* ```
|
|
7495
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7519
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EnemyExpansionMapSettings.html Online documentation}
|
|
7496
7520
|
*/
|
|
7497
7521
|
export interface EnemyExpansionMapSettings {
|
|
7498
7522
|
/**
|
|
@@ -7540,11 +7564,11 @@ declare module "factorio:runtime" {
|
|
|
7540
7564
|
*/
|
|
7541
7565
|
readonly settler_group_min_size: uint32
|
|
7542
7566
|
/**
|
|
7543
|
-
* The maximum size of a biter group that goes to build a new base. This is multiplied by the evolution factor. Defaults to `
|
|
7567
|
+
* The maximum size of a biter group that goes to build a new base. This is multiplied by the evolution factor. Defaults to `10`.
|
|
7544
7568
|
*/
|
|
7545
7569
|
readonly settler_group_max_size: uint32
|
|
7546
7570
|
/**
|
|
7547
|
-
* The minimum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `
|
|
7571
|
+
* The minimum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `10*3 600=36 000` ticks.
|
|
7548
7572
|
*/
|
|
7549
7573
|
readonly min_expansion_cooldown: uint32
|
|
7550
7574
|
/**
|
|
@@ -7757,23 +7781,23 @@ declare module "factorio:runtime" {
|
|
|
7757
7781
|
}
|
|
7758
7782
|
/**
|
|
7759
7783
|
* Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.
|
|
7760
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7784
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DifficultySettings.html Online documentation}
|
|
7761
7785
|
*/
|
|
7762
7786
|
export interface DifficultySettings {
|
|
7763
7787
|
/**
|
|
7764
7788
|
* A value in range [0.001, 100000].
|
|
7765
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7789
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DifficultySettings.technology_price_multiplier.html Online documentation}
|
|
7766
7790
|
*/
|
|
7767
7791
|
technology_price_multiplier: double
|
|
7768
7792
|
/**
|
|
7769
7793
|
* A value in range [0.01, 100].
|
|
7770
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7794
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DifficultySettings.spoil_time_modifier.html Online documentation}
|
|
7771
7795
|
*/
|
|
7772
7796
|
spoil_time_modifier: double
|
|
7773
7797
|
}
|
|
7774
7798
|
/**
|
|
7775
7799
|
* A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties.
|
|
7776
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7800
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapAndDifficultySettings.html Online documentation}
|
|
7777
7801
|
*/
|
|
7778
7802
|
export interface MapAndDifficultySettings {
|
|
7779
7803
|
readonly pollution: PollutionMapSettings
|
|
@@ -7793,7 +7817,7 @@ declare module "factorio:runtime" {
|
|
|
7793
7817
|
* @example
|
|
7794
7818
|
* -- Increase the number of short paths the pathfinder can cache.
|
|
7795
7819
|
* game.map_settings.path_finder.short_cache_size = 15
|
|
7796
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7820
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapSettings.html Online documentation}
|
|
7797
7821
|
*/
|
|
7798
7822
|
export interface MapSettings {
|
|
7799
7823
|
pollution: PollutionMapSettings
|
|
@@ -7804,7 +7828,7 @@ declare module "factorio:runtime" {
|
|
|
7804
7828
|
asteroids: AsteroidMapSettings
|
|
7805
7829
|
/**
|
|
7806
7830
|
* If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
|
|
7807
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7831
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapSettings.max_failed_behavior_count.html Online documentation}
|
|
7808
7832
|
*/
|
|
7809
7833
|
max_failed_behavior_count: uint32
|
|
7810
7834
|
}
|
|
@@ -7833,7 +7857,7 @@ declare module "factorio:runtime" {
|
|
|
7833
7857
|
* - `"very-high"`: equivalent to `2`.
|
|
7834
7858
|
* - `"very-big"`: equivalent to `2`.
|
|
7835
7859
|
* - `"very-good"`: equivalent to `2`.
|
|
7836
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7860
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapGenSize.html Online documentation}
|
|
7837
7861
|
*/
|
|
7838
7862
|
export type MapGenSize =
|
|
7839
7863
|
| float
|
|
@@ -7855,7 +7879,7 @@ declare module "factorio:runtime" {
|
|
|
7855
7879
|
| "very-good"
|
|
7856
7880
|
/**
|
|
7857
7881
|
* These values are for the time frame of one second (60 ticks).
|
|
7858
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7882
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PollutionMapSettings.html Online documentation}
|
|
7859
7883
|
*/
|
|
7860
7884
|
export interface PollutionMapSettings {
|
|
7861
7885
|
/**
|
|
@@ -7905,7 +7929,7 @@ declare module "factorio:runtime" {
|
|
|
7905
7929
|
}
|
|
7906
7930
|
/**
|
|
7907
7931
|
* These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%.
|
|
7908
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7932
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EnemyEvolutionMapSettings.html Online documentation}
|
|
7909
7933
|
*/
|
|
7910
7934
|
export interface EnemyEvolutionMapSettings {
|
|
7911
7935
|
/**
|
|
@@ -7927,7 +7951,7 @@ declare module "factorio:runtime" {
|
|
|
7927
7951
|
}
|
|
7928
7952
|
/**
|
|
7929
7953
|
* @see AutoplaceControlWrite
|
|
7930
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7954
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceControl.html Online documentation}
|
|
7931
7955
|
*/
|
|
7932
7956
|
export interface AutoplaceControl {
|
|
7933
7957
|
/**
|
|
@@ -7945,7 +7969,7 @@ declare module "factorio:runtime" {
|
|
|
7945
7969
|
}
|
|
7946
7970
|
/**
|
|
7947
7971
|
* Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form.
|
|
7948
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7972
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceControl.html Online documentation}
|
|
7949
7973
|
*/
|
|
7950
7974
|
export interface AutoplaceControlWrite {
|
|
7951
7975
|
/**
|
|
@@ -7963,7 +7987,7 @@ declare module "factorio:runtime" {
|
|
|
7963
7987
|
}
|
|
7964
7988
|
/**
|
|
7965
7989
|
* @see CliffPlacementSettingsWrite
|
|
7966
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
7990
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CliffPlacementSettings.html Online documentation}
|
|
7967
7991
|
*/
|
|
7968
7992
|
export interface CliffPlacementSettings {
|
|
7969
7993
|
/**
|
|
@@ -7993,7 +8017,7 @@ declare module "factorio:runtime" {
|
|
|
7993
8017
|
}
|
|
7994
8018
|
/**
|
|
7995
8019
|
* Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form.
|
|
7996
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8020
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CliffPlacementSettings.html Online documentation}
|
|
7997
8021
|
*/
|
|
7998
8022
|
export interface CliffPlacementSettingsWrite {
|
|
7999
8023
|
/**
|
|
@@ -8023,7 +8047,7 @@ declare module "factorio:runtime" {
|
|
|
8023
8047
|
}
|
|
8024
8048
|
/**
|
|
8025
8049
|
* @see AutoplaceSettingsWrite
|
|
8026
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8050
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceSettings.html Online documentation}
|
|
8027
8051
|
*/
|
|
8028
8052
|
export interface AutoplaceSettings {
|
|
8029
8053
|
/**
|
|
@@ -8037,7 +8061,7 @@ declare module "factorio:runtime" {
|
|
|
8037
8061
|
}
|
|
8038
8062
|
/**
|
|
8039
8063
|
* Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form.
|
|
8040
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8064
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceSettings.html Online documentation}
|
|
8041
8065
|
*/
|
|
8042
8066
|
export interface AutoplaceSettingsWrite {
|
|
8043
8067
|
/**
|
|
@@ -8073,7 +8097,7 @@ declare module "factorio:runtime" {
|
|
|
8073
8097
|
* surface.map_gen_settings = mgs
|
|
8074
8098
|
* -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal
|
|
8075
8099
|
* -- numbers, e.g. `"123"`) are understood to stand for constant value expressions.
|
|
8076
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8100
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapGenSettings.html Online documentation}
|
|
8077
8101
|
*/
|
|
8078
8102
|
export interface MapGenSettings {
|
|
8079
8103
|
/**
|
|
@@ -8128,7 +8152,7 @@ declare module "factorio:runtime" {
|
|
|
8128
8152
|
}
|
|
8129
8153
|
/**
|
|
8130
8154
|
* Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form.
|
|
8131
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8155
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapGenSettings.html Online documentation}
|
|
8132
8156
|
*/
|
|
8133
8157
|
export interface MapGenSettingsWrite {
|
|
8134
8158
|
/**
|
|
@@ -8212,12 +8236,12 @@ declare module "factorio:runtime" {
|
|
|
8212
8236
|
}
|
|
8213
8237
|
/**
|
|
8214
8238
|
* The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}.
|
|
8215
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8239
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/NoiseExpressionSourceString.html Online documentation}
|
|
8216
8240
|
*/
|
|
8217
8241
|
export type NoiseExpressionSourceString = string
|
|
8218
8242
|
/**
|
|
8219
8243
|
* Specifies how probability and richness are calculated when placing something on the map.
|
|
8220
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AutoplaceSpecification.html Online documentation}
|
|
8221
8245
|
*/
|
|
8222
8246
|
export interface AutoplaceSpecification {
|
|
8223
8247
|
readonly placement_density: uint32
|
|
@@ -8300,13 +8324,13 @@ declare module "factorio:runtime" {
|
|
|
8300
8324
|
*/
|
|
8301
8325
|
readonly migration_applied: boolean
|
|
8302
8326
|
/**
|
|
8303
|
-
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.
|
|
8327
|
+
* Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.25/auxiliary/migrations.html migrations}. The inner dictionary maps the old prototype name to the new prototype name. The new name will be an empty string if the prototype was removed. Entries are omitted if the old and new prototype name are the same.
|
|
8304
8328
|
*/
|
|
8305
8329
|
readonly migrations: Record<IDType, Record<string, string>>
|
|
8306
8330
|
}
|
|
8307
8331
|
/**
|
|
8308
8332
|
* @see AsteroidChunkWrite
|
|
8309
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8333
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidChunk.html Online documentation}
|
|
8310
8334
|
*/
|
|
8311
8335
|
export interface AsteroidChunk {
|
|
8312
8336
|
/**
|
|
@@ -8318,7 +8342,7 @@ declare module "factorio:runtime" {
|
|
|
8318
8342
|
}
|
|
8319
8343
|
/**
|
|
8320
8344
|
* Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form.
|
|
8321
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8345
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidChunk.html Online documentation}
|
|
8322
8346
|
*/
|
|
8323
8347
|
export interface AsteroidChunkWrite {
|
|
8324
8348
|
/**
|
|
@@ -8330,7 +8354,7 @@ declare module "factorio:runtime" {
|
|
|
8330
8354
|
}
|
|
8331
8355
|
/**
|
|
8332
8356
|
* An item thrown overboard on a space platform.
|
|
8333
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8357
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EjectedItem.html Online documentation}
|
|
8334
8358
|
*/
|
|
8335
8359
|
export interface EjectedItem {
|
|
8336
8360
|
readonly item: ItemIDAndQualityIDPair
|
|
@@ -8342,7 +8366,7 @@ declare module "factorio:runtime" {
|
|
|
8342
8366
|
}
|
|
8343
8367
|
/**
|
|
8344
8368
|
* The data that can be extracted from a map exchange string, as a plain table.
|
|
8345
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8369
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MapExchangeStringData.html Online documentation}
|
|
8346
8370
|
*/
|
|
8347
8371
|
export interface MapExchangeStringData {
|
|
8348
8372
|
readonly map_settings: MapAndDifficultySettings
|
|
@@ -8368,7 +8392,7 @@ declare module "factorio:runtime" {
|
|
|
8368
8392
|
}
|
|
8369
8393
|
/**
|
|
8370
8394
|
* A {@link ChunkPosition} with an added bounding box for the area of the chunk.
|
|
8371
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8395
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChunkPositionAndArea.html Online documentation}
|
|
8372
8396
|
*/
|
|
8373
8397
|
export interface ChunkPositionAndArea {
|
|
8374
8398
|
readonly x: int32
|
|
@@ -8417,7 +8441,7 @@ declare module "factorio:runtime" {
|
|
|
8417
8441
|
* - `"check-box"`
|
|
8418
8442
|
* - `"switch"`
|
|
8419
8443
|
* - `"label"`
|
|
8420
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8444
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SimulationWidgetType.html Online documentation}
|
|
8421
8445
|
*/
|
|
8422
8446
|
export type SimulationWidgetType =
|
|
8423
8447
|
| "signal-id"
|
|
@@ -8606,7 +8630,7 @@ declare module "factorio:runtime" {
|
|
|
8606
8630
|
* - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState}
|
|
8607
8631
|
* - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState}
|
|
8608
8632
|
* - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState}
|
|
8609
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8633
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8610
8634
|
*/
|
|
8611
8635
|
export type SegmentedUnitAIState =
|
|
8612
8636
|
| PatrollingSegmentedUnitAIState
|
|
@@ -8616,7 +8640,7 @@ declare module "factorio:runtime" {
|
|
|
8616
8640
|
| EnragedAtNothingSegmentedUnitAIState
|
|
8617
8641
|
/**
|
|
8618
8642
|
* Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form.
|
|
8619
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8643
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SegmentedUnitAIState.html Online documentation}
|
|
8620
8644
|
*/
|
|
8621
8645
|
export type SegmentedUnitAIStateWrite =
|
|
8622
8646
|
| PatrollingSegmentedUnitAIStateWrite
|
|
@@ -8764,7 +8788,7 @@ declare module "factorio:runtime" {
|
|
|
8764
8788
|
/**
|
|
8765
8789
|
* Same as {@link Color}, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].
|
|
8766
8790
|
* @see ColorModifierArray
|
|
8767
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8791
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ColorModifier.html Online documentation}
|
|
8768
8792
|
*/
|
|
8769
8793
|
export interface ColorModifier {
|
|
8770
8794
|
readonly r?: float
|
|
@@ -8775,7 +8799,7 @@ declare module "factorio:runtime" {
|
|
|
8775
8799
|
/**
|
|
8776
8800
|
* Array form of {@link ColorModifier}.
|
|
8777
8801
|
* @see ColorModifier
|
|
8778
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8802
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ColorModifier.html Online documentation}
|
|
8779
8803
|
*/
|
|
8780
8804
|
export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double]
|
|
8781
8805
|
export interface Decorative {
|
|
@@ -8794,7 +8818,7 @@ declare module "factorio:runtime" {
|
|
|
8794
8818
|
/**
|
|
8795
8819
|
* An area defined using the map editor.
|
|
8796
8820
|
* @see ScriptAreaWrite
|
|
8797
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8821
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptArea.html Online documentation}
|
|
8798
8822
|
*/
|
|
8799
8823
|
export interface ScriptArea {
|
|
8800
8824
|
readonly area: BoundingBox
|
|
@@ -8804,7 +8828,7 @@ declare module "factorio:runtime" {
|
|
|
8804
8828
|
}
|
|
8805
8829
|
/**
|
|
8806
8830
|
* Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form.
|
|
8807
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8831
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptArea.html Online documentation}
|
|
8808
8832
|
*/
|
|
8809
8833
|
export interface ScriptAreaWrite {
|
|
8810
8834
|
readonly area: BoundingBoxWrite | BoundingBoxArray
|
|
@@ -8815,7 +8839,7 @@ declare module "factorio:runtime" {
|
|
|
8815
8839
|
/**
|
|
8816
8840
|
* A position defined using the map editor.
|
|
8817
8841
|
* @see ScriptPositionWrite
|
|
8818
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8842
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptPosition.html Online documentation}
|
|
8819
8843
|
*/
|
|
8820
8844
|
export interface ScriptPosition {
|
|
8821
8845
|
readonly position: MapPosition
|
|
@@ -8825,7 +8849,7 @@ declare module "factorio:runtime" {
|
|
|
8825
8849
|
}
|
|
8826
8850
|
/**
|
|
8827
8851
|
* Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form.
|
|
8828
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8852
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ScriptPosition.html Online documentation}
|
|
8829
8853
|
*/
|
|
8830
8854
|
export interface ScriptPositionWrite {
|
|
8831
8855
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -8841,7 +8865,7 @@ declare module "factorio:runtime" {
|
|
|
8841
8865
|
}
|
|
8842
8866
|
/**
|
|
8843
8867
|
* A table used to define a manual shape for a piece of equipment.
|
|
8844
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8868
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPoint.html Online documentation}
|
|
8845
8869
|
*/
|
|
8846
8870
|
export interface EquipmentPoint {
|
|
8847
8871
|
readonly x: uint32
|
|
@@ -8850,7 +8874,7 @@ declare module "factorio:runtime" {
|
|
|
8850
8874
|
/**
|
|
8851
8875
|
* Screen coordinates of a GUI element in a {@link LuaGui}. This uses the same format as {@link TilePosition}, meaning it can be specified either with or without explicit keys.
|
|
8852
8876
|
* @see GuiLocationArray
|
|
8853
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8877
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiLocation.html Online documentation}
|
|
8854
8878
|
*/
|
|
8855
8879
|
export interface GuiLocation {
|
|
8856
8880
|
readonly x: int32
|
|
@@ -8859,7 +8883,7 @@ declare module "factorio:runtime" {
|
|
|
8859
8883
|
/**
|
|
8860
8884
|
* Array form of {@link GuiLocation}.
|
|
8861
8885
|
* @see GuiLocation
|
|
8862
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8886
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiLocation.html Online documentation}
|
|
8863
8887
|
*/
|
|
8864
8888
|
export type GuiLocationArray = readonly [int32, int32]
|
|
8865
8889
|
export interface TabAndContent {
|
|
@@ -8888,7 +8912,7 @@ declare module "factorio:runtime" {
|
|
|
8888
8912
|
}
|
|
8889
8913
|
/**
|
|
8890
8914
|
* Either `icon`, `text`, or both must be provided.
|
|
8891
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
8915
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ChartTagSpec.html Online documentation}
|
|
8892
8916
|
*/
|
|
8893
8917
|
export interface ChartTagSpec {
|
|
8894
8918
|
readonly position: MapPosition | MapPositionArray
|
|
@@ -9031,7 +9055,7 @@ declare module "factorio:runtime" {
|
|
|
9031
9055
|
* - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}.
|
|
9032
9056
|
* - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}.
|
|
9033
9057
|
* - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`.
|
|
9034
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9058
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainPathRequestType.html Online documentation}
|
|
9035
9059
|
*/
|
|
9036
9060
|
export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties"
|
|
9037
9061
|
/**
|
|
@@ -9040,7 +9064,7 @@ declare module "factorio:runtime" {
|
|
|
9040
9064
|
* - {@link RailEndGoal}
|
|
9041
9065
|
* - {@link LuaRailEnd}
|
|
9042
9066
|
* - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail.
|
|
9043
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9067
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainPathFinderGoal.html Online documentation}
|
|
9044
9068
|
*/
|
|
9045
9069
|
export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity
|
|
9046
9070
|
export interface TrainStopGoal {
|
|
@@ -9173,7 +9197,7 @@ declare module "factorio:runtime" {
|
|
|
9173
9197
|
}
|
|
9174
9198
|
/**
|
|
9175
9199
|
* @see QuickBarSlotWrite
|
|
9176
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9200
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QuickBarSlot.html Online documentation}
|
|
9177
9201
|
*/
|
|
9178
9202
|
export interface QuickBarSlot {
|
|
9179
9203
|
/**
|
|
@@ -9199,7 +9223,7 @@ declare module "factorio:runtime" {
|
|
|
9199
9223
|
}
|
|
9200
9224
|
/**
|
|
9201
9225
|
* Write form of {@link QuickBarSlot}, where some properties allow additional values as input compared to the read form.
|
|
9202
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9226
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/QuickBarSlot.html Online documentation}
|
|
9203
9227
|
*/
|
|
9204
9228
|
export interface QuickBarSlotWrite {
|
|
9205
9229
|
/**
|
|
@@ -9252,7 +9276,7 @@ declare module "factorio:runtime" {
|
|
|
9252
9276
|
}
|
|
9253
9277
|
/**
|
|
9254
9278
|
* Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}.
|
|
9255
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9279
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidStorageIndex.html Online documentation}
|
|
9256
9280
|
*/
|
|
9257
9281
|
export type FluidStorageIndex = uint32
|
|
9258
9282
|
export interface FluidBoxNeighbourRecord {
|
|
@@ -9261,7 +9285,7 @@ declare module "factorio:runtime" {
|
|
|
9261
9285
|
}
|
|
9262
9286
|
/**
|
|
9263
9287
|
* A single pipe connection for a given fluidbox.
|
|
9264
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9288
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PipeConnection.html Online documentation}
|
|
9265
9289
|
*/
|
|
9266
9290
|
export interface PipeConnection {
|
|
9267
9291
|
readonly flow_direction: FluidFlowDirection
|
|
@@ -9310,7 +9334,7 @@ declare module "factorio:runtime" {
|
|
|
9310
9334
|
}
|
|
9311
9335
|
/**
|
|
9312
9336
|
* @see LabStoredDurabilityWrite
|
|
9313
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9337
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabStoredDurability.html Online documentation}
|
|
9314
9338
|
*/
|
|
9315
9339
|
export interface LabStoredDurability {
|
|
9316
9340
|
/**
|
|
@@ -9324,7 +9348,7 @@ declare module "factorio:runtime" {
|
|
|
9324
9348
|
}
|
|
9325
9349
|
/**
|
|
9326
9350
|
* Write form of {@link LabStoredDurability}, where some properties allow additional values as input compared to the read form.
|
|
9327
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9351
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabStoredDurability.html Online documentation}
|
|
9328
9352
|
*/
|
|
9329
9353
|
export interface LabStoredDurabilityWrite {
|
|
9330
9354
|
/**
|
|
@@ -9386,7 +9410,7 @@ declare module "factorio:runtime" {
|
|
|
9386
9410
|
* - `"surface"`
|
|
9387
9411
|
* - `"mod-data"`
|
|
9388
9412
|
* - `"custom-event"`
|
|
9389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9413
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/IDType.html Online documentation}
|
|
9390
9414
|
*/
|
|
9391
9415
|
export type IDType =
|
|
9392
9416
|
| "custom-input"
|
|
@@ -9439,7 +9463,7 @@ declare module "factorio:runtime" {
|
|
|
9439
9463
|
}
|
|
9440
9464
|
/**
|
|
9441
9465
|
* An item prototype with optional quality specification.
|
|
9442
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9466
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation}
|
|
9443
9467
|
*/
|
|
9444
9468
|
export interface BlueprintItemIDAndQualityIDPair {
|
|
9445
9469
|
/**
|
|
@@ -9467,7 +9491,7 @@ declare module "factorio:runtime" {
|
|
|
9467
9491
|
}
|
|
9468
9492
|
/**
|
|
9469
9493
|
* @see EntityIDFilterWrite
|
|
9470
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9494
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityIDFilter.html Online documentation}
|
|
9471
9495
|
*/
|
|
9472
9496
|
export interface EntityIDFilter {
|
|
9473
9497
|
/**
|
|
@@ -9485,7 +9509,7 @@ declare module "factorio:runtime" {
|
|
|
9485
9509
|
}
|
|
9486
9510
|
/**
|
|
9487
9511
|
* Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form.
|
|
9488
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9512
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityIDFilter.html Online documentation}
|
|
9489
9513
|
*/
|
|
9490
9514
|
export interface EntityIDFilterWrite {
|
|
9491
9515
|
/**
|
|
@@ -9505,7 +9529,7 @@ declare module "factorio:runtime" {
|
|
|
9505
9529
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
9506
9530
|
*
|
|
9507
9531
|
* By default, none of these flags are set.
|
|
9508
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9532
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFlags.html Online documentation}
|
|
9509
9533
|
*/
|
|
9510
9534
|
export type EntityPrototypeFlags = {
|
|
9511
9535
|
readonly [T in EntityPrototypeFlag]?: true
|
|
@@ -9543,7 +9567,7 @@ declare module "factorio:runtime" {
|
|
|
9543
9567
|
* - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia.
|
|
9544
9568
|
* - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI.
|
|
9545
9569
|
* - `"not-in-mined-by"`: Prevents the entity from being shown in the mined-by tooltip of resources.
|
|
9546
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9570
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFlag.html Online documentation}
|
|
9547
9571
|
*/
|
|
9548
9572
|
export type EntityPrototypeFlag =
|
|
9549
9573
|
| "not-rotatable"
|
|
@@ -9577,7 +9601,7 @@ declare module "factorio:runtime" {
|
|
|
9577
9601
|
| "not-in-mined-by"
|
|
9578
9602
|
/**
|
|
9579
9603
|
* A single filter used by an infinity-pipe type entity.
|
|
9580
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9604
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InfinityPipeFilter.html Online documentation}
|
|
9581
9605
|
*/
|
|
9582
9606
|
export interface InfinityPipeFilter {
|
|
9583
9607
|
/**
|
|
@@ -9607,7 +9631,7 @@ declare module "factorio:runtime" {
|
|
|
9607
9631
|
}
|
|
9608
9632
|
/**
|
|
9609
9633
|
* @see ProgrammableSpeakerParametersWrite
|
|
9610
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9634
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9611
9635
|
*/
|
|
9612
9636
|
export interface ProgrammableSpeakerParameters {
|
|
9613
9637
|
readonly playback_volume: float
|
|
@@ -9618,7 +9642,7 @@ declare module "factorio:runtime" {
|
|
|
9618
9642
|
}
|
|
9619
9643
|
/**
|
|
9620
9644
|
* Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form.
|
|
9621
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9645
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerParameters.html Online documentation}
|
|
9622
9646
|
*/
|
|
9623
9647
|
export interface ProgrammableSpeakerParametersWrite {
|
|
9624
9648
|
readonly playback_volume: float
|
|
@@ -9634,12 +9658,12 @@ declare module "factorio:runtime" {
|
|
|
9634
9658
|
* - `"local"`: The sound can be heard within the audible range around the speaker.
|
|
9635
9659
|
* - `"surface"`: The sound can be heard anywhere on the speaker's surface.
|
|
9636
9660
|
* - `"global"`: The sound can be heard everywhere.
|
|
9637
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9661
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation}
|
|
9638
9662
|
*/
|
|
9639
9663
|
export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global"
|
|
9640
9664
|
/**
|
|
9641
9665
|
* @see ProgrammableSpeakerAlertParametersWrite
|
|
9642
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9666
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9643
9667
|
*/
|
|
9644
9668
|
export interface ProgrammableSpeakerAlertParameters {
|
|
9645
9669
|
readonly show_alert: boolean
|
|
@@ -9649,7 +9673,7 @@ declare module "factorio:runtime" {
|
|
|
9649
9673
|
}
|
|
9650
9674
|
/**
|
|
9651
9675
|
* Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form.
|
|
9652
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9676
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerAlertParameters.html Online documentation}
|
|
9653
9677
|
*/
|
|
9654
9678
|
export interface ProgrammableSpeakerAlertParametersWrite {
|
|
9655
9679
|
readonly show_alert: boolean
|
|
@@ -9677,12 +9701,12 @@ declare module "factorio:runtime" {
|
|
|
9677
9701
|
* - `"exactly"`
|
|
9678
9702
|
* - `"add"`
|
|
9679
9703
|
* - `"remove"`
|
|
9680
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9704
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatSettingMode.html Online documentation}
|
|
9681
9705
|
*/
|
|
9682
9706
|
export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove"
|
|
9683
9707
|
/**
|
|
9684
9708
|
* The settings used by a heat-interface type entity.
|
|
9685
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9709
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatSetting.html Online documentation}
|
|
9686
9710
|
*/
|
|
9687
9711
|
export interface HeatSetting {
|
|
9688
9712
|
/**
|
|
@@ -9716,7 +9740,7 @@ declare module "factorio:runtime" {
|
|
|
9716
9740
|
* - `"none-to-south"`
|
|
9717
9741
|
* - `"south-to-none"`
|
|
9718
9742
|
* - `"none-to-north"`
|
|
9719
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9743
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CliffOrientation.html Online documentation}
|
|
9720
9744
|
*/
|
|
9721
9745
|
export type CliffOrientation =
|
|
9722
9746
|
| "west-to-east"
|
|
@@ -9746,14 +9770,14 @@ declare module "factorio:runtime" {
|
|
|
9746
9770
|
* - `"one-way"`: Fluid will flow if input level > output level.
|
|
9747
9771
|
* - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9748
9772
|
* - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level.
|
|
9749
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9773
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ValveMode.html Online documentation}
|
|
9750
9774
|
*/
|
|
9751
9775
|
export type ValveMode = "one-way" | "overflow" | "top-up"
|
|
9752
9776
|
/**
|
|
9753
9777
|
* ## Union members
|
|
9754
9778
|
* - `"fresh-first"`
|
|
9755
9779
|
* - `"spoiled-first"`
|
|
9756
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9780
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintSpoilPriority.html Online documentation}
|
|
9757
9781
|
*/
|
|
9758
9782
|
export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first"
|
|
9759
9783
|
/**
|
|
@@ -9761,7 +9785,7 @@ declare module "factorio:runtime" {
|
|
|
9761
9785
|
* - `"fresh-first"`
|
|
9762
9786
|
* - `"none"`
|
|
9763
9787
|
* - `"spoiled-first"`
|
|
9764
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9788
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpoilPriority.html Online documentation}
|
|
9765
9789
|
*/
|
|
9766
9790
|
export type SpoilPriority = "fresh-first" | "none" | "spoiled-first"
|
|
9767
9791
|
export interface SpiderLegSpecification {
|
|
@@ -9781,7 +9805,7 @@ declare module "factorio:runtime" {
|
|
|
9781
9805
|
}
|
|
9782
9806
|
/**
|
|
9783
9807
|
* @see BlueprintInfinityInventorySettingsWrite
|
|
9784
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9808
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9785
9809
|
*/
|
|
9786
9810
|
export interface BlueprintInfinityInventorySettings {
|
|
9787
9811
|
readonly filters?: InfinityInventoryFilter[]
|
|
@@ -9792,7 +9816,7 @@ declare module "factorio:runtime" {
|
|
|
9792
9816
|
}
|
|
9793
9817
|
/**
|
|
9794
9818
|
* Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form.
|
|
9795
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9819
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInfinityInventorySettings.html Online documentation}
|
|
9796
9820
|
*/
|
|
9797
9821
|
export interface BlueprintInfinityInventorySettingsWrite {
|
|
9798
9822
|
readonly filters?: readonly InfinityInventoryFilterWrite[]
|
|
@@ -9836,7 +9860,7 @@ declare module "factorio:runtime" {
|
|
|
9836
9860
|
}
|
|
9837
9861
|
/**
|
|
9838
9862
|
* Defines an item type that a blueprint entity will request.
|
|
9839
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9863
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintInsertPlan.html Online documentation}
|
|
9840
9864
|
*/
|
|
9841
9865
|
export interface BlueprintInsertPlan {
|
|
9842
9866
|
/**
|
|
@@ -9874,7 +9898,7 @@ declare module "factorio:runtime" {
|
|
|
9874
9898
|
}
|
|
9875
9899
|
/**
|
|
9876
9900
|
* A single offer on a market entity.
|
|
9877
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9901
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Offer.html Online documentation}
|
|
9878
9902
|
*/
|
|
9879
9903
|
export interface Offer {
|
|
9880
9904
|
/**
|
|
@@ -9920,7 +9944,7 @@ declare module "factorio:runtime" {
|
|
|
9920
9944
|
/**
|
|
9921
9945
|
* A single filter used by an infinity-filters instance.
|
|
9922
9946
|
* @see InfinityInventoryFilterWrite
|
|
9923
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9947
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9924
9948
|
*/
|
|
9925
9949
|
export interface InfinityInventoryFilter {
|
|
9926
9950
|
/**
|
|
@@ -9946,7 +9970,7 @@ declare module "factorio:runtime" {
|
|
|
9946
9970
|
}
|
|
9947
9971
|
/**
|
|
9948
9972
|
* Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form.
|
|
9949
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
9973
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InfinityInventoryFilter.html Online documentation}
|
|
9950
9974
|
*/
|
|
9951
9975
|
export interface InfinityInventoryFilterWrite {
|
|
9952
9976
|
/**
|
|
@@ -9989,7 +10013,7 @@ declare module "factorio:runtime" {
|
|
|
9989
10013
|
}
|
|
9990
10014
|
/**
|
|
9991
10015
|
* Used to specify what type of damage and how much damage something deals.
|
|
9992
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10016
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DamageParameters.html Online documentation}
|
|
9993
10017
|
*/
|
|
9994
10018
|
export interface DamageParameters {
|
|
9995
10019
|
readonly amount: float
|
|
@@ -10019,14 +10043,14 @@ declare module "factorio:runtime" {
|
|
|
10019
10043
|
*
|
|
10020
10044
|
* The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}.
|
|
10021
10045
|
*
|
|
10022
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10046
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.}
|
|
10023
10047
|
*
|
|
10024
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10048
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.}
|
|
10025
10049
|
*
|
|
10026
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10050
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.}
|
|
10027
10051
|
*
|
|
10028
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
10029
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10052
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.}
|
|
10053
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SoundPath.html Online documentation}
|
|
10030
10054
|
*/
|
|
10031
10055
|
export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}`
|
|
10032
10056
|
/**
|
|
@@ -10044,7 +10068,7 @@ declare module "factorio:runtime" {
|
|
|
10044
10068
|
* - `"weapon"`
|
|
10045
10069
|
* - `"explosion"`
|
|
10046
10070
|
* - `"enemy"`
|
|
10047
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10071
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SoundType.html Online documentation}
|
|
10048
10072
|
*/
|
|
10049
10073
|
export type SoundType =
|
|
10050
10074
|
| "game-effect"
|
|
@@ -10094,12 +10118,12 @@ declare module "factorio:runtime" {
|
|
|
10094
10118
|
* - `"requester"`
|
|
10095
10119
|
* - `"storage"`
|
|
10096
10120
|
* - `"buffer"`
|
|
10097
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10121
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticMode.html Online documentation}
|
|
10098
10122
|
*/
|
|
10099
10123
|
export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer"
|
|
10100
10124
|
/**
|
|
10101
10125
|
* @see BlueprintLogisticFilterWrite
|
|
10102
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10126
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10103
10127
|
*/
|
|
10104
10128
|
export interface BlueprintLogisticFilter {
|
|
10105
10129
|
readonly index: LogisticFilterIndex
|
|
@@ -10133,7 +10157,7 @@ declare module "factorio:runtime" {
|
|
|
10133
10157
|
}
|
|
10134
10158
|
/**
|
|
10135
10159
|
* Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form.
|
|
10136
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10160
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticFilter.html Online documentation}
|
|
10137
10161
|
*/
|
|
10138
10162
|
export interface BlueprintLogisticFilterWrite {
|
|
10139
10163
|
readonly index: LogisticFilterIndex
|
|
@@ -10167,7 +10191,7 @@ declare module "factorio:runtime" {
|
|
|
10167
10191
|
}
|
|
10168
10192
|
/**
|
|
10169
10193
|
* @see BlueprintLogisticSectionsWrite
|
|
10170
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10194
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10171
10195
|
*/
|
|
10172
10196
|
export interface BlueprintLogisticSections {
|
|
10173
10197
|
readonly sections?: LogisticSection[]
|
|
@@ -10182,7 +10206,7 @@ declare module "factorio:runtime" {
|
|
|
10182
10206
|
}
|
|
10183
10207
|
/**
|
|
10184
10208
|
* Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10185
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10209
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BlueprintLogisticSections.html Online documentation}
|
|
10186
10210
|
*/
|
|
10187
10211
|
export interface BlueprintLogisticSectionsWrite {
|
|
10188
10212
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10197,7 +10221,7 @@ declare module "factorio:runtime" {
|
|
|
10197
10221
|
}
|
|
10198
10222
|
/**
|
|
10199
10223
|
* @see LogisticSectionWrite
|
|
10200
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10224
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSection.html Online documentation}
|
|
10201
10225
|
*/
|
|
10202
10226
|
export interface LogisticSection {
|
|
10203
10227
|
readonly index: uint8
|
|
@@ -10214,7 +10238,7 @@ declare module "factorio:runtime" {
|
|
|
10214
10238
|
}
|
|
10215
10239
|
/**
|
|
10216
10240
|
* Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form.
|
|
10217
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10241
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSection.html Online documentation}
|
|
10218
10242
|
*/
|
|
10219
10243
|
export interface LogisticSectionWrite {
|
|
10220
10244
|
readonly index: uint8
|
|
@@ -10231,7 +10255,7 @@ declare module "factorio:runtime" {
|
|
|
10231
10255
|
}
|
|
10232
10256
|
/**
|
|
10233
10257
|
* @see LogisticSectionsWrite
|
|
10234
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10258
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSections.html Online documentation}
|
|
10235
10259
|
*/
|
|
10236
10260
|
export interface LogisticSections {
|
|
10237
10261
|
readonly sections?: LogisticSection[]
|
|
@@ -10242,7 +10266,7 @@ declare module "factorio:runtime" {
|
|
|
10242
10266
|
}
|
|
10243
10267
|
/**
|
|
10244
10268
|
* Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form.
|
|
10245
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10269
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticSections.html Online documentation}
|
|
10246
10270
|
*/
|
|
10247
10271
|
export interface LogisticSectionsWrite {
|
|
10248
10272
|
readonly sections?: readonly LogisticSectionWrite[]
|
|
@@ -10265,7 +10289,7 @@ declare module "factorio:runtime" {
|
|
|
10265
10289
|
* - {@link LuaAsteroidChunkPrototype}
|
|
10266
10290
|
* - {@link LuaVirtualSignalPrototype}
|
|
10267
10291
|
* - {@link LuaSurfacePrototype}
|
|
10268
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10292
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FactoriopediaID.html Online documentation}
|
|
10269
10293
|
*/
|
|
10270
10294
|
export type FactoriopediaID =
|
|
10271
10295
|
| LuaItemPrototype
|
|
@@ -10286,7 +10310,7 @@ declare module "factorio:runtime" {
|
|
|
10286
10310
|
* ## Union members
|
|
10287
10311
|
* - `"horizontal"`
|
|
10288
10312
|
* - `"vertical"`
|
|
10289
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10313
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GuiDirection.html Online documentation}
|
|
10290
10314
|
*/
|
|
10291
10315
|
export type GuiDirection = "horizontal" | "vertical"
|
|
10292
10316
|
export interface AttackParameterFluid {
|
|
@@ -10373,7 +10397,7 @@ declare module "factorio:runtime" {
|
|
|
10373
10397
|
* - `"cluster"`: {@link ClusterTriggerItem}
|
|
10374
10398
|
* - `"direct"`: {@link DirectTriggerItem}
|
|
10375
10399
|
* - `"line"`: {@link LineTriggerItem}
|
|
10376
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10400
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerItem.html Online documentation}
|
|
10377
10401
|
*/
|
|
10378
10402
|
export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem
|
|
10379
10403
|
export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[]
|
|
@@ -10388,12 +10412,12 @@ declare module "factorio:runtime" {
|
|
|
10388
10412
|
* ## Union members
|
|
10389
10413
|
* - `"primary"`
|
|
10390
10414
|
* - `"secondary"`
|
|
10391
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10415
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ApplyTileTint.html Online documentation}
|
|
10392
10416
|
*/
|
|
10393
10417
|
export type ApplyTileTint = "primary" | "secondary"
|
|
10394
10418
|
/**
|
|
10395
10419
|
* A set of trigger target masks.
|
|
10396
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10420
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerTargetMask.html Online documentation}
|
|
10397
10421
|
*/
|
|
10398
10422
|
export type TriggerTargetMask = Record<string, true>
|
|
10399
10423
|
export interface AttackReactionItem {
|
|
@@ -10486,7 +10510,7 @@ declare module "factorio:runtime" {
|
|
|
10486
10510
|
* - `"delayed"`: {@link DelayedTriggerDelivery}
|
|
10487
10511
|
* - `"projectile"`: {@link ProjectileTriggerDelivery}
|
|
10488
10512
|
* - `"stream"`: {@link StreamTriggerDelivery}
|
|
10489
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10513
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerDelivery.html Online documentation}
|
|
10490
10514
|
*/
|
|
10491
10515
|
export type TriggerDelivery =
|
|
10492
10516
|
| ArtilleryTriggerDelivery
|
|
@@ -10553,7 +10577,7 @@ declare module "factorio:runtime" {
|
|
|
10553
10577
|
* - `"camera-effect"`
|
|
10554
10578
|
* - `"activate-impact"`
|
|
10555
10579
|
* - `"create-pollution"`
|
|
10556
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10580
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerEffectItemType.html Online documentation}
|
|
10557
10581
|
*/
|
|
10558
10582
|
export type TriggerEffectItemType =
|
|
10559
10583
|
| "damage"
|
|
@@ -10927,7 +10951,7 @@ declare module "factorio:runtime" {
|
|
|
10927
10951
|
* - `"script"`: {@link ScriptTriggerEffectItem}
|
|
10928
10952
|
* - `"set-tile"`: {@link SetTileTriggerEffectItem}
|
|
10929
10953
|
* - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem}
|
|
10930
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
10954
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TriggerEffectItem.html Online documentation}
|
|
10931
10955
|
*/
|
|
10932
10956
|
export type TriggerEffectItem =
|
|
10933
10957
|
| ActivateImpactTriggerEffectItem
|
|
@@ -11056,7 +11080,7 @@ declare module "factorio:runtime" {
|
|
|
11056
11080
|
* Other attributes may be specified depending on `type`:
|
|
11057
11081
|
* - `"projectile"`: {@link ProjectileAttackParameters}
|
|
11058
11082
|
* - `"stream"`: {@link StreamAttackParameters}
|
|
11059
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11083
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AttackParameters.html Online documentation}
|
|
11060
11084
|
*/
|
|
11061
11085
|
export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters
|
|
11062
11086
|
/**
|
|
@@ -11064,7 +11088,7 @@ declare module "factorio:runtime" {
|
|
|
11064
11088
|
* - `"left"`
|
|
11065
11089
|
* - `"none"`
|
|
11066
11090
|
* - `"right"`
|
|
11067
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11091
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SplitterPriority.html Online documentation}
|
|
11068
11092
|
*/
|
|
11069
11093
|
export type SplitterPriority = "left" | "none" | "right"
|
|
11070
11094
|
/**
|
|
@@ -11083,7 +11107,7 @@ declare module "factorio:runtime" {
|
|
|
11083
11107
|
* - `"middle-right"`
|
|
11084
11108
|
* - `"right"`: The same as `"middle-right"`
|
|
11085
11109
|
* - `"bottom-right"`
|
|
11086
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11110
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Alignment.html Online documentation}
|
|
11087
11111
|
*/
|
|
11088
11112
|
export type Alignment =
|
|
11089
11113
|
| "top-left"
|
|
@@ -11118,7 +11142,7 @@ declare module "factorio:runtime" {
|
|
|
11118
11142
|
* - {@link FluidPrototypeFilter}
|
|
11119
11143
|
* - {@link EntityPrototypeFilter}
|
|
11120
11144
|
* @see PrototypeFilterWrite
|
|
11121
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11145
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PrototypeFilter.html Online documentation}
|
|
11122
11146
|
*/
|
|
11123
11147
|
export type PrototypeFilter =
|
|
11124
11148
|
| ModSettingPrototypeFilter[]
|
|
@@ -11136,7 +11160,7 @@ declare module "factorio:runtime" {
|
|
|
11136
11160
|
| EntityPrototypeFilter[]
|
|
11137
11161
|
/**
|
|
11138
11162
|
* Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
11139
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11163
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PrototypeFilter.html Online documentation}
|
|
11140
11164
|
*/
|
|
11141
11165
|
export type PrototypeFilterWrite =
|
|
11142
11166
|
| readonly ModSettingPrototypeFilter[]
|
|
@@ -11189,7 +11213,7 @@ declare module "factorio:runtime" {
|
|
|
11189
11213
|
* - {@link LuaSegmentedUnitCreatedEventFilter}
|
|
11190
11214
|
* - {@link LuaScriptRaisedDestroyEventFilter}
|
|
11191
11215
|
* @see EventFilterWrite
|
|
11192
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11216
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EventFilter.html Online documentation}
|
|
11193
11217
|
*/
|
|
11194
11218
|
export type EventFilter =
|
|
11195
11219
|
| LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11224,7 +11248,7 @@ declare module "factorio:runtime" {
|
|
|
11224
11248
|
| LuaScriptRaisedDestroyEventFilter[]
|
|
11225
11249
|
/**
|
|
11226
11250
|
* Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form.
|
|
11227
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11251
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EventFilter.html Online documentation}
|
|
11228
11252
|
*/
|
|
11229
11253
|
export type EventFilterWrite =
|
|
11230
11254
|
| readonly LuaSegmentedUnitDiedEventFilter[]
|
|
@@ -11259,7 +11283,7 @@ declare module "factorio:runtime" {
|
|
|
11259
11283
|
| readonly LuaScriptRaisedDestroyEventFilter[]
|
|
11260
11284
|
/**
|
|
11261
11285
|
* @see CircuitConditionDefinitionWrite
|
|
11262
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11286
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11263
11287
|
*/
|
|
11264
11288
|
export interface CircuitConditionDefinition {
|
|
11265
11289
|
/**
|
|
@@ -11285,7 +11309,7 @@ declare module "factorio:runtime" {
|
|
|
11285
11309
|
}
|
|
11286
11310
|
/**
|
|
11287
11311
|
* Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form.
|
|
11288
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11312
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CircuitConditionDefinition.html Online documentation}
|
|
11289
11313
|
*/
|
|
11290
11314
|
export interface CircuitConditionDefinitionWrite {
|
|
11291
11315
|
/**
|
|
@@ -11313,7 +11337,7 @@ declare module "factorio:runtime" {
|
|
|
11313
11337
|
* Constants used by the game that are not specific to certain prototypes. See {@linkplain https://github.com/wube/factorio-data/blob/master/core/prototypes/utility-constants.lua utility-constants.lua} for the values used by the base game.
|
|
11314
11338
|
*
|
|
11315
11339
|
* Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table.
|
|
11316
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11340
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/UtilityConstants.html Online documentation}
|
|
11317
11341
|
*/
|
|
11318
11342
|
export interface UtilityConstants {
|
|
11319
11343
|
/**
|
|
@@ -11783,7 +11807,7 @@ declare module "factorio:runtime" {
|
|
|
11783
11807
|
* - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network}
|
|
11784
11808
|
* - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id}
|
|
11785
11809
|
* - {@link LuaForce}: Target type {@link defines.target_type.force force}; `useful_id` {@link LuaForce#index LuaForce::index}
|
|
11786
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11810
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RegistrationTarget.html Online documentation}
|
|
11787
11811
|
*/
|
|
11788
11812
|
export type RegistrationTarget =
|
|
11789
11813
|
| LuaEntity
|
|
@@ -11891,7 +11915,7 @@ declare module "factorio:runtime" {
|
|
|
11891
11915
|
* - `"build-entity"`: {@link BuildEntityResearchTrigger}
|
|
11892
11916
|
* - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger}
|
|
11893
11917
|
* - `"scripted"`: {@link ScriptedResearchTrigger}
|
|
11894
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11918
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ResearchTrigger.html Online documentation}
|
|
11895
11919
|
*/
|
|
11896
11920
|
export type ResearchTrigger =
|
|
11897
11921
|
| CraftItemResearchTrigger
|
|
@@ -11904,26 +11928,26 @@ declare module "factorio:runtime" {
|
|
|
11904
11928
|
| OtherResearchTrigger
|
|
11905
11929
|
/**
|
|
11906
11930
|
* The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}.
|
|
11907
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11931
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProcessionID.html Online documentation}
|
|
11908
11932
|
*/
|
|
11909
11933
|
export type ProcessionID = string
|
|
11910
11934
|
/**
|
|
11911
11935
|
* @see DeciderCombinatorBlueprintControlBehaviorWrite
|
|
11912
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11936
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11913
11937
|
*/
|
|
11914
11938
|
export interface DeciderCombinatorBlueprintControlBehavior {
|
|
11915
11939
|
readonly decider_conditions: DeciderCombinatorParameters
|
|
11916
11940
|
}
|
|
11917
11941
|
/**
|
|
11918
11942
|
* Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11943
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation}
|
|
11920
11944
|
*/
|
|
11921
11945
|
export interface DeciderCombinatorBlueprintControlBehaviorWrite {
|
|
11922
11946
|
readonly decider_conditions: DeciderCombinatorParametersWrite
|
|
11923
11947
|
}
|
|
11924
11948
|
/**
|
|
11925
11949
|
* @see RocketSiloBlueprintControlBehaviorWrite
|
|
11926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11950
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11927
11951
|
*/
|
|
11928
11952
|
export interface RocketSiloBlueprintControlBehavior {
|
|
11929
11953
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11939,7 +11963,7 @@ declare module "factorio:runtime" {
|
|
|
11939
11963
|
}
|
|
11940
11964
|
/**
|
|
11941
11965
|
* Write form of {@link RocketSiloBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
11942
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11966
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RocketSiloBlueprintControlBehavior.html Online documentation}
|
|
11943
11967
|
*/
|
|
11944
11968
|
export interface RocketSiloBlueprintControlBehaviorWrite {
|
|
11945
11969
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -11955,7 +11979,7 @@ declare module "factorio:runtime" {
|
|
|
11955
11979
|
}
|
|
11956
11980
|
/**
|
|
11957
11981
|
* @see SpacePlatformHubBlueprintControlBehaviorWrite
|
|
11958
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
11982
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
11959
11983
|
*/
|
|
11960
11984
|
export interface SpacePlatformHubBlueprintControlBehavior {
|
|
11961
11985
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -11998,7 +12022,7 @@ declare module "factorio:runtime" {
|
|
|
11998
12022
|
}
|
|
11999
12023
|
/**
|
|
12000
12024
|
* Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12001
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12025
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation}
|
|
12002
12026
|
*/
|
|
12003
12027
|
export interface SpacePlatformHubBlueprintControlBehaviorWrite {
|
|
12004
12028
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12041,7 +12065,7 @@ declare module "factorio:runtime" {
|
|
|
12041
12065
|
}
|
|
12042
12066
|
/**
|
|
12043
12067
|
* @see RailSignalBaseBlueprintControlBehaviorWrite
|
|
12044
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12068
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
12045
12069
|
*/
|
|
12046
12070
|
export interface RailSignalBaseBlueprintControlBehavior {
|
|
12047
12071
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12056,7 +12080,7 @@ declare module "factorio:runtime" {
|
|
|
12056
12080
|
}
|
|
12057
12081
|
/**
|
|
12058
12082
|
* Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12059
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12083
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation}
|
|
12060
12084
|
*/
|
|
12061
12085
|
export interface RailSignalBaseBlueprintControlBehaviorWrite {
|
|
12062
12086
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12071,7 +12095,7 @@ declare module "factorio:runtime" {
|
|
|
12071
12095
|
}
|
|
12072
12096
|
/**
|
|
12073
12097
|
* @see FurnaceBlueprintControlBehaviorWrite
|
|
12074
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12098
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
12075
12099
|
*/
|
|
12076
12100
|
export interface FurnaceBlueprintControlBehavior {
|
|
12077
12101
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12115,7 +12139,7 @@ declare module "factorio:runtime" {
|
|
|
12115
12139
|
}
|
|
12116
12140
|
/**
|
|
12117
12141
|
* Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12118
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12142
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FurnaceBlueprintControlBehavior.html Online documentation}
|
|
12119
12143
|
*/
|
|
12120
12144
|
export interface FurnaceBlueprintControlBehaviorWrite {
|
|
12121
12145
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12159,21 +12183,21 @@ declare module "factorio:runtime" {
|
|
|
12159
12183
|
}
|
|
12160
12184
|
/**
|
|
12161
12185
|
* @see ArithmeticCombinatorBlueprintControlBehaviorWrite
|
|
12162
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12186
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12163
12187
|
*/
|
|
12164
12188
|
export interface ArithmeticCombinatorBlueprintControlBehavior {
|
|
12165
12189
|
readonly arithmetic_conditions: ArithmeticCombinatorParameters
|
|
12166
12190
|
}
|
|
12167
12191
|
/**
|
|
12168
12192
|
* Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12169
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12193
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12170
12194
|
*/
|
|
12171
12195
|
export interface ArithmeticCombinatorBlueprintControlBehaviorWrite {
|
|
12172
12196
|
readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite
|
|
12173
12197
|
}
|
|
12174
12198
|
/**
|
|
12175
12199
|
* @see CargoLandingPadBlueprintControlBehaviorWrite
|
|
12176
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12200
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12177
12201
|
*/
|
|
12178
12202
|
export interface CargoLandingPadBlueprintControlBehavior {
|
|
12179
12203
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12194,7 +12218,7 @@ declare module "factorio:runtime" {
|
|
|
12194
12218
|
}
|
|
12195
12219
|
/**
|
|
12196
12220
|
* Write form of {@link CargoLandingPadBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12197
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12221
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation}
|
|
12198
12222
|
*/
|
|
12199
12223
|
export interface CargoLandingPadBlueprintControlBehaviorWrite {
|
|
12200
12224
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12215,7 +12239,7 @@ declare module "factorio:runtime" {
|
|
|
12215
12239
|
}
|
|
12216
12240
|
/**
|
|
12217
12241
|
* @see LampBlueprintControlBehaviorWrite
|
|
12218
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12242
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
12219
12243
|
*/
|
|
12220
12244
|
export interface LampBlueprintControlBehavior {
|
|
12221
12245
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12244,7 +12268,7 @@ declare module "factorio:runtime" {
|
|
|
12244
12268
|
}
|
|
12245
12269
|
/**
|
|
12246
12270
|
* Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12247
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12271
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LampBlueprintControlBehavior.html Online documentation}
|
|
12248
12272
|
*/
|
|
12249
12273
|
export interface LampBlueprintControlBehaviorWrite {
|
|
12250
12274
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12273,7 +12297,7 @@ declare module "factorio:runtime" {
|
|
|
12273
12297
|
}
|
|
12274
12298
|
/**
|
|
12275
12299
|
* @see ProxyContainerBlueprintControlBehaviorWrite
|
|
12276
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12300
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12277
12301
|
*/
|
|
12278
12302
|
export interface ProxyContainerBlueprintControlBehavior {
|
|
12279
12303
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12289,7 +12313,7 @@ declare module "factorio:runtime" {
|
|
|
12289
12313
|
}
|
|
12290
12314
|
/**
|
|
12291
12315
|
* Write form of {@link ProxyContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12292
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12316
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation}
|
|
12293
12317
|
*/
|
|
12294
12318
|
export interface ProxyContainerBlueprintControlBehaviorWrite {
|
|
12295
12319
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12305,7 +12329,7 @@ declare module "factorio:runtime" {
|
|
|
12305
12329
|
}
|
|
12306
12330
|
/**
|
|
12307
12331
|
* @see MiningDrillBlueprintControlBehaviorWrite
|
|
12308
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12332
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12309
12333
|
*/
|
|
12310
12334
|
export interface MiningDrillBlueprintControlBehavior {
|
|
12311
12335
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12325,7 +12349,7 @@ declare module "factorio:runtime" {
|
|
|
12325
12349
|
}
|
|
12326
12350
|
/**
|
|
12327
12351
|
* Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12328
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12352
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MiningDrillBlueprintControlBehavior.html Online documentation}
|
|
12329
12353
|
*/
|
|
12330
12354
|
export interface MiningDrillBlueprintControlBehaviorWrite {
|
|
12331
12355
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12345,7 +12369,7 @@ declare module "factorio:runtime" {
|
|
|
12345
12369
|
}
|
|
12346
12370
|
/**
|
|
12347
12371
|
* @see LoaderBlueprintControlBehaviorWrite
|
|
12348
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12372
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12349
12373
|
*/
|
|
12350
12374
|
export interface LoaderBlueprintControlBehavior {
|
|
12351
12375
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12371,7 +12395,7 @@ declare module "factorio:runtime" {
|
|
|
12371
12395
|
}
|
|
12372
12396
|
/**
|
|
12373
12397
|
* Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12374
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12398
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LoaderBlueprintControlBehavior.html Online documentation}
|
|
12375
12399
|
*/
|
|
12376
12400
|
export interface LoaderBlueprintControlBehaviorWrite {
|
|
12377
12401
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12397,7 +12421,7 @@ declare module "factorio:runtime" {
|
|
|
12397
12421
|
}
|
|
12398
12422
|
/**
|
|
12399
12423
|
* @see WallBlueprintControlBehaviorWrite
|
|
12400
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12424
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12401
12425
|
*/
|
|
12402
12426
|
export interface WallBlueprintControlBehavior {
|
|
12403
12427
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12409,7 +12433,7 @@ declare module "factorio:runtime" {
|
|
|
12409
12433
|
}
|
|
12410
12434
|
/**
|
|
12411
12435
|
* Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12412
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12436
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/WallBlueprintControlBehavior.html Online documentation}
|
|
12413
12437
|
*/
|
|
12414
12438
|
export interface WallBlueprintControlBehaviorWrite {
|
|
12415
12439
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12421,7 +12445,7 @@ declare module "factorio:runtime" {
|
|
|
12421
12445
|
}
|
|
12422
12446
|
/**
|
|
12423
12447
|
* @see GenericOnOffBlueprintControlBehaviorWrite
|
|
12424
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12448
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12425
12449
|
*/
|
|
12426
12450
|
export interface GenericOnOffBlueprintControlBehavior {
|
|
12427
12451
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12438,7 +12462,7 @@ declare module "factorio:runtime" {
|
|
|
12438
12462
|
}
|
|
12439
12463
|
/**
|
|
12440
12464
|
* Write form of {@link GenericOnOffBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12441
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12465
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation}
|
|
12442
12466
|
*/
|
|
12443
12467
|
export interface GenericOnOffBlueprintControlBehaviorWrite {
|
|
12444
12468
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12455,7 +12479,7 @@ declare module "factorio:runtime" {
|
|
|
12455
12479
|
}
|
|
12456
12480
|
/**
|
|
12457
12481
|
* @see ResearchConditionWrite
|
|
12458
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12482
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ResearchCondition.html Online documentation}
|
|
12459
12483
|
*/
|
|
12460
12484
|
export interface ResearchCondition {
|
|
12461
12485
|
readonly condition?: CircuitCondition
|
|
@@ -12470,7 +12494,7 @@ declare module "factorio:runtime" {
|
|
|
12470
12494
|
}
|
|
12471
12495
|
/**
|
|
12472
12496
|
* Write form of {@link ResearchCondition}, where some properties allow additional values as input compared to the read form.
|
|
12473
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12497
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ResearchCondition.html Online documentation}
|
|
12474
12498
|
*/
|
|
12475
12499
|
export interface ResearchConditionWrite {
|
|
12476
12500
|
readonly condition?: CircuitConditionWrite
|
|
@@ -12485,7 +12509,7 @@ declare module "factorio:runtime" {
|
|
|
12485
12509
|
}
|
|
12486
12510
|
/**
|
|
12487
12511
|
* @see BoilerBlueprintControlBehaviorWrite
|
|
12488
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12512
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12489
12513
|
*/
|
|
12490
12514
|
export interface BoilerBlueprintControlBehavior {
|
|
12491
12515
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12507,7 +12531,7 @@ declare module "factorio:runtime" {
|
|
|
12507
12531
|
}
|
|
12508
12532
|
/**
|
|
12509
12533
|
* Write form of {@link BoilerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12510
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12534
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/BoilerBlueprintControlBehavior.html Online documentation}
|
|
12511
12535
|
*/
|
|
12512
12536
|
export interface BoilerBlueprintControlBehaviorWrite {
|
|
12513
12537
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12529,7 +12553,7 @@ declare module "factorio:runtime" {
|
|
|
12529
12553
|
}
|
|
12530
12554
|
/**
|
|
12531
12555
|
* @see ContainerBlueprintControlBehaviorWrite
|
|
12532
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12556
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12533
12557
|
*/
|
|
12534
12558
|
export interface ContainerBlueprintControlBehavior {
|
|
12535
12559
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12545,7 +12569,7 @@ declare module "factorio:runtime" {
|
|
|
12545
12569
|
}
|
|
12546
12570
|
/**
|
|
12547
12571
|
* Write form of {@link ContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12548
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12572
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ContainerBlueprintControlBehavior.html Online documentation}
|
|
12549
12573
|
*/
|
|
12550
12574
|
export interface ContainerBlueprintControlBehaviorWrite {
|
|
12551
12575
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12561,7 +12585,7 @@ declare module "factorio:runtime" {
|
|
|
12561
12585
|
}
|
|
12562
12586
|
/**
|
|
12563
12587
|
* @see PumpBlueprintControlBehaviorWrite
|
|
12564
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12588
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12565
12589
|
*/
|
|
12566
12590
|
export interface PumpBlueprintControlBehavior {
|
|
12567
12591
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12582,7 +12606,7 @@ declare module "factorio:runtime" {
|
|
|
12582
12606
|
}
|
|
12583
12607
|
/**
|
|
12584
12608
|
* Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12585
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12609
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PumpBlueprintControlBehavior.html Online documentation}
|
|
12586
12610
|
*/
|
|
12587
12611
|
export interface PumpBlueprintControlBehaviorWrite {
|
|
12588
12612
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12603,7 +12627,7 @@ declare module "factorio:runtime" {
|
|
|
12603
12627
|
}
|
|
12604
12628
|
/**
|
|
12605
12629
|
* @see TrainStopBlueprintControlBehaviorWrite
|
|
12606
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12630
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12607
12631
|
*/
|
|
12608
12632
|
export interface TrainStopBlueprintControlBehavior {
|
|
12609
12633
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12649,7 +12673,7 @@ declare module "factorio:runtime" {
|
|
|
12649
12673
|
}
|
|
12650
12674
|
/**
|
|
12651
12675
|
* Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12652
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12676
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TrainStopBlueprintControlBehavior.html Online documentation}
|
|
12653
12677
|
*/
|
|
12654
12678
|
export interface TrainStopBlueprintControlBehaviorWrite {
|
|
12655
12679
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12695,7 +12719,7 @@ declare module "factorio:runtime" {
|
|
|
12695
12719
|
}
|
|
12696
12720
|
/**
|
|
12697
12721
|
* @see LandMineBlueprintControlBehaviorWrite
|
|
12698
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12722
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12699
12723
|
*/
|
|
12700
12724
|
export interface LandMineBlueprintControlBehavior {
|
|
12701
12725
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12712,7 +12736,7 @@ declare module "factorio:runtime" {
|
|
|
12712
12736
|
}
|
|
12713
12737
|
/**
|
|
12714
12738
|
* Write form of {@link LandMineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12715
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12739
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LandMineBlueprintControlBehavior.html Online documentation}
|
|
12716
12740
|
*/
|
|
12717
12741
|
export interface LandMineBlueprintControlBehaviorWrite {
|
|
12718
12742
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12729,7 +12753,7 @@ declare module "factorio:runtime" {
|
|
|
12729
12753
|
}
|
|
12730
12754
|
/**
|
|
12731
12755
|
* @see ProgrammableSpeakerBlueprintControlBehaviorWrite
|
|
12732
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12756
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12733
12757
|
*/
|
|
12734
12758
|
export interface ProgrammableSpeakerBlueprintControlBehavior {
|
|
12735
12759
|
readonly circuit_condition: CircuitCondition
|
|
@@ -12737,7 +12761,7 @@ declare module "factorio:runtime" {
|
|
|
12737
12761
|
}
|
|
12738
12762
|
/**
|
|
12739
12763
|
* Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12740
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12764
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation}
|
|
12741
12765
|
*/
|
|
12742
12766
|
export interface ProgrammableSpeakerBlueprintControlBehaviorWrite {
|
|
12743
12767
|
readonly circuit_condition: CircuitConditionWrite
|
|
@@ -12745,7 +12769,7 @@ declare module "factorio:runtime" {
|
|
|
12745
12769
|
}
|
|
12746
12770
|
/**
|
|
12747
12771
|
* @see HeatPipeBlueprintControlBehaviorWrite
|
|
12748
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12772
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12749
12773
|
*/
|
|
12750
12774
|
export interface HeatPipeBlueprintControlBehavior {
|
|
12751
12775
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12757,7 +12781,7 @@ declare module "factorio:runtime" {
|
|
|
12757
12781
|
}
|
|
12758
12782
|
/**
|
|
12759
12783
|
* Write form of {@link HeatPipeBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12760
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12784
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/HeatPipeBlueprintControlBehavior.html Online documentation}
|
|
12761
12785
|
*/
|
|
12762
12786
|
export interface HeatPipeBlueprintControlBehaviorWrite {
|
|
12763
12787
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12769,7 +12793,7 @@ declare module "factorio:runtime" {
|
|
|
12769
12793
|
}
|
|
12770
12794
|
/**
|
|
12771
12795
|
* @see SplitterBlueprintControlBehaviorWrite
|
|
12772
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12796
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12773
12797
|
*/
|
|
12774
12798
|
export interface SplitterBlueprintControlBehavior {
|
|
12775
12799
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12792,7 +12816,7 @@ declare module "factorio:runtime" {
|
|
|
12792
12816
|
}
|
|
12793
12817
|
/**
|
|
12794
12818
|
* Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12795
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12819
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SplitterBlueprintControlBehavior.html Online documentation}
|
|
12796
12820
|
*/
|
|
12797
12821
|
export interface SplitterBlueprintControlBehaviorWrite {
|
|
12798
12822
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12815,7 +12839,7 @@ declare module "factorio:runtime" {
|
|
|
12815
12839
|
}
|
|
12816
12840
|
/**
|
|
12817
12841
|
* @see TransportBeltBlueprintControlBehaviorWrite
|
|
12818
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12842
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12819
12843
|
*/
|
|
12820
12844
|
export interface TransportBeltBlueprintControlBehavior {
|
|
12821
12845
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12835,7 +12859,7 @@ declare module "factorio:runtime" {
|
|
|
12835
12859
|
}
|
|
12836
12860
|
/**
|
|
12837
12861
|
* Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12838
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12862
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TransportBeltBlueprintControlBehavior.html Online documentation}
|
|
12839
12863
|
*/
|
|
12840
12864
|
export interface TransportBeltBlueprintControlBehaviorWrite {
|
|
12841
12865
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12855,7 +12879,7 @@ declare module "factorio:runtime" {
|
|
|
12855
12879
|
}
|
|
12856
12880
|
/**
|
|
12857
12881
|
* @see LogisticContainerBlueprintControlBehaviorWrite
|
|
12858
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12882
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12859
12883
|
*/
|
|
12860
12884
|
export interface LogisticContainerBlueprintControlBehavior {
|
|
12861
12885
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12881,7 +12905,7 @@ declare module "factorio:runtime" {
|
|
|
12881
12905
|
}
|
|
12882
12906
|
/**
|
|
12883
12907
|
* Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12884
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12908
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation}
|
|
12885
12909
|
*/
|
|
12886
12910
|
export interface LogisticContainerBlueprintControlBehaviorWrite {
|
|
12887
12911
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12907,7 +12931,7 @@ declare module "factorio:runtime" {
|
|
|
12907
12931
|
}
|
|
12908
12932
|
/**
|
|
12909
12933
|
* @see ReactorBlueprintControlBehaviorWrite
|
|
12910
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12934
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12911
12935
|
*/
|
|
12912
12936
|
export interface ReactorBlueprintControlBehavior {
|
|
12913
12937
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12923,7 +12947,7 @@ declare module "factorio:runtime" {
|
|
|
12923
12947
|
}
|
|
12924
12948
|
/**
|
|
12925
12949
|
* Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12926
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12950
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ReactorBlueprintControlBehavior.html Online documentation}
|
|
12927
12951
|
*/
|
|
12928
12952
|
export interface ReactorBlueprintControlBehaviorWrite {
|
|
12929
12953
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -12939,7 +12963,7 @@ declare module "factorio:runtime" {
|
|
|
12939
12963
|
}
|
|
12940
12964
|
/**
|
|
12941
12965
|
* @see ConstantCombinatorBlueprintControlBehaviorWrite
|
|
12942
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12966
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12943
12967
|
*/
|
|
12944
12968
|
export interface ConstantCombinatorBlueprintControlBehavior {
|
|
12945
12969
|
readonly sections: LogisticSections
|
|
@@ -12950,7 +12974,7 @@ declare module "factorio:runtime" {
|
|
|
12950
12974
|
}
|
|
12951
12975
|
/**
|
|
12952
12976
|
* Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12953
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12977
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation}
|
|
12954
12978
|
*/
|
|
12955
12979
|
export interface ConstantCombinatorBlueprintControlBehaviorWrite {
|
|
12956
12980
|
readonly sections: LogisticSectionsWrite
|
|
@@ -12961,7 +12985,7 @@ declare module "factorio:runtime" {
|
|
|
12961
12985
|
}
|
|
12962
12986
|
/**
|
|
12963
12987
|
* @see ArtilleryTurretBlueprintControlBehaviorWrite
|
|
12964
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
12988
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12965
12989
|
*/
|
|
12966
12990
|
export interface ArtilleryTurretBlueprintControlBehavior {
|
|
12967
12991
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12980,7 +13004,7 @@ declare module "factorio:runtime" {
|
|
|
12980
13004
|
}
|
|
12981
13005
|
/**
|
|
12982
13006
|
* Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
12983
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13007
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation}
|
|
12984
13008
|
*/
|
|
12985
13009
|
export interface ArtilleryTurretBlueprintControlBehaviorWrite {
|
|
12986
13010
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -12999,7 +13023,7 @@ declare module "factorio:runtime" {
|
|
|
12999
13023
|
}
|
|
13000
13024
|
/**
|
|
13001
13025
|
* @see LabBlueprintControlBehaviorWrite
|
|
13002
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13026
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
13003
13027
|
*/
|
|
13004
13028
|
export interface LabBlueprintControlBehavior {
|
|
13005
13029
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13014,7 +13038,7 @@ declare module "factorio:runtime" {
|
|
|
13014
13038
|
}
|
|
13015
13039
|
/**
|
|
13016
13040
|
* Write form of {@link LabBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13017
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13041
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LabBlueprintControlBehavior.html Online documentation}
|
|
13018
13042
|
*/
|
|
13019
13043
|
export interface LabBlueprintControlBehaviorWrite {
|
|
13020
13044
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13029,7 +13053,7 @@ declare module "factorio:runtime" {
|
|
|
13029
13053
|
}
|
|
13030
13054
|
/**
|
|
13031
13055
|
* @see RadarBlueprintControlBehaviorWrite
|
|
13032
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13056
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
13033
13057
|
*/
|
|
13034
13058
|
export interface RadarBlueprintControlBehavior {
|
|
13035
13059
|
/**
|
|
@@ -13040,7 +13064,7 @@ declare module "factorio:runtime" {
|
|
|
13040
13064
|
}
|
|
13041
13065
|
/**
|
|
13042
13066
|
* Write form of {@link RadarBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13043
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13067
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RadarBlueprintControlBehavior.html Online documentation}
|
|
13044
13068
|
*/
|
|
13045
13069
|
export interface RadarBlueprintControlBehaviorWrite {
|
|
13046
13070
|
/**
|
|
@@ -13051,7 +13075,7 @@ declare module "factorio:runtime" {
|
|
|
13051
13075
|
}
|
|
13052
13076
|
/**
|
|
13053
13077
|
* @see AccumulatorBlueprintControlBehaviorWrite
|
|
13054
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13078
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
13055
13079
|
*/
|
|
13056
13080
|
export interface AccumulatorBlueprintControlBehavior {
|
|
13057
13081
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13063,7 +13087,7 @@ declare module "factorio:runtime" {
|
|
|
13063
13087
|
}
|
|
13064
13088
|
/**
|
|
13065
13089
|
* Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13066
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13090
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AccumulatorBlueprintControlBehavior.html Online documentation}
|
|
13067
13091
|
*/
|
|
13068
13092
|
export interface AccumulatorBlueprintControlBehaviorWrite {
|
|
13069
13093
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13075,7 +13099,7 @@ declare module "factorio:runtime" {
|
|
|
13075
13099
|
}
|
|
13076
13100
|
/**
|
|
13077
13101
|
* @see SingleFluidBoxBlueprintControlBehaviorWrite
|
|
13078
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13102
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
13079
13103
|
*/
|
|
13080
13104
|
export interface SingleFluidBoxBlueprintControlBehavior {
|
|
13081
13105
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13091,7 +13115,7 @@ declare module "factorio:runtime" {
|
|
|
13091
13115
|
}
|
|
13092
13116
|
/**
|
|
13093
13117
|
* Write form of {@link SingleFluidBoxBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13094
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13118
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation}
|
|
13095
13119
|
*/
|
|
13096
13120
|
export interface SingleFluidBoxBlueprintControlBehaviorWrite {
|
|
13097
13121
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13107,7 +13131,7 @@ declare module "factorio:runtime" {
|
|
|
13107
13131
|
}
|
|
13108
13132
|
/**
|
|
13109
13133
|
* @see TurretBlueprintControlBehaviorWrite
|
|
13110
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13134
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
13111
13135
|
*/
|
|
13112
13136
|
export interface TurretBlueprintControlBehavior {
|
|
13113
13137
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13138,7 +13162,7 @@ declare module "factorio:runtime" {
|
|
|
13138
13162
|
}
|
|
13139
13163
|
/**
|
|
13140
13164
|
* Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13141
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13165
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TurretBlueprintControlBehavior.html Online documentation}
|
|
13142
13166
|
*/
|
|
13143
13167
|
export interface TurretBlueprintControlBehaviorWrite {
|
|
13144
13168
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13169,7 +13193,7 @@ declare module "factorio:runtime" {
|
|
|
13169
13193
|
}
|
|
13170
13194
|
/**
|
|
13171
13195
|
* @see AsteroidCollectorBlueprintControlBehaviorWrite
|
|
13172
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13196
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
13173
13197
|
*/
|
|
13174
13198
|
export interface AsteroidCollectorBlueprintControlBehavior {
|
|
13175
13199
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13199,7 +13223,7 @@ declare module "factorio:runtime" {
|
|
|
13199
13223
|
}
|
|
13200
13224
|
/**
|
|
13201
13225
|
* Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13202
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13226
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation}
|
|
13203
13227
|
*/
|
|
13204
13228
|
export interface AsteroidCollectorBlueprintControlBehaviorWrite {
|
|
13205
13229
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13229,7 +13253,7 @@ declare module "factorio:runtime" {
|
|
|
13229
13253
|
}
|
|
13230
13254
|
/**
|
|
13231
13255
|
* @see InserterBlueprintControlBehaviorWrite
|
|
13232
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13256
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
13233
13257
|
*/
|
|
13234
13258
|
export interface InserterBlueprintControlBehavior {
|
|
13235
13259
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13264,7 +13288,7 @@ declare module "factorio:runtime" {
|
|
|
13264
13288
|
}
|
|
13265
13289
|
/**
|
|
13266
13290
|
* Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13267
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13291
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/InserterBlueprintControlBehavior.html Online documentation}
|
|
13268
13292
|
*/
|
|
13269
13293
|
export interface InserterBlueprintControlBehaviorWrite {
|
|
13270
13294
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13299,21 +13323,21 @@ declare module "factorio:runtime" {
|
|
|
13299
13323
|
}
|
|
13300
13324
|
/**
|
|
13301
13325
|
* @see DisplayPanelBlueprintControlBehaviorWrite
|
|
13302
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13326
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
13303
13327
|
*/
|
|
13304
13328
|
export interface DisplayPanelBlueprintControlBehavior {
|
|
13305
13329
|
readonly parameters?: DisplayPanelMessageDefinition[]
|
|
13306
13330
|
}
|
|
13307
13331
|
/**
|
|
13308
13332
|
* Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13309
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13333
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation}
|
|
13310
13334
|
*/
|
|
13311
13335
|
export interface DisplayPanelBlueprintControlBehaviorWrite {
|
|
13312
13336
|
readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[]
|
|
13313
13337
|
}
|
|
13314
13338
|
/**
|
|
13315
13339
|
* @see RoboportBlueprintControlBehaviorWrite
|
|
13316
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13340
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
13317
13341
|
*/
|
|
13318
13342
|
export interface RoboportBlueprintControlBehavior {
|
|
13319
13343
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13327,7 +13351,7 @@ declare module "factorio:runtime" {
|
|
|
13327
13351
|
}
|
|
13328
13352
|
/**
|
|
13329
13353
|
* Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13330
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13354
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RoboportBlueprintControlBehavior.html Online documentation}
|
|
13331
13355
|
*/
|
|
13332
13356
|
export interface RoboportBlueprintControlBehaviorWrite {
|
|
13333
13357
|
readonly output_networks?: CircuitNetworkSelection
|
|
@@ -13341,7 +13365,7 @@ declare module "factorio:runtime" {
|
|
|
13341
13365
|
}
|
|
13342
13366
|
/**
|
|
13343
13367
|
* @see AssemblingMachineBlueprintControlBehaviorWrite
|
|
13344
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13368
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13345
13369
|
*/
|
|
13346
13370
|
export interface AssemblingMachineBlueprintControlBehavior {
|
|
13347
13371
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13389,7 +13413,7 @@ declare module "factorio:runtime" {
|
|
|
13389
13413
|
}
|
|
13390
13414
|
/**
|
|
13391
13415
|
* Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13392
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13416
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation}
|
|
13393
13417
|
*/
|
|
13394
13418
|
export interface AssemblingMachineBlueprintControlBehaviorWrite {
|
|
13395
13419
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13437,7 +13461,7 @@ declare module "factorio:runtime" {
|
|
|
13437
13461
|
}
|
|
13438
13462
|
/**
|
|
13439
13463
|
* @see AgriculturalTowerBlueprintControlBehaviorWrite
|
|
13440
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13464
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13441
13465
|
*/
|
|
13442
13466
|
export interface AgriculturalTowerBlueprintControlBehavior {
|
|
13443
13467
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13469,7 +13493,7 @@ declare module "factorio:runtime" {
|
|
|
13469
13493
|
}
|
|
13470
13494
|
/**
|
|
13471
13495
|
* Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form.
|
|
13472
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13496
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation}
|
|
13473
13497
|
*/
|
|
13474
13498
|
export interface AgriculturalTowerBlueprintControlBehaviorWrite {
|
|
13475
13499
|
readonly input_networks?: CircuitNetworkSelection
|
|
@@ -13535,7 +13559,7 @@ declare module "factorio:runtime" {
|
|
|
13535
13559
|
* "2500 * (L - 3)"
|
|
13536
13560
|
* @example
|
|
13537
13561
|
* "(4e5 * (abs(speed) + 10.5)) / weight"
|
|
13538
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13562
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/MathExpression.html Online documentation}
|
|
13539
13563
|
*/
|
|
13540
13564
|
export type MathExpression = string
|
|
13541
13565
|
/**
|
|
@@ -13546,12 +13570,12 @@ declare module "factorio:runtime" {
|
|
|
13546
13570
|
* Tables inside Tags that have numeric keys but are not sequences (e.g. `tags = {foo = {nil, "something"}}` or `tags = {bar = {[4] = "cat"}}`) will have their keys converted to strings when read back from the game (e.g. `{foo = {["2"] = "something"}}` or `{bar = {["4"] = "cat"}}`). Only sequences without gaps will have their keys maintained as numeric.
|
|
13547
13571
|
* @example
|
|
13548
13572
|
* {a = 1, b = true, c = "three", d = {e = "f"}}
|
|
13549
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13573
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Tags.html Online documentation}
|
|
13550
13574
|
*/
|
|
13551
13575
|
export type Tags = Record<string, AnyBasic>
|
|
13552
13576
|
/**
|
|
13553
13577
|
* @see TileWrite
|
|
13554
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13578
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Tile.html Online documentation}
|
|
13555
13579
|
*/
|
|
13556
13580
|
export interface Tile {
|
|
13557
13581
|
/**
|
|
@@ -13565,7 +13589,7 @@ declare module "factorio:runtime" {
|
|
|
13565
13589
|
}
|
|
13566
13590
|
/**
|
|
13567
13591
|
* Write form of {@link Tile}, where some properties allow additional values as input compared to the read form.
|
|
13568
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13592
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Tile.html Online documentation}
|
|
13569
13593
|
*/
|
|
13570
13594
|
export interface TileWrite {
|
|
13571
13595
|
/**
|
|
@@ -13589,99 +13613,99 @@ declare module "factorio:runtime" {
|
|
|
13589
13613
|
}
|
|
13590
13614
|
/**
|
|
13591
13615
|
* A floating-point number. This is a single-precision floating point number. Whilst Lua only uses double-precision numbers, when a function takes a float, the game engine will immediately convert the double-precision number to single-precision.
|
|
13592
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13616
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/float.html Online documentation}
|
|
13593
13617
|
*/
|
|
13594
13618
|
export type float = number
|
|
13595
13619
|
/**
|
|
13596
13620
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
|
13597
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13621
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/double.html Online documentation}
|
|
13598
13622
|
*/
|
|
13599
13623
|
export type double = number
|
|
13600
13624
|
/**
|
|
13601
13625
|
* 8-bit unsigned integer. Possible values are `0` to `255`.
|
|
13602
13626
|
*
|
|
13603
13627
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double.
|
|
13604
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13628
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint8.html Online documentation}
|
|
13605
13629
|
*/
|
|
13606
13630
|
export type uint8 = number
|
|
13607
13631
|
/**
|
|
13608
13632
|
* 8-bit signed integer. Possible values are `-128` to `127`.
|
|
13609
13633
|
*
|
|
13610
13634
|
* Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double.
|
|
13611
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13635
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/int8.html Online documentation}
|
|
13612
13636
|
*/
|
|
13613
13637
|
export type int8 = number
|
|
13614
13638
|
/**
|
|
13615
13639
|
* 16-bit unsigned integer. Possible values are `0` to `65 535`.
|
|
13616
13640
|
*
|
|
13617
13641
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.
|
|
13618
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13642
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint16.html Online documentation}
|
|
13619
13643
|
*/
|
|
13620
13644
|
export type uint16 = number
|
|
13621
13645
|
/**
|
|
13622
13646
|
* 16 bit signed integer. Possible values are `-32 768` to `32 767`.
|
|
13623
13647
|
*
|
|
13624
13648
|
* Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.
|
|
13625
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13649
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/int16.html Online documentation}
|
|
13626
13650
|
*/
|
|
13627
13651
|
export type int16 = number
|
|
13628
13652
|
/**
|
|
13629
13653
|
* 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`.
|
|
13630
13654
|
*
|
|
13631
13655
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double.
|
|
13632
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13656
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint32.html Online documentation}
|
|
13633
13657
|
*/
|
|
13634
13658
|
export type uint32 = number
|
|
13635
13659
|
/**
|
|
13636
13660
|
* 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`.
|
|
13637
13661
|
*
|
|
13638
13662
|
* Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double.
|
|
13639
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13663
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/int32.html Online documentation}
|
|
13640
13664
|
*/
|
|
13641
13665
|
export type int32 = number
|
|
13642
13666
|
/**
|
|
13643
13667
|
* 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.
|
|
13644
13668
|
*
|
|
13645
13669
|
* Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double.
|
|
13646
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13670
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/uint64.html Online documentation}
|
|
13647
13671
|
*/
|
|
13648
13672
|
export type uint64 = number
|
|
13649
13673
|
/**
|
|
13650
13674
|
* Nil is the type of the value `nil`, whose main property is to be different from any other value. It usually represents the absence of a useful value.
|
|
13651
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13675
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/nil.html Online documentation}
|
|
13652
13676
|
*/
|
|
13653
13677
|
export type nil = undefined
|
|
13654
13678
|
/**
|
|
13655
13679
|
* Tables are enclosed in curly brackets, like this `{}`.
|
|
13656
13680
|
*
|
|
13657
13681
|
* Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain https://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination.
|
|
13658
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13682
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/table.html Online documentation}
|
|
13659
13683
|
*/
|
|
13660
13684
|
export type table = object
|
|
13661
13685
|
/**
|
|
13662
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.
|
|
13663
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13686
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.25/classes.html Classes} page.
|
|
13687
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaObject.html Online documentation}
|
|
13664
13688
|
*/
|
|
13665
13689
|
export interface LuaObject {
|
|
13666
13690
|
readonly object_name: string
|
|
13667
13691
|
}
|
|
13668
13692
|
/**
|
|
13669
13693
|
* Any basic type (string, number, boolean) or table.
|
|
13670
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13694
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AnyBasic.html Online documentation}
|
|
13671
13695
|
*/
|
|
13672
13696
|
export type AnyBasic = string | boolean | number | table
|
|
13673
13697
|
/**
|
|
13674
13698
|
* Any basic type (string, number, boolean), table, or LuaObject.
|
|
13675
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13699
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/Any.html Online documentation}
|
|
13676
13700
|
*/
|
|
13677
13701
|
export type Any = string | boolean | number | table | LuaObject
|
|
13678
13702
|
/**
|
|
13679
13703
|
* All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. The probability and richness functions for placing specific tiles, entities, and decoratives can be overridden by including an entry named `{tile|entity|decorative}:(prototype name):{probability|richness}`.
|
|
13680
13704
|
*
|
|
13681
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13705
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:}
|
|
13682
13706
|
*
|
|
13683
|
-
* {@link https://lua-api.factorio.com/2.1.
|
|
13684
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13707
|
+
* {@link https://lua-api.factorio.com/2.1.25/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:}
|
|
13708
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/PropertyExpressionNames.html Online documentation}
|
|
13685
13709
|
*/
|
|
13686
13710
|
export type PropertyExpressionNames = Record<string, string>
|
|
13687
13711
|
/**
|
|
@@ -13691,7 +13715,7 @@ declare module "factorio:runtime" {
|
|
|
13691
13715
|
/**
|
|
13692
13716
|
* The condition to filter on.
|
|
13693
13717
|
*/
|
|
13694
|
-
readonly filter: "type" | "mod" | "setting-type"
|
|
13718
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "type" | "mod" | "setting-type"
|
|
13695
13719
|
/**
|
|
13696
13720
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
13697
13721
|
*/
|
|
@@ -13731,6 +13755,12 @@ declare module "factorio:runtime" {
|
|
|
13731
13755
|
*/
|
|
13732
13756
|
readonly type: "startup" | "runtime-global" | "runtime-per-user"
|
|
13733
13757
|
}
|
|
13758
|
+
/**
|
|
13759
|
+
* Variants of {@link ModSettingPrototypeFilter} with no additional attributes.
|
|
13760
|
+
*/
|
|
13761
|
+
export interface OtherModSettingPrototypeFilter extends BaseModSettingPrototypeFilter {
|
|
13762
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter"
|
|
13763
|
+
}
|
|
13734
13764
|
/**
|
|
13735
13765
|
* Base attributes: {@link BaseModSettingPrototypeFilter}
|
|
13736
13766
|
*
|
|
@@ -13738,10 +13768,13 @@ declare module "factorio:runtime" {
|
|
|
13738
13768
|
* - `"type"`: {@link TypeModSettingPrototypeFilter}
|
|
13739
13769
|
* - `"mod"`: {@link ModModSettingPrototypeFilter}
|
|
13740
13770
|
* - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter}
|
|
13741
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13771
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ModSettingPrototypeFilter.html Online documentation}
|
|
13742
13772
|
*/
|
|
13743
13773
|
export type ModSettingPrototypeFilter =
|
|
13744
|
-
|
|
13774
|
+
| TypeModSettingPrototypeFilter
|
|
13775
|
+
| ModModSettingPrototypeFilter
|
|
13776
|
+
| SettingTypeModSettingPrototypeFilter
|
|
13777
|
+
| OtherModSettingPrototypeFilter
|
|
13745
13778
|
/**
|
|
13746
13779
|
* Common attributes to all variants of {@link SpaceLocationPrototypeFilter}.
|
|
13747
13780
|
*/
|
|
@@ -13749,7 +13782,8 @@ declare module "factorio:runtime" {
|
|
|
13749
13782
|
/**
|
|
13750
13783
|
* The condition to filter on.
|
|
13751
13784
|
*/
|
|
13752
|
-
readonly filter:
|
|
13785
|
+
readonly filter:
|
|
13786
|
+
"hidden" | "hidden-in-factoriopedia" | "is-parameter" | "fly-condition" | "type" | "solar-power-in-space"
|
|
13753
13787
|
/**
|
|
13754
13788
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
13755
13789
|
*/
|
|
@@ -13792,7 +13826,7 @@ declare module "factorio:runtime" {
|
|
|
13792
13826
|
* Variants of {@link SpaceLocationPrototypeFilter} with no additional attributes.
|
|
13793
13827
|
*/
|
|
13794
13828
|
export interface OtherSpaceLocationPrototypeFilter extends BaseSpaceLocationPrototypeFilter {
|
|
13795
|
-
readonly filter: "fly-condition"
|
|
13829
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "fly-condition"
|
|
13796
13830
|
}
|
|
13797
13831
|
/**
|
|
13798
13832
|
* Base attributes: {@link BaseSpaceLocationPrototypeFilter}
|
|
@@ -13800,13 +13834,13 @@ declare module "factorio:runtime" {
|
|
|
13800
13834
|
* Other attributes may be specified depending on `filter`:
|
|
13801
13835
|
* - `"type"`: {@link TypeSpaceLocationPrototypeFilter}
|
|
13802
13836
|
* - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter}
|
|
13803
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13837
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13804
13838
|
*/
|
|
13805
13839
|
export type SpaceLocationPrototypeFilter =
|
|
13806
13840
|
TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter
|
|
13807
13841
|
/**
|
|
13808
13842
|
* Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
13809
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13843
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/SpaceLocationPrototypeFilter.html Online documentation}
|
|
13810
13844
|
*/
|
|
13811
13845
|
export type SpaceLocationPrototypeFilterWrite =
|
|
13812
13846
|
| TypeSpaceLocationPrototypeFilter
|
|
@@ -13819,7 +13853,7 @@ declare module "factorio:runtime" {
|
|
|
13819
13853
|
/**
|
|
13820
13854
|
* The condition to filter on.
|
|
13821
13855
|
*/
|
|
13822
|
-
readonly filter: "decal" | "autoplace" | "collision-mask"
|
|
13856
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "decal" | "autoplace" | "collision-mask"
|
|
13823
13857
|
/**
|
|
13824
13858
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
13825
13859
|
*/
|
|
@@ -13847,14 +13881,14 @@ declare module "factorio:runtime" {
|
|
|
13847
13881
|
* Variants of {@link DecorativePrototypeFilter} with no additional attributes.
|
|
13848
13882
|
*/
|
|
13849
13883
|
export interface OtherDecorativePrototypeFilter extends BaseDecorativePrototypeFilter {
|
|
13850
|
-
readonly filter: "decal" | "autoplace"
|
|
13884
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "decal" | "autoplace"
|
|
13851
13885
|
}
|
|
13852
13886
|
/**
|
|
13853
13887
|
* Base attributes: {@link BaseDecorativePrototypeFilter}
|
|
13854
13888
|
*
|
|
13855
13889
|
* Other attributes may be specified depending on `filter`:
|
|
13856
13890
|
* - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter}
|
|
13857
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
13891
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/DecorativePrototypeFilter.html Online documentation}
|
|
13858
13892
|
*/
|
|
13859
13893
|
export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter
|
|
13860
13894
|
/**
|
|
@@ -13865,6 +13899,9 @@ declare module "factorio:runtime" {
|
|
|
13865
13899
|
* The condition to filter on.
|
|
13866
13900
|
*/
|
|
13867
13901
|
readonly filter:
|
|
13902
|
+
| "hidden"
|
|
13903
|
+
| "hidden-in-factoriopedia"
|
|
13904
|
+
| "is-parameter"
|
|
13868
13905
|
| "minable"
|
|
13869
13906
|
| "autoplace"
|
|
13870
13907
|
| "blueprintable"
|
|
@@ -13985,7 +14022,14 @@ declare module "factorio:runtime" {
|
|
|
13985
14022
|
* Variants of {@link TilePrototypeFilter} with no additional attributes.
|
|
13986
14023
|
*/
|
|
13987
14024
|
export interface OtherTilePrototypeFilter extends BaseTilePrototypeFilter {
|
|
13988
|
-
readonly filter:
|
|
14025
|
+
readonly filter:
|
|
14026
|
+
| "hidden"
|
|
14027
|
+
| "hidden-in-factoriopedia"
|
|
14028
|
+
| "is-parameter"
|
|
14029
|
+
| "minable"
|
|
14030
|
+
| "autoplace"
|
|
14031
|
+
| "blueprintable"
|
|
14032
|
+
| "item-to-place"
|
|
13989
14033
|
}
|
|
13990
14034
|
/**
|
|
13991
14035
|
* Base attributes: {@link BaseTilePrototypeFilter}
|
|
@@ -13996,7 +14040,7 @@ declare module "factorio:runtime" {
|
|
|
13996
14040
|
* - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter}
|
|
13997
14041
|
* - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter}
|
|
13998
14042
|
* - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter}
|
|
13999
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14043
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePrototypeFilter.html Online documentation}
|
|
14000
14044
|
*/
|
|
14001
14045
|
export type TilePrototypeFilter =
|
|
14002
14046
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14007,7 +14051,7 @@ declare module "factorio:runtime" {
|
|
|
14007
14051
|
| OtherTilePrototypeFilter
|
|
14008
14052
|
/**
|
|
14009
14053
|
* Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14010
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14054
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TilePrototypeFilter.html Online documentation}
|
|
14011
14055
|
*/
|
|
14012
14056
|
export type TilePrototypeFilterWrite =
|
|
14013
14057
|
| CollisionMaskTilePrototypeFilter
|
|
@@ -14020,7 +14064,7 @@ declare module "factorio:runtime" {
|
|
|
14020
14064
|
/**
|
|
14021
14065
|
* The condition to filter on.
|
|
14022
14066
|
*/
|
|
14023
|
-
readonly filter: "minable"
|
|
14067
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "minable"
|
|
14024
14068
|
/**
|
|
14025
14069
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14026
14070
|
*/
|
|
@@ -14364,7 +14408,7 @@ declare module "factorio:runtime" {
|
|
|
14364
14408
|
* - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter}
|
|
14365
14409
|
* - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter}
|
|
14366
14410
|
* - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter}
|
|
14367
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14411
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14368
14412
|
*/
|
|
14369
14413
|
export type ItemPrototypeFilter =
|
|
14370
14414
|
| PlaceResultItemPrototypeFilter
|
|
@@ -14386,7 +14430,7 @@ declare module "factorio:runtime" {
|
|
|
14386
14430
|
| OtherItemPrototypeFilter
|
|
14387
14431
|
/**
|
|
14388
14432
|
* Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14389
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14433
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/ItemPrototypeFilter.html Online documentation}
|
|
14390
14434
|
*/
|
|
14391
14435
|
export type ItemPrototypeFilterWrite =
|
|
14392
14436
|
| PlaceResultItemPrototypeFilterWrite
|
|
@@ -14416,6 +14460,8 @@ declare module "factorio:runtime" {
|
|
|
14416
14460
|
readonly filter:
|
|
14417
14461
|
| "enabled"
|
|
14418
14462
|
| "hidden"
|
|
14463
|
+
| "hidden-in-factoriopedia"
|
|
14464
|
+
| "is-parameter"
|
|
14419
14465
|
| "upgrade"
|
|
14420
14466
|
| "visible-when-disabled"
|
|
14421
14467
|
| "has-effects"
|
|
@@ -14515,7 +14561,15 @@ declare module "factorio:runtime" {
|
|
|
14515
14561
|
* Variants of {@link TechnologyPrototypeFilter} with no additional attributes.
|
|
14516
14562
|
*/
|
|
14517
14563
|
export interface OtherTechnologyPrototypeFilter extends BaseTechnologyPrototypeFilter {
|
|
14518
|
-
readonly filter:
|
|
14564
|
+
readonly filter:
|
|
14565
|
+
| "enabled"
|
|
14566
|
+
| "hidden"
|
|
14567
|
+
| "hidden-in-factoriopedia"
|
|
14568
|
+
| "is-parameter"
|
|
14569
|
+
| "upgrade"
|
|
14570
|
+
| "visible-when-disabled"
|
|
14571
|
+
| "has-effects"
|
|
14572
|
+
| "has-prerequisites"
|
|
14519
14573
|
}
|
|
14520
14574
|
/**
|
|
14521
14575
|
* Base attributes: {@link BaseTechnologyPrototypeFilter}
|
|
@@ -14526,7 +14580,7 @@ declare module "factorio:runtime" {
|
|
|
14526
14580
|
* - `"level"`: {@link LevelTechnologyPrototypeFilter}
|
|
14527
14581
|
* - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter}
|
|
14528
14582
|
* - `"time"`: {@link TimeTechnologyPrototypeFilter}
|
|
14529
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14583
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14530
14584
|
*/
|
|
14531
14585
|
export type TechnologyPrototypeFilter =
|
|
14532
14586
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14537,7 +14591,7 @@ declare module "factorio:runtime" {
|
|
|
14537
14591
|
| OtherTechnologyPrototypeFilter
|
|
14538
14592
|
/**
|
|
14539
14593
|
* Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14540
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14594
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/TechnologyPrototypeFilter.html Online documentation}
|
|
14541
14595
|
*/
|
|
14542
14596
|
export type TechnologyPrototypeFilterWrite =
|
|
14543
14597
|
| ResearchUnitIngredientTechnologyPrototypeFilter
|
|
@@ -14558,6 +14612,8 @@ declare module "factorio:runtime" {
|
|
|
14558
14612
|
| "hidden"
|
|
14559
14613
|
| "hidden-from-flow-stats"
|
|
14560
14614
|
| "hidden-from-player-crafting"
|
|
14615
|
+
| "hidden-in-factoriopedia"
|
|
14616
|
+
| "is-parameter"
|
|
14561
14617
|
| "allow-as-intermediate"
|
|
14562
14618
|
| "allow-intermediates"
|
|
14563
14619
|
| "allow-decomposition"
|
|
@@ -14772,6 +14828,8 @@ declare module "factorio:runtime" {
|
|
|
14772
14828
|
| "hidden"
|
|
14773
14829
|
| "hidden-from-flow-stats"
|
|
14774
14830
|
| "hidden-from-player-crafting"
|
|
14831
|
+
| "hidden-in-factoriopedia"
|
|
14832
|
+
| "is-parameter"
|
|
14775
14833
|
| "allow-as-intermediate"
|
|
14776
14834
|
| "allow-intermediates"
|
|
14777
14835
|
| "allow-decomposition"
|
|
@@ -14793,7 +14851,7 @@ declare module "factorio:runtime" {
|
|
|
14793
14851
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter}
|
|
14794
14852
|
* - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter}
|
|
14795
14853
|
* - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter}
|
|
14796
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14854
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14797
14855
|
*/
|
|
14798
14856
|
export type RecipePrototypeFilter =
|
|
14799
14857
|
| HasIngredientItemRecipePrototypeFilter
|
|
@@ -14809,7 +14867,7 @@ declare module "factorio:runtime" {
|
|
|
14809
14867
|
| OtherRecipePrototypeFilter
|
|
14810
14868
|
/**
|
|
14811
14869
|
* Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
14812
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14870
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/RecipePrototypeFilter.html Online documentation}
|
|
14813
14871
|
*/
|
|
14814
14872
|
export type RecipePrototypeFilterWrite =
|
|
14815
14873
|
| HasIngredientItemRecipePrototypeFilterWrite
|
|
@@ -14830,7 +14888,7 @@ declare module "factorio:runtime" {
|
|
|
14830
14888
|
/**
|
|
14831
14889
|
* The condition to filter on.
|
|
14832
14890
|
*/
|
|
14833
|
-
readonly filter: "allowed-without-fight" | "type"
|
|
14891
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "allowed-without-fight" | "type"
|
|
14834
14892
|
/**
|
|
14835
14893
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14836
14894
|
*/
|
|
@@ -14854,21 +14912,21 @@ declare module "factorio:runtime" {
|
|
|
14854
14912
|
* Variants of {@link AchievementPrototypeFilter} with no additional attributes.
|
|
14855
14913
|
*/
|
|
14856
14914
|
export interface OtherAchievementPrototypeFilter extends BaseAchievementPrototypeFilter {
|
|
14857
|
-
readonly filter: "allowed-without-fight"
|
|
14915
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "allowed-without-fight"
|
|
14858
14916
|
}
|
|
14859
14917
|
/**
|
|
14860
14918
|
* Base attributes: {@link BaseAchievementPrototypeFilter}
|
|
14861
14919
|
*
|
|
14862
14920
|
* Other attributes may be specified depending on `filter`:
|
|
14863
14921
|
* - `"type"`: {@link TypeAchievementPrototypeFilter}
|
|
14864
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14922
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/AchievementPrototypeFilter.html Online documentation}
|
|
14865
14923
|
*/
|
|
14866
14924
|
export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter
|
|
14867
14925
|
export interface VirtualSignalPrototypeFilter {
|
|
14868
14926
|
/**
|
|
14869
14927
|
* The condition to filter on.
|
|
14870
14928
|
*/
|
|
14871
|
-
readonly filter: "special-signal"
|
|
14929
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "special-signal"
|
|
14872
14930
|
/**
|
|
14873
14931
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14874
14932
|
*/
|
|
@@ -14885,7 +14943,7 @@ declare module "factorio:runtime" {
|
|
|
14885
14943
|
/**
|
|
14886
14944
|
* The condition to filter on.
|
|
14887
14945
|
*/
|
|
14888
|
-
readonly filter: "item-to-place" | "type"
|
|
14946
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "item-to-place" | "type"
|
|
14889
14947
|
/**
|
|
14890
14948
|
* How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
|
|
14891
14949
|
*/
|
|
@@ -14909,14 +14967,14 @@ declare module "factorio:runtime" {
|
|
|
14909
14967
|
* Variants of {@link EquipmentPrototypeFilter} with no additional attributes.
|
|
14910
14968
|
*/
|
|
14911
14969
|
export interface OtherEquipmentPrototypeFilter extends BaseEquipmentPrototypeFilter {
|
|
14912
|
-
readonly filter: "item-to-place"
|
|
14970
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter" | "item-to-place"
|
|
14913
14971
|
}
|
|
14914
14972
|
/**
|
|
14915
14973
|
* Base attributes: {@link BaseEquipmentPrototypeFilter}
|
|
14916
14974
|
*
|
|
14917
14975
|
* Other attributes may be specified depending on `filter`:
|
|
14918
14976
|
* - `"type"`: {@link TypeEquipmentPrototypeFilter}
|
|
14919
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
14977
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EquipmentPrototypeFilter.html Online documentation}
|
|
14920
14978
|
*/
|
|
14921
14979
|
export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter
|
|
14922
14980
|
/**
|
|
@@ -14928,6 +14986,8 @@ declare module "factorio:runtime" {
|
|
|
14928
14986
|
*/
|
|
14929
14987
|
readonly filter:
|
|
14930
14988
|
| "hidden"
|
|
14989
|
+
| "hidden-in-factoriopedia"
|
|
14990
|
+
| "is-parameter"
|
|
14931
14991
|
| "name"
|
|
14932
14992
|
| "subgroup"
|
|
14933
14993
|
| "default-temperature"
|
|
@@ -15087,7 +15147,7 @@ declare module "factorio:runtime" {
|
|
|
15087
15147
|
* Variants of {@link FluidPrototypeFilter} with no additional attributes.
|
|
15088
15148
|
*/
|
|
15089
15149
|
export interface OtherFluidPrototypeFilter extends BaseFluidPrototypeFilter {
|
|
15090
|
-
readonly filter: "hidden"
|
|
15150
|
+
readonly filter: "hidden" | "hidden-in-factoriopedia" | "is-parameter"
|
|
15091
15151
|
}
|
|
15092
15152
|
/**
|
|
15093
15153
|
* Base attributes: {@link BaseFluidPrototypeFilter}
|
|
@@ -15101,7 +15161,7 @@ declare module "factorio:runtime" {
|
|
|
15101
15161
|
* - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter}
|
|
15102
15162
|
* - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter}
|
|
15103
15163
|
* - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter}
|
|
15104
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15164
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidPrototypeFilter.html Online documentation}
|
|
15105
15165
|
*/
|
|
15106
15166
|
export type FluidPrototypeFilter =
|
|
15107
15167
|
| NameFluidPrototypeFilter
|
|
@@ -15115,7 +15175,7 @@ declare module "factorio:runtime" {
|
|
|
15115
15175
|
| OtherFluidPrototypeFilter
|
|
15116
15176
|
/**
|
|
15117
15177
|
* Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15118
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15178
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/FluidPrototypeFilter.html Online documentation}
|
|
15119
15179
|
*/
|
|
15120
15180
|
export type FluidPrototypeFilterWrite =
|
|
15121
15181
|
| NameFluidPrototypeFilter
|
|
@@ -15151,6 +15211,8 @@ declare module "factorio:runtime" {
|
|
|
15151
15211
|
| "clonable"
|
|
15152
15212
|
| "selectable"
|
|
15153
15213
|
| "hidden"
|
|
15214
|
+
| "hidden-in-factoriopedia"
|
|
15215
|
+
| "is-parameter"
|
|
15154
15216
|
| "entity-with-health"
|
|
15155
15217
|
| "building"
|
|
15156
15218
|
| "fast-replaceable"
|
|
@@ -15313,6 +15375,8 @@ declare module "factorio:runtime" {
|
|
|
15313
15375
|
| "clonable"
|
|
15314
15376
|
| "selectable"
|
|
15315
15377
|
| "hidden"
|
|
15378
|
+
| "hidden-in-factoriopedia"
|
|
15379
|
+
| "is-parameter"
|
|
15316
15380
|
| "entity-with-health"
|
|
15317
15381
|
| "building"
|
|
15318
15382
|
| "fast-replaceable"
|
|
@@ -15334,7 +15398,7 @@ declare module "factorio:runtime" {
|
|
|
15334
15398
|
* - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter}
|
|
15335
15399
|
* - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter}
|
|
15336
15400
|
* - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter}
|
|
15337
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15401
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFilter.html Online documentation}
|
|
15338
15402
|
*/
|
|
15339
15403
|
export type EntityPrototypeFilter =
|
|
15340
15404
|
| NameEntityPrototypeFilter
|
|
@@ -15347,7 +15411,7 @@ declare module "factorio:runtime" {
|
|
|
15347
15411
|
| OtherEntityPrototypeFilter
|
|
15348
15412
|
/**
|
|
15349
15413
|
* Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form.
|
|
15350
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15414
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/EntityPrototypeFilter.html Online documentation}
|
|
15351
15415
|
*/
|
|
15352
15416
|
export type EntityPrototypeFilterWrite =
|
|
15353
15417
|
| NameEntityPrototypeFilter
|
|
@@ -15390,7 +15454,7 @@ declare module "factorio:runtime" {
|
|
|
15390
15454
|
*
|
|
15391
15455
|
* Other attributes may be specified depending on `filter`:
|
|
15392
15456
|
* - `"name"`: {@link NameSegmentedUnitDiedEventFilter}
|
|
15393
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15457
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation}
|
|
15394
15458
|
*/
|
|
15395
15459
|
export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter
|
|
15396
15460
|
/**
|
|
@@ -15490,7 +15554,7 @@ declare module "factorio:runtime" {
|
|
|
15490
15554
|
* - `"name"`: {@link NameScriptRaisedTeleportedEventFilter}
|
|
15491
15555
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter}
|
|
15492
15556
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter}
|
|
15493
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15557
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation}
|
|
15494
15558
|
*/
|
|
15495
15559
|
export type LuaScriptRaisedTeleportedEventFilter =
|
|
15496
15560
|
| TypeScriptRaisedTeleportedEventFilter
|
|
@@ -15595,7 +15659,7 @@ declare module "factorio:runtime" {
|
|
|
15595
15659
|
* - `"name"`: {@link NamePreRobotMinedEntityEventFilter}
|
|
15596
15660
|
* - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter}
|
|
15597
15661
|
* - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter}
|
|
15598
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15662
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation}
|
|
15599
15663
|
*/
|
|
15600
15664
|
export type LuaPreRobotMinedEntityEventFilter =
|
|
15601
15665
|
| TypePreRobotMinedEntityEventFilter
|
|
@@ -15700,7 +15764,7 @@ declare module "factorio:runtime" {
|
|
|
15700
15764
|
* - `"name"`: {@link NameScriptRaisedBuiltEventFilter}
|
|
15701
15765
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter}
|
|
15702
15766
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter}
|
|
15703
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15767
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation}
|
|
15704
15768
|
*/
|
|
15705
15769
|
export type LuaScriptRaisedBuiltEventFilter =
|
|
15706
15770
|
| TypeScriptRaisedBuiltEventFilter
|
|
@@ -15805,7 +15869,7 @@ declare module "factorio:runtime" {
|
|
|
15805
15869
|
* - `"name"`: {@link NamePlatformMinedEntityEventFilter}
|
|
15806
15870
|
* - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter}
|
|
15807
15871
|
* - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter}
|
|
15808
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15872
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation}
|
|
15809
15873
|
*/
|
|
15810
15874
|
export type LuaPlatformMinedEntityEventFilter =
|
|
15811
15875
|
| TypePlatformMinedEntityEventFilter
|
|
@@ -15922,7 +15986,7 @@ declare module "factorio:runtime" {
|
|
|
15922
15986
|
* - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter}
|
|
15923
15987
|
* - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter}
|
|
15924
15988
|
* - `"force"`: {@link ForceRobotBuiltEntityEventFilter}
|
|
15925
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
15989
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation}
|
|
15926
15990
|
*/
|
|
15927
15991
|
export type LuaRobotBuiltEntityEventFilter =
|
|
15928
15992
|
| TypeRobotBuiltEntityEventFilter
|
|
@@ -16028,7 +16092,7 @@ declare module "factorio:runtime" {
|
|
|
16028
16092
|
* - `"name"`: {@link NamePrePlayerMinedEntityEventFilter}
|
|
16029
16093
|
* - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter}
|
|
16030
16094
|
* - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter}
|
|
16031
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16095
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation}
|
|
16032
16096
|
*/
|
|
16033
16097
|
export type LuaPrePlayerMinedEntityEventFilter =
|
|
16034
16098
|
| TypePrePlayerMinedEntityEventFilter
|
|
@@ -16133,7 +16197,7 @@ declare module "factorio:runtime" {
|
|
|
16133
16197
|
* - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter}
|
|
16134
16198
|
* - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter}
|
|
16135
16199
|
* - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter}
|
|
16136
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16200
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation}
|
|
16137
16201
|
*/
|
|
16138
16202
|
export type LuaEntityDeconstructionCancelledEventFilter =
|
|
16139
16203
|
| TypeEntityDeconstructionCancelledEventFilter
|
|
@@ -16238,7 +16302,7 @@ declare module "factorio:runtime" {
|
|
|
16238
16302
|
* - `"name"`: {@link NamePreGhostUpgradedEventFilter}
|
|
16239
16303
|
* - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter}
|
|
16240
16304
|
* - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter}
|
|
16241
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16305
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation}
|
|
16242
16306
|
*/
|
|
16243
16307
|
export type LuaPreGhostUpgradedEventFilter =
|
|
16244
16308
|
| TypePreGhostUpgradedEventFilter
|
|
@@ -16355,7 +16419,7 @@ declare module "factorio:runtime" {
|
|
|
16355
16419
|
* - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter}
|
|
16356
16420
|
* - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter}
|
|
16357
16421
|
* - `"force"`: {@link ForcePlatformBuiltEntityEventFilter}
|
|
16358
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16422
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation}
|
|
16359
16423
|
*/
|
|
16360
16424
|
export type LuaPlatformBuiltEntityEventFilter =
|
|
16361
16425
|
| TypePlatformBuiltEntityEventFilter
|
|
@@ -16461,7 +16525,7 @@ declare module "factorio:runtime" {
|
|
|
16461
16525
|
* - `"name"`: {@link NamePrePlatformMinedEntityEventFilter}
|
|
16462
16526
|
* - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter}
|
|
16463
16527
|
* - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter}
|
|
16464
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16528
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation}
|
|
16465
16529
|
*/
|
|
16466
16530
|
export type LuaPrePlatformMinedEntityEventFilter =
|
|
16467
16531
|
| TypePrePlatformMinedEntityEventFilter
|
|
@@ -16566,7 +16630,7 @@ declare module "factorio:runtime" {
|
|
|
16566
16630
|
* - `"name"`: {@link NameEntityClonedEventFilter}
|
|
16567
16631
|
* - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter}
|
|
16568
16632
|
* - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter}
|
|
16569
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16633
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityClonedEventFilter.html Online documentation}
|
|
16570
16634
|
*/
|
|
16571
16635
|
export type LuaEntityClonedEventFilter =
|
|
16572
16636
|
| TypeEntityClonedEventFilter
|
|
@@ -16671,7 +16735,7 @@ declare module "factorio:runtime" {
|
|
|
16671
16735
|
* - `"name"`: {@link NamePlayerRepairedEntityEventFilter}
|
|
16672
16736
|
* - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter}
|
|
16673
16737
|
* - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter}
|
|
16674
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16738
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation}
|
|
16675
16739
|
*/
|
|
16676
16740
|
export type LuaPlayerRepairedEntityEventFilter =
|
|
16677
16741
|
| TypePlayerRepairedEntityEventFilter
|
|
@@ -16711,7 +16775,7 @@ declare module "factorio:runtime" {
|
|
|
16711
16775
|
*
|
|
16712
16776
|
* Other attributes may be specified depending on `filter`:
|
|
16713
16777
|
* - `"type"`: {@link TypePostEntityDiedEventFilter}
|
|
16714
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16778
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPostEntityDiedEventFilter.html Online documentation}
|
|
16715
16779
|
*/
|
|
16716
16780
|
export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter
|
|
16717
16781
|
/**
|
|
@@ -16746,7 +16810,7 @@ declare module "factorio:runtime" {
|
|
|
16746
16810
|
*
|
|
16747
16811
|
* Other attributes may be specified depending on `filter`:
|
|
16748
16812
|
* - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter}
|
|
16749
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16813
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation}
|
|
16750
16814
|
*/
|
|
16751
16815
|
export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter
|
|
16752
16816
|
/**
|
|
@@ -16852,7 +16916,7 @@ declare module "factorio:runtime" {
|
|
|
16852
16916
|
* - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter}
|
|
16853
16917
|
* - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter}
|
|
16854
16918
|
* - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter}
|
|
16855
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16919
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16856
16920
|
*/
|
|
16857
16921
|
export type LuaSegmentedUnitDamagedEventFilter =
|
|
16858
16922
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16862,7 +16926,7 @@ declare module "factorio:runtime" {
|
|
|
16862
16926
|
| FinalHealthSegmentedUnitDamagedEventFilter
|
|
16863
16927
|
/**
|
|
16864
16928
|
* Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
16865
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
16929
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation}
|
|
16866
16930
|
*/
|
|
16867
16931
|
export type LuaSegmentedUnitDamagedEventFilterWrite =
|
|
16868
16932
|
| NameSegmentedUnitDamagedEventFilter
|
|
@@ -16967,7 +17031,7 @@ declare module "factorio:runtime" {
|
|
|
16967
17031
|
* - `"name"`: {@link NamePreGhostDeconstructedEventFilter}
|
|
16968
17032
|
* - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter}
|
|
16969
17033
|
* - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter}
|
|
16970
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17034
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation}
|
|
16971
17035
|
*/
|
|
16972
17036
|
export type LuaPreGhostDeconstructedEventFilter =
|
|
16973
17037
|
| TypePreGhostDeconstructedEventFilter
|
|
@@ -17072,7 +17136,7 @@ declare module "factorio:runtime" {
|
|
|
17072
17136
|
* - `"name"`: {@link NamePlayerMinedEntityEventFilter}
|
|
17073
17137
|
* - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter}
|
|
17074
17138
|
* - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter}
|
|
17075
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17139
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation}
|
|
17076
17140
|
*/
|
|
17077
17141
|
export type LuaPlayerMinedEntityEventFilter =
|
|
17078
17142
|
| TypePlayerMinedEntityEventFilter
|
|
@@ -17177,7 +17241,7 @@ declare module "factorio:runtime" {
|
|
|
17177
17241
|
* - `"name"`: {@link NameSectorScannedEventFilter}
|
|
17178
17242
|
* - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter}
|
|
17179
17243
|
* - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter}
|
|
17180
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17244
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSectorScannedEventFilter.html Online documentation}
|
|
17181
17245
|
*/
|
|
17182
17246
|
export type LuaSectorScannedEventFilter =
|
|
17183
17247
|
| TypeSectorScannedEventFilter
|
|
@@ -17282,7 +17346,7 @@ declare module "factorio:runtime" {
|
|
|
17282
17346
|
* - `"name"`: {@link NameRobotMinedEntityEventFilter}
|
|
17283
17347
|
* - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter}
|
|
17284
17348
|
* - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter}
|
|
17285
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17349
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaRobotMinedEntityEventFilter.html Online documentation}
|
|
17286
17350
|
*/
|
|
17287
17351
|
export type LuaRobotMinedEntityEventFilter =
|
|
17288
17352
|
| TypeRobotMinedEntityEventFilter
|
|
@@ -17387,7 +17451,7 @@ declare module "factorio:runtime" {
|
|
|
17387
17451
|
* - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter}
|
|
17388
17452
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter}
|
|
17389
17453
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter}
|
|
17390
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17454
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation}
|
|
17391
17455
|
*/
|
|
17392
17456
|
export type LuaEntityMarkedForDeconstructionEventFilter =
|
|
17393
17457
|
| TypeEntityMarkedForDeconstructionEventFilter
|
|
@@ -17427,7 +17491,7 @@ declare module "factorio:runtime" {
|
|
|
17427
17491
|
*
|
|
17428
17492
|
* Other attributes may be specified depending on `filter`:
|
|
17429
17493
|
* - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter}
|
|
17430
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17494
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation}
|
|
17431
17495
|
*/
|
|
17432
17496
|
export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter
|
|
17433
17497
|
/**
|
|
@@ -17527,7 +17591,7 @@ declare module "factorio:runtime" {
|
|
|
17527
17591
|
* - `"name"`: {@link NameScriptRaisedReviveEventFilter}
|
|
17528
17592
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter}
|
|
17529
17593
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter}
|
|
17530
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17594
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation}
|
|
17531
17595
|
*/
|
|
17532
17596
|
export type LuaScriptRaisedReviveEventFilter =
|
|
17533
17597
|
| TypeScriptRaisedReviveEventFilter
|
|
@@ -17644,7 +17708,7 @@ declare module "factorio:runtime" {
|
|
|
17644
17708
|
* - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter}
|
|
17645
17709
|
* - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter}
|
|
17646
17710
|
* - `"force"`: {@link ForcePlayerBuiltEntityEventFilter}
|
|
17647
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17711
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation}
|
|
17648
17712
|
*/
|
|
17649
17713
|
export type LuaPlayerBuiltEntityEventFilter =
|
|
17650
17714
|
| TypePlayerBuiltEntityEventFilter
|
|
@@ -17750,7 +17814,7 @@ declare module "factorio:runtime" {
|
|
|
17750
17814
|
* - `"name"`: {@link NameUpgradeCancelledEventFilter}
|
|
17751
17815
|
* - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter}
|
|
17752
17816
|
* - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter}
|
|
17753
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17817
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaUpgradeCancelledEventFilter.html Online documentation}
|
|
17754
17818
|
*/
|
|
17755
17819
|
export type LuaUpgradeCancelledEventFilter =
|
|
17756
17820
|
| TypeUpgradeCancelledEventFilter
|
|
@@ -17930,7 +17994,7 @@ declare module "factorio:runtime" {
|
|
|
17930
17994
|
* - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter}
|
|
17931
17995
|
* - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter}
|
|
17932
17996
|
* - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter}
|
|
17933
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
17997
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17934
17998
|
*/
|
|
17935
17999
|
export type LuaEntityDamagedEventFilter =
|
|
17936
18000
|
| TypeEntityDamagedEventFilter
|
|
@@ -17944,7 +18008,7 @@ declare module "factorio:runtime" {
|
|
|
17944
18008
|
| OtherEntityDamagedEventFilter
|
|
17945
18009
|
/**
|
|
17946
18010
|
* Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form.
|
|
17947
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18011
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDamagedEventFilter.html Online documentation}
|
|
17948
18012
|
*/
|
|
17949
18013
|
export type LuaEntityDamagedEventFilterWrite =
|
|
17950
18014
|
| TypeEntityDamagedEventFilter
|
|
@@ -18065,7 +18129,7 @@ declare module "factorio:runtime" {
|
|
|
18065
18129
|
* - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter}
|
|
18066
18130
|
* - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter}
|
|
18067
18131
|
* - `"force"`: {@link ForceEntityDiedEventFilter}
|
|
18068
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18132
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityDiedEventFilter.html Online documentation}
|
|
18069
18133
|
*/
|
|
18070
18134
|
export type LuaEntityDiedEventFilter =
|
|
18071
18135
|
| TypeEntityDiedEventFilter
|
|
@@ -18171,7 +18235,7 @@ declare module "factorio:runtime" {
|
|
|
18171
18235
|
* - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter}
|
|
18172
18236
|
* - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter}
|
|
18173
18237
|
* - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter}
|
|
18174
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18238
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation}
|
|
18175
18239
|
*/
|
|
18176
18240
|
export type LuaEntityMarkedForUpgradeEventFilter =
|
|
18177
18241
|
| TypeEntityMarkedForUpgradeEventFilter
|
|
@@ -18222,7 +18286,7 @@ declare module "factorio:runtime" {
|
|
|
18222
18286
|
* Other attributes may be specified depending on `filter`:
|
|
18223
18287
|
* - `"name"`: {@link NameSegmentedUnitCreatedEventFilter}
|
|
18224
18288
|
* - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter}
|
|
18225
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18289
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation}
|
|
18226
18290
|
*/
|
|
18227
18291
|
export type LuaSegmentedUnitCreatedEventFilter =
|
|
18228
18292
|
NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter
|
|
@@ -18323,7 +18387,7 @@ declare module "factorio:runtime" {
|
|
|
18323
18387
|
* - `"name"`: {@link NameScriptRaisedDestroyEventFilter}
|
|
18324
18388
|
* - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter}
|
|
18325
18389
|
* - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter}
|
|
18326
|
-
* @see {@link https://lua-api.factorio.com/2.1.
|
|
18390
|
+
* @see {@link https://lua-api.factorio.com/2.1.25/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation}
|
|
18327
18391
|
*/
|
|
18328
18392
|
export type LuaScriptRaisedDestroyEventFilter =
|
|
18329
18393
|
| TypeScriptRaisedDestroyEventFilter
|