typed-factorio 3.15.0 → 3.16.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.
@@ -233,7 +233,7 @@ declare global {
233
233
  }
234
234
  /**
235
235
  * AI command exit status. See {@link LuaEntity#set_command LuaEntity::set_command}
236
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.behavior_result Online documentation}
236
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.behavior_result Online documentation}
237
237
  */
238
238
  enum behavior_result {
239
239
  in_progress,
@@ -257,33 +257,33 @@ declare global {
257
257
  enum cargo_destination {
258
258
  /**
259
259
  * The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it.
260
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.cargo_destination.invalid Online documentation}
260
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.cargo_destination.invalid Online documentation}
261
261
  */
262
262
  invalid,
263
263
  /**
264
264
  * Cargo pods with orbit destination are destroyed when ascent is completed.
265
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.cargo_destination.orbit Online documentation}
265
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.cargo_destination.orbit Online documentation}
266
266
  */
267
267
  orbit,
268
268
  /**
269
269
  * Any cargo landing pad or space platform hub.
270
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.cargo_destination.station Online documentation}
270
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.cargo_destination.station Online documentation}
271
271
  */
272
272
  station,
273
273
  /**
274
274
  * 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.
275
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.cargo_destination.surface Online documentation}
275
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.cargo_destination.surface Online documentation}
276
276
  */
277
277
  surface,
278
278
  /**
279
279
  * 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.
280
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.cargo_destination.space_platform Online documentation}
280
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.cargo_destination.space_platform Online documentation}
281
281
  */
282
282
  space_platform,
283
283
  }
284
284
  /**
285
285
  * State of a chain signal.
286
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.chain_signal_state Online documentation}
286
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.chain_signal_state Online documentation}
287
287
  */
288
288
  enum chain_signal_state {
289
289
  none,
@@ -301,73 +301,73 @@ declare global {
301
301
  }
302
302
  /**
303
303
  * Command given to units describing what they should do.
304
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command Online documentation}
304
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command Online documentation}
305
305
  */
306
306
  enum command {
307
307
  /**
308
308
  * Attack another entity.
309
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.attack Online documentation}
309
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.attack Online documentation}
310
310
  */
311
311
  attack = 0,
312
312
  /**
313
313
  * Go to a specific position.
314
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.go_to_location Online documentation}
314
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.go_to_location Online documentation}
315
315
  */
316
316
  go_to_location = 1,
317
317
  /**
318
318
  * Chain commands together, see {@link defines.compound_command}.
319
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.compound Online documentation}
319
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.compound Online documentation}
320
320
  */
321
321
  compound = 2,
322
322
  /**
323
323
  * Do what your group wants you to do.
324
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.group Online documentation}
324
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.group Online documentation}
325
325
  */
326
326
  group = 3,
327
327
  /**
328
328
  * Go to a place and attack what you see.
329
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.attack_area Online documentation}
329
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.attack_area Online documentation}
330
330
  */
331
331
  attack_area = 4,
332
332
  /**
333
333
  * Chill.
334
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.wander Online documentation}
334
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.wander Online documentation}
335
335
  */
336
336
  wander = 5,
337
337
  /**
338
338
  * Flee from another entity.
339
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.flee Online documentation}
339
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.flee Online documentation}
340
340
  */
341
341
  flee = 6,
342
342
  /**
343
343
  * Stop moving and stay where you are.
344
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.stop Online documentation}
344
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.stop Online documentation}
345
345
  */
346
346
  stop = 7,
347
347
  /**
348
348
  * Go to a position and build a base there.
349
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.command.build_base Online documentation}
349
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.command.build_base Online documentation}
350
350
  */
351
351
  build_base = 8,
352
352
  }
353
353
  /**
354
354
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
355
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.compound_command Online documentation}
355
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.compound_command Online documentation}
356
356
  */
357
357
  enum compound_command {
358
358
  /**
359
359
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
360
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.compound_command.logical_and Online documentation}
360
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.compound_command.logical_and Online documentation}
361
361
  */
362
362
  logical_and,
363
363
  /**
364
364
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
365
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.compound_command.logical_or Online documentation}
365
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.compound_command.logical_or Online documentation}
366
366
  */
367
367
  logical_or,
368
368
  /**
369
369
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
370
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.compound_command.return_last Online documentation}
370
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.compound_command.return_last Online documentation}
371
371
  */
372
372
  return_last,
373
373
  }
@@ -429,205 +429,210 @@ declare global {
429
429
  enum type {
430
430
  /**
431
431
  * {@link LuaContainerControlBehavior}
432
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.container Online documentation}
432
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.container Online documentation}
433
433
  */
434
434
  container,
435
435
  /**
436
436
  * {@link LuaGenericOnOffControlBehavior}
437
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
437
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
438
438
  */
439
439
  generic_on_off,
440
440
  /**
441
441
  * {@link LuaInserterControlBehavior}
442
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.inserter Online documentation}
442
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.inserter Online documentation}
443
443
  */
444
444
  inserter,
445
445
  /**
446
446
  * {@link LuaLampControlBehavior}
447
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.lamp Online documentation}
447
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.lamp Online documentation}
448
448
  */
449
449
  lamp,
450
450
  /**
451
451
  * {@link LuaLogisticContainerControlBehavior}
452
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.logistic_container Online documentation}
452
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.logistic_container Online documentation}
453
453
  */
454
454
  logistic_container,
455
455
  /**
456
456
  * {@link LuaRoboportControlBehavior}
457
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.roboport Online documentation}
457
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.roboport Online documentation}
458
458
  */
459
459
  roboport,
460
460
  /**
461
461
  * {@link LuaStorageTankControlBehavior}
462
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.storage_tank Online documentation}
462
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.storage_tank Online documentation}
463
463
  */
464
464
  storage_tank,
465
465
  /**
466
466
  * {@link LuaTrainStopControlBehavior}
467
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.train_stop Online documentation}
467
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.train_stop Online documentation}
468
468
  */
469
469
  train_stop,
470
470
  /**
471
471
  * {@link LuaDeciderCombinatorControlBehavior}
472
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
472
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
473
473
  */
474
474
  decider_combinator,
475
475
  /**
476
476
  * {@link LuaArithmeticCombinatorControlBehavior}
477
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
477
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
478
478
  */
479
479
  arithmetic_combinator,
480
480
  /**
481
481
  * {@link LuaConstantCombinatorControlBehavior}
482
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
482
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
483
483
  */
484
484
  constant_combinator,
485
485
  /**
486
486
  * {@link LuaTransportBeltControlBehavior}
487
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.transport_belt Online documentation}
487
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.transport_belt Online documentation}
488
488
  */
489
489
  transport_belt,
490
490
  /**
491
491
  * {@link LuaAccumulatorControlBehavior}
492
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.accumulator Online documentation}
492
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.accumulator Online documentation}
493
493
  */
494
494
  accumulator,
495
495
  /**
496
496
  * {@link LuaRailSignalBaseControlBehavior}
497
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.rail_signal Online documentation}
497
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.rail_signal Online documentation}
498
498
  */
499
499
  rail_signal,
500
500
  /**
501
501
  * {@link LuaRailSignalBaseControlBehavior}
502
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
502
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
503
503
  */
504
504
  rail_chain_signal,
505
505
  /**
506
506
  * {@link LuaWallControlBehavior}
507
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.wall Online documentation}
507
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.wall Online documentation}
508
508
  */
509
509
  wall,
510
510
  /**
511
511
  * {@link LuaMiningDrillControlBehavior}
512
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.mining_drill Online documentation}
512
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.mining_drill Online documentation}
513
513
  */
514
514
  mining_drill,
515
515
  /**
516
516
  * {@link LuaProgrammableSpeakerControlBehavior}
517
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
517
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
518
518
  */
519
519
  programmable_speaker,
520
520
  /**
521
521
  * {@link LuaAssemblingMachineControlBehavior}
522
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
522
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
523
523
  */
524
524
  assembling_machine,
525
525
  /**
526
526
  * {@link LuaPumpControlBehavior}
527
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.pump Online documentation}
527
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.pump Online documentation}
528
528
  */
529
529
  pump,
530
530
  /**
531
531
  * {@link LuaSelectorCombinatorControlBehavior}
532
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
532
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
533
533
  */
534
534
  selector_combinator,
535
535
  /**
536
536
  * {@link LuaRocketSiloControlBehavior}
537
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
537
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
538
538
  */
539
539
  rocket_silo,
540
540
  /**
541
541
  * {@link LuaTurretControlBehavior}
542
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.turret Online documentation}
542
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.turret Online documentation}
543
543
  */
544
544
  turret,
545
545
  /**
546
546
  * {@link LuaReactorControlBehavior}
547
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.reactor Online documentation}
547
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.reactor Online documentation}
548
548
  */
549
549
  reactor,
550
550
  /**
551
551
  * {@link LuaSpacePlatformHubControlBehavior}
552
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
552
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
553
553
  */
554
554
  space_platform_hub,
555
555
  /**
556
556
  * {@link LuaArtilleryTurretControlBehavior}
557
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
557
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
558
558
  */
559
559
  artillery_turret,
560
560
  /**
561
561
  * {@link LuaAsteroidCollectorControlBehavior}
562
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
562
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
563
563
  */
564
564
  asteroid_collector,
565
565
  /**
566
566
  * {@link LuaRadarControlBehavior}
567
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.radar Online documentation}
567
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.radar Online documentation}
568
568
  */
569
569
  radar,
570
570
  /**
571
571
  * {@link LuaDisplayPanelControlBehavior}
572
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.display_panel Online documentation}
572
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.display_panel Online documentation}
573
573
  */
574
574
  display_panel,
575
575
  /**
576
576
  * {@link LuaLoaderControlBehavior}
577
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.loader Online documentation}
577
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.loader Online documentation}
578
578
  */
579
579
  loader,
580
580
  /**
581
581
  * {@link LuaCargoLandingPadControlBehavior}
582
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
582
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
583
583
  */
584
584
  cargo_landing_pad,
585
585
  /**
586
586
  * {@link LuaAgriculturalTowerControlBehavior}
587
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
587
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
588
588
  */
589
589
  agricultural_tower,
590
590
  /**
591
591
  * {@link LuaFurnaceControlBehavior}
592
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.control_behavior.type.furnace Online documentation}
592
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.furnace Online documentation}
593
593
  */
594
594
  furnace,
595
+ /**
596
+ * {@link LuaProxyContainerControlBehavior}
597
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.control_behavior.type.proxy_container Online documentation}
598
+ */
599
+ proxy_container,
595
600
  }
596
601
  }
597
602
  enum controllers {
598
603
  /**
599
604
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
600
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.ghost Online documentation}
605
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.ghost Online documentation}
601
606
  */
602
607
  ghost,
603
608
  /**
604
609
  * The controller controls a character. This is the default controller in freeplay.
605
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.character Online documentation}
610
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.character Online documentation}
606
611
  */
607
612
  character,
608
613
  /**
609
614
  * The controller isn't tied to a character. This is the default controller in sandbox.
610
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.god Online documentation}
615
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.god Online documentation}
611
616
  */
612
617
  god,
613
618
  /**
614
619
  * The Editor Controller near ultimate power to do almost anything in the game.
615
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.editor Online documentation}
620
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.editor Online documentation}
616
621
  */
617
622
  editor,
618
623
  /**
619
624
  * The player can't interact with the world, and the camera pans around in a predefined manner.
620
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.cutscene Online documentation}
625
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.cutscene Online documentation}
621
626
  */
622
627
  cutscene,
623
628
  /**
624
629
  * Can't change anything in the world but can view anything.
625
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.spectator Online documentation}
630
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.spectator Online documentation}
626
631
  */
627
632
  spectator,
628
633
  /**
629
634
  * Can't move/change items but can build ghosts/change settings.
630
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.controllers.remote Online documentation}
635
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.controllers.remote Online documentation}
631
636
  */
632
637
  remote,
633
638
  }
@@ -689,22 +694,22 @@ declare global {
689
694
  enum distraction {
690
695
  /**
691
696
  * Perform command even if someone attacks the unit.
692
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.distraction.none Online documentation}
697
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.distraction.none Online documentation}
693
698
  */
694
699
  none,
695
700
  /**
696
701
  * Attack closer enemy entities with force.
697
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.distraction.by_enemy Online documentation}
702
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.distraction.by_enemy Online documentation}
698
703
  */
699
704
  by_enemy,
700
705
  /**
701
706
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
702
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.distraction.by_anything Online documentation}
707
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.distraction.by_anything Online documentation}
703
708
  */
704
709
  by_anything,
705
710
  /**
706
711
  * Attack when attacked.
707
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.distraction.by_damage Online documentation}
712
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.distraction.by_damage Online documentation}
708
713
  */
709
714
  by_damage,
710
715
  }
@@ -713,12 +718,12 @@ declare global {
713
718
  normal,
714
719
  /**
715
720
  * Used by ghosts.
716
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.ghost Online documentation}
721
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.ghost Online documentation}
717
722
  */
718
723
  ghost,
719
724
  /**
720
725
  * Only used if set through {@link LuaEntity#status LuaEntity::status} or {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
721
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.broken Online documentation}
726
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.broken Online documentation}
722
727
  */
723
728
  broken,
724
729
  no_power,
@@ -732,267 +737,267 @@ declare global {
732
737
  marked_for_deconstruction,
733
738
  /**
734
739
  * Used by space platform hubs.
735
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.paused Online documentation}
740
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.paused Online documentation}
736
741
  */
737
742
  paused,
738
743
  /**
739
744
  * Used by generators and solar panels.
740
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
745
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
741
746
  */
742
747
  not_plugged_in_electric_network,
743
748
  /**
744
749
  * Used by power switches.
745
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.networks_connected Online documentation}
750
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.networks_connected Online documentation}
746
751
  */
747
752
  networks_connected,
748
753
  /**
749
754
  * Used by power switches.
750
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.networks_disconnected Online documentation}
755
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.networks_disconnected Online documentation}
751
756
  */
752
757
  networks_disconnected,
753
758
  /**
754
759
  * Used by accumulators.
755
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.charging Online documentation}
760
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.charging Online documentation}
756
761
  */
757
762
  charging,
758
763
  /**
759
764
  * Used by accumulators.
760
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.discharging Online documentation}
765
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.discharging Online documentation}
761
766
  */
762
767
  discharging,
763
768
  /**
764
769
  * Used by accumulators.
765
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.fully_charged Online documentation}
770
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.fully_charged Online documentation}
766
771
  */
767
772
  fully_charged,
768
773
  /**
769
774
  * Used by logistic containers.
770
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
775
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
771
776
  */
772
777
  out_of_logistic_network,
773
778
  /**
774
779
  * Used by assembling machines.
775
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_recipe Online documentation}
780
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_recipe Online documentation}
776
781
  */
777
782
  no_recipe,
778
783
  /**
779
784
  * Used by furnaces.
780
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_ingredients Online documentation}
785
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_ingredients Online documentation}
781
786
  */
782
787
  no_ingredients,
783
788
  /**
784
789
  * Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
785
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_input_fluid Online documentation}
790
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_input_fluid Online documentation}
786
791
  */
787
792
  no_input_fluid,
788
793
  /**
789
794
  * Used by labs.
790
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_research_in_progress Online documentation}
795
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_research_in_progress Online documentation}
791
796
  */
792
797
  no_research_in_progress,
793
798
  /**
794
799
  * Used by mining drills.
795
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_minable_resources Online documentation}
800
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_minable_resources Online documentation}
796
801
  */
797
802
  no_minable_resources,
798
803
  /**
799
804
  * Used by cargo bays.
800
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
805
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
801
806
  */
802
807
  not_connected_to_hub_or_pad,
803
808
  /**
804
809
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
805
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.low_input_fluid Online documentation}
810
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.low_input_fluid Online documentation}
806
811
  */
807
812
  low_input_fluid,
808
813
  /**
809
814
  * Used by crafting machines.
810
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
815
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
811
816
  */
812
817
  fluid_ingredient_shortage,
813
818
  /**
814
819
  * Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
815
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.full_output Online documentation}
820
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.full_output Online documentation}
816
821
  */
817
822
  full_output,
818
823
  /**
819
824
  * Used by agricultural towers.
820
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
825
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
821
826
  */
822
827
  not_enough_space_in_output,
823
828
  /**
824
829
  * Used by burner energy sources.
825
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
830
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
826
831
  */
827
832
  full_burnt_result_output,
828
833
  /**
829
834
  * Used by crafting machines.
830
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
835
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
831
836
  */
832
837
  item_ingredient_shortage,
833
838
  /**
834
839
  * Used by mining drills when the mining fluid is missing.
835
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.missing_required_fluid Online documentation}
840
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.missing_required_fluid Online documentation}
836
841
  */
837
842
  missing_required_fluid,
838
843
  /**
839
844
  * Used by labs.
840
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.missing_science_packs Online documentation}
845
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.missing_science_packs Online documentation}
841
846
  */
842
847
  missing_science_packs,
843
848
  /**
844
849
  * Used by inserters.
845
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
850
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
846
851
  */
847
852
  waiting_for_source_items,
848
853
  /**
849
854
  * Used by inserters when wait_for_full_hand is set.
850
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
855
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
851
856
  */
852
857
  waiting_for_more_items,
853
858
  /**
854
859
  * Used by inserters and mining drills.
855
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
860
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
856
861
  */
857
862
  waiting_for_space_in_destination,
858
863
  /**
859
864
  * Used by the rocket silo.
860
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
865
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
861
866
  */
862
867
  preparing_rocket_for_launch,
863
868
  /**
864
869
  * Used by the rocket silo.
865
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
870
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
866
871
  */
867
872
  waiting_to_launch_rocket,
868
873
  /**
869
874
  * Used by the rocket silo.
870
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
875
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
871
876
  */
872
877
  waiting_for_space_in_platform_hub,
873
878
  /**
874
879
  * Used by the rocket silo.
875
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.launching_rocket Online documentation}
880
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.launching_rocket Online documentation}
876
881
  */
877
882
  launching_rocket,
878
883
  /**
879
884
  * Used by thrusters.
880
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.thrust_not_required Online documentation}
885
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.thrust_not_required Online documentation}
881
886
  */
882
887
  thrust_not_required,
883
888
  /**
884
889
  * Used by space platform hubs.
885
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.on_the_way Online documentation}
890
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.on_the_way Online documentation}
886
891
  */
887
892
  on_the_way,
888
893
  /**
889
894
  * Used by space platform hubs.
890
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
895
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
891
896
  */
892
897
  waiting_in_orbit,
893
898
  /**
894
899
  * Used by trains.
895
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_at_stop Online documentation}
900
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_at_stop Online documentation}
896
901
  */
897
902
  waiting_at_stop,
898
903
  /**
899
904
  * Used by space platform hubs.
900
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
905
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
901
906
  */
902
907
  waiting_for_rockets_to_arrive,
903
908
  /**
904
909
  * Used by space platform hubs.
905
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.not_enough_thrust Online documentation}
910
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.not_enough_thrust Online documentation}
906
911
  */
907
912
  not_enough_thrust,
908
913
  /**
909
914
  * Used by trains.
910
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.destination_stop_full Online documentation}
915
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.destination_stop_full Online documentation}
911
916
  */
912
917
  destination_stop_full,
913
918
  /**
914
919
  * Used by trains and space platform hubs.
915
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_path Online documentation}
920
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_path Online documentation}
916
921
  */
917
922
  no_path,
918
923
  /**
919
924
  * Used by beacons.
920
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
925
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
921
926
  */
922
927
  no_modules_to_transmit,
923
928
  /**
924
929
  * Used by roboports.
925
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
930
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
926
931
  */
927
932
  recharging_after_power_outage,
928
933
  /**
929
934
  * Used by inserters targeting entity ghosts.
930
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
935
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
931
936
  */
932
937
  waiting_for_target_to_be_built,
933
938
  /**
934
939
  * Used by inserters targeting rails.
935
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_train Online documentation}
940
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_train Online documentation}
936
941
  */
937
942
  waiting_for_train,
938
943
  /**
939
944
  * Used by ammo turrets.
940
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_ammo Online documentation}
945
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_ammo Online documentation}
941
946
  */
942
947
  no_ammo,
943
948
  /**
944
949
  * Used by heat energy sources.
945
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.low_temperature Online documentation}
950
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.low_temperature Online documentation}
946
951
  */
947
952
  low_temperature,
948
953
  /**
949
954
  * Used by constant combinators: Combinator is turned off via switch in GUI.
950
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.disabled Online documentation}
955
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.disabled Online documentation}
951
956
  */
952
957
  disabled,
953
958
  /**
954
959
  * Used by lamps.
955
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
960
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
956
961
  */
957
962
  turned_off_during_daytime,
958
963
  /**
959
964
  * Used by rail signals.
960
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
965
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
961
966
  */
962
967
  not_connected_to_rail,
963
968
  /**
964
969
  * Used by rail signals.
965
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.cant_divide_segments Online documentation}
970
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.cant_divide_segments Online documentation}
966
971
  */
967
972
  cant_divide_segments,
968
973
  /**
969
974
  * Used by filter inserters.
970
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_filter Online documentation}
975
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_filter Online documentation}
971
976
  */
972
977
  no_filter,
973
978
  /**
974
979
  * Used by agricultural towers.
975
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
980
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
976
981
  */
977
982
  no_spot_seedable_by_inputs,
978
983
  /**
979
984
  * Used by agricultural towers.
980
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
985
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
981
986
  */
982
987
  waiting_for_plants_to_grow,
983
988
  /**
984
989
  * Used by asteroid collectors.
985
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.computing_navigation Online documentation}
990
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.computing_navigation Online documentation}
986
991
  */
987
992
  computing_navigation,
988
993
  /**
989
994
  * Used by pipes, pipes to ground and storage tanks.
990
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.pipeline_overextended Online documentation}
995
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.pipeline_overextended Online documentation}
991
996
  */
992
997
  pipeline_overextended,
993
998
  /**
994
999
  * Used by assembling machines.
995
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1000
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.entity_status.recipe_not_researched Online documentation}
996
1001
  */
997
1002
  recipe_not_researched,
998
1003
  }
@@ -1002,8 +1007,8 @@ declare global {
1002
1007
  yellow,
1003
1008
  }
1004
1009
  /**
1005
- * See the {@linkplain https://lua-api.factorio.com/2.0.35/events.html events page} for more info on what events contain and when they get raised.
1006
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.events Online documentation}
1010
+ * See the {@linkplain https://lua-api.factorio.com/2.0.39/events.html events page} for more info on what events contain and when they get raised.
1011
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.events Online documentation}
1007
1012
  */
1008
1013
  namespace events {
1009
1014
  /**
@@ -1824,8 +1829,8 @@ declare global {
1824
1829
  const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent>
1825
1830
  }
1826
1831
  /**
1827
- * See the {@linkplain https://lua-api.factorio.com/2.0.35/events.html events page} for more info on what events contain and when they get raised.
1828
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.events Online documentation}
1832
+ * See the {@linkplain https://lua-api.factorio.com/2.0.39/events.html events page} for more info on what events contain and when they get raised.
1833
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.events Online documentation}
1829
1834
  */
1830
1835
  type events = (typeof events)[keyof typeof events]
1831
1836
  enum flow_precision_index {
@@ -1841,17 +1846,17 @@ declare global {
1841
1846
  enum game_controller_interaction {
1842
1847
  /**
1843
1848
  * Game controller will always hover this element regardless of type or state.
1844
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.game_controller_interaction.always Online documentation}
1849
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.game_controller_interaction.always Online documentation}
1845
1850
  */
1846
1851
  always,
1847
1852
  /**
1848
1853
  * Never hover this element with a game controller.
1849
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.game_controller_interaction.never Online documentation}
1854
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.game_controller_interaction.never Online documentation}
1850
1855
  */
1851
1856
  never,
1852
1857
  /**
1853
1858
  * Hover according to the element type and implementation.
1854
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.game_controller_interaction.normal Online documentation}
1859
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.game_controller_interaction.normal Online documentation}
1855
1860
  */
1856
1861
  normal,
1857
1862
  }
@@ -2179,7 +2184,7 @@ declare global {
2179
2184
  furnace_modules,
2180
2185
  /**
2181
2186
  * Used for spoil result items that do not fit into the recipe slots.
2182
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.inventory.furnace_trash Online documentation}
2187
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.inventory.furnace_trash Online documentation}
2183
2188
  */
2184
2189
  furnace_trash,
2185
2190
  character_main,
@@ -2202,12 +2207,12 @@ declare global {
2202
2207
  assembling_machine_modules,
2203
2208
  /**
2204
2209
  * Used when items are ejected or items held by inserters cannot be inserted due to changing the recipe with the circuit network.
2205
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2210
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2206
2211
  */
2207
2212
  assembling_machine_dump,
2208
2213
  /**
2209
2214
  * 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.
2210
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.inventory.assembling_machine_trash Online documentation}
2215
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.inventory.assembling_machine_trash Online documentation}
2211
2216
  */
2212
2217
  assembling_machine_trash,
2213
2218
  lab_input,
@@ -2236,6 +2241,7 @@ declare global {
2236
2241
  hub_trash,
2237
2242
  cargo_landing_pad_main,
2238
2243
  cargo_landing_pad_trash,
2244
+ proxy_main,
2239
2245
  }
2240
2246
  enum logistic_member_index {
2241
2247
  logistic_container,
@@ -2259,12 +2265,12 @@ declare global {
2259
2265
  circuit_controlled,
2260
2266
  /**
2261
2267
  * Used by rocket silos.
2262
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2268
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2263
2269
  */
2264
2270
  transitional_request_controlled,
2265
2271
  /**
2266
2272
  * Used by space platform hubs.
2267
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2273
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2268
2274
  */
2269
2275
  request_missing_materials_controlled,
2270
2276
  }
@@ -2283,17 +2289,17 @@ declare global {
2283
2289
  enum print_skip {
2284
2290
  /**
2285
2291
  * Print will not be skipped.
2286
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.print_skip.never Online documentation}
2292
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.print_skip.never Online documentation}
2287
2293
  */
2288
2294
  never,
2289
2295
  /**
2290
2296
  * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
2291
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.print_skip.if_redundant Online documentation}
2297
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.print_skip.if_redundant Online documentation}
2292
2298
  */
2293
2299
  if_redundant,
2294
2300
  /**
2295
2301
  * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
2296
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.print_skip.if_visible Online documentation}
2302
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.print_skip.if_visible Online documentation}
2297
2303
  */
2298
2304
  if_visible,
2299
2305
  }
@@ -2304,7 +2310,7 @@ declare global {
2304
2310
  }
2305
2311
  /**
2306
2312
  * 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, ...}`.
2307
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.prototypes Online documentation}
2313
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.prototypes Online documentation}
2308
2314
  */
2309
2315
  interface prototypes {
2310
2316
  achievement: {
@@ -2447,6 +2453,7 @@ declare global {
2447
2453
  "heat-interface": 0
2448
2454
  "heat-pipe": 0
2449
2455
  "highlight-box": 0
2456
+ "infinity-cargo-wagon": 0
2450
2457
  "infinity-container": 0
2451
2458
  "infinity-pipe": 0
2452
2459
  inserter: 0
@@ -2478,6 +2485,7 @@ declare global {
2478
2485
  "power-switch": 0
2479
2486
  "programmable-speaker": 0
2480
2487
  projectile: 0
2488
+ "proxy-container": 0
2481
2489
  pump: 0
2482
2490
  radar: 0
2483
2491
  "rail-chain-signal": 0
@@ -2693,7 +2701,7 @@ declare global {
2693
2701
  }
2694
2702
  /**
2695
2703
  * 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, ...}`.
2696
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.prototypes Online documentation}
2704
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.prototypes Online documentation}
2697
2705
  */
2698
2706
  const prototypes: prototypes
2699
2707
  enum rail_connection_direction {
@@ -2768,6 +2776,7 @@ declare global {
2768
2776
  power_switch_gui,
2769
2777
  production_gui,
2770
2778
  programmable_speaker_gui,
2779
+ proxy_container_gui,
2771
2780
  pump_gui,
2772
2781
  rail_signal_base_gui,
2773
2782
  reactor_gui,
@@ -2818,128 +2827,128 @@ declare global {
2818
2827
  enum robot_order_type {
2819
2828
  /**
2820
2829
  * Construct a ghost.
2821
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.construct Online documentation}
2830
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.construct Online documentation}
2822
2831
  */
2823
2832
  construct,
2824
2833
  /**
2825
2834
  * Pickup an item.
2826
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.pickup Online documentation}
2835
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.pickup Online documentation}
2827
2836
  */
2828
2837
  pickup,
2829
2838
  /**
2830
2839
  * Deliver an item.
2831
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.deliver Online documentation}
2840
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.deliver Online documentation}
2832
2841
  */
2833
2842
  deliver,
2834
2843
  /**
2835
2844
  * Repair an entity.
2836
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.repair Online documentation}
2845
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.repair Online documentation}
2837
2846
  */
2838
2847
  repair,
2839
2848
  /**
2840
2849
  * Deconstruct an entity.
2841
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.deconstruct Online documentation}
2850
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.deconstruct Online documentation}
2842
2851
  */
2843
2852
  deconstruct,
2844
2853
  /**
2845
2854
  * Deliver specific items to an entity (item request proxy).
2846
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.deliver_items Online documentation}
2855
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.deliver_items Online documentation}
2847
2856
  */
2848
2857
  deliver_items,
2849
2858
  /**
2850
2859
  * Upgrade an entity.
2851
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.upgrade Online documentation}
2860
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.upgrade Online documentation}
2852
2861
  */
2853
2862
  upgrade,
2854
2863
  /**
2855
2864
  * Explode a cliff.
2856
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.explode_cliff Online documentation}
2865
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.explode_cliff Online documentation}
2857
2866
  */
2858
2867
  explode_cliff,
2859
2868
  /**
2860
2869
  * Pickup items from an entity (item request proxy).
2861
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.robot_order_type.pickup_items Online documentation}
2870
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.robot_order_type.pickup_items Online documentation}
2862
2871
  */
2863
2872
  pickup_items,
2864
2873
  }
2865
2874
  /**
2866
2875
  * The various parts of the launch sequence of the rocket silo.
2867
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status Online documentation}
2876
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status Online documentation}
2868
2877
  */
2869
2878
  enum rocket_silo_status {
2870
2879
  /**
2871
2880
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
2872
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2881
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2873
2882
  */
2874
2883
  building_rocket,
2875
2884
  /**
2876
2885
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
2877
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2886
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2878
2887
  */
2879
2888
  create_rocket,
2880
2889
  /**
2881
2890
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
2882
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2891
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2883
2892
  */
2884
2893
  lights_blinking_open,
2885
2894
  /**
2886
2895
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
2887
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2896
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2888
2897
  */
2889
2898
  doors_opening,
2890
2899
  /**
2891
2900
  * 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.
2892
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2901
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2893
2902
  */
2894
2903
  doors_opened,
2895
2904
  /**
2896
2905
  * 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.
2897
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2906
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2898
2907
  */
2899
2908
  rocket_rising,
2900
2909
  /**
2901
2910
  * 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.
2902
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2911
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2903
2912
  */
2904
2913
  arms_advance,
2905
2914
  /**
2906
2915
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
2907
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2916
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2908
2917
  */
2909
2918
  rocket_ready,
2910
2919
  /**
2911
2920
  * The next state is `launch_started`.
2912
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2921
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2913
2922
  */
2914
2923
  launch_starting,
2915
2924
  /**
2916
2925
  * 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.
2917
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2926
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2918
2927
  */
2919
2928
  engine_starting,
2920
2929
  /**
2921
2930
  * 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.
2922
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2931
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2923
2932
  */
2924
2933
  arms_retract,
2925
2934
  /**
2926
2935
  * The next state is `lights_blinking_close`. The rocket is getting launched.
2927
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2936
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2928
2937
  */
2929
2938
  rocket_flying,
2930
2939
  /**
2931
2940
  * The next state is `doors_closing`.
2932
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2941
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2933
2942
  */
2934
2943
  lights_blinking_close,
2935
2944
  /**
2936
2945
  * The next state is `building_rocket`.
2937
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2946
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2938
2947
  */
2939
2948
  doors_closing,
2940
2949
  /**
2941
2950
  * 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.
2942
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2951
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2943
2952
  */
2944
2953
  launch_started,
2945
2954
  }
@@ -2956,74 +2965,74 @@ declare global {
2956
2965
  }
2957
2966
  /**
2958
2967
  * State of an ordinary rail signal.
2959
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.signal_state Online documentation}
2968
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.signal_state Online documentation}
2960
2969
  */
2961
2970
  enum signal_state {
2962
2971
  /**
2963
2972
  * Green.
2964
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.signal_state.open Online documentation}
2973
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.signal_state.open Online documentation}
2965
2974
  */
2966
2975
  open,
2967
2976
  /**
2968
2977
  * Red.
2969
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.signal_state.closed Online documentation}
2978
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.signal_state.closed Online documentation}
2970
2979
  */
2971
2980
  closed,
2972
2981
  /**
2973
2982
  * Orange.
2974
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.signal_state.reserved Online documentation}
2983
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.signal_state.reserved Online documentation}
2975
2984
  */
2976
2985
  reserved,
2977
2986
  /**
2978
2987
  * Red - From circuit network.
2979
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2988
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2980
2989
  */
2981
2990
  reserved_by_circuit_network,
2982
2991
  }
2983
2992
  enum space_platform_state {
2984
2993
  /**
2985
2994
  * Waiting for a starter pack.
2986
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
2995
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
2987
2996
  */
2988
2997
  waiting_for_starter_pack,
2989
2998
  /**
2990
2999
  * Starter pack was requested from the logistics system.
2991
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3000
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
2992
3001
  */
2993
3002
  starter_pack_requested,
2994
3003
  /**
2995
3004
  * Starter pack is on the way.
2996
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3005
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
2997
3006
  */
2998
3007
  starter_pack_on_the_way,
2999
3008
  /**
3000
3009
  * Following the path.
3001
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.on_the_path Online documentation}
3010
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.on_the_path Online documentation}
3002
3011
  */
3003
3012
  on_the_path,
3004
3013
  /**
3005
3014
  * Platform is ready to leave this planet and does not accept deliveries.
3006
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3015
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3007
3016
  */
3008
3017
  waiting_for_departure,
3009
3018
  /**
3010
3019
  * Doesn't have any stations in schedule.
3011
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.no_schedule Online documentation}
3020
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.no_schedule Online documentation}
3012
3021
  */
3013
3022
  no_schedule,
3014
3023
  /**
3015
3024
  * Doesn't have anywhere to go.
3016
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.no_path Online documentation}
3025
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.no_path Online documentation}
3017
3026
  */
3018
3027
  no_path,
3019
3028
  /**
3020
3029
  * Waiting at a station.
3021
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3030
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3022
3031
  */
3023
3032
  waiting_at_station,
3024
3033
  /**
3025
3034
  * Paused.
3026
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.space_platform_state.paused Online documentation}
3035
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.space_platform_state.paused Online documentation}
3027
3036
  */
3028
3037
  paused,
3029
3038
  }
@@ -3047,56 +3056,57 @@ declare global {
3047
3056
  custom_chart_tag,
3048
3057
  gui_element,
3049
3058
  cargo_hatch,
3059
+ schedule,
3050
3060
  }
3051
3061
  enum train_state {
3052
3062
  /**
3053
3063
  * Normal state -- following the path.
3054
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.on_the_path Online documentation}
3064
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.on_the_path Online documentation}
3055
3065
  */
3056
3066
  on_the_path,
3057
3067
  /**
3058
3068
  * Doesn't have anywhere to go.
3059
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.no_schedule Online documentation}
3069
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.no_schedule Online documentation}
3060
3070
  */
3061
3071
  no_schedule,
3062
3072
  /**
3063
3073
  * Has no path and is stopped.
3064
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.no_path Online documentation}
3074
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.no_path Online documentation}
3065
3075
  */
3066
3076
  no_path,
3067
3077
  /**
3068
3078
  * Braking before a rail signal.
3069
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.arrive_signal Online documentation}
3079
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.arrive_signal Online documentation}
3070
3080
  */
3071
3081
  arrive_signal,
3072
3082
  /**
3073
3083
  * Waiting at a signal.
3074
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.wait_signal Online documentation}
3084
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.wait_signal Online documentation}
3075
3085
  */
3076
3086
  wait_signal,
3077
3087
  /**
3078
3088
  * Braking before a station.
3079
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.arrive_station Online documentation}
3089
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.arrive_station Online documentation}
3080
3090
  */
3081
3091
  arrive_station,
3082
3092
  /**
3083
3093
  * Switched to manual control and has to stop.
3084
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.manual_control_stop Online documentation}
3094
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.manual_control_stop Online documentation}
3085
3095
  */
3086
3096
  manual_control_stop,
3087
3097
  /**
3088
3098
  * Can move if user explicitly sits in and rides the train.
3089
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.manual_control Online documentation}
3099
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.manual_control Online documentation}
3090
3100
  */
3091
3101
  manual_control,
3092
3102
  /**
3093
3103
  * Waiting at a station.
3094
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.wait_station Online documentation}
3104
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.wait_station Online documentation}
3095
3105
  */
3096
3106
  wait_station,
3097
3107
  /**
3098
3108
  * Same as no_path but all candidate train stops are full
3099
- * @see {@link https://lua-api.factorio.com/2.0.35/defines.html#defines.train_state.destination_full Online documentation}
3109
+ * @see {@link https://lua-api.factorio.com/2.0.39/defines.html#defines.train_state.destination_full Online documentation}
3100
3110
  */
3101
3111
  destination_full,
3102
3112
  }