typed-factorio 2.2.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -229,7 +229,7 @@ declare global {
229
229
  }
230
230
  /**
231
231
  * AI command exit status. See {@link LuaEntity#set_command LuaEntity::set_command}
232
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.behavior_result Online documentation}
232
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.behavior_result Online documentation}
233
233
  */
234
234
  enum behavior_result {
235
235
  in_progress,
@@ -247,7 +247,7 @@ declare global {
247
247
  }
248
248
  /**
249
249
  * State of a chain signal.
250
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.chain_signal_state Online documentation}
250
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.chain_signal_state Online documentation}
251
251
  */
252
252
  enum chain_signal_state {
253
253
  none,
@@ -294,73 +294,73 @@ declare global {
294
294
  }
295
295
  /**
296
296
  * Command given to units describing what they should do.
297
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command Online documentation}
297
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command Online documentation}
298
298
  */
299
299
  enum command {
300
300
  /**
301
301
  * Attack another entity.
302
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.attack Online documentation}
302
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.attack Online documentation}
303
303
  */
304
304
  attack = 0,
305
305
  /**
306
306
  * Go to a specific position.
307
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.go_to_location Online documentation}
307
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.go_to_location Online documentation}
308
308
  */
309
309
  go_to_location = 1,
310
310
  /**
311
311
  * Chain commands together, see {@link defines.compound_command}.
312
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.compound Online documentation}
312
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.compound Online documentation}
313
313
  */
314
314
  compound = 2,
315
315
  /**
316
316
  * Do what your group wants you to do.
317
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.group Online documentation}
317
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.group Online documentation}
318
318
  */
319
319
  group = 3,
320
320
  /**
321
321
  * Go to a place and attack what you see.
322
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.attack_area Online documentation}
322
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.attack_area Online documentation}
323
323
  */
324
324
  attack_area = 4,
325
325
  /**
326
326
  * Chill.
327
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.wander Online documentation}
327
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.wander Online documentation}
328
328
  */
329
329
  wander = 5,
330
330
  /**
331
331
  * Flee from another entity.
332
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.flee Online documentation}
332
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.flee Online documentation}
333
333
  */
334
334
  flee = 6,
335
335
  /**
336
336
  * Stop moving and stay where you are.
337
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.stop Online documentation}
337
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.stop Online documentation}
338
338
  */
339
339
  stop = 7,
340
340
  /**
341
341
  * Go to a position and build a base there.
342
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.command.build_base Online documentation}
342
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.command.build_base Online documentation}
343
343
  */
344
344
  build_base = 8,
345
345
  }
346
346
  /**
347
347
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
348
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.compound_command Online documentation}
348
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.compound_command Online documentation}
349
349
  */
350
350
  enum compound_command {
351
351
  /**
352
352
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
353
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.compound_command.logical_and Online documentation}
353
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.compound_command.logical_and Online documentation}
354
354
  */
355
355
  logical_and,
356
356
  /**
357
357
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
358
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.compound_command.logical_or Online documentation}
358
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.compound_command.logical_or Online documentation}
359
359
  */
360
360
  logical_or,
361
361
  /**
362
362
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
363
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.compound_command.return_last Online documentation}
363
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.compound_command.return_last Online documentation}
364
364
  */
365
365
  return_last,
366
366
  }
@@ -404,92 +404,92 @@ declare global {
404
404
  enum type {
405
405
  /**
406
406
  * {@link LuaContainerControlBehavior}
407
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.container Online documentation}
407
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.container Online documentation}
408
408
  */
409
409
  container,
410
410
  /**
411
411
  * {@link LuaGenericOnOffControlBehavior}
412
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
412
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
413
413
  */
414
414
  generic_on_off,
415
415
  /**
416
416
  * {@link LuaInserterControlBehavior}
417
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.inserter Online documentation}
417
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.inserter Online documentation}
418
418
  */
419
419
  inserter,
420
420
  /**
421
421
  * {@link LuaLampControlBehavior}
422
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.lamp Online documentation}
422
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.lamp Online documentation}
423
423
  */
424
424
  lamp,
425
425
  /**
426
426
  * {@link LuaLogisticContainerControlBehavior}
427
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.logistic_container Online documentation}
427
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.logistic_container Online documentation}
428
428
  */
429
429
  logistic_container,
430
430
  /**
431
431
  * {@link LuaRoboportControlBehavior}
432
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.roboport Online documentation}
432
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.roboport Online documentation}
433
433
  */
434
434
  roboport,
435
435
  /**
436
436
  * {@link LuaStorageTankControlBehavior}
437
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.storage_tank Online documentation}
437
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.storage_tank Online documentation}
438
438
  */
439
439
  storage_tank,
440
440
  /**
441
441
  * {@link LuaTrainStopControlBehavior}
442
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.train_stop Online documentation}
442
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.train_stop Online documentation}
443
443
  */
444
444
  train_stop,
445
445
  /**
446
446
  * {@link LuaDeciderCombinatorControlBehavior}
447
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
447
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
448
448
  */
449
449
  decider_combinator,
450
450
  /**
451
451
  * {@link LuaArithmeticCombinatorControlBehavior}
452
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
452
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
453
453
  */
454
454
  arithmetic_combinator,
455
455
  /**
456
456
  * {@link LuaConstantCombinatorControlBehavior}
457
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
457
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
458
458
  */
459
459
  constant_combinator,
460
460
  /**
461
461
  * {@link LuaTransportBeltControlBehavior}
462
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.transport_belt Online documentation}
462
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.transport_belt Online documentation}
463
463
  */
464
464
  transport_belt,
465
465
  /**
466
466
  * {@link LuaAccumulatorControlBehavior}
467
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.accumulator Online documentation}
467
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.accumulator Online documentation}
468
468
  */
469
469
  accumulator,
470
470
  /**
471
471
  * {@link LuaRailSignalControlBehavior}
472
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.rail_signal Online documentation}
472
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.rail_signal Online documentation}
473
473
  */
474
474
  rail_signal,
475
475
  /**
476
476
  * {@link LuaRailChainSignalControlBehavior}
477
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
477
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
478
478
  */
479
479
  rail_chain_signal,
480
480
  /**
481
481
  * {@link LuaWallControlBehavior}
482
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.wall Online documentation}
482
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.wall Online documentation}
483
483
  */
484
484
  wall,
485
485
  /**
486
486
  * {@link LuaMiningDrillControlBehavior}
487
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.mining_drill Online documentation}
487
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.mining_drill Online documentation}
488
488
  */
489
489
  mining_drill,
490
490
  /**
491
491
  * {@link LuaProgrammableSpeakerControlBehavior}
492
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
492
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
493
493
  */
494
494
  programmable_speaker,
495
495
  }
@@ -497,32 +497,32 @@ declare global {
497
497
  enum controllers {
498
498
  /**
499
499
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
500
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.controllers.ghost Online documentation}
500
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.controllers.ghost Online documentation}
501
501
  */
502
502
  ghost,
503
503
  /**
504
504
  * The controller controls a character. This is the default controller in freeplay.
505
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.controllers.character Online documentation}
505
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.controllers.character Online documentation}
506
506
  */
507
507
  character,
508
508
  /**
509
509
  * The controller isn't tied to a character. This is the default controller in sandbox.
510
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.controllers.god Online documentation}
510
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.controllers.god Online documentation}
511
511
  */
512
512
  god,
513
513
  /**
514
514
  * The Editor Controller near ultimate power to do almost anything in the game.
515
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.controllers.editor Online documentation}
515
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.controllers.editor Online documentation}
516
516
  */
517
517
  editor,
518
518
  /**
519
519
  * The player can't interact with the world, and the camera pans around in a predefined manner.
520
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.controllers.cutscene Online documentation}
520
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.controllers.cutscene Online documentation}
521
521
  */
522
522
  cutscene,
523
523
  /**
524
524
  * Can't change anything in the world but can view anything.
525
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.controllers.spectator Online documentation}
525
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.controllers.spectator Online documentation}
526
526
  */
527
527
  spectator,
528
528
  }
@@ -583,22 +583,22 @@ declare global {
583
583
  enum distraction {
584
584
  /**
585
585
  * Perform command even if someone attacks the unit.
586
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.distraction.none Online documentation}
586
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.distraction.none Online documentation}
587
587
  */
588
588
  none,
589
589
  /**
590
590
  * Attack closer enemy entities with force.
591
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.distraction.by_enemy Online documentation}
591
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.distraction.by_enemy Online documentation}
592
592
  */
593
593
  by_enemy,
594
594
  /**
595
595
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
596
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.distraction.by_anything Online documentation}
596
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.distraction.by_anything Online documentation}
597
597
  */
598
598
  by_anything,
599
599
  /**
600
600
  * Attack when attacked.
601
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.distraction.by_damage Online documentation}
601
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.distraction.by_damage Online documentation}
602
602
  */
603
603
  by_damage,
604
604
  }
@@ -615,173 +615,173 @@ declare global {
615
615
  marked_for_deconstruction,
616
616
  /**
617
617
  * Used by generators and solar panels.
618
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
618
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
619
619
  */
620
620
  not_plugged_in_electric_network,
621
621
  /**
622
622
  * Used by power switches.
623
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.networks_connected Online documentation}
623
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.networks_connected Online documentation}
624
624
  */
625
625
  networks_connected,
626
626
  /**
627
627
  * Used by power switches.
628
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.networks_disconnected Online documentation}
628
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.networks_disconnected Online documentation}
629
629
  */
630
630
  networks_disconnected,
631
631
  /**
632
632
  * Used by accumulators.
633
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.charging Online documentation}
633
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.charging Online documentation}
634
634
  */
635
635
  charging,
636
636
  /**
637
637
  * Used by accumulators.
638
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.discharging Online documentation}
638
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.discharging Online documentation}
639
639
  */
640
640
  discharging,
641
641
  /**
642
642
  * Used by accumulators.
643
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.fully_charged Online documentation}
643
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.fully_charged Online documentation}
644
644
  */
645
645
  fully_charged,
646
646
  /**
647
647
  * Used by logistic containers.
648
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
648
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
649
649
  */
650
650
  out_of_logistic_network,
651
651
  /**
652
652
  * Used by assembling machines.
653
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_recipe Online documentation}
653
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_recipe Online documentation}
654
654
  */
655
655
  no_recipe,
656
656
  /**
657
657
  * Used by furnaces.
658
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_ingredients Online documentation}
658
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_ingredients Online documentation}
659
659
  */
660
660
  no_ingredients,
661
661
  /**
662
662
  * Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
663
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_input_fluid Online documentation}
663
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_input_fluid Online documentation}
664
664
  */
665
665
  no_input_fluid,
666
666
  /**
667
667
  * Used by labs.
668
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_research_in_progress Online documentation}
668
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_research_in_progress Online documentation}
669
669
  */
670
670
  no_research_in_progress,
671
671
  /**
672
672
  * Used by mining drills.
673
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_minable_resources Online documentation}
673
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_minable_resources Online documentation}
674
674
  */
675
675
  no_minable_resources,
676
676
  /**
677
677
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
678
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.low_input_fluid Online documentation}
678
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.low_input_fluid Online documentation}
679
679
  */
680
680
  low_input_fluid,
681
681
  /**
682
682
  * Used by crafting machines.
683
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
683
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
684
684
  */
685
685
  fluid_ingredient_shortage,
686
686
  /**
687
687
  * Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
688
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.full_output Online documentation}
688
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.full_output Online documentation}
689
689
  */
690
690
  full_output,
691
691
  /**
692
692
  * Used by crafting machines.
693
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
693
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
694
694
  */
695
695
  item_ingredient_shortage,
696
696
  /**
697
697
  * Used by mining drills when the mining fluid is missing.
698
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.missing_required_fluid Online documentation}
698
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.missing_required_fluid Online documentation}
699
699
  */
700
700
  missing_required_fluid,
701
701
  /**
702
702
  * Used by labs.
703
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.missing_science_packs Online documentation}
703
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.missing_science_packs Online documentation}
704
704
  */
705
705
  missing_science_packs,
706
706
  /**
707
707
  * Used by inserters.
708
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
708
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
709
709
  */
710
710
  waiting_for_source_items,
711
711
  /**
712
712
  * Used by inserters and mining drills.
713
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
713
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
714
714
  */
715
715
  waiting_for_space_in_destination,
716
716
  /**
717
717
  * Used by the rocket silo.
718
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
718
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
719
719
  */
720
720
  preparing_rocket_for_launch,
721
721
  /**
722
722
  * Used by the rocket silo.
723
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
723
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
724
724
  */
725
725
  waiting_to_launch_rocket,
726
726
  /**
727
727
  * Used by the rocket silo.
728
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.launching_rocket Online documentation}
728
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.launching_rocket Online documentation}
729
729
  */
730
730
  launching_rocket,
731
731
  /**
732
732
  * Used by beacons.
733
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
733
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
734
734
  */
735
735
  no_modules_to_transmit,
736
736
  /**
737
737
  * Used by roboports.
738
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
738
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
739
739
  */
740
740
  recharging_after_power_outage,
741
741
  /**
742
742
  * Used by inserters targeting entity ghosts.
743
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
743
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
744
744
  */
745
745
  waiting_for_target_to_be_built,
746
746
  /**
747
747
  * Used by inserters targeting rails.
748
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.waiting_for_train Online documentation}
748
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.waiting_for_train Online documentation}
749
749
  */
750
750
  waiting_for_train,
751
751
  /**
752
752
  * Used by ammo turrets.
753
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.no_ammo Online documentation}
753
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.no_ammo Online documentation}
754
754
  */
755
755
  no_ammo,
756
756
  /**
757
757
  * Used by heat energy sources.
758
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.low_temperature Online documentation}
758
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.low_temperature Online documentation}
759
759
  */
760
760
  low_temperature,
761
761
  /**
762
762
  * Used by constant combinators: Combinator is turned off via switch in GUI.
763
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.disabled Online documentation}
763
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.disabled Online documentation}
764
764
  */
765
765
  disabled,
766
766
  /**
767
767
  * Used by lamps.
768
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
768
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
769
769
  */
770
770
  turned_off_during_daytime,
771
771
  /**
772
772
  * Used by rail signals.
773
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
773
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
774
774
  */
775
775
  not_connected_to_rail,
776
776
  /**
777
777
  * Used by rail signals.
778
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.entity_status.cant_divide_segments Online documentation}
778
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.entity_status.cant_divide_segments Online documentation}
779
779
  */
780
780
  cant_divide_segments,
781
781
  }
782
782
  /**
783
- * See the {@linkplain https://lua-api.factorio.com/1.1.92/events.html events page} for more info on what events contain and when they get raised.
784
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.events Online documentation}
783
+ * See the {@linkplain https://lua-api.factorio.com/1.1.95/events.html events page} for more info on what events contain and when they get raised.
784
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.events Online documentation}
785
785
  */
786
786
  namespace events {
787
787
  /**
@@ -1572,8 +1572,8 @@ declare global {
1572
1572
  const on_player_input_method_changed: EventId<OnPlayerInputMethodChangedEvent>
1573
1573
  }
1574
1574
  /**
1575
- * See the {@linkplain https://lua-api.factorio.com/1.1.92/events.html events page} for more info on what events contain and when they get raised.
1576
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.events Online documentation}
1575
+ * See the {@linkplain https://lua-api.factorio.com/1.1.95/events.html events page} for more info on what events contain and when they get raised.
1576
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.events Online documentation}
1577
1577
  */
1578
1578
  type events = (typeof events)[keyof typeof events]
1579
1579
  enum flow_precision_index {
@@ -1589,17 +1589,17 @@ declare global {
1589
1589
  enum game_controller_interaction {
1590
1590
  /**
1591
1591
  * Game controller will always hover this element regardless of type or state.
1592
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.game_controller_interaction.always Online documentation}
1592
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.game_controller_interaction.always Online documentation}
1593
1593
  */
1594
1594
  always,
1595
1595
  /**
1596
1596
  * Hover according to the element type and implementation.
1597
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.game_controller_interaction.never Online documentation}
1597
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.game_controller_interaction.never Online documentation}
1598
1598
  */
1599
1599
  never,
1600
1600
  /**
1601
1601
  * Never hover this element with a game controller.
1602
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.game_controller_interaction.normal Online documentation}
1602
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.game_controller_interaction.normal Online documentation}
1603
1603
  */
1604
1604
  normal,
1605
1605
  }
@@ -1912,9 +1912,31 @@ declare global {
1912
1912
  right,
1913
1913
  middle,
1914
1914
  }
1915
+ enum print_skip {
1916
+ /**
1917
+ * Print will not be skipped.
1918
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.print_skip.never Online documentation}
1919
+ */
1920
+ never,
1921
+ /**
1922
+ * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
1923
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.print_skip.if_redundant Online documentation}
1924
+ */
1925
+ if_redundant,
1926
+ /**
1927
+ * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
1928
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.print_skip.if_visible Online documentation}
1929
+ */
1930
+ if_visible,
1931
+ }
1932
+ enum print_sound {
1933
+ always,
1934
+ never,
1935
+ use_player_settings,
1936
+ }
1915
1937
  /**
1916
1938
  * A dictionary mapping all top-level prototypes by name to a list of their associated subtypes. This list is organized as a lookup table, meaning it maps the sub-prototype names to `0`. As an example, `defines.prototypes['entity']` looks like this: `{furnace=0, inserter=0, container=0, ...}`.
1917
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.prototypes Online documentation}
1939
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.prototypes Online documentation}
1918
1940
  */
1919
1941
  const prototypes: {
1920
1942
  [type in keyof PrototypeMap]: {
@@ -2028,82 +2050,82 @@ declare global {
2028
2050
  }
2029
2051
  /**
2030
2052
  * The various parts of the launch sequence of the rocket silo.
2031
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status Online documentation}
2053
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status Online documentation}
2032
2054
  */
2033
2055
  enum rocket_silo_status {
2034
2056
  /**
2035
2057
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
2036
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2058
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2037
2059
  */
2038
2060
  building_rocket,
2039
2061
  /**
2040
2062
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
2041
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2063
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2042
2064
  */
2043
2065
  create_rocket,
2044
2066
  /**
2045
2067
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
2046
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2068
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2047
2069
  */
2048
2070
  lights_blinking_open,
2049
2071
  /**
2050
2072
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
2051
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2073
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2052
2074
  */
2053
2075
  doors_opening,
2054
2076
  /**
2055
2077
  * 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.
2056
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2078
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2057
2079
  */
2058
2080
  doors_opened,
2059
2081
  /**
2060
2082
  * 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.
2061
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2083
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2062
2084
  */
2063
2085
  rocket_rising,
2064
2086
  /**
2065
2087
  * 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.
2066
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2088
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2067
2089
  */
2068
2090
  arms_advance,
2069
2091
  /**
2070
2092
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
2071
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2093
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2072
2094
  */
2073
2095
  rocket_ready,
2074
2096
  /**
2075
2097
  * The next state is `launch_started`.
2076
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2098
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2077
2099
  */
2078
2100
  launch_starting,
2079
2101
  /**
2080
2102
  * 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.
2081
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2103
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2082
2104
  */
2083
2105
  engine_starting,
2084
2106
  /**
2085
2107
  * 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.
2086
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2108
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2087
2109
  */
2088
2110
  arms_retract,
2089
2111
  /**
2090
2112
  * The next state is `lights_blinking_close`. The rocket is getting launched.
2091
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2113
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2092
2114
  */
2093
2115
  rocket_flying,
2094
2116
  /**
2095
2117
  * The next state is `doors_closing`.
2096
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2118
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2097
2119
  */
2098
2120
  lights_blinking_close,
2099
2121
  /**
2100
2122
  * The next state is `building_rocket`.
2101
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2123
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2102
2124
  */
2103
2125
  doors_closing,
2104
2126
  /**
2105
2127
  * 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.
2106
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2128
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2107
2129
  */
2108
2130
  launch_started,
2109
2131
  }
@@ -2114,84 +2136,84 @@ declare global {
2114
2136
  }
2115
2137
  /**
2116
2138
  * State of an ordinary rail signal.
2117
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.signal_state Online documentation}
2139
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.signal_state Online documentation}
2118
2140
  */
2119
2141
  enum signal_state {
2120
2142
  /**
2121
2143
  * Green.
2122
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.signal_state.open Online documentation}
2144
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.signal_state.open Online documentation}
2123
2145
  */
2124
2146
  open,
2125
2147
  /**
2126
2148
  * Red.
2127
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.signal_state.closed Online documentation}
2149
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.signal_state.closed Online documentation}
2128
2150
  */
2129
2151
  closed,
2130
2152
  /**
2131
2153
  * Orange.
2132
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.signal_state.reserved Online documentation}
2154
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.signal_state.reserved Online documentation}
2133
2155
  */
2134
2156
  reserved,
2135
2157
  /**
2136
2158
  * Red - From circuit network.
2137
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2159
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2138
2160
  */
2139
2161
  reserved_by_circuit_network,
2140
2162
  }
2141
2163
  enum train_state {
2142
2164
  /**
2143
2165
  * Normal state -- following the path.
2144
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.on_the_path Online documentation}
2166
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.on_the_path Online documentation}
2145
2167
  */
2146
2168
  on_the_path,
2147
2169
  /**
2148
2170
  * Had path and lost it -- must stop.
2149
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.path_lost Online documentation}
2171
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.path_lost Online documentation}
2150
2172
  */
2151
2173
  path_lost,
2152
2174
  /**
2153
2175
  * Doesn't have anywhere to go.
2154
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.no_schedule Online documentation}
2176
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.no_schedule Online documentation}
2155
2177
  */
2156
2178
  no_schedule,
2157
2179
  /**
2158
2180
  * Has no path and is stopped.
2159
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.no_path Online documentation}
2181
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.no_path Online documentation}
2160
2182
  */
2161
2183
  no_path,
2162
2184
  /**
2163
2185
  * Braking before a rail signal.
2164
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.arrive_signal Online documentation}
2186
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.arrive_signal Online documentation}
2165
2187
  */
2166
2188
  arrive_signal,
2167
2189
  /**
2168
2190
  * Waiting at a signal.
2169
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.wait_signal Online documentation}
2191
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.wait_signal Online documentation}
2170
2192
  */
2171
2193
  wait_signal,
2172
2194
  /**
2173
2195
  * Braking before a station.
2174
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.arrive_station Online documentation}
2196
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.arrive_station Online documentation}
2175
2197
  */
2176
2198
  arrive_station,
2177
2199
  /**
2178
2200
  * Waiting at a station.
2179
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.wait_station Online documentation}
2201
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.wait_station Online documentation}
2180
2202
  */
2181
2203
  wait_station,
2182
2204
  /**
2183
2205
  * Switched to manual control and has to stop.
2184
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.manual_control_stop Online documentation}
2206
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.manual_control_stop Online documentation}
2185
2207
  */
2186
2208
  manual_control_stop,
2187
2209
  /**
2188
2210
  * Can move if user explicitly sits in and rides the train.
2189
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.manual_control Online documentation}
2211
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.manual_control Online documentation}
2190
2212
  */
2191
2213
  manual_control,
2192
2214
  /**
2193
2215
  * Same as no_path but all candidate train stops are full
2194
- * @see {@link https://lua-api.factorio.com/1.1.92/defines.html#defines.train_state.destination_full Online documentation}
2216
+ * @see {@link https://lua-api.factorio.com/1.1.95/defines.html#defines.train_state.destination_full Online documentation}
2195
2217
  */
2196
2218
  destination_full,
2197
2219
  }