typed-factorio 3.11.0 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
 - package/prototype/generated/prototypes.d.ts +2100 -2088
 - package/prototype/generated/types.d.ts +2130 -2103
 - package/runtime/generated/classes.d.ts +3594 -3586
 - package/runtime/generated/concepts.d.ts +312 -297
 - package/runtime/generated/defines.d.ts +177 -177
 - package/runtime/generated/events.d.ts +202 -202
 - package/runtime/generated/global-functions.d.ts +3 -3
 - package/runtime/generated/global-objects.d.ts +8 -8
 
| 
         @@ -13,7 +13,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       13 
13 
     | 
    
         
             
               * script.on_event("my-potato-control", function(event)
         
     | 
| 
       14 
14 
     | 
    
         
             
               *   game.print("Keyboard shortcut pressed on tick: " ..tostring(event.tick))
         
     | 
| 
       15 
15 
     | 
    
         
             
               * end)
         
     | 
| 
       16 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 16 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#CustomInputEvent Online documentation}
         
     | 
| 
       17 
17 
     | 
    
         
             
               */
         
     | 
| 
       18 
18 
     | 
    
         
             
              interface CustomInputEvent extends EventData {
         
     | 
| 
       19 
19 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -47,7 +47,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       47 
47 
     | 
    
         
             
              }
         
     | 
| 
       48 
48 
     | 
    
         
             
              /**
         
     | 
| 
       49 
49 
     | 
    
         
             
               * Called when an achievement is gained.
         
     | 
| 
       50 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 50 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_achievement_gained Online documentation}
         
     | 
| 
       51 
51 
     | 
    
         
             
               */
         
     | 
| 
       52 
52 
     | 
    
         
             
              interface OnAchievementGainedEvent extends EventData {
         
     | 
| 
       53 
53 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -66,7 +66,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       66 
66 
     | 
    
         
             
              }
         
     | 
| 
       67 
67 
     | 
    
         
             
              /**
         
     | 
| 
       68 
68 
     | 
    
         
             
               * Called when a unit/group completes a command.
         
     | 
| 
       69 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 69 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_ai_command_completed Online documentation}
         
     | 
| 
       70 
70 
     | 
    
         
             
               */
         
     | 
| 
       71 
71 
     | 
    
         
             
              interface OnAiCommandCompletedEvent extends EventData {
         
     | 
| 
       72 
72 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -89,7 +89,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       89 
89 
     | 
    
         
             
              }
         
     | 
| 
       90 
90 
     | 
    
         
             
              /**
         
     | 
| 
       91 
91 
     | 
    
         
             
               * Called when an area of the map is cloned.
         
     | 
| 
       92 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 92 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_area_cloned Online documentation}
         
     | 
| 
       93 
93 
     | 
    
         
             
               */
         
     | 
| 
       94 
94 
     | 
    
         
             
              interface OnAreaClonedEvent extends EventData {
         
     | 
| 
       95 
95 
     | 
    
         
             
                readonly source_surface: LuaSurface
         
     | 
| 
         @@ -115,7 +115,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       115 
115 
     | 
    
         
             
               * Called when a biter migration builds a base.
         
     | 
| 
       116 
116 
     | 
    
         
             
               *
         
     | 
| 
       117 
117 
     | 
    
         
             
               * This will be called multiple times for each migration, once for every biter that is sacrificed to build part of the new base.
         
     | 
| 
       118 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 118 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_biter_base_built Online documentation}
         
     | 
| 
       119 
119 
     | 
    
         
             
               */
         
     | 
| 
       120 
120 
     | 
    
         
             
              interface OnBiterBaseBuiltEvent extends EventData {
         
     | 
| 
       121 
121 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -133,7 +133,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       133 
133 
     | 
    
         
             
              }
         
     | 
| 
       134 
134 
     | 
    
         
             
              /**
         
     | 
| 
       135 
135 
     | 
    
         
             
               * Called when a set of positions on the map is cloned.
         
     | 
| 
       136 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 136 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_brush_cloned Online documentation}
         
     | 
| 
       137 
137 
     | 
    
         
             
               */
         
     | 
| 
       138 
138 
     | 
    
         
             
              interface OnBrushClonedEvent extends EventData {
         
     | 
| 
       139 
139 
     | 
    
         
             
                readonly source_offset: TilePosition
         
     | 
| 
         @@ -158,7 +158,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       158 
158 
     | 
    
         
             
              }
         
     | 
| 
       159 
159 
     | 
    
         
             
              /**
         
     | 
| 
       160 
160 
     | 
    
         
             
               * Called when a {@link defines.command.build_base} command reaches its destination, and before building starts.
         
     | 
| 
       161 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 161 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_build_base_arrived Online documentation}
         
     | 
| 
       162 
162 
     | 
    
         
             
               */
         
     | 
| 
       163 
163 
     | 
    
         
             
              interface OnBuildBaseArrivedEvent extends EventData {
         
     | 
| 
       164 
164 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -182,7 +182,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       182 
182 
     | 
    
         
             
               * Called when player builds something.
         
     | 
| 
       183 
183 
     | 
    
         
             
               *
         
     | 
| 
       184 
184 
     | 
    
         
             
               * Event filter: [LuaPlayerBuiltEntityEventFilter](LuaPlayerBuiltEntityEventFilter]
         
     | 
| 
       185 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 185 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_built_entity Online documentation}
         
     | 
| 
       186 
186 
     | 
    
         
             
               */
         
     | 
| 
       187 
187 
     | 
    
         
             
              interface OnBuiltEntityEvent extends EventData {
         
     | 
| 
       188 
188 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -205,7 +205,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       205 
205 
     | 
    
         
             
               * Called when the deconstruction of an entity is canceled.
         
     | 
| 
       206 
206 
     | 
    
         
             
               *
         
     | 
| 
       207 
207 
     | 
    
         
             
               * Event filter: [LuaEntityDeconstructionCancelledEventFilter](LuaEntityDeconstructionCancelledEventFilter]
         
     | 
| 
       208 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 208 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cancelled_deconstruction Online documentation}
         
     | 
| 
       209 
209 
     | 
    
         
             
               */
         
     | 
| 
       210 
210 
     | 
    
         
             
              interface OnCancelledDeconstructionEvent extends EventData {
         
     | 
| 
       211 
211 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -223,7 +223,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       223 
223 
     | 
    
         
             
               * Called when the upgrade of an entity is canceled.
         
     | 
| 
       224 
224 
     | 
    
         
             
               *
         
     | 
| 
       225 
225 
     | 
    
         
             
               * Event filter: [LuaUpgradeCancelledEventFilter](LuaUpgradeCancelledEventFilter]
         
     | 
| 
       226 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 226 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cancelled_upgrade Online documentation}
         
     | 
| 
       227 
227 
     | 
    
         
             
               */
         
     | 
| 
       228 
228 
     | 
    
         
             
              interface OnCancelledUpgradeEvent extends EventData {
         
     | 
| 
       229 
229 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -241,7 +241,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       241 
241 
     | 
    
         
             
              }
         
     | 
| 
       242 
242 
     | 
    
         
             
              /**
         
     | 
| 
       243 
243 
     | 
    
         
             
               * Called when a cargo pod departs a surface.
         
     | 
| 
       244 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 244 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cargo_pod_finished_ascending Online documentation}
         
     | 
| 
       245 
245 
     | 
    
         
             
               */
         
     | 
| 
       246 
246 
     | 
    
         
             
              interface OnCargoPodFinishedAscendingEvent extends EventData {
         
     | 
| 
       247 
247 
     | 
    
         
             
                readonly cargo_pod: LuaEntity
         
     | 
| 
         @@ -266,7 +266,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       266 
266 
     | 
    
         
             
               * Called when a character corpse expires due to timeout or all of the items being removed from it.
         
     | 
| 
       267 
267 
     | 
    
         
             
               *
         
     | 
| 
       268 
268 
     | 
    
         
             
               * this is not called if the corpse is mined. See {@link defines.events.on_pre_player_mined_item} to detect that.
         
     | 
| 
       269 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 269 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_character_corpse_expired Online documentation}
         
     | 
| 
       270 
270 
     | 
    
         
             
               */
         
     | 
| 
       271 
271 
     | 
    
         
             
              interface OnCharacterCorpseExpiredEvent extends EventData {
         
     | 
| 
       272 
272 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -284,7 +284,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       284 
284 
     | 
    
         
             
              }
         
     | 
| 
       285 
285 
     | 
    
         
             
              /**
         
     | 
| 
       286 
286 
     | 
    
         
             
               * Called when a chart tag is created.
         
     | 
| 
       287 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 287 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_chart_tag_added Online documentation}
         
     | 
| 
       288 
288 
     | 
    
         
             
               */
         
     | 
| 
       289 
289 
     | 
    
         
             
              interface OnChartTagAddedEvent extends EventData {
         
     | 
| 
       290 
290 
     | 
    
         
             
                readonly tag: LuaCustomChartTag
         
     | 
| 
         @@ -301,7 +301,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       301 
301 
     | 
    
         
             
              }
         
     | 
| 
       302 
302 
     | 
    
         
             
              /**
         
     | 
| 
       303 
303 
     | 
    
         
             
               * Called when a chart tag is modified by a player.
         
     | 
| 
       304 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 304 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_chart_tag_modified Online documentation}
         
     | 
| 
       305 
305 
     | 
    
         
             
               */
         
     | 
| 
       306 
306 
     | 
    
         
             
              interface OnChartTagModifiedEvent extends EventData {
         
     | 
| 
       307 
307 
     | 
    
         
             
                readonly tag: LuaCustomChartTag
         
     | 
| 
         @@ -323,7 +323,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       323 
323 
     | 
    
         
             
              }
         
     | 
| 
       324 
324 
     | 
    
         
             
              /**
         
     | 
| 
       325 
325 
     | 
    
         
             
               * Called just before a chart tag is deleted.
         
     | 
| 
       326 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 326 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_chart_tag_removed Online documentation}
         
     | 
| 
       327 
327 
     | 
    
         
             
               */
         
     | 
| 
       328 
328 
     | 
    
         
             
              interface OnChartTagRemovedEvent extends EventData {
         
     | 
| 
       329 
329 
     | 
    
         
             
                readonly tag: LuaCustomChartTag
         
     | 
| 
         @@ -340,7 +340,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       340 
340 
     | 
    
         
             
              }
         
     | 
| 
       341 
341 
     | 
    
         
             
              /**
         
     | 
| 
       342 
342 
     | 
    
         
             
               * Called when a chunk is charted or re-charted.
         
     | 
| 
       343 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 343 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_chunk_charted Online documentation}
         
     | 
| 
       344 
344 
     | 
    
         
             
               */
         
     | 
| 
       345 
345 
     | 
    
         
             
              interface OnChunkChartedEvent extends EventData {
         
     | 
| 
       346 
346 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -361,7 +361,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       361 
361 
     | 
    
         
             
              }
         
     | 
| 
       362 
362 
     | 
    
         
             
              /**
         
     | 
| 
       363 
363 
     | 
    
         
             
               * Called when one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}.
         
     | 
| 
       364 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 364 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_chunk_deleted Online documentation}
         
     | 
| 
       365 
365 
     | 
    
         
             
               */
         
     | 
| 
       366 
366 
     | 
    
         
             
              interface OnChunkDeletedEvent extends EventData {
         
     | 
| 
       367 
367 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -380,7 +380,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       380 
380 
     | 
    
         
             
              }
         
     | 
| 
       381 
381 
     | 
    
         
             
              /**
         
     | 
| 
       382 
382 
     | 
    
         
             
               * Called when a chunk is generated.
         
     | 
| 
       383 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 383 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_chunk_generated Online documentation}
         
     | 
| 
       384 
384 
     | 
    
         
             
               */
         
     | 
| 
       385 
385 
     | 
    
         
             
              interface OnChunkGeneratedEvent extends EventData {
         
     | 
| 
       386 
386 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -406,7 +406,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       406 
406 
     | 
    
         
             
              }
         
     | 
| 
       407 
407 
     | 
    
         
             
              /**
         
     | 
| 
       408 
408 
     | 
    
         
             
               * Called when a combat robot expires through a lack of energy, or timeout.
         
     | 
| 
       409 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 409 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_combat_robot_expired Online documentation}
         
     | 
| 
       410 
410 
     | 
    
         
             
               */
         
     | 
| 
       411 
411 
     | 
    
         
             
              interface OnCombatRobotExpiredEvent extends EventData {
         
     | 
| 
       412 
412 
     | 
    
         
             
                readonly robot: LuaEntity
         
     | 
| 
         @@ -427,7 +427,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       427 
427 
     | 
    
         
             
               * Called when a message is sent to the in-game console, either by a player or through the server interface.
         
     | 
| 
       428 
428 
     | 
    
         
             
               *
         
     | 
| 
       429 
429 
     | 
    
         
             
               * This event only fires for plain messages, not for any commands (including `/shout` or `/whisper`).
         
     | 
| 
       430 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 430 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_console_chat Online documentation}
         
     | 
| 
       431 
431 
     | 
    
         
             
               */
         
     | 
| 
       432 
432 
     | 
    
         
             
              interface OnConsoleChatEvent extends EventData {
         
     | 
| 
       433 
433 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -449,7 +449,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       449 
449 
     | 
    
         
             
              }
         
     | 
| 
       450 
450 
     | 
    
         
             
              /**
         
     | 
| 
       451 
451 
     | 
    
         
             
               * Called when someone enters a command-like message regardless of it being a valid command.
         
     | 
| 
       452 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 452 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_console_command Online documentation}
         
     | 
| 
       453 
453 
     | 
    
         
             
               */
         
     | 
| 
       454 
454 
     | 
    
         
             
              interface OnConsoleCommandEvent extends EventData {
         
     | 
| 
       455 
455 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -475,7 +475,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       475 
475 
     | 
    
         
             
              }
         
     | 
| 
       476 
476 
     | 
    
         
             
              /**
         
     | 
| 
       477 
477 
     | 
    
         
             
               * Called when a cutscene is cancelled by the player or by script.
         
     | 
| 
       478 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 478 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cutscene_cancelled Online documentation}
         
     | 
| 
       479 
479 
     | 
    
         
             
               */
         
     | 
| 
       480 
480 
     | 
    
         
             
              interface OnCutsceneCancelledEvent extends EventData {
         
     | 
| 
       481 
481 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -493,7 +493,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       493 
493 
     | 
    
         
             
              }
         
     | 
| 
       494 
494 
     | 
    
         
             
              /**
         
     | 
| 
       495 
495 
     | 
    
         
             
               * Called when a cutscene finishes naturally (was not cancelled).
         
     | 
| 
       496 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 496 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cutscene_finished Online documentation}
         
     | 
| 
       497 
497 
     | 
    
         
             
               */
         
     | 
| 
       498 
498 
     | 
    
         
             
              interface OnCutsceneFinishedEvent extends EventData {
         
     | 
| 
       499 
499 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -511,7 +511,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       511 
511 
     | 
    
         
             
              }
         
     | 
| 
       512 
512 
     | 
    
         
             
              /**
         
     | 
| 
       513 
513 
     | 
    
         
             
               * Called when a cutscene starts.
         
     | 
| 
       514 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 514 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cutscene_started Online documentation}
         
     | 
| 
       515 
515 
     | 
    
         
             
               */
         
     | 
| 
       516 
516 
     | 
    
         
             
              interface OnCutsceneStartedEvent extends EventData {
         
     | 
| 
       517 
517 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -531,7 +531,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       531 
531 
     | 
    
         
             
               * Called when a cutscene is playing, each time it reaches a waypoint in that cutscene.
         
     | 
| 
       532 
532 
     | 
    
         
             
               *
         
     | 
| 
       533 
533 
     | 
    
         
             
               * This refers to an index in the table previously passed to set_controller which started the cutscene.
         
     | 
| 
       534 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 534 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_cutscene_waypoint_reached Online documentation}
         
     | 
| 
       535 
535 
     | 
    
         
             
               */
         
     | 
| 
       536 
536 
     | 
    
         
             
              interface OnCutsceneWaypointReachedEvent extends EventData {
         
     | 
| 
       537 
537 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -555,7 +555,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       555 
555 
     | 
    
         
             
               * Called when an entity is cloned. The filter applies to the source entity.
         
     | 
| 
       556 
556 
     | 
    
         
             
               *
         
     | 
| 
       557 
557 
     | 
    
         
             
               * Event filter: [LuaEntityClonedEventFilter](LuaEntityClonedEventFilter]
         
     | 
| 
       558 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 558 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_cloned Online documentation}
         
     | 
| 
       559 
559 
     | 
    
         
             
               */
         
     | 
| 
       560 
560 
     | 
    
         
             
              interface OnEntityClonedEvent extends EventData {
         
     | 
| 
       561 
561 
     | 
    
         
             
                readonly source: LuaEntity
         
     | 
| 
         @@ -573,7 +573,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       573 
573 
     | 
    
         
             
               * Called after an entity has been recolored either by the player or through script.
         
     | 
| 
       574 
574 
     | 
    
         
             
               *
         
     | 
| 
       575 
575 
     | 
    
         
             
               * Automatic recoloring due to {@link LuaPlayer#color LuaPlayer::color} will not raise events, as that is a separate mechanism.
         
     | 
| 
       576 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 576 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_color_changed Online documentation}
         
     | 
| 
       577 
577 
     | 
    
         
             
               */
         
     | 
| 
       578 
578 
     | 
    
         
             
              interface OnEntityColorChangedEvent extends EventData {
         
     | 
| 
       579 
579 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -593,7 +593,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       593 
593 
     | 
    
         
             
               * Called when an entity is damaged. This is not called when an entities health is set directly by another mod.
         
     | 
| 
       594 
594 
     | 
    
         
             
               *
         
     | 
| 
       595 
595 
     | 
    
         
             
               * Event filter: [LuaEntityDamagedEventFilter](LuaEntityDamagedEventFilter]
         
     | 
| 
       596 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 596 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_damaged Online documentation}
         
     | 
| 
       597 
597 
     | 
    
         
             
               */
         
     | 
| 
       598 
598 
     | 
    
         
             
              interface OnEntityDamagedEvent extends EventData {
         
     | 
| 
       599 
599 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -635,7 +635,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       635 
635 
     | 
    
         
             
               * Called when an entity dies.
         
     | 
| 
       636 
636 
     | 
    
         
             
               *
         
     | 
| 
       637 
637 
     | 
    
         
             
               * Event filter: [LuaEntityDiedEventFilter](LuaEntityDiedEventFilter]
         
     | 
| 
       638 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 638 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_died Online documentation}
         
     | 
| 
       639 
639 
     | 
    
         
             
               */
         
     | 
| 
       640 
640 
     | 
    
         
             
              interface OnEntityDiedEvent extends EventData {
         
     | 
| 
       641 
641 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -669,7 +669,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       669 
669 
     | 
    
         
             
              }
         
     | 
| 
       670 
670 
     | 
    
         
             
              /**
         
     | 
| 
       671 
671 
     | 
    
         
             
               * Called when one of an entity's logistic slots changes.
         
     | 
| 
       672 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 672 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_logistic_slot_changed Online documentation}
         
     | 
| 
       673 
673 
     | 
    
         
             
               */
         
     | 
| 
       674 
674 
     | 
    
         
             
              interface OnEntityLogisticSlotChangedEvent extends EventData {
         
     | 
| 
       675 
675 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -699,7 +699,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       699 
699 
     | 
    
         
             
              }
         
     | 
| 
       700 
700 
     | 
    
         
             
              /**
         
     | 
| 
       701 
701 
     | 
    
         
             
               * Called after an entity has been renamed either by the player or through script.
         
     | 
| 
       702 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 702 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_renamed Online documentation}
         
     | 
| 
       703 
703 
     | 
    
         
             
               */
         
     | 
| 
       704 
704 
     | 
    
         
             
              interface OnEntityRenamedEvent extends EventData {
         
     | 
| 
       705 
705 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -720,7 +720,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       720 
720 
     | 
    
         
             
              }
         
     | 
| 
       721 
721 
     | 
    
         
             
              /**
         
     | 
| 
       722 
722 
     | 
    
         
             
               * Called after entity copy-paste is done.
         
     | 
| 
       723 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 723 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_settings_pasted Online documentation}
         
     | 
| 
       724 
724 
     | 
    
         
             
               */
         
     | 
| 
       725 
725 
     | 
    
         
             
              interface OnEntitySettingsPastedEvent extends EventData {
         
     | 
| 
       726 
726 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -743,7 +743,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       743 
743 
     | 
    
         
             
              }
         
     | 
| 
       744 
744 
     | 
    
         
             
              /**
         
     | 
| 
       745 
745 
     | 
    
         
             
               * Called when an entity is spawned by a EnemySpawner
         
     | 
| 
       746 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 746 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_entity_spawned Online documentation}
         
     | 
| 
       747 
747 
     | 
    
         
             
               */
         
     | 
| 
       748 
748 
     | 
    
         
             
              interface OnEntitySpawnedEvent extends EventData {
         
     | 
| 
       749 
749 
     | 
    
         
             
                readonly spawner: LuaEntity
         
     | 
| 
         @@ -759,7 +759,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       759 
759 
     | 
    
         
             
              }
         
     | 
| 
       760 
760 
     | 
    
         
             
              /**
         
     | 
| 
       761 
761 
     | 
    
         
             
               * Called after equipment is inserted into an equipment grid.
         
     | 
| 
       762 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 762 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_equipment_inserted Online documentation}
         
     | 
| 
       763 
763 
     | 
    
         
             
               */
         
     | 
| 
       764 
764 
     | 
    
         
             
              interface OnEquipmentInsertedEvent extends EventData {
         
     | 
| 
       765 
765 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -781,7 +781,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       781 
781 
     | 
    
         
             
              }
         
     | 
| 
       782 
782 
     | 
    
         
             
              /**
         
     | 
| 
       783 
783 
     | 
    
         
             
               * Called after equipment is removed from an equipment grid.
         
     | 
| 
       784 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 784 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_equipment_removed Online documentation}
         
     | 
| 
       785 
785 
     | 
    
         
             
               */
         
     | 
| 
       786 
786 
     | 
    
         
             
              interface OnEquipmentRemovedEvent extends EventData {
         
     | 
| 
       787 
787 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -811,7 +811,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       811 
811 
     | 
    
         
             
              }
         
     | 
| 
       812 
812 
     | 
    
         
             
              /**
         
     | 
| 
       813 
813 
     | 
    
         
             
               * Called when the a forces cease fire values change.
         
     | 
| 
       814 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 814 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_force_cease_fire_changed Online documentation}
         
     | 
| 
       815 
815 
     | 
    
         
             
               */
         
     | 
| 
       816 
816 
     | 
    
         
             
              interface OnForceCeaseFireChangedEvent extends EventData {
         
     | 
| 
       817 
817 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -839,7 +839,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       839 
839 
     | 
    
         
             
               * Called when a new force is created using `game.create_force()`
         
     | 
| 
       840 
840 
     | 
    
         
             
               *
         
     | 
| 
       841 
841 
     | 
    
         
             
               * This is not called when the default forces (`'player'`, `'enemy'`, `'neutral'`) are created as they will always exist.
         
     | 
| 
       842 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 842 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_force_created Online documentation}
         
     | 
| 
       843 
843 
     | 
    
         
             
               */
         
     | 
| 
       844 
844 
     | 
    
         
             
              interface OnForceCreatedEvent extends EventData {
         
     | 
| 
       845 
845 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -857,7 +857,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       857 
857 
     | 
    
         
             
              }
         
     | 
| 
       858 
858 
     | 
    
         
             
              /**
         
     | 
| 
       859 
859 
     | 
    
         
             
               * Called when the a forces friends change.
         
     | 
| 
       860 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 860 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_force_friends_changed Online documentation}
         
     | 
| 
       861 
861 
     | 
    
         
             
               */
         
     | 
| 
       862 
862 
     | 
    
         
             
              interface OnForceFriendsChangedEvent extends EventData {
         
     | 
| 
       863 
863 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -883,7 +883,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       883 
883 
     | 
    
         
             
              }
         
     | 
| 
       884 
884 
     | 
    
         
             
              /**
         
     | 
| 
       885 
885 
     | 
    
         
             
               * Called when {@link LuaForce#reset LuaForce::reset} is finished.
         
     | 
| 
       886 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 886 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_force_reset Online documentation}
         
     | 
| 
       887 
887 
     | 
    
         
             
               */
         
     | 
| 
       888 
888 
     | 
    
         
             
              interface OnForceResetEvent extends EventData {
         
     | 
| 
       889 
889 
     | 
    
         
             
                readonly force: LuaForce
         
     | 
| 
         @@ -900,7 +900,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       900 
900 
     | 
    
         
             
               * Called after two forces have been merged using `game.merge_forces()`.
         
     | 
| 
       901 
901 
     | 
    
         
             
               *
         
     | 
| 
       902 
902 
     | 
    
         
             
               * The source force is invalidated before this event is called and the name can be re-used in this event if desired.
         
     | 
| 
       903 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 903 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_forces_merged Online documentation}
         
     | 
| 
       904 
904 
     | 
    
         
             
               */
         
     | 
| 
       905 
905 
     | 
    
         
             
              interface OnForcesMergedEvent extends EventData {
         
     | 
| 
       906 
906 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -926,7 +926,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       926 
926 
     | 
    
         
             
              }
         
     | 
| 
       927 
927 
     | 
    
         
             
              /**
         
     | 
| 
       928 
928 
     | 
    
         
             
               * Called when two forces are about to be merged using `game.merge_forces()`.
         
     | 
| 
       929 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 929 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_forces_merging Online documentation}
         
     | 
| 
       930 
930 
     | 
    
         
             
               */
         
     | 
| 
       931 
931 
     | 
    
         
             
              interface OnForcesMergingEvent extends EventData {
         
     | 
| 
       932 
932 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -950,7 +950,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       950 
950 
     | 
    
         
             
               * 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.
         
     | 
| 
       951 
951 
     | 
    
         
             
               *
         
     | 
| 
       952 
952 
     | 
    
         
             
               * This event is not fired when the scenario is loaded via the map editor.
         
     | 
| 
       953 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 953 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_game_created_from_scenario Online documentation}
         
     | 
| 
       954 
954 
     | 
    
         
             
               */
         
     | 
| 
       955 
955 
     | 
    
         
             
              interface OnGameCreatedFromScenarioEvent extends EventData {
         
     | 
| 
       956 
956 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -964,7 +964,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       964 
964 
     | 
    
         
             
              }
         
     | 
| 
       965 
965 
     | 
    
         
             
              /**
         
     | 
| 
       966 
966 
     | 
    
         
             
               * Called when {@link LuaGuiElement} checked state is changed (related to checkboxes and radio buttons).
         
     | 
| 
       967 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 967 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_checked_state_changed Online documentation}
         
     | 
| 
       968 
968 
     | 
    
         
             
               */
         
     | 
| 
       969 
969 
     | 
    
         
             
              interface OnGuiCheckedStateChangedEvent extends EventData {
         
     | 
| 
       970 
970 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -986,7 +986,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       986 
986 
     | 
    
         
             
              }
         
     | 
| 
       987 
987 
     | 
    
         
             
              /**
         
     | 
| 
       988 
988 
     | 
    
         
             
               * Called when {@link LuaGuiElement} is clicked.
         
     | 
| 
       989 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 989 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_click Online documentation}
         
     | 
| 
       990 
990 
     | 
    
         
             
               */
         
     | 
| 
       991 
991 
     | 
    
         
             
              interface OnGuiClickEvent extends EventData {
         
     | 
| 
       992 
992 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1032,7 +1032,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1032 
1032 
     | 
    
         
             
               * 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.
         
     | 
| 
       1033 
1033 
     | 
    
         
             
               *
         
     | 
| 
       1034 
1034 
     | 
    
         
             
               * 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.
         
     | 
| 
       1035 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1035 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_closed Online documentation}
         
     | 
| 
       1036 
1036 
     | 
    
         
             
               */
         
     | 
| 
       1037 
1037 
     | 
    
         
             
              interface OnGuiClosedEvent extends EventData {
         
     | 
| 
       1038 
1038 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1086,7 +1086,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1086 
1086 
     | 
    
         
             
              }
         
     | 
| 
       1087 
1087 
     | 
    
         
             
              /**
         
     | 
| 
       1088 
1088 
     | 
    
         
             
               * Called when a {@link LuaGuiElement} is confirmed, for example by pressing Enter in a textfield.
         
     | 
| 
       1089 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1089 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_confirmed Online documentation}
         
     | 
| 
       1090 
1090 
     | 
    
         
             
               */
         
     | 
| 
       1091 
1091 
     | 
    
         
             
              interface OnGuiConfirmedEvent extends EventData {
         
     | 
| 
       1092 
1092 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1120,7 +1120,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1120 
1120 
     | 
    
         
             
              }
         
     | 
| 
       1121 
1121 
     | 
    
         
             
              /**
         
     | 
| 
       1122 
1122 
     | 
    
         
             
               * Called when {@link LuaGuiElement} element value is changed (related to choose element buttons).
         
     | 
| 
       1123 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1123 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_elem_changed Online documentation}
         
     | 
| 
       1124 
1124 
     | 
    
         
             
               */
         
     | 
| 
       1125 
1125 
     | 
    
         
             
              interface OnGuiElemChangedEvent extends EventData {
         
     | 
| 
       1126 
1126 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1144,7 +1144,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1144 
1144 
     | 
    
         
             
               * Called when {@link LuaGuiElement} is hovered by the mouse.
         
     | 
| 
       1145 
1145 
     | 
    
         
             
               *
         
     | 
| 
       1146 
1146 
     | 
    
         
             
               * Only fired for events whose {@link LuaGuiElement#raise_hover_events LuaGuiElement::raise_hover_events} is `true`.
         
     | 
| 
       1147 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1147 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_hover Online documentation}
         
     | 
| 
       1148 
1148 
     | 
    
         
             
               */
         
     | 
| 
       1149 
1149 
     | 
    
         
             
              interface OnGuiHoverEvent extends EventData {
         
     | 
| 
       1150 
1150 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1168,7 +1168,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1168 
1168 
     | 
    
         
             
               * Called when the player's cursor leaves a {@link LuaGuiElement} that was previously hovered.
         
     | 
| 
       1169 
1169 
     | 
    
         
             
               *
         
     | 
| 
       1170 
1170 
     | 
    
         
             
               * Only fired for events whose {@link LuaGuiElement#raise_hover_events LuaGuiElement::raise_hover_events} is `true`.
         
     | 
| 
       1171 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1171 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_leave Online documentation}
         
     | 
| 
       1172 
1172 
     | 
    
         
             
               */
         
     | 
| 
       1173 
1173 
     | 
    
         
             
              interface OnGuiLeaveEvent extends EventData {
         
     | 
| 
       1174 
1174 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1190,7 +1190,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1190 
1190 
     | 
    
         
             
              }
         
     | 
| 
       1191 
1191 
     | 
    
         
             
              /**
         
     | 
| 
       1192 
1192 
     | 
    
         
             
               * Called when {@link LuaGuiElement} element location is changed (related to frames in `player.gui.screen`).
         
     | 
| 
       1193 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1193 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_location_changed Online documentation}
         
     | 
| 
       1194 
1194 
     | 
    
         
             
               */
         
     | 
| 
       1195 
1195 
     | 
    
         
             
              interface OnGuiLocationChangedEvent extends EventData {
         
     | 
| 
       1196 
1196 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1212,7 +1212,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1212 
1212 
     | 
    
         
             
              }
         
     | 
| 
       1213 
1213 
     | 
    
         
             
              /**
         
     | 
| 
       1214 
1214 
     | 
    
         
             
               * Called when the player opens a GUI.
         
     | 
| 
       1215 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1215 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_opened Online documentation}
         
     | 
| 
       1216 
1216 
     | 
    
         
             
               */
         
     | 
| 
       1217 
1217 
     | 
    
         
             
              interface OnGuiOpenedEvent extends EventData {
         
     | 
| 
       1218 
1218 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1258,7 +1258,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1258 
1258 
     | 
    
         
             
              }
         
     | 
| 
       1259 
1259 
     | 
    
         
             
              /**
         
     | 
| 
       1260 
1260 
     | 
    
         
             
               * Called when {@link LuaGuiElement} selected tab is changed (related to tabbed-panes).
         
     | 
| 
       1261 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1261 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_selected_tab_changed Online documentation}
         
     | 
| 
       1262 
1262 
     | 
    
         
             
               */
         
     | 
| 
       1263 
1263 
     | 
    
         
             
              interface OnGuiSelectedTabChangedEvent extends EventData {
         
     | 
| 
       1264 
1264 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1280,7 +1280,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1280 
1280 
     | 
    
         
             
              }
         
     | 
| 
       1281 
1281 
     | 
    
         
             
              /**
         
     | 
| 
       1282 
1282 
     | 
    
         
             
               * Called when {@link LuaGuiElement} selection state is changed (related to drop-downs and listboxes).
         
     | 
| 
       1283 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1283 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_selection_state_changed Online documentation}
         
     | 
| 
       1284 
1284 
     | 
    
         
             
               */
         
     | 
| 
       1285 
1285 
     | 
    
         
             
              interface OnGuiSelectionStateChangedEvent extends EventData {
         
     | 
| 
       1286 
1286 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1302,7 +1302,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1302 
1302 
     | 
    
         
             
              }
         
     | 
| 
       1303 
1303 
     | 
    
         
             
              /**
         
     | 
| 
       1304 
1304 
     | 
    
         
             
               * Called when {@link LuaGuiElement} switch state is changed (related to switches).
         
     | 
| 
       1305 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1305 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_switch_state_changed Online documentation}
         
     | 
| 
       1306 
1306 
     | 
    
         
             
               */
         
     | 
| 
       1307 
1307 
     | 
    
         
             
              interface OnGuiSwitchStateChangedEvent extends EventData {
         
     | 
| 
       1308 
1308 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1324,7 +1324,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1324 
1324 
     | 
    
         
             
              }
         
     | 
| 
       1325 
1325 
     | 
    
         
             
              /**
         
     | 
| 
       1326 
1326 
     | 
    
         
             
               * Called when {@link LuaGuiElement} text is changed by the player.
         
     | 
| 
       1327 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1327 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_text_changed Online documentation}
         
     | 
| 
       1328 
1328 
     | 
    
         
             
               */
         
     | 
| 
       1329 
1329 
     | 
    
         
             
              interface OnGuiTextChangedEvent extends EventData {
         
     | 
| 
       1330 
1330 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1350,7 +1350,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1350 
1350 
     | 
    
         
             
              }
         
     | 
| 
       1351 
1351 
     | 
    
         
             
              /**
         
     | 
| 
       1352 
1352 
     | 
    
         
             
               * Called when {@link LuaGuiElement} slider value is changed (related to the slider element).
         
     | 
| 
       1353 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1353 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_gui_value_changed Online documentation}
         
     | 
| 
       1354 
1354 
     | 
    
         
             
               */
         
     | 
| 
       1355 
1355 
     | 
    
         
             
              interface OnGuiValueChangedEvent extends EventData {
         
     | 
| 
       1356 
1356 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1372,7 +1372,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1372 
1372 
     | 
    
         
             
              }
         
     | 
| 
       1373 
1373 
     | 
    
         
             
              /**
         
     | 
| 
       1374 
1374 
     | 
    
         
             
               * Called when a land mine is armed.
         
     | 
| 
       1375 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1375 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_land_mine_armed Online documentation}
         
     | 
| 
       1376 
1376 
     | 
    
         
             
               */
         
     | 
| 
       1377 
1377 
     | 
    
         
             
              interface OnLandMineArmedEvent extends EventData {
         
     | 
| 
       1378 
1378 
     | 
    
         
             
                readonly mine: LuaEntity
         
     | 
| 
         @@ -1387,7 +1387,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1387 
1387 
     | 
    
         
             
              }
         
     | 
| 
       1388 
1388 
     | 
    
         
             
              /**
         
     | 
| 
       1389 
1389 
     | 
    
         
             
               * Called when a custom {@link import("factorio:prototype").ShortcutPrototype Lua shortcut} is pressed.
         
     | 
| 
       1390 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1390 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_lua_shortcut Online documentation}
         
     | 
| 
       1391 
1391 
     | 
    
         
             
               */
         
     | 
| 
       1392 
1392 
     | 
    
         
             
              interface OnLuaShortcutEvent extends EventData {
         
     | 
| 
       1393 
1393 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -1408,7 +1408,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1408 
1408 
     | 
    
         
             
               * Called when an entity is marked for deconstruction with the Deconstruction planner or via script.
         
     | 
| 
       1409 
1409 
     | 
    
         
             
               *
         
     | 
| 
       1410 
1410 
     | 
    
         
             
               * Event filter: [LuaEntityMarkedForDeconstructionEventFilter](LuaEntityMarkedForDeconstructionEventFilter]
         
     | 
| 
       1411 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1411 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_marked_for_deconstruction Online documentation}
         
     | 
| 
       1412 
1412 
     | 
    
         
             
               */
         
     | 
| 
       1413 
1413 
     | 
    
         
             
              interface OnMarkedForDeconstructionEvent extends EventData {
         
     | 
| 
       1414 
1414 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -1426,7 +1426,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1426 
1426 
     | 
    
         
             
               * Called when an entity is marked for upgrade with the Upgrade planner or via script.
         
     | 
| 
       1427 
1427 
     | 
    
         
             
               *
         
     | 
| 
       1428 
1428 
     | 
    
         
             
               * Event filter: [LuaEntityMarkedForUpgradeEventFilter](LuaEntityMarkedForUpgradeEventFilter]
         
     | 
| 
       1429 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1429 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_marked_for_upgrade Online documentation}
         
     | 
| 
       1430 
1430 
     | 
    
         
             
               */
         
     | 
| 
       1431 
1431 
     | 
    
         
             
              interface OnMarkedForUpgradeEvent extends EventData {
         
     | 
| 
       1432 
1432 
     | 
    
         
             
                readonly player_index?: PlayerIndex
         
     | 
| 
         @@ -1444,7 +1444,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1444 
1444 
     | 
    
         
             
              }
         
     | 
| 
       1445 
1445 
     | 
    
         
             
              /**
         
     | 
| 
       1446 
1446 
     | 
    
         
             
               * Called after a player purchases some offer from a `market` entity.
         
     | 
| 
       1447 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1447 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_market_item_purchased Online documentation}
         
     | 
| 
       1448 
1448 
     | 
    
         
             
               */
         
     | 
| 
       1449 
1449 
     | 
    
         
             
              interface OnMarketItemPurchasedEvent extends EventData {
         
     | 
| 
       1450 
1450 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1474,7 +1474,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1474 
1474 
     | 
    
         
             
              }
         
     | 
| 
       1475 
1475 
     | 
    
         
             
              /**
         
     | 
| 
       1476 
1476 
     | 
    
         
             
               * Called when the player uses the 'Open item GUI' control on an item defined with the 'mod-openable' flag
         
     | 
| 
       1477 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1477 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_mod_item_opened Online documentation}
         
     | 
| 
       1478 
1478 
     | 
    
         
             
               */
         
     | 
| 
       1479 
1479 
     | 
    
         
             
              interface OnModItemOpenedEvent extends EventData {
         
     | 
| 
       1480 
1480 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1502,7 +1502,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1502 
1502 
     | 
    
         
             
               * Called after an object is destroyed which was registered with {@link LuaBootstrap#register_on_object_destroyed LuaBootstrap::register_on_object_destroyed} previously.
         
     | 
| 
       1503 
1503 
     | 
    
         
             
               *
         
     | 
| 
       1504 
1504 
     | 
    
         
             
               * Depending on when a given object is destroyed, this event will be fired at the end of the current tick or at the end of the next tick. The event's timing is independent of the in-world object being destroyed.
         
     | 
| 
       1505 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1505 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_object_destroyed Online documentation}
         
     | 
| 
       1506 
1506 
     | 
    
         
             
               */
         
     | 
| 
       1507 
1507 
     | 
    
         
             
              interface OnObjectDestroyedEvent extends EventData {
         
     | 
| 
       1508 
1508 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1510,7 +1510,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1510 
1510 
     | 
    
         
             
                 */
         
     | 
| 
       1511 
1511 
     | 
    
         
             
                readonly registration_number: RegistrationNumber
         
     | 
| 
       1512 
1512 
     | 
    
         
             
                /**
         
     | 
| 
       1513 
     | 
    
         
            -
                 *  
     | 
| 
      
 1513 
     | 
    
         
            +
                 * The {@link RegistrationTarget useful identifier} of the object. Same as second value returned by {@link LuaBootstrap#register_on_object_destroyed LuaBootstrap::register_on_object_destroyed}
         
     | 
| 
       1514 
1514 
     | 
    
         
             
                 */
         
     | 
| 
       1515 
1515 
     | 
    
         
             
                readonly useful_id: uint64
         
     | 
| 
       1516 
1516 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1528,7 +1528,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1528 
1528 
     | 
    
         
             
              }
         
     | 
| 
       1529 
1529 
     | 
    
         
             
              /**
         
     | 
| 
       1530 
1530 
     | 
    
         
             
               * Called directly after a permission group is added.
         
     | 
| 
       1531 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1531 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_permission_group_added Online documentation}
         
     | 
| 
       1532 
1532 
     | 
    
         
             
               */
         
     | 
| 
       1533 
1533 
     | 
    
         
             
              interface OnPermissionGroupAddedEvent extends EventData {
         
     | 
| 
       1534 
1534 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1550,7 +1550,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1550 
1550 
     | 
    
         
             
              }
         
     | 
| 
       1551 
1551 
     | 
    
         
             
              /**
         
     | 
| 
       1552 
1552 
     | 
    
         
             
               * Called directly after a permission group is deleted.
         
     | 
| 
       1553 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1553 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_permission_group_deleted Online documentation}
         
     | 
| 
       1554 
1554 
     | 
    
         
             
               */
         
     | 
| 
       1555 
1555 
     | 
    
         
             
              interface OnPermissionGroupDeletedEvent extends EventData {
         
     | 
| 
       1556 
1556 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1576,7 +1576,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1576 
1576 
     | 
    
         
             
              }
         
     | 
| 
       1577 
1577 
     | 
    
         
             
              /**
         
     | 
| 
       1578 
1578 
     | 
    
         
             
               * Called directly after a permission group is edited in some way.
         
     | 
| 
       1579 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1579 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_permission_group_edited Online documentation}
         
     | 
| 
       1580 
1580 
     | 
    
         
             
               */
         
     | 
| 
       1581 
1581 
     | 
    
         
             
              interface OnPermissionGroupEditedEvent extends EventData {
         
     | 
| 
       1582 
1582 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1625,7 +1625,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1625 
1625 
     | 
    
         
             
              }
         
     | 
| 
       1626 
1626 
     | 
    
         
             
              /**
         
     | 
| 
       1627 
1627 
     | 
    
         
             
               * Called directly after a permission string is imported.
         
     | 
| 
       1628 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1628 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_permission_string_imported Online documentation}
         
     | 
| 
       1629 
1629 
     | 
    
         
             
               */
         
     | 
| 
       1630 
1630 
     | 
    
         
             
              interface OnPermissionStringImportedEvent extends EventData {
         
     | 
| 
       1631 
1631 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1643,7 +1643,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1643 
1643 
     | 
    
         
             
              }
         
     | 
| 
       1644 
1644 
     | 
    
         
             
              /**
         
     | 
| 
       1645 
1645 
     | 
    
         
             
               * Called when a player picks up an item.
         
     | 
| 
       1646 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1646 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_picked_up_item Online documentation}
         
     | 
| 
       1647 
1647 
     | 
    
         
             
               */
         
     | 
| 
       1648 
1648 
     | 
    
         
             
              interface OnPickedUpItemEvent extends EventData {
         
     | 
| 
       1649 
1649 
     | 
    
         
             
                readonly item_stack: SimpleItemStack
         
     | 
| 
         @@ -1659,7 +1659,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1659 
1659 
     | 
    
         
             
              }
         
     | 
| 
       1660 
1660 
     | 
    
         
             
              /**
         
     | 
| 
       1661 
1661 
     | 
    
         
             
               * Called after a player alt-reverse-selects an area with a selection-tool item.
         
     | 
| 
       1662 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1662 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_alt_reverse_selected_area Online documentation}
         
     | 
| 
       1663 
1663 
     | 
    
         
             
               */
         
     | 
| 
       1664 
1664 
     | 
    
         
             
              interface OnPlayerAltReverseSelectedAreaEvent extends EventData {
         
     | 
| 
       1665 
1665 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1697,7 +1697,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1697 
1697 
     | 
    
         
             
              }
         
     | 
| 
       1698 
1698 
     | 
    
         
             
              /**
         
     | 
| 
       1699 
1699 
     | 
    
         
             
               * Called after a player alt-selects an area with a selection-tool item.
         
     | 
| 
       1700 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1700 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_alt_selected_area Online documentation}
         
     | 
| 
       1701 
1701 
     | 
    
         
             
               */
         
     | 
| 
       1702 
1702 
     | 
    
         
             
              interface OnPlayerAltSelectedAreaEvent extends EventData {
         
     | 
| 
       1703 
1703 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1739,7 +1739,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1739 
1739 
     | 
    
         
             
              }
         
     | 
| 
       1740 
1740 
     | 
    
         
             
              /**
         
     | 
| 
       1741 
1741 
     | 
    
         
             
               * Called after a players ammo inventory changed in some way.
         
     | 
| 
       1742 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1742 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_ammo_inventory_changed Online documentation}
         
     | 
| 
       1743 
1743 
     | 
    
         
             
               */
         
     | 
| 
       1744 
1744 
     | 
    
         
             
              interface OnPlayerAmmoInventoryChangedEvent extends EventData {
         
     | 
| 
       1745 
1745 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -1754,7 +1754,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1754 
1754 
     | 
    
         
             
              }
         
     | 
| 
       1755 
1755 
     | 
    
         
             
              /**
         
     | 
| 
       1756 
1756 
     | 
    
         
             
               * Called after a players armor inventory changed in some way.
         
     | 
| 
       1757 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1757 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_armor_inventory_changed Online documentation}
         
     | 
| 
       1758 
1758 
     | 
    
         
             
               */
         
     | 
| 
       1759 
1759 
     | 
    
         
             
              interface OnPlayerArmorInventoryChangedEvent extends EventData {
         
     | 
| 
       1760 
1760 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -1769,7 +1769,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1769 
1769 
     | 
    
         
             
              }
         
     | 
| 
       1770 
1770 
     | 
    
         
             
              /**
         
     | 
| 
       1771 
1771 
     | 
    
         
             
               * Called when a player is banned.
         
     | 
| 
       1772 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1772 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_banned Online documentation}
         
     | 
| 
       1773 
1773 
     | 
    
         
             
               */
         
     | 
| 
       1774 
1774 
     | 
    
         
             
              interface OnPlayerBannedEvent extends EventData {
         
     | 
| 
       1775 
1775 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1799,7 +1799,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1799 
1799 
     | 
    
         
             
              }
         
     | 
| 
       1800 
1800 
     | 
    
         
             
              /**
         
     | 
| 
       1801 
1801 
     | 
    
         
             
               * Called after a player builds tiles.
         
     | 
| 
       1802 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1802 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_built_tile Online documentation}
         
     | 
| 
       1803 
1803 
     | 
    
         
             
               */
         
     | 
| 
       1804 
1804 
     | 
    
         
             
              interface OnPlayerBuiltTileEvent extends EventData {
         
     | 
| 
       1805 
1805 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -1838,7 +1838,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1838 
1838 
     | 
    
         
             
              }
         
     | 
| 
       1839 
1839 
     | 
    
         
             
              /**
         
     | 
| 
       1840 
1840 
     | 
    
         
             
               * Called when a player cancels crafting.
         
     | 
| 
       1841 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1841 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_cancelled_crafting Online documentation}
         
     | 
| 
       1842 
1842 
     | 
    
         
             
               */
         
     | 
| 
       1843 
1843 
     | 
    
         
             
              interface OnPlayerCancelledCraftingEvent extends EventData {
         
     | 
| 
       1844 
1844 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1868,7 +1868,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1868 
1868 
     | 
    
         
             
              }
         
     | 
| 
       1869 
1869 
     | 
    
         
             
              /**
         
     | 
| 
       1870 
1870 
     | 
    
         
             
               * Called after a player changes forces.
         
     | 
| 
       1871 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1871 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_changed_force Online documentation}
         
     | 
| 
       1872 
1872 
     | 
    
         
             
               */
         
     | 
| 
       1873 
1873 
     | 
    
         
             
              interface OnPlayerChangedForceEvent extends EventData {
         
     | 
| 
       1874 
1874 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1890,7 +1890,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1890 
1890 
     | 
    
         
             
              }
         
     | 
| 
       1891 
1891 
     | 
    
         
             
              /**
         
     | 
| 
       1892 
1892 
     | 
    
         
             
               * Called when the tile position a player is located at changes.
         
     | 
| 
       1893 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1893 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_changed_position Online documentation}
         
     | 
| 
       1894 
1894 
     | 
    
         
             
               */
         
     | 
| 
       1895 
1895 
     | 
    
         
             
              interface OnPlayerChangedPositionEvent extends EventData {
         
     | 
| 
       1896 
1896 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1908,7 +1908,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1908 
1908 
     | 
    
         
             
              }
         
     | 
| 
       1909 
1909 
     | 
    
         
             
              /**
         
     | 
| 
       1910 
1910 
     | 
    
         
             
               * Called after a player changes surfaces.
         
     | 
| 
       1911 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1911 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_changed_surface Online documentation}
         
     | 
| 
       1912 
1912 
     | 
    
         
             
               */
         
     | 
| 
       1913 
1913 
     | 
    
         
             
              interface OnPlayerChangedSurfaceEvent extends EventData {
         
     | 
| 
       1914 
1914 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1930,7 +1930,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1930 
1930 
     | 
    
         
             
              }
         
     | 
| 
       1931 
1931 
     | 
    
         
             
              /**
         
     | 
| 
       1932 
1932 
     | 
    
         
             
               * Called when cheat mode is disabled on a player.
         
     | 
| 
       1933 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1933 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_cheat_mode_disabled Online documentation}
         
     | 
| 
       1934 
1934 
     | 
    
         
             
               */
         
     | 
| 
       1935 
1935 
     | 
    
         
             
              interface OnPlayerCheatModeDisabledEvent extends EventData {
         
     | 
| 
       1936 
1936 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1948,7 +1948,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1948 
1948 
     | 
    
         
             
              }
         
     | 
| 
       1949 
1949 
     | 
    
         
             
              /**
         
     | 
| 
       1950 
1950 
     | 
    
         
             
               * Called when cheat mode is enabled on a player.
         
     | 
| 
       1951 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1951 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_cheat_mode_enabled Online documentation}
         
     | 
| 
       1952 
1952 
     | 
    
         
             
               */
         
     | 
| 
       1953 
1953 
     | 
    
         
             
              interface OnPlayerCheatModeEnabledEvent extends EventData {
         
     | 
| 
       1954 
1954 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1966,7 +1966,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1966 
1966 
     | 
    
         
             
              }
         
     | 
| 
       1967 
1967 
     | 
    
         
             
              /**
         
     | 
| 
       1968 
1968 
     | 
    
         
             
               * Called when a player clicks a gps tag
         
     | 
| 
       1969 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1969 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_clicked_gps_tag Online documentation}
         
     | 
| 
       1970 
1970 
     | 
    
         
             
               */
         
     | 
| 
       1971 
1971 
     | 
    
         
             
              interface OnPlayerClickedGpsTagEvent extends EventData {
         
     | 
| 
       1972 
1972 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -1992,7 +1992,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       1992 
1992 
     | 
    
         
             
              }
         
     | 
| 
       1993 
1993 
     | 
    
         
             
              /**
         
     | 
| 
       1994 
1994 
     | 
    
         
             
               * Called when a player clicks the "confirm" button in the configure Blueprint GUI.
         
     | 
| 
       1995 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 1995 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_configured_blueprint Online documentation}
         
     | 
| 
       1996 
1996 
     | 
    
         
             
               */
         
     | 
| 
       1997 
1997 
     | 
    
         
             
              interface OnPlayerConfiguredBlueprintEvent extends EventData {
         
     | 
| 
       1998 
1998 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2010,7 +2010,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2010 
2010 
     | 
    
         
             
              }
         
     | 
| 
       2011 
2011 
     | 
    
         
             
              /**
         
     | 
| 
       2012 
2012 
     | 
    
         
             
               * Called after a player changes controller types.
         
     | 
| 
       2013 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2013 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_controller_changed Online documentation}
         
     | 
| 
       2014 
2014 
     | 
    
         
             
               */
         
     | 
| 
       2015 
2015 
     | 
    
         
             
              interface OnPlayerControllerChangedEvent extends EventData {
         
     | 
| 
       2016 
2016 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2032,7 +2032,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2032 
2032 
     | 
    
         
             
              }
         
     | 
| 
       2033 
2033 
     | 
    
         
             
              /**
         
     | 
| 
       2034 
2034 
     | 
    
         
             
               * 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}).
         
     | 
| 
       2035 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2035 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_crafted_item Online documentation}
         
     | 
| 
       2036 
2036 
     | 
    
         
             
               */
         
     | 
| 
       2037 
2037 
     | 
    
         
             
              interface OnPlayerCraftedItemEvent extends EventData {
         
     | 
| 
       2038 
2038 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2058,7 +2058,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2058 
2058 
     | 
    
         
             
              }
         
     | 
| 
       2059 
2059 
     | 
    
         
             
              /**
         
     | 
| 
       2060 
2060 
     | 
    
         
             
               * Called after the player was created.
         
     | 
| 
       2061 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2061 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_created Online documentation}
         
     | 
| 
       2062 
2062 
     | 
    
         
             
               */
         
     | 
| 
       2063 
2063 
     | 
    
         
             
              interface OnPlayerCreatedEvent extends EventData {
         
     | 
| 
       2064 
2064 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2075,7 +2075,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2075 
2075 
     | 
    
         
             
               * Called after a player's {@link LuaControl#cursor_stack cursor stack} changed in some way.
         
     | 
| 
       2076 
2076 
     | 
    
         
             
               *
         
     | 
| 
       2077 
2077 
     | 
    
         
             
               * This is fired in the same tick that the change happens, but not instantly.
         
     | 
| 
       2078 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2078 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_cursor_stack_changed Online documentation}
         
     | 
| 
       2079 
2079 
     | 
    
         
             
               */
         
     | 
| 
       2080 
2080 
     | 
    
         
             
              interface OnPlayerCursorStackChangedEvent extends EventData {
         
     | 
| 
       2081 
2081 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2090,7 +2090,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2090 
2090 
     | 
    
         
             
              }
         
     | 
| 
       2091 
2091 
     | 
    
         
             
              /**
         
     | 
| 
       2092 
2092 
     | 
    
         
             
               * Called when a player selects an area with a deconstruction planner.
         
     | 
| 
       2093 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2093 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_deconstructed_area Online documentation}
         
     | 
| 
       2094 
2094 
     | 
    
         
             
               */
         
     | 
| 
       2095 
2095 
     | 
    
         
             
              interface OnPlayerDeconstructedAreaEvent extends EventData {
         
     | 
| 
       2096 
2096 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2132,7 +2132,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2132 
2132 
     | 
    
         
             
              }
         
     | 
| 
       2133 
2133 
     | 
    
         
             
              /**
         
     | 
| 
       2134 
2134 
     | 
    
         
             
               * Called when a player is demoted.
         
     | 
| 
       2135 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2135 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_demoted Online documentation}
         
     | 
| 
       2136 
2136 
     | 
    
         
             
               */
         
     | 
| 
       2137 
2137 
     | 
    
         
             
              interface OnPlayerDemotedEvent extends EventData {
         
     | 
| 
       2138 
2138 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2150,7 +2150,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2150 
2150 
     | 
    
         
             
              }
         
     | 
| 
       2151 
2151 
     | 
    
         
             
              /**
         
     | 
| 
       2152 
2152 
     | 
    
         
             
               * Called after a player dies.
         
     | 
| 
       2153 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2153 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_died Online documentation}
         
     | 
| 
       2154 
2154 
     | 
    
         
             
               */
         
     | 
| 
       2155 
2155 
     | 
    
         
             
              interface OnPlayerDiedEvent extends EventData {
         
     | 
| 
       2156 
2156 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2166,7 +2166,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2166 
2166 
     | 
    
         
             
              }
         
     | 
| 
       2167 
2167 
     | 
    
         
             
              /**
         
     | 
| 
       2168 
2168 
     | 
    
         
             
               * Called when the display density scale changes for a given player. The display density scale is the scale value automatically applied based on the player's display DPI. This is only relevant on platforms that support high-density displays.
         
     | 
| 
       2169 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2169 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_display_density_scale_changed Online documentation}
         
     | 
| 
       2170 
2170 
     | 
    
         
             
               */
         
     | 
| 
       2171 
2171 
     | 
    
         
             
              interface OnPlayerDisplayDensityScaleChangedEvent extends EventData {
         
     | 
| 
       2172 
2172 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2188,7 +2188,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2188 
2188 
     | 
    
         
             
              }
         
     | 
| 
       2189 
2189 
     | 
    
         
             
              /**
         
     | 
| 
       2190 
2190 
     | 
    
         
             
               * Called when the display resolution changes for a given player.
         
     | 
| 
       2191 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2191 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_display_resolution_changed Online documentation}
         
     | 
| 
       2192 
2192 
     | 
    
         
             
               */
         
     | 
| 
       2193 
2193 
     | 
    
         
             
              interface OnPlayerDisplayResolutionChangedEvent extends EventData {
         
     | 
| 
       2194 
2194 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2210,7 +2210,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2210 
2210 
     | 
    
         
             
              }
         
     | 
| 
       2211 
2211 
     | 
    
         
             
              /**
         
     | 
| 
       2212 
2212 
     | 
    
         
             
               * Called when the display scale changes for a given player.
         
     | 
| 
       2213 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2213 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_display_scale_changed Online documentation}
         
     | 
| 
       2214 
2214 
     | 
    
         
             
               */
         
     | 
| 
       2215 
2215 
     | 
    
         
             
              interface OnPlayerDisplayScaleChangedEvent extends EventData {
         
     | 
| 
       2216 
2216 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2234,7 +2234,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2234 
2234 
     | 
    
         
             
               * Called when the player's driving state has changed, meaning a player has either entered or left a vehicle.
         
     | 
| 
       2235 
2235 
     | 
    
         
             
               *
         
     | 
| 
       2236 
2236 
     | 
    
         
             
               * This event is not raised when the player is ejected from a vehicle due to it being destroyed.
         
     | 
| 
       2237 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2237 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_driving_changed_state Online documentation}
         
     | 
| 
       2238 
2238 
     | 
    
         
             
               */
         
     | 
| 
       2239 
2239 
     | 
    
         
             
              interface OnPlayerDrivingChangedStateEvent extends EventData {
         
     | 
| 
       2240 
2240 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2253,7 +2253,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2253 
2253 
     | 
    
         
             
              }
         
     | 
| 
       2254 
2254 
     | 
    
         
             
              /**
         
     | 
| 
       2255 
2255 
     | 
    
         
             
               * Called when a player drops an item on the ground.
         
     | 
| 
       2256 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2256 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_dropped_item Online documentation}
         
     | 
| 
       2257 
2257 
     | 
    
         
             
               */
         
     | 
| 
       2258 
2258 
     | 
    
         
             
              interface OnPlayerDroppedItemEvent extends EventData {
         
     | 
| 
       2259 
2259 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2272,7 +2272,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2272 
2272 
     | 
    
         
             
              }
         
     | 
| 
       2273 
2273 
     | 
    
         
             
              /**
         
     | 
| 
       2274 
2274 
     | 
    
         
             
               * Called when a player fast-transfers something to or from an entity.
         
     | 
| 
       2275 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2275 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_fast_transferred Online documentation}
         
     | 
| 
       2276 
2276 
     | 
    
         
             
               */
         
     | 
| 
       2277 
2277 
     | 
    
         
             
              interface OnPlayerFastTransferredEvent extends EventData {
         
     | 
| 
       2278 
2278 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2304,7 +2304,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2304 
2304 
     | 
    
         
             
               * Called when the player flips an entity. This event is only fired when the entity actually changes its orientation or mirroring, so it won't be triggered when pressing the flip keys on an entity that can't be flipped.
         
     | 
| 
       2305 
2305 
     | 
    
         
             
               *
         
     | 
| 
       2306 
2306 
     | 
    
         
             
               * This event reflects a change in the {@link LuaEntity#mirroring LuaEntity::mirroring} property.
         
     | 
| 
       2307 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2307 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_flipped_entity Online documentation}
         
     | 
| 
       2308 
2308 
     | 
    
         
             
               */
         
     | 
| 
       2309 
2309 
     | 
    
         
             
              interface OnPlayerFlippedEntityEvent extends EventData {
         
     | 
| 
       2310 
2310 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2327,7 +2327,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2327 
2327 
     | 
    
         
             
              }
         
     | 
| 
       2328 
2328 
     | 
    
         
             
              /**
         
     | 
| 
       2329 
2329 
     | 
    
         
             
               * Called after player flushed fluid
         
     | 
| 
       2330 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2330 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_flushed_fluid Online documentation}
         
     | 
| 
       2331 
2331 
     | 
    
         
             
               */
         
     | 
| 
       2332 
2332 
     | 
    
         
             
              interface OnPlayerFlushedFluidEvent extends EventData {
         
     | 
| 
       2333 
2333 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2361,7 +2361,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2361 
2361 
     | 
    
         
             
              }
         
     | 
| 
       2362 
2362 
     | 
    
         
             
              /**
         
     | 
| 
       2363 
2363 
     | 
    
         
             
               * Called after a players gun inventory changed in some way.
         
     | 
| 
       2364 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2364 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_gun_inventory_changed Online documentation}
         
     | 
| 
       2365 
2365 
     | 
    
         
             
               */
         
     | 
| 
       2366 
2366 
     | 
    
         
             
              interface OnPlayerGunInventoryChangedEvent extends EventData {
         
     | 
| 
       2367 
2367 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2376,7 +2376,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2376 
2376 
     | 
    
         
             
              }
         
     | 
| 
       2377 
2377 
     | 
    
         
             
              /**
         
     | 
| 
       2378 
2378 
     | 
    
         
             
               * Called when a player's input method changes. See {@link LuaPlayer#input_method LuaPlayer::input_method}.
         
     | 
| 
       2379 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2379 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_input_method_changed Online documentation}
         
     | 
| 
       2380 
2380 
     | 
    
         
             
               */
         
     | 
| 
       2381 
2381 
     | 
    
         
             
              interface OnPlayerInputMethodChangedEvent extends EventData {
         
     | 
| 
       2382 
2382 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2394,7 +2394,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2394 
2394 
     | 
    
         
             
              }
         
     | 
| 
       2395 
2395 
     | 
    
         
             
              /**
         
     | 
| 
       2396 
2396 
     | 
    
         
             
               * 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.
         
     | 
| 
       2397 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2397 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_joined_game Online documentation}
         
     | 
| 
       2398 
2398 
     | 
    
         
             
               */
         
     | 
| 
       2399 
2399 
     | 
    
         
             
              interface OnPlayerJoinedGameEvent extends EventData {
         
     | 
| 
       2400 
2400 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2409,7 +2409,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2409 
2409 
     | 
    
         
             
              }
         
     | 
| 
       2410 
2410 
     | 
    
         
             
              /**
         
     | 
| 
       2411 
2411 
     | 
    
         
             
               * Called when a player is kicked.
         
     | 
| 
       2412 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2412 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_kicked Online documentation}
         
     | 
| 
       2413 
2413 
     | 
    
         
             
               */
         
     | 
| 
       2414 
2414 
     | 
    
         
             
              interface OnPlayerKickedEvent extends EventData {
         
     | 
| 
       2415 
2415 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2435,7 +2435,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2435 
2435 
     | 
    
         
             
              }
         
     | 
| 
       2436 
2436 
     | 
    
         
             
              /**
         
     | 
| 
       2437 
2437 
     | 
    
         
             
               * 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.
         
     | 
| 
       2438 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2438 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_left_game Online documentation}
         
     | 
| 
       2439 
2439 
     | 
    
         
             
               */
         
     | 
| 
       2440 
2440 
     | 
    
         
             
              interface OnPlayerLeftGameEvent extends EventData {
         
     | 
| 
       2441 
2441 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2451,7 +2451,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2451 
2451 
     | 
    
         
             
              }
         
     | 
| 
       2452 
2452 
     | 
    
         
             
              /**
         
     | 
| 
       2453 
2453 
     | 
    
         
             
               * Called when a player's active locale changes. See {@link LuaPlayer#locale LuaPlayer::locale}.
         
     | 
| 
       2454 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2454 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_locale_changed Online documentation}
         
     | 
| 
       2455 
2455 
     | 
    
         
             
               */
         
     | 
| 
       2456 
2456 
     | 
    
         
             
              interface OnPlayerLocaleChangedEvent extends EventData {
         
     | 
| 
       2457 
2457 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2473,7 +2473,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2473 
2473 
     | 
    
         
             
              }
         
     | 
| 
       2474 
2474 
     | 
    
         
             
              /**
         
     | 
| 
       2475 
2475 
     | 
    
         
             
               * Called after a players main inventory changed in some way.
         
     | 
| 
       2476 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2476 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_main_inventory_changed Online documentation}
         
     | 
| 
       2477 
2477 
     | 
    
         
             
               */
         
     | 
| 
       2478 
2478 
     | 
    
         
             
              interface OnPlayerMainInventoryChangedEvent extends EventData {
         
     | 
| 
       2479 
2479 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2494,7 +2494,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2494 
2494 
     | 
    
         
             
               * 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.
         
     | 
| 
       2495 
2495 
     | 
    
         
             
               *
         
     | 
| 
       2496 
2496 
     | 
    
         
             
               * Event filter: [LuaPlayerMinedEntityEventFilter](LuaPlayerMinedEntityEventFilter]
         
     | 
| 
       2497 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2497 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_mined_entity Online documentation}
         
     | 
| 
       2498 
2498 
     | 
    
         
             
               */
         
     | 
| 
       2499 
2499 
     | 
    
         
             
              interface OnPlayerMinedEntityEvent extends EventData {
         
     | 
| 
       2500 
2500 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2520,7 +2520,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2520 
2520 
     | 
    
         
             
              }
         
     | 
| 
       2521 
2521 
     | 
    
         
             
              /**
         
     | 
| 
       2522 
2522 
     | 
    
         
             
               * Called when the player mines something.
         
     | 
| 
       2523 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2523 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_mined_item Online documentation}
         
     | 
| 
       2524 
2524 
     | 
    
         
             
               */
         
     | 
| 
       2525 
2525 
     | 
    
         
             
              interface OnPlayerMinedItemEvent extends EventData {
         
     | 
| 
       2526 
2526 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2539,7 +2539,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2539 
2539 
     | 
    
         
             
              }
         
     | 
| 
       2540 
2540 
     | 
    
         
             
              /**
         
     | 
| 
       2541 
2541 
     | 
    
         
             
               * Called after a player mines tiles.
         
     | 
| 
       2542 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2542 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_mined_tile Online documentation}
         
     | 
| 
       2543 
2543 
     | 
    
         
             
               */
         
     | 
| 
       2544 
2544 
     | 
    
         
             
              interface OnPlayerMinedTileEvent extends EventData {
         
     | 
| 
       2545 
2545 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2562,7 +2562,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2562 
2562 
     | 
    
         
             
              }
         
     | 
| 
       2563 
2563 
     | 
    
         
             
              /**
         
     | 
| 
       2564 
2564 
     | 
    
         
             
               * Called when a player is muted.
         
     | 
| 
       2565 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2565 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_muted Online documentation}
         
     | 
| 
       2566 
2566 
     | 
    
         
             
               */
         
     | 
| 
       2567 
2567 
     | 
    
         
             
              interface OnPlayerMutedEvent extends EventData {
         
     | 
| 
       2568 
2568 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2580,7 +2580,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2580 
2580 
     | 
    
         
             
              }
         
     | 
| 
       2581 
2581 
     | 
    
         
             
              /**
         
     | 
| 
       2582 
2582 
     | 
    
         
             
               * Called when a player invokes the "smart pipette" over an entity.
         
     | 
| 
       2583 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2583 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_pipette Online documentation}
         
     | 
| 
       2584 
2584 
     | 
    
         
             
               */
         
     | 
| 
       2585 
2585 
     | 
    
         
             
              interface OnPlayerPipetteEvent extends EventData {
         
     | 
| 
       2586 
2586 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2610,7 +2610,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2610 
2610 
     | 
    
         
             
              }
         
     | 
| 
       2611 
2611 
     | 
    
         
             
              /**
         
     | 
| 
       2612 
2612 
     | 
    
         
             
               * Called after the player puts equipment in an equipment grid
         
     | 
| 
       2613 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2613 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_placed_equipment Online documentation}
         
     | 
| 
       2614 
2614 
     | 
    
         
             
               */
         
     | 
| 
       2615 
2615 
     | 
    
         
             
              interface OnPlayerPlacedEquipmentEvent extends EventData {
         
     | 
| 
       2616 
2616 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2633,7 +2633,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2633 
2633 
     | 
    
         
             
              }
         
     | 
| 
       2634 
2634 
     | 
    
         
             
              /**
         
     | 
| 
       2635 
2635 
     | 
    
         
             
               * Called when a player is promoted.
         
     | 
| 
       2636 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2636 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_promoted Online documentation}
         
     | 
| 
       2637 
2637 
     | 
    
         
             
               */
         
     | 
| 
       2638 
2638 
     | 
    
         
             
              interface OnPlayerPromotedEvent extends EventData {
         
     | 
| 
       2639 
2639 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2651,7 +2651,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2651 
2651 
     | 
    
         
             
              }
         
     | 
| 
       2652 
2652 
     | 
    
         
             
              /**
         
     | 
| 
       2653 
2653 
     | 
    
         
             
               * 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.
         
     | 
| 
       2654 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2654 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_removed Online documentation}
         
     | 
| 
       2655 
2655 
     | 
    
         
             
               */
         
     | 
| 
       2656 
2656 
     | 
    
         
             
              interface OnPlayerRemovedEvent extends EventData {
         
     | 
| 
       2657 
2657 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2669,7 +2669,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2669 
2669 
     | 
    
         
             
              }
         
     | 
| 
       2670 
2670 
     | 
    
         
             
              /**
         
     | 
| 
       2671 
2671 
     | 
    
         
             
               * Called after the player removes equipment from an equipment grid
         
     | 
| 
       2672 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2672 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_removed_equipment Online documentation}
         
     | 
| 
       2673 
2673 
     | 
    
         
             
               */
         
     | 
| 
       2674 
2674 
     | 
    
         
             
              interface OnPlayerRemovedEquipmentEvent extends EventData {
         
     | 
| 
       2675 
2675 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2702,7 +2702,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2702 
2702 
     | 
    
         
             
               * Called when a player repairs an entity.
         
     | 
| 
       2703 
2703 
     | 
    
         
             
               *
         
     | 
| 
       2704 
2704 
     | 
    
         
             
               * Event filter: [LuaPlayerRepairedEntityEventFilter](LuaPlayerRepairedEntityEventFilter]
         
     | 
| 
       2705 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2705 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_repaired_entity Online documentation}
         
     | 
| 
       2706 
2706 
     | 
    
         
             
               */
         
     | 
| 
       2707 
2707 
     | 
    
         
             
              interface OnPlayerRepairedEntityEvent extends EventData {
         
     | 
| 
       2708 
2708 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2718,7 +2718,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2718 
2718 
     | 
    
         
             
              }
         
     | 
| 
       2719 
2719 
     | 
    
         
             
              /**
         
     | 
| 
       2720 
2720 
     | 
    
         
             
               * Called after a player respawns.
         
     | 
| 
       2721 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2721 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_respawned Online documentation}
         
     | 
| 
       2722 
2722 
     | 
    
         
             
               */
         
     | 
| 
       2723 
2723 
     | 
    
         
             
              interface OnPlayerRespawnedEvent extends EventData {
         
     | 
| 
       2724 
2724 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2737,7 +2737,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2737 
2737 
     | 
    
         
             
              }
         
     | 
| 
       2738 
2738 
     | 
    
         
             
              /**
         
     | 
| 
       2739 
2739 
     | 
    
         
             
               * Called after a player reverse-selects an area with a selection-tool item.
         
     | 
| 
       2740 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2740 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_reverse_selected_area Online documentation}
         
     | 
| 
       2741 
2741 
     | 
    
         
             
               */
         
     | 
| 
       2742 
2742 
     | 
    
         
             
              interface OnPlayerReverseSelectedAreaEvent extends EventData {
         
     | 
| 
       2743 
2743 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2777,7 +2777,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2777 
2777 
     | 
    
         
             
               * 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.
         
     | 
| 
       2778 
2778 
     | 
    
         
             
               *
         
     | 
| 
       2779 
2779 
     | 
    
         
             
               * Entities being flipped will not fire this event, even if the flip involves rotating. See {@link OnPlayerFlippedEntityEvent on_player_flipped_entity}.
         
     | 
| 
       2780 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2780 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_rotated_entity Online documentation}
         
     | 
| 
       2781 
2781 
     | 
    
         
             
               */
         
     | 
| 
       2782 
2782 
     | 
    
         
             
              interface OnPlayerRotatedEntityEvent extends EventData {
         
     | 
| 
       2783 
2783 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2800,7 +2800,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2800 
2800 
     | 
    
         
             
              }
         
     | 
| 
       2801 
2801 
     | 
    
         
             
              /**
         
     | 
| 
       2802 
2802 
     | 
    
         
             
               * Called after a player selects an area with a selection-tool item.
         
     | 
| 
       2803 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2803 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_selected_area Online documentation}
         
     | 
| 
       2804 
2804 
     | 
    
         
             
               */
         
     | 
| 
       2805 
2805 
     | 
    
         
             
              interface OnPlayerSelectedAreaEvent extends EventData {
         
     | 
| 
       2806 
2806 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2842,7 +2842,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2842 
2842 
     | 
    
         
             
              }
         
     | 
| 
       2843 
2843 
     | 
    
         
             
              /**
         
     | 
| 
       2844 
2844 
     | 
    
         
             
               * Called when a player sets a quickbar slot to anything (new value, or set to empty).
         
     | 
| 
       2845 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2845 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_set_quick_bar_slot Online documentation}
         
     | 
| 
       2846 
2846 
     | 
    
         
             
               */
         
     | 
| 
       2847 
2847 
     | 
    
         
             
              interface OnPlayerSetQuickBarSlotEvent extends EventData {
         
     | 
| 
       2848 
2848 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2857,7 +2857,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2857 
2857 
     | 
    
         
             
              }
         
     | 
| 
       2858 
2858 
     | 
    
         
             
              /**
         
     | 
| 
       2859 
2859 
     | 
    
         
             
               * Called when a player selects an area with a blueprint.
         
     | 
| 
       2860 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2860 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_setup_blueprint Online documentation}
         
     | 
| 
       2861 
2861 
     | 
    
         
             
               */
         
     | 
| 
       2862 
2862 
     | 
    
         
             
              interface OnPlayerSetupBlueprintEvent extends EventData {
         
     | 
| 
       2863 
2863 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2903,7 +2903,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2903 
2903 
     | 
    
         
             
              }
         
     | 
| 
       2904 
2904 
     | 
    
         
             
              /**
         
     | 
| 
       2905 
2905 
     | 
    
         
             
               * Called when a player toggles alt mode, also known as "show entity info".
         
     | 
| 
       2906 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2906 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_toggled_alt_mode Online documentation}
         
     | 
| 
       2907 
2907 
     | 
    
         
             
               */
         
     | 
| 
       2908 
2908 
     | 
    
         
             
              interface OnPlayerToggledAltModeEvent extends EventData {
         
     | 
| 
       2909 
2909 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2922,7 +2922,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2922 
2922 
     | 
    
         
             
              }
         
     | 
| 
       2923 
2923 
     | 
    
         
             
              /**
         
     | 
| 
       2924 
2924 
     | 
    
         
             
               * Called when a player toggles the map editor on or off.
         
     | 
| 
       2925 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2925 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_toggled_map_editor Online documentation}
         
     | 
| 
       2926 
2926 
     | 
    
         
             
               */
         
     | 
| 
       2927 
2927 
     | 
    
         
             
              interface OnPlayerToggledMapEditorEvent extends EventData {
         
     | 
| 
       2928 
2928 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2937,7 +2937,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2937 
2937 
     | 
    
         
             
              }
         
     | 
| 
       2938 
2938 
     | 
    
         
             
              /**
         
     | 
| 
       2939 
2939 
     | 
    
         
             
               * Called after a players trash inventory changed in some way.
         
     | 
| 
       2940 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2940 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_trash_inventory_changed Online documentation}
         
     | 
| 
       2941 
2941 
     | 
    
         
             
               */
         
     | 
| 
       2942 
2942 
     | 
    
         
             
              interface OnPlayerTrashInventoryChangedEvent extends EventData {
         
     | 
| 
       2943 
2943 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -2952,7 +2952,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2952 
2952 
     | 
    
         
             
              }
         
     | 
| 
       2953 
2953 
     | 
    
         
             
              /**
         
     | 
| 
       2954 
2954 
     | 
    
         
             
               * Called when a player is un-banned.
         
     | 
| 
       2955 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2955 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_unbanned Online documentation}
         
     | 
| 
       2956 
2956 
     | 
    
         
             
               */
         
     | 
| 
       2957 
2957 
     | 
    
         
             
              interface OnPlayerUnbannedEvent extends EventData {
         
     | 
| 
       2958 
2958 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -2982,7 +2982,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       2982 
2982 
     | 
    
         
             
              }
         
     | 
| 
       2983 
2983 
     | 
    
         
             
              /**
         
     | 
| 
       2984 
2984 
     | 
    
         
             
               * Called when a player is unmuted.
         
     | 
| 
       2985 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 2985 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_unmuted Online documentation}
         
     | 
| 
       2986 
2986 
     | 
    
         
             
               */
         
     | 
| 
       2987 
2987 
     | 
    
         
             
              interface OnPlayerUnmutedEvent extends EventData {
         
     | 
| 
       2988 
2988 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3000,7 +3000,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3000 
3000 
     | 
    
         
             
              }
         
     | 
| 
       3001 
3001 
     | 
    
         
             
              /**
         
     | 
| 
       3002 
3002 
     | 
    
         
             
               * Called when a player uses a capsule that results in some game action.
         
     | 
| 
       3003 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3003 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_used_capsule Online documentation}
         
     | 
| 
       3004 
3004 
     | 
    
         
             
               */
         
     | 
| 
       3005 
3005 
     | 
    
         
             
              interface OnPlayerUsedCapsuleEvent extends EventData {
         
     | 
| 
       3006 
3006 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3030,7 +3030,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3030 
3030 
     | 
    
         
             
              }
         
     | 
| 
       3031 
3031 
     | 
    
         
             
              /**
         
     | 
| 
       3032 
3032 
     | 
    
         
             
               * Called when a player uses spidertron remote to send all selected units to a given position
         
     | 
| 
       3033 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3033 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_player_used_spidertron_remote Online documentation}
         
     | 
| 
       3034 
3034 
     | 
    
         
             
               */
         
     | 
| 
       3035 
3035 
     | 
    
         
             
              interface OnPlayerUsedSpidertronRemoteEvent extends EventData {
         
     | 
| 
       3036 
3036 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3054,7 +3054,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3054 
3054 
     | 
    
         
             
               * Called after an entity dies.
         
     | 
| 
       3055 
3055 
     | 
    
         
             
               *
         
     | 
| 
       3056 
3056 
     | 
    
         
             
               * Event filter: [LuaPostEntityDiedEventFilter](LuaPostEntityDiedEventFilter]
         
     | 
| 
       3057 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3057 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_post_entity_died Online documentation}
         
     | 
| 
       3058 
3058 
     | 
    
         
             
               */
         
     | 
| 
       3059 
3059 
     | 
    
         
             
              interface OnPostEntityDiedEvent extends EventData {
         
     | 
| 
       3060 
3060 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3104,7 +3104,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3104 
3104 
     | 
    
         
             
              }
         
     | 
| 
       3105 
3105 
     | 
    
         
             
              /**
         
     | 
| 
       3106 
3106 
     | 
    
         
             
               * Called when players uses an item to build something. Called before {@link OnBuiltEntityEvent on_built_entity}.
         
     | 
| 
       3107 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3107 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_build Online documentation}
         
     | 
| 
       3108 
3108 
     | 
    
         
             
               */
         
     | 
| 
       3109 
3109 
     | 
    
         
             
              interface OnPreBuildEvent extends EventData {
         
     | 
| 
       3110 
3110 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3150,7 +3150,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3150 
3150 
     | 
    
         
             
              }
         
     | 
| 
       3151 
3151 
     | 
    
         
             
              /**
         
     | 
| 
       3152 
3152 
     | 
    
         
             
               * Called before one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}.
         
     | 
| 
       3153 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3153 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_chunk_deleted Online documentation}
         
     | 
| 
       3154 
3154 
     | 
    
         
             
               */
         
     | 
| 
       3155 
3155 
     | 
    
         
             
              interface OnPreChunkDeletedEvent extends EventData {
         
     | 
| 
       3156 
3156 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -3169,7 +3169,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3169 
3169 
     | 
    
         
             
              }
         
     | 
| 
       3170 
3170 
     | 
    
         
             
              /**
         
     | 
| 
       3171 
3171 
     | 
    
         
             
               * Called before entity copy-paste is done.
         
     | 
| 
       3172 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3172 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_entity_settings_pasted Online documentation}
         
     | 
| 
       3173 
3173 
     | 
    
         
             
               */
         
     | 
| 
       3174 
3174 
     | 
    
         
             
              interface OnPreEntitySettingsPastedEvent extends EventData {
         
     | 
| 
       3175 
3175 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -3196,7 +3196,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3196 
3196 
     | 
    
         
             
               * Also called for item request proxies before they are destroyed as a result of being marked for deconstruction.
         
     | 
| 
       3197 
3197 
     | 
    
         
             
               *
         
     | 
| 
       3198 
3198 
     | 
    
         
             
               * Event filter: [LuaPreGhostDeconstructedEventFilter](LuaPreGhostDeconstructedEventFilter]
         
     | 
| 
       3199 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3199 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_ghost_deconstructed Online documentation}
         
     | 
| 
       3200 
3200 
     | 
    
         
             
               */
         
     | 
| 
       3201 
3201 
     | 
    
         
             
              interface OnPreGhostDeconstructedEvent extends EventData {
         
     | 
| 
       3202 
3202 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3217,7 +3217,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3217 
3217 
     | 
    
         
             
               * Called before a ghost entity is upgraded.
         
     | 
| 
       3218 
3218 
     | 
    
         
             
               *
         
     | 
| 
       3219 
3219 
     | 
    
         
             
               * Event filter: [LuaPreGhostUpgradedEventFilter](LuaPreGhostUpgradedEventFilter]
         
     | 
| 
       3220 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3220 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_ghost_upgraded Online documentation}
         
     | 
| 
       3221 
3221 
     | 
    
         
             
               */
         
     | 
| 
       3222 
3222 
     | 
    
         
             
              interface OnPreGhostUpgradedEvent extends EventData {
         
     | 
| 
       3223 
3223 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3238,7 +3238,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3238 
3238 
     | 
    
         
             
              }
         
     | 
| 
       3239 
3239 
     | 
    
         
             
              /**
         
     | 
| 
       3240 
3240 
     | 
    
         
             
               * Called directly before a permission group is deleted.
         
     | 
| 
       3241 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3241 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_permission_group_deleted Online documentation}
         
     | 
| 
       3242 
3242 
     | 
    
         
             
               */
         
     | 
| 
       3243 
3243 
     | 
    
         
             
              interface OnPrePermissionGroupDeletedEvent extends EventData {
         
     | 
| 
       3244 
3244 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3260,7 +3260,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3260 
3260 
     | 
    
         
             
              }
         
     | 
| 
       3261 
3261 
     | 
    
         
             
              /**
         
     | 
| 
       3262 
3262 
     | 
    
         
             
               * Called directly before a permission string is imported.
         
     | 
| 
       3263 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3263 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_permission_string_imported Online documentation}
         
     | 
| 
       3264 
3264 
     | 
    
         
             
               */
         
     | 
| 
       3265 
3265 
     | 
    
         
             
              interface OnPrePermissionStringImportedEvent extends EventData {
         
     | 
| 
       3266 
3266 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3278,7 +3278,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3278 
3278 
     | 
    
         
             
              }
         
     | 
| 
       3279 
3279 
     | 
    
         
             
              /**
         
     | 
| 
       3280 
3280 
     | 
    
         
             
               * Called when a player queues something to be crafted.
         
     | 
| 
       3281 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3281 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_player_crafted_item Online documentation}
         
     | 
| 
       3282 
3282 
     | 
    
         
             
               */
         
     | 
| 
       3283 
3283 
     | 
    
         
             
              interface OnPrePlayerCraftedItemEvent extends EventData {
         
     | 
| 
       3284 
3284 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3308,7 +3308,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3308 
3308 
     | 
    
         
             
              }
         
     | 
| 
       3309 
3309 
     | 
    
         
             
              /**
         
     | 
| 
       3310 
3310 
     | 
    
         
             
               * Called before a players dies.
         
     | 
| 
       3311 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3311 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_player_died Online documentation}
         
     | 
| 
       3312 
3312 
     | 
    
         
             
               */
         
     | 
| 
       3313 
3313 
     | 
    
         
             
              interface OnPrePlayerDiedEvent extends EventData {
         
     | 
| 
       3314 
3314 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -3324,7 +3324,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3324 
3324 
     | 
    
         
             
              }
         
     | 
| 
       3325 
3325 
     | 
    
         
             
              /**
         
     | 
| 
       3326 
3326 
     | 
    
         
             
               * Called before a player leaves the game.
         
     | 
| 
       3327 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3327 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_player_left_game Online documentation}
         
     | 
| 
       3328 
3328 
     | 
    
         
             
               */
         
     | 
| 
       3329 
3329 
     | 
    
         
             
              interface OnPrePlayerLeftGameEvent extends EventData {
         
     | 
| 
       3330 
3330 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -3342,7 +3342,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3342 
3342 
     | 
    
         
             
               * 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.
         
     | 
| 
       3343 
3343 
     | 
    
         
             
               *
         
     | 
| 
       3344 
3344 
     | 
    
         
             
               * Event filter: [LuaPrePlayerMinedEntityEventFilter](LuaPrePlayerMinedEntityEventFilter]
         
     | 
| 
       3345 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3345 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_player_mined_item Online documentation}
         
     | 
| 
       3346 
3346 
     | 
    
         
             
               */
         
     | 
| 
       3347 
3347 
     | 
    
         
             
              interface OnPrePlayerMinedItemEvent extends EventData {
         
     | 
| 
       3348 
3348 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3361,7 +3361,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3361 
3361 
     | 
    
         
             
              }
         
     | 
| 
       3362 
3362 
     | 
    
         
             
              /**
         
     | 
| 
       3363 
3363 
     | 
    
         
             
               * 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.
         
     | 
| 
       3364 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3364 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_player_removed Online documentation}
         
     | 
| 
       3365 
3365 
     | 
    
         
             
               */
         
     | 
| 
       3366 
3366 
     | 
    
         
             
              interface OnPrePlayerRemovedEvent extends EventData {
         
     | 
| 
       3367 
3367 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3379,7 +3379,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3379 
3379 
     | 
    
         
             
              }
         
     | 
| 
       3380 
3380 
     | 
    
         
             
              /**
         
     | 
| 
       3381 
3381 
     | 
    
         
             
               * Called before a player toggles the map editor on or off.
         
     | 
| 
       3382 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3382 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_player_toggled_map_editor Online documentation}
         
     | 
| 
       3383 
3383 
     | 
    
         
             
               */
         
     | 
| 
       3384 
3384 
     | 
    
         
             
              interface OnPrePlayerToggledMapEditorEvent extends EventData {
         
     | 
| 
       3385 
3385 
     | 
    
         
             
                readonly player_index: PlayerIndex
         
     | 
| 
         @@ -3394,7 +3394,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3394 
3394 
     | 
    
         
             
              }
         
     | 
| 
       3395 
3395 
     | 
    
         
             
              /**
         
     | 
| 
       3396 
3396 
     | 
    
         
             
               * Called directly before a robot explodes cliffs.
         
     | 
| 
       3397 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3397 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_robot_exploded_cliff Online documentation}
         
     | 
| 
       3398 
3398 
     | 
    
         
             
               */
         
     | 
| 
       3399 
3399 
     | 
    
         
             
              interface OnPreRobotExplodedCliffEvent extends EventData {
         
     | 
| 
       3400 
3400 
     | 
    
         
             
                readonly robot: LuaEntity
         
     | 
| 
         @@ -3418,7 +3418,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3418 
3418 
     | 
    
         
             
              }
         
     | 
| 
       3419 
3419 
     | 
    
         
             
              /**
         
     | 
| 
       3420 
3420 
     | 
    
         
             
               * Called just before the scenario finishes.
         
     | 
| 
       3421 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3421 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_scenario_finished Online documentation}
         
     | 
| 
       3422 
3422 
     | 
    
         
             
               */
         
     | 
| 
       3423 
3423 
     | 
    
         
             
              interface OnPreScenarioFinishedEvent extends EventData {
         
     | 
| 
       3424 
3424 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3436,7 +3436,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3436 
3436 
     | 
    
         
             
              }
         
     | 
| 
       3437 
3437 
     | 
    
         
             
              /**
         
     | 
| 
       3438 
3438 
     | 
    
         
             
               * Called just before a script inventory is resized.
         
     | 
| 
       3439 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3439 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_script_inventory_resized Online documentation}
         
     | 
| 
       3440 
3440 
     | 
    
         
             
               */
         
     | 
| 
       3441 
3441 
     | 
    
         
             
              interface OnPreScriptInventoryResizedEvent extends EventData {
         
     | 
| 
       3442 
3442 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3467,7 +3467,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3467 
3467 
     | 
    
         
             
              }
         
     | 
| 
       3468 
3468 
     | 
    
         
             
              /**
         
     | 
| 
       3469 
3469 
     | 
    
         
             
               * Called just before a surface is cleared (all entities removed and all chunks deleted).
         
     | 
| 
       3470 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3470 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_surface_cleared Online documentation}
         
     | 
| 
       3471 
3471 
     | 
    
         
             
               */
         
     | 
| 
       3472 
3472 
     | 
    
         
             
              interface OnPreSurfaceClearedEvent extends EventData {
         
     | 
| 
       3473 
3473 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -3482,7 +3482,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3482 
3482 
     | 
    
         
             
              }
         
     | 
| 
       3483 
3483 
     | 
    
         
             
              /**
         
     | 
| 
       3484 
3484 
     | 
    
         
             
               * Called just before a surface is deleted.
         
     | 
| 
       3485 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3485 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_pre_surface_deleted Online documentation}
         
     | 
| 
       3486 
3486 
     | 
    
         
             
               */
         
     | 
| 
       3487 
3487 
     | 
    
         
             
              interface OnPreSurfaceDeletedEvent extends EventData {
         
     | 
| 
       3488 
3488 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -3497,7 +3497,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3497 
3497 
     | 
    
         
             
              }
         
     | 
| 
       3498 
3498 
     | 
    
         
             
              /**
         
     | 
| 
       3499 
3499 
     | 
    
         
             
               * Called when the player triggers "redo".
         
     | 
| 
       3500 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3500 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_redo_applied Online documentation}
         
     | 
| 
       3501 
3501 
     | 
    
         
             
               */
         
     | 
| 
       3502 
3502 
     | 
    
         
             
              interface OnRedoAppliedEvent extends EventData {
         
     | 
| 
       3503 
3503 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3519,7 +3519,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3519 
3519 
     | 
    
         
             
              }
         
     | 
| 
       3520 
3520 
     | 
    
         
             
              /**
         
     | 
| 
       3521 
3521 
     | 
    
         
             
               * Called when research is cancelled.
         
     | 
| 
       3522 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3522 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_research_cancelled Online documentation}
         
     | 
| 
       3523 
3523 
     | 
    
         
             
               */
         
     | 
| 
       3524 
3524 
     | 
    
         
             
              interface OnResearchCancelledEvent extends EventData {
         
     | 
| 
       3525 
3525 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3541,7 +3541,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3541 
3541 
     | 
    
         
             
              }
         
     | 
| 
       3542 
3542 
     | 
    
         
             
              /**
         
     | 
| 
       3543 
3543 
     | 
    
         
             
               * Called when a research finishes.
         
     | 
| 
       3544 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3544 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_research_finished Online documentation}
         
     | 
| 
       3545 
3545 
     | 
    
         
             
               */
         
     | 
| 
       3546 
3546 
     | 
    
         
             
              interface OnResearchFinishedEvent extends EventData {
         
     | 
| 
       3547 
3547 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3563,7 +3563,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3563 
3563 
     | 
    
         
             
              }
         
     | 
| 
       3564 
3564 
     | 
    
         
             
              /**
         
     | 
| 
       3565 
3565 
     | 
    
         
             
               * Called when research is moved forwards or backwards in the research queue.
         
     | 
| 
       3566 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3566 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_research_moved Online documentation}
         
     | 
| 
       3567 
3567 
     | 
    
         
             
               */
         
     | 
| 
       3568 
3568 
     | 
    
         
             
              interface OnResearchMovedEvent extends EventData {
         
     | 
| 
       3569 
3569 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3581,7 +3581,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3581 
3581 
     | 
    
         
             
              }
         
     | 
| 
       3582 
3582 
     | 
    
         
             
              /**
         
     | 
| 
       3583 
3583 
     | 
    
         
             
               * Called when a research is reversed (unresearched).
         
     | 
| 
       3584 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3584 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_research_reversed Online documentation}
         
     | 
| 
       3585 
3585 
     | 
    
         
             
               */
         
     | 
| 
       3586 
3586 
     | 
    
         
             
              interface OnResearchReversedEvent extends EventData {
         
     | 
| 
       3587 
3587 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3603,7 +3603,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3603 
3603 
     | 
    
         
             
              }
         
     | 
| 
       3604 
3604 
     | 
    
         
             
              /**
         
     | 
| 
       3605 
3605 
     | 
    
         
             
               * Called when a technology research starts.
         
     | 
| 
       3606 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3606 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_research_started Online documentation}
         
     | 
| 
       3607 
3607 
     | 
    
         
             
               */
         
     | 
| 
       3608 
3608 
     | 
    
         
             
              interface OnResearchStartedEvent extends EventData {
         
     | 
| 
       3609 
3609 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3622,7 +3622,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3622 
3622 
     | 
    
         
             
              }
         
     | 
| 
       3623 
3623 
     | 
    
         
             
              /**
         
     | 
| 
       3624 
3624 
     | 
    
         
             
               * Called when a resource entity reaches 0 or its minimum yield for infinite resources.
         
     | 
| 
       3625 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3625 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_resource_depleted Online documentation}
         
     | 
| 
       3626 
3626 
     | 
    
         
             
               */
         
     | 
| 
       3627 
3627 
     | 
    
         
             
              interface OnResourceDepletedEvent extends EventData {
         
     | 
| 
       3628 
3628 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -3639,7 +3639,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3639 
3639 
     | 
    
         
             
               * Called when a construction robot builds an entity.
         
     | 
| 
       3640 
3640 
     | 
    
         
             
               *
         
     | 
| 
       3641 
3641 
     | 
    
         
             
               * Event filter: [LuaRobotBuiltEntityEventFilter](LuaRobotBuiltEntityEventFilter]
         
     | 
| 
       3642 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3642 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_built_entity Online documentation}
         
     | 
| 
       3643 
3643 
     | 
    
         
             
               */
         
     | 
| 
       3644 
3644 
     | 
    
         
             
              interface OnRobotBuiltEntityEvent extends EventData {
         
     | 
| 
       3645 
3645 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3669,7 +3669,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3669 
3669 
     | 
    
         
             
              }
         
     | 
| 
       3670 
3670 
     | 
    
         
             
              /**
         
     | 
| 
       3671 
3671 
     | 
    
         
             
               * Called after a robot builds tiles.
         
     | 
| 
       3672 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3672 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_built_tile Online documentation}
         
     | 
| 
       3673 
3673 
     | 
    
         
             
               */
         
     | 
| 
       3674 
3674 
     | 
    
         
             
              interface OnRobotBuiltTileEvent extends EventData {
         
     | 
| 
       3675 
3675 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3711,7 +3711,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3711 
3711 
     | 
    
         
             
              }
         
     | 
| 
       3712 
3712 
     | 
    
         
             
              /**
         
     | 
| 
       3713 
3713 
     | 
    
         
             
               * Called directly after a robot explodes cliffs.
         
     | 
| 
       3714 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3714 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_exploded_cliff Online documentation}
         
     | 
| 
       3715 
3715 
     | 
    
         
             
               */
         
     | 
| 
       3716 
3716 
     | 
    
         
             
              interface OnRobotExplodedCliffEvent extends EventData {
         
     | 
| 
       3717 
3717 
     | 
    
         
             
                readonly robot: LuaEntity
         
     | 
| 
         @@ -3734,7 +3734,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3734 
3734 
     | 
    
         
             
              }
         
     | 
| 
       3735 
3735 
     | 
    
         
             
              /**
         
     | 
| 
       3736 
3736 
     | 
    
         
             
               * Called when a robot mines an entity.
         
     | 
| 
       3737 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3737 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_mined Online documentation}
         
     | 
| 
       3738 
3738 
     | 
    
         
             
               */
         
     | 
| 
       3739 
3739 
     | 
    
         
             
              interface OnRobotMinedEvent extends EventData {
         
     | 
| 
       3740 
3740 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3762,7 +3762,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3762 
3762 
     | 
    
         
             
               * 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.
         
     | 
| 
       3763 
3763 
     | 
    
         
             
               *
         
     | 
| 
       3764 
3764 
     | 
    
         
             
               * Event filter: [LuaRobotMinedEntityEventFilter](LuaRobotMinedEntityEventFilter]
         
     | 
| 
       3765 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3765 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_mined_entity Online documentation}
         
     | 
| 
       3766 
3766 
     | 
    
         
             
               */
         
     | 
| 
       3767 
3767 
     | 
    
         
             
              interface OnRobotMinedEntityEvent extends EventData {
         
     | 
| 
       3768 
3768 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3788,7 +3788,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3788 
3788 
     | 
    
         
             
              }
         
     | 
| 
       3789 
3789 
     | 
    
         
             
              /**
         
     | 
| 
       3790 
3790 
     | 
    
         
             
               * Called after a robot mines tiles.
         
     | 
| 
       3791 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3791 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_mined_tile Online documentation}
         
     | 
| 
       3792 
3792 
     | 
    
         
             
               */
         
     | 
| 
       3793 
3793 
     | 
    
         
             
              interface OnRobotMinedTileEvent extends EventData {
         
     | 
| 
       3794 
3794 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3816,7 +3816,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3816 
3816 
     | 
    
         
             
               * Called before a robot mines an entity.
         
     | 
| 
       3817 
3817 
     | 
    
         
             
               *
         
     | 
| 
       3818 
3818 
     | 
    
         
             
               * Event filter: [LuaPreRobotMinedEntityEventFilter](LuaPreRobotMinedEntityEventFilter]
         
     | 
| 
       3819 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3819 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_robot_pre_mined Online documentation}
         
     | 
| 
       3820 
3820 
     | 
    
         
             
               */
         
     | 
| 
       3821 
3821 
     | 
    
         
             
              interface OnRobotPreMinedEvent extends EventData {
         
     | 
| 
       3822 
3822 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3838,7 +3838,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3838 
3838 
     | 
    
         
             
              }
         
     | 
| 
       3839 
3839 
     | 
    
         
             
              /**
         
     | 
| 
       3840 
3840 
     | 
    
         
             
               * Called when a rocket silo is ordered to be launched.
         
     | 
| 
       3841 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3841 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_rocket_launch_ordered Online documentation}
         
     | 
| 
       3842 
3842 
     | 
    
         
             
               */
         
     | 
| 
       3843 
3843 
     | 
    
         
             
              interface OnRocketLaunchOrderedEvent extends EventData {
         
     | 
| 
       3844 
3844 
     | 
    
         
             
                readonly rocket: LuaEntity
         
     | 
| 
         @@ -3858,7 +3858,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3858 
3858 
     | 
    
         
             
              }
         
     | 
| 
       3859 
3859 
     | 
    
         
             
              /**
         
     | 
| 
       3860 
3860 
     | 
    
         
             
               * Called when a rocket finishes ascending. (Triggers listening for finished rocket launch past 2.0 have been moved to 'on_cargo_pod_finished_ascending' as rocket and cargo pod are two separate entities)
         
     | 
| 
       3861 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3861 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_rocket_launched Online documentation}
         
     | 
| 
       3862 
3862 
     | 
    
         
             
               */
         
     | 
| 
       3863 
3863 
     | 
    
         
             
              interface OnRocketLaunchedEvent extends EventData {
         
     | 
| 
       3864 
3864 
     | 
    
         
             
                readonly rocket: LuaEntity
         
     | 
| 
         @@ -3874,7 +3874,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3874 
3874 
     | 
    
         
             
              }
         
     | 
| 
       3875 
3875 
     | 
    
         
             
              /**
         
     | 
| 
       3876 
3876 
     | 
    
         
             
               * Called when a runtime mod setting is changed by a player.
         
     | 
| 
       3877 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3877 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_runtime_mod_setting_changed Online documentation}
         
     | 
| 
       3878 
3878 
     | 
    
         
             
               */
         
     | 
| 
       3879 
3879 
     | 
    
         
             
              interface OnRuntimeModSettingChangedEvent extends EventData {
         
     | 
| 
       3880 
3880 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3897,7 +3897,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3897 
3897 
     | 
    
         
             
              }
         
     | 
| 
       3898 
3898 
     | 
    
         
             
              /**
         
     | 
| 
       3899 
3899 
     | 
    
         
             
               * Called just after a script inventory is resized.
         
     | 
| 
       3900 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3900 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_script_inventory_resized Online documentation}
         
     | 
| 
       3901 
3901 
     | 
    
         
             
               */
         
     | 
| 
       3902 
3902 
     | 
    
         
             
              interface OnScriptInventoryResizedEvent extends EventData {
         
     | 
| 
       3903 
3903 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3932,7 +3932,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3932 
3932 
     | 
    
         
             
              }
         
     | 
| 
       3933 
3933 
     | 
    
         
             
              /**
         
     | 
| 
       3934 
3934 
     | 
    
         
             
               * Called when a {@link LuaSurface#request_path LuaSurface::request_path} call completes.
         
     | 
| 
       3935 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3935 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_script_path_request_finished Online documentation}
         
     | 
| 
       3936 
3936 
     | 
    
         
             
               */
         
     | 
| 
       3937 
3937 
     | 
    
         
             
              interface OnScriptPathRequestFinishedEvent extends EventData {
         
     | 
| 
       3938 
3938 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3958,7 +3958,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3958 
3958 
     | 
    
         
             
              }
         
     | 
| 
       3959 
3959 
     | 
    
         
             
              /**
         
     | 
| 
       3960 
3960 
     | 
    
         
             
               * Called when a script trigger effect is triggered.
         
     | 
| 
       3961 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3961 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_script_trigger_effect Online documentation}
         
     | 
| 
       3962 
3962 
     | 
    
         
             
               */
         
     | 
| 
       3963 
3963 
     | 
    
         
             
              interface OnScriptTriggerEffectEvent extends EventData {
         
     | 
| 
       3964 
3964 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -3990,7 +3990,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       3990 
3990 
     | 
    
         
             
               * Called when an entity of type `radar` finishes scanning a sector.
         
     | 
| 
       3991 
3991 
     | 
    
         
             
               *
         
     | 
| 
       3992 
3992 
     | 
    
         
             
               * Event filter: [LuaSectorScannedEventFilter](LuaSectorScannedEventFilter]
         
     | 
| 
       3993 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 3993 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_sector_scanned Online documentation}
         
     | 
| 
       3994 
3994 
     | 
    
         
             
               */
         
     | 
| 
       3995 
3995 
     | 
    
         
             
              interface OnSectorScannedEvent extends EventData {
         
     | 
| 
       3996 
3996 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4016,7 +4016,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4016 
4016 
     | 
    
         
             
              }
         
     | 
| 
       4017 
4017 
     | 
    
         
             
              /**
         
     | 
| 
       4018 
4018 
     | 
    
         
             
               * Called when an individual segment of a SegmentedUnit is created.
         
     | 
| 
       4019 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4019 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_segment_entity_created Online documentation}
         
     | 
| 
       4020 
4020 
     | 
    
         
             
               */
         
     | 
| 
       4021 
4021 
     | 
    
         
             
              interface OnSegmentEntityCreatedEvent extends EventData {
         
     | 
| 
       4022 
4022 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -4031,7 +4031,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4031 
4031 
     | 
    
         
             
              }
         
     | 
| 
       4032 
4032 
     | 
    
         
             
              /**
         
     | 
| 
       4033 
4033 
     | 
    
         
             
               * Called after the selected entity changes for a given player.
         
     | 
| 
       4034 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4034 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_selected_entity_changed Online documentation}
         
     | 
| 
       4035 
4035 
     | 
    
         
             
               */
         
     | 
| 
       4036 
4036 
     | 
    
         
             
              interface OnSelectedEntityChangedEvent extends EventData {
         
     | 
| 
       4037 
4037 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4055,7 +4055,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4055 
4055 
     | 
    
         
             
               * Called when a space platform builds an entity.
         
     | 
| 
       4056 
4056 
     | 
    
         
             
               *
         
     | 
| 
       4057 
4057 
     | 
    
         
             
               * Event filter: [LuaPlatformBuiltEntityEventFilter](LuaPlatformBuiltEntityEventFilter]
         
     | 
| 
       4058 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4058 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_built_entity Online documentation}
         
     | 
| 
       4059 
4059 
     | 
    
         
             
               */
         
     | 
| 
       4060 
4060 
     | 
    
         
             
              interface OnSpacePlatformBuiltEntityEvent extends EventData {
         
     | 
| 
       4061 
4061 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4085,7 +4085,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4085 
4085 
     | 
    
         
             
              }
         
     | 
| 
       4086 
4086 
     | 
    
         
             
              /**
         
     | 
| 
       4087 
4087 
     | 
    
         
             
               * Called after a space platform builds tiles.
         
     | 
| 
       4088 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4088 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_built_tile Online documentation}
         
     | 
| 
       4089 
4089 
     | 
    
         
             
               */
         
     | 
| 
       4090 
4090 
     | 
    
         
             
              interface OnSpacePlatformBuiltTileEvent extends EventData {
         
     | 
| 
       4091 
4091 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4127,7 +4127,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4127 
4127 
     | 
    
         
             
              }
         
     | 
| 
       4128 
4128 
     | 
    
         
             
              /**
         
     | 
| 
       4129 
4129 
     | 
    
         
             
               * Called when a space platform changes state
         
     | 
| 
       4130 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4130 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_changed_state Online documentation}
         
     | 
| 
       4131 
4131 
     | 
    
         
             
               */
         
     | 
| 
       4132 
4132 
     | 
    
         
             
              interface OnSpacePlatformChangedStateEvent extends EventData {
         
     | 
| 
       4133 
4133 
     | 
    
         
             
                readonly platform: LuaSpacePlatform
         
     | 
| 
         @@ -4149,7 +4149,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4149 
4149 
     | 
    
         
             
               * 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.
         
     | 
| 
       4150 
4150 
     | 
    
         
             
               *
         
     | 
| 
       4151 
4151 
     | 
    
         
             
               * Event filter: [LuaPlatformMinedEntityEventFilter](LuaPlatformMinedEntityEventFilter]
         
     | 
| 
       4152 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4152 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_mined_entity Online documentation}
         
     | 
| 
       4153 
4153 
     | 
    
         
             
               */
         
     | 
| 
       4154 
4154 
     | 
    
         
             
              interface OnSpacePlatformMinedEntityEvent extends EventData {
         
     | 
| 
       4155 
4155 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4175,7 +4175,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4175 
4175 
     | 
    
         
             
              }
         
     | 
| 
       4176 
4176 
     | 
    
         
             
              /**
         
     | 
| 
       4177 
4177 
     | 
    
         
             
               * Called when a platform mines an entity.
         
     | 
| 
       4178 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4178 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_mined_item Online documentation}
         
     | 
| 
       4179 
4179 
     | 
    
         
             
               */
         
     | 
| 
       4180 
4180 
     | 
    
         
             
              interface OnSpacePlatformMinedItemEvent extends EventData {
         
     | 
| 
       4181 
4181 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4197,7 +4197,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4197 
4197 
     | 
    
         
             
              }
         
     | 
| 
       4198 
4198 
     | 
    
         
             
              /**
         
     | 
| 
       4199 
4199 
     | 
    
         
             
               * Called after a platform mines tiles.
         
     | 
| 
       4200 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4200 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_mined_tile Online documentation}
         
     | 
| 
       4201 
4201 
     | 
    
         
             
               */
         
     | 
| 
       4202 
4202 
     | 
    
         
             
              interface OnSpacePlatformMinedTileEvent extends EventData {
         
     | 
| 
       4203 
4203 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4225,7 +4225,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4225 
4225 
     | 
    
         
             
               * Called before a platform mines an entity.
         
     | 
| 
       4226 
4226 
     | 
    
         
             
               *
         
     | 
| 
       4227 
4227 
     | 
    
         
             
               * Event filter: [LuaPrePlatformMinedEntityEventFilter](LuaPrePlatformMinedEntityEventFilter]
         
     | 
| 
       4228 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4228 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_space_platform_pre_mined Online documentation}
         
     | 
| 
       4229 
4229 
     | 
    
         
             
               */
         
     | 
| 
       4230 
4230 
     | 
    
         
             
              interface OnSpacePlatformPreMinedEvent extends EventData {
         
     | 
| 
       4231 
4231 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4247,7 +4247,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4247 
4247 
     | 
    
         
             
              }
         
     | 
| 
       4248 
4248 
     | 
    
         
             
              /**
         
     | 
| 
       4249 
4249 
     | 
    
         
             
               * Called when a spider finishes moving to its autopilot position.
         
     | 
| 
       4250 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4250 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_spider_command_completed Online documentation}
         
     | 
| 
       4251 
4251 
     | 
    
         
             
               */
         
     | 
| 
       4252 
4252 
     | 
    
         
             
              interface OnSpiderCommandCompletedEvent extends EventData {
         
     | 
| 
       4253 
4253 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4265,7 +4265,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4265 
4265 
     | 
    
         
             
              }
         
     | 
| 
       4266 
4266 
     | 
    
         
             
              /**
         
     | 
| 
       4267 
4267 
     | 
    
         
             
               * 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.
         
     | 
| 
       4268 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4268 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_string_translated Online documentation}
         
     | 
| 
       4269 
4269 
     | 
    
         
             
               */
         
     | 
| 
       4270 
4270 
     | 
    
         
             
              interface OnStringTranslatedEvent extends EventData {
         
     | 
| 
       4271 
4271 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4299,7 +4299,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4299 
4299 
     | 
    
         
             
              }
         
     | 
| 
       4300 
4300 
     | 
    
         
             
              /**
         
     | 
| 
       4301 
4301 
     | 
    
         
             
               * Called just after a surface is cleared (all entities removed and all chunks deleted).
         
     | 
| 
       4302 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4302 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_surface_cleared Online documentation}
         
     | 
| 
       4303 
4303 
     | 
    
         
             
               */
         
     | 
| 
       4304 
4304 
     | 
    
         
             
              interface OnSurfaceClearedEvent extends EventData {
         
     | 
| 
       4305 
4305 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -4316,7 +4316,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4316 
4316 
     | 
    
         
             
               * Called when a surface is created.
         
     | 
| 
       4317 
4317 
     | 
    
         
             
               *
         
     | 
| 
       4318 
4318 
     | 
    
         
             
               * This is not called when the default surface is created as it will always exist.
         
     | 
| 
       4319 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4319 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_surface_created Online documentation}
         
     | 
| 
       4320 
4320 
     | 
    
         
             
               */
         
     | 
| 
       4321 
4321 
     | 
    
         
             
              interface OnSurfaceCreatedEvent extends EventData {
         
     | 
| 
       4322 
4322 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -4331,7 +4331,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4331 
4331 
     | 
    
         
             
              }
         
     | 
| 
       4332 
4332 
     | 
    
         
             
              /**
         
     | 
| 
       4333 
4333 
     | 
    
         
             
               * Called after a surface is deleted.
         
     | 
| 
       4334 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4334 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_surface_deleted Online documentation}
         
     | 
| 
       4335 
4335 
     | 
    
         
             
               */
         
     | 
| 
       4336 
4336 
     | 
    
         
             
              interface OnSurfaceDeletedEvent extends EventData {
         
     | 
| 
       4337 
4337 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -4346,7 +4346,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4346 
4346 
     | 
    
         
             
              }
         
     | 
| 
       4347 
4347 
     | 
    
         
             
              /**
         
     | 
| 
       4348 
4348 
     | 
    
         
             
               * Called after a surface is imported via the map editor.
         
     | 
| 
       4349 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4349 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_surface_imported Online documentation}
         
     | 
| 
       4350 
4350 
     | 
    
         
             
               */
         
     | 
| 
       4351 
4351 
     | 
    
         
             
              interface OnSurfaceImportedEvent extends EventData {
         
     | 
| 
       4352 
4352 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -4365,7 +4365,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4365 
4365 
     | 
    
         
             
              }
         
     | 
| 
       4366 
4366 
     | 
    
         
             
              /**
         
     | 
| 
       4367 
4367 
     | 
    
         
             
               * Called when a surface is renamed.
         
     | 
| 
       4368 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4368 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_surface_renamed Online documentation}
         
     | 
| 
       4369 
4369 
     | 
    
         
             
               */
         
     | 
| 
       4370 
4370 
     | 
    
         
             
              interface OnSurfaceRenamedEvent extends EventData {
         
     | 
| 
       4371 
4371 
     | 
    
         
             
                readonly surface_index: SurfaceIndex
         
     | 
| 
         @@ -4382,7 +4382,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4382 
4382 
     | 
    
         
             
              }
         
     | 
| 
       4383 
4383 
     | 
    
         
             
              /**
         
     | 
| 
       4384 
4384 
     | 
    
         
             
               * Called when {@link LuaForce#reset_technology_effects LuaForce::reset_technology_effects} is finished.
         
     | 
| 
       4385 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4385 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_technology_effects_reset Online documentation}
         
     | 
| 
       4386 
4386 
     | 
    
         
             
               */
         
     | 
| 
       4387 
4387 
     | 
    
         
             
              interface OnTechnologyEffectsResetEvent extends EventData {
         
     | 
| 
       4388 
4388 
     | 
    
         
             
                readonly force: LuaForce
         
     | 
| 
         @@ -4397,7 +4397,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4397 
4397 
     | 
    
         
             
              }
         
     | 
| 
       4398 
4398 
     | 
    
         
             
              /**
         
     | 
| 
       4399 
4399 
     | 
    
         
             
               * It is fired once every tick. Since this event is fired every tick, its handler shouldn't include performance heavy code.
         
     | 
| 
       4400 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4400 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_tick Online documentation}
         
     | 
| 
       4401 
4401 
     | 
    
         
             
               */
         
     | 
| 
       4402 
4402 
     | 
    
         
             
              interface OnTickEvent extends EventData {
         
     | 
| 
       4403 
4403 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4411,7 +4411,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4411 
4411 
     | 
    
         
             
              }
         
     | 
| 
       4412 
4412 
     | 
    
         
             
              /**
         
     | 
| 
       4413 
4413 
     | 
    
         
             
               * Called when a train changes state (started to stopped and vice versa)
         
     | 
| 
       4414 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4414 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_train_changed_state Online documentation}
         
     | 
| 
       4415 
4415 
     | 
    
         
             
               */
         
     | 
| 
       4416 
4416 
     | 
    
         
             
              interface OnTrainChangedStateEvent extends EventData {
         
     | 
| 
       4417 
4417 
     | 
    
         
             
                readonly train: LuaTrain
         
     | 
| 
         @@ -4427,7 +4427,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4427 
4427 
     | 
    
         
             
              }
         
     | 
| 
       4428 
4428 
     | 
    
         
             
              /**
         
     | 
| 
       4429 
4429 
     | 
    
         
             
               * Called when a new train is created either through disconnecting/connecting an existing one or building a new one.
         
     | 
| 
       4430 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4430 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_train_created Online documentation}
         
     | 
| 
       4431 
4431 
     | 
    
         
             
               */
         
     | 
| 
       4432 
4432 
     | 
    
         
             
              interface OnTrainCreatedEvent extends EventData {
         
     | 
| 
       4433 
4433 
     | 
    
         
             
                readonly train: LuaTrain
         
     | 
| 
         @@ -4450,7 +4450,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4450 
4450 
     | 
    
         
             
              }
         
     | 
| 
       4451 
4451 
     | 
    
         
             
              /**
         
     | 
| 
       4452 
4452 
     | 
    
         
             
               * Called when a trains schedule is changed either by the player or through script.
         
     | 
| 
       4453 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4453 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_train_schedule_changed Online documentation}
         
     | 
| 
       4454 
4454 
     | 
    
         
             
               */
         
     | 
| 
       4455 
4455 
     | 
    
         
             
              interface OnTrainScheduleChangedEvent extends EventData {
         
     | 
| 
       4456 
4456 
     | 
    
         
             
                readonly train: LuaTrain
         
     | 
| 
         @@ -4469,7 +4469,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4469 
4469 
     | 
    
         
             
              }
         
     | 
| 
       4470 
4470 
     | 
    
         
             
              /**
         
     | 
| 
       4471 
4471 
     | 
    
         
             
               * Called when an entity with a trigger prototype (such as capsules) create an entity AND that trigger prototype defined `trigger_created_entity=true`.
         
     | 
| 
       4472 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4472 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_trigger_created_entity Online documentation}
         
     | 
| 
       4473 
4473 
     | 
    
         
             
               */
         
     | 
| 
       4474 
4474 
     | 
    
         
             
              interface OnTriggerCreatedEntityEvent extends EventData {
         
     | 
| 
       4475 
4475 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -4485,7 +4485,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4485 
4485 
     | 
    
         
             
              }
         
     | 
| 
       4486 
4486 
     | 
    
         
             
              /**
         
     | 
| 
       4487 
4487 
     | 
    
         
             
               * Called when an entity with a trigger prototype (such as capsules) fire an artillery projectile AND that trigger prototype defined `trigger_fired_artillery=true`.
         
     | 
| 
       4488 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4488 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_trigger_fired_artillery Online documentation}
         
     | 
| 
       4489 
4489 
     | 
    
         
             
               */
         
     | 
| 
       4490 
4490 
     | 
    
         
             
              interface OnTriggerFiredArtilleryEvent extends EventData {
         
     | 
| 
       4491 
4491 
     | 
    
         
             
                readonly entity: LuaEntity
         
     | 
| 
         @@ -4501,7 +4501,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4501 
4501 
     | 
    
         
             
              }
         
     | 
| 
       4502 
4502 
     | 
    
         
             
              /**
         
     | 
| 
       4503 
4503 
     | 
    
         
             
               * Called when the player triggers "undo".
         
     | 
| 
       4504 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4504 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_undo_applied Online documentation}
         
     | 
| 
       4505 
4505 
     | 
    
         
             
               */
         
     | 
| 
       4506 
4506 
     | 
    
         
             
              interface OnUndoAppliedEvent extends EventData {
         
     | 
| 
       4507 
4507 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4523,7 +4523,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4523 
4523 
     | 
    
         
             
              }
         
     | 
| 
       4524 
4524 
     | 
    
         
             
              /**
         
     | 
| 
       4525 
4525 
     | 
    
         
             
               * Called when a unit is added to a unit group.
         
     | 
| 
       4526 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4526 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_unit_added_to_group Online documentation}
         
     | 
| 
       4527 
4527 
     | 
    
         
             
               */
         
     | 
| 
       4528 
4528 
     | 
    
         
             
              interface OnUnitAddedToGroupEvent extends EventData {
         
     | 
| 
       4529 
4529 
     | 
    
         
             
                readonly unit: LuaEntity
         
     | 
| 
         @@ -4539,7 +4539,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4539 
4539 
     | 
    
         
             
              }
         
     | 
| 
       4540 
4540 
     | 
    
         
             
              /**
         
     | 
| 
       4541 
4541 
     | 
    
         
             
               * Called when a new unit group is created, before any members are added to it.
         
     | 
| 
       4542 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4542 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_unit_group_created Online documentation}
         
     | 
| 
       4543 
4543 
     | 
    
         
             
               */
         
     | 
| 
       4544 
4544 
     | 
    
         
             
              interface OnUnitGroupCreatedEvent extends EventData {
         
     | 
| 
       4545 
4545 
     | 
    
         
             
                readonly group: LuaCommandable
         
     | 
| 
         @@ -4554,7 +4554,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4554 
4554 
     | 
    
         
             
              }
         
     | 
| 
       4555 
4555 
     | 
    
         
             
              /**
         
     | 
| 
       4556 
4556 
     | 
    
         
             
               * Called when a unit group finishes gathering and starts executing its command.
         
     | 
| 
       4557 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4557 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_unit_group_finished_gathering Online documentation}
         
     | 
| 
       4558 
4558 
     | 
    
         
             
               */
         
     | 
| 
       4559 
4559 
     | 
    
         
             
              interface OnUnitGroupFinishedGatheringEvent extends EventData {
         
     | 
| 
       4560 
4560 
     | 
    
         
             
                readonly group: LuaCommandable
         
     | 
| 
         @@ -4569,7 +4569,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4569 
4569 
     | 
    
         
             
              }
         
     | 
| 
       4570 
4570 
     | 
    
         
             
              /**
         
     | 
| 
       4571 
4571 
     | 
    
         
             
               * Called when a unit is removed from a unit group.
         
     | 
| 
       4572 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4572 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_unit_removed_from_group Online documentation}
         
     | 
| 
       4573 
4573 
     | 
    
         
             
               */
         
     | 
| 
       4574 
4574 
     | 
    
         
             
              interface OnUnitRemovedFromGroupEvent extends EventData {
         
     | 
| 
       4575 
4575 
     | 
    
         
             
                readonly unit: LuaEntity
         
     | 
| 
         @@ -4585,7 +4585,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4585 
4585 
     | 
    
         
             
              }
         
     | 
| 
       4586 
4586 
     | 
    
         
             
              /**
         
     | 
| 
       4587 
4587 
     | 
    
         
             
               * Called when a worker (construction or logistic) robot expires through a lack of energy.
         
     | 
| 
       4588 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4588 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#on_worker_robot_expired Online documentation}
         
     | 
| 
       4589 
4589 
     | 
    
         
             
               */
         
     | 
| 
       4590 
4590 
     | 
    
         
             
              interface OnWorkerRobotExpiredEvent extends EventData {
         
     | 
| 
       4591 
4591 
     | 
    
         
             
                readonly robot: LuaEntity
         
     | 
| 
         @@ -4602,7 +4602,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4602 
4602 
     | 
    
         
             
               * 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}.
         
     | 
| 
       4603 
4603 
     | 
    
         
             
               *
         
     | 
| 
       4604 
4604 
     | 
    
         
             
               * Event filter: [LuaScriptRaisedBuiltEventFilter](LuaScriptRaisedBuiltEventFilter]
         
     | 
| 
       4605 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4605 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#script_raised_built Online documentation}
         
     | 
| 
       4606 
4606 
     | 
    
         
             
               */
         
     | 
| 
       4607 
4607 
     | 
    
         
             
              interface ScriptRaisedBuiltEvent extends EventData {
         
     | 
| 
       4608 
4608 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4622,7 +4622,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4622 
4622 
     | 
    
         
             
               * 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}.
         
     | 
| 
       4623 
4623 
     | 
    
         
             
               *
         
     | 
| 
       4624 
4624 
     | 
    
         
             
               * Event filter: [LuaScriptRaisedDestroyEventFilter](LuaScriptRaisedDestroyEventFilter]
         
     | 
| 
       4625 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4625 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#script_raised_destroy Online documentation}
         
     | 
| 
       4626 
4626 
     | 
    
         
             
               */
         
     | 
| 
       4627 
4627 
     | 
    
         
             
              interface ScriptRaisedDestroyEvent extends EventData {
         
     | 
| 
       4628 
4628 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4642,7 +4642,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4642 
4642 
     | 
    
         
             
               * 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}.
         
     | 
| 
       4643 
4643 
     | 
    
         
             
               *
         
     | 
| 
       4644 
4644 
     | 
    
         
             
               * Event filter: [LuaScriptRaisedReviveEventFilter](LuaScriptRaisedReviveEventFilter]
         
     | 
| 
       4645 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4645 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#script_raised_revive Online documentation}
         
     | 
| 
       4646 
4646 
     | 
    
         
             
               */
         
     | 
| 
       4647 
4647 
     | 
    
         
             
              interface ScriptRaisedReviveEvent extends EventData {
         
     | 
| 
       4648 
4648 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4664,7 +4664,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4664 
4664 
     | 
    
         
             
              }
         
     | 
| 
       4665 
4665 
     | 
    
         
             
              /**
         
     | 
| 
       4666 
4666 
     | 
    
         
             
               * 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}.
         
     | 
| 
       4667 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4667 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#script_raised_set_tiles Online documentation}
         
     | 
| 
       4668 
4668 
     | 
    
         
             
               */
         
     | 
| 
       4669 
4669 
     | 
    
         
             
              interface ScriptRaisedSetTilesEvent extends EventData {
         
     | 
| 
       4670 
4670 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -4688,7 +4688,7 @@ declare module "factorio:runtime" { 
     | 
|
| 
       4688 
4688 
     | 
    
         
             
               * 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}.
         
     | 
| 
       4689 
4689 
     | 
    
         
             
               *
         
     | 
| 
       4690 
4690 
     | 
    
         
             
               * Event filter: [LuaScriptRaisedTeleportedEventFilter](LuaScriptRaisedTeleportedEventFilter]
         
     | 
| 
       4691 
     | 
    
         
            -
               * @see {@link https://lua-api.factorio.com/2.0. 
     | 
| 
      
 4691 
     | 
    
         
            +
               * @see {@link https://lua-api.factorio.com/2.0.32/events.html#script_raised_teleported Online documentation}
         
     | 
| 
       4692 
4692 
     | 
    
         
             
               */
         
     | 
| 
       4693 
4693 
     | 
    
         
             
              interface ScriptRaisedTeleportedEvent extends EventData {
         
     | 
| 
       4694 
4694 
     | 
    
         
             
                /**
         
     |