typed-factorio 4.6.0 → 4.7.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.
@@ -115,9 +115,11 @@ import type {
115
115
  OnPlayerBannedEvent,
116
116
  OnPlayerBuiltTileEvent,
117
117
  OnPlayerCancelledCraftingEvent,
118
+ OnPlayerCancelSelectedAreaEvent,
118
119
  OnPlayerChangedForceEvent,
119
120
  OnPlayerChangedPositionEvent,
120
121
  OnPlayerChangedSurfaceEvent,
122
+ OnPlayerChangeSelectedAreaEvent,
121
123
  OnPlayerCheatModeDisabledEvent,
122
124
  OnPlayerCheatModeEnabledEvent,
123
125
  OnPlayerClickedGpsTagEvent,
@@ -163,6 +165,7 @@ import type {
163
165
  OnPlayerSelectedAreaEvent,
164
166
  OnPlayerSetQuickBarSlotEvent,
165
167
  OnPlayerSetupBlueprintEvent,
168
+ OnPlayerStartSelectedAreaEvent,
166
169
  OnPlayerSuperForcedSelectedAreaEvent,
167
170
  OnPlayerToggledAltModeEvent,
168
171
  OnPlayerToggledMapEditorEvent,
@@ -285,7 +288,7 @@ declare global {
285
288
  }
286
289
  /**
287
290
  * AI command exit status, see {@link LuaCommandable#set_command LuaCommandable::set_command}
288
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.behavior_result Online documentation}
291
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.behavior_result Online documentation}
289
292
  */
290
293
  enum behavior_result {
291
294
  in_progress,
@@ -309,33 +312,33 @@ declare global {
309
312
  enum cargo_destination {
310
313
  /**
311
314
  * The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it.
312
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.invalid Online documentation}
315
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.invalid Online documentation}
313
316
  */
314
317
  invalid,
315
318
  /**
316
319
  * Cargo pods with orbit destination are destroyed when ascent is completed.
317
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.orbit Online documentation}
320
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.orbit Online documentation}
318
321
  */
319
322
  orbit,
320
323
  /**
321
324
  * Any cargo landing pad or space platform hub.
322
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.station Online documentation}
325
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.station Online documentation}
323
326
  */
324
327
  station,
325
328
  /**
326
329
  * 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.
327
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.surface Online documentation}
330
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.surface Online documentation}
328
331
  */
329
332
  surface,
330
333
  /**
331
334
  * 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.
332
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.cargo_destination.space_platform Online documentation}
335
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.space_platform Online documentation}
333
336
  */
334
337
  space_platform,
335
338
  }
336
339
  /**
337
340
  * State of a chain signal.
338
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.chain_signal_state Online documentation}
341
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.chain_signal_state Online documentation}
339
342
  */
340
343
  enum chain_signal_state {
341
344
  none,
@@ -353,73 +356,73 @@ declare global {
353
356
  }
354
357
  /**
355
358
  * Command given to units describing what they should do.
356
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command Online documentation}
359
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command Online documentation}
357
360
  */
358
361
  enum command {
359
362
  /**
360
363
  * Attack another entity.
361
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.attack Online documentation}
364
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.attack Online documentation}
362
365
  */
363
366
  attack = 0,
364
367
  /**
365
368
  * Go to a specific position.
366
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.go_to_location Online documentation}
369
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.go_to_location Online documentation}
367
370
  */
368
371
  go_to_location = 1,
369
372
  /**
370
373
  * Chain commands together, see {@link defines.compound_command}.
371
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.compound Online documentation}
374
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.compound Online documentation}
372
375
  */
373
376
  compound = 2,
374
377
  /**
375
378
  * Do what your group wants you to do.
376
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.group Online documentation}
379
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.group Online documentation}
377
380
  */
378
381
  group = 3,
379
382
  /**
380
383
  * Go to a place and attack what you see.
381
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.attack_area Online documentation}
384
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.attack_area Online documentation}
382
385
  */
383
386
  attack_area = 4,
384
387
  /**
385
388
  * Chill.
386
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.wander Online documentation}
389
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.wander Online documentation}
387
390
  */
388
391
  wander = 5,
389
392
  /**
390
393
  * Flee from another entity.
391
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.flee Online documentation}
394
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.flee Online documentation}
392
395
  */
393
396
  flee = 6,
394
397
  /**
395
398
  * Stop moving and stay where you are.
396
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.stop Online documentation}
399
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.stop Online documentation}
397
400
  */
398
401
  stop = 7,
399
402
  /**
400
403
  * Go to a position and build a base there.
401
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.command.build_base Online documentation}
404
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.build_base Online documentation}
402
405
  */
403
406
  build_base = 8,
404
407
  }
405
408
  /**
406
409
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
407
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command Online documentation}
410
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command Online documentation}
408
411
  */
409
412
  enum compound_command {
410
413
  /**
411
414
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
412
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command.logical_and Online documentation}
415
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command.logical_and Online documentation}
413
416
  */
414
417
  logical_and,
415
418
  /**
416
419
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
417
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command.logical_or Online documentation}
420
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command.logical_or Online documentation}
418
421
  */
419
422
  logical_or,
420
423
  /**
421
424
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
422
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.compound_command.return_last Online documentation}
425
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command.return_last Online documentation}
423
426
  */
424
427
  return_last,
425
428
  }
@@ -483,197 +486,197 @@ declare global {
483
486
  enum type {
484
487
  /**
485
488
  * {@link LuaContainerControlBehavior}
486
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.container Online documentation}
489
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.container Online documentation}
487
490
  */
488
491
  container,
489
492
  /**
490
493
  * {@link LuaGenericOnOffControlBehavior}
491
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
494
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
492
495
  */
493
496
  generic_on_off,
494
497
  /**
495
498
  * {@link LuaInserterControlBehavior}
496
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.inserter Online documentation}
499
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.inserter Online documentation}
497
500
  */
498
501
  inserter,
499
502
  /**
500
503
  * {@link LuaLampControlBehavior}
501
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.lamp Online documentation}
504
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.lamp Online documentation}
502
505
  */
503
506
  lamp,
504
507
  /**
505
508
  * {@link LuaLogisticContainerControlBehavior}
506
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.logistic_container Online documentation}
509
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.logistic_container Online documentation}
507
510
  */
508
511
  logistic_container,
509
512
  /**
510
513
  * {@link LuaRoboportControlBehavior}
511
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.roboport Online documentation}
514
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.roboport Online documentation}
512
515
  */
513
516
  roboport,
514
517
  /**
515
518
  * {@link LuaSingleFluidBoxControlBehavior}
516
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.single_fluid_box Online documentation}
519
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.single_fluid_box Online documentation}
517
520
  */
518
521
  single_fluid_box,
519
522
  /**
520
523
  * {@link LuaTrainStopControlBehavior}
521
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.train_stop Online documentation}
524
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.train_stop Online documentation}
522
525
  */
523
526
  train_stop,
524
527
  /**
525
528
  * {@link LuaDeciderCombinatorControlBehavior}
526
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
529
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
527
530
  */
528
531
  decider_combinator,
529
532
  /**
530
533
  * {@link LuaArithmeticCombinatorControlBehavior}
531
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
534
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
532
535
  */
533
536
  arithmetic_combinator,
534
537
  /**
535
538
  * {@link LuaConstantCombinatorControlBehavior}
536
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
539
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
537
540
  */
538
541
  constant_combinator,
539
542
  /**
540
543
  * {@link LuaTransportBeltControlBehavior}
541
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.transport_belt Online documentation}
544
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.transport_belt Online documentation}
542
545
  */
543
546
  transport_belt,
544
547
  /**
545
548
  * {@link LuaAccumulatorControlBehavior}
546
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.accumulator Online documentation}
549
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.accumulator Online documentation}
547
550
  */
548
551
  accumulator,
549
552
  /**
550
553
  * {@link LuaRailSignalBaseControlBehavior}
551
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.rail_signal Online documentation}
554
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.rail_signal Online documentation}
552
555
  */
553
556
  rail_signal,
554
557
  /**
555
558
  * {@link LuaRailSignalBaseControlBehavior}
556
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
559
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
557
560
  */
558
561
  rail_chain_signal,
559
562
  /**
560
563
  * {@link LuaWallControlBehavior}
561
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.wall Online documentation}
564
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.wall Online documentation}
562
565
  */
563
566
  wall,
564
567
  /**
565
568
  * {@link LuaMiningDrillControlBehavior}
566
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.mining_drill Online documentation}
569
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.mining_drill Online documentation}
567
570
  */
568
571
  mining_drill,
569
572
  /**
570
573
  * {@link LuaProgrammableSpeakerControlBehavior}
571
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
574
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
572
575
  */
573
576
  programmable_speaker,
574
577
  /**
575
578
  * {@link LuaAssemblingMachineControlBehavior}
576
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
579
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
577
580
  */
578
581
  assembling_machine,
579
582
  /**
580
583
  * {@link LuaPumpControlBehavior}
581
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.pump Online documentation}
584
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.pump Online documentation}
582
585
  */
583
586
  pump,
584
587
  /**
585
588
  * {@link LuaSelectorCombinatorControlBehavior}
586
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
589
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
587
590
  */
588
591
  selector_combinator,
589
592
  /**
590
593
  * {@link LuaRocketSiloControlBehavior}
591
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
594
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
592
595
  */
593
596
  rocket_silo,
594
597
  /**
595
598
  * {@link LuaTurretControlBehavior}
596
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.turret Online documentation}
599
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.turret Online documentation}
597
600
  */
598
601
  turret,
599
602
  /**
600
603
  * {@link LuaReactorControlBehavior}
601
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.reactor Online documentation}
604
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.reactor Online documentation}
602
605
  */
603
606
  reactor,
604
607
  /**
605
608
  * {@link LuaSpacePlatformHubControlBehavior}
606
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
609
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
607
610
  */
608
611
  space_platform_hub,
609
612
  /**
610
613
  * {@link LuaArtilleryTurretControlBehavior}
611
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
614
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
612
615
  */
613
616
  artillery_turret,
614
617
  /**
615
618
  * {@link LuaAsteroidCollectorControlBehavior}
616
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
619
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
617
620
  */
618
621
  asteroid_collector,
619
622
  /**
620
623
  * {@link LuaRadarControlBehavior}
621
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.radar Online documentation}
624
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.radar Online documentation}
622
625
  */
623
626
  radar,
624
627
  /**
625
628
  * {@link LuaDisplayPanelControlBehavior}
626
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.display_panel Online documentation}
629
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.display_panel Online documentation}
627
630
  */
628
631
  display_panel,
629
632
  /**
630
633
  * {@link LuaLoaderControlBehavior}
631
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.loader Online documentation}
634
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.loader Online documentation}
632
635
  */
633
636
  loader,
634
637
  /**
635
638
  * {@link LuaCargoLandingPadControlBehavior}
636
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
639
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
637
640
  */
638
641
  cargo_landing_pad,
639
642
  /**
640
643
  * {@link LuaAgriculturalTowerControlBehavior}
641
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
644
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
642
645
  */
643
646
  agricultural_tower,
644
647
  /**
645
648
  * {@link LuaFurnaceControlBehavior}
646
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.furnace Online documentation}
649
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.furnace Online documentation}
647
650
  */
648
651
  furnace,
649
652
  /**
650
653
  * {@link LuaProxyContainerControlBehavior}
651
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.proxy_container Online documentation}
654
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.proxy_container Online documentation}
652
655
  */
653
656
  proxy_container,
654
657
  /**
655
658
  * {@link LuaSplitterControlBehavior}
656
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.splitter Online documentation}
659
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.splitter Online documentation}
657
660
  */
658
661
  splitter,
659
662
  /**
660
663
  * {@link LuaLabControlBehavior}
661
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.lab Online documentation}
664
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.lab Online documentation}
662
665
  */
663
666
  lab,
664
667
  /**
665
668
  * {@link LuaHeatPipeControlBehavior}
666
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.heat_pipe Online documentation}
669
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.heat_pipe Online documentation}
667
670
  */
668
671
  heat_pipe,
669
672
  /**
670
673
  * {@link LuaBoilerControlBehavior}
671
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.boiler Online documentation}
674
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.boiler Online documentation}
672
675
  */
673
676
  boiler,
674
677
  /**
675
678
  * {@link LuaLandMineControlBehavior}
676
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.control_behavior.type.land_mine Online documentation}
679
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.land_mine Online documentation}
677
680
  */
678
681
  land_mine,
679
682
  }
@@ -681,37 +684,37 @@ declare global {
681
684
  enum controllers {
682
685
  /**
683
686
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
684
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.ghost Online documentation}
687
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.ghost Online documentation}
685
688
  */
686
689
  ghost,
687
690
  /**
688
691
  * The controller controls a character. This is the default controller in freeplay.
689
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.character Online documentation}
692
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.character Online documentation}
690
693
  */
691
694
  character,
692
695
  /**
693
696
  * The controller isn't tied to a character. This is the default controller in sandbox.
694
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.god Online documentation}
697
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.god Online documentation}
695
698
  */
696
699
  god,
697
700
  /**
698
701
  * The Editor Controller near ultimate power to do almost anything in the game.
699
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.editor Online documentation}
702
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.editor Online documentation}
700
703
  */
701
704
  editor,
702
705
  /**
703
706
  * The player can't interact with the world, and the camera pans around in a predefined manner.
704
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.cutscene Online documentation}
707
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.cutscene Online documentation}
705
708
  */
706
709
  cutscene,
707
710
  /**
708
711
  * Can't change anything in the world but can view anything.
709
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.spectator Online documentation}
712
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.spectator Online documentation}
710
713
  */
711
714
  spectator,
712
715
  /**
713
716
  * Can't move/change items but can build ghosts/change settings.
714
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.controllers.remote Online documentation}
717
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.remote Online documentation}
715
718
  */
716
719
  remote,
717
720
  }
@@ -770,22 +773,22 @@ declare global {
770
773
  enum distraction {
771
774
  /**
772
775
  * Perform command even if someone attacks the unit.
773
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.none Online documentation}
776
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.none Online documentation}
774
777
  */
775
778
  none,
776
779
  /**
777
780
  * Attack closer enemy entities with force.
778
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.by_enemy Online documentation}
781
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.by_enemy Online documentation}
779
782
  */
780
783
  by_enemy,
781
784
  /**
782
785
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
783
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.by_anything Online documentation}
786
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.by_anything Online documentation}
784
787
  */
785
788
  by_anything,
786
789
  /**
787
790
  * Attack when attacked.
788
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.distraction.by_damage Online documentation}
791
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.by_damage Online documentation}
789
792
  */
790
793
  by_damage,
791
794
  }
@@ -805,12 +808,12 @@ declare global {
805
808
  normal,
806
809
  /**
807
810
  * Used by ghosts.
808
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.ghost Online documentation}
811
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.ghost Online documentation}
809
812
  */
810
813
  ghost,
811
814
  /**
812
815
  * Only used if set through {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
813
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.broken Online documentation}
816
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.broken Online documentation}
814
817
  */
815
818
  broken,
816
819
  no_power,
@@ -824,297 +827,307 @@ declare global {
824
827
  marked_for_deconstruction,
825
828
  /**
826
829
  * Used by space platform hubs.
827
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.paused Online documentation}
830
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.paused Online documentation}
828
831
  */
829
832
  paused,
830
833
  /**
831
834
  * Used by generators and solar panels.
832
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
835
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
833
836
  */
834
837
  not_plugged_in_electric_network,
835
838
  /**
836
839
  * Used by power switches.
837
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.networks_connected Online documentation}
840
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.networks_connected Online documentation}
838
841
  */
839
842
  networks_connected,
840
843
  /**
841
844
  * Used by power switches.
842
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.networks_disconnected Online documentation}
845
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.networks_disconnected Online documentation}
843
846
  */
844
847
  networks_disconnected,
845
848
  /**
846
849
  * Used by accumulators.
847
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.charging Online documentation}
850
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.charging Online documentation}
848
851
  */
849
852
  charging,
850
853
  /**
851
854
  * Used by accumulators.
852
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.discharging Online documentation}
855
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.discharging Online documentation}
853
856
  */
854
857
  discharging,
855
858
  /**
856
859
  * Used by accumulators.
857
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.fully_charged Online documentation}
860
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.fully_charged Online documentation}
858
861
  */
859
862
  fully_charged,
860
863
  /**
861
864
  * Used by logistic containers.
862
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
865
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
863
866
  */
864
867
  out_of_logistic_network,
865
868
  /**
866
869
  * Used by assembling machines.
867
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_recipe Online documentation}
870
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_recipe Online documentation}
868
871
  */
869
872
  no_recipe,
870
873
  /**
871
874
  * Used by furnaces.
872
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_ingredients Online documentation}
875
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_ingredients Online documentation}
873
876
  */
874
877
  no_ingredients,
875
878
  /**
876
879
  * Used by boilers, fluid turrets, and fluid energy sources: Boiler has no fluid to work with.
877
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_input_fluid Online documentation}
880
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_input_fluid Online documentation}
878
881
  */
879
882
  no_input_fluid,
883
+ /**
884
+ * Used by entities that consume fluids or have a fluid energy source.
885
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.input_fluid_too_cold Online documentation}
886
+ */
887
+ input_fluid_too_cold,
888
+ /**
889
+ * Used by entities that consume fluids or have a fluid energy source.
890
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.input_fluid_too_hot Online documentation}
891
+ */
892
+ input_fluid_too_hot,
880
893
  /**
881
894
  * Used by labs.
882
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_research_in_progress Online documentation}
895
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_research_in_progress Online documentation}
883
896
  */
884
897
  no_research_in_progress,
885
898
  /**
886
899
  * Used by mining drills.
887
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_minable_resources Online documentation}
900
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_minable_resources Online documentation}
888
901
  */
889
902
  no_minable_resources,
890
903
  /**
891
904
  * Used by cargo bays.
892
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.hatches_blocked_by_elevated_rail Online documentation}
905
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.hatches_blocked_by_elevated_rail Online documentation}
893
906
  */
894
907
  hatches_blocked_by_elevated_rail,
895
908
  /**
896
909
  * Used by cargo bays.
897
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
910
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
898
911
  */
899
912
  not_connected_to_hub_or_pad,
900
913
  /**
901
914
  * Used by some cargo bays.
902
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.too_far_from_pad_to_unload Online documentation}
915
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.too_far_from_pad_to_unload Online documentation}
903
916
  */
904
917
  too_far_from_pad_to_unload,
905
918
  /**
906
919
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
907
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.low_input_fluid Online documentation}
920
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.low_input_fluid Online documentation}
908
921
  */
909
922
  low_input_fluid,
910
923
  /**
911
924
  * Used by crafting machines.
912
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
925
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
913
926
  */
914
927
  fluid_ingredient_shortage,
915
928
  /**
916
929
  * Used by crafting machines, boilers, burner energy sources, and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
917
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.full_output Online documentation}
930
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.full_output Online documentation}
918
931
  */
919
932
  full_output,
920
933
  /**
921
934
  * Used by agricultural towers.
922
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
935
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
923
936
  */
924
937
  not_enough_space_in_output,
925
938
  /**
926
939
  * Used by burner energy sources.
927
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
940
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
928
941
  */
929
942
  full_burnt_result_output,
930
943
  /**
931
944
  * Used by crafting machines.
932
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
945
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
933
946
  */
934
947
  item_ingredient_shortage,
935
948
  /**
936
949
  * Used by mining drills when the mining fluid is missing.
937
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.missing_required_fluid Online documentation}
950
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.missing_required_fluid Online documentation}
938
951
  */
939
952
  missing_required_fluid,
940
953
  /**
941
954
  * Used by labs.
942
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.missing_science_packs Online documentation}
955
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.missing_science_packs Online documentation}
943
956
  */
944
957
  missing_science_packs,
945
958
  /**
946
959
  * Used by inserters.
947
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
960
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
948
961
  */
949
962
  waiting_for_source_items,
950
963
  /**
951
964
  * Used by inserters when wait_for_full_hand is set.
952
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
965
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
953
966
  */
954
967
  waiting_for_more_items,
955
968
  /**
956
969
  * Used by inserters, mining drills, and crafting machines using vector_to_place_result.
957
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
970
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
958
971
  */
959
972
  waiting_for_space_in_destination,
960
973
  /**
961
974
  * Used by the rocket silo.
962
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
975
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
963
976
  */
964
977
  preparing_rocket_for_launch,
965
978
  /**
966
979
  * Used by the rocket silo.
967
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
980
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
968
981
  */
969
982
  waiting_to_launch_rocket,
970
983
  /**
971
984
  * Used by the rocket silo.
972
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
985
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
973
986
  */
974
987
  waiting_for_space_in_platform_hub,
975
988
  /**
976
989
  * Used by the rocket silo.
977
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.launching_rocket Online documentation}
990
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.launching_rocket Online documentation}
978
991
  */
979
992
  launching_rocket,
980
993
  /**
981
994
  * Used by thrusters.
982
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.thrust_not_required Online documentation}
995
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.thrust_not_required Online documentation}
983
996
  */
984
997
  thrust_not_required,
985
998
  /**
986
999
  * Used by space platform hubs.
987
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.on_the_way Online documentation}
1000
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.on_the_way Online documentation}
988
1001
  */
989
1002
  on_the_way,
990
1003
  /**
991
1004
  * Used by space platform hubs.
992
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
1005
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
993
1006
  */
994
1007
  waiting_in_orbit,
995
1008
  /**
996
1009
  * Used by trains.
997
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_at_stop Online documentation}
1010
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_at_stop Online documentation}
998
1011
  */
999
1012
  waiting_at_stop,
1000
1013
  /**
1001
1014
  * Used by trains.
1002
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_upgrade Online documentation}
1015
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_upgrade Online documentation}
1003
1016
  */
1004
1017
  waiting_for_upgrade,
1005
1018
  /**
1006
1019
  * Used by space platform hubs.
1007
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
1020
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
1008
1021
  */
1009
1022
  waiting_for_rockets_to_arrive,
1010
1023
  /**
1011
1024
  * Used by space platform hubs.
1012
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_to_clear_drop_slots Online documentation}
1025
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_to_clear_drop_slots Online documentation}
1013
1026
  */
1014
1027
  waiting_to_clear_drop_slots,
1015
1028
  /**
1016
1029
  * Used by space platform hubs.
1017
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_enough_thrust Online documentation}
1030
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_enough_thrust Online documentation}
1018
1031
  */
1019
1032
  not_enough_thrust,
1020
1033
  /**
1021
1034
  * Used by trains.
1022
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.destination_stop_full Online documentation}
1035
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.destination_stop_full Online documentation}
1023
1036
  */
1024
1037
  destination_stop_full,
1025
1038
  /**
1026
1039
  * Used by trains and space platform hubs.
1027
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_path Online documentation}
1040
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_path Online documentation}
1028
1041
  */
1029
1042
  no_path,
1030
1043
  /**
1031
1044
  * Used by beacons.
1032
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
1045
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
1033
1046
  */
1034
1047
  no_modules_to_transmit,
1035
1048
  /**
1036
1049
  * Used by roboports.
1037
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
1050
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
1038
1051
  */
1039
1052
  recharging_after_power_outage,
1040
1053
  /**
1041
1054
  * Used by inserters targeting entity ghosts.
1042
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
1055
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
1043
1056
  */
1044
1057
  waiting_for_target_to_be_built,
1045
1058
  /**
1046
1059
  * Used by inserters targeting rails.
1047
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_train Online documentation}
1060
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_train Online documentation}
1048
1061
  */
1049
1062
  waiting_for_train,
1050
1063
  /**
1051
1064
  * Used by ammo turrets.
1052
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_ammo Online documentation}
1065
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_ammo Online documentation}
1053
1066
  */
1054
1067
  no_ammo,
1055
1068
  /**
1056
1069
  * Used by heat energy sources.
1057
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.low_temperature Online documentation}
1070
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.low_temperature Online documentation}
1058
1071
  */
1059
1072
  low_temperature,
1060
1073
  /**
1061
1074
  * 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}
1075
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.disabled Online documentation}
1063
1076
  */
1064
1077
  disabled,
1065
1078
  /**
1066
1079
  * Used by lamps.
1067
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
1080
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
1068
1081
  */
1069
1082
  turned_off_during_daytime,
1070
1083
  /**
1071
1084
  * Used by rail signals.
1072
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
1085
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
1073
1086
  */
1074
1087
  not_connected_to_rail,
1075
1088
  /**
1076
1089
  * Used by rail signals.
1077
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.cant_divide_segments Online documentation}
1090
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.cant_divide_segments Online documentation}
1078
1091
  */
1079
1092
  cant_divide_segments,
1080
1093
  /**
1081
1094
  * Used by filter inserters.
1082
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_filter Online documentation}
1095
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_filter Online documentation}
1083
1096
  */
1084
1097
  no_filter,
1085
1098
  /**
1086
1099
  * Used by agricultural towers.
1087
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
1100
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
1088
1101
  */
1089
1102
  no_spot_seedable_by_inputs,
1090
1103
  /**
1091
1104
  * Used by agricultural towers.
1092
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
1105
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
1093
1106
  */
1094
1107
  waiting_for_plants_to_grow,
1095
1108
  /**
1096
1109
  * Used by asteroid collectors.
1097
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.computing_navigation Online documentation}
1110
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.computing_navigation Online documentation}
1098
1111
  */
1099
1112
  computing_navigation,
1100
1113
  /**
1101
1114
  * Used by pipes, pipes to ground, and storage tanks.
1102
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.pipeline_overextended Online documentation}
1115
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.pipeline_overextended Online documentation}
1103
1116
  */
1104
1117
  pipeline_overextended,
1105
1118
  /**
1106
1119
  * Used by assembling machines.
1107
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1120
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1108
1121
  */
1109
1122
  recipe_not_researched,
1110
1123
  /**
1111
1124
  * Used by assembling machines.
1112
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
1125
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
1113
1126
  */
1114
1127
  recipe_is_parameter,
1115
1128
  /**
1116
1129
  * Used by land mines.
1117
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.entity_status.armed Online documentation}
1130
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.armed Online documentation}
1118
1131
  */
1119
1132
  armed,
1120
1133
  }
@@ -1124,8 +1137,8 @@ declare global {
1124
1137
  yellow,
1125
1138
  }
1126
1139
  /**
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}
1140
+ * See the {@linkplain https://lua-api.factorio.com/2.1.22/events.html events page} for more info on what events contain and when they get raised.
1141
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.events Online documentation}
1129
1142
  */
1130
1143
  namespace events {
1131
1144
  /**
@@ -1470,10 +1483,18 @@ declare global {
1470
1483
  * Event type: {@link OnPlayerBuiltTileEvent}
1471
1484
  */
1472
1485
  const on_player_built_tile: EventId<OnPlayerBuiltTileEvent>
1486
+ /**
1487
+ * Event type: {@link OnPlayerCancelSelectedAreaEvent}
1488
+ */
1489
+ const on_player_cancel_selected_area: EventId<OnPlayerCancelSelectedAreaEvent>
1473
1490
  /**
1474
1491
  * Event type: {@link OnPlayerCancelledCraftingEvent}
1475
1492
  */
1476
1493
  const on_player_cancelled_crafting: EventId<OnPlayerCancelledCraftingEvent>
1494
+ /**
1495
+ * Event type: {@link OnPlayerChangeSelectedAreaEvent}
1496
+ */
1497
+ const on_player_change_selected_area: EventId<OnPlayerChangeSelectedAreaEvent>
1477
1498
  /**
1478
1499
  * Event type: {@link OnPlayerChangedForceEvent}
1479
1500
  */
@@ -1670,6 +1691,10 @@ declare global {
1670
1691
  * Event type: {@link OnPlayerSetupBlueprintEvent}
1671
1692
  */
1672
1693
  const on_player_setup_blueprint: EventId<OnPlayerSetupBlueprintEvent>
1694
+ /**
1695
+ * Event type: {@link OnPlayerStartSelectedAreaEvent}
1696
+ */
1697
+ const on_player_start_selected_area: EventId<OnPlayerStartSelectedAreaEvent>
1673
1698
  /**
1674
1699
  * Event type: {@link OnPlayerSuperForcedSelectedAreaEvent}
1675
1700
  */
@@ -2095,8 +2120,8 @@ declare global {
2095
2120
  const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent, LuaScriptRaisedTeleportedEventFilter>
2096
2121
  }
2097
2122
  /**
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}
2123
+ * See the {@linkplain https://lua-api.factorio.com/2.1.22/events.html events page} for more info on what events contain and when they get raised.
2124
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.events Online documentation}
2100
2125
  */
2101
2126
  type events = (typeof events)[keyof typeof events]
2102
2127
  enum flow_precision_index {
@@ -2112,17 +2137,17 @@ declare global {
2112
2137
  enum game_controller_interaction {
2113
2138
  /**
2114
2139
  * Game controller will always hover this element regardless of type or state.
2115
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.game_controller_interaction.always Online documentation}
2140
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.game_controller_interaction.always Online documentation}
2116
2141
  */
2117
2142
  always,
2118
2143
  /**
2119
2144
  * Never hover this element with a game controller.
2120
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.game_controller_interaction.never Online documentation}
2145
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.game_controller_interaction.never Online documentation}
2121
2146
  */
2122
2147
  never,
2123
2148
  /**
2124
2149
  * Hover according to the element type and implementation.
2125
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.game_controller_interaction.normal Online documentation}
2150
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.game_controller_interaction.normal Online documentation}
2126
2151
  */
2127
2152
  normal,
2128
2153
  }
@@ -2171,8 +2196,6 @@ declare global {
2171
2196
  add_train_station,
2172
2197
  adjust_blueprint_snapping,
2173
2198
  admin_action,
2174
- alt_reverse_select_area,
2175
- alt_select_area,
2176
2199
  alt_select_blueprint_entities,
2177
2200
  alternative_copy,
2178
2201
  begin_mining,
@@ -2185,6 +2208,7 @@ declare global {
2185
2208
  cancel_delete_space_platform,
2186
2209
  cancel_new_blueprint,
2187
2210
  cancel_research,
2211
+ cancel_select_area,
2188
2212
  cancel_upgrade,
2189
2213
  change_active_character_tab,
2190
2214
  change_active_item_group_for_crafting,
@@ -2202,6 +2226,7 @@ declare global {
2202
2226
  change_programmable_speaker_parameters,
2203
2227
  change_research_condition,
2204
2228
  change_riding_state,
2229
+ change_select_area,
2205
2230
  change_selector_combinator_parameters,
2206
2231
  change_shooting_state,
2207
2232
  change_train_name,
@@ -2346,7 +2371,6 @@ declare global {
2346
2371
  reorder_logistic_section,
2347
2372
  request_missing_construction_materials,
2348
2373
  reset_assembling_machine,
2349
- reverse_select_area,
2350
2374
  rotate_entity,
2351
2375
  select_area,
2352
2376
  select_asteroid_chunk_slot,
@@ -2416,9 +2440,9 @@ declare global {
2416
2440
  stack_transfer,
2417
2441
  start_repair,
2418
2442
  start_research,
2443
+ start_select_area,
2419
2444
  start_walking,
2420
2445
  stop_drag_build,
2421
- super_forced_select_area,
2422
2446
  swap_asteroid_chunk_slots,
2423
2447
  swap_entity_filter_slots,
2424
2448
  swap_entity_slots,
@@ -2483,7 +2507,7 @@ declare global {
2483
2507
  robot_repair,
2484
2508
  /**
2485
2509
  * Used for ejected items, or items held by inserters that can't be inserted due the recipe being changed with the circuit network.
2486
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2510
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2487
2511
  */
2488
2512
  assembling_machine_dump,
2489
2513
  lab_input,
@@ -2496,7 +2520,7 @@ declare global {
2496
2520
  rocket_silo_attached_cargo_unit,
2497
2521
  /**
2498
2522
  * Inventory of cargo pod.
2499
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.inventory.cargo_unit Online documentation}
2523
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.inventory.cargo_unit Online documentation}
2500
2524
  */
2501
2525
  cargo_unit,
2502
2526
  car_trunk,
@@ -2525,7 +2549,7 @@ declare global {
2525
2549
  crafter_modules,
2526
2550
  /**
2527
2551
  * 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.
2528
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.inventory.crafter_trash Online documentation}
2552
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.inventory.crafter_trash Online documentation}
2529
2553
  */
2530
2554
  crafter_trash,
2531
2555
  asteroid_collector_output,
@@ -2583,12 +2607,12 @@ declare global {
2583
2607
  circuit_controlled,
2584
2608
  /**
2585
2609
  * Used by rocket silos.
2586
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2610
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2587
2611
  */
2588
2612
  transitional_request_controlled,
2589
2613
  /**
2590
2614
  * Used by space platform hubs.
2591
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2615
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2592
2616
  */
2593
2617
  request_missing_materials_controlled,
2594
2618
  }
@@ -2607,17 +2631,17 @@ declare global {
2607
2631
  enum print_skip {
2608
2632
  /**
2609
2633
  * Print will not be skipped.
2610
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.print_skip.never Online documentation}
2634
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.print_skip.never Online documentation}
2611
2635
  */
2612
2636
  never,
2613
2637
  /**
2614
2638
  * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
2615
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.print_skip.if_redundant Online documentation}
2639
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.print_skip.if_redundant Online documentation}
2616
2640
  */
2617
2641
  if_redundant,
2618
2642
  /**
2619
2643
  * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
2620
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.print_skip.if_visible Online documentation}
2644
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.print_skip.if_visible Online documentation}
2621
2645
  */
2622
2646
  if_visible,
2623
2647
  }
@@ -2628,7 +2652,7 @@ declare global {
2628
2652
  }
2629
2653
  /**
2630
2654
  * 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, ...}`.
2631
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.prototypes Online documentation}
2655
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.prototypes Online documentation}
2632
2656
  */
2633
2657
  interface prototypes {
2634
2658
  "achievement": {
@@ -3024,7 +3048,7 @@ declare global {
3024
3048
  }
3025
3049
  /**
3026
3050
  * 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, ...}`.
3027
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.prototypes Online documentation}
3051
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.prototypes Online documentation}
3028
3052
  */
3029
3053
  const prototypes: prototypes
3030
3054
  enum rail_connection_direction {
@@ -3154,189 +3178,189 @@ declare global {
3154
3178
  enum robot_order_type {
3155
3179
  /**
3156
3180
  * Construct a ghost.
3157
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.construct Online documentation}
3181
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.construct Online documentation}
3158
3182
  */
3159
3183
  construct,
3160
3184
  /**
3161
3185
  * Pickup an item.
3162
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.pickup Online documentation}
3186
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.pickup Online documentation}
3163
3187
  */
3164
3188
  pickup,
3165
3189
  /**
3166
3190
  * Deliver an item.
3167
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.deliver Online documentation}
3191
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.deliver Online documentation}
3168
3192
  */
3169
3193
  deliver,
3170
3194
  /**
3171
3195
  * Repair an entity.
3172
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.repair Online documentation}
3196
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.repair Online documentation}
3173
3197
  */
3174
3198
  repair,
3175
3199
  /**
3176
3200
  * Deconstruct an entity.
3177
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.deconstruct Online documentation}
3201
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.deconstruct Online documentation}
3178
3202
  */
3179
3203
  deconstruct,
3180
3204
  /**
3181
3205
  * Deliver specific items to an entity (item request proxy).
3182
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.deliver_items Online documentation}
3206
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.deliver_items Online documentation}
3183
3207
  */
3184
3208
  deliver_items,
3185
3209
  /**
3186
3210
  * Upgrade an entity.
3187
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.upgrade Online documentation}
3211
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.upgrade Online documentation}
3188
3212
  */
3189
3213
  upgrade,
3190
3214
  /**
3191
3215
  * Explode a cliff.
3192
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.explode_cliff Online documentation}
3216
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.explode_cliff Online documentation}
3193
3217
  */
3194
3218
  explode_cliff,
3195
3219
  /**
3196
3220
  * Pickup items from an entity (item request proxy).
3197
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.robot_order_type.pickup_items Online documentation}
3221
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.pickup_items Online documentation}
3198
3222
  */
3199
3223
  pickup_items,
3200
3224
  }
3201
3225
  /**
3202
3226
  * The various parts of the launch sequence of the rocket silo.
3203
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status Online documentation}
3227
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status Online documentation}
3204
3228
  */
3205
3229
  enum rocket_silo_status {
3206
3230
  /**
3207
3231
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
3208
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
3232
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
3209
3233
  */
3210
3234
  building_rocket,
3211
3235
  /**
3212
3236
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
3213
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
3237
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
3214
3238
  */
3215
3239
  create_rocket,
3216
3240
  /**
3217
3241
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
3218
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
3242
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
3219
3243
  */
3220
3244
  lights_blinking_open,
3221
3245
  /**
3222
3246
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
3223
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
3247
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
3224
3248
  */
3225
3249
  doors_opening,
3226
3250
  /**
3227
3251
  * 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.
3228
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
3252
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
3229
3253
  */
3230
3254
  doors_opened,
3231
3255
  /**
3232
3256
  * 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.
3233
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
3257
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
3234
3258
  */
3235
3259
  rocket_rising,
3236
3260
  /**
3237
3261
  * 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.
3238
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
3262
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
3239
3263
  */
3240
3264
  arms_advance,
3241
3265
  /**
3242
3266
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
3243
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
3267
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
3244
3268
  */
3245
3269
  rocket_ready,
3246
3270
  /**
3247
3271
  * The next state is `launch_started`.
3248
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
3272
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
3249
3273
  */
3250
3274
  launch_starting,
3251
3275
  /**
3252
3276
  * 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.
3253
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
3277
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
3254
3278
  */
3255
3279
  engine_starting,
3256
3280
  /**
3257
3281
  * 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.
3258
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
3282
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
3259
3283
  */
3260
3284
  arms_retract,
3261
3285
  /**
3262
3286
  * The next state is `lights_blinking_close`. The rocket is getting launched.
3263
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
3287
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
3264
3288
  */
3265
3289
  rocket_flying,
3266
3290
  /**
3267
3291
  * The next state is `doors_closing`.
3268
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
3292
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
3269
3293
  */
3270
3294
  lights_blinking_close,
3271
3295
  /**
3272
3296
  * The next state is `building_rocket`.
3273
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
3297
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
3274
3298
  */
3275
3299
  doors_closing,
3276
3300
  /**
3277
3301
  * 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.
3278
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.rocket_silo_status.launch_started Online documentation}
3302
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.launch_started Online documentation}
3279
3303
  */
3280
3304
  launch_started,
3281
3305
  }
3282
3306
  enum segmented_unit_activity_mode {
3283
3307
  /**
3284
3308
  * The segmented unit is completely asleep, only performing the bare minimum checks to wake up if needed.
3285
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation}
3309
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation}
3286
3310
  */
3287
3311
  asleep,
3288
3312
  /**
3289
3313
  * The segmented unit is minimally active, reducing unnecessary entity movement and trigger effects while continuing to patrol around its territory.
3290
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation}
3314
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation}
3291
3315
  */
3292
3316
  minimal,
3293
3317
  /**
3294
3318
  * The segmented unit is fully active and simulated as if it is being observed by a player.
3295
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_activity_mode.full Online documentation}
3319
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_activity_mode.full Online documentation}
3296
3320
  */
3297
3321
  full,
3298
3322
  }
3299
3323
  enum segmented_unit_ai_state {
3300
3324
  /**
3301
3325
  * 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.
3302
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation}
3326
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation}
3303
3327
  */
3304
3328
  patrolling,
3305
3329
  /**
3306
3330
  * The segmented unit is investigating a location where it detected a disturbance.
3307
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.investigating Online documentation}
3331
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.investigating Online documentation}
3308
3332
  */
3309
3333
  investigating,
3310
3334
  /**
3311
3335
  * The segmented unit is attacking an entity that is trespassing on its territory, but the segmented unit is not using its full strength.
3312
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.attacking Online documentation}
3336
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.attacking Online documentation}
3313
3337
  */
3314
3338
  attacking,
3315
3339
  /**
3316
3340
  * The segmented unit is angry because it was attacked and is aggressively attacking an entity with its full strength.
3317
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation}
3341
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation}
3318
3342
  */
3319
3343
  enraged_at_target,
3320
3344
  /**
3321
3345
  * 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.
3322
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation}
3346
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation}
3323
3347
  */
3324
3348
  enraged_at_nothing,
3325
3349
  }
3326
3350
  enum segmented_unit_created_cause {
3327
3351
  /**
3328
3352
  * The segmented unit was spawned naturally by the map generator.
3329
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation}
3353
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation}
3330
3354
  */
3331
3355
  map_generated,
3332
3356
  /**
3333
3357
  * The segmented unit was created manually via script.
3334
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_created_cause.script_created Online documentation}
3358
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_created_cause.script_created Online documentation}
3335
3359
  */
3336
3360
  script_created,
3337
3361
  /**
3338
3362
  * The segmented unit was cloned from an existing segmented unit via script.
3339
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation}
3363
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation}
3340
3364
  */
3341
3365
  script_cloned,
3342
3366
  }
@@ -3354,74 +3378,74 @@ declare global {
3354
3378
  }
3355
3379
  /**
3356
3380
  * State of an ordinary rail signal.
3357
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state Online documentation}
3381
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state Online documentation}
3358
3382
  */
3359
3383
  enum signal_state {
3360
3384
  /**
3361
3385
  * Green.
3362
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.open Online documentation}
3386
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.open Online documentation}
3363
3387
  */
3364
3388
  open,
3365
3389
  /**
3366
3390
  * Red.
3367
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.closed Online documentation}
3391
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.closed Online documentation}
3368
3392
  */
3369
3393
  closed,
3370
3394
  /**
3371
3395
  * Orange.
3372
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.reserved Online documentation}
3396
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.reserved Online documentation}
3373
3397
  */
3374
3398
  reserved,
3375
3399
  /**
3376
3400
  * Red - From circuit network.
3377
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
3401
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
3378
3402
  */
3379
3403
  reserved_by_circuit_network,
3380
3404
  }
3381
3405
  enum space_platform_state {
3382
3406
  /**
3383
3407
  * Waiting for a starter pack.
3384
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
3408
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
3385
3409
  */
3386
3410
  waiting_for_starter_pack,
3387
3411
  /**
3388
3412
  * Starter pack was requested from the logistics system.
3389
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3413
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3390
3414
  */
3391
3415
  starter_pack_requested,
3392
3416
  /**
3393
3417
  * Starter pack is on the way.
3394
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3418
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3395
3419
  */
3396
3420
  starter_pack_on_the_way,
3397
3421
  /**
3398
3422
  * Following the path.
3399
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.on_the_path Online documentation}
3423
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.on_the_path Online documentation}
3400
3424
  */
3401
3425
  on_the_path,
3402
3426
  /**
3403
3427
  * Platform is ready to leave this planet and does not accept deliveries.
3404
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3428
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3405
3429
  */
3406
3430
  waiting_for_departure,
3407
3431
  /**
3408
3432
  * Doesn't have any stations in schedule.
3409
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.no_schedule Online documentation}
3433
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.no_schedule Online documentation}
3410
3434
  */
3411
3435
  no_schedule,
3412
3436
  /**
3413
3437
  * Doesn't have anywhere to go.
3414
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.no_path Online documentation}
3438
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.no_path Online documentation}
3415
3439
  */
3416
3440
  no_path,
3417
3441
  /**
3418
3442
  * Waiting at a station.
3419
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3443
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3420
3444
  */
3421
3445
  waiting_at_station,
3422
3446
  /**
3423
3447
  * Paused.
3424
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.space_platform_state.paused Online documentation}
3448
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.paused Online documentation}
3425
3449
  */
3426
3450
  paused,
3427
3451
  }
@@ -3455,64 +3479,64 @@ declare global {
3455
3479
  enum territory_created_cause {
3456
3480
  /**
3457
3481
  * The territory was spawned naturally by the map generator.
3458
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.territory_created_cause.map_generated Online documentation}
3482
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.territory_created_cause.map_generated Online documentation}
3459
3483
  */
3460
3484
  map_generated,
3461
3485
  /**
3462
3486
  * The territory was created manually via script.
3463
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.territory_created_cause.script_created Online documentation}
3487
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.territory_created_cause.script_created Online documentation}
3464
3488
  */
3465
3489
  script_created,
3466
3490
  }
3467
3491
  enum train_state {
3468
3492
  /**
3469
3493
  * Normal state -- following the path.
3470
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.on_the_path Online documentation}
3494
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.on_the_path Online documentation}
3471
3495
  */
3472
3496
  on_the_path,
3473
3497
  /**
3474
3498
  * Doesn't have anywhere to go.
3475
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.no_schedule Online documentation}
3499
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.no_schedule Online documentation}
3476
3500
  */
3477
3501
  no_schedule,
3478
3502
  /**
3479
3503
  * Has no path and is stopped.
3480
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.no_path Online documentation}
3504
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.no_path Online documentation}
3481
3505
  */
3482
3506
  no_path,
3483
3507
  /**
3484
3508
  * Braking before a rail signal.
3485
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.arrive_signal Online documentation}
3509
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.arrive_signal Online documentation}
3486
3510
  */
3487
3511
  arrive_signal,
3488
3512
  /**
3489
3513
  * Waiting at a signal.
3490
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.wait_signal Online documentation}
3514
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.wait_signal Online documentation}
3491
3515
  */
3492
3516
  wait_signal,
3493
3517
  /**
3494
3518
  * Braking before a station.
3495
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.arrive_station Online documentation}
3519
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.arrive_station Online documentation}
3496
3520
  */
3497
3521
  arrive_station,
3498
3522
  /**
3499
3523
  * Switched to manual control and has to stop.
3500
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.manual_control_stop Online documentation}
3524
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.manual_control_stop Online documentation}
3501
3525
  */
3502
3526
  manual_control_stop,
3503
3527
  /**
3504
3528
  * Can move if user explicitly sits in and rides the train.
3505
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.manual_control Online documentation}
3529
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.manual_control Online documentation}
3506
3530
  */
3507
3531
  manual_control,
3508
3532
  /**
3509
3533
  * Waiting at a station.
3510
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.wait_station Online documentation}
3534
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.wait_station Online documentation}
3511
3535
  */
3512
3536
  wait_station,
3513
3537
  /**
3514
3538
  * Same as no_path but all candidate train stops are full
3515
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.train_state.destination_full Online documentation}
3539
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.destination_full Online documentation}
3516
3540
  */
3517
3541
  destination_full,
3518
3542
  }
@@ -3542,17 +3566,17 @@ declare global {
3542
3566
  enum wire_origin {
3543
3567
  /**
3544
3568
  * 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.
3545
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.wire_origin.player Online documentation}
3569
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.wire_origin.player Online documentation}
3546
3570
  */
3547
3571
  player,
3548
3572
  /**
3549
3573
  * 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.
3550
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.wire_origin.script Online documentation}
3574
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.wire_origin.script Online documentation}
3551
3575
  */
3552
3576
  script,
3553
3577
  /**
3554
3578
  * These wires can only be modified by the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
3555
- * @see {@link https://lua-api.factorio.com/2.1.21/defines.html#defines.wire_origin.radars Online documentation}
3579
+ * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.wire_origin.radars Online documentation}
3556
3580
  */
3557
3581
  radars,
3558
3582
  }