typed-factorio 4.0.1 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -101,6 +101,7 @@ import type {
101
101
  OnMarketItemPurchasedEvent,
102
102
  OnModItemOpenedEvent,
103
103
  OnMultiplayerInitEvent,
104
+ OnNextDayStartedEvent,
104
105
  OnObjectDestroyedEvent,
105
106
  OnPermissionGroupAddedEvent,
106
107
  OnPermissionGroupDeletedEvent,
@@ -162,6 +163,7 @@ import type {
162
163
  OnPlayerSelectedAreaEvent,
163
164
  OnPlayerSetQuickBarSlotEvent,
164
165
  OnPlayerSetupBlueprintEvent,
166
+ OnPlayerSuperForcedSelectedAreaEvent,
165
167
  OnPlayerToggledAltModeEvent,
166
168
  OnPlayerToggledMapEditorEvent,
167
169
  OnPlayerTrashInventoryChangedEvent,
@@ -265,6 +267,7 @@ declare global {
265
267
  custom,
266
268
  entity_destroyed,
267
269
  entity_under_attack,
270
+ expansion_base_built,
268
271
  fluid_mixing,
269
272
  no_material_for_construction,
270
273
  no_platform_storage,
@@ -282,7 +285,7 @@ declare global {
282
285
  }
283
286
  /**
284
287
  * AI command exit status, see {@link LuaCommandable#set_command LuaCommandable::set_command}
285
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.behavior_result Online documentation}
288
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.behavior_result Online documentation}
286
289
  */
287
290
  enum behavior_result {
288
291
  in_progress,
@@ -306,33 +309,33 @@ declare global {
306
309
  enum cargo_destination {
307
310
  /**
308
311
  * The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it.
309
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.cargo_destination.invalid Online documentation}
312
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.invalid Online documentation}
310
313
  */
311
314
  invalid,
312
315
  /**
313
316
  * Cargo pods with orbit destination are destroyed when ascent is completed.
314
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.cargo_destination.orbit Online documentation}
317
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.orbit Online documentation}
315
318
  */
316
319
  orbit,
317
320
  /**
318
321
  * Any cargo landing pad or space platform hub.
319
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.cargo_destination.station Online documentation}
322
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.station Online documentation}
320
323
  */
321
324
  station,
322
325
  /**
323
326
  * Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination#position CargoDestination::position} has not been specified. Note, setting the destination to "surface" when the surface is the same as the one the pod is on forces it to find and set a landing position.
324
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.cargo_destination.surface Online documentation}
327
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.surface Online documentation}
325
328
  */
326
329
  surface,
327
330
  /**
328
331
  * Only used for sending a space platform starter pack to a platform that is waiting for one. Regular deliveries to space platform hubs use {@link defines.cargo_destination.station station} destination type instead.
329
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.cargo_destination.space_platform Online documentation}
332
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.space_platform Online documentation}
330
333
  */
331
334
  space_platform,
332
335
  }
333
336
  /**
334
337
  * State of a chain signal.
335
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.chain_signal_state Online documentation}
338
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.chain_signal_state Online documentation}
336
339
  */
337
340
  enum chain_signal_state {
338
341
  none,
@@ -350,73 +353,73 @@ declare global {
350
353
  }
351
354
  /**
352
355
  * Command given to units describing what they should do.
353
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command Online documentation}
356
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command Online documentation}
354
357
  */
355
358
  enum command {
356
359
  /**
357
360
  * Attack another entity.
358
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.attack Online documentation}
361
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.attack Online documentation}
359
362
  */
360
363
  attack = 0,
361
364
  /**
362
365
  * Go to a specific position.
363
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.go_to_location Online documentation}
366
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.go_to_location Online documentation}
364
367
  */
365
368
  go_to_location = 1,
366
369
  /**
367
370
  * Chain commands together, see {@link defines.compound_command}.
368
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.compound Online documentation}
371
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.compound Online documentation}
369
372
  */
370
373
  compound = 2,
371
374
  /**
372
375
  * Do what your group wants you to do.
373
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.group Online documentation}
376
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.group Online documentation}
374
377
  */
375
378
  group = 3,
376
379
  /**
377
380
  * Go to a place and attack what you see.
378
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.attack_area Online documentation}
381
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.attack_area Online documentation}
379
382
  */
380
383
  attack_area = 4,
381
384
  /**
382
385
  * Chill.
383
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.wander Online documentation}
386
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.wander Online documentation}
384
387
  */
385
388
  wander = 5,
386
389
  /**
387
390
  * Flee from another entity.
388
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.flee Online documentation}
391
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.flee Online documentation}
389
392
  */
390
393
  flee = 6,
391
394
  /**
392
395
  * Stop moving and stay where you are.
393
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.stop Online documentation}
396
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.stop Online documentation}
394
397
  */
395
398
  stop = 7,
396
399
  /**
397
400
  * Go to a position and build a base there.
398
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.command.build_base Online documentation}
401
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.build_base Online documentation}
399
402
  */
400
403
  build_base = 8,
401
404
  }
402
405
  /**
403
406
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
404
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.compound_command Online documentation}
407
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command Online documentation}
405
408
  */
406
409
  enum compound_command {
407
410
  /**
408
411
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
409
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.compound_command.logical_and Online documentation}
412
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command.logical_and Online documentation}
410
413
  */
411
414
  logical_and,
412
415
  /**
413
416
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
414
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.compound_command.logical_or Online documentation}
417
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command.logical_or Online documentation}
415
418
  */
416
419
  logical_or,
417
420
  /**
418
421
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
419
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.compound_command.return_last Online documentation}
422
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command.return_last Online documentation}
420
423
  */
421
424
  return_last,
422
425
  }
@@ -480,197 +483,197 @@ declare global {
480
483
  enum type {
481
484
  /**
482
485
  * {@link LuaContainerControlBehavior}
483
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.container Online documentation}
486
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.container Online documentation}
484
487
  */
485
488
  container,
486
489
  /**
487
490
  * {@link LuaGenericOnOffControlBehavior}
488
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
491
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
489
492
  */
490
493
  generic_on_off,
491
494
  /**
492
495
  * {@link LuaInserterControlBehavior}
493
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.inserter Online documentation}
496
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.inserter Online documentation}
494
497
  */
495
498
  inserter,
496
499
  /**
497
500
  * {@link LuaLampControlBehavior}
498
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.lamp Online documentation}
501
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.lamp Online documentation}
499
502
  */
500
503
  lamp,
501
504
  /**
502
505
  * {@link LuaLogisticContainerControlBehavior}
503
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.logistic_container Online documentation}
506
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.logistic_container Online documentation}
504
507
  */
505
508
  logistic_container,
506
509
  /**
507
510
  * {@link LuaRoboportControlBehavior}
508
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.roboport Online documentation}
511
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.roboport Online documentation}
509
512
  */
510
513
  roboport,
511
514
  /**
512
515
  * {@link LuaSingleFluidBoxControlBehavior}
513
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.single_fluid_box Online documentation}
516
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.single_fluid_box Online documentation}
514
517
  */
515
518
  single_fluid_box,
516
519
  /**
517
520
  * {@link LuaTrainStopControlBehavior}
518
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.train_stop Online documentation}
521
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.train_stop Online documentation}
519
522
  */
520
523
  train_stop,
521
524
  /**
522
525
  * {@link LuaDeciderCombinatorControlBehavior}
523
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
526
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
524
527
  */
525
528
  decider_combinator,
526
529
  /**
527
530
  * {@link LuaArithmeticCombinatorControlBehavior}
528
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
531
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
529
532
  */
530
533
  arithmetic_combinator,
531
534
  /**
532
535
  * {@link LuaConstantCombinatorControlBehavior}
533
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
536
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
534
537
  */
535
538
  constant_combinator,
536
539
  /**
537
540
  * {@link LuaTransportBeltControlBehavior}
538
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.transport_belt Online documentation}
541
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.transport_belt Online documentation}
539
542
  */
540
543
  transport_belt,
541
544
  /**
542
545
  * {@link LuaAccumulatorControlBehavior}
543
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.accumulator Online documentation}
546
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.accumulator Online documentation}
544
547
  */
545
548
  accumulator,
546
549
  /**
547
550
  * {@link LuaRailSignalBaseControlBehavior}
548
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.rail_signal Online documentation}
551
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.rail_signal Online documentation}
549
552
  */
550
553
  rail_signal,
551
554
  /**
552
555
  * {@link LuaRailSignalBaseControlBehavior}
553
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
556
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
554
557
  */
555
558
  rail_chain_signal,
556
559
  /**
557
560
  * {@link LuaWallControlBehavior}
558
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.wall Online documentation}
561
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.wall Online documentation}
559
562
  */
560
563
  wall,
561
564
  /**
562
565
  * {@link LuaMiningDrillControlBehavior}
563
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.mining_drill Online documentation}
566
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.mining_drill Online documentation}
564
567
  */
565
568
  mining_drill,
566
569
  /**
567
570
  * {@link LuaProgrammableSpeakerControlBehavior}
568
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
571
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
569
572
  */
570
573
  programmable_speaker,
571
574
  /**
572
575
  * {@link LuaAssemblingMachineControlBehavior}
573
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
576
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
574
577
  */
575
578
  assembling_machine,
576
579
  /**
577
580
  * {@link LuaPumpControlBehavior}
578
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.pump Online documentation}
581
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.pump Online documentation}
579
582
  */
580
583
  pump,
581
584
  /**
582
585
  * {@link LuaSelectorCombinatorControlBehavior}
583
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
586
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
584
587
  */
585
588
  selector_combinator,
586
589
  /**
587
590
  * {@link LuaRocketSiloControlBehavior}
588
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
591
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
589
592
  */
590
593
  rocket_silo,
591
594
  /**
592
595
  * {@link LuaTurretControlBehavior}
593
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.turret Online documentation}
596
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.turret Online documentation}
594
597
  */
595
598
  turret,
596
599
  /**
597
600
  * {@link LuaReactorControlBehavior}
598
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.reactor Online documentation}
601
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.reactor Online documentation}
599
602
  */
600
603
  reactor,
601
604
  /**
602
605
  * {@link LuaSpacePlatformHubControlBehavior}
603
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
606
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
604
607
  */
605
608
  space_platform_hub,
606
609
  /**
607
610
  * {@link LuaArtilleryTurretControlBehavior}
608
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
611
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
609
612
  */
610
613
  artillery_turret,
611
614
  /**
612
615
  * {@link LuaAsteroidCollectorControlBehavior}
613
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
616
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
614
617
  */
615
618
  asteroid_collector,
616
619
  /**
617
620
  * {@link LuaRadarControlBehavior}
618
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.radar Online documentation}
621
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.radar Online documentation}
619
622
  */
620
623
  radar,
621
624
  /**
622
625
  * {@link LuaDisplayPanelControlBehavior}
623
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.display_panel Online documentation}
626
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.display_panel Online documentation}
624
627
  */
625
628
  display_panel,
626
629
  /**
627
630
  * {@link LuaLoaderControlBehavior}
628
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.loader Online documentation}
631
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.loader Online documentation}
629
632
  */
630
633
  loader,
631
634
  /**
632
635
  * {@link LuaCargoLandingPadControlBehavior}
633
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
636
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
634
637
  */
635
638
  cargo_landing_pad,
636
639
  /**
637
640
  * {@link LuaAgriculturalTowerControlBehavior}
638
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
641
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
639
642
  */
640
643
  agricultural_tower,
641
644
  /**
642
645
  * {@link LuaFurnaceControlBehavior}
643
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.furnace Online documentation}
646
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.furnace Online documentation}
644
647
  */
645
648
  furnace,
646
649
  /**
647
650
  * {@link LuaProxyContainerControlBehavior}
648
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.proxy_container Online documentation}
651
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.proxy_container Online documentation}
649
652
  */
650
653
  proxy_container,
651
654
  /**
652
655
  * {@link LuaSplitterControlBehavior}
653
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.splitter Online documentation}
656
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.splitter Online documentation}
654
657
  */
655
658
  splitter,
656
659
  /**
657
660
  * {@link LuaLabControlBehavior}
658
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.lab Online documentation}
661
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.lab Online documentation}
659
662
  */
660
663
  lab,
661
664
  /**
662
665
  * {@link LuaHeatPipeControlBehavior}
663
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.heat_pipe Online documentation}
666
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.heat_pipe Online documentation}
664
667
  */
665
668
  heat_pipe,
666
669
  /**
667
670
  * {@link LuaBoilerControlBehavior}
668
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.boiler Online documentation}
671
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.boiler Online documentation}
669
672
  */
670
673
  boiler,
671
674
  /**
672
675
  * {@link LuaLandMineControlBehavior}
673
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.control_behavior.type.land_mine Online documentation}
676
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.land_mine Online documentation}
674
677
  */
675
678
  land_mine,
676
679
  }
@@ -678,37 +681,37 @@ declare global {
678
681
  enum controllers {
679
682
  /**
680
683
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
681
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.ghost Online documentation}
684
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.ghost Online documentation}
682
685
  */
683
686
  ghost,
684
687
  /**
685
688
  * The controller controls a character. This is the default controller in freeplay.
686
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.character Online documentation}
689
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.character Online documentation}
687
690
  */
688
691
  character,
689
692
  /**
690
693
  * The controller isn't tied to a character. This is the default controller in sandbox.
691
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.god Online documentation}
694
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.god Online documentation}
692
695
  */
693
696
  god,
694
697
  /**
695
698
  * The Editor Controller near ultimate power to do almost anything in the game.
696
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.editor Online documentation}
699
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.editor Online documentation}
697
700
  */
698
701
  editor,
699
702
  /**
700
703
  * The player can't interact with the world, and the camera pans around in a predefined manner.
701
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.cutscene Online documentation}
704
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.cutscene Online documentation}
702
705
  */
703
706
  cutscene,
704
707
  /**
705
708
  * Can't change anything in the world but can view anything.
706
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.spectator Online documentation}
709
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.spectator Online documentation}
707
710
  */
708
711
  spectator,
709
712
  /**
710
713
  * Can't move/change items but can build ghosts/change settings.
711
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.controllers.remote Online documentation}
714
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.remote Online documentation}
712
715
  */
713
716
  remote,
714
717
  }
@@ -767,22 +770,22 @@ declare global {
767
770
  enum distraction {
768
771
  /**
769
772
  * Perform command even if someone attacks the unit.
770
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.distraction.none Online documentation}
773
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.none Online documentation}
771
774
  */
772
775
  none,
773
776
  /**
774
777
  * Attack closer enemy entities with force.
775
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.distraction.by_enemy Online documentation}
778
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.by_enemy Online documentation}
776
779
  */
777
780
  by_enemy,
778
781
  /**
779
782
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
780
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.distraction.by_anything Online documentation}
783
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.by_anything Online documentation}
781
784
  */
782
785
  by_anything,
783
786
  /**
784
787
  * Attack when attacked.
785
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.distraction.by_damage Online documentation}
788
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.by_damage Online documentation}
786
789
  */
787
790
  by_damage,
788
791
  }
@@ -802,12 +805,12 @@ declare global {
802
805
  normal,
803
806
  /**
804
807
  * Used by ghosts.
805
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.ghost Online documentation}
808
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.ghost Online documentation}
806
809
  */
807
810
  ghost,
808
811
  /**
809
812
  * Only used if set through {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
810
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.broken Online documentation}
813
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.broken Online documentation}
811
814
  */
812
815
  broken,
813
816
  no_power,
@@ -821,297 +824,297 @@ declare global {
821
824
  marked_for_deconstruction,
822
825
  /**
823
826
  * Used by space platform hubs.
824
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.paused Online documentation}
827
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.paused Online documentation}
825
828
  */
826
829
  paused,
827
830
  /**
828
831
  * Used by generators and solar panels.
829
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
832
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
830
833
  */
831
834
  not_plugged_in_electric_network,
832
835
  /**
833
836
  * Used by power switches.
834
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.networks_connected Online documentation}
837
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.networks_connected Online documentation}
835
838
  */
836
839
  networks_connected,
837
840
  /**
838
841
  * Used by power switches.
839
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.networks_disconnected Online documentation}
842
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.networks_disconnected Online documentation}
840
843
  */
841
844
  networks_disconnected,
842
845
  /**
843
846
  * Used by accumulators.
844
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.charging Online documentation}
847
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.charging Online documentation}
845
848
  */
846
849
  charging,
847
850
  /**
848
851
  * Used by accumulators.
849
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.discharging Online documentation}
852
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.discharging Online documentation}
850
853
  */
851
854
  discharging,
852
855
  /**
853
856
  * Used by accumulators.
854
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.fully_charged Online documentation}
857
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.fully_charged Online documentation}
855
858
  */
856
859
  fully_charged,
857
860
  /**
858
861
  * Used by logistic containers.
859
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
862
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
860
863
  */
861
864
  out_of_logistic_network,
862
865
  /**
863
866
  * Used by assembling machines.
864
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_recipe Online documentation}
867
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_recipe Online documentation}
865
868
  */
866
869
  no_recipe,
867
870
  /**
868
871
  * Used by furnaces.
869
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_ingredients Online documentation}
872
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_ingredients Online documentation}
870
873
  */
871
874
  no_ingredients,
872
875
  /**
873
876
  * Used by boilers, fluid turrets, and fluid energy sources: Boiler has no fluid to work with.
874
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_input_fluid Online documentation}
877
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_input_fluid Online documentation}
875
878
  */
876
879
  no_input_fluid,
877
880
  /**
878
881
  * Used by labs.
879
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_research_in_progress Online documentation}
882
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_research_in_progress Online documentation}
880
883
  */
881
884
  no_research_in_progress,
882
885
  /**
883
886
  * Used by mining drills.
884
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_minable_resources Online documentation}
887
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_minable_resources Online documentation}
885
888
  */
886
889
  no_minable_resources,
887
890
  /**
888
891
  * Used by cargo bays.
889
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.hatches_blocked_by_elevated_rail Online documentation}
892
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.hatches_blocked_by_elevated_rail Online documentation}
890
893
  */
891
894
  hatches_blocked_by_elevated_rail,
892
895
  /**
893
896
  * Used by cargo bays.
894
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
897
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
895
898
  */
896
899
  not_connected_to_hub_or_pad,
897
900
  /**
898
901
  * Used by some cargo bays.
899
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.too_far_from_pad_to_unload Online documentation}
902
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.too_far_from_pad_to_unload Online documentation}
900
903
  */
901
904
  too_far_from_pad_to_unload,
902
905
  /**
903
906
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
904
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.low_input_fluid Online documentation}
907
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.low_input_fluid Online documentation}
905
908
  */
906
909
  low_input_fluid,
907
910
  /**
908
911
  * Used by crafting machines.
909
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
912
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
910
913
  */
911
914
  fluid_ingredient_shortage,
912
915
  /**
913
916
  * Used by crafting machines, boilers, burner energy sources, and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
914
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.full_output Online documentation}
917
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.full_output Online documentation}
915
918
  */
916
919
  full_output,
917
920
  /**
918
921
  * Used by agricultural towers.
919
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
922
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
920
923
  */
921
924
  not_enough_space_in_output,
922
925
  /**
923
926
  * Used by burner energy sources.
924
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
927
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
925
928
  */
926
929
  full_burnt_result_output,
927
930
  /**
928
931
  * Used by crafting machines.
929
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
932
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
930
933
  */
931
934
  item_ingredient_shortage,
932
935
  /**
933
936
  * Used by mining drills when the mining fluid is missing.
934
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.missing_required_fluid Online documentation}
937
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.missing_required_fluid Online documentation}
935
938
  */
936
939
  missing_required_fluid,
937
940
  /**
938
941
  * Used by labs.
939
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.missing_science_packs Online documentation}
942
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.missing_science_packs Online documentation}
940
943
  */
941
944
  missing_science_packs,
942
945
  /**
943
946
  * Used by inserters.
944
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
947
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
945
948
  */
946
949
  waiting_for_source_items,
947
950
  /**
948
951
  * Used by inserters when wait_for_full_hand is set.
949
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
952
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
950
953
  */
951
954
  waiting_for_more_items,
952
955
  /**
953
956
  * Used by inserters, mining drills, and crafting machines using vector_to_place_result.
954
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
957
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
955
958
  */
956
959
  waiting_for_space_in_destination,
957
960
  /**
958
961
  * Used by the rocket silo.
959
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
962
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
960
963
  */
961
964
  preparing_rocket_for_launch,
962
965
  /**
963
966
  * Used by the rocket silo.
964
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
967
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
965
968
  */
966
969
  waiting_to_launch_rocket,
967
970
  /**
968
971
  * Used by the rocket silo.
969
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
972
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
970
973
  */
971
974
  waiting_for_space_in_platform_hub,
972
975
  /**
973
976
  * Used by the rocket silo.
974
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.launching_rocket Online documentation}
977
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.launching_rocket Online documentation}
975
978
  */
976
979
  launching_rocket,
977
980
  /**
978
981
  * Used by thrusters.
979
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.thrust_not_required Online documentation}
982
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.thrust_not_required Online documentation}
980
983
  */
981
984
  thrust_not_required,
982
985
  /**
983
986
  * Used by space platform hubs.
984
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.on_the_way Online documentation}
987
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.on_the_way Online documentation}
985
988
  */
986
989
  on_the_way,
987
990
  /**
988
991
  * Used by space platform hubs.
989
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
992
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
990
993
  */
991
994
  waiting_in_orbit,
992
995
  /**
993
996
  * Used by trains.
994
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_at_stop Online documentation}
997
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_at_stop Online documentation}
995
998
  */
996
999
  waiting_at_stop,
997
1000
  /**
998
1001
  * Used by trains.
999
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_upgrade Online documentation}
1002
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_upgrade Online documentation}
1000
1003
  */
1001
1004
  waiting_for_upgrade,
1002
1005
  /**
1003
1006
  * Used by space platform hubs.
1004
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
1007
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
1005
1008
  */
1006
1009
  waiting_for_rockets_to_arrive,
1007
1010
  /**
1008
1011
  * Used by space platform hubs.
1009
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_to_clear_drop_slots Online documentation}
1012
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_to_clear_drop_slots Online documentation}
1010
1013
  */
1011
1014
  waiting_to_clear_drop_slots,
1012
1015
  /**
1013
1016
  * Used by space platform hubs.
1014
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.not_enough_thrust Online documentation}
1017
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_enough_thrust Online documentation}
1015
1018
  */
1016
1019
  not_enough_thrust,
1017
1020
  /**
1018
1021
  * Used by trains.
1019
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.destination_stop_full Online documentation}
1022
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.destination_stop_full Online documentation}
1020
1023
  */
1021
1024
  destination_stop_full,
1022
1025
  /**
1023
1026
  * Used by trains and space platform hubs.
1024
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_path Online documentation}
1027
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_path Online documentation}
1025
1028
  */
1026
1029
  no_path,
1027
1030
  /**
1028
1031
  * Used by beacons.
1029
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
1032
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
1030
1033
  */
1031
1034
  no_modules_to_transmit,
1032
1035
  /**
1033
1036
  * Used by roboports.
1034
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
1037
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
1035
1038
  */
1036
1039
  recharging_after_power_outage,
1037
1040
  /**
1038
1041
  * Used by inserters targeting entity ghosts.
1039
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
1042
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
1040
1043
  */
1041
1044
  waiting_for_target_to_be_built,
1042
1045
  /**
1043
1046
  * Used by inserters targeting rails.
1044
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_train Online documentation}
1047
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_train Online documentation}
1045
1048
  */
1046
1049
  waiting_for_train,
1047
1050
  /**
1048
1051
  * Used by ammo turrets.
1049
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_ammo Online documentation}
1052
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_ammo Online documentation}
1050
1053
  */
1051
1054
  no_ammo,
1052
1055
  /**
1053
1056
  * Used by heat energy sources.
1054
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.low_temperature Online documentation}
1057
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.low_temperature Online documentation}
1055
1058
  */
1056
1059
  low_temperature,
1057
1060
  /**
1058
- * Used by constant combinators: Combinator is turned off via switch in GUI.
1059
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.disabled Online documentation}
1061
+ * Used by constant combinators: Combinator is turned off via switch in GUI. Also used by inserters.
1062
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.disabled Online documentation}
1060
1063
  */
1061
1064
  disabled,
1062
1065
  /**
1063
1066
  * Used by lamps.
1064
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
1067
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
1065
1068
  */
1066
1069
  turned_off_during_daytime,
1067
1070
  /**
1068
1071
  * Used by rail signals.
1069
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
1072
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
1070
1073
  */
1071
1074
  not_connected_to_rail,
1072
1075
  /**
1073
1076
  * Used by rail signals.
1074
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.cant_divide_segments Online documentation}
1077
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.cant_divide_segments Online documentation}
1075
1078
  */
1076
1079
  cant_divide_segments,
1077
1080
  /**
1078
1081
  * Used by filter inserters.
1079
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_filter Online documentation}
1082
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_filter Online documentation}
1080
1083
  */
1081
1084
  no_filter,
1082
1085
  /**
1083
1086
  * Used by agricultural towers.
1084
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
1087
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
1085
1088
  */
1086
1089
  no_spot_seedable_by_inputs,
1087
1090
  /**
1088
1091
  * Used by agricultural towers.
1089
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
1092
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
1090
1093
  */
1091
1094
  waiting_for_plants_to_grow,
1092
1095
  /**
1093
1096
  * Used by asteroid collectors.
1094
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.computing_navigation Online documentation}
1097
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.computing_navigation Online documentation}
1095
1098
  */
1096
1099
  computing_navigation,
1097
1100
  /**
1098
1101
  * Used by pipes, pipes to ground, and storage tanks.
1099
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.pipeline_overextended Online documentation}
1102
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.pipeline_overextended Online documentation}
1100
1103
  */
1101
1104
  pipeline_overextended,
1102
1105
  /**
1103
1106
  * Used by assembling machines.
1104
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1107
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1105
1108
  */
1106
1109
  recipe_not_researched,
1107
1110
  /**
1108
1111
  * Used by assembling machines.
1109
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
1112
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
1110
1113
  */
1111
1114
  recipe_is_parameter,
1112
1115
  /**
1113
1116
  * Used by land mines.
1114
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.entity_status.armed Online documentation}
1117
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.armed Online documentation}
1115
1118
  */
1116
1119
  armed,
1117
1120
  }
@@ -1121,8 +1124,8 @@ declare global {
1121
1124
  yellow,
1122
1125
  }
1123
1126
  /**
1124
- * See the {@linkplain https://lua-api.factorio.com/2.1.7/events.html events page} for more info on what events contain and when they get raised.
1125
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.events Online documentation}
1127
+ * See the {@linkplain https://lua-api.factorio.com/2.1.21/events.html events page} for more info on what events contain and when they get raised.
1128
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.events Online documentation}
1126
1129
  */
1127
1130
  namespace events {
1128
1131
  /**
@@ -1415,6 +1418,10 @@ declare global {
1415
1418
  * Event type: {@link OnMultiplayerInitEvent}
1416
1419
  */
1417
1420
  const on_multiplayer_init: EventId<OnMultiplayerInitEvent>
1421
+ /**
1422
+ * Event type: {@link OnNextDayStartedEvent}
1423
+ */
1424
+ const on_next_day_started: EventId<OnNextDayStartedEvent>
1418
1425
  /**
1419
1426
  * Event type: {@link OnObjectDestroyedEvent}
1420
1427
  */
@@ -1663,6 +1670,10 @@ declare global {
1663
1670
  * Event type: {@link OnPlayerSetupBlueprintEvent}
1664
1671
  */
1665
1672
  const on_player_setup_blueprint: EventId<OnPlayerSetupBlueprintEvent>
1673
+ /**
1674
+ * Event type: {@link OnPlayerSuperForcedSelectedAreaEvent}
1675
+ */
1676
+ const on_player_super_forced_selected_area: EventId<OnPlayerSuperForcedSelectedAreaEvent>
1666
1677
  /**
1667
1678
  * Event type: {@link OnPlayerToggledAltModeEvent}
1668
1679
  */
@@ -2084,8 +2095,8 @@ declare global {
2084
2095
  const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent, LuaScriptRaisedTeleportedEventFilter>
2085
2096
  }
2086
2097
  /**
2087
- * See the {@linkplain https://lua-api.factorio.com/2.1.7/events.html events page} for more info on what events contain and when they get raised.
2088
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.events Online documentation}
2098
+ * See the {@linkplain https://lua-api.factorio.com/2.1.21/events.html events page} for more info on what events contain and when they get raised.
2099
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.events Online documentation}
2089
2100
  */
2090
2101
  type events = (typeof events)[keyof typeof events]
2091
2102
  enum flow_precision_index {
@@ -2101,17 +2112,17 @@ declare global {
2101
2112
  enum game_controller_interaction {
2102
2113
  /**
2103
2114
  * Game controller will always hover this element regardless of type or state.
2104
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.game_controller_interaction.always Online documentation}
2115
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.game_controller_interaction.always Online documentation}
2105
2116
  */
2106
2117
  always,
2107
2118
  /**
2108
2119
  * Never hover this element with a game controller.
2109
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.game_controller_interaction.never Online documentation}
2120
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.game_controller_interaction.never Online documentation}
2110
2121
  */
2111
2122
  never,
2112
2123
  /**
2113
2124
  * Hover according to the element type and implementation.
2114
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.game_controller_interaction.normal Online documentation}
2125
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.game_controller_interaction.normal Online documentation}
2115
2126
  */
2116
2127
  normal,
2117
2128
  }
@@ -2151,6 +2162,7 @@ declare global {
2151
2162
  activate_interrupt,
2152
2163
  activate_paste,
2153
2164
  add_decider_combinator_condition,
2165
+ add_decider_combinator_else_output,
2154
2166
  add_decider_combinator_output,
2155
2167
  add_logistic_section,
2156
2168
  add_permission_group,
@@ -2226,6 +2238,7 @@ declare global {
2226
2238
  destroy_opened_item,
2227
2239
  disconnect_rolling_stock,
2228
2240
  drag_decider_combinator_condition,
2241
+ drag_decider_combinator_else_output,
2229
2242
  drag_decider_combinator_output,
2230
2243
  drag_research_condition,
2231
2244
  drag_train_schedule,
@@ -2281,10 +2294,12 @@ declare global {
2281
2294
  market_offer,
2282
2295
  mod_settings_changed,
2283
2296
  modify_decider_combinator_condition,
2297
+ modify_decider_combinator_else_output,
2284
2298
  modify_decider_combinator_output,
2285
2299
  move_pin,
2286
2300
  move_research,
2287
2301
  open_achievements_gui,
2302
+ open_alerts_config_gui,
2288
2303
  open_blueprint_library_gui,
2289
2304
  open_blueprint_record,
2290
2305
  open_bonus_gui,
@@ -2320,6 +2335,7 @@ declare global {
2320
2335
  remote_view_surface,
2321
2336
  remove_cables,
2322
2337
  remove_decider_combinator_condition,
2338
+ remove_decider_combinator_else_output,
2323
2339
  remove_decider_combinator_output,
2324
2340
  remove_logistic_section,
2325
2341
  remove_pin,
@@ -2402,6 +2418,7 @@ declare global {
2402
2418
  start_research,
2403
2419
  start_walking,
2404
2420
  stop_drag_build,
2421
+ super_forced_select_area,
2405
2422
  swap_asteroid_chunk_slots,
2406
2423
  swap_entity_filter_slots,
2407
2424
  swap_entity_slots,
@@ -2466,7 +2483,7 @@ declare global {
2466
2483
  robot_repair,
2467
2484
  /**
2468
2485
  * Used for ejected items, or items held by inserters that can't be inserted due the recipe being changed with the circuit network.
2469
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2486
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2470
2487
  */
2471
2488
  assembling_machine_dump,
2472
2489
  lab_input,
@@ -2479,7 +2496,7 @@ declare global {
2479
2496
  rocket_silo_attached_cargo_unit,
2480
2497
  /**
2481
2498
  * Inventory of cargo pod.
2482
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.inventory.cargo_unit Online documentation}
2499
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.inventory.cargo_unit Online documentation}
2483
2500
  */
2484
2501
  cargo_unit,
2485
2502
  car_trunk,
@@ -2508,7 +2525,7 @@ declare global {
2508
2525
  crafter_modules,
2509
2526
  /**
2510
2527
  * Used for spoil result items that do not fit into the recipe slots, and for items that are ejected when changing the recipe via remote view.
2511
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.inventory.crafter_trash Online documentation}
2528
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.inventory.crafter_trash Online documentation}
2512
2529
  */
2513
2530
  crafter_trash,
2514
2531
  asteroid_collector_output,
@@ -2566,12 +2583,12 @@ declare global {
2566
2583
  circuit_controlled,
2567
2584
  /**
2568
2585
  * Used by rocket silos.
2569
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2586
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2570
2587
  */
2571
2588
  transitional_request_controlled,
2572
2589
  /**
2573
2590
  * Used by space platform hubs.
2574
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2591
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2575
2592
  */
2576
2593
  request_missing_materials_controlled,
2577
2594
  }
@@ -2590,17 +2607,17 @@ declare global {
2590
2607
  enum print_skip {
2591
2608
  /**
2592
2609
  * Print will not be skipped.
2593
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.print_skip.never Online documentation}
2610
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.print_skip.never Online documentation}
2594
2611
  */
2595
2612
  never,
2596
2613
  /**
2597
2614
  * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
2598
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.print_skip.if_redundant Online documentation}
2615
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.print_skip.if_redundant Online documentation}
2599
2616
  */
2600
2617
  if_redundant,
2601
2618
  /**
2602
2619
  * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
2603
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.print_skip.if_visible Online documentation}
2620
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.print_skip.if_visible Online documentation}
2604
2621
  */
2605
2622
  if_visible,
2606
2623
  }
@@ -2611,11 +2628,11 @@ declare global {
2611
2628
  }
2612
2629
  /**
2613
2630
  * 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, ...}`.
2614
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.prototypes Online documentation}
2631
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.prototypes Online documentation}
2615
2632
  */
2616
2633
  interface prototypes {
2617
- achievement: {
2618
- achievement: 0
2634
+ "achievement": {
2635
+ "achievement": 0
2619
2636
  "build-entity-achievement": 0
2620
2637
  "change-surface-achievement": 0
2621
2638
  "combat-robot-count-achievement": 0
@@ -2660,7 +2677,7 @@ declare global {
2660
2677
  "ammo-category": {
2661
2678
  "ammo-category": 0
2662
2679
  }
2663
- animation: {
2680
+ "animation": {
2664
2681
  animation: 0
2665
2682
  }
2666
2683
  "asteroid-chunk": {
@@ -2684,7 +2701,7 @@ declare global {
2684
2701
  "damage-type": {
2685
2702
  "damage-type": 0
2686
2703
  }
2687
- decorative: {
2704
+ "decorative": {
2688
2705
  "optimized-decorative": 0
2689
2706
  }
2690
2707
  "deliver-category": {
@@ -2696,37 +2713,37 @@ declare global {
2696
2713
  "editor-controller": {
2697
2714
  "editor-controller": 0
2698
2715
  }
2699
- entity: {
2700
- accumulator: 0
2716
+ "entity": {
2717
+ "accumulator": 0
2701
2718
  "agricultural-tower": 0
2702
2719
  "ammo-turret": 0
2703
2720
  "arithmetic-combinator": 0
2704
- arrow: 0
2721
+ "arrow": 0
2705
2722
  "artillery-flare": 0
2706
2723
  "artillery-projectile": 0
2707
2724
  "artillery-turret": 0
2708
2725
  "artillery-wagon": 0
2709
2726
  "assembling-machine": 0
2710
- asteroid: 0
2727
+ "asteroid": 0
2711
2728
  "asteroid-collector": 0
2712
- beacon: 0
2713
- beam: 0
2714
- boiler: 0
2729
+ "beacon": 0
2730
+ "beam": 0
2731
+ "boiler": 0
2715
2732
  "burner-generator": 0
2716
2733
  "capture-robot": 0
2717
- car: 0
2734
+ "car": 0
2718
2735
  "cargo-bay": 0
2719
2736
  "cargo-landing-pad": 0
2720
2737
  "cargo-pod": 0
2721
2738
  "cargo-wagon": 0
2722
- character: 0
2739
+ "character": 0
2723
2740
  "character-corpse": 0
2724
- cliff: 0
2741
+ "cliff": 0
2725
2742
  "combat-robot": 0
2726
2743
  "constant-combinator": 0
2727
2744
  "construction-robot": 0
2728
- container: 0
2729
- corpse: 0
2745
+ "container": 0
2746
+ "corpse": 0
2730
2747
  "curved-rail-a": 0
2731
2748
  "curved-rail-b": 0
2732
2749
  "decider-combinator": 0
@@ -2740,16 +2757,16 @@ declare global {
2740
2757
  "elevated-half-diagonal-rail": 0
2741
2758
  "elevated-straight-rail": 0
2742
2759
  "entity-ghost": 0
2743
- explosion: 0
2744
- fire: 0
2745
- fish: 0
2760
+ "explosion": 0
2761
+ "fire": 0
2762
+ "fish": 0
2746
2763
  "fluid-turret": 0
2747
2764
  "fluid-wagon": 0
2748
- furnace: 0
2765
+ "furnace": 0
2749
2766
  "fusion-generator": 0
2750
2767
  "fusion-reactor": 0
2751
- gate: 0
2752
- generator: 0
2768
+ "gate": 0
2769
+ "generator": 0
2753
2770
  "half-diagonal-rail": 0
2754
2771
  "heat-interface": 0
2755
2772
  "heat-pipe": 0
@@ -2757,50 +2774,50 @@ declare global {
2757
2774
  "infinity-cargo-wagon": 0
2758
2775
  "infinity-container": 0
2759
2776
  "infinity-pipe": 0
2760
- inserter: 0
2777
+ "inserter": 0
2761
2778
  "item-entity": 0
2762
2779
  "item-request-proxy": 0
2763
- lab: 0
2764
- lamp: 0
2780
+ "lab": 0
2781
+ "lamp": 0
2765
2782
  "land-mine": 0
2766
2783
  "lane-splitter": 0
2767
2784
  "legacy-curved-rail": 0
2768
2785
  "legacy-straight-rail": 0
2769
- lightning: 0
2786
+ "lightning": 0
2770
2787
  "lightning-attractor": 0
2771
2788
  "linked-belt": 0
2772
2789
  "linked-container": 0
2773
- loader: 0
2790
+ "loader": 0
2774
2791
  "loader-1x1": 0
2775
- locomotive: 0
2792
+ "locomotive": 0
2776
2793
  "logistic-container": 0
2777
2794
  "logistic-robot": 0
2778
- market: 0
2795
+ "market": 0
2779
2796
  "mining-drill": 0
2780
2797
  "offshore-pump": 0
2781
2798
  "particle-source": 0
2782
- pipe: 0
2799
+ "pipe": 0
2783
2800
  "pipe-to-ground": 0
2784
- plant: 0
2801
+ "plant": 0
2785
2802
  "player-port": 0
2786
2803
  "power-switch": 0
2787
2804
  "programmable-speaker": 0
2788
- projectile: 0
2805
+ "projectile": 0
2789
2806
  "proxy-container": 0
2790
- pump: 0
2791
- radar: 0
2807
+ "pump": 0
2808
+ "radar": 0
2792
2809
  "rail-chain-signal": 0
2793
2810
  "rail-ramp": 0
2794
2811
  "rail-remnants": 0
2795
2812
  "rail-signal": 0
2796
2813
  "rail-support": 0
2797
- reactor: 0
2798
- resource: 0
2799
- roboport: 0
2814
+ "reactor": 0
2815
+ "resource": 0
2816
+ "roboport": 0
2800
2817
  "rocket-silo": 0
2801
2818
  "rocket-silo-rocket": 0
2802
2819
  "rocket-silo-rocket-shadow": 0
2803
- segment: 0
2820
+ "segment": 0
2804
2821
  "segmented-unit": 0
2805
2822
  "selector-combinator": 0
2806
2823
  "simple-entity": 0
@@ -2813,25 +2830,25 @@ declare global {
2813
2830
  "spider-leg": 0
2814
2831
  "spider-unit": 0
2815
2832
  "spider-vehicle": 0
2816
- splitter: 0
2817
- sticker: 0
2833
+ "splitter": 0
2834
+ "sticker": 0
2818
2835
  "storage-tank": 0
2819
2836
  "straight-rail": 0
2820
- stream: 0
2837
+ "stream": 0
2821
2838
  "temporary-container": 0
2822
- thruster: 0
2839
+ "thruster": 0
2823
2840
  "tile-ghost": 0
2824
2841
  "train-stop": 0
2825
2842
  "transport-belt": 0
2826
- tree: 0
2827
- turret: 0
2843
+ "tree": 0
2844
+ "turret": 0
2828
2845
  "underground-belt": 0
2829
- unit: 0
2846
+ "unit": 0
2830
2847
  "unit-spawner": 0
2831
- valve: 0
2832
- wall: 0
2848
+ "valve": 0
2849
+ "wall": 0
2833
2850
  }
2834
- equipment: {
2851
+ "equipment": {
2835
2852
  "active-defense-equipment": 0
2836
2853
  "battery-equipment": 0
2837
2854
  "belt-immunity-equipment": 0
@@ -2851,10 +2868,10 @@ declare global {
2851
2868
  "equipment-grid": {
2852
2869
  "equipment-grid": 0
2853
2870
  }
2854
- fluid: {
2871
+ "fluid": {
2855
2872
  fluid: 0
2856
2873
  }
2857
- font: {
2874
+ "font": {
2858
2875
  font: 0
2859
2876
  }
2860
2877
  "fuel-category": {
@@ -2869,27 +2886,27 @@ declare global {
2869
2886
  "impact-category": {
2870
2887
  "impact-category": 0
2871
2888
  }
2872
- item: {
2873
- ammo: 0
2874
- armor: 0
2875
- blueprint: 0
2889
+ "item": {
2890
+ "ammo": 0
2891
+ "armor": 0
2892
+ "blueprint": 0
2876
2893
  "blueprint-book": 0
2877
- capsule: 0
2894
+ "capsule": 0
2878
2895
  "copy-paste-tool": 0
2879
2896
  "deconstruction-item": 0
2880
- gun: 0
2881
- item: 0
2897
+ "gun": 0
2898
+ "item": 0
2882
2899
  "item-with-entity-data": 0
2883
2900
  "item-with-inventory": 0
2884
2901
  "item-with-label": 0
2885
2902
  "item-with-tags": 0
2886
- module: 0
2903
+ "module": 0
2887
2904
  "rail-planner": 0
2888
2905
  "repair-tool": 0
2889
2906
  "selection-tool": 0
2890
2907
  "space-platform-starter-pack": 0
2891
2908
  "spidertron-remote": 0
2892
- tool: 0
2909
+ "tool": 0
2893
2910
  "upgrade-item": 0
2894
2911
  }
2895
2912
  "item-group": {
@@ -2919,19 +2936,19 @@ declare global {
2919
2936
  "noise-function": {
2920
2937
  "noise-function": 0
2921
2938
  }
2922
- particle: {
2939
+ "particle": {
2923
2940
  "optimized-particle": 0
2924
2941
  }
2925
- procession: {
2942
+ "procession": {
2926
2943
  procession: 0
2927
2944
  }
2928
2945
  "procession-layer-inheritance-group": {
2929
2946
  "procession-layer-inheritance-group": 0
2930
2947
  }
2931
- quality: {
2948
+ "quality": {
2932
2949
  quality: 0
2933
2950
  }
2934
- recipe: {
2951
+ "recipe": {
2935
2952
  recipe: 0
2936
2953
  }
2937
2954
  "recipe-category": {
@@ -2943,35 +2960,35 @@ declare global {
2943
2960
  "resource-category": {
2944
2961
  "resource-category": 0
2945
2962
  }
2946
- shortcut: {
2963
+ "shortcut": {
2947
2964
  shortcut: 0
2948
2965
  }
2949
- sound: {
2966
+ "sound": {
2950
2967
  sound: 0
2951
2968
  }
2952
2969
  "space-connection": {
2953
2970
  "space-connection": 0
2954
2971
  }
2955
2972
  "space-location": {
2956
- planet: 0
2973
+ "planet": 0
2957
2974
  "space-location": 0
2958
2975
  }
2959
2976
  "spectator-controller": {
2960
2977
  "spectator-controller": 0
2961
2978
  }
2962
- sprite: {
2979
+ "sprite": {
2963
2980
  sprite: 0
2964
2981
  }
2965
- surface: {
2982
+ "surface": {
2966
2983
  surface: 0
2967
2984
  }
2968
2985
  "surface-property": {
2969
2986
  "surface-property": 0
2970
2987
  }
2971
- technology: {
2988
+ "technology": {
2972
2989
  technology: 0
2973
2990
  }
2974
- tile: {
2991
+ "tile": {
2975
2992
  tile: 0
2976
2993
  }
2977
2994
  "tile-effect": {
@@ -2989,7 +3006,7 @@ declare global {
2989
3006
  "trivial-smoke": {
2990
3007
  "trivial-smoke": 0
2991
3008
  }
2992
- tutorial: {
3009
+ "tutorial": {
2993
3010
  tutorial: 0
2994
3011
  }
2995
3012
  "utility-constants": {
@@ -3007,7 +3024,7 @@ declare global {
3007
3024
  }
3008
3025
  /**
3009
3026
  * 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, ...}`.
3010
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.prototypes Online documentation}
3027
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.prototypes Online documentation}
3011
3028
  */
3012
3029
  const prototypes: prototypes
3013
3030
  enum rail_connection_direction {
@@ -3137,195 +3154,196 @@ declare global {
3137
3154
  enum robot_order_type {
3138
3155
  /**
3139
3156
  * Construct a ghost.
3140
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.construct Online documentation}
3157
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.construct Online documentation}
3141
3158
  */
3142
3159
  construct,
3143
3160
  /**
3144
3161
  * Pickup an item.
3145
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.pickup Online documentation}
3162
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.pickup Online documentation}
3146
3163
  */
3147
3164
  pickup,
3148
3165
  /**
3149
3166
  * Deliver an item.
3150
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.deliver Online documentation}
3167
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.deliver Online documentation}
3151
3168
  */
3152
3169
  deliver,
3153
3170
  /**
3154
3171
  * Repair an entity.
3155
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.repair Online documentation}
3172
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.repair Online documentation}
3156
3173
  */
3157
3174
  repair,
3158
3175
  /**
3159
3176
  * Deconstruct an entity.
3160
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.deconstruct Online documentation}
3177
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.deconstruct Online documentation}
3161
3178
  */
3162
3179
  deconstruct,
3163
3180
  /**
3164
3181
  * Deliver specific items to an entity (item request proxy).
3165
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.deliver_items Online documentation}
3182
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.deliver_items Online documentation}
3166
3183
  */
3167
3184
  deliver_items,
3168
3185
  /**
3169
3186
  * Upgrade an entity.
3170
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.upgrade Online documentation}
3187
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.upgrade Online documentation}
3171
3188
  */
3172
3189
  upgrade,
3173
3190
  /**
3174
3191
  * Explode a cliff.
3175
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.explode_cliff Online documentation}
3192
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.explode_cliff Online documentation}
3176
3193
  */
3177
3194
  explode_cliff,
3178
3195
  /**
3179
3196
  * Pickup items from an entity (item request proxy).
3180
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.robot_order_type.pickup_items Online documentation}
3197
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.pickup_items Online documentation}
3181
3198
  */
3182
3199
  pickup_items,
3183
3200
  }
3184
3201
  /**
3185
3202
  * The various parts of the launch sequence of the rocket silo.
3186
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status Online documentation}
3203
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status Online documentation}
3187
3204
  */
3188
3205
  enum rocket_silo_status {
3189
3206
  /**
3190
3207
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
3191
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
3208
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
3192
3209
  */
3193
3210
  building_rocket,
3194
3211
  /**
3195
3212
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
3196
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
3213
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
3197
3214
  */
3198
3215
  create_rocket,
3199
3216
  /**
3200
3217
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
3201
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
3218
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
3202
3219
  */
3203
3220
  lights_blinking_open,
3204
3221
  /**
3205
3222
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
3206
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
3223
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
3207
3224
  */
3208
3225
  doors_opening,
3209
3226
  /**
3210
3227
  * 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.
3211
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
3228
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
3212
3229
  */
3213
3230
  doors_opened,
3214
3231
  /**
3215
3232
  * 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.
3216
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
3233
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
3217
3234
  */
3218
3235
  rocket_rising,
3219
3236
  /**
3220
3237
  * 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.
3221
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
3238
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
3222
3239
  */
3223
3240
  arms_advance,
3224
3241
  /**
3225
3242
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
3226
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
3243
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
3227
3244
  */
3228
3245
  rocket_ready,
3229
3246
  /**
3230
3247
  * The next state is `launch_started`.
3231
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
3248
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
3232
3249
  */
3233
3250
  launch_starting,
3234
3251
  /**
3235
3252
  * 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.
3236
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
3253
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
3237
3254
  */
3238
3255
  engine_starting,
3239
3256
  /**
3240
3257
  * 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.
3241
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
3258
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
3242
3259
  */
3243
3260
  arms_retract,
3244
3261
  /**
3245
3262
  * The next state is `lights_blinking_close`. The rocket is getting launched.
3246
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
3263
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
3247
3264
  */
3248
3265
  rocket_flying,
3249
3266
  /**
3250
3267
  * The next state is `doors_closing`.
3251
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
3268
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
3252
3269
  */
3253
3270
  lights_blinking_close,
3254
3271
  /**
3255
3272
  * The next state is `building_rocket`.
3256
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
3273
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
3257
3274
  */
3258
3275
  doors_closing,
3259
3276
  /**
3260
3277
  * 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.
3261
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.rocket_silo_status.launch_started Online documentation}
3278
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.launch_started Online documentation}
3262
3279
  */
3263
3280
  launch_started,
3264
3281
  }
3265
3282
  enum segmented_unit_activity_mode {
3266
3283
  /**
3267
3284
  * The segmented unit is completely asleep, only performing the bare minimum checks to wake up if needed.
3268
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation}
3285
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation}
3269
3286
  */
3270
3287
  asleep,
3271
3288
  /**
3272
3289
  * The segmented unit is minimally active, reducing unnecessary entity movement and trigger effects while continuing to patrol around its territory.
3273
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation}
3290
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation}
3274
3291
  */
3275
3292
  minimal,
3276
3293
  /**
3277
3294
  * The segmented unit is fully active and simulated as if it is being observed by a player.
3278
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_activity_mode.full Online documentation}
3295
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_activity_mode.full Online documentation}
3279
3296
  */
3280
3297
  full,
3281
3298
  }
3282
3299
  enum segmented_unit_ai_state {
3283
3300
  /**
3284
3301
  * The segmented unit is navigating its territory's patrol path. If the unit is not assigned to a territory, then it is patrolling around the position it was created.
3285
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation}
3302
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation}
3286
3303
  */
3287
3304
  patrolling,
3288
3305
  /**
3289
3306
  * The segmented unit is investigating a location where it detected a disturbance.
3290
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_ai_state.investigating Online documentation}
3307
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.investigating Online documentation}
3291
3308
  */
3292
3309
  investigating,
3293
3310
  /**
3294
3311
  * The segmented unit is attacking an entity that is trespassing on its territory, but the segmented unit is not using its full strength.
3295
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_ai_state.attacking Online documentation}
3312
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.attacking Online documentation}
3296
3313
  */
3297
3314
  attacking,
3298
3315
  /**
3299
3316
  * The segmented unit is angry because it was attacked and is aggressively attacking an entity with its full strength.
3300
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation}
3317
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation}
3301
3318
  */
3302
3319
  enraged_at_target,
3303
3320
  /**
3304
3321
  * The segmented unit is angry because it was attacked but it does not have a valid attack target, so it is wandering around trying to find a valid attack target.
3305
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation}
3322
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation}
3306
3323
  */
3307
3324
  enraged_at_nothing,
3308
3325
  }
3309
3326
  enum segmented_unit_created_cause {
3310
3327
  /**
3311
3328
  * The segmented unit was spawned naturally by the map generator.
3312
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation}
3329
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation}
3313
3330
  */
3314
3331
  map_generated,
3315
3332
  /**
3316
3333
  * The segmented unit was created manually via script.
3317
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_created_cause.script_created Online documentation}
3334
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_created_cause.script_created Online documentation}
3318
3335
  */
3319
3336
  script_created,
3320
3337
  /**
3321
3338
  * The segmented unit was cloned from an existing segmented unit via script.
3322
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation}
3339
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation}
3323
3340
  */
3324
3341
  script_cloned,
3325
3342
  }
3326
3343
  enum selection_mode {
3327
3344
  select,
3328
3345
  alt_select,
3346
+ super_forced_select,
3329
3347
  reverse_select,
3330
3348
  alt_reverse_select,
3331
3349
  }
@@ -3336,74 +3354,74 @@ declare global {
3336
3354
  }
3337
3355
  /**
3338
3356
  * State of an ordinary rail signal.
3339
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.signal_state Online documentation}
3357
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state Online documentation}
3340
3358
  */
3341
3359
  enum signal_state {
3342
3360
  /**
3343
3361
  * Green.
3344
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.signal_state.open Online documentation}
3362
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.open Online documentation}
3345
3363
  */
3346
3364
  open,
3347
3365
  /**
3348
3366
  * Red.
3349
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.signal_state.closed Online documentation}
3367
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.closed Online documentation}
3350
3368
  */
3351
3369
  closed,
3352
3370
  /**
3353
3371
  * Orange.
3354
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.signal_state.reserved Online documentation}
3372
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.reserved Online documentation}
3355
3373
  */
3356
3374
  reserved,
3357
3375
  /**
3358
3376
  * Red - From circuit network.
3359
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
3377
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
3360
3378
  */
3361
3379
  reserved_by_circuit_network,
3362
3380
  }
3363
3381
  enum space_platform_state {
3364
3382
  /**
3365
3383
  * Waiting for a starter pack.
3366
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
3384
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
3367
3385
  */
3368
3386
  waiting_for_starter_pack,
3369
3387
  /**
3370
3388
  * Starter pack was requested from the logistics system.
3371
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3389
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3372
3390
  */
3373
3391
  starter_pack_requested,
3374
3392
  /**
3375
3393
  * Starter pack is on the way.
3376
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3394
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3377
3395
  */
3378
3396
  starter_pack_on_the_way,
3379
3397
  /**
3380
3398
  * Following the path.
3381
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.on_the_path Online documentation}
3399
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.on_the_path Online documentation}
3382
3400
  */
3383
3401
  on_the_path,
3384
3402
  /**
3385
3403
  * Platform is ready to leave this planet and does not accept deliveries.
3386
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3404
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3387
3405
  */
3388
3406
  waiting_for_departure,
3389
3407
  /**
3390
3408
  * Doesn't have any stations in schedule.
3391
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.no_schedule Online documentation}
3409
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.no_schedule Online documentation}
3392
3410
  */
3393
3411
  no_schedule,
3394
3412
  /**
3395
3413
  * Doesn't have anywhere to go.
3396
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.no_path Online documentation}
3414
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.no_path Online documentation}
3397
3415
  */
3398
3416
  no_path,
3399
3417
  /**
3400
3418
  * Waiting at a station.
3401
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3419
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3402
3420
  */
3403
3421
  waiting_at_station,
3404
3422
  /**
3405
3423
  * Paused.
3406
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.space_platform_state.paused Online documentation}
3424
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.paused Online documentation}
3407
3425
  */
3408
3426
  paused,
3409
3427
  }
@@ -3437,64 +3455,64 @@ declare global {
3437
3455
  enum territory_created_cause {
3438
3456
  /**
3439
3457
  * The territory was spawned naturally by the map generator.
3440
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.territory_created_cause.map_generated Online documentation}
3458
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.territory_created_cause.map_generated Online documentation}
3441
3459
  */
3442
3460
  map_generated,
3443
3461
  /**
3444
3462
  * The territory was created manually via script.
3445
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.territory_created_cause.script_created Online documentation}
3463
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.territory_created_cause.script_created Online documentation}
3446
3464
  */
3447
3465
  script_created,
3448
3466
  }
3449
3467
  enum train_state {
3450
3468
  /**
3451
3469
  * Normal state -- following the path.
3452
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.on_the_path Online documentation}
3470
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.on_the_path Online documentation}
3453
3471
  */
3454
3472
  on_the_path,
3455
3473
  /**
3456
3474
  * Doesn't have anywhere to go.
3457
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.no_schedule Online documentation}
3475
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.no_schedule Online documentation}
3458
3476
  */
3459
3477
  no_schedule,
3460
3478
  /**
3461
3479
  * Has no path and is stopped.
3462
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.no_path Online documentation}
3480
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.no_path Online documentation}
3463
3481
  */
3464
3482
  no_path,
3465
3483
  /**
3466
3484
  * Braking before a rail signal.
3467
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.arrive_signal Online documentation}
3485
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.arrive_signal Online documentation}
3468
3486
  */
3469
3487
  arrive_signal,
3470
3488
  /**
3471
3489
  * Waiting at a signal.
3472
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.wait_signal Online documentation}
3490
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.wait_signal Online documentation}
3473
3491
  */
3474
3492
  wait_signal,
3475
3493
  /**
3476
3494
  * Braking before a station.
3477
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.arrive_station Online documentation}
3495
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.arrive_station Online documentation}
3478
3496
  */
3479
3497
  arrive_station,
3480
3498
  /**
3481
3499
  * Switched to manual control and has to stop.
3482
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.manual_control_stop Online documentation}
3500
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.manual_control_stop Online documentation}
3483
3501
  */
3484
3502
  manual_control_stop,
3485
3503
  /**
3486
3504
  * Can move if user explicitly sits in and rides the train.
3487
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.manual_control Online documentation}
3505
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.manual_control Online documentation}
3488
3506
  */
3489
3507
  manual_control,
3490
3508
  /**
3491
3509
  * Waiting at a station.
3492
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.wait_station Online documentation}
3510
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.wait_station Online documentation}
3493
3511
  */
3494
3512
  wait_station,
3495
3513
  /**
3496
3514
  * Same as no_path but all candidate train stops are full
3497
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.train_state.destination_full Online documentation}
3515
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.destination_full Online documentation}
3498
3516
  */
3499
3517
  destination_full,
3500
3518
  }
@@ -3524,17 +3542,17 @@ declare global {
3524
3542
  enum wire_origin {
3525
3543
  /**
3526
3544
  * These wires can be modified by players, scripts, and the game. They are visible to the player if the entity's `draw_circuit_wires` prototype property is set to `true` and both ends of it are on the same surface.
3527
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.wire_origin.player Online documentation}
3545
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.wire_origin.player Online documentation}
3528
3546
  */
3529
3547
  player,
3530
3548
  /**
3531
3549
  * These wires can be modified by scripts and the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
3532
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.wire_origin.script Online documentation}
3550
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.wire_origin.script Online documentation}
3533
3551
  */
3534
3552
  script,
3535
3553
  /**
3536
3554
  * These wires can only be modified by the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
3537
- * @see {@link https://lua-api.factorio.com/2.1.7/defines.html#defines.wire_origin.radars Online documentation}
3555
+ * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.wire_origin.radars Online documentation}
3538
3556
  */
3539
3557
  radars,
3540
3558
  }