typed-factorio 3.23.0 → 3.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ declare module "factorio:runtime" {
13
13
  * script.on_event("my-potato-control", function(event)
14
14
  * game.print("Keyboard shortcut pressed on tick: " ..tostring(event.tick))
15
15
  * end)
16
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#CustomInputEvent Online documentation}
16
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#CustomInputEvent Online documentation}
17
17
  */
18
18
  interface CustomInputEvent extends EventData {
19
19
  /**
@@ -51,7 +51,7 @@ declare module "factorio:runtime" {
51
51
  }
52
52
  /**
53
53
  * Called when an achievement is gained.
54
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_achievement_gained Online documentation}
54
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_achievement_gained Online documentation}
55
55
  */
56
56
  interface OnAchievementGainedEvent extends EventData {
57
57
  /**
@@ -70,7 +70,7 @@ declare module "factorio:runtime" {
70
70
  }
71
71
  /**
72
72
  * Called when a unit/group completes a command.
73
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_ai_command_completed Online documentation}
73
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_ai_command_completed Online documentation}
74
74
  */
75
75
  interface OnAiCommandCompletedEvent extends EventData {
76
76
  /**
@@ -93,7 +93,7 @@ declare module "factorio:runtime" {
93
93
  }
94
94
  /**
95
95
  * Called when an area of the map is cloned.
96
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_area_cloned Online documentation}
96
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_area_cloned Online documentation}
97
97
  */
98
98
  interface OnAreaClonedEvent extends EventData {
99
99
  readonly source_surface: LuaSurface
@@ -119,7 +119,7 @@ declare module "factorio:runtime" {
119
119
  * Called when a biter migration builds a base.
120
120
  *
121
121
  * This will be called multiple times for each migration, once for every biter that is sacrificed to build part of the new base.
122
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_biter_base_built Online documentation}
122
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_biter_base_built Online documentation}
123
123
  */
124
124
  interface OnBiterBaseBuiltEvent extends EventData {
125
125
  /**
@@ -137,7 +137,7 @@ declare module "factorio:runtime" {
137
137
  }
138
138
  /**
139
139
  * Called when a set of positions on the map is cloned.
140
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_brush_cloned Online documentation}
140
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_brush_cloned Online documentation}
141
141
  */
142
142
  interface OnBrushClonedEvent extends EventData {
143
143
  readonly source_offset: TilePosition
@@ -162,7 +162,7 @@ declare module "factorio:runtime" {
162
162
  }
163
163
  /**
164
164
  * Called when a {@link defines.command.build_base} command reaches its destination, and before building starts.
165
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_build_base_arrived Online documentation}
165
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_build_base_arrived Online documentation}
166
166
  */
167
167
  interface OnBuildBaseArrivedEvent extends EventData {
168
168
  /**
@@ -186,7 +186,7 @@ declare module "factorio:runtime" {
186
186
  * Called when player builds something.
187
187
  *
188
188
  * Event filter: [LuaPlayerBuiltEntityEventFilter](LuaPlayerBuiltEntityEventFilter]
189
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_built_entity Online documentation}
189
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_built_entity Online documentation}
190
190
  */
191
191
  interface OnBuiltEntityEvent extends EventData {
192
192
  /**
@@ -218,7 +218,7 @@ declare module "factorio:runtime" {
218
218
  * Called when the deconstruction of an entity is canceled.
219
219
  *
220
220
  * Event filter: [LuaEntityDeconstructionCancelledEventFilter](LuaEntityDeconstructionCancelledEventFilter]
221
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cancelled_deconstruction Online documentation}
221
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cancelled_deconstruction Online documentation}
222
222
  */
223
223
  interface OnCancelledDeconstructionEvent extends EventData {
224
224
  readonly entity: LuaEntity
@@ -236,7 +236,7 @@ declare module "factorio:runtime" {
236
236
  * Called when the upgrade of an entity is canceled.
237
237
  *
238
238
  * Event filter: [LuaUpgradeCancelledEventFilter](LuaUpgradeCancelledEventFilter]
239
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cancelled_upgrade Online documentation}
239
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cancelled_upgrade Online documentation}
240
240
  */
241
241
  interface OnCancelledUpgradeEvent extends EventData {
242
242
  readonly entity: LuaEntity
@@ -254,7 +254,7 @@ declare module "factorio:runtime" {
254
254
  }
255
255
  /**
256
256
  * Called after a cargo pod has delivered its cargo.
257
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cargo_pod_delivered_cargo Online documentation}
257
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cargo_pod_delivered_cargo Online documentation}
258
258
  */
259
259
  interface OnCargoPodDeliveredCargoEvent extends EventData {
260
260
  readonly cargo_pod: LuaEntity
@@ -273,7 +273,7 @@ declare module "factorio:runtime" {
273
273
  }
274
274
  /**
275
275
  * Called when a cargo pod departs a surface.
276
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cargo_pod_finished_ascending Online documentation}
276
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cargo_pod_finished_ascending Online documentation}
277
277
  */
278
278
  interface OnCargoPodFinishedAscendingEvent extends EventData {
279
279
  readonly cargo_pod: LuaEntity
@@ -296,7 +296,7 @@ declare module "factorio:runtime" {
296
296
  }
297
297
  /**
298
298
  * Called when a cargo pods lands on a surface, either at a station or on the ground.
299
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cargo_pod_finished_descending Online documentation}
299
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cargo_pod_finished_descending Online documentation}
300
300
  */
301
301
  interface OnCargoPodFinishedDescendingEvent extends EventData {
302
302
  readonly cargo_pod: LuaEntity
@@ -321,7 +321,7 @@ declare module "factorio:runtime" {
321
321
  * Called when a character corpse expires due to timeout or all of the items being removed from it.
322
322
  *
323
323
  * this is not called if the corpse is mined. See {@link defines.events.on_pre_player_mined_item} to detect that.
324
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_character_corpse_expired Online documentation}
324
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_character_corpse_expired Online documentation}
325
325
  */
326
326
  interface OnCharacterCorpseExpiredEvent extends EventData {
327
327
  /**
@@ -339,7 +339,7 @@ declare module "factorio:runtime" {
339
339
  }
340
340
  /**
341
341
  * Called when a chart tag is created.
342
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_chart_tag_added Online documentation}
342
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_chart_tag_added Online documentation}
343
343
  */
344
344
  interface OnChartTagAddedEvent extends EventData {
345
345
  readonly tag: LuaCustomChartTag
@@ -356,7 +356,7 @@ declare module "factorio:runtime" {
356
356
  }
357
357
  /**
358
358
  * Called when a chart tag is modified by a player.
359
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_chart_tag_modified Online documentation}
359
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_chart_tag_modified Online documentation}
360
360
  */
361
361
  interface OnChartTagModifiedEvent extends EventData {
362
362
  readonly tag: LuaCustomChartTag
@@ -378,7 +378,7 @@ declare module "factorio:runtime" {
378
378
  }
379
379
  /**
380
380
  * Called just before a chart tag is deleted.
381
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_chart_tag_removed Online documentation}
381
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_chart_tag_removed Online documentation}
382
382
  */
383
383
  interface OnChartTagRemovedEvent extends EventData {
384
384
  readonly tag: LuaCustomChartTag
@@ -395,7 +395,7 @@ declare module "factorio:runtime" {
395
395
  }
396
396
  /**
397
397
  * Called when a chunk is charted or re-charted.
398
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_chunk_charted Online documentation}
398
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_chunk_charted Online documentation}
399
399
  */
400
400
  interface OnChunkChartedEvent extends EventData {
401
401
  readonly surface_index: SurfaceIndex
@@ -416,7 +416,7 @@ declare module "factorio:runtime" {
416
416
  }
417
417
  /**
418
418
  * Called when one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}.
419
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_chunk_deleted Online documentation}
419
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_chunk_deleted Online documentation}
420
420
  */
421
421
  interface OnChunkDeletedEvent extends EventData {
422
422
  readonly surface_index: SurfaceIndex
@@ -435,7 +435,7 @@ declare module "factorio:runtime" {
435
435
  }
436
436
  /**
437
437
  * Called when a chunk is generated.
438
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_chunk_generated Online documentation}
438
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_chunk_generated Online documentation}
439
439
  */
440
440
  interface OnChunkGeneratedEvent extends EventData {
441
441
  /**
@@ -461,7 +461,7 @@ declare module "factorio:runtime" {
461
461
  }
462
462
  /**
463
463
  * Called when a combat robot expires through a lack of energy, or timeout.
464
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_combat_robot_expired Online documentation}
464
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_combat_robot_expired Online documentation}
465
465
  */
466
466
  interface OnCombatRobotExpiredEvent extends EventData {
467
467
  readonly robot: LuaEntity
@@ -482,7 +482,7 @@ declare module "factorio:runtime" {
482
482
  * Called when a message is sent to the in-game console, either by a player or through the server interface.
483
483
  *
484
484
  * This event only fires for plain messages, not for any commands (including `/shout` or `/whisper`).
485
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_console_chat Online documentation}
485
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_console_chat Online documentation}
486
486
  */
487
487
  interface OnConsoleChatEvent extends EventData {
488
488
  /**
@@ -504,7 +504,7 @@ declare module "factorio:runtime" {
504
504
  }
505
505
  /**
506
506
  * Called when someone enters a command-like message regardless of it being a valid command.
507
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_console_command Online documentation}
507
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_console_command Online documentation}
508
508
  */
509
509
  interface OnConsoleCommandEvent extends EventData {
510
510
  /**
@@ -530,7 +530,7 @@ declare module "factorio:runtime" {
530
530
  }
531
531
  /**
532
532
  * Called when a cutscene is cancelled by the player or by script.
533
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cutscene_cancelled Online documentation}
533
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cutscene_cancelled Online documentation}
534
534
  */
535
535
  interface OnCutsceneCancelledEvent extends EventData {
536
536
  /**
@@ -548,7 +548,7 @@ declare module "factorio:runtime" {
548
548
  }
549
549
  /**
550
550
  * Called when a cutscene finishes naturally (was not cancelled).
551
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cutscene_finished Online documentation}
551
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cutscene_finished Online documentation}
552
552
  */
553
553
  interface OnCutsceneFinishedEvent extends EventData {
554
554
  /**
@@ -566,7 +566,7 @@ declare module "factorio:runtime" {
566
566
  }
567
567
  /**
568
568
  * Called when a cutscene starts.
569
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cutscene_started Online documentation}
569
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cutscene_started Online documentation}
570
570
  */
571
571
  interface OnCutsceneStartedEvent extends EventData {
572
572
  /**
@@ -586,7 +586,7 @@ declare module "factorio:runtime" {
586
586
  * Called when a cutscene is playing, each time it reaches a waypoint in that cutscene.
587
587
  *
588
588
  * This refers to an index in the table previously passed to set_controller which started the cutscene.
589
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_cutscene_waypoint_reached Online documentation}
589
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_cutscene_waypoint_reached Online documentation}
590
590
  */
591
591
  interface OnCutsceneWaypointReachedEvent extends EventData {
592
592
  /**
@@ -610,7 +610,7 @@ declare module "factorio:runtime" {
610
610
  * Called when an entity is cloned. The filter applies to the source entity.
611
611
  *
612
612
  * Event filter: [LuaEntityClonedEventFilter](LuaEntityClonedEventFilter]
613
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_cloned Online documentation}
613
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_cloned Online documentation}
614
614
  */
615
615
  interface OnEntityClonedEvent extends EventData {
616
616
  readonly source: LuaEntity
@@ -628,7 +628,7 @@ declare module "factorio:runtime" {
628
628
  * Called after an entity has been recolored either by the player or through script.
629
629
  *
630
630
  * Automatic recoloring due to {@link LuaPlayer#color LuaPlayer::color} will not raise events, as that is a separate mechanism.
631
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_color_changed Online documentation}
631
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_color_changed Online documentation}
632
632
  */
633
633
  interface OnEntityColorChangedEvent extends EventData {
634
634
  /**
@@ -648,7 +648,7 @@ declare module "factorio:runtime" {
648
648
  * Called when an entity is damaged. This is not called when an entities health is set directly by another mod.
649
649
  *
650
650
  * Event filter: [LuaEntityDamagedEventFilter](LuaEntityDamagedEventFilter]
651
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_damaged Online documentation}
651
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_damaged Online documentation}
652
652
  */
653
653
  interface OnEntityDamagedEvent extends EventData {
654
654
  readonly entity: LuaEntity
@@ -690,7 +690,7 @@ declare module "factorio:runtime" {
690
690
  * Called when an entity dies.
691
691
  *
692
692
  * Event filter: [LuaEntityDiedEventFilter](LuaEntityDiedEventFilter]
693
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_died Online documentation}
693
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_died Online documentation}
694
694
  */
695
695
  interface OnEntityDiedEvent extends EventData {
696
696
  /**
@@ -724,7 +724,7 @@ declare module "factorio:runtime" {
724
724
  }
725
725
  /**
726
726
  * Called when one of an entity's logistic slots changes.
727
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_logistic_slot_changed Online documentation}
727
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_logistic_slot_changed Online documentation}
728
728
  */
729
729
  interface OnEntityLogisticSlotChangedEvent extends EventData {
730
730
  /**
@@ -754,7 +754,7 @@ declare module "factorio:runtime" {
754
754
  }
755
755
  /**
756
756
  * Called after an entity has been renamed either by the player or through script.
757
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_renamed Online documentation}
757
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_renamed Online documentation}
758
758
  */
759
759
  interface OnEntityRenamedEvent extends EventData {
760
760
  /**
@@ -775,7 +775,7 @@ declare module "factorio:runtime" {
775
775
  }
776
776
  /**
777
777
  * Called after entity copy-paste is done.
778
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_settings_pasted Online documentation}
778
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_settings_pasted Online documentation}
779
779
  */
780
780
  interface OnEntitySettingsPastedEvent extends EventData {
781
781
  readonly player_index: PlayerIndex
@@ -798,7 +798,7 @@ declare module "factorio:runtime" {
798
798
  }
799
799
  /**
800
800
  * Called when an entity is spawned by a EnemySpawner
801
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_entity_spawned Online documentation}
801
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_entity_spawned Online documentation}
802
802
  */
803
803
  interface OnEntitySpawnedEvent extends EventData {
804
804
  readonly spawner: LuaEntity
@@ -814,7 +814,7 @@ declare module "factorio:runtime" {
814
814
  }
815
815
  /**
816
816
  * Called after equipment is inserted into an equipment grid.
817
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_equipment_inserted Online documentation}
817
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_equipment_inserted Online documentation}
818
818
  */
819
819
  interface OnEquipmentInsertedEvent extends EventData {
820
820
  /**
@@ -836,7 +836,7 @@ declare module "factorio:runtime" {
836
836
  }
837
837
  /**
838
838
  * Called after equipment is removed from an equipment grid.
839
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_equipment_removed Online documentation}
839
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_equipment_removed Online documentation}
840
840
  */
841
841
  interface OnEquipmentRemovedEvent extends EventData {
842
842
  /**
@@ -866,7 +866,7 @@ declare module "factorio:runtime" {
866
866
  }
867
867
  /**
868
868
  * Called when the a forces cease fire values change.
869
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_force_cease_fire_changed Online documentation}
869
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_force_cease_fire_changed Online documentation}
870
870
  */
871
871
  interface OnForceCeaseFireChangedEvent extends EventData {
872
872
  /**
@@ -894,7 +894,7 @@ declare module "factorio:runtime" {
894
894
  * Called when a new force is created using `game.create_force()`
895
895
  *
896
896
  * This is not called when the default forces (`'player'`, `'enemy'`, `'neutral'`) are created as they will always exist.
897
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_force_created Online documentation}
897
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_force_created Online documentation}
898
898
  */
899
899
  interface OnForceCreatedEvent extends EventData {
900
900
  /**
@@ -912,7 +912,7 @@ declare module "factorio:runtime" {
912
912
  }
913
913
  /**
914
914
  * Called when the a forces friends change.
915
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_force_friends_changed Online documentation}
915
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_force_friends_changed Online documentation}
916
916
  */
917
917
  interface OnForceFriendsChangedEvent extends EventData {
918
918
  /**
@@ -938,7 +938,7 @@ declare module "factorio:runtime" {
938
938
  }
939
939
  /**
940
940
  * Called when {@link LuaForce#reset LuaForce::reset} is finished.
941
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_force_reset Online documentation}
941
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_force_reset Online documentation}
942
942
  */
943
943
  interface OnForceResetEvent extends EventData {
944
944
  readonly force: LuaForce
@@ -955,7 +955,7 @@ declare module "factorio:runtime" {
955
955
  * Called after two forces have been merged using `game.merge_forces()`.
956
956
  *
957
957
  * The source force is invalidated before this event is called and the name can be re-used in this event if desired.
958
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_forces_merged Online documentation}
958
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_forces_merged Online documentation}
959
959
  */
960
960
  interface OnForcesMergedEvent extends EventData {
961
961
  /**
@@ -981,7 +981,7 @@ declare module "factorio:runtime" {
981
981
  }
982
982
  /**
983
983
  * Called when two forces are about to be merged using `game.merge_forces()`.
984
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_forces_merging Online documentation}
984
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_forces_merging Online documentation}
985
985
  */
986
986
  interface OnForcesMergingEvent extends EventData {
987
987
  /**
@@ -1005,7 +1005,7 @@ declare module "factorio:runtime" {
1005
1005
  * Called when a game is created from a scenario. This is fired for every mod, even when the scenario's save data already includes it. In those cases however, {@link LuaBootstrap#on_init LuaBootstrap::on_init} is not fired.
1006
1006
  *
1007
1007
  * This event is not fired when the scenario is loaded via the map editor.
1008
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_game_created_from_scenario Online documentation}
1008
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_game_created_from_scenario Online documentation}
1009
1009
  */
1010
1010
  interface OnGameCreatedFromScenarioEvent extends EventData {
1011
1011
  /**
@@ -1019,7 +1019,7 @@ declare module "factorio:runtime" {
1019
1019
  }
1020
1020
  /**
1021
1021
  * Called when {@link LuaGuiElement} checked state is changed (related to checkboxes and radio buttons).
1022
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_checked_state_changed Online documentation}
1022
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_checked_state_changed Online documentation}
1023
1023
  */
1024
1024
  interface OnGuiCheckedStateChangedEvent extends EventData {
1025
1025
  /**
@@ -1041,7 +1041,7 @@ declare module "factorio:runtime" {
1041
1041
  }
1042
1042
  /**
1043
1043
  * Called when {@link LuaGuiElement} is clicked.
1044
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_click Online documentation}
1044
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_click Online documentation}
1045
1045
  */
1046
1046
  interface OnGuiClickEvent extends EventData {
1047
1047
  /**
@@ -1087,7 +1087,7 @@ declare module "factorio:runtime" {
1087
1087
  * This can only be raised when the GUI's player controller is still valid. If a GUI is thus closed due to the player disconnecting, dying, or becoming a spectator in other ways, it won't cause this event to be raised.
1088
1088
  *
1089
1089
  * It's not advised to open any other GUI during this event because if this is run as a request to open a different GUI the game will force close the new opened GUI without notice to ensure the original requested GUI is opened.
1090
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_closed Online documentation}
1090
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_closed Online documentation}
1091
1091
  */
1092
1092
  interface OnGuiClosedEvent extends EventData {
1093
1093
  /**
@@ -1141,7 +1141,7 @@ declare module "factorio:runtime" {
1141
1141
  }
1142
1142
  /**
1143
1143
  * Called when a {@link LuaGuiElement} is confirmed, for example by pressing Enter in a textfield.
1144
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_confirmed Online documentation}
1144
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_confirmed Online documentation}
1145
1145
  */
1146
1146
  interface OnGuiConfirmedEvent extends EventData {
1147
1147
  /**
@@ -1175,7 +1175,7 @@ declare module "factorio:runtime" {
1175
1175
  }
1176
1176
  /**
1177
1177
  * Called when {@link LuaGuiElement} element value is changed (related to choose element buttons).
1178
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_elem_changed Online documentation}
1178
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_elem_changed Online documentation}
1179
1179
  */
1180
1180
  interface OnGuiElemChangedEvent extends EventData {
1181
1181
  /**
@@ -1199,7 +1199,7 @@ declare module "factorio:runtime" {
1199
1199
  * Called when {@link LuaGuiElement} is hovered by the mouse.
1200
1200
  *
1201
1201
  * Only fired for events whose {@link LuaGuiElement#raise_hover_events LuaGuiElement::raise_hover_events} is `true`.
1202
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_hover Online documentation}
1202
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_hover Online documentation}
1203
1203
  */
1204
1204
  interface OnGuiHoverEvent extends EventData {
1205
1205
  /**
@@ -1223,7 +1223,7 @@ declare module "factorio:runtime" {
1223
1223
  * Called when the player's cursor leaves a {@link LuaGuiElement} that was previously hovered.
1224
1224
  *
1225
1225
  * Only fired for events whose {@link LuaGuiElement#raise_hover_events LuaGuiElement::raise_hover_events} is `true`.
1226
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_leave Online documentation}
1226
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_leave Online documentation}
1227
1227
  */
1228
1228
  interface OnGuiLeaveEvent extends EventData {
1229
1229
  /**
@@ -1245,7 +1245,7 @@ declare module "factorio:runtime" {
1245
1245
  }
1246
1246
  /**
1247
1247
  * Called when {@link LuaGuiElement} element location is changed (related to frames in `player.gui.screen`).
1248
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_location_changed Online documentation}
1248
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_location_changed Online documentation}
1249
1249
  */
1250
1250
  interface OnGuiLocationChangedEvent extends EventData {
1251
1251
  /**
@@ -1267,7 +1267,7 @@ declare module "factorio:runtime" {
1267
1267
  }
1268
1268
  /**
1269
1269
  * Called when the player opens a GUI.
1270
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_opened Online documentation}
1270
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_opened Online documentation}
1271
1271
  */
1272
1272
  interface OnGuiOpenedEvent extends EventData {
1273
1273
  /**
@@ -1313,7 +1313,7 @@ declare module "factorio:runtime" {
1313
1313
  }
1314
1314
  /**
1315
1315
  * Called when {@link LuaGuiElement} selected tab is changed (related to tabbed-panes).
1316
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_selected_tab_changed Online documentation}
1316
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_selected_tab_changed Online documentation}
1317
1317
  */
1318
1318
  interface OnGuiSelectedTabChangedEvent extends EventData {
1319
1319
  /**
@@ -1335,7 +1335,7 @@ declare module "factorio:runtime" {
1335
1335
  }
1336
1336
  /**
1337
1337
  * Called when {@link LuaGuiElement} selection state is changed (related to drop-downs and listboxes).
1338
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_selection_state_changed Online documentation}
1338
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_selection_state_changed Online documentation}
1339
1339
  */
1340
1340
  interface OnGuiSelectionStateChangedEvent extends EventData {
1341
1341
  /**
@@ -1357,7 +1357,7 @@ declare module "factorio:runtime" {
1357
1357
  }
1358
1358
  /**
1359
1359
  * Called when {@link LuaGuiElement} switch state is changed (related to switches).
1360
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_switch_state_changed Online documentation}
1360
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_switch_state_changed Online documentation}
1361
1361
  */
1362
1362
  interface OnGuiSwitchStateChangedEvent extends EventData {
1363
1363
  /**
@@ -1379,7 +1379,7 @@ declare module "factorio:runtime" {
1379
1379
  }
1380
1380
  /**
1381
1381
  * Called when {@link LuaGuiElement} text is changed by the player.
1382
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_text_changed Online documentation}
1382
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_text_changed Online documentation}
1383
1383
  */
1384
1384
  interface OnGuiTextChangedEvent extends EventData {
1385
1385
  /**
@@ -1405,7 +1405,7 @@ declare module "factorio:runtime" {
1405
1405
  }
1406
1406
  /**
1407
1407
  * Called when {@link LuaGuiElement} slider value is changed (related to the slider element).
1408
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_gui_value_changed Online documentation}
1408
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_gui_value_changed Online documentation}
1409
1409
  */
1410
1410
  interface OnGuiValueChangedEvent extends EventData {
1411
1411
  /**
@@ -1427,7 +1427,7 @@ declare module "factorio:runtime" {
1427
1427
  }
1428
1428
  /**
1429
1429
  * Called when a land mine is armed.
1430
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_land_mine_armed Online documentation}
1430
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_land_mine_armed Online documentation}
1431
1431
  */
1432
1432
  interface OnLandMineArmedEvent extends EventData {
1433
1433
  readonly mine: LuaEntity
@@ -1442,7 +1442,7 @@ declare module "factorio:runtime" {
1442
1442
  }
1443
1443
  /**
1444
1444
  * Called when a custom {@link import("factorio:prototype").ShortcutPrototype Lua shortcut} is pressed.
1445
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_lua_shortcut Online documentation}
1445
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_lua_shortcut Online documentation}
1446
1446
  */
1447
1447
  interface OnLuaShortcutEvent extends EventData {
1448
1448
  readonly player_index: PlayerIndex
@@ -1463,7 +1463,7 @@ declare module "factorio:runtime" {
1463
1463
  * Called when an entity is marked for deconstruction with the Deconstruction planner or via script.
1464
1464
  *
1465
1465
  * Event filter: [LuaEntityMarkedForDeconstructionEventFilter](LuaEntityMarkedForDeconstructionEventFilter]
1466
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_marked_for_deconstruction Online documentation}
1466
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_marked_for_deconstruction Online documentation}
1467
1467
  */
1468
1468
  interface OnMarkedForDeconstructionEvent extends EventData {
1469
1469
  readonly entity: LuaEntity
@@ -1481,7 +1481,7 @@ declare module "factorio:runtime" {
1481
1481
  * Called when an entity is marked for upgrade with the Upgrade planner or via script.
1482
1482
  *
1483
1483
  * Event filter: [LuaEntityMarkedForUpgradeEventFilter](LuaEntityMarkedForUpgradeEventFilter]
1484
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_marked_for_upgrade Online documentation}
1484
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_marked_for_upgrade Online documentation}
1485
1485
  */
1486
1486
  interface OnMarkedForUpgradeEvent extends EventData {
1487
1487
  readonly player_index?: PlayerIndex
@@ -1499,7 +1499,7 @@ declare module "factorio:runtime" {
1499
1499
  }
1500
1500
  /**
1501
1501
  * Called after a player purchases some offer from a `market` entity.
1502
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_market_item_purchased Online documentation}
1502
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_market_item_purchased Online documentation}
1503
1503
  */
1504
1504
  interface OnMarketItemPurchasedEvent extends EventData {
1505
1505
  /**
@@ -1529,7 +1529,7 @@ declare module "factorio:runtime" {
1529
1529
  }
1530
1530
  /**
1531
1531
  * Called when the player uses the 'Open item GUI' control on an item defined with the 'mod-openable' flag
1532
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_mod_item_opened Online documentation}
1532
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_mod_item_opened Online documentation}
1533
1533
  */
1534
1534
  interface OnModItemOpenedEvent extends EventData {
1535
1535
  /**
@@ -1555,7 +1555,7 @@ declare module "factorio:runtime" {
1555
1555
  }
1556
1556
  /**
1557
1557
  * Called when {@link LuaGameScript#is_multiplayer LuaGameScript::is_multiplayer} changes to true. May also be raised when it was already true but a game was loaded from a save file and with hosting.
1558
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_multiplayer_init Online documentation}
1558
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_multiplayer_init Online documentation}
1559
1559
  */
1560
1560
  interface OnMultiplayerInitEvent extends EventData {
1561
1561
  /**
@@ -1571,7 +1571,7 @@ declare module "factorio:runtime" {
1571
1571
  * Called after an object is destroyed which was registered with {@link LuaBootstrap#register_on_object_destroyed LuaBootstrap::register_on_object_destroyed} previously.
1572
1572
  *
1573
1573
  * Depending on when a given object is destroyed, this event will be fired at the end of the current tick or at the end of the next tick. The event's timing is independent of the in-world object being destroyed.
1574
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_object_destroyed Online documentation}
1574
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_object_destroyed Online documentation}
1575
1575
  */
1576
1576
  interface OnObjectDestroyedEvent extends EventData {
1577
1577
  /**
@@ -1597,7 +1597,7 @@ declare module "factorio:runtime" {
1597
1597
  }
1598
1598
  /**
1599
1599
  * Called directly after a permission group is added.
1600
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_permission_group_added Online documentation}
1600
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_permission_group_added Online documentation}
1601
1601
  */
1602
1602
  interface OnPermissionGroupAddedEvent extends EventData {
1603
1603
  /**
@@ -1619,7 +1619,7 @@ declare module "factorio:runtime" {
1619
1619
  }
1620
1620
  /**
1621
1621
  * Called directly after a permission group is deleted.
1622
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_permission_group_deleted Online documentation}
1622
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_permission_group_deleted Online documentation}
1623
1623
  */
1624
1624
  interface OnPermissionGroupDeletedEvent extends EventData {
1625
1625
  /**
@@ -1645,7 +1645,7 @@ declare module "factorio:runtime" {
1645
1645
  }
1646
1646
  /**
1647
1647
  * Called directly after a permission group is edited in some way.
1648
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_permission_group_edited Online documentation}
1648
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_permission_group_edited Online documentation}
1649
1649
  */
1650
1650
  interface OnPermissionGroupEditedEvent extends EventData {
1651
1651
  /**
@@ -1694,7 +1694,7 @@ declare module "factorio:runtime" {
1694
1694
  }
1695
1695
  /**
1696
1696
  * Called directly after a permission string is imported.
1697
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_permission_string_imported Online documentation}
1697
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_permission_string_imported Online documentation}
1698
1698
  */
1699
1699
  interface OnPermissionStringImportedEvent extends EventData {
1700
1700
  /**
@@ -1712,7 +1712,7 @@ declare module "factorio:runtime" {
1712
1712
  }
1713
1713
  /**
1714
1714
  * Called when a player picks up an item.
1715
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_picked_up_item Online documentation}
1715
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_picked_up_item Online documentation}
1716
1716
  */
1717
1717
  interface OnPickedUpItemEvent extends EventData {
1718
1718
  readonly item_stack: SimpleItemStack
@@ -1728,7 +1728,7 @@ declare module "factorio:runtime" {
1728
1728
  }
1729
1729
  /**
1730
1730
  * Called after a player alt-reverse-selects an area with a selection-tool item.
1731
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_alt_reverse_selected_area Online documentation}
1731
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_alt_reverse_selected_area Online documentation}
1732
1732
  */
1733
1733
  interface OnPlayerAltReverseSelectedAreaEvent extends EventData {
1734
1734
  /**
@@ -1766,7 +1766,7 @@ declare module "factorio:runtime" {
1766
1766
  }
1767
1767
  /**
1768
1768
  * Called after a player alt-selects an area with a selection-tool item.
1769
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_alt_selected_area Online documentation}
1769
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_alt_selected_area Online documentation}
1770
1770
  */
1771
1771
  interface OnPlayerAltSelectedAreaEvent extends EventData {
1772
1772
  /**
@@ -1808,7 +1808,7 @@ declare module "factorio:runtime" {
1808
1808
  }
1809
1809
  /**
1810
1810
  * Called after a players ammo inventory changed in some way.
1811
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_ammo_inventory_changed Online documentation}
1811
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_ammo_inventory_changed Online documentation}
1812
1812
  */
1813
1813
  interface OnPlayerAmmoInventoryChangedEvent extends EventData {
1814
1814
  readonly player_index: PlayerIndex
@@ -1823,7 +1823,7 @@ declare module "factorio:runtime" {
1823
1823
  }
1824
1824
  /**
1825
1825
  * Called after a players armor inventory changed in some way.
1826
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_armor_inventory_changed Online documentation}
1826
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_armor_inventory_changed Online documentation}
1827
1827
  */
1828
1828
  interface OnPlayerArmorInventoryChangedEvent extends EventData {
1829
1829
  readonly player_index: PlayerIndex
@@ -1838,7 +1838,7 @@ declare module "factorio:runtime" {
1838
1838
  }
1839
1839
  /**
1840
1840
  * Called when a player is banned.
1841
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_banned Online documentation}
1841
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_banned Online documentation}
1842
1842
  */
1843
1843
  interface OnPlayerBannedEvent extends EventData {
1844
1844
  /**
@@ -1868,7 +1868,7 @@ declare module "factorio:runtime" {
1868
1868
  }
1869
1869
  /**
1870
1870
  * Called after a player builds tiles.
1871
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_built_tile Online documentation}
1871
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_built_tile Online documentation}
1872
1872
  */
1873
1873
  interface OnPlayerBuiltTileEvent extends EventData {
1874
1874
  readonly player_index: PlayerIndex
@@ -1907,7 +1907,7 @@ declare module "factorio:runtime" {
1907
1907
  }
1908
1908
  /**
1909
1909
  * Called when a player cancels crafting.
1910
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_cancelled_crafting Online documentation}
1910
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_cancelled_crafting Online documentation}
1911
1911
  */
1912
1912
  interface OnPlayerCancelledCraftingEvent extends EventData {
1913
1913
  /**
@@ -1937,7 +1937,7 @@ declare module "factorio:runtime" {
1937
1937
  }
1938
1938
  /**
1939
1939
  * Called after a player changes forces.
1940
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_changed_force Online documentation}
1940
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_changed_force Online documentation}
1941
1941
  */
1942
1942
  interface OnPlayerChangedForceEvent extends EventData {
1943
1943
  /**
@@ -1959,7 +1959,7 @@ declare module "factorio:runtime" {
1959
1959
  }
1960
1960
  /**
1961
1961
  * Called when the tile position a player is located at changes.
1962
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_changed_position Online documentation}
1962
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_changed_position Online documentation}
1963
1963
  */
1964
1964
  interface OnPlayerChangedPositionEvent extends EventData {
1965
1965
  /**
@@ -1977,7 +1977,7 @@ declare module "factorio:runtime" {
1977
1977
  }
1978
1978
  /**
1979
1979
  * Called after a player changes surfaces.
1980
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_changed_surface Online documentation}
1980
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_changed_surface Online documentation}
1981
1981
  */
1982
1982
  interface OnPlayerChangedSurfaceEvent extends EventData {
1983
1983
  /**
@@ -1999,7 +1999,7 @@ declare module "factorio:runtime" {
1999
1999
  }
2000
2000
  /**
2001
2001
  * Called when cheat mode is disabled on a player.
2002
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_cheat_mode_disabled Online documentation}
2002
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_cheat_mode_disabled Online documentation}
2003
2003
  */
2004
2004
  interface OnPlayerCheatModeDisabledEvent extends EventData {
2005
2005
  /**
@@ -2017,7 +2017,7 @@ declare module "factorio:runtime" {
2017
2017
  }
2018
2018
  /**
2019
2019
  * Called when cheat mode is enabled on a player.
2020
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_cheat_mode_enabled Online documentation}
2020
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_cheat_mode_enabled Online documentation}
2021
2021
  */
2022
2022
  interface OnPlayerCheatModeEnabledEvent extends EventData {
2023
2023
  /**
@@ -2035,7 +2035,7 @@ declare module "factorio:runtime" {
2035
2035
  }
2036
2036
  /**
2037
2037
  * Called when a player clicks a gps tag
2038
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_clicked_gps_tag Online documentation}
2038
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_clicked_gps_tag Online documentation}
2039
2039
  */
2040
2040
  interface OnPlayerClickedGpsTagEvent extends EventData {
2041
2041
  /**
@@ -2061,7 +2061,7 @@ declare module "factorio:runtime" {
2061
2061
  }
2062
2062
  /**
2063
2063
  * Called when a player clicks the "confirm" button in the configure Blueprint GUI.
2064
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_configured_blueprint Online documentation}
2064
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_configured_blueprint Online documentation}
2065
2065
  */
2066
2066
  interface OnPlayerConfiguredBlueprintEvent extends EventData {
2067
2067
  /**
@@ -2079,7 +2079,7 @@ declare module "factorio:runtime" {
2079
2079
  }
2080
2080
  /**
2081
2081
  * Called after a player changes controller types.
2082
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_controller_changed Online documentation}
2082
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_controller_changed Online documentation}
2083
2083
  */
2084
2084
  interface OnPlayerControllerChangedEvent extends EventData {
2085
2085
  /**
@@ -2101,7 +2101,7 @@ declare module "factorio:runtime" {
2101
2101
  }
2102
2102
  /**
2103
2103
  * Called when the player finishes crafting an item. This event fires just before the results are inserted into the player's inventory, not when the crafting is queued (see {@link OnPrePlayerCraftedItemEvent on_pre_player_crafted_item}).
2104
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_crafted_item Online documentation}
2104
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_crafted_item Online documentation}
2105
2105
  */
2106
2106
  interface OnPlayerCraftedItemEvent extends EventData {
2107
2107
  /**
@@ -2127,7 +2127,7 @@ declare module "factorio:runtime" {
2127
2127
  }
2128
2128
  /**
2129
2129
  * Called after the player was created.
2130
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_created Online documentation}
2130
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_created Online documentation}
2131
2131
  */
2132
2132
  interface OnPlayerCreatedEvent extends EventData {
2133
2133
  readonly player_index: PlayerIndex
@@ -2144,7 +2144,7 @@ declare module "factorio:runtime" {
2144
2144
  * Called after a player's {@link LuaControl#cursor_stack cursor stack} changed in some way.
2145
2145
  *
2146
2146
  * This is fired in the same tick that the change happens, but not instantly.
2147
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_cursor_stack_changed Online documentation}
2147
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_cursor_stack_changed Online documentation}
2148
2148
  */
2149
2149
  interface OnPlayerCursorStackChangedEvent extends EventData {
2150
2150
  readonly player_index: PlayerIndex
@@ -2159,7 +2159,7 @@ declare module "factorio:runtime" {
2159
2159
  }
2160
2160
  /**
2161
2161
  * Called when a player selects an area with a deconstruction planner.
2162
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_deconstructed_area Online documentation}
2162
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_deconstructed_area Online documentation}
2163
2163
  */
2164
2164
  interface OnPlayerDeconstructedAreaEvent extends EventData {
2165
2165
  /**
@@ -2205,7 +2205,7 @@ declare module "factorio:runtime" {
2205
2205
  }
2206
2206
  /**
2207
2207
  * Called when a player is demoted.
2208
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_demoted Online documentation}
2208
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_demoted Online documentation}
2209
2209
  */
2210
2210
  interface OnPlayerDemotedEvent extends EventData {
2211
2211
  /**
@@ -2223,7 +2223,7 @@ declare module "factorio:runtime" {
2223
2223
  }
2224
2224
  /**
2225
2225
  * Called after a player dies.
2226
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_died Online documentation}
2226
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_died Online documentation}
2227
2227
  */
2228
2228
  interface OnPlayerDiedEvent extends EventData {
2229
2229
  readonly player_index: PlayerIndex
@@ -2239,7 +2239,7 @@ declare module "factorio:runtime" {
2239
2239
  }
2240
2240
  /**
2241
2241
  * Called when the display density scale changes for a given player. The display density scale is the scale value automatically applied based on the player's display DPI. This is only relevant on platforms that support high-density displays.
2242
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_display_density_scale_changed Online documentation}
2242
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_display_density_scale_changed Online documentation}
2243
2243
  */
2244
2244
  interface OnPlayerDisplayDensityScaleChangedEvent extends EventData {
2245
2245
  /**
@@ -2261,7 +2261,7 @@ declare module "factorio:runtime" {
2261
2261
  }
2262
2262
  /**
2263
2263
  * Called when the display resolution changes for a given player.
2264
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_display_resolution_changed Online documentation}
2264
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_display_resolution_changed Online documentation}
2265
2265
  */
2266
2266
  interface OnPlayerDisplayResolutionChangedEvent extends EventData {
2267
2267
  /**
@@ -2283,7 +2283,7 @@ declare module "factorio:runtime" {
2283
2283
  }
2284
2284
  /**
2285
2285
  * Called when the display scale changes for a given player.
2286
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_display_scale_changed Online documentation}
2286
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_display_scale_changed Online documentation}
2287
2287
  */
2288
2288
  interface OnPlayerDisplayScaleChangedEvent extends EventData {
2289
2289
  /**
@@ -2307,7 +2307,7 @@ declare module "factorio:runtime" {
2307
2307
  * Called when the player's driving state has changed, meaning a player has either entered or left a vehicle.
2308
2308
  *
2309
2309
  * This event is not raised when the player is ejected from a vehicle due to it being destroyed.
2310
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_driving_changed_state Online documentation}
2310
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_driving_changed_state Online documentation}
2311
2311
  */
2312
2312
  interface OnPlayerDrivingChangedStateEvent extends EventData {
2313
2313
  readonly player_index: PlayerIndex
@@ -2326,7 +2326,7 @@ declare module "factorio:runtime" {
2326
2326
  }
2327
2327
  /**
2328
2328
  * Called when a player drops an item on the ground.
2329
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_dropped_item Online documentation}
2329
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_dropped_item Online documentation}
2330
2330
  */
2331
2331
  interface OnPlayerDroppedItemEvent extends EventData {
2332
2332
  readonly player_index: PlayerIndex
@@ -2345,7 +2345,7 @@ declare module "factorio:runtime" {
2345
2345
  }
2346
2346
  /**
2347
2347
  * Called when a player fast-transfers something to or from an entity.
2348
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_fast_transferred Online documentation}
2348
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_fast_transferred Online documentation}
2349
2349
  */
2350
2350
  interface OnPlayerFastTransferredEvent extends EventData {
2351
2351
  /**
@@ -2377,7 +2377,7 @@ declare module "factorio:runtime" {
2377
2377
  * Called when the player flips an entity. This event is only fired when the entity actually changes its orientation or mirroring, so it won't be triggered when pressing the flip keys on an entity that can't be flipped.
2378
2378
  *
2379
2379
  * This event reflects a change in the {@link LuaEntity#mirroring LuaEntity::mirroring} property.
2380
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_flipped_entity Online documentation}
2380
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_flipped_entity Online documentation}
2381
2381
  */
2382
2382
  interface OnPlayerFlippedEntityEvent extends EventData {
2383
2383
  /**
@@ -2400,7 +2400,7 @@ declare module "factorio:runtime" {
2400
2400
  }
2401
2401
  /**
2402
2402
  * Called after player flushed fluid
2403
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_flushed_fluid Online documentation}
2403
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_flushed_fluid Online documentation}
2404
2404
  */
2405
2405
  interface OnPlayerFlushedFluidEvent extends EventData {
2406
2406
  /**
@@ -2434,7 +2434,7 @@ declare module "factorio:runtime" {
2434
2434
  }
2435
2435
  /**
2436
2436
  * Called after a players gun inventory changed in some way.
2437
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_gun_inventory_changed Online documentation}
2437
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_gun_inventory_changed Online documentation}
2438
2438
  */
2439
2439
  interface OnPlayerGunInventoryChangedEvent extends EventData {
2440
2440
  readonly player_index: PlayerIndex
@@ -2449,7 +2449,7 @@ declare module "factorio:runtime" {
2449
2449
  }
2450
2450
  /**
2451
2451
  * Called when a player's input method changes. See {@link LuaPlayer#input_method LuaPlayer::input_method}.
2452
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_input_method_changed Online documentation}
2452
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_input_method_changed Online documentation}
2453
2453
  */
2454
2454
  interface OnPlayerInputMethodChangedEvent extends EventData {
2455
2455
  /**
@@ -2467,7 +2467,7 @@ declare module "factorio:runtime" {
2467
2467
  }
2468
2468
  /**
2469
2469
  * Called after a player joins the game. This is not called when loading a save file in singleplayer, as the player doesn't actually leave the game, and the save is just on pause until they rejoin.
2470
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_joined_game Online documentation}
2470
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_joined_game Online documentation}
2471
2471
  */
2472
2472
  interface OnPlayerJoinedGameEvent extends EventData {
2473
2473
  readonly player_index: PlayerIndex
@@ -2482,7 +2482,7 @@ declare module "factorio:runtime" {
2482
2482
  }
2483
2483
  /**
2484
2484
  * Called when a player is kicked.
2485
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_kicked Online documentation}
2485
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_kicked Online documentation}
2486
2486
  */
2487
2487
  interface OnPlayerKickedEvent extends EventData {
2488
2488
  /**
@@ -2508,7 +2508,7 @@ declare module "factorio:runtime" {
2508
2508
  }
2509
2509
  /**
2510
2510
  * Called after a player leaves the game. This is not called when closing a save file in singleplayer, as the player doesn't actually leave the game, and the save is just on pause until they rejoin.
2511
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_left_game Online documentation}
2511
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_left_game Online documentation}
2512
2512
  */
2513
2513
  interface OnPlayerLeftGameEvent extends EventData {
2514
2514
  readonly player_index: PlayerIndex
@@ -2524,7 +2524,7 @@ declare module "factorio:runtime" {
2524
2524
  }
2525
2525
  /**
2526
2526
  * Called when a player's active locale changes. See {@link LuaPlayer#locale LuaPlayer::locale}.
2527
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_locale_changed Online documentation}
2527
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_locale_changed Online documentation}
2528
2528
  */
2529
2529
  interface OnPlayerLocaleChangedEvent extends EventData {
2530
2530
  /**
@@ -2546,7 +2546,7 @@ declare module "factorio:runtime" {
2546
2546
  }
2547
2547
  /**
2548
2548
  * Called after a players main inventory changed in some way.
2549
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_main_inventory_changed Online documentation}
2549
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_main_inventory_changed Online documentation}
2550
2550
  */
2551
2551
  interface OnPlayerMainInventoryChangedEvent extends EventData {
2552
2552
  readonly player_index: PlayerIndex
@@ -2567,7 +2567,7 @@ declare module "factorio:runtime" {
2567
2567
  * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it.
2568
2568
  *
2569
2569
  * Event filter: [LuaPlayerMinedEntityEventFilter](LuaPlayerMinedEntityEventFilter]
2570
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_mined_entity Online documentation}
2570
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_mined_entity Online documentation}
2571
2571
  */
2572
2572
  interface OnPlayerMinedEntityEvent extends EventData {
2573
2573
  /**
@@ -2593,7 +2593,7 @@ declare module "factorio:runtime" {
2593
2593
  }
2594
2594
  /**
2595
2595
  * Called when the player mines something.
2596
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_mined_item Online documentation}
2596
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_mined_item Online documentation}
2597
2597
  */
2598
2598
  interface OnPlayerMinedItemEvent extends EventData {
2599
2599
  /**
@@ -2612,7 +2612,7 @@ declare module "factorio:runtime" {
2612
2612
  }
2613
2613
  /**
2614
2614
  * Called after a player mines tiles.
2615
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_mined_tile Online documentation}
2615
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_mined_tile Online documentation}
2616
2616
  */
2617
2617
  interface OnPlayerMinedTileEvent extends EventData {
2618
2618
  readonly player_index: PlayerIndex
@@ -2635,7 +2635,7 @@ declare module "factorio:runtime" {
2635
2635
  }
2636
2636
  /**
2637
2637
  * Called when a player is muted.
2638
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_muted Online documentation}
2638
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_muted Online documentation}
2639
2639
  */
2640
2640
  interface OnPlayerMutedEvent extends EventData {
2641
2641
  /**
@@ -2653,7 +2653,7 @@ declare module "factorio:runtime" {
2653
2653
  }
2654
2654
  /**
2655
2655
  * Called when a player invokes the "smart pipette" over an entity.
2656
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_pipette Online documentation}
2656
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_pipette Online documentation}
2657
2657
  */
2658
2658
  interface OnPlayerPipetteEvent extends EventData {
2659
2659
  /**
@@ -2683,7 +2683,7 @@ declare module "factorio:runtime" {
2683
2683
  }
2684
2684
  /**
2685
2685
  * Called after the player puts equipment in an equipment grid
2686
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_placed_equipment Online documentation}
2686
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_placed_equipment Online documentation}
2687
2687
  */
2688
2688
  interface OnPlayerPlacedEquipmentEvent extends EventData {
2689
2689
  readonly player_index: PlayerIndex
@@ -2706,7 +2706,7 @@ declare module "factorio:runtime" {
2706
2706
  }
2707
2707
  /**
2708
2708
  * Called when a player is promoted.
2709
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_promoted Online documentation}
2709
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_promoted Online documentation}
2710
2710
  */
2711
2711
  interface OnPlayerPromotedEvent extends EventData {
2712
2712
  /**
@@ -2724,7 +2724,7 @@ declare module "factorio:runtime" {
2724
2724
  }
2725
2725
  /**
2726
2726
  * Called when a player is removed (deleted) from the game. This is markedly different from a player temporarily {@link OnPlayerLeftGameEvent leaving} the game, and instead behaves like the player never existed in the save file.
2727
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_removed Online documentation}
2727
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_removed Online documentation}
2728
2728
  */
2729
2729
  interface OnPlayerRemovedEvent extends EventData {
2730
2730
  /**
@@ -2742,7 +2742,7 @@ declare module "factorio:runtime" {
2742
2742
  }
2743
2743
  /**
2744
2744
  * Called after the player removes equipment from an equipment grid
2745
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_removed_equipment Online documentation}
2745
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_removed_equipment Online documentation}
2746
2746
  */
2747
2747
  interface OnPlayerRemovedEquipmentEvent extends EventData {
2748
2748
  readonly player_index: PlayerIndex
@@ -2775,7 +2775,7 @@ declare module "factorio:runtime" {
2775
2775
  * Called when a player repairs an entity.
2776
2776
  *
2777
2777
  * Event filter: [LuaPlayerRepairedEntityEventFilter](LuaPlayerRepairedEntityEventFilter]
2778
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_repaired_entity Online documentation}
2778
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_repaired_entity Online documentation}
2779
2779
  */
2780
2780
  interface OnPlayerRepairedEntityEvent extends EventData {
2781
2781
  readonly player_index: PlayerIndex
@@ -2791,7 +2791,7 @@ declare module "factorio:runtime" {
2791
2791
  }
2792
2792
  /**
2793
2793
  * Called after a player respawns.
2794
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_respawned Online documentation}
2794
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_respawned Online documentation}
2795
2795
  */
2796
2796
  interface OnPlayerRespawnedEvent extends EventData {
2797
2797
  readonly player_index: PlayerIndex
@@ -2810,7 +2810,7 @@ declare module "factorio:runtime" {
2810
2810
  }
2811
2811
  /**
2812
2812
  * Called after a player reverse-selects an area with a selection-tool item.
2813
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_reverse_selected_area Online documentation}
2813
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_reverse_selected_area Online documentation}
2814
2814
  */
2815
2815
  interface OnPlayerReverseSelectedAreaEvent extends EventData {
2816
2816
  /**
@@ -2850,7 +2850,7 @@ declare module "factorio:runtime" {
2850
2850
  * Called when the player rotates an entity. This event is only fired when the entity actually changes its orientation -- pressing the rotate key on an entity that can't be rotated won't fire this event.
2851
2851
  *
2852
2852
  * Entities being flipped will not fire this event, even if the flip involves rotating. See {@link OnPlayerFlippedEntityEvent on_player_flipped_entity}.
2853
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_rotated_entity Online documentation}
2853
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_rotated_entity Online documentation}
2854
2854
  */
2855
2855
  interface OnPlayerRotatedEntityEvent extends EventData {
2856
2856
  /**
@@ -2873,7 +2873,7 @@ declare module "factorio:runtime" {
2873
2873
  }
2874
2874
  /**
2875
2875
  * Called after a player selects an area with a selection-tool item.
2876
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_selected_area Online documentation}
2876
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_selected_area Online documentation}
2877
2877
  */
2878
2878
  interface OnPlayerSelectedAreaEvent extends EventData {
2879
2879
  /**
@@ -2915,7 +2915,7 @@ declare module "factorio:runtime" {
2915
2915
  }
2916
2916
  /**
2917
2917
  * Called when a player sets a quickbar slot to anything (new value, or set to empty).
2918
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_set_quick_bar_slot Online documentation}
2918
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_set_quick_bar_slot Online documentation}
2919
2919
  */
2920
2920
  interface OnPlayerSetQuickBarSlotEvent extends EventData {
2921
2921
  readonly player_index: PlayerIndex
@@ -2930,7 +2930,7 @@ declare module "factorio:runtime" {
2930
2930
  }
2931
2931
  /**
2932
2932
  * Called when a player selects an area with a blueprint.
2933
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_setup_blueprint Online documentation}
2933
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_setup_blueprint Online documentation}
2934
2934
  */
2935
2935
  interface OnPlayerSetupBlueprintEvent extends EventData {
2936
2936
  /**
@@ -2980,7 +2980,7 @@ declare module "factorio:runtime" {
2980
2980
  }
2981
2981
  /**
2982
2982
  * Called when a player toggles alt mode, also known as "show entity info".
2983
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_toggled_alt_mode Online documentation}
2983
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_toggled_alt_mode Online documentation}
2984
2984
  */
2985
2985
  interface OnPlayerToggledAltModeEvent extends EventData {
2986
2986
  readonly player_index: PlayerIndex
@@ -2999,7 +2999,7 @@ declare module "factorio:runtime" {
2999
2999
  }
3000
3000
  /**
3001
3001
  * Called when a player toggles the map editor on or off.
3002
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_toggled_map_editor Online documentation}
3002
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_toggled_map_editor Online documentation}
3003
3003
  */
3004
3004
  interface OnPlayerToggledMapEditorEvent extends EventData {
3005
3005
  readonly player_index: PlayerIndex
@@ -3014,7 +3014,7 @@ declare module "factorio:runtime" {
3014
3014
  }
3015
3015
  /**
3016
3016
  * Called after a players trash inventory changed in some way.
3017
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_trash_inventory_changed Online documentation}
3017
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_trash_inventory_changed Online documentation}
3018
3018
  */
3019
3019
  interface OnPlayerTrashInventoryChangedEvent extends EventData {
3020
3020
  readonly player_index: PlayerIndex
@@ -3029,7 +3029,7 @@ declare module "factorio:runtime" {
3029
3029
  }
3030
3030
  /**
3031
3031
  * Called when a player is un-banned.
3032
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_unbanned Online documentation}
3032
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_unbanned Online documentation}
3033
3033
  */
3034
3034
  interface OnPlayerUnbannedEvent extends EventData {
3035
3035
  /**
@@ -3059,7 +3059,7 @@ declare module "factorio:runtime" {
3059
3059
  }
3060
3060
  /**
3061
3061
  * Called when a player is unmuted.
3062
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_unmuted Online documentation}
3062
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_unmuted Online documentation}
3063
3063
  */
3064
3064
  interface OnPlayerUnmutedEvent extends EventData {
3065
3065
  /**
@@ -3077,7 +3077,7 @@ declare module "factorio:runtime" {
3077
3077
  }
3078
3078
  /**
3079
3079
  * Called when a player uses a capsule that results in some game action.
3080
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_used_capsule Online documentation}
3080
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_used_capsule Online documentation}
3081
3081
  */
3082
3082
  interface OnPlayerUsedCapsuleEvent extends EventData {
3083
3083
  /**
@@ -3107,7 +3107,7 @@ declare module "factorio:runtime" {
3107
3107
  }
3108
3108
  /**
3109
3109
  * Called when a player uses spidertron remote to send all selected units to a given position
3110
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_player_used_spidertron_remote Online documentation}
3110
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_player_used_spidertron_remote Online documentation}
3111
3111
  */
3112
3112
  interface OnPlayerUsedSpidertronRemoteEvent extends EventData {
3113
3113
  /**
@@ -3131,7 +3131,7 @@ declare module "factorio:runtime" {
3131
3131
  * Called after an entity dies.
3132
3132
  *
3133
3133
  * Event filter: [LuaPostEntityDiedEventFilter](LuaPostEntityDiedEventFilter]
3134
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_post_entity_died Online documentation}
3134
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_post_entity_died Online documentation}
3135
3135
  */
3136
3136
  interface OnPostEntityDiedEvent extends EventData {
3137
3137
  /**
@@ -3181,7 +3181,7 @@ declare module "factorio:runtime" {
3181
3181
  }
3182
3182
  /**
3183
3183
  * Called when players uses an item to build something. Called before {@link OnBuiltEntityEvent on_built_entity}.
3184
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_build Online documentation}
3184
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_build Online documentation}
3185
3185
  */
3186
3186
  interface OnPreBuildEvent extends EventData {
3187
3187
  /**
@@ -3227,7 +3227,7 @@ declare module "factorio:runtime" {
3227
3227
  }
3228
3228
  /**
3229
3229
  * Called before one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}.
3230
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_chunk_deleted Online documentation}
3230
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_chunk_deleted Online documentation}
3231
3231
  */
3232
3232
  interface OnPreChunkDeletedEvent extends EventData {
3233
3233
  readonly surface_index: SurfaceIndex
@@ -3246,7 +3246,7 @@ declare module "factorio:runtime" {
3246
3246
  }
3247
3247
  /**
3248
3248
  * Called before entity copy-paste is done.
3249
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_entity_settings_pasted Online documentation}
3249
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_entity_settings_pasted Online documentation}
3250
3250
  */
3251
3251
  interface OnPreEntitySettingsPastedEvent extends EventData {
3252
3252
  readonly player_index: PlayerIndex
@@ -3273,7 +3273,7 @@ declare module "factorio:runtime" {
3273
3273
  * Also called for item request proxies before they are destroyed as a result of being marked for deconstruction.
3274
3274
  *
3275
3275
  * Event filter: [LuaPreGhostDeconstructedEventFilter](LuaPreGhostDeconstructedEventFilter]
3276
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_ghost_deconstructed Online documentation}
3276
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_ghost_deconstructed Online documentation}
3277
3277
  */
3278
3278
  interface OnPreGhostDeconstructedEvent extends EventData {
3279
3279
  /**
@@ -3294,7 +3294,7 @@ declare module "factorio:runtime" {
3294
3294
  * Called before a ghost entity is upgraded.
3295
3295
  *
3296
3296
  * Event filter: [LuaPreGhostUpgradedEventFilter](LuaPreGhostUpgradedEventFilter]
3297
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_ghost_upgraded Online documentation}
3297
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_ghost_upgraded Online documentation}
3298
3298
  */
3299
3299
  interface OnPreGhostUpgradedEvent extends EventData {
3300
3300
  /**
@@ -3315,7 +3315,7 @@ declare module "factorio:runtime" {
3315
3315
  }
3316
3316
  /**
3317
3317
  * Called directly before a permission group is deleted.
3318
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_permission_group_deleted Online documentation}
3318
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_permission_group_deleted Online documentation}
3319
3319
  */
3320
3320
  interface OnPrePermissionGroupDeletedEvent extends EventData {
3321
3321
  /**
@@ -3337,7 +3337,7 @@ declare module "factorio:runtime" {
3337
3337
  }
3338
3338
  /**
3339
3339
  * Called directly before a permission string is imported.
3340
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_permission_string_imported Online documentation}
3340
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_permission_string_imported Online documentation}
3341
3341
  */
3342
3342
  interface OnPrePermissionStringImportedEvent extends EventData {
3343
3343
  /**
@@ -3355,7 +3355,7 @@ declare module "factorio:runtime" {
3355
3355
  }
3356
3356
  /**
3357
3357
  * Called when a player queues something to be crafted.
3358
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_player_crafted_item Online documentation}
3358
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_player_crafted_item Online documentation}
3359
3359
  */
3360
3360
  interface OnPrePlayerCraftedItemEvent extends EventData {
3361
3361
  /**
@@ -3385,7 +3385,7 @@ declare module "factorio:runtime" {
3385
3385
  }
3386
3386
  /**
3387
3387
  * Called before a players dies.
3388
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_player_died Online documentation}
3388
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_player_died Online documentation}
3389
3389
  */
3390
3390
  interface OnPrePlayerDiedEvent extends EventData {
3391
3391
  readonly player_index: PlayerIndex
@@ -3401,7 +3401,7 @@ declare module "factorio:runtime" {
3401
3401
  }
3402
3402
  /**
3403
3403
  * Called before a player leaves the game.
3404
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_player_left_game Online documentation}
3404
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_player_left_game Online documentation}
3405
3405
  */
3406
3406
  interface OnPrePlayerLeftGameEvent extends EventData {
3407
3407
  readonly player_index: PlayerIndex
@@ -3419,7 +3419,7 @@ declare module "factorio:runtime" {
3419
3419
  * Called when the player completes a mining action, but before the entity is potentially removed from the map. This is called even if the entity does not end up being removed.
3420
3420
  *
3421
3421
  * Event filter: [LuaPrePlayerMinedEntityEventFilter](LuaPrePlayerMinedEntityEventFilter]
3422
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_player_mined_item Online documentation}
3422
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_player_mined_item Online documentation}
3423
3423
  */
3424
3424
  interface OnPrePlayerMinedItemEvent extends EventData {
3425
3425
  /**
@@ -3438,7 +3438,7 @@ declare module "factorio:runtime" {
3438
3438
  }
3439
3439
  /**
3440
3440
  * Called before a player is removed (deleted) from the game. This is markedly different from a player temporarily {@link OnPlayerLeftGameEvent leaving} the game, and instead behaves like the player never existed in the save file.
3441
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_player_removed Online documentation}
3441
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_player_removed Online documentation}
3442
3442
  */
3443
3443
  interface OnPrePlayerRemovedEvent extends EventData {
3444
3444
  /**
@@ -3456,7 +3456,7 @@ declare module "factorio:runtime" {
3456
3456
  }
3457
3457
  /**
3458
3458
  * Called before a player toggles the map editor on or off.
3459
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_player_toggled_map_editor Online documentation}
3459
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_player_toggled_map_editor Online documentation}
3460
3460
  */
3461
3461
  interface OnPrePlayerToggledMapEditorEvent extends EventData {
3462
3462
  readonly player_index: PlayerIndex
@@ -3471,7 +3471,7 @@ declare module "factorio:runtime" {
3471
3471
  }
3472
3472
  /**
3473
3473
  * Called directly before a robot explodes cliffs.
3474
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_robot_exploded_cliff Online documentation}
3474
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_robot_exploded_cliff Online documentation}
3475
3475
  */
3476
3476
  interface OnPreRobotExplodedCliffEvent extends EventData {
3477
3477
  readonly robot: LuaEntity
@@ -3495,7 +3495,7 @@ declare module "factorio:runtime" {
3495
3495
  }
3496
3496
  /**
3497
3497
  * Called just before the scenario finishes.
3498
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_scenario_finished Online documentation}
3498
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_scenario_finished Online documentation}
3499
3499
  */
3500
3500
  interface OnPreScenarioFinishedEvent extends EventData {
3501
3501
  /**
@@ -3513,7 +3513,7 @@ declare module "factorio:runtime" {
3513
3513
  }
3514
3514
  /**
3515
3515
  * Called just before a script inventory is resized.
3516
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_script_inventory_resized Online documentation}
3516
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_script_inventory_resized Online documentation}
3517
3517
  */
3518
3518
  interface OnPreScriptInventoryResizedEvent extends EventData {
3519
3519
  /**
@@ -3544,7 +3544,7 @@ declare module "factorio:runtime" {
3544
3544
  }
3545
3545
  /**
3546
3546
  * Called just before a surface is cleared (all entities removed and all chunks deleted).
3547
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_surface_cleared Online documentation}
3547
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_surface_cleared Online documentation}
3548
3548
  */
3549
3549
  interface OnPreSurfaceClearedEvent extends EventData {
3550
3550
  readonly surface_index: SurfaceIndex
@@ -3559,7 +3559,7 @@ declare module "factorio:runtime" {
3559
3559
  }
3560
3560
  /**
3561
3561
  * Called just before a surface is deleted.
3562
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_pre_surface_deleted Online documentation}
3562
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_pre_surface_deleted Online documentation}
3563
3563
  */
3564
3564
  interface OnPreSurfaceDeletedEvent extends EventData {
3565
3565
  readonly surface_index: SurfaceIndex
@@ -3574,7 +3574,7 @@ declare module "factorio:runtime" {
3574
3574
  }
3575
3575
  /**
3576
3576
  * Called when the player triggers "redo".
3577
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_redo_applied Online documentation}
3577
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_redo_applied Online documentation}
3578
3578
  */
3579
3579
  interface OnRedoAppliedEvent extends EventData {
3580
3580
  /**
@@ -3596,7 +3596,7 @@ declare module "factorio:runtime" {
3596
3596
  }
3597
3597
  /**
3598
3598
  * Called when research is cancelled.
3599
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_research_cancelled Online documentation}
3599
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_research_cancelled Online documentation}
3600
3600
  */
3601
3601
  interface OnResearchCancelledEvent extends EventData {
3602
3602
  /**
@@ -3618,7 +3618,7 @@ declare module "factorio:runtime" {
3618
3618
  }
3619
3619
  /**
3620
3620
  * Called when a research finishes.
3621
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_research_finished Online documentation}
3621
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_research_finished Online documentation}
3622
3622
  */
3623
3623
  interface OnResearchFinishedEvent extends EventData {
3624
3624
  /**
@@ -3640,7 +3640,7 @@ declare module "factorio:runtime" {
3640
3640
  }
3641
3641
  /**
3642
3642
  * Called when research is moved forwards or backwards in the research queue.
3643
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_research_moved Online documentation}
3643
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_research_moved Online documentation}
3644
3644
  */
3645
3645
  interface OnResearchMovedEvent extends EventData {
3646
3646
  /**
@@ -3658,7 +3658,7 @@ declare module "factorio:runtime" {
3658
3658
  }
3659
3659
  /**
3660
3660
  * Called when a research is reversed (unresearched).
3661
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_research_reversed Online documentation}
3661
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_research_reversed Online documentation}
3662
3662
  */
3663
3663
  interface OnResearchReversedEvent extends EventData {
3664
3664
  /**
@@ -3680,7 +3680,7 @@ declare module "factorio:runtime" {
3680
3680
  }
3681
3681
  /**
3682
3682
  * Called when a technology research starts.
3683
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_research_started Online documentation}
3683
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_research_started Online documentation}
3684
3684
  */
3685
3685
  interface OnResearchStartedEvent extends EventData {
3686
3686
  /**
@@ -3699,7 +3699,7 @@ declare module "factorio:runtime" {
3699
3699
  }
3700
3700
  /**
3701
3701
  * Called when a resource entity reaches 0 or its minimum yield for infinite resources.
3702
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_resource_depleted Online documentation}
3702
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_resource_depleted Online documentation}
3703
3703
  */
3704
3704
  interface OnResourceDepletedEvent extends EventData {
3705
3705
  readonly entity: LuaEntity
@@ -3716,7 +3716,7 @@ declare module "factorio:runtime" {
3716
3716
  * Called when a construction robot builds an entity.
3717
3717
  *
3718
3718
  * Event filter: [LuaRobotBuiltEntityEventFilter](LuaRobotBuiltEntityEventFilter]
3719
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_built_entity Online documentation}
3719
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_built_entity Online documentation}
3720
3720
  */
3721
3721
  interface OnRobotBuiltEntityEvent extends EventData {
3722
3722
  /**
@@ -3746,7 +3746,7 @@ declare module "factorio:runtime" {
3746
3746
  }
3747
3747
  /**
3748
3748
  * Called after a robot builds tiles.
3749
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_built_tile Online documentation}
3749
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_built_tile Online documentation}
3750
3750
  */
3751
3751
  interface OnRobotBuiltTileEvent extends EventData {
3752
3752
  /**
@@ -3788,7 +3788,7 @@ declare module "factorio:runtime" {
3788
3788
  }
3789
3789
  /**
3790
3790
  * Called directly after a robot explodes cliffs.
3791
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_exploded_cliff Online documentation}
3791
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_exploded_cliff Online documentation}
3792
3792
  */
3793
3793
  interface OnRobotExplodedCliffEvent extends EventData {
3794
3794
  readonly robot: LuaEntity
@@ -3811,7 +3811,7 @@ declare module "factorio:runtime" {
3811
3811
  }
3812
3812
  /**
3813
3813
  * Called when a robot mines an entity.
3814
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_mined Online documentation}
3814
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_mined Online documentation}
3815
3815
  */
3816
3816
  interface OnRobotMinedEvent extends EventData {
3817
3817
  /**
@@ -3839,7 +3839,7 @@ declare module "factorio:runtime" {
3839
3839
  * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it.
3840
3840
  *
3841
3841
  * Event filter: [LuaRobotMinedEntityEventFilter](LuaRobotMinedEntityEventFilter]
3842
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_mined_entity Online documentation}
3842
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_mined_entity Online documentation}
3843
3843
  */
3844
3844
  interface OnRobotMinedEntityEvent extends EventData {
3845
3845
  /**
@@ -3865,7 +3865,7 @@ declare module "factorio:runtime" {
3865
3865
  }
3866
3866
  /**
3867
3867
  * Called after a robot mines tiles.
3868
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_mined_tile Online documentation}
3868
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_mined_tile Online documentation}
3869
3869
  */
3870
3870
  interface OnRobotMinedTileEvent extends EventData {
3871
3871
  /**
@@ -3893,7 +3893,7 @@ declare module "factorio:runtime" {
3893
3893
  * Called before a robot mines an entity.
3894
3894
  *
3895
3895
  * Event filter: [LuaPreRobotMinedEntityEventFilter](LuaPreRobotMinedEntityEventFilter]
3896
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_robot_pre_mined Online documentation}
3896
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_robot_pre_mined Online documentation}
3897
3897
  */
3898
3898
  interface OnRobotPreMinedEvent extends EventData {
3899
3899
  /**
@@ -3915,7 +3915,7 @@ declare module "factorio:runtime" {
3915
3915
  }
3916
3916
  /**
3917
3917
  * Called when a rocket silo is ordered to be launched.
3918
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_rocket_launch_ordered Online documentation}
3918
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_rocket_launch_ordered Online documentation}
3919
3919
  */
3920
3920
  interface OnRocketLaunchOrderedEvent extends EventData {
3921
3921
  readonly rocket: LuaEntity
@@ -3935,7 +3935,7 @@ declare module "factorio:runtime" {
3935
3935
  }
3936
3936
  /**
3937
3937
  * Called when a rocket finishes ascending. (Triggers listening for finished rocket launch past 2.0 have been moved to 'on_cargo_pod_finished_ascending' as rocket and cargo pod are two separate entities)
3938
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_rocket_launched Online documentation}
3938
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_rocket_launched Online documentation}
3939
3939
  */
3940
3940
  interface OnRocketLaunchedEvent extends EventData {
3941
3941
  readonly rocket: LuaEntity
@@ -3951,7 +3951,7 @@ declare module "factorio:runtime" {
3951
3951
  }
3952
3952
  /**
3953
3953
  * Called when a runtime mod setting is changed by a player.
3954
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_runtime_mod_setting_changed Online documentation}
3954
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_runtime_mod_setting_changed Online documentation}
3955
3955
  */
3956
3956
  interface OnRuntimeModSettingChangedEvent extends EventData {
3957
3957
  /**
@@ -3974,7 +3974,7 @@ declare module "factorio:runtime" {
3974
3974
  }
3975
3975
  /**
3976
3976
  * Called just after a script inventory is resized.
3977
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_script_inventory_resized Online documentation}
3977
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_script_inventory_resized Online documentation}
3978
3978
  */
3979
3979
  interface OnScriptInventoryResizedEvent extends EventData {
3980
3980
  /**
@@ -4009,7 +4009,7 @@ declare module "factorio:runtime" {
4009
4009
  }
4010
4010
  /**
4011
4011
  * Called when a {@link LuaSurface#request_path LuaSurface::request_path} call completes.
4012
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_script_path_request_finished Online documentation}
4012
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_script_path_request_finished Online documentation}
4013
4013
  */
4014
4014
  interface OnScriptPathRequestFinishedEvent extends EventData {
4015
4015
  /**
@@ -4035,7 +4035,7 @@ declare module "factorio:runtime" {
4035
4035
  }
4036
4036
  /**
4037
4037
  * Called when a script trigger effect is triggered.
4038
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_script_trigger_effect Online documentation}
4038
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_script_trigger_effect Online documentation}
4039
4039
  */
4040
4040
  interface OnScriptTriggerEffectEvent extends EventData {
4041
4041
  /**
@@ -4068,7 +4068,7 @@ declare module "factorio:runtime" {
4068
4068
  * Called when an entity of type `radar` finishes scanning a sector.
4069
4069
  *
4070
4070
  * Event filter: [LuaSectorScannedEventFilter](LuaSectorScannedEventFilter]
4071
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_sector_scanned Online documentation}
4071
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_sector_scanned Online documentation}
4072
4072
  */
4073
4073
  interface OnSectorScannedEvent extends EventData {
4074
4074
  /**
@@ -4094,7 +4094,7 @@ declare module "factorio:runtime" {
4094
4094
  }
4095
4095
  /**
4096
4096
  * Called when an individual segment of a SegmentedUnit is created.
4097
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_segment_entity_created Online documentation}
4097
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_segment_entity_created Online documentation}
4098
4098
  */
4099
4099
  interface OnSegmentEntityCreatedEvent extends EventData {
4100
4100
  readonly entity: LuaEntity
@@ -4109,7 +4109,7 @@ declare module "factorio:runtime" {
4109
4109
  }
4110
4110
  /**
4111
4111
  * Called after the selected entity changes for a given player.
4112
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_selected_entity_changed Online documentation}
4112
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_selected_entity_changed Online documentation}
4113
4113
  */
4114
4114
  interface OnSelectedEntityChangedEvent extends EventData {
4115
4115
  /**
@@ -4131,7 +4131,7 @@ declare module "factorio:runtime" {
4131
4131
  }
4132
4132
  /**
4133
4133
  * Called when {@link LuaGameScript#is_multiplayer LuaGameScript::is_multiplayer} changes to false. May also be raised when it was already false but a game was loaded from a save file without hosting.
4134
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_singleplayer_init Online documentation}
4134
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_singleplayer_init Online documentation}
4135
4135
  */
4136
4136
  interface OnSingleplayerInitEvent extends EventData {
4137
4137
  /**
@@ -4147,7 +4147,7 @@ declare module "factorio:runtime" {
4147
4147
  * Called when a space platform builds an entity.
4148
4148
  *
4149
4149
  * Event filter: [LuaPlatformBuiltEntityEventFilter](LuaPlatformBuiltEntityEventFilter]
4150
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_built_entity Online documentation}
4150
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_built_entity Online documentation}
4151
4151
  */
4152
4152
  interface OnSpacePlatformBuiltEntityEvent extends EventData {
4153
4153
  /**
@@ -4177,7 +4177,7 @@ declare module "factorio:runtime" {
4177
4177
  }
4178
4178
  /**
4179
4179
  * Called after a space platform builds tiles.
4180
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_built_tile Online documentation}
4180
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_built_tile Online documentation}
4181
4181
  */
4182
4182
  interface OnSpacePlatformBuiltTileEvent extends EventData {
4183
4183
  /**
@@ -4219,7 +4219,7 @@ declare module "factorio:runtime" {
4219
4219
  }
4220
4220
  /**
4221
4221
  * Called when a space platform changes state
4222
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_changed_state Online documentation}
4222
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_changed_state Online documentation}
4223
4223
  */
4224
4224
  interface OnSpacePlatformChangedStateEvent extends EventData {
4225
4225
  readonly platform: LuaSpacePlatform
@@ -4241,7 +4241,7 @@ declare module "factorio:runtime" {
4241
4241
  * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it.
4242
4242
  *
4243
4243
  * Event filter: [LuaPlatformMinedEntityEventFilter](LuaPlatformMinedEntityEventFilter]
4244
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_mined_entity Online documentation}
4244
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_mined_entity Online documentation}
4245
4245
  */
4246
4246
  interface OnSpacePlatformMinedEntityEvent extends EventData {
4247
4247
  /**
@@ -4267,7 +4267,7 @@ declare module "factorio:runtime" {
4267
4267
  }
4268
4268
  /**
4269
4269
  * Called when a platform mines an entity.
4270
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_mined_item Online documentation}
4270
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_mined_item Online documentation}
4271
4271
  */
4272
4272
  interface OnSpacePlatformMinedItemEvent extends EventData {
4273
4273
  /**
@@ -4289,7 +4289,7 @@ declare module "factorio:runtime" {
4289
4289
  }
4290
4290
  /**
4291
4291
  * Called after a platform mines tiles.
4292
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_mined_tile Online documentation}
4292
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_mined_tile Online documentation}
4293
4293
  */
4294
4294
  interface OnSpacePlatformMinedTileEvent extends EventData {
4295
4295
  /**
@@ -4317,7 +4317,7 @@ declare module "factorio:runtime" {
4317
4317
  * Called before a platform mines an entity.
4318
4318
  *
4319
4319
  * Event filter: [LuaPrePlatformMinedEntityEventFilter](LuaPrePlatformMinedEntityEventFilter]
4320
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_space_platform_pre_mined Online documentation}
4320
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_space_platform_pre_mined Online documentation}
4321
4321
  */
4322
4322
  interface OnSpacePlatformPreMinedEvent extends EventData {
4323
4323
  /**
@@ -4339,7 +4339,7 @@ declare module "factorio:runtime" {
4339
4339
  }
4340
4340
  /**
4341
4341
  * Called when a spider finishes moving to its autopilot position.
4342
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_spider_command_completed Online documentation}
4342
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_spider_command_completed Online documentation}
4343
4343
  */
4344
4344
  interface OnSpiderCommandCompletedEvent extends EventData {
4345
4345
  /**
@@ -4357,7 +4357,7 @@ declare module "factorio:runtime" {
4357
4357
  }
4358
4358
  /**
4359
4359
  * Called when a translation request generated through {@link LuaPlayer#request_translation LuaPlayer::request_translation} or {@link LuaPlayer#request_translations LuaPlayer::request_translations} has been completed.
4360
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_string_translated Online documentation}
4360
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_string_translated Online documentation}
4361
4361
  */
4362
4362
  interface OnStringTranslatedEvent extends EventData {
4363
4363
  /**
@@ -4391,7 +4391,7 @@ declare module "factorio:runtime" {
4391
4391
  }
4392
4392
  /**
4393
4393
  * Called just after a surface is cleared (all entities removed and all chunks deleted).
4394
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_surface_cleared Online documentation}
4394
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_surface_cleared Online documentation}
4395
4395
  */
4396
4396
  interface OnSurfaceClearedEvent extends EventData {
4397
4397
  readonly surface_index: SurfaceIndex
@@ -4408,7 +4408,7 @@ declare module "factorio:runtime" {
4408
4408
  * Called when a surface is created.
4409
4409
  *
4410
4410
  * This is not called when the default surface is created as it will always exist.
4411
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_surface_created Online documentation}
4411
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_surface_created Online documentation}
4412
4412
  */
4413
4413
  interface OnSurfaceCreatedEvent extends EventData {
4414
4414
  readonly surface_index: SurfaceIndex
@@ -4423,7 +4423,7 @@ declare module "factorio:runtime" {
4423
4423
  }
4424
4424
  /**
4425
4425
  * Called after a surface is deleted.
4426
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_surface_deleted Online documentation}
4426
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_surface_deleted Online documentation}
4427
4427
  */
4428
4428
  interface OnSurfaceDeletedEvent extends EventData {
4429
4429
  readonly surface_index: SurfaceIndex
@@ -4438,7 +4438,7 @@ declare module "factorio:runtime" {
4438
4438
  }
4439
4439
  /**
4440
4440
  * Called after a surface is imported via the map editor.
4441
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_surface_imported Online documentation}
4441
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_surface_imported Online documentation}
4442
4442
  */
4443
4443
  interface OnSurfaceImportedEvent extends EventData {
4444
4444
  readonly surface_index: SurfaceIndex
@@ -4457,7 +4457,7 @@ declare module "factorio:runtime" {
4457
4457
  }
4458
4458
  /**
4459
4459
  * Called when a surface is renamed.
4460
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_surface_renamed Online documentation}
4460
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_surface_renamed Online documentation}
4461
4461
  */
4462
4462
  interface OnSurfaceRenamedEvent extends EventData {
4463
4463
  readonly surface_index: SurfaceIndex
@@ -4474,7 +4474,7 @@ declare module "factorio:runtime" {
4474
4474
  }
4475
4475
  /**
4476
4476
  * Called when {@link LuaForce#reset_technology_effects LuaForce::reset_technology_effects} is finished.
4477
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_technology_effects_reset Online documentation}
4477
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_technology_effects_reset Online documentation}
4478
4478
  */
4479
4479
  interface OnTechnologyEffectsResetEvent extends EventData {
4480
4480
  readonly force: LuaForce
@@ -4489,7 +4489,7 @@ declare module "factorio:runtime" {
4489
4489
  }
4490
4490
  /**
4491
4491
  * It is fired once every tick. Since this event is fired every tick, its handler shouldn't include performance heavy code.
4492
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_tick Online documentation}
4492
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_tick Online documentation}
4493
4493
  */
4494
4494
  interface OnTickEvent extends EventData {
4495
4495
  /**
@@ -4503,7 +4503,7 @@ declare module "factorio:runtime" {
4503
4503
  }
4504
4504
  /**
4505
4505
  * Called when a train changes state (started to stopped and vice versa)
4506
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_train_changed_state Online documentation}
4506
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_train_changed_state Online documentation}
4507
4507
  */
4508
4508
  interface OnTrainChangedStateEvent extends EventData {
4509
4509
  readonly train: LuaTrain
@@ -4519,7 +4519,7 @@ declare module "factorio:runtime" {
4519
4519
  }
4520
4520
  /**
4521
4521
  * Called when a new train is created either through disconnecting/connecting an existing one or building a new one.
4522
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_train_created Online documentation}
4522
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_train_created Online documentation}
4523
4523
  */
4524
4524
  interface OnTrainCreatedEvent extends EventData {
4525
4525
  readonly train: LuaTrain
@@ -4542,7 +4542,7 @@ declare module "factorio:runtime" {
4542
4542
  }
4543
4543
  /**
4544
4544
  * Called when a trains schedule is changed either by the player or through script.
4545
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_train_schedule_changed Online documentation}
4545
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_train_schedule_changed Online documentation}
4546
4546
  */
4547
4547
  interface OnTrainScheduleChangedEvent extends EventData {
4548
4548
  readonly train: LuaTrain
@@ -4561,7 +4561,7 @@ declare module "factorio:runtime" {
4561
4561
  }
4562
4562
  /**
4563
4563
  * Called when an entity with a trigger prototype (such as capsules) create an entity AND that trigger prototype defined `trigger_created_entity=true`.
4564
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_trigger_created_entity Online documentation}
4564
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_trigger_created_entity Online documentation}
4565
4565
  */
4566
4566
  interface OnTriggerCreatedEntityEvent extends EventData {
4567
4567
  readonly entity: LuaEntity
@@ -4577,7 +4577,7 @@ declare module "factorio:runtime" {
4577
4577
  }
4578
4578
  /**
4579
4579
  * Called when an entity with a trigger prototype (such as capsules) fire an artillery projectile AND that trigger prototype defined `trigger_fired_artillery=true`.
4580
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_trigger_fired_artillery Online documentation}
4580
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_trigger_fired_artillery Online documentation}
4581
4581
  */
4582
4582
  interface OnTriggerFiredArtilleryEvent extends EventData {
4583
4583
  readonly entity: LuaEntity
@@ -4593,7 +4593,7 @@ declare module "factorio:runtime" {
4593
4593
  }
4594
4594
  /**
4595
4595
  * Called when the player triggers "undo".
4596
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_undo_applied Online documentation}
4596
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_undo_applied Online documentation}
4597
4597
  */
4598
4598
  interface OnUndoAppliedEvent extends EventData {
4599
4599
  /**
@@ -4615,7 +4615,7 @@ declare module "factorio:runtime" {
4615
4615
  }
4616
4616
  /**
4617
4617
  * Called when a unit is added to a unit group.
4618
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_unit_added_to_group Online documentation}
4618
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_unit_added_to_group Online documentation}
4619
4619
  */
4620
4620
  interface OnUnitAddedToGroupEvent extends EventData {
4621
4621
  readonly unit: LuaEntity
@@ -4631,7 +4631,7 @@ declare module "factorio:runtime" {
4631
4631
  }
4632
4632
  /**
4633
4633
  * Called when a new unit group is created, before any members are added to it.
4634
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_unit_group_created Online documentation}
4634
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_unit_group_created Online documentation}
4635
4635
  */
4636
4636
  interface OnUnitGroupCreatedEvent extends EventData {
4637
4637
  readonly group: LuaCommandable
@@ -4646,7 +4646,7 @@ declare module "factorio:runtime" {
4646
4646
  }
4647
4647
  /**
4648
4648
  * Called when a unit group finishes gathering and starts executing its command.
4649
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_unit_group_finished_gathering Online documentation}
4649
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_unit_group_finished_gathering Online documentation}
4650
4650
  */
4651
4651
  interface OnUnitGroupFinishedGatheringEvent extends EventData {
4652
4652
  readonly group: LuaCommandable
@@ -4661,7 +4661,7 @@ declare module "factorio:runtime" {
4661
4661
  }
4662
4662
  /**
4663
4663
  * Called when a unit is removed from a unit group.
4664
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_unit_removed_from_group Online documentation}
4664
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_unit_removed_from_group Online documentation}
4665
4665
  */
4666
4666
  interface OnUnitRemovedFromGroupEvent extends EventData {
4667
4667
  readonly unit: LuaEntity
@@ -4677,7 +4677,7 @@ declare module "factorio:runtime" {
4677
4677
  }
4678
4678
  /**
4679
4679
  * Called when a worker (construction or logistic) robot expires through a lack of energy.
4680
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#on_worker_robot_expired Online documentation}
4680
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#on_worker_robot_expired Online documentation}
4681
4681
  */
4682
4682
  interface OnWorkerRobotExpiredEvent extends EventData {
4683
4683
  readonly robot: LuaEntity
@@ -4694,7 +4694,7 @@ declare module "factorio:runtime" {
4694
4694
  * A static event mods can use to tell other mods they built something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_built LuaBootstrap::raise_script_built}, or when `raise_built` is passed to {@link LuaSurface#create_entity LuaSurface::create_entity}.
4695
4695
  *
4696
4696
  * Event filter: [LuaScriptRaisedBuiltEventFilter](LuaScriptRaisedBuiltEventFilter]
4697
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#script_raised_built Online documentation}
4697
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#script_raised_built Online documentation}
4698
4698
  */
4699
4699
  interface ScriptRaisedBuiltEvent extends EventData {
4700
4700
  /**
@@ -4714,7 +4714,7 @@ declare module "factorio:runtime" {
4714
4714
  * A static event mods can use to tell other mods they destroyed something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_destroy LuaBootstrap::raise_script_destroy}, or when `raise_destroy` is passed to {@link LuaEntity#destroy LuaEntity::destroy}.
4715
4715
  *
4716
4716
  * Event filter: [LuaScriptRaisedDestroyEventFilter](LuaScriptRaisedDestroyEventFilter]
4717
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#script_raised_destroy Online documentation}
4717
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#script_raised_destroy Online documentation}
4718
4718
  */
4719
4719
  interface ScriptRaisedDestroyEvent extends EventData {
4720
4720
  /**
@@ -4734,7 +4734,7 @@ declare module "factorio:runtime" {
4734
4734
  * A static event mods can use to tell other mods they revived something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_revive LuaBootstrap::raise_script_revive}, or when `raise_revive` is passed to {@link LuaEntity#revive LuaEntity::revive}.
4735
4735
  *
4736
4736
  * Event filter: [LuaScriptRaisedReviveEventFilter](LuaScriptRaisedReviveEventFilter]
4737
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#script_raised_revive Online documentation}
4737
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#script_raised_revive Online documentation}
4738
4738
  */
4739
4739
  interface ScriptRaisedReviveEvent extends EventData {
4740
4740
  /**
@@ -4756,7 +4756,7 @@ declare module "factorio:runtime" {
4756
4756
  }
4757
4757
  /**
4758
4758
  * A static event mods can use to tell other mods they changed tiles on a surface by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_set_tiles LuaBootstrap::raise_script_set_tiles}, or when `raise_event` is passed to {@link LuaSurface#set_tiles LuaSurface::set_tiles}.
4759
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#script_raised_set_tiles Online documentation}
4759
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#script_raised_set_tiles Online documentation}
4760
4760
  */
4761
4761
  interface ScriptRaisedSetTilesEvent extends EventData {
4762
4762
  /**
@@ -4780,7 +4780,7 @@ declare module "factorio:runtime" {
4780
4780
  * A static event mods can use to tell other mods they teleported something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_teleported LuaBootstrap::raise_script_teleported}, or when `raise_teleported` is passed to {@link LuaControl#teleport LuaControl::teleport}.
4781
4781
  *
4782
4782
  * Event filter: [LuaScriptRaisedTeleportedEventFilter](LuaScriptRaisedTeleportedEventFilter]
4783
- * @see {@link https://lua-api.factorio.com/2.0.52/events.html#script_raised_teleported Online documentation}
4783
+ * @see {@link https://lua-api.factorio.com/2.0.55/events.html#script_raised_teleported Online documentation}
4784
4784
  */
4785
4785
  interface ScriptRaisedTeleportedEvent extends EventData {
4786
4786
  /**