typed-factorio 3.3.1 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -228,7 +228,7 @@ declare global {
228
228
  }
229
229
  /**
230
230
  * AI command exit status. See {@link LuaEntity#set_command LuaEntity::set_command}
231
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.behavior_result Online documentation}
231
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.behavior_result Online documentation}
232
232
  */
233
233
  enum behavior_result {
234
234
  in_progress,
@@ -251,7 +251,7 @@ declare global {
251
251
  }
252
252
  /**
253
253
  * State of a chain signal.
254
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.chain_signal_state Online documentation}
254
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.chain_signal_state Online documentation}
255
255
  */
256
256
  enum chain_signal_state {
257
257
  none,
@@ -269,73 +269,73 @@ declare global {
269
269
  }
270
270
  /**
271
271
  * Command given to units describing what they should do.
272
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command Online documentation}
272
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command Online documentation}
273
273
  */
274
274
  enum command {
275
275
  /**
276
276
  * Attack another entity.
277
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.attack Online documentation}
277
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.attack Online documentation}
278
278
  */
279
279
  attack = 0,
280
280
  /**
281
281
  * Go to a specific position.
282
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.go_to_location Online documentation}
282
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.go_to_location Online documentation}
283
283
  */
284
284
  go_to_location = 1,
285
285
  /**
286
286
  * Chain commands together, see {@link defines.compound_command}.
287
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.compound Online documentation}
287
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.compound Online documentation}
288
288
  */
289
289
  compound = 2,
290
290
  /**
291
291
  * Do what your group wants you to do.
292
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.group Online documentation}
292
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.group Online documentation}
293
293
  */
294
294
  group = 3,
295
295
  /**
296
296
  * Go to a place and attack what you see.
297
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.attack_area Online documentation}
297
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.attack_area Online documentation}
298
298
  */
299
299
  attack_area = 4,
300
300
  /**
301
301
  * Chill.
302
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.wander Online documentation}
302
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.wander Online documentation}
303
303
  */
304
304
  wander = 5,
305
305
  /**
306
306
  * Flee from another entity.
307
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.flee Online documentation}
307
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.flee Online documentation}
308
308
  */
309
309
  flee = 6,
310
310
  /**
311
311
  * Stop moving and stay where you are.
312
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.stop Online documentation}
312
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.stop Online documentation}
313
313
  */
314
314
  stop = 7,
315
315
  /**
316
316
  * Go to a position and build a base there.
317
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.command.build_base Online documentation}
317
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.command.build_base Online documentation}
318
318
  */
319
319
  build_base = 8,
320
320
  }
321
321
  /**
322
322
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
323
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.compound_command Online documentation}
323
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.compound_command Online documentation}
324
324
  */
325
325
  enum compound_command {
326
326
  /**
327
327
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
328
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.compound_command.logical_and Online documentation}
328
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.compound_command.logical_and Online documentation}
329
329
  */
330
330
  logical_and,
331
331
  /**
332
332
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
333
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.compound_command.logical_or Online documentation}
333
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.compound_command.logical_or Online documentation}
334
334
  */
335
335
  logical_or,
336
336
  /**
337
337
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
338
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.compound_command.return_last Online documentation}
338
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.compound_command.return_last Online documentation}
339
339
  */
340
340
  return_last,
341
341
  }
@@ -397,162 +397,162 @@ declare global {
397
397
  enum type {
398
398
  /**
399
399
  * {@link LuaContainerControlBehavior}
400
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.container Online documentation}
400
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.container Online documentation}
401
401
  */
402
402
  container,
403
403
  /**
404
404
  * {@link LuaGenericOnOffControlBehavior}
405
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
405
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
406
406
  */
407
407
  generic_on_off,
408
408
  /**
409
409
  * {@link LuaInserterControlBehavior}
410
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.inserter Online documentation}
410
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.inserter Online documentation}
411
411
  */
412
412
  inserter,
413
413
  /**
414
414
  * {@link LuaLampControlBehavior}
415
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.lamp Online documentation}
415
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.lamp Online documentation}
416
416
  */
417
417
  lamp,
418
418
  /**
419
419
  * {@link LuaLogisticContainerControlBehavior}
420
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.logistic_container Online documentation}
420
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.logistic_container Online documentation}
421
421
  */
422
422
  logistic_container,
423
423
  /**
424
424
  * {@link LuaRoboportControlBehavior}
425
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.roboport Online documentation}
425
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.roboport Online documentation}
426
426
  */
427
427
  roboport,
428
428
  /**
429
429
  * {@link LuaStorageTankControlBehavior}
430
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.storage_tank Online documentation}
430
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.storage_tank Online documentation}
431
431
  */
432
432
  storage_tank,
433
433
  /**
434
434
  * {@link LuaTrainStopControlBehavior}
435
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.train_stop Online documentation}
435
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.train_stop Online documentation}
436
436
  */
437
437
  train_stop,
438
438
  /**
439
439
  * {@link LuaDeciderCombinatorControlBehavior}
440
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
440
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
441
441
  */
442
442
  decider_combinator,
443
443
  /**
444
444
  * {@link LuaArithmeticCombinatorControlBehavior}
445
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
445
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
446
446
  */
447
447
  arithmetic_combinator,
448
448
  /**
449
449
  * {@link LuaConstantCombinatorControlBehavior}
450
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
450
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
451
451
  */
452
452
  constant_combinator,
453
453
  /**
454
454
  * {@link LuaTransportBeltControlBehavior}
455
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.transport_belt Online documentation}
455
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.transport_belt Online documentation}
456
456
  */
457
457
  transport_belt,
458
458
  /**
459
459
  * {@link LuaAccumulatorControlBehavior}
460
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.accumulator Online documentation}
460
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.accumulator Online documentation}
461
461
  */
462
462
  accumulator,
463
463
  /**
464
464
  * {@link LuaRailSignalBaseControlBehavior}
465
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.rail_signal Online documentation}
465
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.rail_signal Online documentation}
466
466
  */
467
467
  rail_signal,
468
468
  /**
469
469
  * {@link LuaRailSignalBaseControlBehavior}
470
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
470
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
471
471
  */
472
472
  rail_chain_signal,
473
473
  /**
474
474
  * {@link LuaWallControlBehavior}
475
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.wall Online documentation}
475
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.wall Online documentation}
476
476
  */
477
477
  wall,
478
478
  /**
479
479
  * {@link LuaMiningDrillControlBehavior}
480
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.mining_drill Online documentation}
480
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.mining_drill Online documentation}
481
481
  */
482
482
  mining_drill,
483
483
  /**
484
484
  * {@link LuaProgrammableSpeakerControlBehavior}
485
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
485
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
486
486
  */
487
487
  programmable_speaker,
488
488
  /**
489
489
  * {@link LuaAssemblingMachineControlBehavior}
490
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
490
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
491
491
  */
492
492
  assembling_machine,
493
493
  /**
494
494
  * {@link LuaPumpControlBehavior}
495
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.pump Online documentation}
495
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.pump Online documentation}
496
496
  */
497
497
  pump,
498
498
  /**
499
499
  * {@link LuaSelectorCombinatorControlBehavior}
500
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
500
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
501
501
  */
502
502
  selector_combinator,
503
503
  /**
504
504
  * {@link LuaRocketSiloControlBehavior}
505
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
505
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
506
506
  */
507
507
  rocket_silo,
508
508
  /**
509
509
  * {@link LuaTurretControlBehavior}
510
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.turret Online documentation}
510
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.turret Online documentation}
511
511
  */
512
512
  turret,
513
513
  /**
514
514
  * {@link LuaReactorControlBehavior}
515
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.reactor Online documentation}
515
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.reactor Online documentation}
516
516
  */
517
517
  reactor,
518
518
  /**
519
519
  * {@link LuaSpacePlatformHubControlBehavior}
520
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
520
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
521
521
  */
522
522
  space_platform_hub,
523
523
  /**
524
524
  * {@link LuaArtilleryTurretControlBehavior}
525
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
525
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
526
526
  */
527
527
  artillery_turret,
528
528
  /**
529
529
  * {@link LuaAsteroidCollectorControlBehavior}
530
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
530
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
531
531
  */
532
532
  asteroid_collector,
533
533
  /**
534
534
  * {@link LuaRadarControlBehavior}
535
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.radar Online documentation}
535
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.radar Online documentation}
536
536
  */
537
537
  radar,
538
538
  /**
539
539
  * {@link LuaDisplayPanelControlBehavior}
540
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.display_panel Online documentation}
540
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.display_panel Online documentation}
541
541
  */
542
542
  display_panel,
543
543
  /**
544
544
  * {@link LuaLoaderControlBehavior}
545
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.loader Online documentation}
545
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.loader Online documentation}
546
546
  */
547
547
  loader,
548
548
  /**
549
549
  * {@link LuaCargoLandingPadControlBehavior}
550
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
550
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
551
551
  */
552
552
  cargo_landing_pad,
553
553
  /**
554
554
  * {@link LuaAgriculturalTowerControlBehavior}
555
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
555
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
556
556
  */
557
557
  agricultural_tower,
558
558
  }
@@ -560,37 +560,37 @@ declare global {
560
560
  enum controllers {
561
561
  /**
562
562
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
563
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.ghost Online documentation}
563
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.ghost Online documentation}
564
564
  */
565
565
  ghost,
566
566
  /**
567
567
  * The controller controls a character. This is the default controller in freeplay.
568
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.character Online documentation}
568
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.character Online documentation}
569
569
  */
570
570
  character,
571
571
  /**
572
572
  * The controller isn't tied to a character. This is the default controller in sandbox.
573
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.god Online documentation}
573
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.god Online documentation}
574
574
  */
575
575
  god,
576
576
  /**
577
577
  * The Editor Controller near ultimate power to do almost anything in the game.
578
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.editor Online documentation}
578
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.editor Online documentation}
579
579
  */
580
580
  editor,
581
581
  /**
582
582
  * The player can't interact with the world, and the camera pans around in a predefined manner.
583
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.cutscene Online documentation}
583
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.cutscene Online documentation}
584
584
  */
585
585
  cutscene,
586
586
  /**
587
587
  * Can't change anything in the world but can view anything.
588
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.spectator Online documentation}
588
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.spectator Online documentation}
589
589
  */
590
590
  spectator,
591
591
  /**
592
592
  * Can't move/change items but can build ghosts/change settings.
593
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.controllers.remote Online documentation}
593
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.controllers.remote Online documentation}
594
594
  */
595
595
  remote,
596
596
  }
@@ -652,22 +652,22 @@ declare global {
652
652
  enum distraction {
653
653
  /**
654
654
  * Perform command even if someone attacks the unit.
655
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.distraction.none Online documentation}
655
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.distraction.none Online documentation}
656
656
  */
657
657
  none,
658
658
  /**
659
659
  * Attack closer enemy entities with force.
660
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.distraction.by_enemy Online documentation}
660
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.distraction.by_enemy Online documentation}
661
661
  */
662
662
  by_enemy,
663
663
  /**
664
664
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
665
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.distraction.by_anything Online documentation}
665
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.distraction.by_anything Online documentation}
666
666
  */
667
667
  by_anything,
668
668
  /**
669
669
  * Attack when attacked.
670
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.distraction.by_damage Online documentation}
670
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.distraction.by_damage Online documentation}
671
671
  */
672
672
  by_damage,
673
673
  }
@@ -676,12 +676,12 @@ declare global {
676
676
  normal,
677
677
  /**
678
678
  * Used by ghosts.
679
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.ghost Online documentation}
679
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.ghost Online documentation}
680
680
  */
681
681
  ghost,
682
682
  /**
683
683
  * Only used if set through {@link LuaEntity#status LuaEntity::status} or {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
684
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.broken Online documentation}
684
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.broken Online documentation}
685
685
  */
686
686
  broken,
687
687
  no_power,
@@ -695,267 +695,267 @@ declare global {
695
695
  marked_for_deconstruction,
696
696
  /**
697
697
  * Used by space platform hubs.
698
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.paused Online documentation}
698
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.paused Online documentation}
699
699
  */
700
700
  paused,
701
701
  /**
702
702
  * Used by generators and solar panels.
703
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
703
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
704
704
  */
705
705
  not_plugged_in_electric_network,
706
706
  /**
707
707
  * Used by power switches.
708
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.networks_connected Online documentation}
708
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.networks_connected Online documentation}
709
709
  */
710
710
  networks_connected,
711
711
  /**
712
712
  * Used by power switches.
713
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.networks_disconnected Online documentation}
713
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.networks_disconnected Online documentation}
714
714
  */
715
715
  networks_disconnected,
716
716
  /**
717
717
  * Used by accumulators.
718
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.charging Online documentation}
718
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.charging Online documentation}
719
719
  */
720
720
  charging,
721
721
  /**
722
722
  * Used by accumulators.
723
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.discharging Online documentation}
723
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.discharging Online documentation}
724
724
  */
725
725
  discharging,
726
726
  /**
727
727
  * Used by accumulators.
728
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.fully_charged Online documentation}
728
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.fully_charged Online documentation}
729
729
  */
730
730
  fully_charged,
731
731
  /**
732
732
  * Used by logistic containers.
733
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
733
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
734
734
  */
735
735
  out_of_logistic_network,
736
736
  /**
737
737
  * Used by assembling machines.
738
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_recipe Online documentation}
738
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_recipe Online documentation}
739
739
  */
740
740
  no_recipe,
741
741
  /**
742
742
  * Used by furnaces.
743
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_ingredients Online documentation}
743
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_ingredients Online documentation}
744
744
  */
745
745
  no_ingredients,
746
746
  /**
747
747
  * Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
748
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_input_fluid Online documentation}
748
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_input_fluid Online documentation}
749
749
  */
750
750
  no_input_fluid,
751
751
  /**
752
752
  * Used by labs.
753
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_research_in_progress Online documentation}
753
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_research_in_progress Online documentation}
754
754
  */
755
755
  no_research_in_progress,
756
756
  /**
757
757
  * Used by mining drills.
758
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_minable_resources Online documentation}
758
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_minable_resources Online documentation}
759
759
  */
760
760
  no_minable_resources,
761
761
  /**
762
762
  * Used by cargo bays.
763
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
763
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
764
764
  */
765
765
  not_connected_to_hub_or_pad,
766
766
  /**
767
767
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
768
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.low_input_fluid Online documentation}
768
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.low_input_fluid Online documentation}
769
769
  */
770
770
  low_input_fluid,
771
771
  /**
772
772
  * Used by crafting machines.
773
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
773
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
774
774
  */
775
775
  fluid_ingredient_shortage,
776
776
  /**
777
777
  * Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
778
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.full_output Online documentation}
778
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.full_output Online documentation}
779
779
  */
780
780
  full_output,
781
781
  /**
782
782
  * Used by agricultural towers.
783
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
783
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
784
784
  */
785
785
  not_enough_space_in_output,
786
786
  /**
787
787
  * Used by burner energy sources.
788
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
788
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
789
789
  */
790
790
  full_burnt_result_output,
791
791
  /**
792
792
  * Used by crafting machines.
793
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
793
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
794
794
  */
795
795
  item_ingredient_shortage,
796
796
  /**
797
797
  * Used by mining drills when the mining fluid is missing.
798
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.missing_required_fluid Online documentation}
798
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.missing_required_fluid Online documentation}
799
799
  */
800
800
  missing_required_fluid,
801
801
  /**
802
802
  * Used by labs.
803
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.missing_science_packs Online documentation}
803
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.missing_science_packs Online documentation}
804
804
  */
805
805
  missing_science_packs,
806
806
  /**
807
807
  * Used by inserters.
808
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
808
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
809
809
  */
810
810
  waiting_for_source_items,
811
811
  /**
812
812
  * Used by inserters when wait_for_full_hand is set.
813
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
813
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
814
814
  */
815
815
  waiting_for_more_items,
816
816
  /**
817
817
  * Used by inserters and mining drills.
818
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
818
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
819
819
  */
820
820
  waiting_for_space_in_destination,
821
821
  /**
822
822
  * Used by the rocket silo.
823
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
823
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
824
824
  */
825
825
  preparing_rocket_for_launch,
826
826
  /**
827
827
  * Used by the rocket silo.
828
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
828
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
829
829
  */
830
830
  waiting_to_launch_rocket,
831
831
  /**
832
832
  * Used by the rocket silo.
833
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
833
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
834
834
  */
835
835
  waiting_for_space_in_platform_hub,
836
836
  /**
837
837
  * Used by the rocket silo.
838
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.launching_rocket Online documentation}
838
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.launching_rocket Online documentation}
839
839
  */
840
840
  launching_rocket,
841
841
  /**
842
842
  * Used by thrusters.
843
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.thrust_not_required Online documentation}
843
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.thrust_not_required Online documentation}
844
844
  */
845
845
  thrust_not_required,
846
846
  /**
847
847
  * Used by space platform hubs.
848
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.on_the_way Online documentation}
848
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.on_the_way Online documentation}
849
849
  */
850
850
  on_the_way,
851
851
  /**
852
852
  * Used by space platform hubs.
853
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
853
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
854
854
  */
855
855
  waiting_in_orbit,
856
856
  /**
857
857
  * Used by trains.
858
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_at_stop Online documentation}
858
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_at_stop Online documentation}
859
859
  */
860
860
  waiting_at_stop,
861
861
  /**
862
862
  * Used by space platform hubs.
863
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
863
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
864
864
  */
865
865
  waiting_for_rockets_to_arrive,
866
866
  /**
867
867
  * Used by space platform hubs.
868
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.not_enough_thrust Online documentation}
868
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.not_enough_thrust Online documentation}
869
869
  */
870
870
  not_enough_thrust,
871
871
  /**
872
872
  * Used by trains.
873
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.destination_stop_full Online documentation}
873
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.destination_stop_full Online documentation}
874
874
  */
875
875
  destination_stop_full,
876
876
  /**
877
877
  * Used by trains and space platform hubs.
878
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_path Online documentation}
878
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_path Online documentation}
879
879
  */
880
880
  no_path,
881
881
  /**
882
882
  * Used by beacons.
883
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
883
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
884
884
  */
885
885
  no_modules_to_transmit,
886
886
  /**
887
887
  * Used by roboports.
888
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
888
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
889
889
  */
890
890
  recharging_after_power_outage,
891
891
  /**
892
892
  * Used by inserters targeting entity ghosts.
893
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
893
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
894
894
  */
895
895
  waiting_for_target_to_be_built,
896
896
  /**
897
897
  * Used by inserters targeting rails.
898
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_train Online documentation}
898
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_train Online documentation}
899
899
  */
900
900
  waiting_for_train,
901
901
  /**
902
902
  * Used by ammo turrets.
903
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_ammo Online documentation}
903
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_ammo Online documentation}
904
904
  */
905
905
  no_ammo,
906
906
  /**
907
907
  * Used by heat energy sources.
908
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.low_temperature Online documentation}
908
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.low_temperature Online documentation}
909
909
  */
910
910
  low_temperature,
911
911
  /**
912
912
  * Used by constant combinators: Combinator is turned off via switch in GUI.
913
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.disabled Online documentation}
913
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.disabled Online documentation}
914
914
  */
915
915
  disabled,
916
916
  /**
917
917
  * Used by lamps.
918
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
918
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
919
919
  */
920
920
  turned_off_during_daytime,
921
921
  /**
922
922
  * Used by rail signals.
923
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
923
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
924
924
  */
925
925
  not_connected_to_rail,
926
926
  /**
927
927
  * Used by rail signals.
928
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.cant_divide_segments Online documentation}
928
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.cant_divide_segments Online documentation}
929
929
  */
930
930
  cant_divide_segments,
931
931
  /**
932
932
  * Used by filter inserters.
933
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_filter Online documentation}
933
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_filter Online documentation}
934
934
  */
935
935
  no_filter,
936
936
  /**
937
937
  * Used by agricultural towers.
938
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
938
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
939
939
  */
940
940
  no_spot_seedable_by_inputs,
941
941
  /**
942
942
  * Used by agricultural towers.
943
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
943
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
944
944
  */
945
945
  waiting_for_plants_to_grow,
946
946
  /**
947
947
  * Used by asteroid collectors.
948
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.computing_navigation Online documentation}
948
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.computing_navigation Online documentation}
949
949
  */
950
950
  computing_navigation,
951
951
  /**
952
952
  * Used by pipes, pipes to ground and storage tanks.
953
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.pipeline_overextended Online documentation}
953
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.pipeline_overextended Online documentation}
954
954
  */
955
955
  pipeline_overextended,
956
956
  /**
957
957
  * Used by assembling machines.
958
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.entity_status.recipe_not_researched Online documentation}
958
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.entity_status.recipe_not_researched Online documentation}
959
959
  */
960
960
  recipe_not_researched,
961
961
  }
@@ -965,8 +965,8 @@ declare global {
965
965
  yellow,
966
966
  }
967
967
  /**
968
- * See the {@linkplain https://lua-api.factorio.com/2.0.17/events.html events page} for more info on what events contain and when they get raised.
969
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.events Online documentation}
968
+ * See the {@linkplain https://lua-api.factorio.com/2.0.21/events.html events page} for more info on what events contain and when they get raised.
969
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.events Online documentation}
970
970
  */
971
971
  namespace events {
972
972
  /**
@@ -1767,8 +1767,8 @@ declare global {
1767
1767
  const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent>
1768
1768
  }
1769
1769
  /**
1770
- * See the {@linkplain https://lua-api.factorio.com/2.0.17/events.html events page} for more info on what events contain and when they get raised.
1771
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.events Online documentation}
1770
+ * See the {@linkplain https://lua-api.factorio.com/2.0.21/events.html events page} for more info on what events contain and when they get raised.
1771
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.events Online documentation}
1772
1772
  */
1773
1773
  type events = (typeof events)[keyof typeof events]
1774
1774
  enum flow_precision_index {
@@ -1784,17 +1784,17 @@ declare global {
1784
1784
  enum game_controller_interaction {
1785
1785
  /**
1786
1786
  * Game controller will always hover this element regardless of type or state.
1787
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.game_controller_interaction.always Online documentation}
1787
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.game_controller_interaction.always Online documentation}
1788
1788
  */
1789
1789
  always,
1790
1790
  /**
1791
1791
  * Never hover this element with a game controller.
1792
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.game_controller_interaction.never Online documentation}
1792
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.game_controller_interaction.never Online documentation}
1793
1793
  */
1794
1794
  never,
1795
1795
  /**
1796
1796
  * Hover according to the element type and implementation.
1797
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.game_controller_interaction.normal Online documentation}
1797
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.game_controller_interaction.normal Online documentation}
1798
1798
  */
1799
1799
  normal,
1800
1800
  }
@@ -2178,12 +2178,12 @@ declare global {
2178
2178
  circuit_controlled,
2179
2179
  /**
2180
2180
  * Used by rocket silos.
2181
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2181
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2182
2182
  */
2183
2183
  transitional_request_controlled,
2184
2184
  /**
2185
2185
  * Used by space platform hubs.
2186
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2186
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2187
2187
  */
2188
2188
  request_missing_materials_controlled,
2189
2189
  }
@@ -2202,17 +2202,17 @@ declare global {
2202
2202
  enum print_skip {
2203
2203
  /**
2204
2204
  * Print will not be skipped.
2205
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.print_skip.never Online documentation}
2205
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.print_skip.never Online documentation}
2206
2206
  */
2207
2207
  never,
2208
2208
  /**
2209
2209
  * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
2210
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.print_skip.if_redundant Online documentation}
2210
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.print_skip.if_redundant Online documentation}
2211
2211
  */
2212
2212
  if_redundant,
2213
2213
  /**
2214
2214
  * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
2215
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.print_skip.if_visible Online documentation}
2215
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.print_skip.if_visible Online documentation}
2216
2216
  */
2217
2217
  if_visible,
2218
2218
  }
@@ -2223,7 +2223,7 @@ declare global {
2223
2223
  }
2224
2224
  /**
2225
2225
  * This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`.
2226
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.prototypes Online documentation}
2226
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.prototypes Online documentation}
2227
2227
  */
2228
2228
  interface prototypes {
2229
2229
  achievement: {
@@ -2612,7 +2612,7 @@ declare global {
2612
2612
  }
2613
2613
  /**
2614
2614
  * This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`.
2615
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.prototypes Online documentation}
2615
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.prototypes Online documentation}
2616
2616
  */
2617
2617
  const prototypes: prototypes
2618
2618
  enum rail_connection_direction {
@@ -2737,128 +2737,128 @@ declare global {
2737
2737
  enum robot_order_type {
2738
2738
  /**
2739
2739
  * Construct a ghost.
2740
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.construct Online documentation}
2740
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.construct Online documentation}
2741
2741
  */
2742
2742
  construct,
2743
2743
  /**
2744
2744
  * Pickup an item.
2745
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.pickup Online documentation}
2745
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.pickup Online documentation}
2746
2746
  */
2747
2747
  pickup,
2748
2748
  /**
2749
2749
  * Deliver an item.
2750
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.deliver Online documentation}
2750
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.deliver Online documentation}
2751
2751
  */
2752
2752
  deliver,
2753
2753
  /**
2754
2754
  * Repair an entity.
2755
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.repair Online documentation}
2755
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.repair Online documentation}
2756
2756
  */
2757
2757
  repair,
2758
2758
  /**
2759
2759
  * Deconstruct an entity.
2760
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.deconstruct Online documentation}
2760
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.deconstruct Online documentation}
2761
2761
  */
2762
2762
  deconstruct,
2763
2763
  /**
2764
2764
  * Deliver specific items to an entity (item request proxy).
2765
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.deliver_items Online documentation}
2765
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.deliver_items Online documentation}
2766
2766
  */
2767
2767
  deliver_items,
2768
2768
  /**
2769
2769
  * Upgrade an entity.
2770
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.upgrade Online documentation}
2770
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.upgrade Online documentation}
2771
2771
  */
2772
2772
  upgrade,
2773
2773
  /**
2774
2774
  * Explode a cliff.
2775
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.explode_cliff Online documentation}
2775
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.explode_cliff Online documentation}
2776
2776
  */
2777
2777
  explode_cliff,
2778
2778
  /**
2779
2779
  * Pickup items from an entity (item request proxy).
2780
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.robot_order_type.pickup_items Online documentation}
2780
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.robot_order_type.pickup_items Online documentation}
2781
2781
  */
2782
2782
  pickup_items,
2783
2783
  }
2784
2784
  /**
2785
2785
  * The various parts of the launch sequence of the rocket silo.
2786
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status Online documentation}
2786
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status Online documentation}
2787
2787
  */
2788
2788
  enum rocket_silo_status {
2789
2789
  /**
2790
2790
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
2791
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2791
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2792
2792
  */
2793
2793
  building_rocket,
2794
2794
  /**
2795
2795
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
2796
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2796
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2797
2797
  */
2798
2798
  create_rocket,
2799
2799
  /**
2800
2800
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
2801
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2801
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2802
2802
  */
2803
2803
  lights_blinking_open,
2804
2804
  /**
2805
2805
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
2806
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2806
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2807
2807
  */
2808
2808
  doors_opening,
2809
2809
  /**
2810
2810
  * The next state is `rocket_rising` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch.
2811
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2811
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2812
2812
  */
2813
2813
  doors_opened,
2814
2814
  /**
2815
2815
  * The next state is `arms_advance` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch.
2816
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2816
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2817
2817
  */
2818
2818
  rocket_rising,
2819
2819
  /**
2820
2820
  * The next state is `rocket_ready` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch.
2821
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2821
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2822
2822
  */
2823
2823
  arms_advance,
2824
2824
  /**
2825
2825
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
2826
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2826
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2827
2827
  */
2828
2828
  rocket_ready,
2829
2829
  /**
2830
2830
  * The next state is `launch_started`.
2831
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2831
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2832
2832
  */
2833
2833
  launch_starting,
2834
2834
  /**
2835
2835
  * The next state is `arms_retract` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched.
2836
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2836
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2837
2837
  */
2838
2838
  engine_starting,
2839
2839
  /**
2840
2840
  * The next state is `rocket_flying` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched.
2841
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2841
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2842
2842
  */
2843
2843
  arms_retract,
2844
2844
  /**
2845
2845
  * The next state is `lights_blinking_close`. The rocket is getting launched.
2846
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2846
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2847
2847
  */
2848
2848
  rocket_flying,
2849
2849
  /**
2850
2850
  * The next state is `doors_closing`.
2851
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2851
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2852
2852
  */
2853
2853
  lights_blinking_close,
2854
2854
  /**
2855
2855
  * The next state is `building_rocket`.
2856
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2856
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2857
2857
  */
2858
2858
  doors_closing,
2859
2859
  /**
2860
2860
  * The next state is `engine_starting` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched.
2861
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2861
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2862
2862
  */
2863
2863
  launch_started,
2864
2864
  }
@@ -2875,74 +2875,74 @@ declare global {
2875
2875
  }
2876
2876
  /**
2877
2877
  * State of an ordinary rail signal.
2878
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.signal_state Online documentation}
2878
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.signal_state Online documentation}
2879
2879
  */
2880
2880
  enum signal_state {
2881
2881
  /**
2882
2882
  * Green.
2883
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.signal_state.open Online documentation}
2883
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.signal_state.open Online documentation}
2884
2884
  */
2885
2885
  open,
2886
2886
  /**
2887
2887
  * Red.
2888
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.signal_state.closed Online documentation}
2888
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.signal_state.closed Online documentation}
2889
2889
  */
2890
2890
  closed,
2891
2891
  /**
2892
2892
  * Orange.
2893
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.signal_state.reserved Online documentation}
2893
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.signal_state.reserved Online documentation}
2894
2894
  */
2895
2895
  reserved,
2896
2896
  /**
2897
2897
  * Red - From circuit network.
2898
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2898
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2899
2899
  */
2900
2900
  reserved_by_circuit_network,
2901
2901
  }
2902
2902
  enum space_platform_state {
2903
2903
  /**
2904
2904
  * Waiting for a starter pack.
2905
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
2905
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
2906
2906
  */
2907
2907
  waiting_for_starter_pack,
2908
2908
  /**
2909
2909
  * Starter pack was requested from the logistics system.
2910
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
2910
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
2911
2911
  */
2912
2912
  starter_pack_requested,
2913
2913
  /**
2914
2914
  * Starter pack is on the way.
2915
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
2915
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
2916
2916
  */
2917
2917
  starter_pack_on_the_way,
2918
2918
  /**
2919
2919
  * Following the path.
2920
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.on_the_path Online documentation}
2920
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.on_the_path Online documentation}
2921
2921
  */
2922
2922
  on_the_path,
2923
2923
  /**
2924
2924
  * Platform is ready to leave this planet and does not accept deliveries.
2925
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
2925
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
2926
2926
  */
2927
2927
  waiting_for_departure,
2928
2928
  /**
2929
2929
  * Waiting for a starter pack
2930
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.no_schedule Online documentation}
2930
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.no_schedule Online documentation}
2931
2931
  */
2932
2932
  no_schedule,
2933
2933
  /**
2934
2934
  * Doesn't have anywhere to go.
2935
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.no_path Online documentation}
2935
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.no_path Online documentation}
2936
2936
  */
2937
2937
  no_path,
2938
2938
  /**
2939
2939
  * Waiting at a station.
2940
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
2940
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
2941
2941
  */
2942
2942
  waiting_at_station,
2943
2943
  /**
2944
2944
  * Paused.
2945
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.space_platform_state.paused Online documentation}
2945
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.space_platform_state.paused Online documentation}
2946
2946
  */
2947
2947
  paused,
2948
2948
  }
@@ -2969,52 +2969,52 @@ declare global {
2969
2969
  enum train_state {
2970
2970
  /**
2971
2971
  * Normal state -- following the path.
2972
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.on_the_path Online documentation}
2972
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.on_the_path Online documentation}
2973
2973
  */
2974
2974
  on_the_path,
2975
2975
  /**
2976
2976
  * Doesn't have anywhere to go.
2977
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.no_schedule Online documentation}
2977
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.no_schedule Online documentation}
2978
2978
  */
2979
2979
  no_schedule,
2980
2980
  /**
2981
2981
  * Has no path and is stopped.
2982
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.no_path Online documentation}
2982
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.no_path Online documentation}
2983
2983
  */
2984
2984
  no_path,
2985
2985
  /**
2986
2986
  * Braking before a rail signal.
2987
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.arrive_signal Online documentation}
2987
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.arrive_signal Online documentation}
2988
2988
  */
2989
2989
  arrive_signal,
2990
2990
  /**
2991
2991
  * Waiting at a signal.
2992
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.wait_signal Online documentation}
2992
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.wait_signal Online documentation}
2993
2993
  */
2994
2994
  wait_signal,
2995
2995
  /**
2996
2996
  * Braking before a station.
2997
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.arrive_station Online documentation}
2997
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.arrive_station Online documentation}
2998
2998
  */
2999
2999
  arrive_station,
3000
3000
  /**
3001
3001
  * Switched to manual control and has to stop.
3002
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.manual_control_stop Online documentation}
3002
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.manual_control_stop Online documentation}
3003
3003
  */
3004
3004
  manual_control_stop,
3005
3005
  /**
3006
3006
  * Can move if user explicitly sits in and rides the train.
3007
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.manual_control Online documentation}
3007
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.manual_control Online documentation}
3008
3008
  */
3009
3009
  manual_control,
3010
3010
  /**
3011
3011
  * Waiting at a station.
3012
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.wait_station Online documentation}
3012
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.wait_station Online documentation}
3013
3013
  */
3014
3014
  wait_station,
3015
3015
  /**
3016
3016
  * Same as no_path but all candidate train stops are full
3017
- * @see {@link https://lua-api.factorio.com/2.0.17/defines.html#defines.train_state.destination_full Online documentation}
3017
+ * @see {@link https://lua-api.factorio.com/2.0.21/defines.html#defines.train_state.destination_full Online documentation}
3018
3018
  */
3019
3019
  destination_full,
3020
3020
  }