typed-factorio 2.9.0 → 2.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ declare module "factorio:runtime" {
12
12
  * script.on_event("my-potato-control", function(event)
13
13
  * game.print("Keyboard shortcut pressed on tick: " ..tostring(event.tick))
14
14
  * end)
15
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#CustomInputEvent Online documentation}
15
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#CustomInputEvent Online documentation}
16
16
  */
17
17
  interface CustomInputEvent extends EventData {
18
18
  /**
@@ -46,7 +46,7 @@ declare module "factorio:runtime" {
46
46
  }
47
47
  /**
48
48
  * Called when a unit/group completes a command.
49
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_ai_command_completed Online documentation}
49
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_ai_command_completed Online documentation}
50
50
  */
51
51
  interface OnAiCommandCompletedEvent extends EventData {
52
52
  /**
@@ -69,7 +69,7 @@ declare module "factorio:runtime" {
69
69
  }
70
70
  /**
71
71
  * Called when an area of the map is cloned.
72
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_area_cloned Online documentation}
72
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_area_cloned Online documentation}
73
73
  */
74
74
  interface OnAreaClonedEvent extends EventData {
75
75
  readonly source_surface: LuaSurface
@@ -94,7 +94,7 @@ declare module "factorio:runtime" {
94
94
  /**
95
95
  * Called when a biter migration builds a base.
96
96
  * @remarks This will be called multiple times for each migration, once for every biter that is sacrificed to build part of the new base.
97
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_biter_base_built Online documentation}
97
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_biter_base_built Online documentation}
98
98
  */
99
99
  interface OnBiterBaseBuiltEvent extends EventData {
100
100
  /**
@@ -112,7 +112,7 @@ declare module "factorio:runtime" {
112
112
  }
113
113
  /**
114
114
  * Called when a set of positions on the map is cloned.
115
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_brush_cloned Online documentation}
115
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_brush_cloned Online documentation}
116
116
  */
117
117
  interface OnBrushClonedEvent extends EventData {
118
118
  readonly source_offset: TilePosition
@@ -137,7 +137,7 @@ declare module "factorio:runtime" {
137
137
  }
138
138
  /**
139
139
  * Called when a {@link defines.command.build_base} command reaches its destination, and before building starts.
140
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_build_base_arrived Online documentation}
140
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_build_base_arrived Online documentation}
141
141
  */
142
142
  interface OnBuildBaseArrivedEvent extends EventData {
143
143
  /**
@@ -159,7 +159,7 @@ declare module "factorio:runtime" {
159
159
  }
160
160
  /**
161
161
  * Called when player builds something. Can be filtered using {@link LuaPlayerBuiltEntityEventFilter}.
162
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_built_entity Online documentation}
162
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_built_entity Online documentation}
163
163
  */
164
164
  interface OnBuiltEntityEvent extends EventData {
165
165
  readonly created_entity: LuaEntity
@@ -184,7 +184,7 @@ declare module "factorio:runtime" {
184
184
  }
185
185
  /**
186
186
  * Called when the deconstruction of an entity is canceled. Can be filtered using {@link LuaEntityDeconstructionCancelledEventFilter}.
187
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_cancelled_deconstruction Online documentation}
187
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_cancelled_deconstruction Online documentation}
188
188
  */
189
189
  interface OnCancelledDeconstructionEvent extends EventData {
190
190
  readonly entity: LuaEntity
@@ -200,7 +200,7 @@ declare module "factorio:runtime" {
200
200
  }
201
201
  /**
202
202
  * Called when the upgrade of an entity is canceled. Can be filtered using {@link LuaUpgradeCancelledEventFilter}.
203
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_cancelled_upgrade Online documentation}
203
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_cancelled_upgrade Online documentation}
204
204
  */
205
205
  interface OnCancelledUpgradeEvent extends EventData {
206
206
  readonly entity: LuaEntity
@@ -219,7 +219,7 @@ declare module "factorio:runtime" {
219
219
  /**
220
220
  * Called when a character corpse expires due to timeout or all of the items being removed from it.
221
221
  * @remarks this is not called if the corpse is mined. See {@link defines.events.on_pre_player_mined_item} to detect that.
222
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_character_corpse_expired Online documentation}
222
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_character_corpse_expired Online documentation}
223
223
  */
224
224
  interface OnCharacterCorpseExpiredEvent extends EventData {
225
225
  /**
@@ -237,7 +237,7 @@ declare module "factorio:runtime" {
237
237
  }
238
238
  /**
239
239
  * Called when a chart tag is created.
240
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_chart_tag_added Online documentation}
240
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_chart_tag_added Online documentation}
241
241
  */
242
242
  interface OnChartTagAddedEvent extends EventData {
243
243
  readonly tag: LuaCustomChartTag
@@ -254,7 +254,7 @@ declare module "factorio:runtime" {
254
254
  }
255
255
  /**
256
256
  * Called when a chart tag is modified by a player.
257
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_chart_tag_modified Online documentation}
257
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_chart_tag_modified Online documentation}
258
258
  */
259
259
  interface OnChartTagModifiedEvent extends EventData {
260
260
  readonly tag: LuaCustomChartTag
@@ -274,7 +274,7 @@ declare module "factorio:runtime" {
274
274
  }
275
275
  /**
276
276
  * Called just before a chart tag is deleted.
277
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_chart_tag_removed Online documentation}
277
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_chart_tag_removed Online documentation}
278
278
  */
279
279
  interface OnChartTagRemovedEvent extends EventData {
280
280
  readonly tag: LuaCustomChartTag
@@ -291,7 +291,7 @@ declare module "factorio:runtime" {
291
291
  }
292
292
  /**
293
293
  * Called when a chunk is charted or re-charted.
294
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_chunk_charted Online documentation}
294
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_chunk_charted Online documentation}
295
295
  */
296
296
  interface OnChunkChartedEvent extends EventData {
297
297
  readonly surface_index: SurfaceIndex
@@ -312,7 +312,7 @@ declare module "factorio:runtime" {
312
312
  }
313
313
  /**
314
314
  * Called when one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}.
315
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_chunk_deleted Online documentation}
315
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_chunk_deleted Online documentation}
316
316
  */
317
317
  interface OnChunkDeletedEvent extends EventData {
318
318
  readonly surface_index: SurfaceIndex
@@ -331,7 +331,7 @@ declare module "factorio:runtime" {
331
331
  }
332
332
  /**
333
333
  * Called when a chunk is generated.
334
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_chunk_generated Online documentation}
334
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_chunk_generated Online documentation}
335
335
  */
336
336
  interface OnChunkGeneratedEvent extends EventData {
337
337
  /**
@@ -357,7 +357,7 @@ declare module "factorio:runtime" {
357
357
  }
358
358
  /**
359
359
  * Called when a combat robot expires through a lack of energy, or timeout.
360
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_combat_robot_expired Online documentation}
360
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_combat_robot_expired Online documentation}
361
361
  */
362
362
  interface OnCombatRobotExpiredEvent extends EventData {
363
363
  readonly robot: LuaEntity
@@ -377,7 +377,7 @@ declare module "factorio:runtime" {
377
377
  /**
378
378
  * Called when a message is sent to the in-game console, either by a player or through the server interface.
379
379
  * @remarks This event only fires for plain messages, not for any commands (including `/shout` or `/whisper`).
380
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_console_chat Online documentation}
380
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_console_chat Online documentation}
381
381
  */
382
382
  interface OnConsoleChatEvent extends EventData {
383
383
  /**
@@ -399,7 +399,7 @@ declare module "factorio:runtime" {
399
399
  }
400
400
  /**
401
401
  * Called when someone enters a command-like message regardless of it being a valid command.
402
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_console_command Online documentation}
402
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_console_command Online documentation}
403
403
  */
404
404
  interface OnConsoleCommandEvent extends EventData {
405
405
  /**
@@ -425,7 +425,7 @@ declare module "factorio:runtime" {
425
425
  }
426
426
  /**
427
427
  * Called when a cutscene is cancelled by the player or by script.
428
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_cutscene_cancelled Online documentation}
428
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_cutscene_cancelled Online documentation}
429
429
  */
430
430
  interface OnCutsceneCancelledEvent extends EventData {
431
431
  /**
@@ -443,7 +443,7 @@ declare module "factorio:runtime" {
443
443
  }
444
444
  /**
445
445
  * Called when a cutscene finishes naturally (was not cancelled).
446
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_cutscene_finished Online documentation}
446
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_cutscene_finished Online documentation}
447
447
  */
448
448
  interface OnCutsceneFinishedEvent extends EventData {
449
449
  /**
@@ -461,7 +461,7 @@ declare module "factorio:runtime" {
461
461
  }
462
462
  /**
463
463
  * Called when a cutscene starts.
464
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_cutscene_started Online documentation}
464
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_cutscene_started Online documentation}
465
465
  */
466
466
  interface OnCutsceneStartedEvent extends EventData {
467
467
  /**
@@ -482,7 +482,7 @@ declare module "factorio:runtime" {
482
482
  *
483
483
  * This refers to an index in the table previously passed to set_controller which started the cutscene.
484
484
  * @remarks Due to implementation omission, waypoint_index is 0-based.
485
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_cutscene_waypoint_reached Online documentation}
485
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_cutscene_waypoint_reached Online documentation}
486
486
  */
487
487
  interface OnCutsceneWaypointReachedEvent extends EventData {
488
488
  /**
@@ -505,7 +505,7 @@ declare module "factorio:runtime" {
505
505
  /**
506
506
  * Called when the map difficulty settings are changed.
507
507
  * @remarks It's not guaranteed that both settings are changed - just that at least one has been changed.
508
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_difficulty_settings_changed Online documentation}
508
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_difficulty_settings_changed Online documentation}
509
509
  */
510
510
  interface OnDifficultySettingsChangedEvent extends EventData {
511
511
  readonly old_recipe_difficulty: uint
@@ -521,7 +521,7 @@ declare module "factorio:runtime" {
521
521
  }
522
522
  /**
523
523
  * Called when an entity is cloned. Can be filtered for the source entity using {@link LuaEntityClonedEventFilter}.
524
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_cloned Online documentation}
524
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_cloned Online documentation}
525
525
  */
526
526
  interface OnEntityClonedEvent extends EventData {
527
527
  readonly source: LuaEntity
@@ -538,7 +538,7 @@ declare module "factorio:runtime" {
538
538
  /**
539
539
  * Called after an entity has been recolored either by the player or through script.
540
540
  * @remarks Automatic recoloring due to {@link LuaPlayer#color LuaPlayer::color} will not raise events, as that is a separate mechanism.
541
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_color_changed Online documentation}
541
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_color_changed Online documentation}
542
542
  */
543
543
  interface OnEntityColorChangedEvent extends EventData {
544
544
  /**
@@ -557,7 +557,7 @@ declare module "factorio:runtime" {
557
557
  /**
558
558
  * Called when an entity is damaged. Can be filtered using {@link LuaEntityDamagedEventFilter}.
559
559
  * @remarks This is not called when an entities health is set directly by another mod.
560
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_damaged Online documentation}
560
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_damaged Online documentation}
561
561
  */
562
562
  interface OnEntityDamagedEvent extends EventData {
563
563
  readonly entity: LuaEntity
@@ -594,7 +594,7 @@ declare module "factorio:runtime" {
594
594
  /**
595
595
  * Called after an entity is destroyed that has been registered with {@link LuaBootstrap#register_on_entity_destroyed LuaBootstrap::register_on_entity_destroyed}.
596
596
  * @remarks Depending on when a given entity is destroyed, this event will be fired at the end of the current tick or at the end of the next tick.
597
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_destroyed Online documentation}
597
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_destroyed Online documentation}
598
598
  */
599
599
  interface OnEntityDestroyedEvent extends EventData {
600
600
  /**
@@ -616,7 +616,7 @@ declare module "factorio:runtime" {
616
616
  }
617
617
  /**
618
618
  * Called when an entity dies. Can be filtered using {@link LuaEntityDiedEventFilter}.
619
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_died Online documentation}
619
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_died Online documentation}
620
620
  */
621
621
  interface OnEntityDiedEvent extends EventData {
622
622
  /**
@@ -651,7 +651,7 @@ declare module "factorio:runtime" {
651
651
  /**
652
652
  * Called when one of an entity's personal logistic slots changes.
653
653
  * @remarks "Personal logistic slot" refers to a character or vehicle's personal request / auto-trash slots, not the request slots on logistic chests.
654
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_logistic_slot_changed Online documentation}
654
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_logistic_slot_changed Online documentation}
655
655
  */
656
656
  interface OnEntityLogisticSlotChangedEvent extends EventData {
657
657
  /**
@@ -677,7 +677,7 @@ declare module "factorio:runtime" {
677
677
  }
678
678
  /**
679
679
  * Called after an entity has been renamed either by the player or through script.
680
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_renamed Online documentation}
680
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_renamed Online documentation}
681
681
  */
682
682
  interface OnEntityRenamedEvent extends EventData {
683
683
  /**
@@ -698,7 +698,7 @@ declare module "factorio:runtime" {
698
698
  }
699
699
  /**
700
700
  * Called after entity copy-paste is done.
701
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_settings_pasted Online documentation}
701
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_settings_pasted Online documentation}
702
702
  */
703
703
  interface OnEntitySettingsPastedEvent extends EventData {
704
704
  readonly player_index: PlayerIndex
@@ -721,7 +721,7 @@ declare module "factorio:runtime" {
721
721
  }
722
722
  /**
723
723
  * Called when an entity is spawned by a EnemySpawner
724
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_entity_spawned Online documentation}
724
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_entity_spawned Online documentation}
725
725
  */
726
726
  interface OnEntitySpawnedEvent extends EventData {
727
727
  readonly spawner: LuaEntity
@@ -737,7 +737,7 @@ declare module "factorio:runtime" {
737
737
  }
738
738
  /**
739
739
  * Called after equipment is inserted into an equipment grid.
740
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_equipment_inserted Online documentation}
740
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_equipment_inserted Online documentation}
741
741
  */
742
742
  interface OnEquipmentInsertedEvent extends EventData {
743
743
  /**
@@ -759,7 +759,7 @@ declare module "factorio:runtime" {
759
759
  }
760
760
  /**
761
761
  * Called after equipment is removed from an equipment grid.
762
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_equipment_removed Online documentation}
762
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_equipment_removed Online documentation}
763
763
  */
764
764
  interface OnEquipmentRemovedEvent extends EventData {
765
765
  /**
@@ -785,7 +785,7 @@ declare module "factorio:runtime" {
785
785
  }
786
786
  /**
787
787
  * Called when the a forces cease fire values change.
788
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_force_cease_fire_changed Online documentation}
788
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_force_cease_fire_changed Online documentation}
789
789
  */
790
790
  interface OnForceCeaseFireChangedEvent extends EventData {
791
791
  /**
@@ -812,7 +812,7 @@ declare module "factorio:runtime" {
812
812
  /**
813
813
  * Called when a new force is created using `game.create_force()`
814
814
  * @remarks This is not called when the default forces (`'player'`, `'enemy'`, `'neutral'`) are created as they will always exist.
815
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_force_created Online documentation}
815
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_force_created Online documentation}
816
816
  */
817
817
  interface OnForceCreatedEvent extends EventData {
818
818
  /**
@@ -830,7 +830,7 @@ declare module "factorio:runtime" {
830
830
  }
831
831
  /**
832
832
  * Called when the a forces friends change.
833
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_force_friends_changed Online documentation}
833
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_force_friends_changed Online documentation}
834
834
  */
835
835
  interface OnForceFriendsChangedEvent extends EventData {
836
836
  /**
@@ -856,7 +856,7 @@ declare module "factorio:runtime" {
856
856
  }
857
857
  /**
858
858
  * Called when {@link LuaForce#reset LuaForce::reset} is finished.
859
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_force_reset Online documentation}
859
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_force_reset Online documentation}
860
860
  */
861
861
  interface OnForceResetEvent extends EventData {
862
862
  readonly force: LuaForce
@@ -872,7 +872,7 @@ declare module "factorio:runtime" {
872
872
  /**
873
873
  * Called after two forces have been merged using `game.merge_forces()`.
874
874
  * @remarks The source force is invalidated before this event is called and the name can be re-used in this event if desired.
875
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_forces_merged Online documentation}
875
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_forces_merged Online documentation}
876
876
  */
877
877
  interface OnForcesMergedEvent extends EventData {
878
878
  /**
@@ -898,7 +898,7 @@ declare module "factorio:runtime" {
898
898
  }
899
899
  /**
900
900
  * Called when two forces are about to be merged using `game.merge_forces()`.
901
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_forces_merging Online documentation}
901
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_forces_merging Online documentation}
902
902
  */
903
903
  interface OnForcesMergingEvent extends EventData {
904
904
  /**
@@ -921,7 +921,7 @@ declare module "factorio:runtime" {
921
921
  /**
922
922
  * 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.
923
923
  * @remarks This event is not fired when the scenario is loaded via the map editor.
924
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_game_created_from_scenario Online documentation}
924
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_game_created_from_scenario Online documentation}
925
925
  */
926
926
  interface OnGameCreatedFromScenarioEvent extends EventData {
927
927
  /**
@@ -935,7 +935,7 @@ declare module "factorio:runtime" {
935
935
  }
936
936
  /**
937
937
  * Called when {@link LuaGuiElement} checked state is changed (related to checkboxes and radio buttons).
938
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_checked_state_changed Online documentation}
938
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_checked_state_changed Online documentation}
939
939
  */
940
940
  interface OnGuiCheckedStateChangedEvent extends EventData {
941
941
  /**
@@ -957,7 +957,7 @@ declare module "factorio:runtime" {
957
957
  }
958
958
  /**
959
959
  * Called when {@link LuaGuiElement} is clicked.
960
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_click Online documentation}
960
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_click Online documentation}
961
961
  */
962
962
  interface OnGuiClickEvent extends EventData {
963
963
  /**
@@ -1002,7 +1002,7 @@ declare module "factorio:runtime" {
1002
1002
  *
1003
1003
  * 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.
1004
1004
  * @remarks 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.
1005
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_closed Online documentation}
1005
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_closed Online documentation}
1006
1006
  */
1007
1007
  interface OnGuiClosedEvent extends EventData {
1008
1008
  /**
@@ -1056,7 +1056,7 @@ declare module "factorio:runtime" {
1056
1056
  }
1057
1057
  /**
1058
1058
  * Called when a {@link LuaGuiElement} is confirmed, for example by pressing Enter in a textfield.
1059
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_confirmed Online documentation}
1059
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_confirmed Online documentation}
1060
1060
  */
1061
1061
  interface OnGuiConfirmedEvent extends EventData {
1062
1062
  /**
@@ -1090,7 +1090,7 @@ declare module "factorio:runtime" {
1090
1090
  }
1091
1091
  /**
1092
1092
  * Called when {@link LuaGuiElement} element value is changed (related to choose element buttons).
1093
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_elem_changed Online documentation}
1093
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_elem_changed Online documentation}
1094
1094
  */
1095
1095
  interface OnGuiElemChangedEvent extends EventData {
1096
1096
  /**
@@ -1112,7 +1112,7 @@ declare module "factorio:runtime" {
1112
1112
  }
1113
1113
  /**
1114
1114
  * Called when {@link LuaGuiElement} is hovered by the mouse.
1115
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_hover Online documentation}
1115
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_hover Online documentation}
1116
1116
  */
1117
1117
  interface OnGuiHoverEvent extends EventData {
1118
1118
  /**
@@ -1134,7 +1134,7 @@ declare module "factorio:runtime" {
1134
1134
  }
1135
1135
  /**
1136
1136
  * Called when the player's cursor leaves a {@link LuaGuiElement} that was previously hovered.
1137
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_leave Online documentation}
1137
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_leave Online documentation}
1138
1138
  */
1139
1139
  interface OnGuiLeaveEvent extends EventData {
1140
1140
  /**
@@ -1156,7 +1156,7 @@ declare module "factorio:runtime" {
1156
1156
  }
1157
1157
  /**
1158
1158
  * Called when {@link LuaGuiElement} element location is changed (related to frames in `player.gui.screen`).
1159
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_location_changed Online documentation}
1159
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_location_changed Online documentation}
1160
1160
  */
1161
1161
  interface OnGuiLocationChangedEvent extends EventData {
1162
1162
  /**
@@ -1178,7 +1178,7 @@ declare module "factorio:runtime" {
1178
1178
  }
1179
1179
  /**
1180
1180
  * Called when the player opens a GUI.
1181
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_opened Online documentation}
1181
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_opened Online documentation}
1182
1182
  */
1183
1183
  interface OnGuiOpenedEvent extends EventData {
1184
1184
  /**
@@ -1224,7 +1224,7 @@ declare module "factorio:runtime" {
1224
1224
  }
1225
1225
  /**
1226
1226
  * Called when {@link LuaGuiElement} selected tab is changed (related to tabbed-panes).
1227
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_selected_tab_changed Online documentation}
1227
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_selected_tab_changed Online documentation}
1228
1228
  */
1229
1229
  interface OnGuiSelectedTabChangedEvent extends EventData {
1230
1230
  /**
@@ -1246,7 +1246,7 @@ declare module "factorio:runtime" {
1246
1246
  }
1247
1247
  /**
1248
1248
  * Called when {@link LuaGuiElement} selection state is changed (related to drop-downs and listboxes).
1249
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_selection_state_changed Online documentation}
1249
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_selection_state_changed Online documentation}
1250
1250
  */
1251
1251
  interface OnGuiSelectionStateChangedEvent extends EventData {
1252
1252
  /**
@@ -1268,7 +1268,7 @@ declare module "factorio:runtime" {
1268
1268
  }
1269
1269
  /**
1270
1270
  * Called when {@link LuaGuiElement} switch state is changed (related to switches).
1271
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_switch_state_changed Online documentation}
1271
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_switch_state_changed Online documentation}
1272
1272
  */
1273
1273
  interface OnGuiSwitchStateChangedEvent extends EventData {
1274
1274
  /**
@@ -1290,7 +1290,7 @@ declare module "factorio:runtime" {
1290
1290
  }
1291
1291
  /**
1292
1292
  * Called when {@link LuaGuiElement} text is changed by the player.
1293
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_text_changed Online documentation}
1293
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_text_changed Online documentation}
1294
1294
  */
1295
1295
  interface OnGuiTextChangedEvent extends EventData {
1296
1296
  /**
@@ -1316,7 +1316,7 @@ declare module "factorio:runtime" {
1316
1316
  }
1317
1317
  /**
1318
1318
  * Called when {@link LuaGuiElement} slider value is changed (related to the slider element).
1319
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_gui_value_changed Online documentation}
1319
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_gui_value_changed Online documentation}
1320
1320
  */
1321
1321
  interface OnGuiValueChangedEvent extends EventData {
1322
1322
  /**
@@ -1338,7 +1338,7 @@ declare module "factorio:runtime" {
1338
1338
  }
1339
1339
  /**
1340
1340
  * Called when a land mine is armed.
1341
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_land_mine_armed Online documentation}
1341
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_land_mine_armed Online documentation}
1342
1342
  */
1343
1343
  interface OnLandMineArmedEvent extends EventData {
1344
1344
  readonly mine: LuaEntity
@@ -1353,7 +1353,7 @@ declare module "factorio:runtime" {
1353
1353
  }
1354
1354
  /**
1355
1355
  * Called when a custom {@link import("factorio:prototype").ShortcutPrototype Lua shortcut} is pressed.
1356
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_lua_shortcut Online documentation}
1356
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_lua_shortcut Online documentation}
1357
1357
  */
1358
1358
  interface OnLuaShortcutEvent extends EventData {
1359
1359
  readonly player_index: PlayerIndex
@@ -1372,7 +1372,7 @@ declare module "factorio:runtime" {
1372
1372
  }
1373
1373
  /**
1374
1374
  * Called when an entity is marked for deconstruction with the Deconstruction planner or via script. Can be filtered using {@link LuaEntityMarkedForDeconstructionEventFilter}.
1375
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_marked_for_deconstruction Online documentation}
1375
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_marked_for_deconstruction Online documentation}
1376
1376
  */
1377
1377
  interface OnMarkedForDeconstructionEvent extends EventData {
1378
1378
  readonly entity: LuaEntity
@@ -1388,7 +1388,7 @@ declare module "factorio:runtime" {
1388
1388
  }
1389
1389
  /**
1390
1390
  * Called when an entity is marked for upgrade with the Upgrade planner or via script. Can be filtered using {@link LuaEntityMarkedForUpgradeEventFilter}.
1391
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_marked_for_upgrade Online documentation}
1391
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_marked_for_upgrade Online documentation}
1392
1392
  */
1393
1393
  interface OnMarkedForUpgradeEvent extends EventData {
1394
1394
  readonly entity: LuaEntity
@@ -1409,7 +1409,7 @@ declare module "factorio:runtime" {
1409
1409
  }
1410
1410
  /**
1411
1411
  * Called after a player purchases some offer from a `market` entity.
1412
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_market_item_purchased Online documentation}
1412
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_market_item_purchased Online documentation}
1413
1413
  */
1414
1414
  interface OnMarketItemPurchasedEvent extends EventData {
1415
1415
  /**
@@ -1439,7 +1439,7 @@ declare module "factorio:runtime" {
1439
1439
  }
1440
1440
  /**
1441
1441
  * Called when the player uses the 'Open item GUI' control on an item defined with the 'mod-openable' flag
1442
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_mod_item_opened Online documentation}
1442
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_mod_item_opened Online documentation}
1443
1443
  */
1444
1444
  interface OnModItemOpenedEvent extends EventData {
1445
1445
  /**
@@ -1461,7 +1461,7 @@ declare module "factorio:runtime" {
1461
1461
  }
1462
1462
  /**
1463
1463
  * Called directly after a permission group is added.
1464
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_permission_group_added Online documentation}
1464
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_permission_group_added Online documentation}
1465
1465
  */
1466
1466
  interface OnPermissionGroupAddedEvent extends EventData {
1467
1467
  /**
@@ -1483,7 +1483,7 @@ declare module "factorio:runtime" {
1483
1483
  }
1484
1484
  /**
1485
1485
  * Called directly after a permission group is deleted.
1486
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_permission_group_deleted Online documentation}
1486
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_permission_group_deleted Online documentation}
1487
1487
  */
1488
1488
  interface OnPermissionGroupDeletedEvent extends EventData {
1489
1489
  /**
@@ -1509,7 +1509,7 @@ declare module "factorio:runtime" {
1509
1509
  }
1510
1510
  /**
1511
1511
  * Called directly after a permission group is edited in some way.
1512
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_permission_group_edited Online documentation}
1512
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_permission_group_edited Online documentation}
1513
1513
  */
1514
1514
  interface OnPermissionGroupEditedEvent extends EventData {
1515
1515
  /**
@@ -1558,7 +1558,7 @@ declare module "factorio:runtime" {
1558
1558
  }
1559
1559
  /**
1560
1560
  * Called directly after a permission string is imported.
1561
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_permission_string_imported Online documentation}
1561
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_permission_string_imported Online documentation}
1562
1562
  */
1563
1563
  interface OnPermissionStringImportedEvent extends EventData {
1564
1564
  /**
@@ -1576,7 +1576,7 @@ declare module "factorio:runtime" {
1576
1576
  }
1577
1577
  /**
1578
1578
  * Called when a player picks up an item.
1579
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_picked_up_item Online documentation}
1579
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_picked_up_item Online documentation}
1580
1580
  */
1581
1581
  interface OnPickedUpItemEvent extends EventData {
1582
1582
  readonly item_stack: SimpleItemStack
@@ -1592,7 +1592,7 @@ declare module "factorio:runtime" {
1592
1592
  }
1593
1593
  /**
1594
1594
  * Called after a player alt-reverse-selects an area with a selection-tool item.
1595
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_alt_reverse_selected_area Online documentation}
1595
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_alt_reverse_selected_area Online documentation}
1596
1596
  */
1597
1597
  interface OnPlayerAltReverseSelectedAreaEvent extends EventData {
1598
1598
  /**
@@ -1630,7 +1630,7 @@ declare module "factorio:runtime" {
1630
1630
  }
1631
1631
  /**
1632
1632
  * Called after a player alt-selects an area with a selection-tool item.
1633
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_alt_selected_area Online documentation}
1633
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_alt_selected_area Online documentation}
1634
1634
  */
1635
1635
  interface OnPlayerAltSelectedAreaEvent extends EventData {
1636
1636
  /**
@@ -1668,7 +1668,7 @@ declare module "factorio:runtime" {
1668
1668
  }
1669
1669
  /**
1670
1670
  * Called after a players ammo inventory changed in some way.
1671
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_ammo_inventory_changed Online documentation}
1671
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_ammo_inventory_changed Online documentation}
1672
1672
  */
1673
1673
  interface OnPlayerAmmoInventoryChangedEvent extends EventData {
1674
1674
  readonly player_index: PlayerIndex
@@ -1683,7 +1683,7 @@ declare module "factorio:runtime" {
1683
1683
  }
1684
1684
  /**
1685
1685
  * Called after a players armor inventory changed in some way.
1686
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_armor_inventory_changed Online documentation}
1686
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_armor_inventory_changed Online documentation}
1687
1687
  */
1688
1688
  interface OnPlayerArmorInventoryChangedEvent extends EventData {
1689
1689
  readonly player_index: PlayerIndex
@@ -1698,7 +1698,7 @@ declare module "factorio:runtime" {
1698
1698
  }
1699
1699
  /**
1700
1700
  * Called when a player is banned.
1701
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_banned Online documentation}
1701
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_banned Online documentation}
1702
1702
  */
1703
1703
  interface OnPlayerBannedEvent extends EventData {
1704
1704
  /**
@@ -1728,7 +1728,7 @@ declare module "factorio:runtime" {
1728
1728
  }
1729
1729
  /**
1730
1730
  * Called after a player builds tiles.
1731
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_built_tile Online documentation}
1731
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_built_tile Online documentation}
1732
1732
  */
1733
1733
  interface OnPlayerBuiltTileEvent extends EventData {
1734
1734
  readonly player_index: PlayerIndex
@@ -1763,7 +1763,7 @@ declare module "factorio:runtime" {
1763
1763
  }
1764
1764
  /**
1765
1765
  * Called when a player cancels crafting.
1766
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_cancelled_crafting Online documentation}
1766
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_cancelled_crafting Online documentation}
1767
1767
  */
1768
1768
  interface OnPlayerCancelledCraftingEvent extends EventData {
1769
1769
  /**
@@ -1793,7 +1793,7 @@ declare module "factorio:runtime" {
1793
1793
  }
1794
1794
  /**
1795
1795
  * Called after a player changes forces.
1796
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_changed_force Online documentation}
1796
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_changed_force Online documentation}
1797
1797
  */
1798
1798
  interface OnPlayerChangedForceEvent extends EventData {
1799
1799
  /**
@@ -1815,7 +1815,7 @@ declare module "factorio:runtime" {
1815
1815
  }
1816
1816
  /**
1817
1817
  * Called when the tile position a player is located at changes.
1818
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_changed_position Online documentation}
1818
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_changed_position Online documentation}
1819
1819
  */
1820
1820
  interface OnPlayerChangedPositionEvent extends EventData {
1821
1821
  /**
@@ -1834,7 +1834,7 @@ declare module "factorio:runtime" {
1834
1834
  /**
1835
1835
  * Called after a player changes surfaces.
1836
1836
  * @remarks In the instance a player is moved off a surface due to it being deleted this is not called.
1837
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_changed_surface Online documentation}
1837
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_changed_surface Online documentation}
1838
1838
  */
1839
1839
  interface OnPlayerChangedSurfaceEvent extends EventData {
1840
1840
  /**
@@ -1856,7 +1856,7 @@ declare module "factorio:runtime" {
1856
1856
  }
1857
1857
  /**
1858
1858
  * Called when cheat mode is disabled on a player.
1859
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_cheat_mode_disabled Online documentation}
1859
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_cheat_mode_disabled Online documentation}
1860
1860
  */
1861
1861
  interface OnPlayerCheatModeDisabledEvent extends EventData {
1862
1862
  /**
@@ -1874,7 +1874,7 @@ declare module "factorio:runtime" {
1874
1874
  }
1875
1875
  /**
1876
1876
  * Called when cheat mode is enabled on a player.
1877
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_cheat_mode_enabled Online documentation}
1877
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_cheat_mode_enabled Online documentation}
1878
1878
  */
1879
1879
  interface OnPlayerCheatModeEnabledEvent extends EventData {
1880
1880
  /**
@@ -1892,7 +1892,7 @@ declare module "factorio:runtime" {
1892
1892
  }
1893
1893
  /**
1894
1894
  * Called when a player clicks a gps tag
1895
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_clicked_gps_tag Online documentation}
1895
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_clicked_gps_tag Online documentation}
1896
1896
  */
1897
1897
  interface OnPlayerClickedGpsTagEvent extends EventData {
1898
1898
  /**
@@ -1918,7 +1918,7 @@ declare module "factorio:runtime" {
1918
1918
  }
1919
1919
  /**
1920
1920
  * Called when a player clicks the "confirm" button in the configure Blueprint GUI.
1921
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_configured_blueprint Online documentation}
1921
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_configured_blueprint Online documentation}
1922
1922
  */
1923
1923
  interface OnPlayerConfiguredBlueprintEvent extends EventData {
1924
1924
  /**
@@ -1936,7 +1936,7 @@ declare module "factorio:runtime" {
1936
1936
  }
1937
1937
  /**
1938
1938
  * Called when a player configures spidertron remote to be connected with a given spidertron
1939
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_configured_spider_remote Online documentation}
1939
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_configured_spider_remote Online documentation}
1940
1940
  */
1941
1941
  interface OnPlayerConfiguredSpiderRemoteEvent extends EventData {
1942
1942
  /**
@@ -1958,7 +1958,7 @@ declare module "factorio:runtime" {
1958
1958
  }
1959
1959
  /**
1960
1960
  * 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}).
1961
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_crafted_item Online documentation}
1961
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_crafted_item Online documentation}
1962
1962
  */
1963
1963
  interface OnPlayerCraftedItemEvent extends EventData {
1964
1964
  /**
@@ -1984,7 +1984,7 @@ declare module "factorio:runtime" {
1984
1984
  }
1985
1985
  /**
1986
1986
  * Called after the player was created.
1987
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_created Online documentation}
1987
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_created Online documentation}
1988
1988
  */
1989
1989
  interface OnPlayerCreatedEvent extends EventData {
1990
1990
  readonly player_index: PlayerIndex
@@ -1999,7 +1999,7 @@ declare module "factorio:runtime" {
1999
1999
  }
2000
2000
  /**
2001
2001
  * Called after a player's {@link LuaControl#cursor_stack cursor stack} changed in some way. This is fired in the same tick that the change happens, but not instantly.
2002
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_cursor_stack_changed Online documentation}
2002
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_cursor_stack_changed Online documentation}
2003
2003
  */
2004
2004
  interface OnPlayerCursorStackChangedEvent extends EventData {
2005
2005
  readonly player_index: PlayerIndex
@@ -2014,7 +2014,7 @@ declare module "factorio:runtime" {
2014
2014
  }
2015
2015
  /**
2016
2016
  * Called when a player selects an area with a deconstruction planner.
2017
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_deconstructed_area Online documentation}
2017
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_deconstructed_area Online documentation}
2018
2018
  */
2019
2019
  interface OnPlayerDeconstructedAreaEvent extends EventData {
2020
2020
  /**
@@ -2048,7 +2048,7 @@ declare module "factorio:runtime" {
2048
2048
  }
2049
2049
  /**
2050
2050
  * Called when a player is demoted.
2051
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_demoted Online documentation}
2051
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_demoted Online documentation}
2052
2052
  */
2053
2053
  interface OnPlayerDemotedEvent extends EventData {
2054
2054
  /**
@@ -2066,7 +2066,7 @@ declare module "factorio:runtime" {
2066
2066
  }
2067
2067
  /**
2068
2068
  * Called after a player dies.
2069
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_died Online documentation}
2069
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_died Online documentation}
2070
2070
  */
2071
2071
  interface OnPlayerDiedEvent extends EventData {
2072
2072
  readonly player_index: PlayerIndex
@@ -2082,7 +2082,7 @@ declare module "factorio:runtime" {
2082
2082
  }
2083
2083
  /**
2084
2084
  * Called when the display resolution changes for a given player.
2085
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_display_resolution_changed Online documentation}
2085
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_display_resolution_changed Online documentation}
2086
2086
  */
2087
2087
  interface OnPlayerDisplayResolutionChangedEvent extends EventData {
2088
2088
  /**
@@ -2104,7 +2104,7 @@ declare module "factorio:runtime" {
2104
2104
  }
2105
2105
  /**
2106
2106
  * Called when the display scale changes for a given player.
2107
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_display_scale_changed Online documentation}
2107
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_display_scale_changed Online documentation}
2108
2108
  */
2109
2109
  interface OnPlayerDisplayScaleChangedEvent extends EventData {
2110
2110
  /**
@@ -2127,7 +2127,7 @@ declare module "factorio:runtime" {
2127
2127
  /**
2128
2128
  * Called when the player's driving state has changed, meaning a player has either entered or left a vehicle.
2129
2129
  * @remarks This event is not raised when the player is ejected from a vehicle due to it being destroyed.
2130
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_driving_changed_state Online documentation}
2130
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_driving_changed_state Online documentation}
2131
2131
  */
2132
2132
  interface OnPlayerDrivingChangedStateEvent extends EventData {
2133
2133
  readonly player_index: PlayerIndex
@@ -2146,7 +2146,7 @@ declare module "factorio:runtime" {
2146
2146
  }
2147
2147
  /**
2148
2148
  * Called when a player drops an item on the ground.
2149
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_dropped_item Online documentation}
2149
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_dropped_item Online documentation}
2150
2150
  */
2151
2151
  interface OnPlayerDroppedItemEvent extends EventData {
2152
2152
  readonly player_index: PlayerIndex
@@ -2165,7 +2165,7 @@ declare module "factorio:runtime" {
2165
2165
  }
2166
2166
  /**
2167
2167
  * Called when a player fast-transfers something to or from an entity.
2168
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_fast_transferred Online documentation}
2168
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_fast_transferred Online documentation}
2169
2169
  */
2170
2170
  interface OnPlayerFastTransferredEvent extends EventData {
2171
2171
  /**
@@ -2195,7 +2195,7 @@ declare module "factorio:runtime" {
2195
2195
  }
2196
2196
  /**
2197
2197
  * Called after player flushed fluid
2198
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_flushed_fluid Online documentation}
2198
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_flushed_fluid Online documentation}
2199
2199
  */
2200
2200
  interface OnPlayerFlushedFluidEvent extends EventData {
2201
2201
  /**
@@ -2229,7 +2229,7 @@ declare module "factorio:runtime" {
2229
2229
  }
2230
2230
  /**
2231
2231
  * Called after a players gun inventory changed in some way.
2232
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_gun_inventory_changed Online documentation}
2232
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_gun_inventory_changed Online documentation}
2233
2233
  */
2234
2234
  interface OnPlayerGunInventoryChangedEvent extends EventData {
2235
2235
  readonly player_index: PlayerIndex
@@ -2245,7 +2245,7 @@ declare module "factorio:runtime" {
2245
2245
  /**
2246
2246
  * Called when a player's input method changes.
2247
2247
  * @remarks See {@link LuaPlayer#input_method LuaPlayer::input_method}.
2248
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_input_method_changed Online documentation}
2248
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_input_method_changed Online documentation}
2249
2249
  */
2250
2250
  interface OnPlayerInputMethodChangedEvent extends EventData {
2251
2251
  /**
@@ -2263,7 +2263,7 @@ declare module "factorio:runtime" {
2263
2263
  }
2264
2264
  /**
2265
2265
  * 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.
2266
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_joined_game Online documentation}
2266
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_joined_game Online documentation}
2267
2267
  */
2268
2268
  interface OnPlayerJoinedGameEvent extends EventData {
2269
2269
  readonly player_index: PlayerIndex
@@ -2278,7 +2278,7 @@ declare module "factorio:runtime" {
2278
2278
  }
2279
2279
  /**
2280
2280
  * Called when a player is kicked.
2281
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_kicked Online documentation}
2281
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_kicked Online documentation}
2282
2282
  */
2283
2283
  interface OnPlayerKickedEvent extends EventData {
2284
2284
  /**
@@ -2304,7 +2304,7 @@ declare module "factorio:runtime" {
2304
2304
  }
2305
2305
  /**
2306
2306
  * 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.
2307
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_left_game Online documentation}
2307
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_left_game Online documentation}
2308
2308
  */
2309
2309
  interface OnPlayerLeftGameEvent extends EventData {
2310
2310
  readonly player_index: PlayerIndex
@@ -2320,7 +2320,7 @@ declare module "factorio:runtime" {
2320
2320
  }
2321
2321
  /**
2322
2322
  * Called after a players main inventory changed in some way.
2323
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_main_inventory_changed Online documentation}
2323
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_main_inventory_changed Online documentation}
2324
2324
  */
2325
2325
  interface OnPlayerMainInventoryChangedEvent extends EventData {
2326
2326
  readonly player_index: PlayerIndex
@@ -2336,7 +2336,7 @@ declare module "factorio:runtime" {
2336
2336
  /**
2337
2337
  * Called after the results of an entity being mined are collected just before the entity is destroyed. After this event any items in the buffer will be transferred into the player as if they came from mining the entity. Can be filtered using {@link LuaPlayerMinedEntityEventFilter}.
2338
2338
  * @remarks 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.
2339
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_mined_entity Online documentation}
2339
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_mined_entity Online documentation}
2340
2340
  */
2341
2341
  interface OnPlayerMinedEntityEvent extends EventData {
2342
2342
  /**
@@ -2362,7 +2362,7 @@ declare module "factorio:runtime" {
2362
2362
  }
2363
2363
  /**
2364
2364
  * Called when the player mines something.
2365
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_mined_item Online documentation}
2365
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_mined_item Online documentation}
2366
2366
  */
2367
2367
  interface OnPlayerMinedItemEvent extends EventData {
2368
2368
  /**
@@ -2381,7 +2381,7 @@ declare module "factorio:runtime" {
2381
2381
  }
2382
2382
  /**
2383
2383
  * Called after a player mines tiles.
2384
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_mined_tile Online documentation}
2384
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_mined_tile Online documentation}
2385
2385
  */
2386
2386
  interface OnPlayerMinedTileEvent extends EventData {
2387
2387
  readonly player_index: PlayerIndex
@@ -2404,7 +2404,7 @@ declare module "factorio:runtime" {
2404
2404
  }
2405
2405
  /**
2406
2406
  * Called when a player is muted.
2407
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_muted Online documentation}
2407
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_muted Online documentation}
2408
2408
  */
2409
2409
  interface OnPlayerMutedEvent extends EventData {
2410
2410
  /**
@@ -2422,7 +2422,7 @@ declare module "factorio:runtime" {
2422
2422
  }
2423
2423
  /**
2424
2424
  * Called when a player invokes the "smart pipette" over an entity.
2425
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_pipette Online documentation}
2425
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_pipette Online documentation}
2426
2426
  */
2427
2427
  interface OnPlayerPipetteEvent extends EventData {
2428
2428
  /**
@@ -2448,7 +2448,7 @@ declare module "factorio:runtime" {
2448
2448
  }
2449
2449
  /**
2450
2450
  * Called after the player puts equipment in an equipment grid
2451
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_placed_equipment Online documentation}
2451
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_placed_equipment Online documentation}
2452
2452
  */
2453
2453
  interface OnPlayerPlacedEquipmentEvent extends EventData {
2454
2454
  readonly player_index: PlayerIndex
@@ -2471,7 +2471,7 @@ declare module "factorio:runtime" {
2471
2471
  }
2472
2472
  /**
2473
2473
  * Called when a player is promoted.
2474
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_promoted Online documentation}
2474
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_promoted Online documentation}
2475
2475
  */
2476
2476
  interface OnPlayerPromotedEvent extends EventData {
2477
2477
  /**
@@ -2489,7 +2489,7 @@ declare module "factorio:runtime" {
2489
2489
  }
2490
2490
  /**
2491
2491
  * 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.
2492
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_removed Online documentation}
2492
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_removed Online documentation}
2493
2493
  */
2494
2494
  interface OnPlayerRemovedEvent extends EventData {
2495
2495
  /**
@@ -2507,7 +2507,7 @@ declare module "factorio:runtime" {
2507
2507
  }
2508
2508
  /**
2509
2509
  * Called after the player removes equipment from an equipment grid
2510
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_removed_equipment Online documentation}
2510
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_removed_equipment Online documentation}
2511
2511
  */
2512
2512
  interface OnPlayerRemovedEquipmentEvent extends EventData {
2513
2513
  readonly player_index: PlayerIndex
@@ -2534,7 +2534,7 @@ declare module "factorio:runtime" {
2534
2534
  }
2535
2535
  /**
2536
2536
  * Called when a player repairs an entity. Can be filtered using {@link LuaPlayerRepairedEntityEventFilter}.
2537
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_repaired_entity Online documentation}
2537
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_repaired_entity Online documentation}
2538
2538
  */
2539
2539
  interface OnPlayerRepairedEntityEvent extends EventData {
2540
2540
  readonly player_index: PlayerIndex
@@ -2550,7 +2550,7 @@ declare module "factorio:runtime" {
2550
2550
  }
2551
2551
  /**
2552
2552
  * Called after a player respawns.
2553
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_respawned Online documentation}
2553
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_respawned Online documentation}
2554
2554
  */
2555
2555
  interface OnPlayerRespawnedEvent extends EventData {
2556
2556
  readonly player_index: PlayerIndex
@@ -2569,7 +2569,7 @@ declare module "factorio:runtime" {
2569
2569
  }
2570
2570
  /**
2571
2571
  * Called after a player reverse-selects an area with a selection-tool item.
2572
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_reverse_selected_area Online documentation}
2572
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_reverse_selected_area Online documentation}
2573
2573
  */
2574
2574
  interface OnPlayerReverseSelectedAreaEvent extends EventData {
2575
2575
  /**
@@ -2607,7 +2607,7 @@ declare module "factorio:runtime" {
2607
2607
  }
2608
2608
  /**
2609
2609
  * 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.
2610
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_rotated_entity Online documentation}
2610
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_rotated_entity Online documentation}
2611
2611
  */
2612
2612
  interface OnPlayerRotatedEntityEvent extends EventData {
2613
2613
  /**
@@ -2630,7 +2630,7 @@ declare module "factorio:runtime" {
2630
2630
  }
2631
2631
  /**
2632
2632
  * Called after a player selects an area with a selection-tool item.
2633
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_selected_area Online documentation}
2633
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_selected_area Online documentation}
2634
2634
  */
2635
2635
  interface OnPlayerSelectedAreaEvent extends EventData {
2636
2636
  /**
@@ -2668,7 +2668,7 @@ declare module "factorio:runtime" {
2668
2668
  }
2669
2669
  /**
2670
2670
  * Called when a player sets a quickbar slot to anything (new value, or set to empty).
2671
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_set_quick_bar_slot Online documentation}
2671
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_set_quick_bar_slot Online documentation}
2672
2672
  */
2673
2673
  interface OnPlayerSetQuickBarSlotEvent extends EventData {
2674
2674
  readonly player_index: PlayerIndex
@@ -2683,7 +2683,7 @@ declare module "factorio:runtime" {
2683
2683
  }
2684
2684
  /**
2685
2685
  * Called when a player selects an area with a blueprint.
2686
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_setup_blueprint Online documentation}
2686
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_setup_blueprint Online documentation}
2687
2687
  */
2688
2688
  interface OnPlayerSetupBlueprintEvent extends EventData {
2689
2689
  /**
@@ -2721,7 +2721,7 @@ declare module "factorio:runtime" {
2721
2721
  }
2722
2722
  /**
2723
2723
  * Called when a player toggles alt mode, also known as "show entity info".
2724
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_toggled_alt_mode Online documentation}
2724
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_toggled_alt_mode Online documentation}
2725
2725
  */
2726
2726
  interface OnPlayerToggledAltModeEvent extends EventData {
2727
2727
  readonly player_index: PlayerIndex
@@ -2740,7 +2740,7 @@ declare module "factorio:runtime" {
2740
2740
  }
2741
2741
  /**
2742
2742
  * Called when a player toggles the map editor on or off.
2743
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_toggled_map_editor Online documentation}
2743
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_toggled_map_editor Online documentation}
2744
2744
  */
2745
2745
  interface OnPlayerToggledMapEditorEvent extends EventData {
2746
2746
  readonly player_index: PlayerIndex
@@ -2755,7 +2755,7 @@ declare module "factorio:runtime" {
2755
2755
  }
2756
2756
  /**
2757
2757
  * Called after a players trash inventory changed in some way.
2758
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_trash_inventory_changed Online documentation}
2758
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_trash_inventory_changed Online documentation}
2759
2759
  */
2760
2760
  interface OnPlayerTrashInventoryChangedEvent extends EventData {
2761
2761
  readonly player_index: PlayerIndex
@@ -2770,7 +2770,7 @@ declare module "factorio:runtime" {
2770
2770
  }
2771
2771
  /**
2772
2772
  * Called when a player is un-banned.
2773
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_unbanned Online documentation}
2773
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_unbanned Online documentation}
2774
2774
  */
2775
2775
  interface OnPlayerUnbannedEvent extends EventData {
2776
2776
  /**
@@ -2800,7 +2800,7 @@ declare module "factorio:runtime" {
2800
2800
  }
2801
2801
  /**
2802
2802
  * Called when a player is unmuted.
2803
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_unmuted Online documentation}
2803
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_unmuted Online documentation}
2804
2804
  */
2805
2805
  interface OnPlayerUnmutedEvent extends EventData {
2806
2806
  /**
@@ -2818,7 +2818,7 @@ declare module "factorio:runtime" {
2818
2818
  }
2819
2819
  /**
2820
2820
  * Called when a player uses a capsule that results in some game action.
2821
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_used_capsule Online documentation}
2821
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_used_capsule Online documentation}
2822
2822
  */
2823
2823
  interface OnPlayerUsedCapsuleEvent extends EventData {
2824
2824
  /**
@@ -2844,7 +2844,7 @@ declare module "factorio:runtime" {
2844
2844
  }
2845
2845
  /**
2846
2846
  * Called when a player uses spidertron remote to send a spidertron to a given position
2847
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_player_used_spider_remote Online documentation}
2847
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_player_used_spider_remote Online documentation}
2848
2848
  */
2849
2849
  interface OnPlayerUsedSpiderRemoteEvent extends EventData {
2850
2850
  /**
@@ -2874,7 +2874,7 @@ declare module "factorio:runtime" {
2874
2874
  }
2875
2875
  /**
2876
2876
  * Called after an entity dies. Can be filtered using {@link LuaPostEntityDiedEventFilter}.
2877
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_post_entity_died Online documentation}
2877
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_post_entity_died Online documentation}
2878
2878
  */
2879
2879
  interface OnPostEntityDiedEvent extends EventData {
2880
2880
  /**
@@ -2920,7 +2920,7 @@ declare module "factorio:runtime" {
2920
2920
  }
2921
2921
  /**
2922
2922
  * Called when players uses an item to build something. Called before {@link OnBuiltEntityEvent on_built_entity}.
2923
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_build Online documentation}
2923
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_build Online documentation}
2924
2924
  */
2925
2925
  interface OnPreBuildEvent extends EventData {
2926
2926
  /**
@@ -2962,7 +2962,7 @@ declare module "factorio:runtime" {
2962
2962
  }
2963
2963
  /**
2964
2964
  * Called before one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}.
2965
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_chunk_deleted Online documentation}
2965
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_chunk_deleted Online documentation}
2966
2966
  */
2967
2967
  interface OnPreChunkDeletedEvent extends EventData {
2968
2968
  readonly surface_index: SurfaceIndex
@@ -2981,7 +2981,7 @@ declare module "factorio:runtime" {
2981
2981
  }
2982
2982
  /**
2983
2983
  * Called before entity copy-paste is done.
2984
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_entity_settings_pasted Online documentation}
2984
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_entity_settings_pasted Online documentation}
2985
2985
  */
2986
2986
  interface OnPreEntitySettingsPastedEvent extends EventData {
2987
2987
  readonly player_index: PlayerIndex
@@ -3004,7 +3004,7 @@ declare module "factorio:runtime" {
3004
3004
  }
3005
3005
  /**
3006
3006
  * Called before a ghost entity is destroyed as a result of being marked for deconstruction. Also called for item request proxies before they are destroyed as a result of being marked for deconstruction. Can be filtered using {@link LuaPreGhostDeconstructedEventFilter}.
3007
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_ghost_deconstructed Online documentation}
3007
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_ghost_deconstructed Online documentation}
3008
3008
  */
3009
3009
  interface OnPreGhostDeconstructedEvent extends EventData {
3010
3010
  /**
@@ -3023,7 +3023,7 @@ declare module "factorio:runtime" {
3023
3023
  }
3024
3024
  /**
3025
3025
  * Called before a ghost entity is upgraded. Can be filtered using {@link LuaPreGhostUpgradedEventFilter}.
3026
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_ghost_upgraded Online documentation}
3026
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_ghost_upgraded Online documentation}
3027
3027
  */
3028
3028
  interface OnPreGhostUpgradedEvent extends EventData {
3029
3029
  /**
@@ -3043,7 +3043,7 @@ declare module "factorio:runtime" {
3043
3043
  }
3044
3044
  /**
3045
3045
  * Called directly before a permission group is deleted.
3046
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_permission_group_deleted Online documentation}
3046
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_permission_group_deleted Online documentation}
3047
3047
  */
3048
3048
  interface OnPrePermissionGroupDeletedEvent extends EventData {
3049
3049
  /**
@@ -3065,7 +3065,7 @@ declare module "factorio:runtime" {
3065
3065
  }
3066
3066
  /**
3067
3067
  * Called directly before a permission string is imported.
3068
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_permission_string_imported Online documentation}
3068
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_permission_string_imported Online documentation}
3069
3069
  */
3070
3070
  interface OnPrePermissionStringImportedEvent extends EventData {
3071
3071
  /**
@@ -3083,7 +3083,7 @@ declare module "factorio:runtime" {
3083
3083
  }
3084
3084
  /**
3085
3085
  * Called when a player queues something to be crafted.
3086
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_player_crafted_item Online documentation}
3086
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_player_crafted_item Online documentation}
3087
3087
  */
3088
3088
  interface OnPrePlayerCraftedItemEvent extends EventData {
3089
3089
  /**
@@ -3113,7 +3113,7 @@ declare module "factorio:runtime" {
3113
3113
  }
3114
3114
  /**
3115
3115
  * Called before a players dies.
3116
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_player_died Online documentation}
3116
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_player_died Online documentation}
3117
3117
  */
3118
3118
  interface OnPrePlayerDiedEvent extends EventData {
3119
3119
  readonly player_index: PlayerIndex
@@ -3129,7 +3129,7 @@ declare module "factorio:runtime" {
3129
3129
  }
3130
3130
  /**
3131
3131
  * Called before a player leaves the game.
3132
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_player_left_game Online documentation}
3132
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_player_left_game Online documentation}
3133
3133
  */
3134
3134
  interface OnPrePlayerLeftGameEvent extends EventData {
3135
3135
  readonly player_index: PlayerIndex
@@ -3145,7 +3145,7 @@ declare module "factorio:runtime" {
3145
3145
  }
3146
3146
  /**
3147
3147
  * 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. Can be filtered using {@link LuaPrePlayerMinedEntityEventFilter}.
3148
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_player_mined_item Online documentation}
3148
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_player_mined_item Online documentation}
3149
3149
  */
3150
3150
  interface OnPrePlayerMinedItemEvent extends EventData {
3151
3151
  /**
@@ -3164,7 +3164,7 @@ declare module "factorio:runtime" {
3164
3164
  }
3165
3165
  /**
3166
3166
  * 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.
3167
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_player_removed Online documentation}
3167
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_player_removed Online documentation}
3168
3168
  */
3169
3169
  interface OnPrePlayerRemovedEvent extends EventData {
3170
3170
  /**
@@ -3182,7 +3182,7 @@ declare module "factorio:runtime" {
3182
3182
  }
3183
3183
  /**
3184
3184
  * Called before a player toggles the map editor on or off.
3185
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_player_toggled_map_editor Online documentation}
3185
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_player_toggled_map_editor Online documentation}
3186
3186
  */
3187
3187
  interface OnPrePlayerToggledMapEditorEvent extends EventData {
3188
3188
  readonly player_index: PlayerIndex
@@ -3197,7 +3197,7 @@ declare module "factorio:runtime" {
3197
3197
  }
3198
3198
  /**
3199
3199
  * Called directly before a robot explodes cliffs.
3200
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_robot_exploded_cliff Online documentation}
3200
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_robot_exploded_cliff Online documentation}
3201
3201
  */
3202
3202
  interface OnPreRobotExplodedCliffEvent extends EventData {
3203
3203
  readonly robot: LuaEntity
@@ -3217,7 +3217,7 @@ declare module "factorio:runtime" {
3217
3217
  }
3218
3218
  /**
3219
3219
  * Called just before a script inventory is resized.
3220
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_script_inventory_resized Online documentation}
3220
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_script_inventory_resized Online documentation}
3221
3221
  */
3222
3222
  interface OnPreScriptInventoryResizedEvent extends EventData {
3223
3223
  /**
@@ -3248,7 +3248,7 @@ declare module "factorio:runtime" {
3248
3248
  }
3249
3249
  /**
3250
3250
  * Called just before a surface is cleared (all entities removed and all chunks deleted).
3251
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_surface_cleared Online documentation}
3251
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_surface_cleared Online documentation}
3252
3252
  */
3253
3253
  interface OnPreSurfaceClearedEvent extends EventData {
3254
3254
  readonly surface_index: SurfaceIndex
@@ -3263,7 +3263,7 @@ declare module "factorio:runtime" {
3263
3263
  }
3264
3264
  /**
3265
3265
  * Called just before a surface is deleted.
3266
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_pre_surface_deleted Online documentation}
3266
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_pre_surface_deleted Online documentation}
3267
3267
  */
3268
3268
  interface OnPreSurfaceDeletedEvent extends EventData {
3269
3269
  readonly surface_index: SurfaceIndex
@@ -3278,7 +3278,7 @@ declare module "factorio:runtime" {
3278
3278
  }
3279
3279
  /**
3280
3280
  * Called when research is cancelled.
3281
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_research_cancelled Online documentation}
3281
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_research_cancelled Online documentation}
3282
3282
  */
3283
3283
  interface OnResearchCancelledEvent extends EventData {
3284
3284
  /**
@@ -3300,7 +3300,7 @@ declare module "factorio:runtime" {
3300
3300
  }
3301
3301
  /**
3302
3302
  * Called when a research finishes.
3303
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_research_finished Online documentation}
3303
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_research_finished Online documentation}
3304
3304
  */
3305
3305
  interface OnResearchFinishedEvent extends EventData {
3306
3306
  /**
@@ -3322,7 +3322,7 @@ declare module "factorio:runtime" {
3322
3322
  }
3323
3323
  /**
3324
3324
  * Called when a research is reversed (unresearched).
3325
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_research_reversed Online documentation}
3325
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_research_reversed Online documentation}
3326
3326
  */
3327
3327
  interface OnResearchReversedEvent extends EventData {
3328
3328
  /**
@@ -3344,7 +3344,7 @@ declare module "factorio:runtime" {
3344
3344
  }
3345
3345
  /**
3346
3346
  * Called when a technology research starts.
3347
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_research_started Online documentation}
3347
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_research_started Online documentation}
3348
3348
  */
3349
3349
  interface OnResearchStartedEvent extends EventData {
3350
3350
  /**
@@ -3363,7 +3363,7 @@ declare module "factorio:runtime" {
3363
3363
  }
3364
3364
  /**
3365
3365
  * Called when a resource entity reaches 0 or its minimum yield for infinite resources.
3366
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_resource_depleted Online documentation}
3366
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_resource_depleted Online documentation}
3367
3367
  */
3368
3368
  interface OnResourceDepletedEvent extends EventData {
3369
3369
  readonly entity: LuaEntity
@@ -3378,7 +3378,7 @@ declare module "factorio:runtime" {
3378
3378
  }
3379
3379
  /**
3380
3380
  * Called when a construction robot builds an entity. Can be filtered using {@link LuaRobotBuiltEntityEventFilter}.
3381
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_built_entity Online documentation}
3381
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_built_entity Online documentation}
3382
3382
  */
3383
3383
  interface OnRobotBuiltEntityEvent extends EventData {
3384
3384
  /**
@@ -3408,7 +3408,7 @@ declare module "factorio:runtime" {
3408
3408
  }
3409
3409
  /**
3410
3410
  * Called after a robot builds tiles.
3411
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_built_tile Online documentation}
3411
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_built_tile Online documentation}
3412
3412
  */
3413
3413
  interface OnRobotBuiltTileEvent extends EventData {
3414
3414
  /**
@@ -3446,7 +3446,7 @@ declare module "factorio:runtime" {
3446
3446
  }
3447
3447
  /**
3448
3448
  * Called directly after a robot explodes cliffs.
3449
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_exploded_cliff Online documentation}
3449
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_exploded_cliff Online documentation}
3450
3450
  */
3451
3451
  interface OnRobotExplodedCliffEvent extends EventData {
3452
3452
  readonly robot: LuaEntity
@@ -3465,7 +3465,7 @@ declare module "factorio:runtime" {
3465
3465
  }
3466
3466
  /**
3467
3467
  * Called when a robot mines an entity.
3468
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_mined Online documentation}
3468
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_mined Online documentation}
3469
3469
  */
3470
3470
  interface OnRobotMinedEvent extends EventData {
3471
3471
  /**
@@ -3488,7 +3488,7 @@ declare module "factorio:runtime" {
3488
3488
  /**
3489
3489
  * Called after the results of an entity being mined are collected just before the entity is destroyed. After this event any items in the buffer will be transferred into the robot as if they came from mining the entity. Can be filtered using {@link LuaRobotMinedEntityEventFilter}.
3490
3490
  * @remarks 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.
3491
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_mined_entity Online documentation}
3491
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_mined_entity Online documentation}
3492
3492
  */
3493
3493
  interface OnRobotMinedEntityEvent extends EventData {
3494
3494
  /**
@@ -3514,7 +3514,7 @@ declare module "factorio:runtime" {
3514
3514
  }
3515
3515
  /**
3516
3516
  * Called after a robot mines tiles.
3517
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_mined_tile Online documentation}
3517
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_mined_tile Online documentation}
3518
3518
  */
3519
3519
  interface OnRobotMinedTileEvent extends EventData {
3520
3520
  /**
@@ -3540,7 +3540,7 @@ declare module "factorio:runtime" {
3540
3540
  }
3541
3541
  /**
3542
3542
  * Called before a robot mines an entity. Can be filtered using {@link LuaPreRobotMinedEntityEventFilter}.
3543
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_robot_pre_mined Online documentation}
3543
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_robot_pre_mined Online documentation}
3544
3544
  */
3545
3545
  interface OnRobotPreMinedEvent extends EventData {
3546
3546
  /**
@@ -3562,7 +3562,7 @@ declare module "factorio:runtime" {
3562
3562
  }
3563
3563
  /**
3564
3564
  * Called when a rocket silo is ordered to be launched.
3565
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_rocket_launch_ordered Online documentation}
3565
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_rocket_launch_ordered Online documentation}
3566
3566
  */
3567
3567
  interface OnRocketLaunchOrderedEvent extends EventData {
3568
3568
  readonly rocket: LuaEntity
@@ -3582,7 +3582,7 @@ declare module "factorio:runtime" {
3582
3582
  }
3583
3583
  /**
3584
3584
  * Called when the rocket is launched.
3585
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_rocket_launched Online documentation}
3585
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_rocket_launched Online documentation}
3586
3586
  */
3587
3587
  interface OnRocketLaunchedEvent extends EventData {
3588
3588
  readonly rocket: LuaEntity
@@ -3602,7 +3602,7 @@ declare module "factorio:runtime" {
3602
3602
  }
3603
3603
  /**
3604
3604
  * Called when a runtime mod setting is changed by a player.
3605
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_runtime_mod_setting_changed Online documentation}
3605
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_runtime_mod_setting_changed Online documentation}
3606
3606
  */
3607
3607
  interface OnRuntimeModSettingChangedEvent extends EventData {
3608
3608
  /**
@@ -3628,7 +3628,7 @@ declare module "factorio:runtime" {
3628
3628
  }
3629
3629
  /**
3630
3630
  * Called just after a script inventory is resized.
3631
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_script_inventory_resized Online documentation}
3631
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_script_inventory_resized Online documentation}
3632
3632
  */
3633
3633
  interface OnScriptInventoryResizedEvent extends EventData {
3634
3634
  /**
@@ -3663,7 +3663,7 @@ declare module "factorio:runtime" {
3663
3663
  }
3664
3664
  /**
3665
3665
  * Called when a {@link LuaSurface#request_path LuaSurface::request_path} call completes.
3666
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_script_path_request_finished Online documentation}
3666
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_script_path_request_finished Online documentation}
3667
3667
  */
3668
3668
  interface OnScriptPathRequestFinishedEvent extends EventData {
3669
3669
  /**
@@ -3689,7 +3689,7 @@ declare module "factorio:runtime" {
3689
3689
  }
3690
3690
  /**
3691
3691
  * Called when a script trigger effect is triggered.
3692
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_script_trigger_effect Online documentation}
3692
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_script_trigger_effect Online documentation}
3693
3693
  */
3694
3694
  interface OnScriptTriggerEffectEvent extends EventData {
3695
3695
  /**
@@ -3715,7 +3715,7 @@ declare module "factorio:runtime" {
3715
3715
  }
3716
3716
  /**
3717
3717
  * Called when an entity of type `radar` finishes scanning a sector. Can be filtered for the radar using {@link LuaSectorScannedEventFilter}.
3718
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_sector_scanned Online documentation}
3718
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_sector_scanned Online documentation}
3719
3719
  */
3720
3720
  interface OnSectorScannedEvent extends EventData {
3721
3721
  /**
@@ -3741,7 +3741,7 @@ declare module "factorio:runtime" {
3741
3741
  }
3742
3742
  /**
3743
3743
  * Called after the selected entity changes for a given player.
3744
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_selected_entity_changed Online documentation}
3744
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_selected_entity_changed Online documentation}
3745
3745
  */
3746
3746
  interface OnSelectedEntityChangedEvent extends EventData {
3747
3747
  /**
@@ -3763,7 +3763,7 @@ declare module "factorio:runtime" {
3763
3763
  }
3764
3764
  /**
3765
3765
  * Called when a spider finishes moving to its autopilot position.
3766
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_spider_command_completed Online documentation}
3766
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_spider_command_completed Online documentation}
3767
3767
  */
3768
3768
  interface OnSpiderCommandCompletedEvent extends EventData {
3769
3769
  /**
@@ -3781,7 +3781,7 @@ declare module "factorio:runtime" {
3781
3781
  }
3782
3782
  /**
3783
3783
  * 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.
3784
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_string_translated Online documentation}
3784
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_string_translated Online documentation}
3785
3785
  */
3786
3786
  interface OnStringTranslatedEvent extends EventData {
3787
3787
  /**
@@ -3815,7 +3815,7 @@ declare module "factorio:runtime" {
3815
3815
  }
3816
3816
  /**
3817
3817
  * Called just after a surface is cleared (all entities removed and all chunks deleted).
3818
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_surface_cleared Online documentation}
3818
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_surface_cleared Online documentation}
3819
3819
  */
3820
3820
  interface OnSurfaceClearedEvent extends EventData {
3821
3821
  readonly surface_index: SurfaceIndex
@@ -3831,7 +3831,7 @@ declare module "factorio:runtime" {
3831
3831
  /**
3832
3832
  * Called when a surface is created.
3833
3833
  * @remarks This is not called when the default surface is created as it will always exist.
3834
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_surface_created Online documentation}
3834
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_surface_created Online documentation}
3835
3835
  */
3836
3836
  interface OnSurfaceCreatedEvent extends EventData {
3837
3837
  readonly surface_index: SurfaceIndex
@@ -3846,7 +3846,7 @@ declare module "factorio:runtime" {
3846
3846
  }
3847
3847
  /**
3848
3848
  * Called after a surface is deleted.
3849
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_surface_deleted Online documentation}
3849
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_surface_deleted Online documentation}
3850
3850
  */
3851
3851
  interface OnSurfaceDeletedEvent extends EventData {
3852
3852
  readonly surface_index: SurfaceIndex
@@ -3861,7 +3861,7 @@ declare module "factorio:runtime" {
3861
3861
  }
3862
3862
  /**
3863
3863
  * Called after a surface is imported via the map editor.
3864
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_surface_imported Online documentation}
3864
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_surface_imported Online documentation}
3865
3865
  */
3866
3866
  interface OnSurfaceImportedEvent extends EventData {
3867
3867
  readonly surface_index: SurfaceIndex
@@ -3880,7 +3880,7 @@ declare module "factorio:runtime" {
3880
3880
  }
3881
3881
  /**
3882
3882
  * Called when a surface is renamed.
3883
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_surface_renamed Online documentation}
3883
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_surface_renamed Online documentation}
3884
3884
  */
3885
3885
  interface OnSurfaceRenamedEvent extends EventData {
3886
3886
  readonly surface_index: SurfaceIndex
@@ -3897,7 +3897,7 @@ declare module "factorio:runtime" {
3897
3897
  }
3898
3898
  /**
3899
3899
  * Called when {@link LuaForce#reset_technology_effects LuaForce::reset_technology_effects} is finished.
3900
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_technology_effects_reset Online documentation}
3900
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_technology_effects_reset Online documentation}
3901
3901
  */
3902
3902
  interface OnTechnologyEffectsResetEvent extends EventData {
3903
3903
  readonly force: LuaForce
@@ -3912,7 +3912,7 @@ declare module "factorio:runtime" {
3912
3912
  }
3913
3913
  /**
3914
3914
  * It is fired once every tick. Since this event is fired every tick, its handler shouldn't include performance heavy code.
3915
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_tick Online documentation}
3915
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_tick Online documentation}
3916
3916
  */
3917
3917
  interface OnTickEvent extends EventData {
3918
3918
  /**
@@ -3926,7 +3926,7 @@ declare module "factorio:runtime" {
3926
3926
  }
3927
3927
  /**
3928
3928
  * Called when a train changes state (started to stopped and vice versa)
3929
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_train_changed_state Online documentation}
3929
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_train_changed_state Online documentation}
3930
3930
  */
3931
3931
  interface OnTrainChangedStateEvent extends EventData {
3932
3932
  readonly train: LuaTrain
@@ -3942,7 +3942,7 @@ declare module "factorio:runtime" {
3942
3942
  }
3943
3943
  /**
3944
3944
  * Called when a new train is created either through disconnecting/connecting an existing one or building a new one.
3945
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_train_created Online documentation}
3945
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_train_created Online documentation}
3946
3946
  */
3947
3947
  interface OnTrainCreatedEvent extends EventData {
3948
3948
  readonly train: LuaTrain
@@ -3965,7 +3965,7 @@ declare module "factorio:runtime" {
3965
3965
  }
3966
3966
  /**
3967
3967
  * Called when a trains schedule is changed either by the player or through script.
3968
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_train_schedule_changed Online documentation}
3968
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_train_schedule_changed Online documentation}
3969
3969
  */
3970
3970
  interface OnTrainScheduleChangedEvent extends EventData {
3971
3971
  readonly train: LuaTrain
@@ -3984,7 +3984,7 @@ declare module "factorio:runtime" {
3984
3984
  }
3985
3985
  /**
3986
3986
  * Called when an entity with a trigger prototype (such as capsules) create an entity AND that trigger prototype defined `trigger_created_entity="true"`.
3987
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_trigger_created_entity Online documentation}
3987
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_trigger_created_entity Online documentation}
3988
3988
  */
3989
3989
  interface OnTriggerCreatedEntityEvent extends EventData {
3990
3990
  readonly entity: LuaEntity
@@ -4000,7 +4000,7 @@ declare module "factorio:runtime" {
4000
4000
  }
4001
4001
  /**
4002
4002
  * Called when an entity with a trigger prototype (such as capsules) fire an artillery projectile AND that trigger prototype defined `trigger_fired_artillery="true"`.
4003
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_trigger_fired_artillery Online documentation}
4003
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_trigger_fired_artillery Online documentation}
4004
4004
  */
4005
4005
  interface OnTriggerFiredArtilleryEvent extends EventData {
4006
4006
  readonly entity: LuaEntity
@@ -4016,7 +4016,7 @@ declare module "factorio:runtime" {
4016
4016
  }
4017
4017
  /**
4018
4018
  * Called when a unit is added to a unit group.
4019
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_unit_added_to_group Online documentation}
4019
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_unit_added_to_group Online documentation}
4020
4020
  */
4021
4021
  interface OnUnitAddedToGroupEvent extends EventData {
4022
4022
  readonly unit: LuaEntity
@@ -4032,7 +4032,7 @@ declare module "factorio:runtime" {
4032
4032
  }
4033
4033
  /**
4034
4034
  * Called when a new unit group is created, before any members are added to it.
4035
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_unit_group_created Online documentation}
4035
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_unit_group_created Online documentation}
4036
4036
  */
4037
4037
  interface OnUnitGroupCreatedEvent extends EventData {
4038
4038
  readonly group: LuaUnitGroup
@@ -4047,7 +4047,7 @@ declare module "factorio:runtime" {
4047
4047
  }
4048
4048
  /**
4049
4049
  * Called when a unit group finishes gathering and starts executing its command.
4050
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_unit_group_finished_gathering Online documentation}
4050
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_unit_group_finished_gathering Online documentation}
4051
4051
  */
4052
4052
  interface OnUnitGroupFinishedGatheringEvent extends EventData {
4053
4053
  readonly group: LuaUnitGroup
@@ -4062,7 +4062,7 @@ declare module "factorio:runtime" {
4062
4062
  }
4063
4063
  /**
4064
4064
  * Called when a unit is removed from a unit group.
4065
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_unit_removed_from_group Online documentation}
4065
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_unit_removed_from_group Online documentation}
4066
4066
  */
4067
4067
  interface OnUnitRemovedFromGroupEvent extends EventData {
4068
4068
  readonly unit: LuaEntity
@@ -4078,7 +4078,7 @@ declare module "factorio:runtime" {
4078
4078
  }
4079
4079
  /**
4080
4080
  * Called when a worker (construction or logistic) robot expires through a lack of energy.
4081
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#on_worker_robot_expired Online documentation}
4081
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#on_worker_robot_expired Online documentation}
4082
4082
  */
4083
4083
  interface OnWorkerRobotExpiredEvent extends EventData {
4084
4084
  readonly robot: LuaEntity
@@ -4093,7 +4093,7 @@ declare module "factorio:runtime" {
4093
4093
  }
4094
4094
  /**
4095
4095
  * 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}. Can be filtered using {@link LuaScriptRaisedBuiltEventFilter}.
4096
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#script_raised_built Online documentation}
4096
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#script_raised_built Online documentation}
4097
4097
  */
4098
4098
  interface ScriptRaisedBuiltEvent extends EventData {
4099
4099
  /**
@@ -4111,7 +4111,7 @@ declare module "factorio:runtime" {
4111
4111
  }
4112
4112
  /**
4113
4113
  * 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}. Can be filtered using {@link LuaScriptRaisedDestroyEventFilter}.
4114
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#script_raised_destroy Online documentation}
4114
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#script_raised_destroy Online documentation}
4115
4115
  */
4116
4116
  interface ScriptRaisedDestroyEvent extends EventData {
4117
4117
  /**
@@ -4129,7 +4129,7 @@ declare module "factorio:runtime" {
4129
4129
  }
4130
4130
  /**
4131
4131
  * 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}. Can be filtered using {@link LuaScriptRaisedReviveEventFilter}.
4132
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#script_raised_revive Online documentation}
4132
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#script_raised_revive Online documentation}
4133
4133
  */
4134
4134
  interface ScriptRaisedReviveEvent extends EventData {
4135
4135
  /**
@@ -4151,7 +4151,7 @@ declare module "factorio:runtime" {
4151
4151
  }
4152
4152
  /**
4153
4153
  * 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}.
4154
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#script_raised_set_tiles Online documentation}
4154
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#script_raised_set_tiles Online documentation}
4155
4155
  */
4156
4156
  interface ScriptRaisedSetTilesEvent extends EventData {
4157
4157
  /**
@@ -4173,7 +4173,7 @@ declare module "factorio:runtime" {
4173
4173
  }
4174
4174
  /**
4175
4175
  * 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}. Can be filtered using {@link LuaScriptRaisedTeleportedEventFilter}.
4176
- * @see {@link https://lua-api.factorio.com/1.1.105/events.html#script_raised_teleported Online documentation}
4176
+ * @see {@link https://lua-api.factorio.com/1.1.107/events.html#script_raised_teleported Online documentation}
4177
4177
  */
4178
4178
  interface ScriptRaisedTeleportedEvent extends EventData {
4179
4179
  /**