typed-factorio 2.10.1 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,28 +4,6 @@
4
4
 
5
5
  import type {
6
6
  EventId,
7
- LuaEntityClonedEventFilter,
8
- LuaEntityDamagedEventFilter,
9
- LuaEntityDeconstructionCancelledEventFilter,
10
- LuaEntityDiedEventFilter,
11
- LuaEntityMarkedForDeconstructionEventFilter,
12
- LuaEntityMarkedForUpgradeEventFilter,
13
- LuaPlayerBuiltEntityEventFilter,
14
- LuaPlayerMinedEntityEventFilter,
15
- LuaPlayerRepairedEntityEventFilter,
16
- LuaPostEntityDiedEventFilter,
17
- LuaPreGhostDeconstructedEventFilter,
18
- LuaPreGhostUpgradedEventFilter,
19
- LuaPrePlayerMinedEntityEventFilter,
20
- LuaPreRobotMinedEntityEventFilter,
21
- LuaRobotBuiltEntityEventFilter,
22
- LuaRobotMinedEntityEventFilter,
23
- LuaScriptRaisedBuiltEventFilter,
24
- LuaScriptRaisedDestroyEventFilter,
25
- LuaScriptRaisedReviveEventFilter,
26
- LuaScriptRaisedTeleportedEventFilter,
27
- LuaSectorScannedEventFilter,
28
- LuaUpgradeCancelledEventFilter,
29
7
  OnAiCommandCompletedEvent,
30
8
  OnAreaClonedEvent,
31
9
  OnBiterBaseBuiltEvent,
@@ -217,19 +195,19 @@ import type { PrototypeSubclassMap } from "factorio:prototype"
217
195
  declare global {
218
196
  namespace defines {
219
197
  enum alert_type {
198
+ custom,
220
199
  entity_destroyed,
221
200
  entity_under_attack,
222
- not_enough_construction_robots,
223
201
  no_material_for_construction,
224
- not_enough_repair_packs,
225
- turret_fire,
226
- custom,
227
202
  no_storage,
203
+ not_enough_construction_robots,
204
+ not_enough_repair_packs,
228
205
  train_out_of_fuel,
206
+ turret_fire,
229
207
  }
230
208
  /**
231
209
  * AI command exit status. See {@link LuaEntity#set_command LuaEntity::set_command}
232
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.behavior_result Online documentation}
210
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.behavior_result Online documentation}
233
211
  */
234
212
  enum behavior_result {
235
213
  in_progress,
@@ -247,7 +225,7 @@ declare global {
247
225
  }
248
226
  /**
249
227
  * State of a chain signal.
250
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.chain_signal_state Online documentation}
228
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.chain_signal_state Online documentation}
251
229
  */
252
230
  enum chain_signal_state {
253
231
  none,
@@ -294,73 +272,73 @@ declare global {
294
272
  }
295
273
  /**
296
274
  * Command given to units describing what they should do.
297
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command Online documentation}
275
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command Online documentation}
298
276
  */
299
277
  enum command {
300
278
  /**
301
279
  * Attack another entity.
302
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.attack Online documentation}
280
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.attack Online documentation}
303
281
  */
304
282
  attack = 0,
305
283
  /**
306
284
  * Go to a specific position.
307
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.go_to_location Online documentation}
285
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.go_to_location Online documentation}
308
286
  */
309
287
  go_to_location = 1,
310
288
  /**
311
289
  * Chain commands together, see {@link defines.compound_command}.
312
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.compound Online documentation}
290
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.compound Online documentation}
313
291
  */
314
292
  compound = 2,
315
293
  /**
316
294
  * Do what your group wants you to do.
317
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.group Online documentation}
295
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.group Online documentation}
318
296
  */
319
297
  group = 3,
320
298
  /**
321
299
  * Go to a place and attack what you see.
322
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.attack_area Online documentation}
300
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.attack_area Online documentation}
323
301
  */
324
302
  attack_area = 4,
325
303
  /**
326
304
  * Chill.
327
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.wander Online documentation}
305
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.wander Online documentation}
328
306
  */
329
307
  wander = 5,
330
308
  /**
331
309
  * Flee from another entity.
332
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.flee Online documentation}
310
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.flee Online documentation}
333
311
  */
334
312
  flee = 6,
335
313
  /**
336
314
  * Stop moving and stay where you are.
337
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.stop Online documentation}
315
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.stop Online documentation}
338
316
  */
339
317
  stop = 7,
340
318
  /**
341
319
  * Go to a position and build a base there.
342
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.command.build_base Online documentation}
320
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.command.build_base Online documentation}
343
321
  */
344
322
  build_base = 8,
345
323
  }
346
324
  /**
347
325
  * How commands are joined together in a compound command (see {@link defines.command.compound}).
348
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.compound_command Online documentation}
326
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.compound_command Online documentation}
349
327
  */
350
328
  enum compound_command {
351
329
  /**
352
330
  * Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
353
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.compound_command.logical_and Online documentation}
331
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.compound_command.logical_and Online documentation}
354
332
  */
355
333
  logical_and,
356
334
  /**
357
335
  * Succeed on first success. Only fails if all commands (executed one after another) fail.
358
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.compound_command.logical_or Online documentation}
336
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.compound_command.logical_or Online documentation}
359
337
  */
360
338
  logical_or,
361
339
  /**
362
340
  * Execute all commands in sequence and fail or succeed depending on the return status of the last command.
363
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.compound_command.return_last Online documentation}
341
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.compound_command.return_last Online documentation}
364
342
  */
365
343
  return_last,
366
344
  }
@@ -404,92 +382,92 @@ declare global {
404
382
  enum type {
405
383
  /**
406
384
  * {@link LuaContainerControlBehavior}
407
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.container Online documentation}
385
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.container Online documentation}
408
386
  */
409
387
  container,
410
388
  /**
411
389
  * {@link LuaGenericOnOffControlBehavior}
412
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
390
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
413
391
  */
414
392
  generic_on_off,
415
393
  /**
416
394
  * {@link LuaInserterControlBehavior}
417
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.inserter Online documentation}
395
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.inserter Online documentation}
418
396
  */
419
397
  inserter,
420
398
  /**
421
399
  * {@link LuaLampControlBehavior}
422
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.lamp Online documentation}
400
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.lamp Online documentation}
423
401
  */
424
402
  lamp,
425
403
  /**
426
404
  * {@link LuaLogisticContainerControlBehavior}
427
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.logistic_container Online documentation}
405
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.logistic_container Online documentation}
428
406
  */
429
407
  logistic_container,
430
408
  /**
431
409
  * {@link LuaRoboportControlBehavior}
432
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.roboport Online documentation}
410
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.roboport Online documentation}
433
411
  */
434
412
  roboport,
435
413
  /**
436
414
  * {@link LuaStorageTankControlBehavior}
437
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.storage_tank Online documentation}
415
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.storage_tank Online documentation}
438
416
  */
439
417
  storage_tank,
440
418
  /**
441
419
  * {@link LuaTrainStopControlBehavior}
442
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.train_stop Online documentation}
420
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.train_stop Online documentation}
443
421
  */
444
422
  train_stop,
445
423
  /**
446
424
  * {@link LuaDeciderCombinatorControlBehavior}
447
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
425
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
448
426
  */
449
427
  decider_combinator,
450
428
  /**
451
429
  * {@link LuaArithmeticCombinatorControlBehavior}
452
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
430
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
453
431
  */
454
432
  arithmetic_combinator,
455
433
  /**
456
434
  * {@link LuaConstantCombinatorControlBehavior}
457
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
435
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
458
436
  */
459
437
  constant_combinator,
460
438
  /**
461
439
  * {@link LuaTransportBeltControlBehavior}
462
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.transport_belt Online documentation}
440
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.transport_belt Online documentation}
463
441
  */
464
442
  transport_belt,
465
443
  /**
466
444
  * {@link LuaAccumulatorControlBehavior}
467
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.accumulator Online documentation}
445
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.accumulator Online documentation}
468
446
  */
469
447
  accumulator,
470
448
  /**
471
449
  * {@link LuaRailSignalControlBehavior}
472
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.rail_signal Online documentation}
450
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.rail_signal Online documentation}
473
451
  */
474
452
  rail_signal,
475
453
  /**
476
454
  * {@link LuaRailChainSignalControlBehavior}
477
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
455
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
478
456
  */
479
457
  rail_chain_signal,
480
458
  /**
481
459
  * {@link LuaWallControlBehavior}
482
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.wall Online documentation}
460
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.wall Online documentation}
483
461
  */
484
462
  wall,
485
463
  /**
486
464
  * {@link LuaMiningDrillControlBehavior}
487
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.mining_drill Online documentation}
465
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.mining_drill Online documentation}
488
466
  */
489
467
  mining_drill,
490
468
  /**
491
469
  * {@link LuaProgrammableSpeakerControlBehavior}
492
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
470
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
493
471
  */
494
472
  programmable_speaker,
495
473
  }
@@ -497,32 +475,32 @@ declare global {
497
475
  enum controllers {
498
476
  /**
499
477
  * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
500
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.controllers.ghost Online documentation}
478
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.controllers.ghost Online documentation}
501
479
  */
502
480
  ghost,
503
481
  /**
504
482
  * The controller controls a character. This is the default controller in freeplay.
505
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.controllers.character Online documentation}
483
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.controllers.character Online documentation}
506
484
  */
507
485
  character,
508
486
  /**
509
487
  * The controller isn't tied to a character. This is the default controller in sandbox.
510
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.controllers.god Online documentation}
488
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.controllers.god Online documentation}
511
489
  */
512
490
  god,
513
491
  /**
514
492
  * The Editor Controller near ultimate power to do almost anything in the game.
515
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.controllers.editor Online documentation}
493
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.controllers.editor Online documentation}
516
494
  */
517
495
  editor,
518
496
  /**
519
497
  * The player can't interact with the world, and the camera pans around in a predefined manner.
520
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.controllers.cutscene Online documentation}
498
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.controllers.cutscene Online documentation}
521
499
  */
522
500
  cutscene,
523
501
  /**
524
502
  * Can't change anything in the world but can view anything.
525
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.controllers.spectator Online documentation}
503
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.controllers.spectator Online documentation}
526
504
  */
527
505
  spectator,
528
506
  }
@@ -583,22 +561,22 @@ declare global {
583
561
  enum distraction {
584
562
  /**
585
563
  * Perform command even if someone attacks the unit.
586
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.distraction.none Online documentation}
564
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.distraction.none Online documentation}
587
565
  */
588
566
  none,
589
567
  /**
590
568
  * Attack closer enemy entities with force.
591
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.distraction.by_enemy Online documentation}
569
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.distraction.by_enemy Online documentation}
592
570
  */
593
571
  by_enemy,
594
572
  /**
595
573
  * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
596
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.distraction.by_anything Online documentation}
574
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.distraction.by_anything Online documentation}
597
575
  */
598
576
  by_anything,
599
577
  /**
600
578
  * Attack when attacked.
601
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.distraction.by_damage Online documentation}
579
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.distraction.by_damage Online documentation}
602
580
  */
603
581
  by_damage,
604
582
  }
@@ -615,970 +593,920 @@ declare global {
615
593
  marked_for_deconstruction,
616
594
  /**
617
595
  * Used by generators and solar panels.
618
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
596
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
619
597
  */
620
598
  not_plugged_in_electric_network,
621
599
  /**
622
600
  * Used by power switches.
623
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.networks_connected Online documentation}
601
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.networks_connected Online documentation}
624
602
  */
625
603
  networks_connected,
626
604
  /**
627
605
  * Used by power switches.
628
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.networks_disconnected Online documentation}
606
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.networks_disconnected Online documentation}
629
607
  */
630
608
  networks_disconnected,
631
609
  /**
632
610
  * Used by accumulators.
633
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.charging Online documentation}
611
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.charging Online documentation}
634
612
  */
635
613
  charging,
636
614
  /**
637
615
  * Used by accumulators.
638
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.discharging Online documentation}
616
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.discharging Online documentation}
639
617
  */
640
618
  discharging,
641
619
  /**
642
620
  * Used by accumulators.
643
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.fully_charged Online documentation}
621
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.fully_charged Online documentation}
644
622
  */
645
623
  fully_charged,
646
624
  /**
647
625
  * Used by logistic containers.
648
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
626
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
649
627
  */
650
628
  out_of_logistic_network,
651
629
  /**
652
630
  * Used by assembling machines.
653
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_recipe Online documentation}
631
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_recipe Online documentation}
654
632
  */
655
633
  no_recipe,
656
634
  /**
657
635
  * Used by furnaces.
658
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_ingredients Online documentation}
636
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_ingredients Online documentation}
659
637
  */
660
638
  no_ingredients,
661
639
  /**
662
640
  * Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
663
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_input_fluid Online documentation}
641
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_input_fluid Online documentation}
664
642
  */
665
643
  no_input_fluid,
666
644
  /**
667
645
  * Used by labs.
668
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_research_in_progress Online documentation}
646
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_research_in_progress Online documentation}
669
647
  */
670
648
  no_research_in_progress,
671
649
  /**
672
650
  * Used by mining drills.
673
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_minable_resources Online documentation}
651
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_minable_resources Online documentation}
674
652
  */
675
653
  no_minable_resources,
676
654
  /**
677
655
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
678
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.low_input_fluid Online documentation}
656
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.low_input_fluid Online documentation}
679
657
  */
680
658
  low_input_fluid,
681
659
  /**
682
660
  * Used by crafting machines.
683
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
661
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
684
662
  */
685
663
  fluid_ingredient_shortage,
686
664
  /**
687
665
  * Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
688
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.full_output Online documentation}
666
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.full_output Online documentation}
689
667
  */
690
668
  full_output,
691
669
  /**
692
670
  * Used by burner energy sources.
693
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
671
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
694
672
  */
695
673
  full_burnt_result_output,
696
674
  /**
697
675
  * Used by crafting machines.
698
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
676
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
699
677
  */
700
678
  item_ingredient_shortage,
701
679
  /**
702
680
  * Used by mining drills when the mining fluid is missing.
703
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.missing_required_fluid Online documentation}
681
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.missing_required_fluid Online documentation}
704
682
  */
705
683
  missing_required_fluid,
706
684
  /**
707
685
  * Used by labs.
708
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.missing_science_packs Online documentation}
686
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.missing_science_packs Online documentation}
709
687
  */
710
688
  missing_science_packs,
711
689
  /**
712
690
  * Used by inserters.
713
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
691
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
714
692
  */
715
693
  waiting_for_source_items,
716
694
  /**
717
695
  * Used by inserters and mining drills.
718
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
696
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
719
697
  */
720
698
  waiting_for_space_in_destination,
721
699
  /**
722
700
  * Used by the rocket silo.
723
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
701
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
724
702
  */
725
703
  preparing_rocket_for_launch,
726
704
  /**
727
705
  * Used by the rocket silo.
728
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
706
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
729
707
  */
730
708
  waiting_to_launch_rocket,
731
709
  /**
732
710
  * Used by the rocket silo.
733
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.launching_rocket Online documentation}
711
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.launching_rocket Online documentation}
734
712
  */
735
713
  launching_rocket,
736
714
  /**
737
715
  * Used by beacons.
738
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
716
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
739
717
  */
740
718
  no_modules_to_transmit,
741
719
  /**
742
720
  * Used by roboports.
743
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
721
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
744
722
  */
745
723
  recharging_after_power_outage,
746
724
  /**
747
725
  * Used by inserters targeting entity ghosts.
748
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
726
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
749
727
  */
750
728
  waiting_for_target_to_be_built,
751
729
  /**
752
730
  * Used by inserters targeting rails.
753
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.waiting_for_train Online documentation}
731
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.waiting_for_train Online documentation}
754
732
  */
755
733
  waiting_for_train,
756
734
  /**
757
735
  * Used by ammo turrets.
758
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.no_ammo Online documentation}
736
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.no_ammo Online documentation}
759
737
  */
760
738
  no_ammo,
761
739
  /**
762
740
  * Used by heat energy sources.
763
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.low_temperature Online documentation}
741
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.low_temperature Online documentation}
764
742
  */
765
743
  low_temperature,
766
744
  /**
767
745
  * Used by constant combinators: Combinator is turned off via switch in GUI.
768
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.disabled Online documentation}
746
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.disabled Online documentation}
769
747
  */
770
748
  disabled,
771
749
  /**
772
750
  * Used by lamps.
773
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
751
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
774
752
  */
775
753
  turned_off_during_daytime,
776
754
  /**
777
755
  * Used by rail signals.
778
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
756
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
779
757
  */
780
758
  not_connected_to_rail,
781
759
  /**
782
760
  * Used by rail signals.
783
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.entity_status.cant_divide_segments Online documentation}
761
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.entity_status.cant_divide_segments Online documentation}
784
762
  */
785
763
  cant_divide_segments,
786
764
  }
787
765
  /**
788
- * See the {@linkplain https://lua-api.factorio.com/1.1.107/events.html events page} for more info on what events contain and when they get raised.
789
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.events Online documentation}
766
+ * See the {@linkplain https://lua-api.factorio.com/1.1.109/events.html events page} for more info on what events contain and when they get raised.
767
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.events Online documentation}
790
768
  */
791
769
  namespace events {
792
770
  /**
793
- * Event type: {@link OnTickEvent}
794
- */
795
- const on_tick: EventId<OnTickEvent>
796
- /**
797
- * Event type: {@link OnGuiClickEvent}
771
+ * Event type: {@link OnAiCommandCompletedEvent}
798
772
  */
799
- const on_gui_click: EventId<OnGuiClickEvent>
773
+ const on_ai_command_completed: EventId<OnAiCommandCompletedEvent>
800
774
  /**
801
- * Event type: {@link OnGuiConfirmedEvent}
775
+ * Event type: {@link OnAreaClonedEvent}
802
776
  */
803
- const on_gui_confirmed: EventId<OnGuiConfirmedEvent>
777
+ const on_area_cloned: EventId<OnAreaClonedEvent>
804
778
  /**
805
- * Event type: {@link OnGuiTextChangedEvent}
779
+ * Event type: {@link OnBiterBaseBuiltEvent}
806
780
  */
807
- const on_gui_text_changed: EventId<OnGuiTextChangedEvent>
781
+ const on_biter_base_built: EventId<OnBiterBaseBuiltEvent>
808
782
  /**
809
- * Event type: {@link OnGuiCheckedStateChangedEvent}
783
+ * Event type: {@link OnBrushClonedEvent}
810
784
  */
811
- const on_gui_checked_state_changed: EventId<OnGuiCheckedStateChangedEvent>
785
+ const on_brush_cloned: EventId<OnBrushClonedEvent>
812
786
  /**
813
- * Event type: {@link OnEntityDiedEvent}
814
- *
815
- * Event filter: {@link LuaEntityDiedEventFilter}
787
+ * Event type: {@link OnBuildBaseArrivedEvent}
816
788
  */
817
- const on_entity_died: EventId<OnEntityDiedEvent, LuaEntityDiedEventFilter>
789
+ const on_build_base_arrived: EventId<OnBuildBaseArrivedEvent>
818
790
  /**
819
- * Event type: {@link OnPostEntityDiedEvent}
820
- *
821
- * Event filter: {@link LuaPostEntityDiedEventFilter}
791
+ * Event type: {@link OnBuiltEntityEvent}
822
792
  */
823
- const on_post_entity_died: EventId<OnPostEntityDiedEvent, LuaPostEntityDiedEventFilter>
793
+ const on_built_entity: EventId<OnBuiltEntityEvent>
824
794
  /**
825
- * Event type: {@link OnEntityDamagedEvent}
826
- *
827
- * Event filter: {@link LuaEntityDamagedEventFilter}
795
+ * Event type: {@link OnCancelledDeconstructionEvent}
828
796
  */
829
- const on_entity_damaged: EventId<OnEntityDamagedEvent, LuaEntityDamagedEventFilter>
797
+ const on_cancelled_deconstruction: EventId<OnCancelledDeconstructionEvent>
830
798
  /**
831
- * Event type: {@link OnPickedUpItemEvent}
799
+ * Event type: {@link OnCancelledUpgradeEvent}
832
800
  */
833
- const on_picked_up_item: EventId<OnPickedUpItemEvent>
801
+ const on_cancelled_upgrade: EventId<OnCancelledUpgradeEvent>
834
802
  /**
835
- * Event type: {@link OnBuiltEntityEvent}
836
- *
837
- * Event filter: {@link LuaPlayerBuiltEntityEventFilter}
803
+ * Event type: {@link OnCharacterCorpseExpiredEvent}
838
804
  */
839
- const on_built_entity: EventId<OnBuiltEntityEvent, LuaPlayerBuiltEntityEventFilter>
805
+ const on_character_corpse_expired: EventId<OnCharacterCorpseExpiredEvent>
840
806
  /**
841
- * Event type: {@link OnSectorScannedEvent}
842
- *
843
- * Event filter: {@link LuaSectorScannedEventFilter}
807
+ * Event type: {@link OnChartTagAddedEvent}
844
808
  */
845
- const on_sector_scanned: EventId<OnSectorScannedEvent, LuaSectorScannedEventFilter>
809
+ const on_chart_tag_added: EventId<OnChartTagAddedEvent>
846
810
  /**
847
- * Event type: {@link OnPlayerMinedItemEvent}
811
+ * Event type: {@link OnChartTagModifiedEvent}
848
812
  */
849
- const on_player_mined_item: EventId<OnPlayerMinedItemEvent>
813
+ const on_chart_tag_modified: EventId<OnChartTagModifiedEvent>
850
814
  /**
851
- * Event type: {@link OnPreBuildEvent}
815
+ * Event type: {@link OnChartTagRemovedEvent}
852
816
  */
853
- const on_pre_build: EventId<OnPreBuildEvent>
817
+ const on_chart_tag_removed: EventId<OnChartTagRemovedEvent>
854
818
  /**
855
- * Event type: {@link OnRocketLaunchedEvent}
819
+ * Event type: {@link OnChunkChartedEvent}
856
820
  */
857
- const on_rocket_launched: EventId<OnRocketLaunchedEvent>
821
+ const on_chunk_charted: EventId<OnChunkChartedEvent>
858
822
  /**
859
- * Event type: {@link OnPrePlayerMinedItemEvent}
860
- *
861
- * Event filter: {@link LuaPrePlayerMinedEntityEventFilter}
823
+ * Event type: {@link OnChunkDeletedEvent}
862
824
  */
863
- const on_pre_player_mined_item: EventId<OnPrePlayerMinedItemEvent, LuaPrePlayerMinedEntityEventFilter>
825
+ const on_chunk_deleted: EventId<OnChunkDeletedEvent>
864
826
  /**
865
827
  * Event type: {@link OnChunkGeneratedEvent}
866
828
  */
867
829
  const on_chunk_generated: EventId<OnChunkGeneratedEvent>
868
830
  /**
869
- * Event type: {@link OnPlayerCraftedItemEvent}
831
+ * Event type: {@link OnCombatRobotExpiredEvent}
870
832
  */
871
- const on_player_crafted_item: EventId<OnPlayerCraftedItemEvent>
833
+ const on_combat_robot_expired: EventId<OnCombatRobotExpiredEvent>
872
834
  /**
873
- * Event type: {@link OnRobotBuiltEntityEvent}
874
- *
875
- * Event filter: {@link LuaRobotBuiltEntityEventFilter}
835
+ * Event type: {@link OnConsoleChatEvent}
876
836
  */
877
- const on_robot_built_entity: EventId<OnRobotBuiltEntityEvent, LuaRobotBuiltEntityEventFilter>
837
+ const on_console_chat: EventId<OnConsoleChatEvent>
878
838
  /**
879
- * Event type: {@link OnRobotPreMinedEvent}
880
- *
881
- * Event filter: {@link LuaPreRobotMinedEntityEventFilter}
839
+ * Event type: {@link OnConsoleCommandEvent}
882
840
  */
883
- const on_robot_pre_mined: EventId<OnRobotPreMinedEvent, LuaPreRobotMinedEntityEventFilter>
841
+ const on_console_command: EventId<OnConsoleCommandEvent>
884
842
  /**
885
- * Event type: {@link OnRobotMinedEvent}
843
+ * Event type: {@link OnCutsceneCancelledEvent}
886
844
  */
887
- const on_robot_mined: EventId<OnRobotMinedEvent>
845
+ const on_cutscene_cancelled: EventId<OnCutsceneCancelledEvent>
888
846
  /**
889
- * Event type: {@link OnResearchStartedEvent}
847
+ * Event type: {@link OnCutsceneFinishedEvent}
890
848
  */
891
- const on_research_started: EventId<OnResearchStartedEvent>
849
+ const on_cutscene_finished: EventId<OnCutsceneFinishedEvent>
892
850
  /**
893
- * Event type: {@link OnResearchFinishedEvent}
851
+ * Event type: {@link OnCutsceneStartedEvent}
894
852
  */
895
- const on_research_finished: EventId<OnResearchFinishedEvent>
853
+ const on_cutscene_started: EventId<OnCutsceneStartedEvent>
896
854
  /**
897
- * Event type: {@link OnResearchReversedEvent}
855
+ * Event type: {@link OnCutsceneWaypointReachedEvent}
898
856
  */
899
- const on_research_reversed: EventId<OnResearchReversedEvent>
857
+ const on_cutscene_waypoint_reached: EventId<OnCutsceneWaypointReachedEvent>
900
858
  /**
901
- * Event type: {@link OnResearchCancelledEvent}
859
+ * Event type: {@link OnDifficultySettingsChangedEvent}
902
860
  */
903
- const on_research_cancelled: EventId<OnResearchCancelledEvent>
861
+ const on_difficulty_settings_changed: EventId<OnDifficultySettingsChangedEvent>
904
862
  /**
905
- * Event type: {@link OnPlayerRotatedEntityEvent}
863
+ * Event type: {@link OnEntityClonedEvent}
906
864
  */
907
- const on_player_rotated_entity: EventId<OnPlayerRotatedEntityEvent>
865
+ const on_entity_cloned: EventId<OnEntityClonedEvent>
908
866
  /**
909
- * Event type: {@link OnMarkedForDeconstructionEvent}
910
- *
911
- * Event filter: {@link LuaEntityMarkedForDeconstructionEventFilter}
867
+ * Event type: {@link OnEntityColorChangedEvent}
912
868
  */
913
- const on_marked_for_deconstruction: EventId<
914
- OnMarkedForDeconstructionEvent,
915
- LuaEntityMarkedForDeconstructionEventFilter
916
- >
869
+ const on_entity_color_changed: EventId<OnEntityColorChangedEvent>
917
870
  /**
918
- * Event type: {@link OnCancelledDeconstructionEvent}
919
- *
920
- * Event filter: {@link LuaEntityDeconstructionCancelledEventFilter}
871
+ * Event type: {@link OnEntityDamagedEvent}
921
872
  */
922
- const on_cancelled_deconstruction: EventId<
923
- OnCancelledDeconstructionEvent,
924
- LuaEntityDeconstructionCancelledEventFilter
925
- >
873
+ const on_entity_damaged: EventId<OnEntityDamagedEvent>
926
874
  /**
927
- * Event type: {@link OnTriggerCreatedEntityEvent}
875
+ * Event type: {@link OnEntityDestroyedEvent}
928
876
  */
929
- const on_trigger_created_entity: EventId<OnTriggerCreatedEntityEvent>
877
+ const on_entity_destroyed: EventId<OnEntityDestroyedEvent>
930
878
  /**
931
- * Event type: {@link OnTriggerFiredArtilleryEvent}
879
+ * Event type: {@link OnEntityDiedEvent}
932
880
  */
933
- const on_trigger_fired_artillery: EventId<OnTriggerFiredArtilleryEvent>
881
+ const on_entity_died: EventId<OnEntityDiedEvent>
934
882
  /**
935
- * Event type: {@link OnTrainChangedStateEvent}
883
+ * Event type: {@link OnEntityLogisticSlotChangedEvent}
936
884
  */
937
- const on_train_changed_state: EventId<OnTrainChangedStateEvent>
885
+ const on_entity_logistic_slot_changed: EventId<OnEntityLogisticSlotChangedEvent>
938
886
  /**
939
- * Event type: {@link OnPlayerCreatedEvent}
887
+ * Event type: {@link OnEntityRenamedEvent}
940
888
  */
941
- const on_player_created: EventId<OnPlayerCreatedEvent>
889
+ const on_entity_renamed: EventId<OnEntityRenamedEvent>
942
890
  /**
943
- * Event type: {@link OnResourceDepletedEvent}
891
+ * Event type: {@link OnEntitySettingsPastedEvent}
944
892
  */
945
- const on_resource_depleted: EventId<OnResourceDepletedEvent>
893
+ const on_entity_settings_pasted: EventId<OnEntitySettingsPastedEvent>
946
894
  /**
947
- * Event type: {@link OnPlayerDrivingChangedStateEvent}
895
+ * Event type: {@link OnEntitySpawnedEvent}
948
896
  */
949
- const on_player_driving_changed_state: EventId<OnPlayerDrivingChangedStateEvent>
897
+ const on_entity_spawned: EventId<OnEntitySpawnedEvent>
898
+ /**
899
+ * Event type: {@link OnEquipmentInsertedEvent}
900
+ */
901
+ const on_equipment_inserted: EventId<OnEquipmentInsertedEvent>
902
+ /**
903
+ * Event type: {@link OnEquipmentRemovedEvent}
904
+ */
905
+ const on_equipment_removed: EventId<OnEquipmentRemovedEvent>
906
+ /**
907
+ * Event type: {@link OnForceCeaseFireChangedEvent}
908
+ */
909
+ const on_force_cease_fire_changed: EventId<OnForceCeaseFireChangedEvent>
950
910
  /**
951
911
  * Event type: {@link OnForceCreatedEvent}
952
912
  */
953
913
  const on_force_created: EventId<OnForceCreatedEvent>
954
914
  /**
955
- * Event type: {@link OnForcesMergingEvent}
915
+ * Event type: {@link OnForceFriendsChangedEvent}
956
916
  */
957
- const on_forces_merging: EventId<OnForcesMergingEvent>
917
+ const on_force_friends_changed: EventId<OnForceFriendsChangedEvent>
958
918
  /**
959
- * Event type: {@link OnPlayerCursorStackChangedEvent}
919
+ * Event type: {@link OnForceResetEvent}
960
920
  */
961
- const on_player_cursor_stack_changed: EventId<OnPlayerCursorStackChangedEvent>
921
+ const on_force_reset: EventId<OnForceResetEvent>
962
922
  /**
963
- * Event type: {@link OnPreEntitySettingsPastedEvent}
923
+ * Event type: {@link OnForcesMergedEvent}
964
924
  */
965
- const on_pre_entity_settings_pasted: EventId<OnPreEntitySettingsPastedEvent>
925
+ const on_forces_merged: EventId<OnForcesMergedEvent>
966
926
  /**
967
- * Event type: {@link OnEntitySettingsPastedEvent}
927
+ * Event type: {@link OnForcesMergingEvent}
968
928
  */
969
- const on_entity_settings_pasted: EventId<OnEntitySettingsPastedEvent>
929
+ const on_forces_merging: EventId<OnForcesMergingEvent>
970
930
  /**
971
- * Event type: {@link OnPlayerMainInventoryChangedEvent}
931
+ * Event type: {@link OnGameCreatedFromScenarioEvent}
972
932
  */
973
- const on_player_main_inventory_changed: EventId<OnPlayerMainInventoryChangedEvent>
933
+ const on_game_created_from_scenario: EventId<OnGameCreatedFromScenarioEvent>
974
934
  /**
975
- * Event type: {@link OnPlayerArmorInventoryChangedEvent}
935
+ * Event type: {@link OnGuiCheckedStateChangedEvent}
976
936
  */
977
- const on_player_armor_inventory_changed: EventId<OnPlayerArmorInventoryChangedEvent>
937
+ const on_gui_checked_state_changed: EventId<OnGuiCheckedStateChangedEvent>
978
938
  /**
979
- * Event type: {@link OnPlayerAmmoInventoryChangedEvent}
939
+ * Event type: {@link OnGuiClickEvent}
980
940
  */
981
- const on_player_ammo_inventory_changed: EventId<OnPlayerAmmoInventoryChangedEvent>
941
+ const on_gui_click: EventId<OnGuiClickEvent>
982
942
  /**
983
- * Event type: {@link OnPlayerGunInventoryChangedEvent}
943
+ * Event type: {@link OnGuiClosedEvent}
984
944
  */
985
- const on_player_gun_inventory_changed: EventId<OnPlayerGunInventoryChangedEvent>
945
+ const on_gui_closed: EventId<OnGuiClosedEvent>
986
946
  /**
987
- * Event type: {@link OnPlayerPlacedEquipmentEvent}
947
+ * Event type: {@link OnGuiConfirmedEvent}
988
948
  */
989
- const on_player_placed_equipment: EventId<OnPlayerPlacedEquipmentEvent>
949
+ const on_gui_confirmed: EventId<OnGuiConfirmedEvent>
990
950
  /**
991
- * Event type: {@link OnPlayerRemovedEquipmentEvent}
951
+ * Event type: {@link OnGuiElemChangedEvent}
992
952
  */
993
- const on_player_removed_equipment: EventId<OnPlayerRemovedEquipmentEvent>
953
+ const on_gui_elem_changed: EventId<OnGuiElemChangedEvent>
994
954
  /**
995
- * Event type: {@link OnPrePlayerDiedEvent}
955
+ * Event type: {@link OnGuiHoverEvent}
996
956
  */
997
- const on_pre_player_died: EventId<OnPrePlayerDiedEvent>
957
+ const on_gui_hover: EventId<OnGuiHoverEvent>
998
958
  /**
999
- * Event type: {@link OnPlayerDiedEvent}
959
+ * Event type: {@link OnGuiLeaveEvent}
1000
960
  */
1001
- const on_player_died: EventId<OnPlayerDiedEvent>
961
+ const on_gui_leave: EventId<OnGuiLeaveEvent>
1002
962
  /**
1003
- * Event type: {@link OnPlayerRespawnedEvent}
963
+ * Event type: {@link OnGuiLocationChangedEvent}
1004
964
  */
1005
- const on_player_respawned: EventId<OnPlayerRespawnedEvent>
965
+ const on_gui_location_changed: EventId<OnGuiLocationChangedEvent>
1006
966
  /**
1007
- * Event type: {@link OnPlayerJoinedGameEvent}
967
+ * Event type: {@link OnGuiOpenedEvent}
1008
968
  */
1009
- const on_player_joined_game: EventId<OnPlayerJoinedGameEvent>
969
+ const on_gui_opened: EventId<OnGuiOpenedEvent>
1010
970
  /**
1011
- * Event type: {@link OnPlayerLeftGameEvent}
971
+ * Event type: {@link OnGuiSelectedTabChangedEvent}
1012
972
  */
1013
- const on_player_left_game: EventId<OnPlayerLeftGameEvent>
973
+ const on_gui_selected_tab_changed: EventId<OnGuiSelectedTabChangedEvent>
1014
974
  /**
1015
- * Event type: {@link OnPlayerBuiltTileEvent}
975
+ * Event type: {@link OnGuiSelectionStateChangedEvent}
1016
976
  */
1017
- const on_player_built_tile: EventId<OnPlayerBuiltTileEvent>
977
+ const on_gui_selection_state_changed: EventId<OnGuiSelectionStateChangedEvent>
1018
978
  /**
1019
- * Event type: {@link OnPlayerMinedTileEvent}
979
+ * Event type: {@link OnGuiSwitchStateChangedEvent}
1020
980
  */
1021
- const on_player_mined_tile: EventId<OnPlayerMinedTileEvent>
981
+ const on_gui_switch_state_changed: EventId<OnGuiSwitchStateChangedEvent>
1022
982
  /**
1023
- * Event type: {@link OnRobotBuiltTileEvent}
983
+ * Event type: {@link OnGuiTextChangedEvent}
1024
984
  */
1025
- const on_robot_built_tile: EventId<OnRobotBuiltTileEvent>
985
+ const on_gui_text_changed: EventId<OnGuiTextChangedEvent>
1026
986
  /**
1027
- * Event type: {@link OnRobotMinedTileEvent}
987
+ * Event type: {@link OnGuiValueChangedEvent}
1028
988
  */
1029
- const on_robot_mined_tile: EventId<OnRobotMinedTileEvent>
989
+ const on_gui_value_changed: EventId<OnGuiValueChangedEvent>
1030
990
  /**
1031
- * Event type: {@link OnPlayerSelectedAreaEvent}
991
+ * Event type: {@link OnLandMineArmedEvent}
1032
992
  */
1033
- const on_player_selected_area: EventId<OnPlayerSelectedAreaEvent>
993
+ const on_land_mine_armed: EventId<OnLandMineArmedEvent>
1034
994
  /**
1035
- * Event type: {@link OnPlayerAltSelectedAreaEvent}
995
+ * Event type: {@link OnLuaShortcutEvent}
1036
996
  */
1037
- const on_player_alt_selected_area: EventId<OnPlayerAltSelectedAreaEvent>
997
+ const on_lua_shortcut: EventId<OnLuaShortcutEvent>
1038
998
  /**
1039
- * Event type: {@link OnPlayerChangedSurfaceEvent}
999
+ * Event type: {@link OnMarkedForDeconstructionEvent}
1040
1000
  */
1041
- const on_player_changed_surface: EventId<OnPlayerChangedSurfaceEvent>
1001
+ const on_marked_for_deconstruction: EventId<OnMarkedForDeconstructionEvent>
1042
1002
  /**
1043
- * Event type: {@link OnSelectedEntityChangedEvent}
1003
+ * Event type: {@link OnMarkedForUpgradeEvent}
1044
1004
  */
1045
- const on_selected_entity_changed: EventId<OnSelectedEntityChangedEvent>
1005
+ const on_marked_for_upgrade: EventId<OnMarkedForUpgradeEvent>
1046
1006
  /**
1047
1007
  * Event type: {@link OnMarketItemPurchasedEvent}
1048
1008
  */
1049
1009
  const on_market_item_purchased: EventId<OnMarketItemPurchasedEvent>
1050
1010
  /**
1051
- * Event type: {@link OnPlayerDroppedItemEvent}
1011
+ * Event type: {@link OnModItemOpenedEvent}
1052
1012
  */
1053
- const on_player_dropped_item: EventId<OnPlayerDroppedItemEvent>
1013
+ const on_mod_item_opened: EventId<OnModItemOpenedEvent>
1054
1014
  /**
1055
- * Event type: {@link OnBiterBaseBuiltEvent}
1015
+ * Event type: {@link OnPermissionGroupAddedEvent}
1056
1016
  */
1057
- const on_biter_base_built: EventId<OnBiterBaseBuiltEvent>
1017
+ const on_permission_group_added: EventId<OnPermissionGroupAddedEvent>
1058
1018
  /**
1059
- * Event type: {@link OnPlayerChangedForceEvent}
1019
+ * Event type: {@link OnPermissionGroupDeletedEvent}
1060
1020
  */
1061
- const on_player_changed_force: EventId<OnPlayerChangedForceEvent>
1021
+ const on_permission_group_deleted: EventId<OnPermissionGroupDeletedEvent>
1062
1022
  /**
1063
- * Event type: {@link OnEntityRenamedEvent}
1023
+ * Event type: {@link OnPermissionGroupEditedEvent}
1064
1024
  */
1065
- const on_entity_renamed: EventId<OnEntityRenamedEvent>
1025
+ const on_permission_group_edited: EventId<OnPermissionGroupEditedEvent>
1066
1026
  /**
1067
- * Event type: {@link OnGuiSelectionStateChangedEvent}
1027
+ * Event type: {@link OnPermissionStringImportedEvent}
1068
1028
  */
1069
- const on_gui_selection_state_changed: EventId<OnGuiSelectionStateChangedEvent>
1029
+ const on_permission_string_imported: EventId<OnPermissionStringImportedEvent>
1070
1030
  /**
1071
- * Event type: {@link OnRuntimeModSettingChangedEvent}
1031
+ * Event type: {@link OnPickedUpItemEvent}
1072
1032
  */
1073
- const on_runtime_mod_setting_changed: EventId<OnRuntimeModSettingChangedEvent>
1033
+ const on_picked_up_item: EventId<OnPickedUpItemEvent>
1074
1034
  /**
1075
- * Event type: {@link OnDifficultySettingsChangedEvent}
1035
+ * Event type: {@link OnPlayerAltReverseSelectedAreaEvent}
1076
1036
  */
1077
- const on_difficulty_settings_changed: EventId<OnDifficultySettingsChangedEvent>
1037
+ const on_player_alt_reverse_selected_area: EventId<OnPlayerAltReverseSelectedAreaEvent>
1078
1038
  /**
1079
- * Event type: {@link OnSurfaceCreatedEvent}
1039
+ * Event type: {@link OnPlayerAltSelectedAreaEvent}
1080
1040
  */
1081
- const on_surface_created: EventId<OnSurfaceCreatedEvent>
1041
+ const on_player_alt_selected_area: EventId<OnPlayerAltSelectedAreaEvent>
1082
1042
  /**
1083
- * Event type: {@link OnSurfaceDeletedEvent}
1043
+ * Event type: {@link OnPlayerAmmoInventoryChangedEvent}
1084
1044
  */
1085
- const on_surface_deleted: EventId<OnSurfaceDeletedEvent>
1045
+ const on_player_ammo_inventory_changed: EventId<OnPlayerAmmoInventoryChangedEvent>
1086
1046
  /**
1087
- * Event type: {@link OnPreSurfaceDeletedEvent}
1047
+ * Event type: {@link OnPlayerArmorInventoryChangedEvent}
1088
1048
  */
1089
- const on_pre_surface_deleted: EventId<OnPreSurfaceDeletedEvent>
1049
+ const on_player_armor_inventory_changed: EventId<OnPlayerArmorInventoryChangedEvent>
1090
1050
  /**
1091
- * Event type: {@link OnPlayerMinedEntityEvent}
1092
- *
1093
- * Event filter: {@link LuaPlayerMinedEntityEventFilter}
1051
+ * Event type: {@link OnPlayerBannedEvent}
1094
1052
  */
1095
- const on_player_mined_entity: EventId<OnPlayerMinedEntityEvent, LuaPlayerMinedEntityEventFilter>
1053
+ const on_player_banned: EventId<OnPlayerBannedEvent>
1096
1054
  /**
1097
- * Event type: {@link OnRobotMinedEntityEvent}
1098
- *
1099
- * Event filter: {@link LuaRobotMinedEntityEventFilter}
1055
+ * Event type: {@link OnPlayerBuiltTileEvent}
1100
1056
  */
1101
- const on_robot_mined_entity: EventId<OnRobotMinedEntityEvent, LuaRobotMinedEntityEventFilter>
1057
+ const on_player_built_tile: EventId<OnPlayerBuiltTileEvent>
1102
1058
  /**
1103
- * Event type: {@link OnTrainCreatedEvent}
1059
+ * Event type: {@link OnPlayerCancelledCraftingEvent}
1104
1060
  */
1105
- const on_train_created: EventId<OnTrainCreatedEvent>
1061
+ const on_player_cancelled_crafting: EventId<OnPlayerCancelledCraftingEvent>
1106
1062
  /**
1107
- * Event type: {@link OnGuiElemChangedEvent}
1063
+ * Event type: {@link OnPlayerChangedForceEvent}
1108
1064
  */
1109
- const on_gui_elem_changed: EventId<OnGuiElemChangedEvent>
1065
+ const on_player_changed_force: EventId<OnPlayerChangedForceEvent>
1110
1066
  /**
1111
- * Event type: {@link OnPlayerSetupBlueprintEvent}
1067
+ * Event type: {@link OnPlayerChangedPositionEvent}
1112
1068
  */
1113
- const on_player_setup_blueprint: EventId<OnPlayerSetupBlueprintEvent>
1069
+ const on_player_changed_position: EventId<OnPlayerChangedPositionEvent>
1114
1070
  /**
1115
- * Event type: {@link OnPlayerDeconstructedAreaEvent}
1071
+ * Event type: {@link OnPlayerChangedSurfaceEvent}
1116
1072
  */
1117
- const on_player_deconstructed_area: EventId<OnPlayerDeconstructedAreaEvent>
1073
+ const on_player_changed_surface: EventId<OnPlayerChangedSurfaceEvent>
1118
1074
  /**
1119
- * Event type: {@link OnPlayerConfiguredBlueprintEvent}
1075
+ * Event type: {@link OnPlayerCheatModeDisabledEvent}
1120
1076
  */
1121
- const on_player_configured_blueprint: EventId<OnPlayerConfiguredBlueprintEvent>
1077
+ const on_player_cheat_mode_disabled: EventId<OnPlayerCheatModeDisabledEvent>
1122
1078
  /**
1123
- * Event type: {@link OnConsoleChatEvent}
1079
+ * Event type: {@link OnPlayerCheatModeEnabledEvent}
1124
1080
  */
1125
- const on_console_chat: EventId<OnConsoleChatEvent>
1081
+ const on_player_cheat_mode_enabled: EventId<OnPlayerCheatModeEnabledEvent>
1126
1082
  /**
1127
- * Event type: {@link OnConsoleCommandEvent}
1083
+ * Event type: {@link OnPlayerClickedGpsTagEvent}
1128
1084
  */
1129
- const on_console_command: EventId<OnConsoleCommandEvent>
1085
+ const on_player_clicked_gps_tag: EventId<OnPlayerClickedGpsTagEvent>
1130
1086
  /**
1131
- * Event type: {@link OnPlayerRemovedEvent}
1087
+ * Event type: {@link OnPlayerConfiguredBlueprintEvent}
1132
1088
  */
1133
- const on_player_removed: EventId<OnPlayerRemovedEvent>
1089
+ const on_player_configured_blueprint: EventId<OnPlayerConfiguredBlueprintEvent>
1134
1090
  /**
1135
- * Event type: {@link OnPrePlayerRemovedEvent}
1091
+ * Event type: {@link OnPlayerConfiguredSpiderRemoteEvent}
1136
1092
  */
1137
- const on_pre_player_removed: EventId<OnPrePlayerRemovedEvent>
1093
+ const on_player_configured_spider_remote: EventId<OnPlayerConfiguredSpiderRemoteEvent>
1138
1094
  /**
1139
- * Event type: {@link OnPlayerUsedCapsuleEvent}
1095
+ * Event type: {@link OnPlayerCraftedItemEvent}
1140
1096
  */
1141
- const on_player_used_capsule: EventId<OnPlayerUsedCapsuleEvent>
1097
+ const on_player_crafted_item: EventId<OnPlayerCraftedItemEvent>
1142
1098
  /**
1143
- * Event type: {@link ScriptRaisedBuiltEvent}
1144
- *
1145
- * Event filter: {@link LuaScriptRaisedBuiltEventFilter}
1099
+ * Event type: {@link OnPlayerCreatedEvent}
1146
1100
  */
1147
- const script_raised_built: EventId<ScriptRaisedBuiltEvent, LuaScriptRaisedBuiltEventFilter>
1101
+ const on_player_created: EventId<OnPlayerCreatedEvent>
1148
1102
  /**
1149
- * Event type: {@link ScriptRaisedDestroyEvent}
1150
- *
1151
- * Event filter: {@link LuaScriptRaisedDestroyEventFilter}
1103
+ * Event type: {@link OnPlayerCursorStackChangedEvent}
1152
1104
  */
1153
- const script_raised_destroy: EventId<ScriptRaisedDestroyEvent, LuaScriptRaisedDestroyEventFilter>
1105
+ const on_player_cursor_stack_changed: EventId<OnPlayerCursorStackChangedEvent>
1154
1106
  /**
1155
- * Event type: {@link ScriptRaisedReviveEvent}
1156
- *
1157
- * Event filter: {@link LuaScriptRaisedReviveEventFilter}
1107
+ * Event type: {@link OnPlayerDeconstructedAreaEvent}
1158
1108
  */
1159
- const script_raised_revive: EventId<ScriptRaisedReviveEvent, LuaScriptRaisedReviveEventFilter>
1109
+ const on_player_deconstructed_area: EventId<OnPlayerDeconstructedAreaEvent>
1160
1110
  /**
1161
- * Event type: {@link ScriptRaisedTeleportedEvent}
1162
- *
1163
- * Event filter: {@link LuaScriptRaisedTeleportedEventFilter}
1111
+ * Event type: {@link OnPlayerDemotedEvent}
1164
1112
  */
1165
- const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent, LuaScriptRaisedTeleportedEventFilter>
1113
+ const on_player_demoted: EventId<OnPlayerDemotedEvent>
1166
1114
  /**
1167
- * Event type: {@link ScriptRaisedSetTilesEvent}
1115
+ * Event type: {@link OnPlayerDiedEvent}
1168
1116
  */
1169
- const script_raised_set_tiles: EventId<ScriptRaisedSetTilesEvent>
1117
+ const on_player_died: EventId<OnPlayerDiedEvent>
1170
1118
  /**
1171
- * Event type: {@link OnPlayerPromotedEvent}
1119
+ * Event type: {@link OnPlayerDisplayResolutionChangedEvent}
1172
1120
  */
1173
- const on_player_promoted: EventId<OnPlayerPromotedEvent>
1121
+ const on_player_display_resolution_changed: EventId<OnPlayerDisplayResolutionChangedEvent>
1174
1122
  /**
1175
- * Event type: {@link OnPlayerDemotedEvent}
1123
+ * Event type: {@link OnPlayerDisplayScaleChangedEvent}
1176
1124
  */
1177
- const on_player_demoted: EventId<OnPlayerDemotedEvent>
1125
+ const on_player_display_scale_changed: EventId<OnPlayerDisplayScaleChangedEvent>
1178
1126
  /**
1179
- * Event type: {@link OnCombatRobotExpiredEvent}
1127
+ * Event type: {@link OnPlayerDrivingChangedStateEvent}
1180
1128
  */
1181
- const on_combat_robot_expired: EventId<OnCombatRobotExpiredEvent>
1129
+ const on_player_driving_changed_state: EventId<OnPlayerDrivingChangedStateEvent>
1182
1130
  /**
1183
- * Event type: {@link OnWorkerRobotExpiredEvent}
1131
+ * Event type: {@link OnPlayerDroppedItemEvent}
1184
1132
  */
1185
- const on_worker_robot_expired: EventId<OnWorkerRobotExpiredEvent>
1133
+ const on_player_dropped_item: EventId<OnPlayerDroppedItemEvent>
1186
1134
  /**
1187
- * Event type: {@link OnPlayerChangedPositionEvent}
1135
+ * Event type: {@link OnPlayerFastTransferredEvent}
1188
1136
  */
1189
- const on_player_changed_position: EventId<OnPlayerChangedPositionEvent>
1137
+ const on_player_fast_transferred: EventId<OnPlayerFastTransferredEvent>
1190
1138
  /**
1191
- * Event type: {@link OnModItemOpenedEvent}
1139
+ * Event type: {@link OnPlayerFlushedFluidEvent}
1192
1140
  */
1193
- const on_mod_item_opened: EventId<OnModItemOpenedEvent>
1141
+ const on_player_flushed_fluid: EventId<OnPlayerFlushedFluidEvent>
1194
1142
  /**
1195
- * Event type: {@link OnGuiOpenedEvent}
1143
+ * Event type: {@link OnPlayerGunInventoryChangedEvent}
1196
1144
  */
1197
- const on_gui_opened: EventId<OnGuiOpenedEvent>
1145
+ const on_player_gun_inventory_changed: EventId<OnPlayerGunInventoryChangedEvent>
1198
1146
  /**
1199
- * Event type: {@link OnGuiClosedEvent}
1147
+ * Event type: {@link OnPlayerInputMethodChangedEvent}
1200
1148
  */
1201
- const on_gui_closed: EventId<OnGuiClosedEvent>
1149
+ const on_player_input_method_changed: EventId<OnPlayerInputMethodChangedEvent>
1202
1150
  /**
1203
- * Event type: {@link OnGuiValueChangedEvent}
1151
+ * Event type: {@link OnPlayerJoinedGameEvent}
1204
1152
  */
1205
- const on_gui_value_changed: EventId<OnGuiValueChangedEvent>
1153
+ const on_player_joined_game: EventId<OnPlayerJoinedGameEvent>
1206
1154
  /**
1207
- * Event type: {@link OnPlayerMutedEvent}
1155
+ * Event type: {@link OnPlayerKickedEvent}
1208
1156
  */
1209
- const on_player_muted: EventId<OnPlayerMutedEvent>
1157
+ const on_player_kicked: EventId<OnPlayerKickedEvent>
1210
1158
  /**
1211
- * Event type: {@link OnPlayerUnmutedEvent}
1159
+ * Event type: {@link OnPlayerLeftGameEvent}
1212
1160
  */
1213
- const on_player_unmuted: EventId<OnPlayerUnmutedEvent>
1161
+ const on_player_left_game: EventId<OnPlayerLeftGameEvent>
1214
1162
  /**
1215
- * Event type: {@link OnPlayerCheatModeEnabledEvent}
1163
+ * Event type: {@link OnPlayerMainInventoryChangedEvent}
1216
1164
  */
1217
- const on_player_cheat_mode_enabled: EventId<OnPlayerCheatModeEnabledEvent>
1165
+ const on_player_main_inventory_changed: EventId<OnPlayerMainInventoryChangedEvent>
1218
1166
  /**
1219
- * Event type: {@link OnPlayerCheatModeDisabledEvent}
1167
+ * Event type: {@link OnPlayerMinedEntityEvent}
1220
1168
  */
1221
- const on_player_cheat_mode_disabled: EventId<OnPlayerCheatModeDisabledEvent>
1169
+ const on_player_mined_entity: EventId<OnPlayerMinedEntityEvent>
1222
1170
  /**
1223
- * Event type: {@link OnCharacterCorpseExpiredEvent}
1171
+ * Event type: {@link OnPlayerMinedItemEvent}
1224
1172
  */
1225
- const on_character_corpse_expired: EventId<OnCharacterCorpseExpiredEvent>
1173
+ const on_player_mined_item: EventId<OnPlayerMinedItemEvent>
1226
1174
  /**
1227
- * Event type: {@link OnPreGhostDeconstructedEvent}
1228
- *
1229
- * Event filter: {@link LuaPreGhostDeconstructedEventFilter}
1175
+ * Event type: {@link OnPlayerMinedTileEvent}
1230
1176
  */
1231
- const on_pre_ghost_deconstructed: EventId<OnPreGhostDeconstructedEvent, LuaPreGhostDeconstructedEventFilter>
1177
+ const on_player_mined_tile: EventId<OnPlayerMinedTileEvent>
1232
1178
  /**
1233
- * Event type: {@link OnPreGhostUpgradedEvent}
1234
- *
1235
- * Event filter: {@link LuaPreGhostUpgradedEventFilter}
1179
+ * Event type: {@link OnPlayerMutedEvent}
1236
1180
  */
1237
- const on_pre_ghost_upgraded: EventId<OnPreGhostUpgradedEvent, LuaPreGhostUpgradedEventFilter>
1181
+ const on_player_muted: EventId<OnPlayerMutedEvent>
1238
1182
  /**
1239
1183
  * Event type: {@link OnPlayerPipetteEvent}
1240
1184
  */
1241
1185
  const on_player_pipette: EventId<OnPlayerPipetteEvent>
1242
1186
  /**
1243
- * Event type: {@link OnPlayerDisplayResolutionChangedEvent}
1244
- */
1245
- const on_player_display_resolution_changed: EventId<OnPlayerDisplayResolutionChangedEvent>
1246
- /**
1247
- * Event type: {@link OnPlayerDisplayScaleChangedEvent}
1248
- */
1249
- const on_player_display_scale_changed: EventId<OnPlayerDisplayScaleChangedEvent>
1250
- /**
1251
- * Event type: {@link OnPrePlayerCraftedItemEvent}
1187
+ * Event type: {@link OnPlayerPlacedEquipmentEvent}
1252
1188
  */
1253
- const on_pre_player_crafted_item: EventId<OnPrePlayerCraftedItemEvent>
1189
+ const on_player_placed_equipment: EventId<OnPlayerPlacedEquipmentEvent>
1254
1190
  /**
1255
- * Event type: {@link OnPlayerCancelledCraftingEvent}
1191
+ * Event type: {@link OnPlayerPromotedEvent}
1256
1192
  */
1257
- const on_player_cancelled_crafting: EventId<OnPlayerCancelledCraftingEvent>
1193
+ const on_player_promoted: EventId<OnPlayerPromotedEvent>
1258
1194
  /**
1259
- * Event type: {@link OnChunkChartedEvent}
1195
+ * Event type: {@link OnPlayerRemovedEvent}
1260
1196
  */
1261
- const on_chunk_charted: EventId<OnChunkChartedEvent>
1197
+ const on_player_removed: EventId<OnPlayerRemovedEvent>
1262
1198
  /**
1263
- * Event type: {@link OnTechnologyEffectsResetEvent}
1199
+ * Event type: {@link OnPlayerRemovedEquipmentEvent}
1264
1200
  */
1265
- const on_technology_effects_reset: EventId<OnTechnologyEffectsResetEvent>
1201
+ const on_player_removed_equipment: EventId<OnPlayerRemovedEquipmentEvent>
1266
1202
  /**
1267
- * Event type: {@link OnForceResetEvent}
1203
+ * Event type: {@link OnPlayerRepairedEntityEvent}
1268
1204
  */
1269
- const on_force_reset: EventId<OnForceResetEvent>
1205
+ const on_player_repaired_entity: EventId<OnPlayerRepairedEntityEvent>
1270
1206
  /**
1271
- * Event type: {@link OnLandMineArmedEvent}
1207
+ * Event type: {@link OnPlayerRespawnedEvent}
1272
1208
  */
1273
- const on_land_mine_armed: EventId<OnLandMineArmedEvent>
1209
+ const on_player_respawned: EventId<OnPlayerRespawnedEvent>
1274
1210
  /**
1275
- * Event type: {@link OnForcesMergedEvent}
1211
+ * Event type: {@link OnPlayerReverseSelectedAreaEvent}
1276
1212
  */
1277
- const on_forces_merged: EventId<OnForcesMergedEvent>
1213
+ const on_player_reverse_selected_area: EventId<OnPlayerReverseSelectedAreaEvent>
1278
1214
  /**
1279
- * Event type: {@link OnPlayerTrashInventoryChangedEvent}
1215
+ * Event type: {@link OnPlayerRotatedEntityEvent}
1280
1216
  */
1281
- const on_player_trash_inventory_changed: EventId<OnPlayerTrashInventoryChangedEvent>
1217
+ const on_player_rotated_entity: EventId<OnPlayerRotatedEntityEvent>
1282
1218
  /**
1283
- * Event type: {@link OnPrePlayerLeftGameEvent}
1219
+ * Event type: {@link OnPlayerSelectedAreaEvent}
1284
1220
  */
1285
- const on_pre_player_left_game: EventId<OnPrePlayerLeftGameEvent>
1221
+ const on_player_selected_area: EventId<OnPlayerSelectedAreaEvent>
1286
1222
  /**
1287
- * Event type: {@link OnPreSurfaceClearedEvent}
1223
+ * Event type: {@link OnPlayerSetQuickBarSlotEvent}
1288
1224
  */
1289
- const on_pre_surface_cleared: EventId<OnPreSurfaceClearedEvent>
1225
+ const on_player_set_quick_bar_slot: EventId<OnPlayerSetQuickBarSlotEvent>
1290
1226
  /**
1291
- * Event type: {@link OnSurfaceClearedEvent}
1227
+ * Event type: {@link OnPlayerSetupBlueprintEvent}
1292
1228
  */
1293
- const on_surface_cleared: EventId<OnSurfaceClearedEvent>
1229
+ const on_player_setup_blueprint: EventId<OnPlayerSetupBlueprintEvent>
1294
1230
  /**
1295
- * Event type: {@link OnChunkDeletedEvent}
1231
+ * Event type: {@link OnPlayerToggledAltModeEvent}
1296
1232
  */
1297
- const on_chunk_deleted: EventId<OnChunkDeletedEvent>
1233
+ const on_player_toggled_alt_mode: EventId<OnPlayerToggledAltModeEvent>
1298
1234
  /**
1299
- * Event type: {@link OnPreChunkDeletedEvent}
1235
+ * Event type: {@link OnPlayerToggledMapEditorEvent}
1300
1236
  */
1301
- const on_pre_chunk_deleted: EventId<OnPreChunkDeletedEvent>
1237
+ const on_player_toggled_map_editor: EventId<OnPlayerToggledMapEditorEvent>
1302
1238
  /**
1303
- * Event type: {@link OnTrainScheduleChangedEvent}
1239
+ * Event type: {@link OnPlayerTrashInventoryChangedEvent}
1304
1240
  */
1305
- const on_train_schedule_changed: EventId<OnTrainScheduleChangedEvent>
1241
+ const on_player_trash_inventory_changed: EventId<OnPlayerTrashInventoryChangedEvent>
1306
1242
  /**
1307
- * Event type: {@link OnPlayerBannedEvent}
1243
+ * Event type: {@link OnPlayerUnbannedEvent}
1308
1244
  */
1309
- const on_player_banned: EventId<OnPlayerBannedEvent>
1245
+ const on_player_unbanned: EventId<OnPlayerUnbannedEvent>
1310
1246
  /**
1311
- * Event type: {@link OnPlayerKickedEvent}
1247
+ * Event type: {@link OnPlayerUnmutedEvent}
1312
1248
  */
1313
- const on_player_kicked: EventId<OnPlayerKickedEvent>
1249
+ const on_player_unmuted: EventId<OnPlayerUnmutedEvent>
1314
1250
  /**
1315
- * Event type: {@link OnPlayerUnbannedEvent}
1251
+ * Event type: {@link OnPlayerUsedCapsuleEvent}
1316
1252
  */
1317
- const on_player_unbanned: EventId<OnPlayerUnbannedEvent>
1253
+ const on_player_used_capsule: EventId<OnPlayerUsedCapsuleEvent>
1318
1254
  /**
1319
- * Event type: {@link OnRocketLaunchOrderedEvent}
1255
+ * Event type: {@link OnPlayerUsedSpiderRemoteEvent}
1320
1256
  */
1321
- const on_rocket_launch_ordered: EventId<OnRocketLaunchOrderedEvent>
1257
+ const on_player_used_spider_remote: EventId<OnPlayerUsedSpiderRemoteEvent>
1322
1258
  /**
1323
- * Event type: {@link OnScriptPathRequestFinishedEvent}
1259
+ * Event type: {@link OnPostEntityDiedEvent}
1324
1260
  */
1325
- const on_script_path_request_finished: EventId<OnScriptPathRequestFinishedEvent>
1261
+ const on_post_entity_died: EventId<OnPostEntityDiedEvent>
1326
1262
  /**
1327
- * Event type: {@link OnAiCommandCompletedEvent}
1263
+ * Event type: {@link OnPreBuildEvent}
1328
1264
  */
1329
- const on_ai_command_completed: EventId<OnAiCommandCompletedEvent>
1265
+ const on_pre_build: EventId<OnPreBuildEvent>
1330
1266
  /**
1331
- * Event type: {@link OnMarkedForUpgradeEvent}
1332
- *
1333
- * Event filter: {@link LuaEntityMarkedForUpgradeEventFilter}
1267
+ * Event type: {@link OnPreChunkDeletedEvent}
1334
1268
  */
1335
- const on_marked_for_upgrade: EventId<OnMarkedForUpgradeEvent, LuaEntityMarkedForUpgradeEventFilter>
1269
+ const on_pre_chunk_deleted: EventId<OnPreChunkDeletedEvent>
1336
1270
  /**
1337
- * Event type: {@link OnCancelledUpgradeEvent}
1338
- *
1339
- * Event filter: {@link LuaUpgradeCancelledEventFilter}
1271
+ * Event type: {@link OnPreEntitySettingsPastedEvent}
1340
1272
  */
1341
- const on_cancelled_upgrade: EventId<OnCancelledUpgradeEvent, LuaUpgradeCancelledEventFilter>
1273
+ const on_pre_entity_settings_pasted: EventId<OnPreEntitySettingsPastedEvent>
1342
1274
  /**
1343
- * Event type: {@link OnPlayerToggledMapEditorEvent}
1275
+ * Event type: {@link OnPreGhostDeconstructedEvent}
1344
1276
  */
1345
- const on_player_toggled_map_editor: EventId<OnPlayerToggledMapEditorEvent>
1277
+ const on_pre_ghost_deconstructed: EventId<OnPreGhostDeconstructedEvent>
1346
1278
  /**
1347
- * Event type: {@link OnEntityClonedEvent}
1348
- *
1349
- * Event filter: {@link LuaEntityClonedEventFilter}
1279
+ * Event type: {@link OnPreGhostUpgradedEvent}
1350
1280
  */
1351
- const on_entity_cloned: EventId<OnEntityClonedEvent, LuaEntityClonedEventFilter>
1281
+ const on_pre_ghost_upgraded: EventId<OnPreGhostUpgradedEvent>
1352
1282
  /**
1353
- * Event type: {@link OnAreaClonedEvent}
1283
+ * Event type: {@link OnPrePermissionGroupDeletedEvent}
1354
1284
  */
1355
- const on_area_cloned: EventId<OnAreaClonedEvent>
1285
+ const on_pre_permission_group_deleted: EventId<OnPrePermissionGroupDeletedEvent>
1356
1286
  /**
1357
- * Event type: {@link OnBrushClonedEvent}
1287
+ * Event type: {@link OnPrePermissionStringImportedEvent}
1358
1288
  */
1359
- const on_brush_cloned: EventId<OnBrushClonedEvent>
1289
+ const on_pre_permission_string_imported: EventId<OnPrePermissionStringImportedEvent>
1360
1290
  /**
1361
- * Event type: {@link OnGameCreatedFromScenarioEvent}
1291
+ * Event type: {@link OnPrePlayerCraftedItemEvent}
1362
1292
  */
1363
- const on_game_created_from_scenario: EventId<OnGameCreatedFromScenarioEvent>
1293
+ const on_pre_player_crafted_item: EventId<OnPrePlayerCraftedItemEvent>
1364
1294
  /**
1365
- * Event type: {@link OnSurfaceImportedEvent}
1295
+ * Event type: {@link OnPrePlayerDiedEvent}
1366
1296
  */
1367
- const on_surface_imported: EventId<OnSurfaceImportedEvent>
1297
+ const on_pre_player_died: EventId<OnPrePlayerDiedEvent>
1368
1298
  /**
1369
- * Event type: {@link OnSurfaceRenamedEvent}
1299
+ * Event type: {@link OnPrePlayerLeftGameEvent}
1370
1300
  */
1371
- const on_surface_renamed: EventId<OnSurfaceRenamedEvent>
1301
+ const on_pre_player_left_game: EventId<OnPrePlayerLeftGameEvent>
1372
1302
  /**
1373
- * Event type: {@link OnPlayerToggledAltModeEvent}
1303
+ * Event type: {@link OnPrePlayerMinedItemEvent}
1374
1304
  */
1375
- const on_player_toggled_alt_mode: EventId<OnPlayerToggledAltModeEvent>
1305
+ const on_pre_player_mined_item: EventId<OnPrePlayerMinedItemEvent>
1376
1306
  /**
1377
- * Event type: {@link OnPlayerRepairedEntityEvent}
1378
- *
1379
- * Event filter: {@link LuaPlayerRepairedEntityEventFilter}
1307
+ * Event type: {@link OnPrePlayerRemovedEvent}
1380
1308
  */
1381
- const on_player_repaired_entity: EventId<OnPlayerRepairedEntityEvent, LuaPlayerRepairedEntityEventFilter>
1309
+ const on_pre_player_removed: EventId<OnPrePlayerRemovedEvent>
1382
1310
  /**
1383
- * Event type: {@link OnPlayerFastTransferredEvent}
1311
+ * Event type: {@link OnPrePlayerToggledMapEditorEvent}
1384
1312
  */
1385
- const on_player_fast_transferred: EventId<OnPlayerFastTransferredEvent>
1313
+ const on_pre_player_toggled_map_editor: EventId<OnPrePlayerToggledMapEditorEvent>
1386
1314
  /**
1387
1315
  * Event type: {@link OnPreRobotExplodedCliffEvent}
1388
1316
  */
1389
1317
  const on_pre_robot_exploded_cliff: EventId<OnPreRobotExplodedCliffEvent>
1390
1318
  /**
1391
- * Event type: {@link OnRobotExplodedCliffEvent}
1319
+ * Event type: {@link OnPreScriptInventoryResizedEvent}
1392
1320
  */
1393
- const on_robot_exploded_cliff: EventId<OnRobotExplodedCliffEvent>
1321
+ const on_pre_script_inventory_resized: EventId<OnPreScriptInventoryResizedEvent>
1394
1322
  /**
1395
- * Event type: {@link OnEntitySpawnedEvent}
1323
+ * Event type: {@link OnPreSurfaceClearedEvent}
1396
1324
  */
1397
- const on_entity_spawned: EventId<OnEntitySpawnedEvent>
1325
+ const on_pre_surface_cleared: EventId<OnPreSurfaceClearedEvent>
1398
1326
  /**
1399
- * Event type: {@link OnCutsceneWaypointReachedEvent}
1327
+ * Event type: {@link OnPreSurfaceDeletedEvent}
1400
1328
  */
1401
- const on_cutscene_waypoint_reached: EventId<OnCutsceneWaypointReachedEvent>
1329
+ const on_pre_surface_deleted: EventId<OnPreSurfaceDeletedEvent>
1402
1330
  /**
1403
- * Event type: {@link OnUnitGroupCreatedEvent}
1331
+ * Event type: {@link OnResearchCancelledEvent}
1404
1332
  */
1405
- const on_unit_group_created: EventId<OnUnitGroupCreatedEvent>
1333
+ const on_research_cancelled: EventId<OnResearchCancelledEvent>
1406
1334
  /**
1407
- * Event type: {@link OnUnitAddedToGroupEvent}
1335
+ * Event type: {@link OnResearchFinishedEvent}
1408
1336
  */
1409
- const on_unit_added_to_group: EventId<OnUnitAddedToGroupEvent>
1337
+ const on_research_finished: EventId<OnResearchFinishedEvent>
1410
1338
  /**
1411
- * Event type: {@link OnUnitRemovedFromGroupEvent}
1339
+ * Event type: {@link OnResearchReversedEvent}
1412
1340
  */
1413
- const on_unit_removed_from_group: EventId<OnUnitRemovedFromGroupEvent>
1341
+ const on_research_reversed: EventId<OnResearchReversedEvent>
1414
1342
  /**
1415
- * Event type: {@link OnUnitGroupFinishedGatheringEvent}
1343
+ * Event type: {@link OnResearchStartedEvent}
1416
1344
  */
1417
- const on_unit_group_finished_gathering: EventId<OnUnitGroupFinishedGatheringEvent>
1345
+ const on_research_started: EventId<OnResearchStartedEvent>
1418
1346
  /**
1419
- * Event type: {@link OnBuildBaseArrivedEvent}
1347
+ * Event type: {@link OnResourceDepletedEvent}
1420
1348
  */
1421
- const on_build_base_arrived: EventId<OnBuildBaseArrivedEvent>
1349
+ const on_resource_depleted: EventId<OnResourceDepletedEvent>
1422
1350
  /**
1423
- * Event type: {@link OnChartTagAddedEvent}
1351
+ * Event type: {@link OnRobotBuiltEntityEvent}
1424
1352
  */
1425
- const on_chart_tag_added: EventId<OnChartTagAddedEvent>
1353
+ const on_robot_built_entity: EventId<OnRobotBuiltEntityEvent>
1426
1354
  /**
1427
- * Event type: {@link OnChartTagModifiedEvent}
1355
+ * Event type: {@link OnRobotBuiltTileEvent}
1428
1356
  */
1429
- const on_chart_tag_modified: EventId<OnChartTagModifiedEvent>
1357
+ const on_robot_built_tile: EventId<OnRobotBuiltTileEvent>
1430
1358
  /**
1431
- * Event type: {@link OnChartTagRemovedEvent}
1359
+ * Event type: {@link OnRobotExplodedCliffEvent}
1432
1360
  */
1433
- const on_chart_tag_removed: EventId<OnChartTagRemovedEvent>
1361
+ const on_robot_exploded_cliff: EventId<OnRobotExplodedCliffEvent>
1434
1362
  /**
1435
- * Event type: {@link OnLuaShortcutEvent}
1363
+ * Event type: {@link OnRobotMinedEvent}
1436
1364
  */
1437
- const on_lua_shortcut: EventId<OnLuaShortcutEvent>
1365
+ const on_robot_mined: EventId<OnRobotMinedEvent>
1438
1366
  /**
1439
- * Event type: {@link OnGuiLocationChangedEvent}
1367
+ * Event type: {@link OnRobotMinedEntityEvent}
1440
1368
  */
1441
- const on_gui_location_changed: EventId<OnGuiLocationChangedEvent>
1369
+ const on_robot_mined_entity: EventId<OnRobotMinedEntityEvent>
1442
1370
  /**
1443
- * Event type: {@link OnGuiSelectedTabChangedEvent}
1371
+ * Event type: {@link OnRobotMinedTileEvent}
1444
1372
  */
1445
- const on_gui_selected_tab_changed: EventId<OnGuiSelectedTabChangedEvent>
1373
+ const on_robot_mined_tile: EventId<OnRobotMinedTileEvent>
1446
1374
  /**
1447
- * Event type: {@link OnGuiSwitchStateChangedEvent}
1375
+ * Event type: {@link OnRobotPreMinedEvent}
1448
1376
  */
1449
- const on_gui_switch_state_changed: EventId<OnGuiSwitchStateChangedEvent>
1377
+ const on_robot_pre_mined: EventId<OnRobotPreMinedEvent>
1450
1378
  /**
1451
- * Event type: {@link OnForceCeaseFireChangedEvent}
1379
+ * Event type: {@link OnRocketLaunchOrderedEvent}
1452
1380
  */
1453
- const on_force_cease_fire_changed: EventId<OnForceCeaseFireChangedEvent>
1381
+ const on_rocket_launch_ordered: EventId<OnRocketLaunchOrderedEvent>
1454
1382
  /**
1455
- * Event type: {@link OnForceFriendsChangedEvent}
1383
+ * Event type: {@link OnRocketLaunchedEvent}
1456
1384
  */
1457
- const on_force_friends_changed: EventId<OnForceFriendsChangedEvent>
1385
+ const on_rocket_launched: EventId<OnRocketLaunchedEvent>
1458
1386
  /**
1459
- * Event type: {@link OnStringTranslatedEvent}
1387
+ * Event type: {@link OnRuntimeModSettingChangedEvent}
1460
1388
  */
1461
- const on_string_translated: EventId<OnStringTranslatedEvent>
1389
+ const on_runtime_mod_setting_changed: EventId<OnRuntimeModSettingChangedEvent>
1462
1390
  /**
1463
- * Event type: {@link OnScriptTriggerEffectEvent}
1391
+ * Event type: {@link OnScriptInventoryResizedEvent}
1464
1392
  */
1465
- const on_script_trigger_effect: EventId<OnScriptTriggerEffectEvent>
1393
+ const on_script_inventory_resized: EventId<OnScriptInventoryResizedEvent>
1466
1394
  /**
1467
- * Event type: {@link OnPlayerSetQuickBarSlotEvent}
1395
+ * Event type: {@link OnScriptPathRequestFinishedEvent}
1468
1396
  */
1469
- const on_player_set_quick_bar_slot: EventId<OnPlayerSetQuickBarSlotEvent>
1397
+ const on_script_path_request_finished: EventId<OnScriptPathRequestFinishedEvent>
1470
1398
  /**
1471
- * Event type: {@link OnPrePlayerToggledMapEditorEvent}
1399
+ * Event type: {@link OnScriptTriggerEffectEvent}
1472
1400
  */
1473
- const on_pre_player_toggled_map_editor: EventId<OnPrePlayerToggledMapEditorEvent>
1401
+ const on_script_trigger_effect: EventId<OnScriptTriggerEffectEvent>
1474
1402
  /**
1475
- * Event type: {@link OnPreScriptInventoryResizedEvent}
1403
+ * Event type: {@link OnSectorScannedEvent}
1476
1404
  */
1477
- const on_pre_script_inventory_resized: EventId<OnPreScriptInventoryResizedEvent>
1405
+ const on_sector_scanned: EventId<OnSectorScannedEvent>
1478
1406
  /**
1479
- * Event type: {@link OnScriptInventoryResizedEvent}
1407
+ * Event type: {@link OnSelectedEntityChangedEvent}
1480
1408
  */
1481
- const on_script_inventory_resized: EventId<OnScriptInventoryResizedEvent>
1409
+ const on_selected_entity_changed: EventId<OnSelectedEntityChangedEvent>
1482
1410
  /**
1483
- * Event type: {@link OnEntityDestroyedEvent}
1411
+ * Event type: {@link OnSpiderCommandCompletedEvent}
1484
1412
  */
1485
- const on_entity_destroyed: EventId<OnEntityDestroyedEvent>
1413
+ const on_spider_command_completed: EventId<OnSpiderCommandCompletedEvent>
1486
1414
  /**
1487
- * Event type: {@link OnPlayerClickedGpsTagEvent}
1415
+ * Event type: {@link OnStringTranslatedEvent}
1488
1416
  */
1489
- const on_player_clicked_gps_tag: EventId<OnPlayerClickedGpsTagEvent>
1417
+ const on_string_translated: EventId<OnStringTranslatedEvent>
1490
1418
  /**
1491
- * Event type: {@link OnPlayerFlushedFluidEvent}
1419
+ * Event type: {@link OnSurfaceClearedEvent}
1492
1420
  */
1493
- const on_player_flushed_fluid: EventId<OnPlayerFlushedFluidEvent>
1421
+ const on_surface_cleared: EventId<OnSurfaceClearedEvent>
1494
1422
  /**
1495
- * Event type: {@link OnPermissionGroupEditedEvent}
1423
+ * Event type: {@link OnSurfaceCreatedEvent}
1496
1424
  */
1497
- const on_permission_group_edited: EventId<OnPermissionGroupEditedEvent>
1425
+ const on_surface_created: EventId<OnSurfaceCreatedEvent>
1498
1426
  /**
1499
- * Event type: {@link OnPrePermissionStringImportedEvent}
1427
+ * Event type: {@link OnSurfaceDeletedEvent}
1500
1428
  */
1501
- const on_pre_permission_string_imported: EventId<OnPrePermissionStringImportedEvent>
1429
+ const on_surface_deleted: EventId<OnSurfaceDeletedEvent>
1502
1430
  /**
1503
- * Event type: {@link OnPermissionStringImportedEvent}
1431
+ * Event type: {@link OnSurfaceImportedEvent}
1504
1432
  */
1505
- const on_permission_string_imported: EventId<OnPermissionStringImportedEvent>
1433
+ const on_surface_imported: EventId<OnSurfaceImportedEvent>
1506
1434
  /**
1507
- * Event type: {@link OnPrePermissionGroupDeletedEvent}
1435
+ * Event type: {@link OnSurfaceRenamedEvent}
1508
1436
  */
1509
- const on_pre_permission_group_deleted: EventId<OnPrePermissionGroupDeletedEvent>
1437
+ const on_surface_renamed: EventId<OnSurfaceRenamedEvent>
1510
1438
  /**
1511
- * Event type: {@link OnPermissionGroupDeletedEvent}
1439
+ * Event type: {@link OnTechnologyEffectsResetEvent}
1512
1440
  */
1513
- const on_permission_group_deleted: EventId<OnPermissionGroupDeletedEvent>
1441
+ const on_technology_effects_reset: EventId<OnTechnologyEffectsResetEvent>
1514
1442
  /**
1515
- * Event type: {@link OnPermissionGroupAddedEvent}
1443
+ * Event type: {@link OnTickEvent}
1516
1444
  */
1517
- const on_permission_group_added: EventId<OnPermissionGroupAddedEvent>
1445
+ const on_tick: EventId<OnTickEvent>
1518
1446
  /**
1519
- * Event type: {@link OnCutsceneCancelledEvent}
1447
+ * Event type: {@link OnTrainChangedStateEvent}
1520
1448
  */
1521
- const on_cutscene_cancelled: EventId<OnCutsceneCancelledEvent>
1449
+ const on_train_changed_state: EventId<OnTrainChangedStateEvent>
1522
1450
  /**
1523
- * Event type: {@link OnPlayerConfiguredSpiderRemoteEvent}
1451
+ * Event type: {@link OnTrainCreatedEvent}
1524
1452
  */
1525
- const on_player_configured_spider_remote: EventId<OnPlayerConfiguredSpiderRemoteEvent>
1453
+ const on_train_created: EventId<OnTrainCreatedEvent>
1526
1454
  /**
1527
- * Event type: {@link OnPlayerUsedSpiderRemoteEvent}
1455
+ * Event type: {@link OnTrainScheduleChangedEvent}
1528
1456
  */
1529
- const on_player_used_spider_remote: EventId<OnPlayerUsedSpiderRemoteEvent>
1457
+ const on_train_schedule_changed: EventId<OnTrainScheduleChangedEvent>
1530
1458
  /**
1531
- * Event type: {@link OnSpiderCommandCompletedEvent}
1459
+ * Event type: {@link OnTriggerCreatedEntityEvent}
1532
1460
  */
1533
- const on_spider_command_completed: EventId<OnSpiderCommandCompletedEvent>
1461
+ const on_trigger_created_entity: EventId<OnTriggerCreatedEntityEvent>
1534
1462
  /**
1535
- * Event type: {@link OnEntityLogisticSlotChangedEvent}
1463
+ * Event type: {@link OnTriggerFiredArtilleryEvent}
1536
1464
  */
1537
- const on_entity_logistic_slot_changed: EventId<OnEntityLogisticSlotChangedEvent>
1465
+ const on_trigger_fired_artillery: EventId<OnTriggerFiredArtilleryEvent>
1538
1466
  /**
1539
- * Event type: {@link OnEquipmentInsertedEvent}
1467
+ * Event type: {@link OnUnitAddedToGroupEvent}
1540
1468
  */
1541
- const on_equipment_inserted: EventId<OnEquipmentInsertedEvent>
1469
+ const on_unit_added_to_group: EventId<OnUnitAddedToGroupEvent>
1542
1470
  /**
1543
- * Event type: {@link OnEquipmentRemovedEvent}
1471
+ * Event type: {@link OnUnitGroupCreatedEvent}
1544
1472
  */
1545
- const on_equipment_removed: EventId<OnEquipmentRemovedEvent>
1473
+ const on_unit_group_created: EventId<OnUnitGroupCreatedEvent>
1546
1474
  /**
1547
- * Event type: {@link OnPlayerReverseSelectedAreaEvent}
1475
+ * Event type: {@link OnUnitGroupFinishedGatheringEvent}
1548
1476
  */
1549
- const on_player_reverse_selected_area: EventId<OnPlayerReverseSelectedAreaEvent>
1477
+ const on_unit_group_finished_gathering: EventId<OnUnitGroupFinishedGatheringEvent>
1550
1478
  /**
1551
- * Event type: {@link OnPlayerAltReverseSelectedAreaEvent}
1479
+ * Event type: {@link OnUnitRemovedFromGroupEvent}
1552
1480
  */
1553
- const on_player_alt_reverse_selected_area: EventId<OnPlayerAltReverseSelectedAreaEvent>
1481
+ const on_unit_removed_from_group: EventId<OnUnitRemovedFromGroupEvent>
1554
1482
  /**
1555
- * Event type: {@link OnGuiHoverEvent}
1483
+ * Event type: {@link OnWorkerRobotExpiredEvent}
1556
1484
  */
1557
- const on_gui_hover: EventId<OnGuiHoverEvent>
1485
+ const on_worker_robot_expired: EventId<OnWorkerRobotExpiredEvent>
1558
1486
  /**
1559
- * Event type: {@link OnGuiLeaveEvent}
1487
+ * Event type: {@link ScriptRaisedBuiltEvent}
1560
1488
  */
1561
- const on_gui_leave: EventId<OnGuiLeaveEvent>
1489
+ const script_raised_built: EventId<ScriptRaisedBuiltEvent>
1562
1490
  /**
1563
- * Event type: {@link OnEntityColorChangedEvent}
1491
+ * Event type: {@link ScriptRaisedDestroyEvent}
1564
1492
  */
1565
- const on_entity_color_changed: EventId<OnEntityColorChangedEvent>
1493
+ const script_raised_destroy: EventId<ScriptRaisedDestroyEvent>
1566
1494
  /**
1567
- * Event type: {@link OnCutsceneStartedEvent}
1495
+ * Event type: {@link ScriptRaisedReviveEvent}
1568
1496
  */
1569
- const on_cutscene_started: EventId<OnCutsceneStartedEvent>
1497
+ const script_raised_revive: EventId<ScriptRaisedReviveEvent>
1570
1498
  /**
1571
- * Event type: {@link OnCutsceneFinishedEvent}
1499
+ * Event type: {@link ScriptRaisedSetTilesEvent}
1572
1500
  */
1573
- const on_cutscene_finished: EventId<OnCutsceneFinishedEvent>
1501
+ const script_raised_set_tiles: EventId<ScriptRaisedSetTilesEvent>
1574
1502
  /**
1575
- * Event type: {@link OnPlayerInputMethodChangedEvent}
1503
+ * Event type: {@link ScriptRaisedTeleportedEvent}
1576
1504
  */
1577
- const on_player_input_method_changed: EventId<OnPlayerInputMethodChangedEvent>
1505
+ const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent>
1578
1506
  }
1579
1507
  /**
1580
- * See the {@linkplain https://lua-api.factorio.com/1.1.107/events.html events page} for more info on what events contain and when they get raised.
1581
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.events Online documentation}
1508
+ * See the {@linkplain https://lua-api.factorio.com/1.1.109/events.html events page} for more info on what events contain and when they get raised.
1509
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.events Online documentation}
1582
1510
  */
1583
1511
  type events = (typeof events)[keyof typeof events]
1584
1512
  enum flow_precision_index {
@@ -1594,17 +1522,17 @@ declare global {
1594
1522
  enum game_controller_interaction {
1595
1523
  /**
1596
1524
  * Game controller will always hover this element regardless of type or state.
1597
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.game_controller_interaction.always Online documentation}
1525
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.game_controller_interaction.always Online documentation}
1598
1526
  */
1599
1527
  always,
1600
1528
  /**
1601
1529
  * Never hover this element with a game controller.
1602
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.game_controller_interaction.never Online documentation}
1530
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.game_controller_interaction.never Online documentation}
1603
1531
  */
1604
1532
  never,
1605
1533
  /**
1606
1534
  * Hover according to the element type and implementation.
1607
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.game_controller_interaction.normal Online documentation}
1535
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.game_controller_interaction.normal Online documentation}
1608
1536
  */
1609
1537
  normal,
1610
1538
  }
@@ -1618,26 +1546,26 @@ declare global {
1618
1546
  wander_in_group,
1619
1547
  }
1620
1548
  enum gui_type {
1621
- none,
1622
- entity,
1623
- research,
1624
- controller,
1625
- production,
1626
- item,
1627
- bonus,
1628
- trains,
1629
1549
  achievement,
1630
1550
  blueprint_library,
1551
+ bonus,
1552
+ controller,
1553
+ custom,
1554
+ entity,
1631
1555
  equipment,
1556
+ item,
1632
1557
  logistic,
1558
+ none,
1633
1559
  other_player,
1634
1560
  permissions,
1635
- tutorials,
1636
- custom,
1637
- server_management,
1638
1561
  player_management,
1639
- tile,
1562
+ production,
1563
+ research,
1640
1564
  script_inventory,
1565
+ server_management,
1566
+ tile,
1567
+ trains,
1568
+ tutorials,
1641
1569
  }
1642
1570
  enum input_action {
1643
1571
  activate_copy,
@@ -1920,17 +1848,17 @@ declare global {
1920
1848
  enum print_skip {
1921
1849
  /**
1922
1850
  * Print will not be skipped.
1923
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.print_skip.never Online documentation}
1851
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.print_skip.never Online documentation}
1924
1852
  */
1925
1853
  never,
1926
1854
  /**
1927
1855
  * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
1928
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.print_skip.if_redundant Online documentation}
1856
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.print_skip.if_redundant Online documentation}
1929
1857
  */
1930
1858
  if_redundant,
1931
1859
  /**
1932
1860
  * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
1933
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.print_skip.if_visible Online documentation}
1861
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.print_skip.if_visible Online documentation}
1934
1862
  */
1935
1863
  if_visible,
1936
1864
  }
@@ -1941,7 +1869,7 @@ declare global {
1941
1869
  }
1942
1870
  /**
1943
1871
  * A dictionary mapping all top-level prototypes by name to a list of their associated subtypes. This list is organized as a lookup table, meaning it maps the sub-prototype names to `0`. As an example, `defines.prototypes['entity']` looks like this: `{furnace=0, inserter=0, container=0, ...}`.
1944
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.prototypes Online documentation}
1872
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.prototypes Online documentation}
1945
1873
  */
1946
1874
  const prototypes: {
1947
1875
  [Type in keyof PrototypeSubclassMap]: {
@@ -2055,82 +1983,82 @@ declare global {
2055
1983
  }
2056
1984
  /**
2057
1985
  * The various parts of the launch sequence of the rocket silo.
2058
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status Online documentation}
1986
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status Online documentation}
2059
1987
  */
2060
1988
  enum rocket_silo_status {
2061
1989
  /**
2062
1990
  * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
2063
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
1991
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
2064
1992
  */
2065
1993
  building_rocket,
2066
1994
  /**
2067
1995
  * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
2068
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
1996
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
2069
1997
  */
2070
1998
  create_rocket,
2071
1999
  /**
2072
2000
  * The next state is `doors_opening`. The rocket is getting prepared for launch.
2073
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2001
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
2074
2002
  */
2075
2003
  lights_blinking_open,
2076
2004
  /**
2077
2005
  * The next state is `doors_opened`. The rocket is getting prepared for launch.
2078
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2006
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
2079
2007
  */
2080
2008
  doors_opening,
2081
2009
  /**
2082
2010
  * 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.
2083
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2011
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
2084
2012
  */
2085
2013
  doors_opened,
2086
2014
  /**
2087
2015
  * 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.
2088
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2016
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
2089
2017
  */
2090
2018
  rocket_rising,
2091
2019
  /**
2092
2020
  * 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.
2093
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2021
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
2094
2022
  */
2095
2023
  arms_advance,
2096
2024
  /**
2097
2025
  * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
2098
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2026
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
2099
2027
  */
2100
2028
  rocket_ready,
2101
2029
  /**
2102
2030
  * The next state is `launch_started`.
2103
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2031
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
2104
2032
  */
2105
2033
  launch_starting,
2106
2034
  /**
2107
2035
  * 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.
2108
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2036
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
2109
2037
  */
2110
2038
  engine_starting,
2111
2039
  /**
2112
2040
  * 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.
2113
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2041
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
2114
2042
  */
2115
2043
  arms_retract,
2116
2044
  /**
2117
2045
  * The next state is `lights_blinking_close`. The rocket is getting launched.
2118
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2046
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
2119
2047
  */
2120
2048
  rocket_flying,
2121
2049
  /**
2122
2050
  * The next state is `doors_closing`.
2123
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2051
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
2124
2052
  */
2125
2053
  lights_blinking_close,
2126
2054
  /**
2127
2055
  * The next state is `building_rocket`.
2128
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2056
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
2129
2057
  */
2130
2058
  doors_closing,
2131
2059
  /**
2132
2060
  * 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.
2133
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2061
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.rocket_silo_status.launch_started Online documentation}
2134
2062
  */
2135
2063
  launch_started,
2136
2064
  }
@@ -2141,84 +2069,84 @@ declare global {
2141
2069
  }
2142
2070
  /**
2143
2071
  * State of an ordinary rail signal.
2144
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.signal_state Online documentation}
2072
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.signal_state Online documentation}
2145
2073
  */
2146
2074
  enum signal_state {
2147
2075
  /**
2148
2076
  * Green.
2149
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.signal_state.open Online documentation}
2077
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.signal_state.open Online documentation}
2150
2078
  */
2151
2079
  open,
2152
2080
  /**
2153
2081
  * Red.
2154
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.signal_state.closed Online documentation}
2082
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.signal_state.closed Online documentation}
2155
2083
  */
2156
2084
  closed,
2157
2085
  /**
2158
2086
  * Orange.
2159
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.signal_state.reserved Online documentation}
2087
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.signal_state.reserved Online documentation}
2160
2088
  */
2161
2089
  reserved,
2162
2090
  /**
2163
2091
  * Red - From circuit network.
2164
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2092
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
2165
2093
  */
2166
2094
  reserved_by_circuit_network,
2167
2095
  }
2168
2096
  enum train_state {
2169
2097
  /**
2170
2098
  * Normal state -- following the path.
2171
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.on_the_path Online documentation}
2099
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.on_the_path Online documentation}
2172
2100
  */
2173
2101
  on_the_path,
2174
2102
  /**
2175
2103
  * Had path and lost it -- must stop.
2176
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.path_lost Online documentation}
2104
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.path_lost Online documentation}
2177
2105
  */
2178
2106
  path_lost,
2179
2107
  /**
2180
2108
  * Doesn't have anywhere to go.
2181
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.no_schedule Online documentation}
2109
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.no_schedule Online documentation}
2182
2110
  */
2183
2111
  no_schedule,
2184
2112
  /**
2185
2113
  * Has no path and is stopped.
2186
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.no_path Online documentation}
2114
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.no_path Online documentation}
2187
2115
  */
2188
2116
  no_path,
2189
2117
  /**
2190
2118
  * Braking before a rail signal.
2191
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.arrive_signal Online documentation}
2119
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.arrive_signal Online documentation}
2192
2120
  */
2193
2121
  arrive_signal,
2194
2122
  /**
2195
2123
  * Waiting at a signal.
2196
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.wait_signal Online documentation}
2124
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.wait_signal Online documentation}
2197
2125
  */
2198
2126
  wait_signal,
2199
2127
  /**
2200
2128
  * Braking before a station.
2201
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.arrive_station Online documentation}
2129
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.arrive_station Online documentation}
2202
2130
  */
2203
2131
  arrive_station,
2204
2132
  /**
2205
2133
  * Waiting at a station.
2206
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.wait_station Online documentation}
2134
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.wait_station Online documentation}
2207
2135
  */
2208
2136
  wait_station,
2209
2137
  /**
2210
2138
  * Switched to manual control and has to stop.
2211
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.manual_control_stop Online documentation}
2139
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.manual_control_stop Online documentation}
2212
2140
  */
2213
2141
  manual_control_stop,
2214
2142
  /**
2215
2143
  * Can move if user explicitly sits in and rides the train.
2216
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.manual_control Online documentation}
2144
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.manual_control Online documentation}
2217
2145
  */
2218
2146
  manual_control,
2219
2147
  /**
2220
2148
  * Same as no_path but all candidate train stops are full
2221
- * @see {@link https://lua-api.factorio.com/1.1.107/defines.html#defines.train_state.destination_full Online documentation}
2149
+ * @see {@link https://lua-api.factorio.com/1.1.109/defines.html#defines.train_state.destination_full Online documentation}
2222
2150
  */
2223
2151
  destination_full,
2224
2152
  }