typed-factorio 0.13.0 → 0.14.1

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.
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  declare namespace defines {
@@ -15,7 +17,7 @@ declare namespace defines {
15
17
  /**
16
18
  * AI command exit status. See {@link LuaEntity.set_command LuaEntity::set_command}
17
19
  *
18
- * {@link https://lua-api.factorio.com/next/defines.html#defines.behavior_result View documentation}
20
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.behavior_result View documentation}
19
21
  */
20
22
  enum behavior_result {
21
23
  in_progress,
@@ -34,7 +36,7 @@ declare namespace defines {
34
36
  /**
35
37
  * State of a chain signal.
36
38
  *
37
- * {@link https://lua-api.factorio.com/next/defines.html#defines.chain_signal_state View documentation}
39
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.chain_signal_state View documentation}
38
40
  */
39
41
  enum chain_signal_state {
40
42
  none,
@@ -81,86 +83,86 @@ declare namespace defines {
81
83
  /**
82
84
  * Command given to units describing what they should do.
83
85
  *
84
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command View documentation}
86
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command View documentation}
85
87
  */
86
88
  enum command {
87
89
  /**
88
90
  * Attack another entity.
89
91
  *
90
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.attack View documentation}
92
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.attack View documentation}
91
93
  */
92
94
  attack = 0,
93
95
  /**
94
96
  * Go to a specific position.
95
97
  *
96
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.go_to_location View documentation}
98
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.go_to_location View documentation}
97
99
  */
98
100
  go_to_location = 1,
99
101
  /**
100
102
  * Chain commands together, see {@link defines.compound_command}.
101
103
  *
102
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.compound View documentation}
104
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.compound View documentation}
103
105
  */
104
106
  compound = 2,
105
107
  /**
106
108
  * Do what your group wants you to do.
107
109
  *
108
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.group View documentation}
110
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.group View documentation}
109
111
  */
110
112
  group = 3,
111
113
  /**
112
114
  * Go to a place and attack what you see.
113
115
  *
114
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.attack_area View documentation}
116
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.attack_area View documentation}
115
117
  */
116
118
  attack_area = 4,
117
119
  /**
118
120
  * Chill.
119
121
  *
120
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.wander View documentation}
122
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.wander View documentation}
121
123
  */
122
124
  wander = 5,
123
125
  /**
124
126
  * Flee from another entity.
125
127
  *
126
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.flee View documentation}
128
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.flee View documentation}
127
129
  */
128
130
  flee = 6,
129
131
  /**
130
132
  * Stop moving and stay where you are.
131
133
  *
132
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.stop View documentation}
134
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.stop View documentation}
133
135
  */
134
136
  stop = 7,
135
137
  /**
136
138
  * Go to a position and build a base there.
137
139
  *
138
- * {@link https://lua-api.factorio.com/next/defines.html#defines.command.build_base View documentation}
140
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.command.build_base View documentation}
139
141
  */
140
142
  build_base = 8,
141
143
  }
142
144
  /**
143
145
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
144
146
  *
145
- * {@link https://lua-api.factorio.com/next/defines.html#defines.compound_command View documentation}
147
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.compound_command View documentation}
146
148
  */
147
149
  enum compound_command {
148
150
  /**
149
151
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
150
152
  *
151
- * {@link https://lua-api.factorio.com/next/defines.html#defines.compound_command.logical_and View documentation}
153
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.compound_command.logical_and View documentation}
152
154
  */
153
155
  logical_and,
154
156
  /**
155
157
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
156
158
  *
157
- * {@link https://lua-api.factorio.com/next/defines.html#defines.compound_command.logical_or View documentation}
159
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.compound_command.logical_or View documentation}
158
160
  */
159
161
  logical_or,
160
162
  /**
161
163
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
162
164
  *
163
- * {@link https://lua-api.factorio.com/next/defines.html#defines.compound_command.return_last View documentation}
165
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.compound_command.return_last View documentation}
164
166
  */
165
167
  return_last,
166
168
  }
@@ -205,109 +207,109 @@ declare namespace defines {
205
207
  /**
206
208
  * {@link LuaContainerControlBehavior}
207
209
  *
208
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.container View documentation}
210
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.container View documentation}
209
211
  */
210
212
  container,
211
213
  /**
212
214
  * {@link LuaGenericOnOffControlBehavior}
213
215
  *
214
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.generic_on_off View documentation}
216
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.generic_on_off View documentation}
215
217
  */
216
218
  generic_on_off,
217
219
  /**
218
220
  * {@link LuaInserterControlBehavior}
219
221
  *
220
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.inserter View documentation}
222
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.inserter View documentation}
221
223
  */
222
224
  inserter,
223
225
  /**
224
226
  * {@link LuaLampControlBehavior}
225
227
  *
226
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.lamp View documentation}
228
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.lamp View documentation}
227
229
  */
228
230
  lamp,
229
231
  /**
230
232
  * {@link LuaLogisticContainerControlBehavior}
231
233
  *
232
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.logistic_container View documentation}
234
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.logistic_container View documentation}
233
235
  */
234
236
  logistic_container,
235
237
  /**
236
238
  * {@link LuaRoboportControlBehavior}
237
239
  *
238
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.roboport View documentation}
240
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.roboport View documentation}
239
241
  */
240
242
  roboport,
241
243
  /**
242
244
  * {@link LuaStorageTankControlBehavior}
243
245
  *
244
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.storage_tank View documentation}
246
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.storage_tank View documentation}
245
247
  */
246
248
  storage_tank,
247
249
  /**
248
250
  * {@link LuaTrainStopControlBehavior}
249
251
  *
250
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.train_stop View documentation}
252
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.train_stop View documentation}
251
253
  */
252
254
  train_stop,
253
255
  /**
254
256
  * {@link LuaDeciderCombinatorControlBehavior}
255
257
  *
256
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.decider_combinator View documentation}
258
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.decider_combinator View documentation}
257
259
  */
258
260
  decider_combinator,
259
261
  /**
260
262
  * {@link LuaArithmeticCombinatorControlBehavior}
261
263
  *
262
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.arithmetic_combinator View documentation}
264
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.arithmetic_combinator View documentation}
263
265
  */
264
266
  arithmetic_combinator,
265
267
  /**
266
268
  * {@link LuaConstantCombinatorControlBehavior}
267
269
  *
268
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.constant_combinator View documentation}
270
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.constant_combinator View documentation}
269
271
  */
270
272
  constant_combinator,
271
273
  /**
272
274
  * {@link LuaTransportBeltControlBehavior}
273
275
  *
274
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.transport_belt View documentation}
276
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.transport_belt View documentation}
275
277
  */
276
278
  transport_belt,
277
279
  /**
278
280
  * {@link LuaAccumulatorControlBehavior}
279
281
  *
280
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.accumulator View documentation}
282
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.accumulator View documentation}
281
283
  */
282
284
  accumulator,
283
285
  /**
284
286
  * {@link LuaRailSignalControlBehavior}
285
287
  *
286
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.rail_signal View documentation}
288
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.rail_signal View documentation}
287
289
  */
288
290
  rail_signal,
289
291
  /**
290
292
  * {@link LuaRailChainSignalControlBehavior}
291
293
  *
292
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.rail_chain_signal View documentation}
294
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.rail_chain_signal View documentation}
293
295
  */
294
296
  rail_chain_signal,
295
297
  /**
296
298
  * {@link LuaWallControlBehavior}
297
299
  *
298
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.wall View documentation}
300
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.wall View documentation}
299
301
  */
300
302
  wall,
301
303
  /**
302
304
  * {@link LuaMiningDrillControlBehavior}
303
305
  *
304
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.mining_drill View documentation}
306
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.mining_drill View documentation}
305
307
  */
306
308
  mining_drill,
307
309
  /**
308
310
  * {@link LuaProgrammableSpeakerControlBehavior}
309
311
  *
310
- * {@link https://lua-api.factorio.com/next/defines.html#defines.control_behavior.type.programmable_speaker View documentation}
312
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.control_behavior.type.programmable_speaker View documentation}
311
313
  */
312
314
  programmable_speaker,
313
315
  }
@@ -316,37 +318,37 @@ declare namespace defines {
316
318
  /**
317
319
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
318
320
  *
319
- * {@link https://lua-api.factorio.com/next/defines.html#defines.controllers.ghost View documentation}
321
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.controllers.ghost View documentation}
320
322
  */
321
323
  ghost,
322
324
  /**
323
325
  * The controller controls a character. This is the default controller in freeplay.
324
326
  *
325
- * {@link https://lua-api.factorio.com/next/defines.html#defines.controllers.character View documentation}
327
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.controllers.character View documentation}
326
328
  */
327
329
  character,
328
330
  /**
329
331
  * The controller isn't tied to a character. This is the default controller in sandbox.
330
332
  *
331
- * {@link https://lua-api.factorio.com/next/defines.html#defines.controllers.god View documentation}
333
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.controllers.god View documentation}
332
334
  */
333
335
  god,
334
336
  /**
335
337
  * The Editor Controller near ultimate power to do almost anything in the game.
336
338
  *
337
- * {@link https://lua-api.factorio.com/next/defines.html#defines.controllers.editor View documentation}
339
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.controllers.editor View documentation}
338
340
  */
339
341
  editor,
340
342
  /**
341
343
  * The player can't interact with the world, and the camera pans around in a predefined manner.
342
344
  *
343
- * {@link https://lua-api.factorio.com/next/defines.html#defines.controllers.cutscene View documentation}
345
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.controllers.cutscene View documentation}
344
346
  */
345
347
  cutscene,
346
348
  /**
347
349
  * Can't change anything in the world but can view anything.
348
350
  *
349
- * {@link https://lua-api.factorio.com/next/defines.html#defines.controllers.spectator View documentation}
351
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.controllers.spectator View documentation}
350
352
  */
351
353
  spectator,
352
354
  }
@@ -408,25 +410,25 @@ declare namespace defines {
408
410
  /**
409
411
  * Perform command even if someone attacks the unit.
410
412
  *
411
- * {@link https://lua-api.factorio.com/next/defines.html#defines.distraction.none View documentation}
413
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.distraction.none View documentation}
412
414
  */
413
415
  none,
414
416
  /**
415
417
  * Attack closer enemy entities with force.
416
418
  *
417
- * {@link https://lua-api.factorio.com/next/defines.html#defines.distraction.by_enemy View documentation}
419
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.distraction.by_enemy View documentation}
418
420
  */
419
421
  by_enemy,
420
422
  /**
421
423
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
422
424
  *
423
- * {@link https://lua-api.factorio.com/next/defines.html#defines.distraction.by_anything View documentation}
425
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.distraction.by_anything View documentation}
424
426
  */
425
427
  by_anything,
426
428
  /**
427
429
  * Attack when attacked.
428
430
  *
429
- * {@link https://lua-api.factorio.com/next/defines.html#defines.distraction.by_damage View documentation}
431
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.distraction.by_damage View documentation}
430
432
  */
431
433
  by_damage,
432
434
  }
@@ -444,208 +446,208 @@ declare namespace defines {
444
446
  /**
445
447
  * Used by generators and solar panels.
446
448
  *
447
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.not_plugged_in_electric_network View documentation}
449
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.not_plugged_in_electric_network View documentation}
448
450
  */
449
451
  not_plugged_in_electric_network,
450
452
  /**
451
453
  * Used by power switches.
452
454
  *
453
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.networks_connected View documentation}
455
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.networks_connected View documentation}
454
456
  */
455
457
  networks_connected,
456
458
  /**
457
459
  * Used by power switches.
458
460
  *
459
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.networks_disconnected View documentation}
461
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.networks_disconnected View documentation}
460
462
  */
461
463
  networks_disconnected,
462
464
  /**
463
465
  * Used by accumulators.
464
466
  *
465
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.charging View documentation}
467
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.charging View documentation}
466
468
  */
467
469
  charging,
468
470
  /**
469
471
  * Used by accumulators.
470
472
  *
471
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.discharging View documentation}
473
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.discharging View documentation}
472
474
  */
473
475
  discharging,
474
476
  /**
475
477
  * Used by accumulators.
476
478
  *
477
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.fully_charged View documentation}
479
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.fully_charged View documentation}
478
480
  */
479
481
  fully_charged,
480
482
  /**
481
483
  * Used by logistic containers.
482
484
  *
483
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.out_of_logistic_network View documentation}
485
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.out_of_logistic_network View documentation}
484
486
  */
485
487
  out_of_logistic_network,
486
488
  /**
487
489
  * Used by assembling machines.
488
490
  *
489
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_recipe View documentation}
491
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_recipe View documentation}
490
492
  */
491
493
  no_recipe,
492
494
  /**
493
495
  * Used by furnaces.
494
496
  *
495
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_ingredients View documentation}
497
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_ingredients View documentation}
496
498
  */
497
499
  no_ingredients,
498
500
  /**
499
501
  * Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
500
502
  *
501
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_input_fluid View documentation}
503
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_input_fluid View documentation}
502
504
  */
503
505
  no_input_fluid,
504
506
  /**
505
507
  * Used by labs.
506
508
  *
507
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_research_in_progress View documentation}
509
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_research_in_progress View documentation}
508
510
  */
509
511
  no_research_in_progress,
510
512
  /**
511
513
  * Used by mining drills.
512
514
  *
513
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_minable_resources View documentation}
515
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_minable_resources View documentation}
514
516
  */
515
517
  no_minable_resources,
516
518
  /**
517
519
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
518
520
  *
519
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.low_input_fluid View documentation}
521
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.low_input_fluid View documentation}
520
522
  */
521
523
  low_input_fluid,
522
524
  /**
523
525
  * Used by crafting machines.
524
526
  *
525
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.fluid_ingredient_shortage View documentation}
527
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.fluid_ingredient_shortage View documentation}
526
528
  */
527
529
  fluid_ingredient_shortage,
528
530
  /**
529
531
  * Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result
530
532
  * inventory, boiler has full output fluidbox.
531
533
  *
532
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.full_output View documentation}
534
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.full_output View documentation}
533
535
  */
534
536
  full_output,
535
537
  /**
536
538
  * Used by crafting machines.
537
539
  *
538
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.item_ingredient_shortage View documentation}
540
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.item_ingredient_shortage View documentation}
539
541
  */
540
542
  item_ingredient_shortage,
541
543
  /**
542
544
  * Used by mining drills when the mining fluid is missing.
543
545
  *
544
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.missing_required_fluid View documentation}
546
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.missing_required_fluid View documentation}
545
547
  */
546
548
  missing_required_fluid,
547
549
  /**
548
550
  * Used by labs.
549
551
  *
550
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.missing_science_packs View documentation}
552
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.missing_science_packs View documentation}
551
553
  */
552
554
  missing_science_packs,
553
555
  /**
554
556
  * Used by inserters.
555
557
  *
556
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.waiting_for_source_items View documentation}
558
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.waiting_for_source_items View documentation}
557
559
  */
558
560
  waiting_for_source_items,
559
561
  /**
560
562
  * Used by inserters and mining drills.
561
563
  *
562
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.waiting_for_space_in_destination View documentation}
564
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.waiting_for_space_in_destination View documentation}
563
565
  */
564
566
  waiting_for_space_in_destination,
565
567
  /**
566
568
  * Used by the rocket silo.
567
569
  *
568
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.preparing_rocket_for_launch View documentation}
570
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.preparing_rocket_for_launch View documentation}
569
571
  */
570
572
  preparing_rocket_for_launch,
571
573
  /**
572
574
  * Used by the rocket silo.
573
575
  *
574
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.waiting_to_launch_rocket View documentation}
576
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.waiting_to_launch_rocket View documentation}
575
577
  */
576
578
  waiting_to_launch_rocket,
577
579
  /**
578
580
  * Used by the rocket silo.
579
581
  *
580
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.launching_rocket View documentation}
582
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.launching_rocket View documentation}
581
583
  */
582
584
  launching_rocket,
583
585
  /**
584
586
  * Used by beacons.
585
587
  *
586
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_modules_to_transmit View documentation}
588
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_modules_to_transmit View documentation}
587
589
  */
588
590
  no_modules_to_transmit,
589
591
  /**
590
592
  * Used by roboports.
591
593
  *
592
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.recharging_after_power_outage View documentation}
594
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.recharging_after_power_outage View documentation}
593
595
  */
594
596
  recharging_after_power_outage,
595
597
  /**
596
598
  * Used by inserters targeting entity ghosts.
597
599
  *
598
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.waiting_for_target_to_be_built View documentation}
600
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.waiting_for_target_to_be_built View documentation}
599
601
  */
600
602
  waiting_for_target_to_be_built,
601
603
  /**
602
604
  * Used by inserters targeting rails.
603
605
  *
604
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.waiting_for_train View documentation}
606
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.waiting_for_train View documentation}
605
607
  */
606
608
  waiting_for_train,
607
609
  /**
608
610
  * Used by ammo turrets.
609
611
  *
610
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.no_ammo View documentation}
612
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.no_ammo View documentation}
611
613
  */
612
614
  no_ammo,
613
615
  /**
614
616
  * Used by heat energy sources.
615
617
  *
616
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.low_temperature View documentation}
618
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.low_temperature View documentation}
617
619
  */
618
620
  low_temperature,
619
621
  /**
620
622
  * Used by constant combinators: Combinator is turned off via switch in GUI.
621
623
  *
622
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.disabled View documentation}
624
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.disabled View documentation}
623
625
  */
624
626
  disabled,
625
627
  /**
626
628
  * Used by lamps.
627
629
  *
628
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.turned_off_during_daytime View documentation}
630
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.turned_off_during_daytime View documentation}
629
631
  */
630
632
  turned_off_during_daytime,
631
633
  /**
632
634
  * Used by rail signals.
633
635
  *
634
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.not_connected_to_rail View documentation}
636
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.not_connected_to_rail View documentation}
635
637
  */
636
638
  not_connected_to_rail,
637
639
  /**
638
640
  * Used by rail signals.
639
641
  *
640
- * {@link https://lua-api.factorio.com/next/defines.html#defines.entity_status.cant_divide_segments View documentation}
642
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.entity_status.cant_divide_segments View documentation}
641
643
  */
642
644
  cant_divide_segments,
643
645
  }
644
646
  /**
645
- * See the {@link https://lua-api.factorio.com/next/events.html events page} for more info on what events contain and
646
- * when they get raised.
647
+ * See the {@link https://lua-api.factorio.com/latest/events.html events page} for more info on what events contain
648
+ * and when they get raised.
647
649
  *
648
- * {@link https://lua-api.factorio.com/next/defines.html#defines.events View documentation}
650
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.events View documentation}
649
651
  */
650
652
  namespace events {
651
653
  /** Event type: {@link OnTickEvent} */
@@ -1082,10 +1084,10 @@ declare namespace defines {
1082
1084
  const on_equipment_removed: EventId<OnEquipmentRemovedEvent>
1083
1085
  }
1084
1086
  /**
1085
- * See the {@link https://lua-api.factorio.com/next/events.html events page} for more info on what events contain and
1086
- * when they get raised.
1087
+ * See the {@link https://lua-api.factorio.com/latest/events.html events page} for more info on what events contain
1088
+ * and when they get raised.
1087
1089
  *
1088
- * {@link https://lua-api.factorio.com/next/defines.html#defines.events View documentation}
1090
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.events View documentation}
1089
1091
  */
1090
1092
  type Events = typeof events[keyof typeof events]
1091
1093
  enum flow_precision_index {
@@ -1400,7 +1402,7 @@ declare namespace defines {
1400
1402
  * organized as a lookup table, meaning it maps the sub-prototype names to `0`. As an example,
1401
1403
  * `defines.prototypes['entity']` looks like this: `{furnace=0, inserter=0, container=0, ...}`.
1402
1404
  *
1403
- * {@link https://lua-api.factorio.com/next/defines.html#defines.prototypes View documentation}
1405
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.prototypes View documentation}
1404
1406
  */
1405
1407
  const prototypes: {
1406
1408
  readonly [Type in string]?: {
@@ -1521,31 +1523,31 @@ declare namespace defines {
1521
1523
  /**
1522
1524
  * State of an ordinary rail signal.
1523
1525
  *
1524
- * {@link https://lua-api.factorio.com/next/defines.html#defines.signal_state View documentation}
1526
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.signal_state View documentation}
1525
1527
  */
1526
1528
  enum signal_state {
1527
1529
  /**
1528
1530
  * Green.
1529
1531
  *
1530
- * {@link https://lua-api.factorio.com/next/defines.html#defines.signal_state.open View documentation}
1532
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.signal_state.open View documentation}
1531
1533
  */
1532
1534
  open,
1533
1535
  /**
1534
1536
  * Red.
1535
1537
  *
1536
- * {@link https://lua-api.factorio.com/next/defines.html#defines.signal_state.closed View documentation}
1538
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.signal_state.closed View documentation}
1537
1539
  */
1538
1540
  closed,
1539
1541
  /**
1540
1542
  * Orange.
1541
1543
  *
1542
- * {@link https://lua-api.factorio.com/next/defines.html#defines.signal_state.reserved View documentation}
1544
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.signal_state.reserved View documentation}
1543
1545
  */
1544
1546
  reserved,
1545
1547
  /**
1546
1548
  * Red - From circuit network.
1547
1549
  *
1548
- * {@link https://lua-api.factorio.com/next/defines.html#defines.signal_state.reserved_by_circuit_network View documentation}
1550
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.signal_state.reserved_by_circuit_network View documentation}
1549
1551
  */
1550
1552
  reserved_by_circuit_network,
1551
1553
  }
@@ -1553,67 +1555,67 @@ declare namespace defines {
1553
1555
  /**
1554
1556
  * Normal state -- following the path.
1555
1557
  *
1556
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.on_the_path View documentation}
1558
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.on_the_path View documentation}
1557
1559
  */
1558
1560
  on_the_path,
1559
1561
  /**
1560
1562
  * Had path and lost it -- must stop.
1561
1563
  *
1562
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.path_lost View documentation}
1564
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.path_lost View documentation}
1563
1565
  */
1564
1566
  path_lost,
1565
1567
  /**
1566
1568
  * Doesn't have anywhere to go.
1567
1569
  *
1568
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.no_schedule View documentation}
1570
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.no_schedule View documentation}
1569
1571
  */
1570
1572
  no_schedule,
1571
1573
  /**
1572
1574
  * Has no path and is stopped.
1573
1575
  *
1574
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.no_path View documentation}
1576
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.no_path View documentation}
1575
1577
  */
1576
1578
  no_path,
1577
1579
  /**
1578
1580
  * Braking before a rail signal.
1579
1581
  *
1580
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.arrive_signal View documentation}
1582
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.arrive_signal View documentation}
1581
1583
  */
1582
1584
  arrive_signal,
1583
1585
  /**
1584
1586
  * Waiting at a signal.
1585
1587
  *
1586
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.wait_signal View documentation}
1588
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.wait_signal View documentation}
1587
1589
  */
1588
1590
  wait_signal,
1589
1591
  /**
1590
1592
  * Braking before a station.
1591
1593
  *
1592
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.arrive_station View documentation}
1594
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.arrive_station View documentation}
1593
1595
  */
1594
1596
  arrive_station,
1595
1597
  /**
1596
1598
  * Waiting at a station.
1597
1599
  *
1598
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.wait_station View documentation}
1600
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.wait_station View documentation}
1599
1601
  */
1600
1602
  wait_station,
1601
1603
  /**
1602
1604
  * Switched to manual control and has to stop.
1603
1605
  *
1604
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.manual_control_stop View documentation}
1606
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.manual_control_stop View documentation}
1605
1607
  */
1606
1608
  manual_control_stop,
1607
1609
  /**
1608
1610
  * Can move if user explicitly sits in and rides the train.
1609
1611
  *
1610
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.manual_control View documentation}
1612
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.manual_control View documentation}
1611
1613
  */
1612
1614
  manual_control,
1613
1615
  /**
1614
1616
  * Same as no_path but all candidate train stops are full
1615
1617
  *
1616
- * {@link https://lua-api.factorio.com/next/defines.html#defines.train_state.destination_full View documentation}
1618
+ * {@link https://lua-api.factorio.com/latest/defines.html#defines.train_state.destination_full View documentation}
1617
1619
  */
1618
1620
  destination_full,
1619
1621
  }