typed-factorio 3.25.0 → 3.27.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.
@@ -134,6 +134,7 @@ import type {
134
134
  OnPlayerUsedCapsuleEvent,
135
135
  OnPlayerUsedSpidertronRemoteEvent,
136
136
  OnPostEntityDiedEvent,
137
+ OnPostSegmentedUnitDiedEvent,
137
138
  OnPreBuildEvent,
138
139
  OnPreChunkDeletedEvent,
139
140
  OnPreEntitySettingsPastedEvent,
@@ -156,6 +157,7 @@ import type {
156
157
  OnResearchCancelledEvent,
157
158
  OnResearchFinishedEvent,
158
159
  OnResearchMovedEvent,
160
+ OnResearchQueuedEvent,
159
161
  OnResearchReversedEvent,
160
162
  OnResearchStartedEvent,
161
163
  OnResourceDepletedEvent,
@@ -173,6 +175,9 @@ import type {
173
175
  OnScriptPathRequestFinishedEvent,
174
176
  OnScriptTriggerEffectEvent,
175
177
  OnSectorScannedEvent,
178
+ OnSegmentedUnitCreatedEvent,
179
+ OnSegmentedUnitDamagedEvent,
180
+ OnSegmentedUnitDiedEvent,
176
181
  OnSegmentEntityCreatedEvent,
177
182
  OnSelectedEntityChangedEvent,
178
183
  OnSingleplayerInitEvent,
@@ -191,12 +196,18 @@ import type {
191
196
  OnSurfaceImportedEvent,
192
197
  OnSurfaceRenamedEvent,
193
198
  OnTechnologyEffectsResetEvent,
199
+ OnTerritoryCreatedEvent,
200
+ OnTerritoryDestroyedEvent,
194
201
  OnTickEvent,
202
+ OnTowerMinedPlantEvent,
203
+ OnTowerPlantedSeedEvent,
204
+ OnTowerPreMinedPlantEvent,
195
205
  OnTrainChangedStateEvent,
196
206
  OnTrainCreatedEvent,
197
207
  OnTrainScheduleChangedEvent,
198
208
  OnTriggerCreatedEntityEvent,
199
209
  OnTriggerFiredArtilleryEvent,
210
+ OnUdpPacketReceivedEvent,
200
211
  OnUndoAppliedEvent,
201
212
  OnUnitAddedToGroupEvent,
202
213
  OnUnitGroupCreatedEvent,
@@ -205,6 +216,7 @@ import type {
205
216
  OnWorkerRobotExpiredEvent,
206
217
  ScriptRaisedBuiltEvent,
207
218
  ScriptRaisedDestroyEvent,
219
+ ScriptRaisedDestroySegmentedUnitEvent,
208
220
  ScriptRaisedReviveEvent,
209
221
  ScriptRaisedSetTilesEvent,
210
222
  ScriptRaisedTeleportedEvent,
@@ -233,7 +245,7 @@ declare global {
233
245
  }
234
246
  /**
235
247
  * AI command exit status. See {@link LuaEntity#set_command LuaEntity::set_command}
236
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.behavior_result Online documentation}
248
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.behavior_result Online documentation}
237
249
  */
238
250
  enum behavior_result {
239
251
  in_progress,
@@ -257,33 +269,33 @@ declare global {
257
269
  enum cargo_destination {
258
270
  /**
259
271
  * 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.55/defines.html#defines.cargo_destination.invalid Online documentation}
272
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.cargo_destination.invalid Online documentation}
261
273
  */
262
274
  invalid,
263
275
  /**
264
276
  * Cargo pods with orbit destination are destroyed when ascent is completed.
265
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.cargo_destination.orbit Online documentation}
277
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.cargo_destination.orbit Online documentation}
266
278
  */
267
279
  orbit,
268
280
  /**
269
281
  * Any cargo landing pad or space platform hub.
270
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.cargo_destination.station Online documentation}
282
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.cargo_destination.station Online documentation}
271
283
  */
272
284
  station,
273
285
  /**
274
286
  * Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination#position CargoDestination::position} has not been specified. Note, setting the destination to "surface" when the surface is the same as the one the pod is on forces it to find and set a landing position.
275
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.cargo_destination.surface Online documentation}
287
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.cargo_destination.surface Online documentation}
276
288
  */
277
289
  surface,
278
290
  /**
279
291
  * 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.55/defines.html#defines.cargo_destination.space_platform Online documentation}
292
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.cargo_destination.space_platform Online documentation}
281
293
  */
282
294
  space_platform,
283
295
  }
284
296
  /**
285
297
  * State of a chain signal.
286
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.chain_signal_state Online documentation}
298
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.chain_signal_state Online documentation}
287
299
  */
288
300
  enum chain_signal_state {
289
301
  none,
@@ -301,73 +313,73 @@ declare global {
301
313
  }
302
314
  /**
303
315
  * Command given to units describing what they should do.
304
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command Online documentation}
316
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command Online documentation}
305
317
  */
306
318
  enum command {
307
319
  /**
308
320
  * Attack another entity.
309
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.attack Online documentation}
321
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.attack Online documentation}
310
322
  */
311
323
  attack = 0,
312
324
  /**
313
325
  * Go to a specific position.
314
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.go_to_location Online documentation}
326
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.go_to_location Online documentation}
315
327
  */
316
328
  go_to_location = 1,
317
329
  /**
318
330
  * Chain commands together, see {@link defines.compound_command}.
319
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.compound Online documentation}
331
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.compound Online documentation}
320
332
  */
321
333
  compound = 2,
322
334
  /**
323
335
  * Do what your group wants you to do.
324
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.group Online documentation}
336
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.group Online documentation}
325
337
  */
326
338
  group = 3,
327
339
  /**
328
340
  * Go to a place and attack what you see.
329
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.attack_area Online documentation}
341
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.attack_area Online documentation}
330
342
  */
331
343
  attack_area = 4,
332
344
  /**
333
345
  * Chill.
334
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.wander Online documentation}
346
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.wander Online documentation}
335
347
  */
336
348
  wander = 5,
337
349
  /**
338
350
  * Flee from another entity.
339
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.flee Online documentation}
351
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.flee Online documentation}
340
352
  */
341
353
  flee = 6,
342
354
  /**
343
355
  * Stop moving and stay where you are.
344
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.stop Online documentation}
356
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.stop Online documentation}
345
357
  */
346
358
  stop = 7,
347
359
  /**
348
360
  * Go to a position and build a base there.
349
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.command.build_base Online documentation}
361
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.command.build_base Online documentation}
350
362
  */
351
363
  build_base = 8,
352
364
  }
353
365
  /**
354
366
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
355
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.compound_command Online documentation}
367
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.compound_command Online documentation}
356
368
  */
357
369
  enum compound_command {
358
370
  /**
359
371
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
360
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.compound_command.logical_and Online documentation}
372
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.compound_command.logical_and Online documentation}
361
373
  */
362
374
  logical_and,
363
375
  /**
364
376
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
365
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.compound_command.logical_or Online documentation}
377
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.compound_command.logical_or Online documentation}
366
378
  */
367
379
  logical_or,
368
380
  /**
369
381
  * 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.55/defines.html#defines.compound_command.return_last Online documentation}
382
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.compound_command.return_last Online documentation}
371
383
  */
372
384
  return_last,
373
385
  }
@@ -429,172 +441,172 @@ declare global {
429
441
  enum type {
430
442
  /**
431
443
  * {@link LuaContainerControlBehavior}
432
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.container Online documentation}
444
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.container Online documentation}
433
445
  */
434
446
  container,
435
447
  /**
436
448
  * {@link LuaGenericOnOffControlBehavior}
437
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
449
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
438
450
  */
439
451
  generic_on_off,
440
452
  /**
441
453
  * {@link LuaInserterControlBehavior}
442
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.inserter Online documentation}
454
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.inserter Online documentation}
443
455
  */
444
456
  inserter,
445
457
  /**
446
458
  * {@link LuaLampControlBehavior}
447
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.lamp Online documentation}
459
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.lamp Online documentation}
448
460
  */
449
461
  lamp,
450
462
  /**
451
463
  * {@link LuaLogisticContainerControlBehavior}
452
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.logistic_container Online documentation}
464
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.logistic_container Online documentation}
453
465
  */
454
466
  logistic_container,
455
467
  /**
456
468
  * {@link LuaRoboportControlBehavior}
457
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.roboport Online documentation}
469
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.roboport Online documentation}
458
470
  */
459
471
  roboport,
460
472
  /**
461
473
  * {@link LuaStorageTankControlBehavior}
462
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.storage_tank Online documentation}
474
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.storage_tank Online documentation}
463
475
  */
464
476
  storage_tank,
465
477
  /**
466
478
  * {@link LuaTrainStopControlBehavior}
467
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.train_stop Online documentation}
479
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.train_stop Online documentation}
468
480
  */
469
481
  train_stop,
470
482
  /**
471
483
  * {@link LuaDeciderCombinatorControlBehavior}
472
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
484
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
473
485
  */
474
486
  decider_combinator,
475
487
  /**
476
488
  * {@link LuaArithmeticCombinatorControlBehavior}
477
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
489
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
478
490
  */
479
491
  arithmetic_combinator,
480
492
  /**
481
493
  * {@link LuaConstantCombinatorControlBehavior}
482
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
494
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
483
495
  */
484
496
  constant_combinator,
485
497
  /**
486
498
  * {@link LuaTransportBeltControlBehavior}
487
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.transport_belt Online documentation}
499
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.transport_belt Online documentation}
488
500
  */
489
501
  transport_belt,
490
502
  /**
491
503
  * {@link LuaAccumulatorControlBehavior}
492
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.accumulator Online documentation}
504
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.accumulator Online documentation}
493
505
  */
494
506
  accumulator,
495
507
  /**
496
508
  * {@link LuaRailSignalBaseControlBehavior}
497
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.rail_signal Online documentation}
509
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.rail_signal Online documentation}
498
510
  */
499
511
  rail_signal,
500
512
  /**
501
513
  * {@link LuaRailSignalBaseControlBehavior}
502
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
514
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
503
515
  */
504
516
  rail_chain_signal,
505
517
  /**
506
518
  * {@link LuaWallControlBehavior}
507
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.wall Online documentation}
519
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.wall Online documentation}
508
520
  */
509
521
  wall,
510
522
  /**
511
523
  * {@link LuaMiningDrillControlBehavior}
512
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.mining_drill Online documentation}
524
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.mining_drill Online documentation}
513
525
  */
514
526
  mining_drill,
515
527
  /**
516
528
  * {@link LuaProgrammableSpeakerControlBehavior}
517
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
529
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
518
530
  */
519
531
  programmable_speaker,
520
532
  /**
521
533
  * {@link LuaAssemblingMachineControlBehavior}
522
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
534
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
523
535
  */
524
536
  assembling_machine,
525
537
  /**
526
538
  * {@link LuaPumpControlBehavior}
527
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.pump Online documentation}
539
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.pump Online documentation}
528
540
  */
529
541
  pump,
530
542
  /**
531
543
  * {@link LuaSelectorCombinatorControlBehavior}
532
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
544
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
533
545
  */
534
546
  selector_combinator,
535
547
  /**
536
548
  * {@link LuaRocketSiloControlBehavior}
537
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
549
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
538
550
  */
539
551
  rocket_silo,
540
552
  /**
541
553
  * {@link LuaTurretControlBehavior}
542
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.turret Online documentation}
554
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.turret Online documentation}
543
555
  */
544
556
  turret,
545
557
  /**
546
558
  * {@link LuaReactorControlBehavior}
547
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.reactor Online documentation}
559
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.reactor Online documentation}
548
560
  */
549
561
  reactor,
550
562
  /**
551
563
  * {@link LuaSpacePlatformHubControlBehavior}
552
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
564
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
553
565
  */
554
566
  space_platform_hub,
555
567
  /**
556
568
  * {@link LuaArtilleryTurretControlBehavior}
557
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
569
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
558
570
  */
559
571
  artillery_turret,
560
572
  /**
561
573
  * {@link LuaAsteroidCollectorControlBehavior}
562
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
574
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
563
575
  */
564
576
  asteroid_collector,
565
577
  /**
566
578
  * {@link LuaRadarControlBehavior}
567
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.radar Online documentation}
579
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.radar Online documentation}
568
580
  */
569
581
  radar,
570
582
  /**
571
583
  * {@link LuaDisplayPanelControlBehavior}
572
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.display_panel Online documentation}
584
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.display_panel Online documentation}
573
585
  */
574
586
  display_panel,
575
587
  /**
576
588
  * {@link LuaLoaderControlBehavior}
577
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.loader Online documentation}
589
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.loader Online documentation}
578
590
  */
579
591
  loader,
580
592
  /**
581
593
  * {@link LuaCargoLandingPadControlBehavior}
582
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
594
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
583
595
  */
584
596
  cargo_landing_pad,
585
597
  /**
586
598
  * {@link LuaAgriculturalTowerControlBehavior}
587
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
599
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
588
600
  */
589
601
  agricultural_tower,
590
602
  /**
591
603
  * {@link LuaFurnaceControlBehavior}
592
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.furnace Online documentation}
604
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.furnace Online documentation}
593
605
  */
594
606
  furnace,
595
607
  /**
596
608
  * {@link LuaProxyContainerControlBehavior}
597
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.control_behavior.type.proxy_container Online documentation}
609
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.control_behavior.type.proxy_container Online documentation}
598
610
  */
599
611
  proxy_container,
600
612
  }
@@ -602,37 +614,37 @@ declare global {
602
614
  enum controllers {
603
615
  /**
604
616
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
605
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.ghost Online documentation}
617
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.ghost Online documentation}
606
618
  */
607
619
  ghost,
608
620
  /**
609
621
  * The controller controls a character. This is the default controller in freeplay.
610
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.character Online documentation}
622
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.character Online documentation}
611
623
  */
612
624
  character,
613
625
  /**
614
626
  * The controller isn't tied to a character. This is the default controller in sandbox.
615
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.god Online documentation}
627
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.god Online documentation}
616
628
  */
617
629
  god,
618
630
  /**
619
631
  * The Editor Controller near ultimate power to do almost anything in the game.
620
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.editor Online documentation}
632
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.editor Online documentation}
621
633
  */
622
634
  editor,
623
635
  /**
624
636
  * The player can't interact with the world, and the camera pans around in a predefined manner.
625
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.cutscene Online documentation}
637
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.cutscene Online documentation}
626
638
  */
627
639
  cutscene,
628
640
  /**
629
641
  * Can't change anything in the world but can view anything.
630
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.spectator Online documentation}
642
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.spectator Online documentation}
631
643
  */
632
644
  spectator,
633
645
  /**
634
646
  * Can't move/change items but can build ghosts/change settings.
635
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.controllers.remote Online documentation}
647
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.controllers.remote Online documentation}
636
648
  */
637
649
  remote,
638
650
  }
@@ -694,22 +706,22 @@ declare global {
694
706
  enum distraction {
695
707
  /**
696
708
  * Perform command even if someone attacks the unit.
697
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.distraction.none Online documentation}
709
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.distraction.none Online documentation}
698
710
  */
699
711
  none,
700
712
  /**
701
713
  * Attack closer enemy entities with force.
702
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.distraction.by_enemy Online documentation}
714
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.distraction.by_enemy Online documentation}
703
715
  */
704
716
  by_enemy,
705
717
  /**
706
718
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
707
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.distraction.by_anything Online documentation}
719
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.distraction.by_anything Online documentation}
708
720
  */
709
721
  by_anything,
710
722
  /**
711
723
  * Attack when attacked.
712
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.distraction.by_damage Online documentation}
724
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.distraction.by_damage Online documentation}
713
725
  */
714
726
  by_damage,
715
727
  }
@@ -718,12 +730,12 @@ declare global {
718
730
  normal,
719
731
  /**
720
732
  * Used by ghosts.
721
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.ghost Online documentation}
733
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.ghost Online documentation}
722
734
  */
723
735
  ghost,
724
736
  /**
725
737
  * Only used if set through {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
726
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.broken Online documentation}
738
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.broken Online documentation}
727
739
  */
728
740
  broken,
729
741
  no_power,
@@ -737,272 +749,272 @@ declare global {
737
749
  marked_for_deconstruction,
738
750
  /**
739
751
  * Used by space platform hubs.
740
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.paused Online documentation}
752
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.paused Online documentation}
741
753
  */
742
754
  paused,
743
755
  /**
744
756
  * Used by generators and solar panels.
745
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
757
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
746
758
  */
747
759
  not_plugged_in_electric_network,
748
760
  /**
749
761
  * Used by power switches.
750
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.networks_connected Online documentation}
762
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.networks_connected Online documentation}
751
763
  */
752
764
  networks_connected,
753
765
  /**
754
766
  * Used by power switches.
755
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.networks_disconnected Online documentation}
767
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.networks_disconnected Online documentation}
756
768
  */
757
769
  networks_disconnected,
758
770
  /**
759
771
  * Used by accumulators.
760
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.charging Online documentation}
772
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.charging Online documentation}
761
773
  */
762
774
  charging,
763
775
  /**
764
776
  * Used by accumulators.
765
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.discharging Online documentation}
777
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.discharging Online documentation}
766
778
  */
767
779
  discharging,
768
780
  /**
769
781
  * Used by accumulators.
770
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.fully_charged Online documentation}
782
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.fully_charged Online documentation}
771
783
  */
772
784
  fully_charged,
773
785
  /**
774
786
  * Used by logistic containers.
775
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
787
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
776
788
  */
777
789
  out_of_logistic_network,
778
790
  /**
779
791
  * Used by assembling machines.
780
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_recipe Online documentation}
792
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_recipe Online documentation}
781
793
  */
782
794
  no_recipe,
783
795
  /**
784
796
  * Used by furnaces.
785
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_ingredients Online documentation}
797
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_ingredients Online documentation}
786
798
  */
787
799
  no_ingredients,
788
800
  /**
789
801
  * Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
790
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_input_fluid Online documentation}
802
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_input_fluid Online documentation}
791
803
  */
792
804
  no_input_fluid,
793
805
  /**
794
806
  * Used by labs.
795
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_research_in_progress Online documentation}
807
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_research_in_progress Online documentation}
796
808
  */
797
809
  no_research_in_progress,
798
810
  /**
799
811
  * Used by mining drills.
800
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_minable_resources Online documentation}
812
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_minable_resources Online documentation}
801
813
  */
802
814
  no_minable_resources,
803
815
  /**
804
816
  * Used by cargo bays.
805
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
817
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
806
818
  */
807
819
  not_connected_to_hub_or_pad,
808
820
  /**
809
821
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
810
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.low_input_fluid Online documentation}
822
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.low_input_fluid Online documentation}
811
823
  */
812
824
  low_input_fluid,
813
825
  /**
814
826
  * Used by crafting machines.
815
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
827
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
816
828
  */
817
829
  fluid_ingredient_shortage,
818
830
  /**
819
831
  * Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
820
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.full_output Online documentation}
832
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.full_output Online documentation}
821
833
  */
822
834
  full_output,
823
835
  /**
824
836
  * Used by agricultural towers.
825
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
837
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
826
838
  */
827
839
  not_enough_space_in_output,
828
840
  /**
829
841
  * Used by burner energy sources.
830
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
842
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
831
843
  */
832
844
  full_burnt_result_output,
833
845
  /**
834
846
  * Used by crafting machines.
835
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
847
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
836
848
  */
837
849
  item_ingredient_shortage,
838
850
  /**
839
851
  * Used by mining drills when the mining fluid is missing.
840
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.missing_required_fluid Online documentation}
852
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.missing_required_fluid Online documentation}
841
853
  */
842
854
  missing_required_fluid,
843
855
  /**
844
856
  * Used by labs.
845
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.missing_science_packs Online documentation}
857
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.missing_science_packs Online documentation}
846
858
  */
847
859
  missing_science_packs,
848
860
  /**
849
861
  * Used by inserters.
850
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
862
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
851
863
  */
852
864
  waiting_for_source_items,
853
865
  /**
854
866
  * Used by inserters when wait_for_full_hand is set.
855
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
867
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
856
868
  */
857
869
  waiting_for_more_items,
858
870
  /**
859
871
  * Used by inserters and mining drills.
860
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
872
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
861
873
  */
862
874
  waiting_for_space_in_destination,
863
875
  /**
864
876
  * Used by the rocket silo.
865
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
877
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
866
878
  */
867
879
  preparing_rocket_for_launch,
868
880
  /**
869
881
  * Used by the rocket silo.
870
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
882
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
871
883
  */
872
884
  waiting_to_launch_rocket,
873
885
  /**
874
886
  * Used by the rocket silo.
875
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
887
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
876
888
  */
877
889
  waiting_for_space_in_platform_hub,
878
890
  /**
879
891
  * Used by the rocket silo.
880
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.launching_rocket Online documentation}
892
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.launching_rocket Online documentation}
881
893
  */
882
894
  launching_rocket,
883
895
  /**
884
896
  * Used by thrusters.
885
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.thrust_not_required Online documentation}
897
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.thrust_not_required Online documentation}
886
898
  */
887
899
  thrust_not_required,
888
900
  /**
889
901
  * Used by space platform hubs.
890
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.on_the_way Online documentation}
902
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.on_the_way Online documentation}
891
903
  */
892
904
  on_the_way,
893
905
  /**
894
906
  * Used by space platform hubs.
895
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
907
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
896
908
  */
897
909
  waiting_in_orbit,
898
910
  /**
899
911
  * Used by trains.
900
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_at_stop Online documentation}
912
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_at_stop Online documentation}
901
913
  */
902
914
  waiting_at_stop,
903
915
  /**
904
916
  * Used by space platform hubs.
905
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
917
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
906
918
  */
907
919
  waiting_for_rockets_to_arrive,
908
920
  /**
909
921
  * Used by space platform hubs.
910
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.not_enough_thrust Online documentation}
922
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.not_enough_thrust Online documentation}
911
923
  */
912
924
  not_enough_thrust,
913
925
  /**
914
926
  * Used by trains.
915
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.destination_stop_full Online documentation}
927
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.destination_stop_full Online documentation}
916
928
  */
917
929
  destination_stop_full,
918
930
  /**
919
931
  * Used by trains and space platform hubs.
920
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_path Online documentation}
932
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_path Online documentation}
921
933
  */
922
934
  no_path,
923
935
  /**
924
936
  * Used by beacons.
925
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
937
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
926
938
  */
927
939
  no_modules_to_transmit,
928
940
  /**
929
941
  * Used by roboports.
930
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
942
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
931
943
  */
932
944
  recharging_after_power_outage,
933
945
  /**
934
946
  * Used by inserters targeting entity ghosts.
935
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
947
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
936
948
  */
937
949
  waiting_for_target_to_be_built,
938
950
  /**
939
951
  * Used by inserters targeting rails.
940
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_train Online documentation}
952
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_train Online documentation}
941
953
  */
942
954
  waiting_for_train,
943
955
  /**
944
956
  * Used by ammo turrets.
945
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_ammo Online documentation}
957
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_ammo Online documentation}
946
958
  */
947
959
  no_ammo,
948
960
  /**
949
961
  * Used by heat energy sources.
950
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.low_temperature Online documentation}
962
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.low_temperature Online documentation}
951
963
  */
952
964
  low_temperature,
953
965
  /**
954
966
  * Used by constant combinators: Combinator is turned off via switch in GUI.
955
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.disabled Online documentation}
967
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.disabled Online documentation}
956
968
  */
957
969
  disabled,
958
970
  /**
959
971
  * Used by lamps.
960
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
972
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
961
973
  */
962
974
  turned_off_during_daytime,
963
975
  /**
964
976
  * Used by rail signals.
965
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
977
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
966
978
  */
967
979
  not_connected_to_rail,
968
980
  /**
969
981
  * Used by rail signals.
970
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.cant_divide_segments Online documentation}
982
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.cant_divide_segments Online documentation}
971
983
  */
972
984
  cant_divide_segments,
973
985
  /**
974
986
  * Used by filter inserters.
975
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_filter Online documentation}
987
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_filter Online documentation}
976
988
  */
977
989
  no_filter,
978
990
  /**
979
991
  * Used by agricultural towers.
980
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
992
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
981
993
  */
982
994
  no_spot_seedable_by_inputs,
983
995
  /**
984
996
  * Used by agricultural towers.
985
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
997
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
986
998
  */
987
999
  waiting_for_plants_to_grow,
988
1000
  /**
989
1001
  * Used by asteroid collectors.
990
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.computing_navigation Online documentation}
1002
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.computing_navigation Online documentation}
991
1003
  */
992
1004
  computing_navigation,
993
1005
  /**
994
1006
  * Used by pipes, pipes to ground and storage tanks.
995
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.pipeline_overextended Online documentation}
1007
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.pipeline_overextended Online documentation}
996
1008
  */
997
1009
  pipeline_overextended,
998
1010
  /**
999
1011
  * Used by assembling machines.
1000
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1012
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.recipe_not_researched Online documentation}
1001
1013
  */
1002
1014
  recipe_not_researched,
1003
1015
  /**
1004
1016
  * Used by assembling machines.
1005
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
1017
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
1006
1018
  */
1007
1019
  recipe_is_parameter,
1008
1020
  }
@@ -1012,8 +1024,8 @@ declare global {
1012
1024
  yellow,
1013
1025
  }
1014
1026
  /**
1015
- * See the {@linkplain https://lua-api.factorio.com/2.0.55/events.html events page} for more info on what events contain and when they get raised.
1016
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.events Online documentation}
1027
+ * See the {@linkplain https://lua-api.factorio.com/2.0.62/events.html events page} for more info on what events contain and when they get raised.
1028
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.events Online documentation}
1017
1029
  */
1018
1030
  namespace events {
1019
1031
  /**
@@ -1536,6 +1548,10 @@ declare global {
1536
1548
  * Event type: {@link OnPostEntityDiedEvent}
1537
1549
  */
1538
1550
  const on_post_entity_died: EventId<OnPostEntityDiedEvent>
1551
+ /**
1552
+ * Event type: {@link OnPostSegmentedUnitDiedEvent}
1553
+ */
1554
+ const on_post_segmented_unit_died: EventId<OnPostSegmentedUnitDiedEvent>
1539
1555
  /**
1540
1556
  * Event type: {@link OnPreBuildEvent}
1541
1557
  */
@@ -1624,6 +1640,10 @@ declare global {
1624
1640
  * Event type: {@link OnResearchMovedEvent}
1625
1641
  */
1626
1642
  const on_research_moved: EventId<OnResearchMovedEvent>
1643
+ /**
1644
+ * Event type: {@link OnResearchQueuedEvent}
1645
+ */
1646
+ const on_research_queued: EventId<OnResearchQueuedEvent>
1627
1647
  /**
1628
1648
  * Event type: {@link OnResearchReversedEvent}
1629
1649
  */
@@ -1696,6 +1716,18 @@ declare global {
1696
1716
  * Event type: {@link OnSegmentEntityCreatedEvent}
1697
1717
  */
1698
1718
  const on_segment_entity_created: EventId<OnSegmentEntityCreatedEvent>
1719
+ /**
1720
+ * Event type: {@link OnSegmentedUnitCreatedEvent}
1721
+ */
1722
+ const on_segmented_unit_created: EventId<OnSegmentedUnitCreatedEvent>
1723
+ /**
1724
+ * Event type: {@link OnSegmentedUnitDamagedEvent}
1725
+ */
1726
+ const on_segmented_unit_damaged: EventId<OnSegmentedUnitDamagedEvent>
1727
+ /**
1728
+ * Event type: {@link OnSegmentedUnitDiedEvent}
1729
+ */
1730
+ const on_segmented_unit_died: EventId<OnSegmentedUnitDiedEvent>
1699
1731
  /**
1700
1732
  * Event type: {@link OnSelectedEntityChangedEvent}
1701
1733
  */
@@ -1764,10 +1796,30 @@ declare global {
1764
1796
  * Event type: {@link OnTechnologyEffectsResetEvent}
1765
1797
  */
1766
1798
  const on_technology_effects_reset: EventId<OnTechnologyEffectsResetEvent>
1799
+ /**
1800
+ * Event type: {@link OnTerritoryCreatedEvent}
1801
+ */
1802
+ const on_territory_created: EventId<OnTerritoryCreatedEvent>
1803
+ /**
1804
+ * Event type: {@link OnTerritoryDestroyedEvent}
1805
+ */
1806
+ const on_territory_destroyed: EventId<OnTerritoryDestroyedEvent>
1767
1807
  /**
1768
1808
  * Event type: {@link OnTickEvent}
1769
1809
  */
1770
1810
  const on_tick: EventId<OnTickEvent>
1811
+ /**
1812
+ * Event type: {@link OnTowerMinedPlantEvent}
1813
+ */
1814
+ const on_tower_mined_plant: EventId<OnTowerMinedPlantEvent>
1815
+ /**
1816
+ * Event type: {@link OnTowerPlantedSeedEvent}
1817
+ */
1818
+ const on_tower_planted_seed: EventId<OnTowerPlantedSeedEvent>
1819
+ /**
1820
+ * Event type: {@link OnTowerPreMinedPlantEvent}
1821
+ */
1822
+ const on_tower_pre_mined_plant: EventId<OnTowerPreMinedPlantEvent>
1771
1823
  /**
1772
1824
  * Event type: {@link OnTrainChangedStateEvent}
1773
1825
  */
@@ -1788,6 +1840,10 @@ declare global {
1788
1840
  * Event type: {@link OnTriggerFiredArtilleryEvent}
1789
1841
  */
1790
1842
  const on_trigger_fired_artillery: EventId<OnTriggerFiredArtilleryEvent>
1843
+ /**
1844
+ * Event type: {@link OnUdpPacketReceivedEvent}
1845
+ */
1846
+ const on_udp_packet_received: EventId<OnUdpPacketReceivedEvent>
1791
1847
  /**
1792
1848
  * Event type: {@link OnUndoAppliedEvent}
1793
1849
  */
@@ -1820,6 +1876,10 @@ declare global {
1820
1876
  * Event type: {@link ScriptRaisedDestroyEvent}
1821
1877
  */
1822
1878
  const script_raised_destroy: EventId<ScriptRaisedDestroyEvent>
1879
+ /**
1880
+ * Event type: {@link ScriptRaisedDestroySegmentedUnitEvent}
1881
+ */
1882
+ const script_raised_destroy_segmented_unit: EventId<ScriptRaisedDestroySegmentedUnitEvent>
1823
1883
  /**
1824
1884
  * Event type: {@link ScriptRaisedReviveEvent}
1825
1885
  */
@@ -1834,8 +1894,8 @@ declare global {
1834
1894
  const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent>
1835
1895
  }
1836
1896
  /**
1837
- * See the {@linkplain https://lua-api.factorio.com/2.0.55/events.html events page} for more info on what events contain and when they get raised.
1838
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.events Online documentation}
1897
+ * See the {@linkplain https://lua-api.factorio.com/2.0.62/events.html events page} for more info on what events contain and when they get raised.
1898
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.events Online documentation}
1839
1899
  */
1840
1900
  type events = (typeof events)[keyof typeof events]
1841
1901
  enum flow_precision_index {
@@ -1851,17 +1911,17 @@ declare global {
1851
1911
  enum game_controller_interaction {
1852
1912
  /**
1853
1913
  * Game controller will always hover this element regardless of type or state.
1854
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.game_controller_interaction.always Online documentation}
1914
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.game_controller_interaction.always Online documentation}
1855
1915
  */
1856
1916
  always,
1857
1917
  /**
1858
1918
  * Never hover this element with a game controller.
1859
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.game_controller_interaction.never Online documentation}
1919
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.game_controller_interaction.never Online documentation}
1860
1920
  */
1861
1921
  never,
1862
1922
  /**
1863
1923
  * Hover according to the element type and implementation.
1864
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.game_controller_interaction.normal Online documentation}
1924
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.game_controller_interaction.normal Online documentation}
1865
1925
  */
1866
1926
  normal,
1867
1927
  }
@@ -1944,6 +2004,7 @@ declare global {
1944
2004
  change_train_stop_station,
1945
2005
  change_train_wait_condition,
1946
2006
  change_train_wait_condition_data,
2007
+ cheat,
1947
2008
  clear_cursor,
1948
2009
  connect_rolling_stock,
1949
2010
  copy,
@@ -1985,6 +2046,7 @@ declare global {
1985
2046
  edit_display_panel_icon,
1986
2047
  edit_display_panel_parameters,
1987
2048
  edit_display_panel_show_in_chart,
2049
+ edit_display_panel_single_entry,
1988
2050
  edit_interrupt,
1989
2051
  edit_permission_group,
1990
2052
  edit_pin,
@@ -2186,22 +2248,22 @@ declare global {
2186
2248
  logistic_container_trash,
2187
2249
  /**
2188
2250
  * Deprecated, replaced by `"crafter_input"`.
2189
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.furnace_source Online documentation}
2251
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.furnace_source Online documentation}
2190
2252
  */
2191
2253
  furnace_source,
2192
2254
  /**
2193
2255
  * Deprecated, replaced by `"crafter_output"`.
2194
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.furnace_result Online documentation}
2256
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.furnace_result Online documentation}
2195
2257
  */
2196
2258
  furnace_result,
2197
2259
  /**
2198
2260
  * Deprecated, replaced by `"crafter_modules"`.
2199
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.furnace_modules Online documentation}
2261
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.furnace_modules Online documentation}
2200
2262
  */
2201
2263
  furnace_modules,
2202
2264
  /**
2203
2265
  * Deprecated, replaced by `"crafter_trash"`.
2204
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.furnace_trash Online documentation}
2266
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.furnace_trash Online documentation}
2205
2267
  */
2206
2268
  furnace_trash,
2207
2269
  character_main,
@@ -2221,27 +2283,27 @@ declare global {
2221
2283
  robot_repair,
2222
2284
  /**
2223
2285
  * Deprecated, replaced by `"crafter_input"`.
2224
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.assembling_machine_input Online documentation}
2286
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.assembling_machine_input Online documentation}
2225
2287
  */
2226
2288
  assembling_machine_input,
2227
2289
  /**
2228
2290
  * Deprecated, replaced by `"crafter_output"`.
2229
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.assembling_machine_output Online documentation}
2291
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.assembling_machine_output Online documentation}
2230
2292
  */
2231
2293
  assembling_machine_output,
2232
2294
  /**
2233
2295
  * Deprecated, replaced by `"crafter_modules"`.
2234
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.assembling_machine_modules Online documentation}
2296
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.assembling_machine_modules Online documentation}
2235
2297
  */
2236
2298
  assembling_machine_modules,
2237
2299
  /**
2238
2300
  * Used for ejected items, or items held by inserters that can't be inserted due the recipe being changed with the circuit network.
2239
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2301
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.assembling_machine_dump Online documentation}
2240
2302
  */
2241
2303
  assembling_machine_dump,
2242
2304
  /**
2243
2305
  * Deprecated, replaced by `"crafter_trash"`.
2244
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.assembling_machine_trash Online documentation}
2306
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.assembling_machine_trash Online documentation}
2245
2307
  */
2246
2308
  assembling_machine_trash,
2247
2309
  lab_input,
@@ -2253,17 +2315,17 @@ declare global {
2253
2315
  rocket_silo_trash,
2254
2316
  /**
2255
2317
  * Deprecated, replaced by `"crafter_input"`.
2256
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.rocket_silo_input Online documentation}
2318
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.rocket_silo_input Online documentation}
2257
2319
  */
2258
2320
  rocket_silo_input,
2259
2321
  /**
2260
2322
  * Deprecated, replaced by `"crafter_output"`.
2261
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.rocket_silo_output Online documentation}
2323
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.rocket_silo_output Online documentation}
2262
2324
  */
2263
2325
  rocket_silo_output,
2264
2326
  /**
2265
2327
  * Deprecated, replaced by `"crafter_modules"`.
2266
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.rocket_silo_modules Online documentation}
2328
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.rocket_silo_modules Online documentation}
2267
2329
  */
2268
2330
  rocket_silo_modules,
2269
2331
  cargo_unit,
@@ -2292,10 +2354,15 @@ declare global {
2292
2354
  crafter_modules,
2293
2355
  /**
2294
2356
  * 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.
2295
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.inventory.crafter_trash Online documentation}
2357
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.inventory.crafter_trash Online documentation}
2296
2358
  */
2297
2359
  crafter_trash,
2298
2360
  asteroid_collector_output,
2361
+ asteroid_collector_arm,
2362
+ }
2363
+ enum logistic_group_type {
2364
+ with_trash,
2365
+ roboport,
2299
2366
  }
2300
2367
  enum logistic_member_index {
2301
2368
  logistic_container,
@@ -2330,12 +2397,12 @@ declare global {
2330
2397
  circuit_controlled,
2331
2398
  /**
2332
2399
  * Used by rocket silos.
2333
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2400
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
2334
2401
  */
2335
2402
  transitional_request_controlled,
2336
2403
  /**
2337
2404
  * Used by space platform hubs.
2338
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2405
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
2339
2406
  */
2340
2407
  request_missing_materials_controlled,
2341
2408
  }
@@ -2354,17 +2421,17 @@ declare global {
2354
2421
  enum print_skip {
2355
2422
  /**
2356
2423
  * Print will not be skipped.
2357
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.print_skip.never Online documentation}
2424
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.print_skip.never Online documentation}
2358
2425
  */
2359
2426
  never,
2360
2427
  /**
2361
2428
  * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
2362
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.print_skip.if_redundant Online documentation}
2429
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.print_skip.if_redundant Online documentation}
2363
2430
  */
2364
2431
  if_redundant,
2365
2432
  /**
2366
2433
  * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
2367
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.print_skip.if_visible Online documentation}
2434
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.print_skip.if_visible Online documentation}
2368
2435
  */
2369
2436
  if_visible,
2370
2437
  }
@@ -2375,7 +2442,7 @@ declare global {
2375
2442
  }
2376
2443
  /**
2377
2444
  * 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, ...}`.
2378
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.prototypes Online documentation}
2445
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.prototypes Online documentation}
2379
2446
  */
2380
2447
  interface prototypes {
2381
2448
  achievement: {
@@ -2667,6 +2734,9 @@ declare global {
2667
2734
  "map-settings": {
2668
2735
  "map-settings": 0
2669
2736
  }
2737
+ "mod-data": {
2738
+ "mod-data": 0
2739
+ }
2670
2740
  "module-category": {
2671
2741
  "module-category": 0
2672
2742
  }
@@ -2767,7 +2837,7 @@ declare global {
2767
2837
  }
2768
2838
  /**
2769
2839
  * 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, ...}`.
2770
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.prototypes Online documentation}
2840
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.prototypes Online documentation}
2771
2841
  */
2772
2842
  const prototypes: prototypes
2773
2843
  enum rail_connection_direction {
@@ -2893,131 +2963,192 @@ declare global {
2893
2963
  enum robot_order_type {
2894
2964
  /**
2895
2965
  * Construct a ghost.
2896
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.construct Online documentation}
2966
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.construct Online documentation}
2897
2967
  */
2898
2968
  construct,
2899
2969
  /**
2900
2970
  * Pickup an item.
2901
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.pickup Online documentation}
2971
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.pickup Online documentation}
2902
2972
  */
2903
2973
  pickup,
2904
2974
  /**
2905
2975
  * Deliver an item.
2906
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.deliver Online documentation}
2976
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.deliver Online documentation}
2907
2977
  */
2908
2978
  deliver,
2909
2979
  /**
2910
2980
  * Repair an entity.
2911
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.repair Online documentation}
2981
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.repair Online documentation}
2912
2982
  */
2913
2983
  repair,
2914
2984
  /**
2915
2985
  * Deconstruct an entity.
2916
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.deconstruct Online documentation}
2986
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.deconstruct Online documentation}
2917
2987
  */
2918
2988
  deconstruct,
2919
2989
  /**
2920
2990
  * Deliver specific items to an entity (item request proxy).
2921
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.deliver_items Online documentation}
2991
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.deliver_items Online documentation}
2922
2992
  */
2923
2993
  deliver_items,
2924
2994
  /**
2925
2995
  * Upgrade an entity.
2926
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.upgrade Online documentation}
2996
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.upgrade Online documentation}
2927
2997
  */
2928
2998
  upgrade,
2929
2999
  /**
2930
3000
  * Explode a cliff.
2931
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.explode_cliff Online documentation}
3001
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.explode_cliff Online documentation}
2932
3002
  */
2933
3003
  explode_cliff,
2934
3004
  /**
2935
3005
  * Pickup items from an entity (item request proxy).
2936
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.robot_order_type.pickup_items Online documentation}
3006
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.robot_order_type.pickup_items Online documentation}
2937
3007
  */
2938
3008
  pickup_items,
2939
3009
  }
2940
3010
  /**
2941
3011
  * The various parts of the launch sequence of the rocket silo.
2942
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status Online documentation}
3012
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status Online documentation}
2943
3013
  */
2944
3014
  enum rocket_silo_status {
2945
3015
  /**
2946
3016
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
2947
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
3017
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2948
3018
  */
2949
3019
  building_rocket,
2950
3020
  /**
2951
3021
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
2952
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
3022
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2953
3023
  */
2954
3024
  create_rocket,
2955
3025
  /**
2956
3026
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
2957
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
3027
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2958
3028
  */
2959
3029
  lights_blinking_open,
2960
3030
  /**
2961
3031
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
2962
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
3032
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2963
3033
  */
2964
3034
  doors_opening,
2965
3035
  /**
2966
3036
  * 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.
2967
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
3037
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2968
3038
  */
2969
3039
  doors_opened,
2970
3040
  /**
2971
3041
  * 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.
2972
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
3042
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2973
3043
  */
2974
3044
  rocket_rising,
2975
3045
  /**
2976
3046
  * 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.
2977
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
3047
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2978
3048
  */
2979
3049
  arms_advance,
2980
3050
  /**
2981
3051
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
2982
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
3052
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2983
3053
  */
2984
3054
  rocket_ready,
2985
3055
  /**
2986
3056
  * The next state is `launch_started`.
2987
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
3057
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2988
3058
  */
2989
3059
  launch_starting,
2990
3060
  /**
2991
3061
  * 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.
2992
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
3062
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2993
3063
  */
2994
3064
  engine_starting,
2995
3065
  /**
2996
3066
  * 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.
2997
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
3067
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2998
3068
  */
2999
3069
  arms_retract,
3000
3070
  /**
3001
3071
  * The next state is `lights_blinking_close`. The rocket is getting launched.
3002
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
3072
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
3003
3073
  */
3004
3074
  rocket_flying,
3005
3075
  /**
3006
3076
  * The next state is `doors_closing`.
3007
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
3077
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
3008
3078
  */
3009
3079
  lights_blinking_close,
3010
3080
  /**
3011
3081
  * The next state is `building_rocket`.
3012
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
3082
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
3013
3083
  */
3014
3084
  doors_closing,
3015
3085
  /**
3016
3086
  * 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.
3017
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.rocket_silo_status.launch_started Online documentation}
3087
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.rocket_silo_status.launch_started Online documentation}
3018
3088
  */
3019
3089
  launch_started,
3020
3090
  }
3091
+ enum segmented_unit_activity_mode {
3092
+ /**
3093
+ * The segmented unit is completely asleep, only performing the bare minimum checks to wake up if needed.
3094
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation}
3095
+ */
3096
+ asleep,
3097
+ /**
3098
+ * The segmented unit is minimally active, reducing unnecessary entity movement and trigger effects while continuing to patrol around its territory.
3099
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation}
3100
+ */
3101
+ minimal,
3102
+ /**
3103
+ * The segmented unit is fully active and simulated as if it is being observed by a player.
3104
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_activity_mode.full Online documentation}
3105
+ */
3106
+ full,
3107
+ }
3108
+ enum segmented_unit_ai_state {
3109
+ /**
3110
+ * The segmented unit is navigating its territory's patrol path. If the unit is not assigned to a territory, then it is patrolling around the position it was created.
3111
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation}
3112
+ */
3113
+ patrolling,
3114
+ /**
3115
+ * The segmented unit is investigating a location where it detected a disturbance.
3116
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_ai_state.investigating Online documentation}
3117
+ */
3118
+ investigating,
3119
+ /**
3120
+ * The segmented unit is attacking an entity that is trespassing on its territory, but the segmented unit is not using its full strength.
3121
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_ai_state.attacking Online documentation}
3122
+ */
3123
+ attacking,
3124
+ /**
3125
+ * The segmented unit is angry because it was attacked and is aggressively attacking an entity with its full strength.
3126
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation}
3127
+ */
3128
+ enraged_at_target,
3129
+ /**
3130
+ * The segmented unit is angry because it was attacked but it does not have a valid attack target, so it is wandering around trying to find a valid attack target.
3131
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation}
3132
+ */
3133
+ enraged_at_nothing,
3134
+ }
3135
+ enum segmented_unit_created_cause {
3136
+ /**
3137
+ * The segmented unit was spawned naturally by the map generator.
3138
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation}
3139
+ */
3140
+ map_generated,
3141
+ /**
3142
+ * The segmented unit was created manually via script.
3143
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_created_cause.script_created Online documentation}
3144
+ */
3145
+ script_created,
3146
+ /**
3147
+ * The segmented unit was cloned from an existing segmented unit via script.
3148
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation}
3149
+ */
3150
+ script_cloned,
3151
+ }
3021
3152
  enum selection_mode {
3022
3153
  select,
3023
3154
  alt_select,
@@ -3031,74 +3162,74 @@ declare global {
3031
3162
  }
3032
3163
  /**
3033
3164
  * State of an ordinary rail signal.
3034
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.signal_state Online documentation}
3165
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.signal_state Online documentation}
3035
3166
  */
3036
3167
  enum signal_state {
3037
3168
  /**
3038
3169
  * Green.
3039
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.signal_state.open Online documentation}
3170
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.signal_state.open Online documentation}
3040
3171
  */
3041
3172
  open,
3042
3173
  /**
3043
3174
  * Red.
3044
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.signal_state.closed Online documentation}
3175
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.signal_state.closed Online documentation}
3045
3176
  */
3046
3177
  closed,
3047
3178
  /**
3048
3179
  * Orange.
3049
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.signal_state.reserved Online documentation}
3180
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.signal_state.reserved Online documentation}
3050
3181
  */
3051
3182
  reserved,
3052
3183
  /**
3053
3184
  * Red - From circuit network.
3054
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
3185
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
3055
3186
  */
3056
3187
  reserved_by_circuit_network,
3057
3188
  }
3058
3189
  enum space_platform_state {
3059
3190
  /**
3060
3191
  * Waiting for a starter pack.
3061
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
3192
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
3062
3193
  */
3063
3194
  waiting_for_starter_pack,
3064
3195
  /**
3065
3196
  * Starter pack was requested from the logistics system.
3066
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3197
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
3067
3198
  */
3068
3199
  starter_pack_requested,
3069
3200
  /**
3070
3201
  * Starter pack is on the way.
3071
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3202
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
3072
3203
  */
3073
3204
  starter_pack_on_the_way,
3074
3205
  /**
3075
3206
  * Following the path.
3076
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.on_the_path Online documentation}
3207
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.on_the_path Online documentation}
3077
3208
  */
3078
3209
  on_the_path,
3079
3210
  /**
3080
3211
  * Platform is ready to leave this planet and does not accept deliveries.
3081
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3212
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
3082
3213
  */
3083
3214
  waiting_for_departure,
3084
3215
  /**
3085
3216
  * Doesn't have any stations in schedule.
3086
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.no_schedule Online documentation}
3217
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.no_schedule Online documentation}
3087
3218
  */
3088
3219
  no_schedule,
3089
3220
  /**
3090
3221
  * Doesn't have anywhere to go.
3091
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.no_path Online documentation}
3222
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.no_path Online documentation}
3092
3223
  */
3093
3224
  no_path,
3094
3225
  /**
3095
3226
  * Waiting at a station.
3096
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3227
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
3097
3228
  */
3098
3229
  waiting_at_station,
3099
3230
  /**
3100
3231
  * Paused.
3101
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.space_platform_state.paused Online documentation}
3232
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.space_platform_state.paused Online documentation}
3102
3233
  */
3103
3234
  paused,
3104
3235
  }
@@ -3123,56 +3254,70 @@ declare global {
3123
3254
  gui_element,
3124
3255
  cargo_hatch,
3125
3256
  schedule,
3257
+ territory,
3258
+ segmented_unit,
3259
+ }
3260
+ enum territory_created_cause {
3261
+ /**
3262
+ * The territory was spawned naturally by the map generator.
3263
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.territory_created_cause.map_generated Online documentation}
3264
+ */
3265
+ map_generated,
3266
+ /**
3267
+ * The territory was created manually via script.
3268
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.territory_created_cause.script_created Online documentation}
3269
+ */
3270
+ script_created,
3126
3271
  }
3127
3272
  enum train_state {
3128
3273
  /**
3129
3274
  * Normal state -- following the path.
3130
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.on_the_path Online documentation}
3275
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.on_the_path Online documentation}
3131
3276
  */
3132
3277
  on_the_path,
3133
3278
  /**
3134
3279
  * Doesn't have anywhere to go.
3135
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.no_schedule Online documentation}
3280
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.no_schedule Online documentation}
3136
3281
  */
3137
3282
  no_schedule,
3138
3283
  /**
3139
3284
  * Has no path and is stopped.
3140
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.no_path Online documentation}
3285
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.no_path Online documentation}
3141
3286
  */
3142
3287
  no_path,
3143
3288
  /**
3144
3289
  * Braking before a rail signal.
3145
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.arrive_signal Online documentation}
3290
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.arrive_signal Online documentation}
3146
3291
  */
3147
3292
  arrive_signal,
3148
3293
  /**
3149
3294
  * Waiting at a signal.
3150
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.wait_signal Online documentation}
3295
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.wait_signal Online documentation}
3151
3296
  */
3152
3297
  wait_signal,
3153
3298
  /**
3154
3299
  * Braking before a station.
3155
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.arrive_station Online documentation}
3300
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.arrive_station Online documentation}
3156
3301
  */
3157
3302
  arrive_station,
3158
3303
  /**
3159
3304
  * Switched to manual control and has to stop.
3160
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.manual_control_stop Online documentation}
3305
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.manual_control_stop Online documentation}
3161
3306
  */
3162
3307
  manual_control_stop,
3163
3308
  /**
3164
3309
  * Can move if user explicitly sits in and rides the train.
3165
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.manual_control Online documentation}
3310
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.manual_control Online documentation}
3166
3311
  */
3167
3312
  manual_control,
3168
3313
  /**
3169
3314
  * Waiting at a station.
3170
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.wait_station Online documentation}
3315
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.wait_station Online documentation}
3171
3316
  */
3172
3317
  wait_station,
3173
3318
  /**
3174
3319
  * Same as no_path but all candidate train stops are full
3175
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.train_state.destination_full Online documentation}
3320
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.train_state.destination_full Online documentation}
3176
3321
  */
3177
3322
  destination_full,
3178
3323
  }
@@ -3202,17 +3347,17 @@ declare global {
3202
3347
  enum wire_origin {
3203
3348
  /**
3204
3349
  * These wires can be modified by players, scripts, and the game. They are visible to the player if the entity's `draw_circuit_wires` prototype property is set to `true` and both ends of it are on the same surface.
3205
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.wire_origin.player Online documentation}
3350
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.wire_origin.player Online documentation}
3206
3351
  */
3207
3352
  player,
3208
3353
  /**
3209
3354
  * These wires can be modified by scripts and the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
3210
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.wire_origin.script Online documentation}
3355
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.wire_origin.script Online documentation}
3211
3356
  */
3212
3357
  script,
3213
3358
  /**
3214
3359
  * These wires can only be modified by the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
3215
- * @see {@link https://lua-api.factorio.com/2.0.55/defines.html#defines.wire_origin.radars Online documentation}
3360
+ * @see {@link https://lua-api.factorio.com/2.0.62/defines.html#defines.wire_origin.radars Online documentation}
3216
3361
  */
3217
3362
  radars,
3218
3363
  }