api update

This commit is contained in:
Monica Moniot
2022-10-28 14:40:49 -04:00
parent 4887e3925d
commit d2bb9e2523
113 changed files with 432 additions and 222 deletions
+5 -3
View File
@@ -1,7 +1,7 @@
---@meta
---@diagnostic disable
--$Factorio 1.1.69
--$Factorio 1.1.70
--$Overlay 5
--$Section events
-- This file is automatically generated. Edits will be overwritten.
@@ -2059,7 +2059,9 @@
---@field tick uint
---@alias on_player_driving_changed_state EventData.on_player_driving_changed_state
---Called when the player's driving state has changed, this means a player has either entered or left a vehicle.
---Called when the player's driving state has changed, meaning a player has either entered or left a vehicle.
---
---**Note:** This event is not raised when the player is ejected from a vehicle due to it being destroyed.
---
---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_driving_changed_state)
---@class EventData.on_player_driving_changed_state : EventData
@@ -3083,7 +3085,7 @@
---@field tick uint
---@alias on_pre_player_mined_item EventData.on_pre_player_mined_item
---Called when the player finishes mining an entity, before the entity is removed from map. Can be filtered using [LuaPrePlayerMinedEntityEventFilter](https://lua-api.factorio.com/latest/Concepts.html#LuaPrePlayerMinedEntityEventFilter).
---Called when the player completes a mining action, but before the entity is potentially removed from the map. This is called even if the entity does not end up being removed. Can be filtered using [LuaPrePlayerMinedEntityEventFilter](https://lua-api.factorio.com/latest/Concepts.html#LuaPrePlayerMinedEntityEventFilter).
---
---[View documentation](https://lua-api.factorio.com/latest/events.html#on_pre_player_mined_item)
---@class EventData.on_pre_player_mined_item : EventData